window._bannerflow.registerModule('88a8d94c169966fb5153',()=>{var AC;(()=>{"use strict";var t,i,e={5:(t,i,e)=>{e.d(i,{Fo:()=>r,Gt:()=>s,MI:()=>y,d6:()=>v,gm:()=>x,lJ:()=>u,pE:()=>g,tD:()=>l,tl:()=>a});var n=e(702);function s(t){return o(t,"in")}function r(t){return o(t,"out")}function o(t,i){return h(t.filter((t=>t.type===i)))}function h(t){return m(...c(t))}function a(t,i){return!(0,n.dK)(t)&&g(i,t)}function c(t){const i=Array.isArray(t)?t:t.animations,e=[];return null==i||i.forEach((t=>e.push(...t.keyframes))),e}function l(t,i,e=0){const n=b(i);return t.slice(0).sort(f).find((t=>n!==t&&t.time-e<=n.time))}function u(t,i,e=0){const n=b(i);return t.slice(0).sort(d).find((t=>n!==t&&n.time<=t.time+e))}function d(t,i){return t.time-i.time||(t.duration||0)-(i.duration||0)}function f(t,i){return i.time-t.time||(i.duration||0)-(t.duration||0)}function v(t,i){return i-t.time}function p(...t){return(null==t?void 0:t.length)?Math.min(...t.map((t=>t.time))):0}function m(...t){if(!(null==t?void 0:t.length))return 0;const i=p(...t);return Math.max(...t.map((t=>t.time+(t.duration||0))))-i}function g(t,i,e=0){return w(t,i,i,e)}function w(t,i,e,n=0){const s=_(t),r=_(i),o=i===e?r:_(e);return r.time-n<=s.time&&s.time+s.duration<=o.time+o.duration+n}function y(t,i){const e=t.time0}(i)?1e3/i:void 0}},103:(t,i,e)=>{e.d(i,{Q:()=>r});var n=e(972),s=e(642);class r{constructor(t){if(this.type=s.m.Solid,this.stops=[],t)this.setColor(t);else{this.red=0,this.green=0,this.blue=0,this.hue=this.saturation=this.lightness=0,this.alpha=100;const t=(0,n.oB)(this.red,this.green,this.blue);this.hue=t.h,this.saturation=t.s,this.lightness=t.l}}get angle(){if(this.stops.length>1){const t=180*Math.atan2(this.end.position.y-this.start.position.y,this.end.position.x-this.start.position.x)/Math.PI;return Math.round((90+t)%360)}return 0}get start(){return this.stops[0]}get end(){return this.stops[this.stops.length-1]}copy(){return new r(this)}toJSON(){return this.toString()}toString(){switch(this.type){case s.m.Solid:return(0,n.I2)(this);case s.m.LinearGradient:return(0,n.LF)(this)}}addColorStop(t,i,e){this.stops.push({color:t,offset:i,position:e})}setColor(t){return this.type=t.type,"solid"===t.type?(this.red=t.red,this.green=t.green,this.blue=t.blue,this.alpha=t.alpha,this.saturation=t.saturation,this.lightness=t.lightness,this.hue=t.hue):(this.alpha=t.alpha,this.stops=t.stops.map((t=>({color:(0,n.H0)(t.color),offset:t.offset,position:t.position?Object.assign({},t.position):void 0})))),this}static parse(t,i="#FFFFFF"){return(0,n.H0)(t,i)}}},972:(t,i,e)=>{e.d(i,{H0:()=>f,I2:()=>x,Jy:()=>_,LF:()=>F,NI:()=>u,O1:()=>p,t:()=>d,io:()=>m,oB:()=>w});var n=e(103),s=e(642),r=e(751),o=e(557);const h=/^#[0-9a-fA-F]{3}$|^#[0-9a-fA-F]{6}$/,a=/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$/,c=/^rgba\((0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0?(\.\d+)?|1(\.0)?)\)$/,l=/^rgb\(\s*(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)\s*,\s*(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)\s*,\s*(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)\s*\)$/;function u(t){return"fill"===t||"textColor"===t||"color"===t}function d(t){return h.test(t)||c.test(t)||l.test(t)||a.test(t)||0===t.indexOf("linear-gradient")}function f(t,i="#FFFFFF"){if(t instanceof n.Q)return new n.Q(t);if(!t)return f(i);const e=r.N.get(t);if(e)return e;let o;return t="string"==typeof t?t.replace(/,\s+/gi,","):t,o=h.test(t)||a.test(t)?function(t){"#"===t[0]&&(t=t.substring(1,t.length));const i=new n.Q;3===t.length?(i.red=parseInt(t.substring(0,1)+t.substring(0,1),16),i.green=parseInt(t.substring(1,2)+t.substring(1,2),16),i.blue=parseInt(t.substring(2,3)+t.substring(2,3),16)):6===t.length?(i.red=parseInt(t.substring(0,2),16),i.green=parseInt(t.substring(2,4),16),i.blue=parseInt(t.substring(4,6),16)):(i.red=255,i.green=255,i.blue=255);const e=w(i.red,i.green,i.blue);return i.hue=e.h,i.saturation=e.s,i.lightness=e.l,i}(t):c.test(t)?p(t):l.test(t)?function(t){const i=new n.Q,e=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/.exec(t.replace(/\s/g,""));e&&(i.red=parseInt(e[1],10),i.green=parseInt(e[2],10),i.blue=parseInt(e[3],10));const s=w(i.red,i.green,i.blue);return i.hue=s.h,i.saturation=s.s,i.lightness=s.l,i}(t):0===t.indexOf("linear-gradient")?function(t){const i=t.substring(t.indexOf("(")+1,t.lastIndexOf(")")).split(/,(?![^(]*\))(?![^"']*["'](?:[^"']*["'][^"']*["'])*[^"']*$)/);let e;i[0].indexOf("deg")>-1&&(e=parseInt(i.shift()||"0",10));return function(t,i){const e=new n.Q;e.type=s.m.LinearGradient;const r=Math.PI*(i||0)/180,o=Math.cos(r),h=Math.sin(r);for(let n=0;n1||s<0)throw new Error("invalid alpha");r.red=t,r.green=i,r.blue=e,r.alpha=Math.round(100*s);const o=w(t,i,e);return r.hue=o.h,r.saturation=o.s,r.lightness=o.l,r}function p(t){const i=new n.Q,e=/^rgba\(([^,]+),([^,]+),([^,]+),([^,]+)\)$/g.exec(t.replace(/\s/g,""));e&&(i.red=parseInt(e[1],10),i.green=parseInt(e[2],10),i.blue=parseInt(e[3],10),i.alpha=Math.round(100*parseFloat(e[4])));const s=w(i.red,i.green,i.blue);return i.hue=s.h,i.saturation=s.s,i.lightness=s.l,i}function m(t,...i){return function(t,...i){let e=0,s=0,r=0,h=0;const a={x:0,y:0},c={x:0,y:0};let l=0,u=0;if(i.forEach((i=>{var d;const f=i.color,v=(0,o.qE)(i.amount,0,1),p="solid"!==f.type?[...f.stops]:[];if(e+=(f.red-t.red)*v,s+=(f.green-t.green)*v,r+=(f.blue-t.blue)*v,h+=(f.alpha-t.alpha)*v,null==p?void 0:p.length){if(2!==p.length)throw new Error("Tinting gradients with more than 2 stops is not supported currently");(null===(d=t.stops)||void 0===d?void 0:d.length)||(t.stops=[],p.forEach(((i,e)=>{const s=0===e?0:1;t.stops.push({color:new n.Q(t),position:i.position?Object.assign({},i.position):{x:.5,y:s},offset:i.offset})})),t.type=i.color.type),l+=(p[0].offset-t.start.offset)*v,u+=(p[1].offset-t.end.offset)*v,p[0].position&&t.start.position&&p[1].position&&t.end.position&&(a.x+=(p[0].position.x-t.start.position.x)*v,a.y+=(p[0].position.y-t.start.position.y)*v,c.x+=(p[1].position.x-t.end.position.x)*v,c.y+=(p[1].position.y-t.end.position.y)*v)}})),t.stops.length){t.start.offset+=l,t.end.offset+=u,t.start.position={x:a.x+t.start.position.x,y:a.y+t.start.position.y},t.end.position={x:c.x+t.end.position.x,y:c.y+t.end.position.y};const e=i.map((t=>{var i;let e="linear-gradient"===t.color.type?new n.Q(null===(i=t.color.start)||void 0===i?void 0:i.color):void 0;return e||(e=v(t.color.red,t.color.green,t.color.blue,t.color.alpha/100)),{color:e,amount:t.amount}})),s=i.map((t=>{var i;let e="linear-gradient"===t.color.type?new n.Q(null===(i=t.color.end)||void 0===i?void 0:i.color):void 0;return e||(e=v(t.color.red,t.color.green,t.color.blue,t.color.alpha/100)),{color:e,amount:t.amount}}));t.start.color=m(t.start.color,...e),t.end.color=m(t.end.color,...s),t.alpha+=h}else t.red+=e,t.green+=s,t.blue+=r,t.alpha+=h;return t}(new n.Q(t),...i)}function g(t,i,e){const n=1-t/100;return{x:0*i-e*(n-.5)+.5,y:i*(n-.5)+0*e+.5}}function w(t,i,e){t/=255,i/=255,e/=255;const n=Math.max(t,i,e),s=Math.min(t,i,e);let r,o;const h=(n+s)/2;if(n===s)r=o=0;else{const a=n-s;switch(o=h>.5?a/(2-n-s):a/(n+s),n){case t:r=(i-e)/a+(i>>0}function b(t){return((t=y(t))<16?"0":"")+t.toString(16).toUpperCase()}function _(t){if(t.type!==s.m.Solid)throw new Error("Cannot convert a none solid color to HEX format.");return`#${b(t.red)}${b(t.green)}${b(t.blue)}`}function x(t){if(t.type!==s.m.Solid)throw new Error("Cannot convert a none solid color to RGBA format.");return`rgba(${y(t.red)},${y(t.green)},${y(t.blue)},${(0,o._)(t.alpha/100)})`}function F(t){return`linear-gradient(${t.stops.map((i=>{const e=f(i.color);e.alpha=e.alpha*(t.alpha/100);let n="";return i.position?n=`${(0,o._)(i.position.x)} ${(0,o._)(i.position.y)}`:i.offset&&(n=`${(0,o._)(i.offset)}`),`${n} ${x(e)}`})).join(",")})`}},219:(t,i,e)=>{e.d(i,{d_:()=>l,ei:()=>c,TW:()=>f,SB:()=>d,ot:()=>h});var n=e(364);function s(t){var i,e,n,s,r;if(t&&"string"!=typeof t&&"object"==typeof t&&"path"in t)return t;if("string"==typeof t)try{const i=JSON.parse(t);if(!("path"in i))throw new Error;return i}catch(o){const h=t.split(" ");return{id:h[0],path:null!==(i=h[1])&&void 0!==i?i:"",step:{start:parseInt(null!==(e=h[2])&&void 0!==e?e:1,10),size:parseInt(null!==(n=h[3])&&void 0!==n?n:1,10),occurrence:null!==(s=h[4])&&void 0!==s?s:"loop"},fallback:null!==(r=h[5])&&void 0!==r?r:"",type:"text"}}return l("")}var r=e(316);function o(t){return t.replace(/\s+/g," ").trim()}function h(t){const i={data:[],intervalInSeconds:t.intervalInSeconds};for(const e of t.data){const t={};for(const i of Object.keys(e)){const n=o(i),s=e[i].value,r=e[i].targetUrl;t[n]={value:null===s?void 0:s,targetUrl:null===r?void 0:r}}i.data.push(t)}return i}function a(t){return t.replace(/\s/g,"%20")}function c(t){return t.replace(/%20/g," ")}function l(t,i="",e="text"){return{id:t,path:a(null!=i?i:""),step:{occurrence:"loop",size:1,start:1},fallback:"",type:e}}function u(t){return"feed"===t.unit}function d(t){return!(!t||"object"!=typeof t)&&("id"in t&&"path"in t&&"step"in t)}function f(t){if(t.feed)return!0;if((0,n.ir)(t)){const i=function(t){var i;const e=(null===(i=t.__dirtyContent)||void 0===i?void 0:i.spans)||t.content.spans;for(const n of e)if((0,r.NY)(n))return!0;return!1}(t);if(i)return!0}if((0,n.Hb)(t)){const i=function(t){for(const e of t.customProperties)try{if(u(e)){const t=s(e.value);if(null==t?void 0:t.id)return!0}}catch(i){throw new Error(`Failed to parse widget property ${e.unit} - "${e.name}" value "${e.value}"`)}return!1}(t);if(i)return!0}return!1}},186:(t,i,e)=>{e.d(i,{Nj:()=>h,m8:()=>o});var n=e(681),s=e(557),r=e(316);function o(t,i,e={},s={}){return{type:"word",content:String.fromCharCode(t),style:(0,r.dK)(i),top:0,left:0,width:0,height:0,lineHeight:0,attributes:(0,n.mg)(e),styleIds:s.styleIds||{},styleId:s.styleId,__previousStyleIds:[...s.previousStyleIds||[]],__previousStyleIdToHistoryIndexMap:new Map(s.previousStyleIdToHistoryIndexMap||[])}}function h(t,i){return"newline"!==t.type&&"end"!==t.type&&(t.type===i.type&&(!!(0,r.Y1)(t.styleIds,i.styleIds)&&(!!(0,r.Fk)(t.__previousStyleIds,i.__previousStyleIds)&&function(t,i){const e=(0,s.cJ)(t.style,"__fontFamilyId"),n=(0,s.cJ)(i.style,"__fontFamilyId");if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const s in e)if(!(0,r.Bj)(s,e,n))return!1;const o=(0,s.cJ)(t.attributes,"shouldRenderNumber"),h=(0,s.cJ)(i.attributes,"shouldRenderNumber");if(Object.keys(o).length!==Object.keys(h).length)return!1;for(const r in o)if(!(0,s.bD)(t.attributes[r],i.attributes[r]))return!1;return!0}(t,i))))}},316:(t,i,e)=>{e.d(i,{Bj:()=>E,Ec:()=>y,Ej:()=>S,F3:()=>m,Fk:()=>F,NY:()=>u,Vi:()=>_,Y1:()=>x,bC:()=>w,dK:()=>A,ed:()=>d,os:()=>M,rX:()=>v,x0:()=>p,xW:()=>C,xc:()=>g,z3:()=>b});var n=e(426),s=e(681),r=e(557),o=e(103),h=e(364),a=e(219),c=e(186);function l(t){return 32===t||9===t||11===t||12===t||133===t||5760===t||t>=8192&&t<=8203||8287===t||12288===t||65279===t}function u(t){return void 0!==t&&"variable"===t.type}function d(t){return void 0!==t&&("word"===t.type||"space"===t.type||"newline"===t.type||"variable"===t.type)}function f(t){return 10===t||13===t||8232===t||8233===t||133===t}function v(t,i){if(t.spans.length>0){let e=t.spans.length-1;"end"===t.spans[e].type&&e--;for(let n=0;n{e.d(i,{GF:()=>s,GO:()=>r,df:()=>n});function n(t){return"text"===t.unit}function s(t){var i,e,n,s,r;const o=t.currentTarget;if(o)return o.defaultView?null===(e=null===(i=o.defaultView)||void 0===i?void 0:i.frameElement)||void 0===e?void 0:e.id:null===(r=null===(s=null===(n=null==o?void 0:o.ownerDocument)||void 0===n?void 0:n.defaultView)||void 0===s?void 0:s.frameElement)||void 0===r?void 0:r.id}function r(t,i){if(!(null==i?void 0:i.instance))return{x:t.clientX,y:t.clientY};const{x:e,y:n}=i.instance;return{x:t.clientX+e,y:t.clientY+n}}new Map},14:(t,i,e)=>{e.d(i,{e:()=>s,u:()=>r});var n=e(557);const s="&t=",r=t=>{const i=(0,n.VP)(t),e=i.map((t=>(0,n.ih)(t))).join("");return{textParams:s+e,distinctText:i.join("")}}},643:(t,i,e)=>{e.d(i,{vR:()=>l,Bg:()=>p});var n=e(360);function s(t){switch(t){case"cover":case"crop":return n.ao.Fill;case"distort":case"stretch":return n.ao.Stretch;case"contain":case"fit":return n.ao.Fit;default:return n.sj.sizeMode}}var r=e(763),o=e(890),h=e(147),a=e(429),c=e(557);class l{static get origin(){var t;return null===(t=l.i)||void 0===t?void 0:t.imageOptimizerOrigin}static async n({defaultOrigin:t="",imageOptimizerOrigin:i="",svgImageOptimizerOrigin:e}={}){let n=!1;const s=r.zP.simple;return n=!(s>0&&s>=14.3&&s<14.5)&&await function(){u||(u=new Promise((t=>{const i=new Image;i.onload=i.onerror=()=>t(2===i.height),i.src="data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA"})));return u}(),l.i={webpSupport:n,defaultOrigin:t,imageOptimizerOrigin:i,svgImageOptimizerOrigin:e},n}static getCroppingOptions(t){const i=t.imageSettings;if(i.sizeMode===n.ao.Fill)return function(t,i,e=.5,n=.5){if(!(null==i?void 0:i.width)||!i.height)return;const s=Object.assign(Object.assign({},(0,o.o4)(i,t,"cover")),{x:0,y:0}),r=(0,o.y4)(t,s,e,n),h=i.width/s.width,a=(0,o.Au)({x:r.x*h,y:r.y*h,width:r.width*h,height:r.height*h}),c=(0,o.XY)(a);return c.x2=Math.min(c.x2,i.width),c.y2=Math.min(c.y2,i.height),c}(t,t.imageAsset,i.x,i.y)}static v(t,i={}){const{imageAsset:e,imageSettings:s}=t,r=function(t,i){const e=t.imageAsset;let n=t.states.reduce(((t,i)=>{const e=i.scaleX||0,n=i.scaleY||0;return Math.max(e,n,t)}),1);if(i)if(t.width<=i.width||t.height<=i.height){const e=(0,o.o4)(t,i,"cover");n=Math.min(e.width/t.width,n)}else n=1;if((null==e?void 0:e.width)&&(null==e?void 0:e.height)){const i=e.width,s=e.height;if(i-1){const i=(0,a.Uv)(t).u;"string"==typeof i&&(t=decodeURIComponent(i))}if(!e.width||!e.height)throw new Error("No size provided");const r=function(t){const i=t.position?{positionX:t.position.x,positionY:t.position.y}:void 0,e=Math.round(t.width*t.dpr),n=Math.round(t.height*t.dpr),s="number"==typeof t.quality?(0,c.qE)(t.quality,0,99):void 0;return Object.assign(Object.assign({},i),{w:e,h:n,q:s})}(e),{w:o,h:l,q:u,positionX:v,positionY:p}=r,g=Object.assign({u:encodeURIComponent(t),w:o,h:l,q:u,f:s,rt:f(e.sizeMode||e.fitOption),positionX:v,positionY:p},e.cropping),w=(0,a.cX)(g);return`${n}/api/image/${e.method}${w}`}(t,Object.assign(Object.assign(Object.assign({},e),{webpSupport:e.webpSupport}),(0,c.Oy)(i)))}static g(t=""){const i="string"==typeof t?t:t.imageUrl||"";if(!this.origin&&"string"!=typeof t){const e=v(i),s="svg"!==e&&"gif"!==e,r=t.__data.imageSettings.sizeMode===n.ao.Fill;return(0,a.cW)(i)&&r&&s&&!(0,a.XI)(i)}return!!i&&l.E(i)&&!!(0,a.Uv)(i).x1}static getOriginalUrl(t=""){return l.E(t)?p(t)||"":t}static E(t){const i=l.origin;return!!i&&function(t,i){return t.indexOf(i)>-1&&!!p(t)}(t,i)}static getDevicePixelRatio(t,i,e,n){let s=window.devicePixelRatio;return(4===e||5===e)&&(s=2,t*i>=1e6&&(s=1)),n&&s?(0,c.qE)((0,c.x0)(s,.5),1,2):s}}let u;function d(t,i=!1){const e=v(t),n=r.zP.simple;return"gif"===e&&n>0&&n>=14&&n<16&&(i=!1),"svg"===e?e:i?"webp":e&&"webp"!==e?e:"png"}function f(t){const i=s(t);return i===n.ao.Stretch||i===n.ao.Fit?"contain":i===n.ao.Fill?"cover":void 0}function v(t){const i=(0,a.QC)(t);switch(i){case"jpg":return"jpeg";case"webp":case"jpeg":case"gif":case"png":case"svg":return i}}function p(t){return(0,a.Uv)(t).u}const m={webpSupport:!1,imageOptimizerOrigin:"",method:"optimize",quality:n._T,dpr:1,env:0}},702:(t,i,e)=>{e.d(i,{dK:()=>s});var n=e(364);function s(t){return t.hidden||!!function(t){let i;return(0,n.rd)(t,(t=>{if(t.hidden)return i=t.id,!0})),i}(t)}},364:(t,i,e)=>{e.d(i,{iQ:()=>D,_E:()=>Y,To:()=>T,$Q:()=>j,rd:()=>N,pj:()=>P,um:()=>v,h6:()=>O,Xk:()=>F,ay:()=>w,A8:()=>m,E2:()=>g,VE:()=>A,Ub:()=>$,z:()=>C,DN:()=>x,_1:()=>b,ir:()=>u,JL:()=>S,yG:()=>p,Kq:()=>_,Hb:()=>y,wl:()=>I,F_:()=>R,Fx:()=>L});var n,s,r=e(356);!function(t){t.Rectangle="rectangle",t.Text="text",t.Image="image",t.Video="video",t.Ellipse="ellipse",t.Button="button",t.Widget="widget",t.Feeds="feeds",t.Effects="effects",t.Selection="selection",t.Any="any"}(n||(n={})),function(t){t.List="list",t.Grid="grid",t.Preview="preview"}(s||(s={}));var o=e(716),h=e(5),a=e(702);n.Text,n.Button,n.Rectangle,n.Ellipse,n.Image,n.Widget,n.Effects,n.Video,n.Feeds;function c(t){return Boolean(t&&"kind"in t)}function l(...t){return function(i){return!!c(i)&&-1!==t.findIndex((t=>i.kind===t))}}const u=l(r.F.Button,r.F.Text),d=(l(r.F.Button),l(r.F.Ellipse)),f=l(r.F.Rectangle),v=l("creative"),p=l(r.F.Video),m=l(r.F.Image),g=l(r.F.Image,r.F.Video);function w(t){return!!t&&l(r.F.Group)(t)}const y=l(r.F.Widget,r.F.BannerflowLibraryWidget,r.F.BannerflowLibraryWidgetInstance);function b(t){return void 0!==t&&(t.kind===r.F.Button||t.kind===r.F.Text)&&!_(t)}function _(t){return void 0!==t&&"kind"in t&&("creative"!==t.kind&&t.kind!==r.F.Group&&t.__data)}function x(t,i){return!(0,a.dK)(t)&&function(t,i){return i>=t.time&&i<=t.time+t.duration}(t,i)}function F(t){return!function(t){return!(!t||"kind"in t&&"string"==typeof t.kind)}(t)&&!_(t)}function E(t){return f(t)||d(t)||m(t)}function C(t){return E(t)||p(t)}function S(t){return C(t)&&void 0!==t.masking}function A(t){return S(t)&&!0===t.masking.isMask}function $(t){return S(t)&&void 0!==t.masking.elementId}function O(t){return y(t)?t.customProperties.some((t=>t.dynamicPropertyId)):(m(t)||u(t))&&!!t.dynamicPropertyId}function D(t){var i,e,n,s,r,o;return{padding:null!==(i=null==t?void 0:t.padding)&&void 0!==i?i:{top:0,left:0,right:0,bottom:0},verticalAlignment:null!==(e=null==t?void 0:t.verticalAlignment)&&void 0!==e?e:"top",maxRows:null!==(n=null==t?void 0:t.maxRows)&&void 0!==n?n:1/0,textOverflow:null!==(s=null==t?void 0:t.textOverflow)&&void 0!==s?s:"expand",characterSpacing:null!==(r=null==t?void 0:t.characterSpacing)&&void 0!==r?r:0,lineHeight:null!==(o=null==t?void 0:t.lineHeight)&&void 0!==o?o:1.3,__fontFamilyId:""}}const M=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];let B=1;function k(){return function(t){const i=M.length;if(t<=i)return M[t-1];const e=[];let n=t;for(;n>=i;){const t=n%i;n=(n-t)/i,e.push(M[t])}return e.push(M[n-1]),e.reverse().join("")}(B++)}function I(){B=1}function j(t,i,e,n){z(t,i,e,n)}function T(t,i,e,n){z(t,i,e,n)}function z(t,i,e,n){let s=[];if(c(t))switch(t.kind){case"creative":case r.F.Group:s=t.nodes;break;default:throw new Error("Unknown group element.")}else s=t;n&&(s=s.slice().reverse());let o=0;for(const r of s)w(r)?z(r,(t=>{i(t,r,o)}),e,n):("number"!=typeof e||(0,h.tl)(r,e))&&i(r,void 0,o),o++}function R(t){const i=[];return T(t,(t=>{w(t)||i.push(t)})),i}function L(t){if(Array.isArray(t)&&t.every((t=>!w(t))))return t;const i=[],e="nodes"in t?t.nodes:t;for(const n of e.slice().reverse())w(n)?(i.unshift(n),i.unshift(...L(n))):-1===i.indexOf(n)&&i.unshift(n);return i}function N(t,i){if(!t)return;let e=t.__parentNode;for(;e;){if(i(e))return;e=e.__parentNode}}function P(t){const i={};for(const e of o.HD){const n=t[e];void 0!==n&&(i[e]=n)}return i}function Y(t){if(w(t))throw new Error("View elements can not be created from a group node.");const i={kind:t.kind,__data:t};return i.elementCid=k(),i.cidIndex=B,i.id=t.id,i.name=t.name,i.ratio=t.ratio,i.time=t.time,i.duration=t.duration,u(i)&&u(t)?(i.font=t.font,i.content=t.content):m(t)&&m(i)?i.feed=t.feed:y(i)&&y(t)&&(i.customProperties=t.customProperties),i}},439:(t,i,e)=>{e.d(i,{$H:()=>c,Jk:()=>l,LB:()=>a,hA:()=>o,tB:()=>r,xV:()=>d});const n=[];let s="root";function r(t,i,e=s){var n;const r=null!==(n=h(e))&&void 0!==n?n:new u(e);return r.tokenMap[t]||(r.tokenMap[t]={ctor:i,args:[],instantiating:!1,instances:[],dependencies:[]}),{withArgs(...i){r.tokenMap[t].args=i}}}function o(t,i,e=s){var n;const r=null!==(n=h(e))&&void 0!==n?n:new u(e);r.tokenMap[t]||(r.tokenMap[t]={ctor:void 0,args:[],instantiating:!1,dependencies:[],instances:[i]})}function h(t){return n.find((i=>i.scope===t))}function a(t){const i=n.findIndex((i=>i.scope===t));n[i]&&(n[i].tokenMap={},n.splice(i,1))}function c(t){for(const i of n){const e=Object.values(i.tokenMap);for(const i of e)i.instances=i.instances.filter((i=>i!==t))}}function l(){const t=h("studio");for(const i of n)i!==t&&(i.tokenMap={});n.splice(0),t&&n.push(t)}class u{constructor(t="root"){this.tokenMap={},this.scope=t,n.push(this)}instantiate(t,i){return this.factory(t,i)}factory(t,{ctor:i,args:e}){const n=this.tokenMap[t];if(!n||n.instantiating)return;if(n.instantiating=!0,this.currentlyCreating=n,!i)return;const s=new i(...e.length?e:[]);return n.instantiating=!1,n.instances.push(s),this.currentlyCreating===n&&(this.currentlyCreating=void 0),s}}function d(t,{args:i,optional:e,scope:o=s,asNew:a}={}){var c;if(!a){const i=function(t,i){for(const e of n.slice().reverse()){const n=e.tokenMap[t],s=!i||i===e.scope;if(n&&s)return n.instances[0]}}(t,o);if(i)return i}const l=function(t){for(const i of n.slice().reverse()){const e=i.tokenMap[t];if(e)return e.ctor}}(t);if(!l){if(e)return;throw new Error(`Could not get injectable of token ${t}. Expected dependency constructor has probably not been initialized as an Injectable.`)}r(t,l,o);const u=h(o);if(!u){if(e)return;throw new Error(`Non-optional injection on container with scope ${o}`)}const d=h("root");if(!d&&!u)throw new Error("No container found during injection");const v=null!==(c=u.tokenMap[t])&&void 0!==c?c:null==d?void 0:d.tokenMap[t];if(!v){if(e)return;throw new Error(`Token ${t} is not registered for dependency injection.`)}if(i&&(v.args=i),u.currentlyCreating){u.currentlyCreating.dependencies.push(v);for(const t of u.currentlyCreating.dependencies){const i=f(t,v);if(i.length&&t.ctor)throw new Error(`Circular dependency detected during instantiation. ${t.ctor.name} => ${i.map((({ctor:t})=>null==t?void 0:t.name)).join(" => ")}`)}}const p=u.instantiate(t,v);return u.currentlyCreating=void 0,p}function f(t,i){const e=[];return function t(i,n){for(const s of i.dependencies){if(s.dependencies.some((({ctor:t})=>t===n.ctor)))return void e.push(s,n);t(s,n)}}(t,i),e}},642:(t,i,e)=>{var n;e.d(i,{m:()=>n}),function(t){t.Solid="solid",t.LinearGradient="linear-gradient"}(n||(n={}))},356:(t,i,e)=>{var n;e.d(i,{F:()=>n}),function(t){t.Rectangle="rectangle",t.Text="text",t.Image="image",t.Video="video",t.Group="group",t.Ellipse="ellipse",t.Button="button",t.Widget="widget",t.BannerflowLibraryWidget="bannerflowLibraryWidget",t.BannerflowLibraryWidgetInstance="bannerflowLibraryWidgetInstance"}(n||(n={}))},360:(t,i,e)=>{e.d(i,{_T:()=>s,ao:()=>n,sj:()=>r});Object.keys({sizeMode:"enum",x:"number",y:"number",quality:"number",highDpi:"boolean"});var n;!function(t){t.Fit="fit",t.Stretch="stretch",t.Fill="crop"}(n||(n={}));const s=85,r={x:.5,y:.5,quality:s,sizeMode:n.Fit,highDpi:!1}},716:(t,i,e)=>{e.d(i,{HD:()=>s,J9:()=>n});const n=["content","horizontalAlignment","verticalAlignment","font","fontSize","maxRows","padding","textOverflow","textColor","uppercase","underline","strikethrough","characterSpacing","lineHeight","textShadows","width","height","__fontFamilyId"],s=["__fontFamilyId","characterSpacing","font","fontSize","lineHeight","strikethrough","textColor","textShadows","underline","uppercase"]},426:(t,i,e)=>{e.d(i,{q:()=>n});const n="@"},654:(t,i,e)=>{var n;e.d(i,{y:()=>n}),function(t){t.Fit="fit",t.Fill="crop"}(n||(n={}))},481:(t,i,e)=>{var n;e.d(i,{Y:()=>n,o:()=>s}),function(t){t.ViewNodeChanged="viewNodeChange"}(n||(n={}));const s="custom:"},763:(t,i,e)=>{var n,s;e.d(i,{JF:()=>p,m0:()=>c,jb:()=>a,UP:()=>u,gm:()=>h,un:()=>f,jl:()=>d,nr:()=>l,zP:()=>v});const r=((null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||"").toLowerCase(),o=null===(s=window.navigator)||void 0===s?void 0:s.vendor,h="undefined"!=typeof InstallTrigger,a=o.indexOf("Apple")>-1,c=(r.includes("chrome")||r.includes("crios"),r.includes("android")),l=a&&-1===r.indexOf("crios")&&-1===r.indexOf("fxios"),u=!!!document.documentMode&&!!window.StyleMedia,d=r.match(/(iPad)/i)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,f=r.toLowerCase().includes("iphone")||d,v=function(){const t={simple:0,full:{major:0,minor:0,patch:0}};try{if(!r.includes("iphone")&&!r.includes("ipad"))return t;const i=r.match(/os (\d+[._]\d+[._]?\d*)/);if(!i)return t;const e=i[1].replace(/_/g,".").split(".").map((t=>parseInt(t,10)));if(e.some(isNaN))return t;return{simple:e.length>=2?parseFloat(`${e[0]}.${e[1]}`):e[0],full:{major:e[0]||0,minor:e[1]||0,patch:e[2]||0}}}catch(i){return console.warn("Could not get iOS version:",i),t}}();function p(){const t=r;let i,e=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(e[1])?(i=/\brv[ :]+(\d+)/g.exec(t)||[],parseFloat(i[1])||-1):"chrome"===e[1]&&(i=t.match(/\b(OPR|Edge)\/(\d+)/i),null!=i)?parseFloat(i[2])||-1:(e=e[2]?[e[1],e[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(i=t.match(/version\/(\d+)/i))&&e.splice(1,1,i[1]),parseFloat(e[1])||-1)}},624:(t,i,e)=>{e.d(i,{$M:()=>h,C0:()=>o,WH:()=>s,d4:()=>r});var n=e(763);function s(t,i){t.parentNode&&t.parentNode.insertBefore(i,t.nextSibling)}function r(t=window){try{return t.self!==window.top}catch(i){return!0}}function o(){return n.nr&&(0,n.JF)()>=17||n.zP.simple>=16.3?"javascript:''":"about:blank"}function h(t){var i;const e=document.createElement("meta");e.name="color-scheme",e.content="light only",null===(i=t.contentDocument)||void 0===i||i.head.appendChild(e)}},681:(t,i,e)=>{function n(t){return s(t,new Map)}function s(t,i){switch(Object.prototype.toString.call(t)){case"[object Array]":{if(i.has(t))return i.get(t);const e=t.slice(0);return i.set(t,e),e.forEach(((t,n)=>{e[n]=s(t,i)})),e}case"[object Object]":{if(i.has(t))return i.get(t);const e=Object.create(Object.getPrototypeOf(t));return i.set(t,e),Object.keys(t).forEach((n=>{"__widget"!==n&&(e[n]=s(t[n],i))})),e}default:return t}}e.d(i,{mg:()=>n})},384:(t,i,e)=>{function n(t,i){if(!t)return!1;if(t===i)return!0;if(!i||!("parentNode"in i))return!1;let e=i.parentNode;for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function s(t,i){const e=t.querySelector(i);if(!e)throw new Error(`No ${i} found in the ${t.tagName}`);return e}function r(t,i){const e=t.getAttribute(i);if(!e)throw new Error(`No ${i} attribute found in the ${t.tagName}`);return e}e.d(i,{UT:()=>r,iQ:()=>s,pR:()=>n})},63:(t,i,e)=>{var n;e.d(i,{K:()=>n}),function(t){t.ImageRemovedDuringLoad="Image was removed while loading",t.ImageLoadingFailed="Could not load image",t.ResizeObservableLoopLimit="ResizeObserver loop limit exceeded",t.ResizeObservableLoopCompleted="ResizeObserver loop completed with undelivered notifications",t.VideoSourceInitFailed="Failed to initialize video source",t.MediaErrorAborted="media resource fetching was aborted",t.MediaErrorNetwork="a network error occurred while fetching the media resource",t.MediaErrorDecode="error occurred while decoding the media resource",t.MediaErrorSourceNotSupported="media resource is not supported"}(n||(n={}))},31:(t,i,e)=>{e.d(i,{H4:()=>a,HW:()=>h,an:()=>o,rJ:()=>r});var n=e(63);const s={enabled:!0,level:"error"};class r extends Error{constructor(t,i){var e,n;super(`WidgetError: "${t}" ${null!==(n=null===(e=null==i?void 0:i.originalError)||void 0===e?void 0:e.message)&&void 0!==n?n:""}`),this.name="WidgetError",this.contexts=i}}class o extends Error{constructor(t,i){var e;super(`VideoError: ${t} ${null!==(e=null==i?void 0:i.src)&&void 0!==e?e:""}`),this.name="VideoError"}}function h(t){switch(t){case MediaError.MEDIA_ERR_ABORTED:return n.K.MediaErrorAborted;case MediaError.MEDIA_ERR_NETWORK:return n.K.MediaErrorNetwork;case MediaError.MEDIA_ERR_DECODE:return n.K.MediaErrorDecode;case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:return n.K.MediaErrorSourceNotSupported;default:return""}}function a(t,i){let e;var n;if(e=(n=i)&&n.contexts?Object.assign(Object.assign({},s),i):Object.assign(Object.assign({},s),{contexts:{context:i}}),"error"===e.level){const i=e.contexts?Object.values(e.contexts):[],n=null===globalThis||void 0===globalThis?void 0:globalThis.globalErrorHandler;if(e.enabled&&n){const e=i.find((t=>t instanceof Error));n.handleError(null!=e?e:t)}else console.error(t,...i)}else console.warn(t,e.contexts)}},427:(t,i,e)=>{e.d(i,{b:()=>n});class n{constructor(){this.cb={},this.skipEmission=!1}on(t,i){return this.cb[t]||(this.cb[t]=[]),-1===this.cb[t].indexOf(i)&&this.cb[t].push(i),this}once(t,i){const e=n=>{"function"==typeof i&&i(n),this.off(t,e)};return this.on(t,e),this}off(t,i){if(void 0===t)return this.clearEvents(),this;if(!i)return delete this.cb[t],this;const e=this.cb[t];if(null==e?void 0:e.length){let t=e.length;for(;t-- >0;)e[t]===i&&e.splice(t,1)}return this}emit(t,i){var e;if(this.skipEmission)return this;const n=null===(e=this.cb[t])||void 0===e?void 0:e.slice();if(n)for(const r of n)try{r(i)}catch(s){console.error("CallbackError: ",s)}return this}clearEvents(){this.cb={}}}},574:(t,i,e)=>{e.d(i,{Ay:()=>a,Jv:()=>r,US:()=>o});var n=e(31),s=e(429);class r{static setEnvs(t){r.C=t}static setBrowserDocument(t){r.S=t}static async loadFontFace(t,i){const e=1===r.C.environment;try{const n=await r.injectFontFace(t,i,e);r.S.fonts.has(n)||r.S.fonts.add(n)}catch(s){(0,n.H4)("Could not load font",{enabled:e,contexts:{font:t,originalError:s}})}}static async injectFontFace(t,i,e=!1){const n=h(t,i);let s=r.A.get(t.id);const o=r.$.get(t.id);if(s&&o===n)return await s.load();if(!n)throw new Error("Unknown font style.");{const i=e?"U+0-200B, U+200E-10FFFF":void 0;s=new FontFace(`f-${t.id}`,`url(${n})`,{unicodeRange:i})}return r.A.set(t.id,s),r.$.set(t.id,n),await s.load()}}function o(t,i,e){const n=h(i,e);if(!n)throw new Error("Failed to get URL of font style");const r=`f-${i.id}`,o=(a=n,null===(c=(0,s.Uv)(a).u)||void 0===c?void 0:c.split(".").pop());var a,c;const l=t.createElement("style"),u=t.createElement("link");u.rel="preload",u.href=n,u.as="font",u.type=`font/${o}`,u.crossOrigin="",l.textContent=`@font-face { font-family: '${r}'; src: url(${n}) format('${o}'); }`,t.head.appendChild(u),t.head.appendChild(l)}function h(t,i){let e=t.src||t.fontUrl;const n=r.C;return 3!==n.environment&&(1===n.environment&&n.origins.FONTS_AZURE_STORAGE_CDN&&(e=(0,s.rH)(e,n.origins.FONTS_AZURE_STORAGE_CDN)),i&&(e=(0,s.rH)(e,i))),e}function a(t){const i=new URL(t).searchParams.get("u");return i?decodeURIComponent(i):t}r.A=new Map,r.$=new Map,r.S=window.document},890:(t,i,e)=>{e.d(i,{Au:()=>l,Rv:()=>s,XY:()=>h,o4:()=>a,y4:()=>c,yH:()=>o});var n=e(557);function s(t){const i=function(t,i=0,e=!1){const{x:s,y:r,width:o,height:h,rotationZ:a}=t,c={x:s+o/2,y:r+h/2};let l={x:s+i,y:r+i},u={x:s+o-i,y:r+i},d={x:s+i,y:r+h-i},f={x:s+o-i,y:r+h-i};void 0!==a&&(l=(0,n.T7)(l,c,-a),u=(0,n.T7)(u,c,-a),d=(0,n.T7)(d,c,-a),f=(0,n.T7)(f,c,-a));const v={topLeft:l,topRight:u,bottomLeft:d,bottomRight:f};return e&&(v.center={x:(Math.min(l.x,u.x,d.x,f.x)+Math.max(l.x,u.x,d.x,f.x))/2,y:(Math.min(l.y,u.y,d.y,f.y)+Math.max(l.y,u.y,d.y,f.y))/2}),v}(t),e=Math.min(i.topLeft.x,i.bottomLeft.x,i.topRight.x,i.bottomRight.x),s=Math.min(i.topLeft.y,i.bottomLeft.y,i.topRight.y,i.bottomRight.y);return{x:e,y:s,width:Math.max(i.topLeft.x,i.bottomLeft.x,i.topRight.x,i.bottomRight.x)-e,height:Math.max(i.topLeft.y,i.bottomLeft.y,i.topRight.y,i.bottomRight.y)-s}}const r=(t,i)=>t.width===i.width&&t.height===i.height;function o(t,...i){return i.every((i=>r(t,i)))}function h(t){return{x1:t.x,y1:t.y,x2:t.x+t.width,y2:t.y+t.height}}function a(t,i,e="contain",n){const s="cover"===e?Math.max:Math.min,r=u(n),o=s(i.width/t.width,i.height/t.height);return c({width:r(t.width*o),height:r(t.height*o)},i,"center","center",n)}function c(t,i,e="center",n="center",s){const r=u(s),o=r(function(t,i,e="center"){const n=d(e);return(i.x||0)-(t-i.width)*n}(t.width,i,e)),h=r(function(t,i,e="center"){const n=d(e);return(i.y||0)-(t-i.height)*n}(t.height,i,n));return{x:o,y:h,width:t.width,height:t.height}}function l(t,i="round"){return Object.assign(Object.assign(Object.assign({},t),function(t,i="round"){const e=u(i),{x:n,y:s}=t;return{x:"number"==typeof n?e(n):n,y:"number"==typeof s?e(s):s}}(t,i)),function(t,i="round"){const e=u(i),{width:n,height:s}=t;return{width:"number"==typeof n?e(n):n,height:"number"==typeof s?e(s):s}}(t,i))}function u(t){return t&&"none"!==t?Math[t]:t=>t}function d(t){if("number"==typeof t)return(0,n.qE)(t,0,1);switch(t){case"center":return.5;case"left":case"top":return 0;case"right":case"bottom":return 1}throw new Error(`Could not convert align '${t}' to number`)}},147:(t,i,e)=>{e.d(i,{FY:()=>o,Jf:()=>r});var n=e(429);const s=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;function r(t){if(o(t=null==t?void 0:t.trim()))return t;throw new Error(`Error: unsafe URL value: "${t}" (see http://g.co/ng/security#xss)`)}function o(t){return!((t=t.trim())&&"#"!==t&&!(0,n.XI)(t)&&!t.match(s))}},751:(t,i,e)=>{e.d(i,{N:()=>s});var n=e(681);class s{static set(t,i){return this.cache.set(t,(0,n.mg)(i)),i}static get(t){const i=this.cache.get(t);return(0,n.mg)(i)}static clear(){this.cache.clear()}}s.cache=new Map},429:(t,i,e)=>{e.d(i,{DW:()=>g,ES:()=>E,QC:()=>y,RL:()=>_,Su:()=>b,Tf:()=>v,Uv:()=>o,WP:()=>F,Wq:()=>l,XI:()=>c,Yk:()=>f,cW:()=>h,cX:()=>w,gU:()=>a,i$:()=>u,i5:()=>x,rH:()=>p,rW:()=>m});var n=e(751);const s=/^(?:https?:\/\/)?(?:[^@/\n]+@)?(?:www\.)?([^:/?\n]+)/gim,r=/[(http(s)?)://(www.)?a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/i;function o(t=""){const i={},e=n.N.get(t);if(e)return e;if(t&&t.indexOf("?")>-1)try{new URL(t).searchParams.forEach(((t,e)=>{i[e]=t}))}catch(s){let e;const n=/([^&=]+)=?([^&]*)/g,r=t=>{try{t=decodeURIComponent(t.replace(/\+/g," "))}catch(s){}return t},o=(t=t.substring(t.indexOf("?")+1))||window.location.search.substring(1);for(;e=n.exec(o);)i[r(e[1])]=r(e[2])}return n.N.set(t,i),i}function h(t){return!!t&&0!==t.replace(/^https?:/,"").indexOf("//")}function a(t){return"string"==typeof t&&!!t.match(r)}function c(t){return!!t&&t.startsWith("data:image")}function l(t){return!!t&&t.startsWith("data:video/mp4;base64")}function u(t="",i=""){return t.length&&i.length&&("/"!==t.charAt(t.length-1)&&(t+="/"),"/"===i.charAt(0)&&(i=i.substr(1))),t+i}function d(t,i=!0){if("string"==typeof t){const e=t.match(s);if(e)return i?function(t){return t.replace(/^((https?:)?\/\/)/gim,"")}(e[0]):e[0]}}function f(t,i){return void 0!==t[i]}function v(t){if(t)switch(t.toLowerCase()){case"1":case"on":case"true":case"yes":return!0;case"0":case"off":case"false":case"no":return!1;default:return}}function p(t,i){return i?t.replace(new URL(t).origin,new URL(i).origin):t}function m(t){if(!t)return!1;try{const i="function"==typeof URL?new URL(t).hostname:d(t,!0);return!!i&&!!i.match(/bannerflow./g)}catch(i){return!1}}function g(t,i){return d(t)===d(i)}function w(t,i=!0){if("object"==typeof t){const e=[];for(const n in t){const s=t[n];(void 0!==s&&s.toString()||!i)&&e.push(`${n}=${s}`)}return e.length?`?${e.join("&")}`:""}return""}function y(t){var i;if(t){const e=t.split(/[#?]/)[0].split(".");if(1===e.length)return;const n=null===(i=e.pop())||void 0===i?void 0:i.trim().toLowerCase();if(n)return/[a-zA-Z]/gi.test(n)?n:void 0}}function b(t){return(t||"").replace(/\.(jpg|png|gif|svg|mp4|psd)$/i,"")}function _(t){const i=y(t);return!!i&&/(mp4|mov|webm|h264)/.test(i)}function x(){return!!window&&"file:"===window.location.protocol}function F(t){return new URL(t).pathname.split("/").pop()||t}function E(t){const i=t.split("/");return i.pop(),i.join("/")}},557:(t,i,e)=>{function n(t,i=Number.MIN_SAFE_INTEGER,e=Number.MAX_SAFE_INTEGER){return Math.max(Math.min(t,e),i)}function s(t){return b(t,.01)}function r(t,i){return o(t,i)}function o(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;let e,n;if(Array.isArray(t)){if(e=t.length,e!==i.length)return!1;for(n=e;0!=n--;)if(!o(t[n],i[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();const s=Object.keys(t);if(e=s.length,e!==Object.keys(i).length)return!1;for(n=e;0!=n--;)if(!Object.prototype.hasOwnProperty.call(i,s[n]))return!1;for(n=e;0!=n--;){const e=s[n];if(!e.startsWith("__")&&!o(t[e],i[e]))return!1}return!0}return t!=t&&i!=i}function h(t,...i){const e={};for(const n of i)void 0!==t[n]&&(e[n]=t[n]);return e}function a(t,...i){const e=Object.assign({},t);for(const n of i)delete e[n];return e}function c(t){const i=Object.assign({},t);for(const e in t)void 0===i[e]&&delete i[e];return i}function l(t,...i){const e=[...t];for(const n of i){const i=t.indexOf(n);i>-1&&e.splice(i,1)}return e}e.d(i,{Bf:()=>x,Cc:()=>C,Et:()=>_,HN:()=>l,LC:()=>$,Oy:()=>c,Q2:()=>m,Ri:()=>g,T7:()=>y,Up:()=>h,VP:()=>E,_:()=>s,bD:()=>r,cJ:()=>a,ey:()=>p,ih:()=>S,o4:()=>v,qE:()=>n,x0:()=>b,xW:()=>w,zi:()=>A});const u={"&":"&",'"':""","<":"<",">":">"},d=Object.assign(Object.assign({},u),{"‍":"‍","‌":"‌"}),f=Object.assign({},d);function v(t){for(const i in f)t=t.replace(new RegExp(i,"g"),f[i]);return t}function p(t){for(const i in u)t=t.replace(new RegExp(u[i],"g"),i);return t=(t=t.replace(/\\n/g,"\n")).replace(/\\r/g,"\r")}function m(t){if(!t)return!1;try{return btoa(atob(t))===t}catch(i){return!1}}!function(){const t=[];let i;for(let e=0;e<256;e++){i=e;for(let t=0;t<8;t++)i=1&i?3988292384^i>>>1:i>>>1;t[e]=i}}();function g(t){const i=`; ${document.cookie}`.split(`; ${t}=`);if(2===i.length)return i.pop().split(";").shift()}function w(t){return Math.round(180*t/Math.PI*100)/100}function y(t,i,e){const n=Math.cos(-e),s=Math.sin(-e);return{x:n*(t.x-i.x)-s*(t.y-i.y)+i.x,y:n*(t.y-i.y)+s*(t.x-i.x)+i.y}}function b(t,i){return Math.round(t/i)/(1/i)}function _(t){return"number"==typeof t}function x(t){return _(t)&&isFinite(t)}function F(t,i){return t===i?0:typeof t==typeof i?tt.normalize("NFC"))),...i.map((t=>t.normalize("NFKD")))].filter(((t,i,e)=>e.indexOf(t)===i)).sort(F).flatMap((t=>Array.from(t)))}function C(t,i,e){return t+e*(i-t)}function S(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return`%${t.charCodeAt(0).toString(16)}`}))}function A(t,i){return(t%i+i)%i}function $(t,i){const e=Object.keys(t),n=Object.keys(i);return Array.from(new Set([...e,...n])).filter((e=>t[e]!==i[e])).reduce(((t,e)=>Object.assign(Object.assign({},t),{[e]:i[e]})),{})}}},n={};function s(t){var i=n[t];if(void 0!==i)return i.exports;var r=n[t]={exports:{}};return e[t](r,r.exports,s),r.exports}s.m=e,s.d=(t,i)=>{for(var e in i)s.o(i,e)&&!s.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:i[e]})},s.f={},s.e=t=>Promise.all(Object.keys(s.f).reduce(((i,e)=>(s.f[e](t,i),i)),[])),s.u=t=>({180:"video",303:"widget",495:"feed"}[t]+"."+{180:"4954a7d144d449ddde7b",303:"7981987fa04889aaa3cc",495:"3276d98e8b3eca53c9a4"}[t]+".js"),s.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i),t={},i="AC_2025_06_16:",s.l=(e,n,r,o)=>{if(t[e])t[e].push(n);else{var h,a;if(void 0!==r)for(var c=document.getElementsByTagName("script"),l=0;l{h.onerror=h.onload=null,clearTimeout(f);var s=t[e];if(delete t[e],h.parentNode&&h.parentNode.removeChild(h),s&&s.forEach((t=>t(n))),i)return i(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:h}),12e4);h.onerror=d.bind(null,h.onerror),h.onload=d.bind(null,h.onload),a&&document.head.appendChild(h)}},s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.p="scripts/",(()=>{var t={478:0};s.f.j=(i,e)=>{var n=s.o(t,i)?t[i]:void 0;if(0!==n)if(n)e.push(n[2]);else{var r=new Promise(((e,s)=>n=t[i]=[e,s]));e.push(n[2]=r);var o=s.p+s.u(i),h=new Error;s.l(o,(e=>{if(s.o(t,i)&&(0!==(n=t[i])&&(t[i]=void 0),n)){var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;h.message="Loading chunk "+i+" failed.\n("+r+": "+o+")",h.name="ChunkLoadError",h.type=r,h.request=o,n[1](h)}}),"chunk-"+i,i)}};var i=(i,e)=>{var n,r,[o,h,a]=e,c=0;if(o.some((i=>0!==t[i]))){for(n in h)s.o(h,n)&&(s.m[n]=h[n]);if(a)a(s)}for(i&&i(e);cEi});var o,h,a,c,l=s(520);!function(t){t.Joint="joint",t.Separate="separate"}(o||(o={})),function(t){t.Joint="joint",t.Separate="separate"}(h||(h={})),function(t){t.Blur="blur",t.Contrast="contrast",t.Invert="invert",t.Grayscale="grayscale",t.Saturation="saturate",t.Sepia="sepia"}(a||(a={})),function(t){t.Length="px",t.Percentage="%"}(c||(c={}));const u={[a.Blur]:{name:"Blur",icon:"filter-blur",unit:c.Length,min:0,max:100},[a.Contrast]:{name:"Contrast",icon:"filter-contrast",unit:c.Percentage,min:0,max:200,default:100},[a.Invert]:{name:"Invert",icon:"filter-invert",unit:c.Percentage,min:0,max:100},[a.Grayscale]:{name:"Grayscale",icon:"filter-grayscale",unit:c.Percentage,min:0,max:100},[a.Saturation]:{name:"Saturation",icon:"filter-saturate",unit:c.Percentage,min:0,max:200,default:100},[a.Sepia]:{name:"Sepia",icon:"filter-sepia",unit:c.Percentage,min:0,max:100}};Object.entries(u).reduce(((t,[i,e])=>[...t,Object.assign({id:i},e)]),[]);var d=s(364);const f=(t,i)=>t.includes(i)||t.includes("video.bannerflow.com");var v,p=s(643),m=s(439);!function(t){t.Render="render",t.Preload="preload",t.CreativeLoad="creativeload",t.Init="init",t.Click="click",t.ViewEnter="viewenter",t.ViewLeave="viewleave",t.IABViewEnter="iab_viewenter",t.IABViewLeave="iab_viewleave",t.PageReady="ready",t.Error="error",t.Destroy="destroy",t.Play="play",t.Stop="stop",t.Seek="seek",t.Loop="loop",t.Pause="pause",t.Mute="mute",t.TCData="tcdata"}(v||(v={}));var g=s(624),w=s(681);var y=s(574);function b(t){performance&&performance.mark&&performance.mark(t)}new Map;var _=s(147);function x(t,i){i=i&&(0,_.Jf)(i);const e=new F;return t.onload=()=>{e.resolve(t)},t.onerror=t=>{e.reject(t)},"string"==typeof i&&(t.src=i),e}class F{constructor(){this.promise=new Promise(((t,i)=>{this.resolve=t,this.reject=i}))}}var E=s(557);let C,S;const A={sin:Math.sin,cos:Math.cos,pi:Math.PI,PI:Math.PI,abs:Math.abs,round:Math.round,ceil:Math.ceil,floor:Math.floor,pow:Math.pow,sqrt:Math.sqrt,random:Math.random};let $=!1;const O=new Function("code","\n try {\n context.eval = eval;\n context.code = code;\n } catch(e) {\n var context = window.context || {};\n context.eval = eval;\n context.code = code;\n }\n const scopeProxy = new Proxy(context, {\n has(prop) { return !(prop in context) },\n get(target, prop) {\n if (prop in target) {\n return target[prop];\n }\n if (!(typeof prop === 'symbol')) {\n throw new Error(`Unexpected token '${prop.toString()}'.`);\n }\n }\n });\n with (scopeProxy) {\n return eval(code);\n }");class D{static eval(t,i={}){if(C||D.init(),$)return window.context=Object.assign(Object.assign({},A),i),O(t);const e=null==C?void 0:C.contentWindow,n=(null==C?void 0:C.contentDocument)&&(null==e?void 0:e.evalMathExpression);if(!n||!e)throw new Error("Safe eval iframe is not initiated.");return e.context=Object.assign(Object.assign({},A),i),n(t)}static async init({inStudioApp:t,isSandboxedIframe:i}={}){if(S)return S;if(!C&&"undefined"!=typeof window){C=document.createElement("iframe");const n=C.style;n.position="absolute",n.pointerEvents="none",n.width=n.height=n.opacity=n.top=n.left="0",S=x(C).promise,document.body.appendChild(C),await S;const s=C.contentDocument;if(i||!s)$=i||!s;else{const i=t?(0,E.Ri)("script-nonce"):"";try{const t=document.createElement("script"),e=URL.createObjectURL(new Blob([`window.evalMathExpression = ${O.toString()}`]));t.nonce=i,t.src=e;const n=x(t).promise;s.head.appendChild(t),await n,URL.revokeObjectURL(e)}catch(e){s.open(),s.write(`