(function(){'use strict';function Ra(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var v=0;vq&&(q=Math.max(q+H,0));qg.name.startsWith(c+a)),f=e.find(g=>ja.includes(g.initiatorType));return f?{duration:Math.round(f.duration),hc:H(f,e),responseEnd:Math.round(f.responseEnd)}:null}catch(e){return null}}function H(a,b){return function(){return b.some(c=>!ja.includes(c.initiatorType))}()?"s":void 0===a.transferSize?"n":0===a.transferSize?"a":a.transferSize{var{path:c,key:d}=b;return(b=w(c))?Object.assign(a,{[`p${d}d`]:b.duration,[`p${d}s`]:b.hc,[`p${d}e`]:b.responseEnd}):a},{})}function N(){let a={};a.pcl=window.performance.timing.domContentLoadedEventEnd-window.performance.timing.navigationStart;return a}function Va(a){let b={};var c=["pue","pie","ppe"].reduce((d,e)=>a[d]>a[e]?d:e,0);b.lca=a[c];b.lcak=0=(a.pae||0)?c:"pae";b.lct=a[c];b.lctk=0{"1"===c&&-1===b.indexOf(d+1)&&b.push(d+1);return b},[])}function Za(a){for(;0!==a.length%4;)a+="=";a=a.replace(/-/g,"+").replace(/_/g,"/");a=atob(a);var b="";for(var c=0;c{const k=g.name,n=g.D,{va:h,gb:m}=$a({input:b,Kf:f,Lb:e,ze:g});void 0!==h&&(f[k]=h);void 0!==m?e=m:"number"===typeof n&&(e+=n);return f},{}),gb:e}}function $a(a){var{input:b,Kf:c,Lb:d,ze:e}=a;let{type:f,D:g,Gh:k,Sa:n,yf:h}=e;if("function"===typeof n&&!n(c))return{gb:d};if("function"===typeof k)return k(b,c,d);a="function"===typeof g?g(c):g;switch(f){case "int":return{va:parseInt(b.substr(d,a),2)};case "bool":return{va:1===parseInt(b.substr(d,1),2)};case "date":return{va:new Date(100*parseInt(b.substr(d,a),2))};case "bits":return{va:b.substr(d,a)};case "list":{a=0;"function"===typeof h?a=h(c):"number"===typeof h&&(a=h);var m=d;let x=[];for(let B=0;B{var{Uh:n,oi:h,Jh:m}=k;k=n?m:h;for(let x=h;x<=k;x+=1)g[x]=!0;return g},{}),f.Ga=[],d=1;d<=a;d+=1)(c&&!b[d]||!c&&b[d])&&-1===f.Ga.indexOf(d)&&f.Ga.push(d);else f.Ga=Ya(d);return f}function bb(){return U(function*(){return window.__cmp?Promise.race([new Promise((a,b)=>{window.__cmp("getConsentData",null,(c,d)=>{d||b(Error("getConsentData failed"));c.consentData||a({});a(ab(c.consentData))})}),new Promise(a=>setTimeout(()=>a({Gg:!0}),500))]):Promise.resolve()})}function cb(a){let b=window.demandSupplySc,c=`${b}-${window.demandSupplyCr}`;return a&&a.length&&(b&&a.includes(b)||c&&a.includes(c))}function db(a){let b=a.f.Df;a.jc=Promise.resolve();if(cb(b))try{a.jc=bb(),window.dspbjs=window.dspbjs||{},window.dspbjs.que=window.dspbjs.que||[],window.dspbjs.que.push(()=>{let c=window.dspbjs.getConfig()||{};c.consentManagement={};c.consentManagement.cmpApi="iab";window.dspbjs.setConfig(c)})}catch(c){console.error(c)}}function na(a){return.2>a?.1:1>a?.2:1<=a&&26>a?Math.floor(a):80{let d=document.createElement("script");d.type="text/javascript";d.async=!0;d.src=a;d.onload=()=>b();d.onerror=e=>c(e);document.body.appendChild(d)})})}function qa(a,b){b=void 0===b?0:b;return U(function*(){if(!a)return!1;var{Ia:c}=a.a;c=yield c.Gc(b);if(yield a.W(c))return!0;a.gd();return qa(a.Je())})}function V(a){a=a.getBoundingClientRect();return 0<=a.bottom&&0<=a.right&&a.top<=(window.innerHeight||document.documentElement.clientHeight)&&a.left<=(window.innerWidth||document.documentElement.clientWidth)}function gb(a){let b=a.zi,c={};c.desktop=b.d;c.mobile=b.m;c.tablet=b.t;c.other=b.o;return{R:a.ei,Kd:c}}function W(a){let b={};b.la=Object.freeze(hb(a));b.nc=a.dsl?X({"-1":a.dsl},"-1"):null;b.Fh=ib(a);b.type=a.ty||"display";a.sz&&(b.size=a.sz.split(",").map(c=>parseInt(c)));a.ar&&(b.Y=a.ar);a.pns&&(b.lb=a.pns);a.sro&&(b.na=a.sro);a.r&&(b.J=a.r);a.aur&&(b.da=a.aur);a.srr&&(b.Bg=a.srr);a.sbso&&(b.wg=a.sbso);a.msai&&(b.Oa=a.msai);a.nosmo&&(b.hb=a.nosmo);a.sai&&(b.Sc=a.sai);a.iai&&(b.G=a.iai);a.fsi&&(b.vc=a.fsi);a.dsco&&(b.oc=a.dsco);a.tpa&&(b.Fg=a.tpa);a.ltapr&&(b.Df=a.ltapr);a.tum&&(b.rb=a.tum);a.lls&&(b.Fb=a.lls);a.sds&&(b.Jd=a.sds);a.ifl&&(b.Cb=a.ifl);a.lr&&(b.Zh=a.lr);a.dcai&&(b.ua=a.dcai);if(a.fat||a.gat)b.vb={};a.fat&&(b.vb.yb={Gb:a.fat.ml,qb:a.fat.ti,oe:a.fat.tv});a.gat&&(b.vb.Oc={Gb:a.gat.ml,qb:a.gat.ti});b.Jb=function(){let c=Array.isArray(a.ps)&&a.ps.length?a.ps.map(M.decode):["google"];demandSupply.lf||c.includes("rubicon")&&c.splice(c.indexOf("rubicon"),1);demandSupply.sf||c.includes("uam")&&c.splice(c.indexOf("uam"),1);return c}();a.bt&&(b.ja={},a.bt.i&&(b.ja.La={Ye:a.bt.i.c,jb:a.bt.i.p}),a.bt.s&&(b.ja.Mb={jb:a.bt.s.p}));jb(b,a);a.er&&(b.P=gb(a.er));a.pl&&(b.sa=parseInt(a.pl));return b}function hb(a){let b=a.sl;return Object.keys(b).map(c=>X(b,c)).sort((c,d)=>c.M>d.M?1:d.M>c.M?-1:0)}function ib(a){if(!a.dssl)return{};let b=a.dssl;return Object.keys(b).map(c=>X(b,c))}function X(a,b){return{id:function(c){return isNaN(c)?c:parseInt(c)}(a[b].id),Ya:function(c){return c?parseInt(c,36)/100:null}(a[b].cp),M:parseInt(b)}}function kb(a,b,c){function d(){if(!0===e)return null;e=!0;setTimeout(function(){try{const f=a.getBoundingClientRect().top-window.innerHeight;if(f!d.id.startsWith("google_osd_static_frame_")).some(d=>{d=window.getComputedStyle(d);const e=d.getPropertyValue("opacity");if(!a.ha()&&0e)return!0})&&D.dg(a.id);setTimeout(()=>sa(a,2*b),b)}}function lb(a,b){if(!a)return!1;if(ta(a.yb,b)){ua(`!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init','${a.yb.qb}');fbq('track','${a.yb.oe||"PageView"}');`);var c=!0}else c=!1;ta(a.Oc,b)?(ua(`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','${a.Oc.qb}');`),a=!0):a=!1;return c||a}function ta(a,b){return a&&a.qb&&a.Gb&&b&&a.Gb>=b}function ua(a){let b=document.createElement("script");b.type="text/javascript";b.appendChild(document.createTextNode(a));document.body.appendChild(b)}function mb(a,b){return U(function*(){let c;try{let d=(yield Promise.race([b.kb,new Promise(e=>setTimeout(()=>e([]),10))])).find(e=>e.id===a);d&&(c=JSON.stringify(d.adData))}catch(d){}return c||R({url:`${nb}/a/${a}`})})}function ob(a){let b={d:1,t:1,bi:1};(a=a.getAttribute("data-devices").replace(/ /g,""))&&(b=a.split(",").reduce((c,d)=>{c[d.split(":")[0]]=parseInt(d.split(":")[1]);return c},{}));return Object.keys(b).filter(c=>b[c])}function va(a){try{let b=window.visualViewport&&window.visualViewport.height?window.visualViewport.height:window.innerHeight;"medium"===a&&(b*=2);"soft"===a&&(b*=3);t.fa()&&(b*=2);return isNaN(b)?1E3:b}catch(b){return 1E3}}function pb(a,b,c){function d(e){e=e.dataset.ad;return!(e.includes("_rmm_")||e.endsWith("_rmm"))}c=void 0===c?1E3:c;try{let e=setInterval(()=>{document.hasFocus()&&a.xc().filter(d).forEach(f=>{const g=a.C.xa(f.id);if(!g||!g.wh){var k=g&&(g.Sh||g.Xc);qb().some(n=>{var{zb:h,Rb:m}=n;if(C.isVisible(f)&&h(f,{Eb:k}))return setTimeout(()=>{if(document.hasFocus()&&C.isVisible(f)&&h(f,{Eb:k}))return clearInterval(e),m(f.dataset.ad)},c),!0})}})},void 0===b?5E3:b)}catch(e){console.log("err",e)}}function qb(){return[{zb:a=>!a.id,Rb:r.eh},{zb:(a,b)=>{({Eb:b}=b);return!b&&!a.children.length},Rb:r.fh},{zb:(a,b)=>{({Eb:b}=b);return!b&&!(Y.ta(a)||S.ta(a))},Rb:r.dh}]}function rb(a,b){["webkitfullscreenchange","mozfullscreenchange","msfullscreenchange","fullscreenchange"].forEach(c=>document.addEventListener(c,()=>{t.Dc()||a.Ma().forEach(d=>d.Jf())}));window.addEventListener("focus",()=>a.Ma().forEach(c=>c.If()));t.fa()&&window.addEventListener("pageshow",c=>{c.persisted&&(r.Jg(),b.rd())})}function sb(a){var{width:b,height:c}=a;if(!b)return wa[4];a=wa.filter(d=>d.width<=b&&(c?d.height<=c:!0));return 0===a.length?null:a.reduce((d,e)=>b-e.width+(c?c-e.height:0)"fixed"===h.style.position)}function d(){return f().some(h=>h.style.right)}function e(){return f().some(h=>h.style.left)}function f(){return[...document.querySelectorAll("ins > div[id^=google_ads_iframe_]")].filter(h=>"fixed"===h.style.position&&"160px"===h.style.width)}if("sticky"===a.xb||c()&&d()&&e())return null;a.xb="sticky";a.element.style.position="fixed";var g=t.fa();let k=g?256:300,n=g?144:169;g?(a.element.style.top=0,a.element.style.left=0,b=(window.screen.width-256)/2,a.element.style["padding-left"]=`${b}px`,a.element.style["padding-right"]=`${b}px`,a.B.style.bottom="60px",a.B.style.left=`${b+256}px`):(g=d()?"left":"right",a.element.style[g]=0,a.element.style["padding-right"]="16px",a.B.style.bottom="85px",a.element.style.bottom=`${b.Ne()||c()?150:0}px`);a.element.style.width=`${k}px`;a.element.style.height=`${n}px`;a.K.style.setProperty("height",`${n}px`,"important");a.element.style["background-color"]="#333";a.B.style.right=0;a.B.style.display="block";a.bb&&a.bb.resize(k,n,google.ima.ViewMode.NORMAL)} function ub(a,b){var c=Date.now();return function(...d){0>c+b-Date.now()&&(a(...d),c=Date.now())}}function vb(a){var b=[".adsbygoogle",'[id^="google_ads"]'];for(let c of b)if(b=a.matches&&a.matches(c)?a:a.querySelector(c))return b}function wb(a,b,c){let d=xb(b,c);b=document.createElement("a");b.className=`demand-supply__sm-brand-button demand-supply__sm-brand-button--${a}`;b.onclick=()=>{let e=document.createElement("div");e.className="demand-supply__sm-brand-modal-overlay";e.innerHTML=``;let f=document.createElement("div");f.className="demand-supply__sm-brand-modal-content";let g=document.createElement("div");g.className="demand-supply__sm-brand-modal-content-logo";let k=document.createElement("div");k.className="demand-supply__sm-brand-modal-content-close";k.onclick=()=>document.body.removeChild(e);f.appendChild(k);f.appendChild(g);f.appendChild(yb(d));f.appendChild(zb(d,e));e.appendChild(f);document.body.appendChild(e)};return b}function xb(a,b){let c=`https://sulvo.com?utm_source=${document.location.href}&utm_adtype=sticky_mobile&utm_medium=sulvo`;a&&b&&(c+=`&utm_content=${a}`);return c}function yb(a){let b=document.createElement("p");b.className="demand-supply__sm-brand-modal-content-text";b.innerHTML=` Sulvo is the only no media-fee, patented, enterprise-grade Demand Intelligence Platform. Sulvo creates new value for large media sites across the world including leading publishers from Europe, the Americas and Asia with advanced insights for revenue growth. It also protects site income from devaluation by utilizing advanced signals such as bot-scoring, view-ability, and likelihood of user interactions with an ad, among others.

Once live, Sulvo easily adds industry-leading demand intelligence to large media organizations with no code change required.

Who would have thought that managing ads can be this rewarding? `;return b}function zb(a,b){let c=document.createElement("div");c.className="demand-supply__sm-brand-modal-content-sulvo-redirect";c.onclick=()=>{window.open(a,"_blank");document.body.removeChild(b)};return c}function Ab(a){a=void 0===a?{}:a;if(!1===a.ob||a.ob)return a.ob;if(!document.elementsFromPoint)return!1;var b=window.innerWidth;b=[...document.elementsFromPoint(0,0),...document.elementsFromPoint(b-1,0),...document.elementsFromPoint(0,100),...document.elementsFromPoint(b-1,100),...document.elementsFromPoint(b/2,0),...document.elementsFromPoint(b/2,100),...document.elementsFromPoint(b/2,50)];a.ob=b.reduce((c,d)=>c.concat(d),[]).filter(function(c){({tagName:c}=c);return"HTML"!==c&&"BODY"!==c}).some(function(c){let d=window.getComputedStyle(c),e=d.getPropertyValue("z-index"),f=d.getPropertyValue("visibility");return"fixed"===d.getPropertyValue("position")&&c.offsetWidth>.5*document.body.offsetWidth&&(!e||0<=e)&&"hidden"!==f});return a.ob}function ya(a){var b={};b.display=O;b.amp_display=P;b.amp_sticky=Bb;window.process&&window.process.xe&&window.process.xe.zh?(b.sticky_display=Z,b.sticky_mobile=aa):(b.sticky_display=za,b.sticky_mobile=za);b.sticky_video=Cb;b=b[a];if(!b)throw Error(`Unknown data type "${a}"`);return b}function Db(){return U(function*(){let a,b=demandSupply.pfAds?Promise.resolve(demandSupply.pfAds):new Promise(c=>a=c);delete demandSupply.pfAds;demandSupply.setPfAds=c=>a(c);return b})}function Eb(a,b){try{return b.C.Ma().length||!a.length?[]:a.filter(c=>Object.getOwnPropertyNames(c.adData).length).map(c=>{const d=W(c.adData);if(d.J)return null;c=new(ya(d.type))(b,c.id,d);c.Ia.uc();return c}).filter(Boolean)}catch(c){return console.error("err",c),[]}}function Fb(a){return U(function*(){if(!a)return Promise.resolve();a.gdprApplies&&300===a.cmpId&&"loaded"===a.cmpStatus&&null===a.eventStatus&&window.googlefc.callbackQueue.push(()=>window.googlefc.showRevocationMessage());return Promise.resolve()})}function Gb(){return U(function*(){return window.__tcfapi?Promise.race([new Promise((a,b)=>{window.__tcfapi("getTCData",2,(c,d)=>{d||b(Error("getTCData failed"));a(c)})}),new Promise(a=>setTimeout(()=>a(void 0),500))]):Promise.resolve(void 0)})}function Aa(){return U(function*(){window.__tcfapi("ping",2,a=>{a&&r.Ng(a)});return Fb(yield Gb())})}function Hb(a){return a.kb.then(b=>Eb(b,a))}function Ib(a){try{let b=a.dataset.ad.split("_").slice(1,3).join("_"),c=parseInt(a.style["min-height"].replace("px")),d=Ba(b)+16;c>d&&(a.style["min-height"]=d+"px")}catch(b){console.error(b)}}function Jb(){function a(){let b={name:"id5Id",params:{}};b.params.partner=1113;b.storage={};b.storage.type="html5";b.storage.name="id5id";b.storage.expires=90;b.storage.refreshInSeconds=28800;let c={};c.userIds=[b];c.auctionDelay=50;return c}try{window.dspbjs=window.dspbjs||{};window.dspbjs.que=window.dspbjs.que||[];let b={};b.userSync=a();window.dspbjs.que.push(()=>{window.dspbjs.setConfig(b)})}catch(b){console.error(b)}}class Ca{constructor(){this.ra={};this.dc={};this.Dd={}}xa(a){return this.ra[a]}Ae(a){return this.dc[a]}Ma(){return Object.keys(this.ra).map(a=>this.ra[a])}Eg(a){a.dataset.dsStatus="done"}gf(a){return"done"===a.dataset.dsStatus}Wb(a){let b=Object.keys(this.ra).find(c=>c.includes(a));return b?this.xa(b):null}Oe(){return this.Wb("sticky_mobile_top")}Ne(){return this.Wb("sticky_display_bottom")}cc(a){this.ra[a.Ka]=a}Ud(a,b){this.dc[a]=b}Wf(a){delete this.ra[a.Ka]}mg(){this.uh=!0}$f(a){let b=this.Dd[a.id]||{id:a.id,Tf:0,Xa:0};b.Tf++;b.Xa=!a.pb||a.Za?b.Xa+1:0;b.$b=a.f.Bg||1;b.lc=window.demandSupplyCRR||0===window.demandSupplyCRR?window.demandSupplyCRR:1;b.Za=a.Za||0;b.pb=a.pb||0;b.Ra=a.Ra||0;return this.Dd[a.id]=b}}let E={},ba={bfu:"https://live.demand.supply",bbu:"https://api.demand.supply/v17-24-0",bundleVersion:"17.24.0"},Kb=ba.bbu,Lb=ba.bv;E.N=ba.bfu;E.fe=Kb;E.je=Lb;var Q={ab(){return[E.N,E.N.replace("https:","")].map(a=>document.querySelector(`[src="${a}/up.js"]`)||document.querySelector(`[src="${a}/up.e.js"]`)).find(Boolean)},Fe(){let a=this.ab();return`${a.parentElement.tagName}:${Array.from(a.parentElement.childNodes).indexOf(a)}`}},R=(a,b)=>{b=void 0===b?{}:b;var c=v(a.data,a);c=a.url+(c?`?${c}`:"");let d=new window.XMLHttpRequest;d.open(a.method||"GET",c,!0);a=new Promise((e,f)=>{d.onreadystatechange=function(){if(4===d.readyState)return 300>d.status?e(this.responseText):b.pd?e():f(Error(this.responseText))}});d.send();return a},G={T(a){return R({url:`${E.N}/x/e.js`,method:"HEAD",data:a},{pd:!0})}},D={yd:function(a,b,c){let d={ce:"te"};d.r=a;d.sn=b;d.m=c;return G.T(d)},ig:function(){let a={ce:"od"};a.pp=l();return G.T(a)},bg:function(a){let b={ce:"da"};b.r=a;return G.T(b)},lg:function(a,b){let c={ce:"tp"};c.r=a;c.an=b;return G.T(c)},ag:function(a){let b={ce:"ap"};b.r=a;return G.T(b)},hg:function(){return G.T({ce:"um"})},fg:function(){return G.T({ce:"fs"})},dg:function(a){let b={ce:"sd"};b.r=a;return G.T(b)},cg:function(a){let b={ce:"fn"};b.r=a;return G.T(b)},kg:function(a){let b={ce:"bb"};b.r=a;return G.T(b)},jg:function(a){let b={ce:"no"};b.r=a;return G.T(b)},eg:function(a){let b={ce:"it"};b.r=a;return G.T(b)}},Mb={pe:function(){try{this.Af(),this.Bf(),this.Zc(),this.zf()}catch(a){throw a;}},jf:function(){return"HEAD"===l()},zf:function(){this.jf()||(D.ig(),console.warn("Please consider placing the demand.supply script inside the tag of your site. Currently, that script seems to be placed outside .","warning"))},Af:function(){if(!Q.ab())throw Error("The demand.supply script was not setup as expected. Please do not change the source URL and follow closely the given instructions about how to setup this script.");},Bf:function(){let a=Q.ab();for(let b of Array.from(a.parentElement.childNodes))if("SCRIPT"===b.tagName){if(b===a)break;else if(!b.src||b.text)continue;D.fg();break}},Zc:function(a){a=void 0===a?1E3:a;let[b]=Q.Fe().split(":");"BODY"===b?D.hg():setTimeout(()=>this.Zc(a+=a),a)}},Nb={load(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||Object.defineProperty(Element.prototype,"closest",{writable:!1,value(a){var b=this;if(!document.documentElement.contains(b))return null;do{if(b.matches(a))return b;b=b.parentElement||b.parentNode}while(null!==b&&1===b.nodeType);return null}})}},Ob={load(){(function(a){a.forEach(function(b){b.hasOwnProperty("remove")||Object.defineProperty(b,"remove",{writable:!1,value(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})})([Element.prototype,window.CharacterData.prototype,window.DocumentType.prototype])}},Pb={load(){Nb.load();Ob.load()}};class Qb{constructor(a){this.surge=a}start(){this.Vb()}stop(){this.te=!0}Vb(){function a(){setTimeout(()=>b.Vb(),500)}let b=this;if(!b.te){if(!document.body)return a();this.surge.qc();a()}}}var Rb={Cf(){let a=document.createElement("style");a.setAttribute("type","text/css");a.appendChild(document.createTextNode('.demand-supply__sd {\n position: fixed;\n z-index: 2147483647;\n}\n.demand-supply__sd--active div[data-ad] {\n box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;\n}\n.demand-supply__sd--active .demand-supply__sd-close-button,\n.demand-supply__sd--active .demand-supply__sd-brand-button {\n display: block;\n}\n.demand-supply__sd > .demand-supply__sd-offset {\n position: relative;\n}\n.demand-supply__sd--top {\n left: 50%;\n transform: translateX(-50%);\n top: 0px;\n width: 728px;\n /* No hover effect needed when fixed to move the button down */\n}\n.demand-supply__sd--top > .demand-supply__sd-offset > div[data-ad] {\n height: 90px;\n}\n.demand-supply__sd--top .demand-supply__sd-offset:hover .demand-supply__sd-close-button--top {\n bottom: -14px;\n}\n.demand-supply__sd--top .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--top {\n bottom: -16px;\n}\n.demand-supply__sd--top .demand-supply__sd-brand-button--top.fixed-referral {\n bottom: -16px;\n}\n.demand-supply__sd--right, .demand-supply__sd--bottom, .demand-supply__sd--left, .demand-supply__sd--bottom-right, .demand-supply__sd--bottom-left {\n /* No hover effect needed when fixed-referral to move the button up */\n}\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--right,\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom,\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--left,\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-right,\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-left, .demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-close-button--right,\n.demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom,\n.demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-close-button--left,\n.demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-right,\n.demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-left, .demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--right,\n.demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom,\n.demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--left,\n.demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-right,\n.demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-left, .demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--right,\n.demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom,\n.demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--left,\n.demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-right,\n.demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-left, .demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--right,\n.demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom,\n.demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--left,\n.demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-right,\n.demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-close-button--bottom-left {\n top: -14px;\n}\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--right,\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom,\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--left,\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-right,\n.demand-supply__sd--right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-left, .demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--right,\n.demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom,\n.demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--left,\n.demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-right,\n.demand-supply__sd--bottom .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-left, .demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--right,\n.demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom,\n.demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--left,\n.demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-right,\n.demand-supply__sd--left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-left, .demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--right,\n.demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom,\n.demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--left,\n.demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-right,\n.demand-supply__sd--bottom-right .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-left, .demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--right,\n.demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom,\n.demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--left,\n.demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-right,\n.demand-supply__sd--bottom-left .demand-supply__sd-offset:hover .demand-supply__sd-brand-button--bottom-left {\n top: -15px;\n}\n.demand-supply__sd--right .demand-supply__sd-brand-button--right.fixed-referral,\n.demand-supply__sd--right .demand-supply__sd-brand-button--bottom.fixed-referral,\n.demand-supply__sd--right .demand-supply__sd-brand-button--left.fixed-referral,\n.demand-supply__sd--right .demand-supply__sd-brand-button--bottom-right.fixed-referral,\n.demand-supply__sd--right .demand-supply__sd-brand-button--bottom-left.fixed-referral, .demand-supply__sd--bottom .demand-supply__sd-brand-button--right.fixed-referral,\n.demand-supply__sd--bottom .demand-supply__sd-brand-button--bottom.fixed-referral,\n.demand-supply__sd--bottom .demand-supply__sd-brand-button--left.fixed-referral,\n.demand-supply__sd--bottom .demand-supply__sd-brand-button--bottom-right.fixed-referral,\n.demand-supply__sd--bottom .demand-supply__sd-brand-button--bottom-left.fixed-referral, .demand-supply__sd--left .demand-supply__sd-brand-button--right.fixed-referral,\n.demand-supply__sd--left .demand-supply__sd-brand-button--bottom.fixed-referral,\n.demand-supply__sd--left .demand-supply__sd-brand-button--left.fixed-referral,\n.demand-supply__sd--left .demand-supply__sd-brand-button--bottom-right.fixed-referral,\n.demand-supply__sd--left .demand-supply__sd-brand-button--bottom-left.fixed-referral, .demand-supply__sd--bottom-right .demand-supply__sd-brand-button--right.fixed-referral,\n.demand-supply__sd--bottom-right .demand-supply__sd-brand-button--bottom.fixed-referral,\n.demand-supply__sd--bottom-right .demand-supply__sd-brand-button--left.fixed-referral,\n.demand-supply__sd--bottom-right .demand-supply__sd-brand-button--bottom-right.fixed-referral,\n.demand-supply__sd--bottom-right .demand-supply__sd-brand-button--bottom-left.fixed-referral, .demand-supply__sd--bottom-left .demand-supply__sd-brand-button--right.fixed-referral,\n.demand-supply__sd--bottom-left .demand-supply__sd-brand-button--bottom.fixed-referral,\n.demand-supply__sd--bottom-left .demand-supply__sd-brand-button--left.fixed-referral,\n.demand-supply__sd--bottom-left .demand-supply__sd-brand-button--bottom-right.fixed-referral,\n.demand-supply__sd--bottom-left .demand-supply__sd-brand-button--bottom-left.fixed-referral {\n top: -15px;\n}\n.demand-supply__sd--right {\n bottom: 0px;\n height: 600px;\n margin: auto;\n right: 0px;\n top: 0px;\n width: 160px;\n}\n.demand-supply__sd--right > .demand-supply__sd-offset > div[data-ad] {\n height: 600px;\n}\n.demand-supply__sd--bottom {\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n width: 728px;\n}\n.demand-supply__sd--bottom > .demand-supply__sd-offset > div[data-ad] {\n height: 90px;\n margin: 0px auto;\n}\n.demand-supply__sd--left {\n bottom: 0px;\n height: 600px;\n left: 0px;\n margin: auto;\n top: 0px;\n width: 160px;\n}\n.demand-supply__sd--left > .demand-supply__sd-offset > div[data-ad] {\n height: 600px;\n}\n.demand-supply__sd--bottom-right, .demand-supply__sd--bottom-left {\n bottom: 0px;\n width: 300px;\n}\n.demand-supply__sd--bottom-right > .demand-supply__sd-offset > div[data-ad], .demand-supply__sd--bottom-left > .demand-supply__sd-offset > div[data-ad] {\n height: 250px;\n}\n.demand-supply__sd--bottom-right {\n right: 0px;\n}\n.demand-supply__sd--bottom-left {\n left: 0px;\n}\n.demand-supply__sd-close-button, .demand-supply__sd-brand-button {\n display: none;\n}\n.demand-supply__sd-override-button {\n height: 16px;\n position: absolute;\n right: 0;\n top: 0px;\n width: 100px;\n z-index: 2147483647;\n}\n\n@keyframes sm--top--slide-up {\n from {\n top: 0px;\n }\n to {\n top: -100px;\n }\n}\n@keyframes sm--top--slide-down {\n from {\n top: -100px;\n }\n to {\n top: 0px;\n }\n}\n@keyframes sm--top--small--slide-up {\n from {\n top: 0px;\n }\n to {\n top: -50px;\n }\n}\n@keyframes sm--top--small--slide-down {\n from {\n top: -50px;\n }\n to {\n top: 0px;\n }\n}\n@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.demand-supply__sm {\n position: fixed;\n text-align: center;\n transition: all 0.5s ease-in-out 0s;\n width: 100% !important;\n z-index: 2147483647;\n}\n.demand-supply__sm iframe {\n display: inline-block !important;\n}\n.demand-supply__sm-brand-modal-overlay {\n width: 100vw;\n height: 100vh;\n position: fixed;\n z-index: 2147483647;\n background-color: #000c;\n top: 0;\n}\n.demand-supply__sm-brand-modal-content {\n width: calc(100vw - 2rem);\n height: calc(100vh - 2rem);\n background-color: white;\n position: absolute;\n bottom: 0;\n left: 1rem;\n padding: 1.8rem;\n box-sizing: border-box;\n overflow: auto;\n}\n.demand-supply__sm-brand-modal-content-text {\n font-family: "Open Sans", sans-serif;\n font-size: 13px;\n color: #6C8998;\n line-height: 1.6;\n}\n.demand-supply__sm-brand-modal-content-text a {\n color: #1682EF;\n}\n.demand-supply__sm-brand-modal-content-text span {\n white-space: nowrap;\n}\n.demand-supply__sm--active {\n background-color: rgba(255, 255, 255, 0.7);\n box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;\n}\n.demand-supply__sm--active .demand-supply__sm-close-button,\n.demand-supply__sm--active .demand-supply__sm-brand-button {\n display: block;\n}\n.demand-supply__sm--top {\n top: 0px;\n}\n.demand-supply__sm--top > .demand-supply__sm-close-button {\n background: linear-gradient(#eeeeee 0%, #cccccc 100%);\n border-radius: 4px;\n border: 1px solid gray;\n color: gray;\n cursor: pointer;\n height: 16px;\n left: 50%;\n margin-left: -23px;\n position: absolute;\n width: 46px;\n z-index: 2147483647;\n}\n.demand-supply__sm--top > .demand-supply__sm-close-button > .demand-supply__sm-inner-close-button {\n background-color: #aaa;\n border-bottom: solid 1px #888;\n border-radius: 5px;\n border-top: solid 1px #ddd;\n height: 1px;\n margin: 2px auto;\n position: relative;\n width: 80%;\n}\n.demand-supply__sm--top > .demand-supply__sm-close-button > .demand-supply__sm-inner-close-button:before {\n background-color: #aaa;\n border-bottom: solid 1px #888;\n border-radius: 5px;\n border-top: solid 1px #ddd;\n content: "";\n height: 1px;\n margin-left: -18px;\n position: absolute;\n top: 7px;\n width: 100%;\n}\n.demand-supply__sm--top > .demand-supply__sm-close-button > .demand-supply__sm-inner-close-button:after {\n background-color: #aaa;\n border-bottom: solid 1px #888;\n border-radius: 5px;\n border-top: solid 1px #ddd;\n content: "";\n height: 1px;\n margin-left: -18px;\n position: absolute;\n width: 100%;\n top: 3px;\n}\n.demand-supply__sm--bottom > .demand-supply__sm-close-button {\n opacity: 0;\n}\n.demand-supply__sm-close-button--bottom, .demand-supply__sm-brand-button--bottom {\n opacity: 0;\n}\n.demand-supply__sm-close-button, .demand-supply__sm-brand-button {\n display: none;\n}\n.demand-supply__sm-override-button {\n height: 16px;\n position: absolute;\n top: 0px;\n width: 100px;\n z-index: 9999;\n right: 0;\n}\n.demand-supply__sm--100.demand-supply__sm--top {\n height: 100px;\n}\n.demand-supply__sm--100.demand-supply__sm--top .demand-supply__sm-close-button {\n top: 91px;\n}\n.demand-supply__sm--50.demand-supply__sm--top {\n height: 50px;\n}\n.demand-supply__sm--50.demand-supply__sm--top .demand-supply__sm-close-button {\n top: 41px;\n}'.toString()));document.head.appendChild(a)}},T=()=>Sb?768>window.innerWidth?"mobile":"tablet":"desktop";let Sb=/Mobi|Android|Snapchat/i.test(window.navigator.userAgent),Tb=/Chrome|CriOS/,Ub=/Edge/,Vb=/Safari/,Wb=/Firefox/,Xb=/Trident/,Yb=/UCBrowser/,Zb=/SamsungBrowser/,$b=/OPR|Presto/,ac=/Android/,bc=/iPhone/,cc=/Windows/,dc=/Macintosh/,ec=/Linux/,fc=/CrOS/;var t={Rc:function(){return!!window.document.querySelector('[name="apple-itunes-app"]')},Cc:T,fa:()=>"mobile"===T(),qg:()=>"desktop"===T(),uf:/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.Md,Tc:/iPhone|iPod/.test(navigator.userAgent)&&!window.Md,Dc:()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement,Fc:()=>{const a=(new RegExp(/^.{0,2}/)).exec(navigator.language||navigator.nh);return"un"===a[0]?"ot":a[0]},Ee:()=>{const a=(new RegExp(/.{0,2}$/)).exec(navigator.language||navigator.nh);return"ed"===a[0]?"ot":a[0].toLowerCase()},Ge:()=>window.location.href.split("/")[2],Me:()=>document.referrer.split("/")[2],zc:()=>{const a=navigator.userAgent;return Ub.test(a)?"ed":Yb.test(a)?"ot":Zb.test(a)?"ch":$b.test(a)?"op":Tb.test(a)?"ch":Vb.test(a)?"sa":Wb.test(a)?"fi":Xb.test(a)?"ie":"ot"},Ic:()=>{const a=navigator.userAgent;return ac.test(a)?"an":bc.test(a)?"io":cc.test(a)?"wi":dc.test(a)?"ma":fc.test(a)||ec.test(a)?"li":"ot"},Ce:()=>navigator.connection&&navigator.connection.effectiveType?navigator.connection.effectiveType:"unknown",Ac:a=>Math.round((a.pud+a.pid+a.pdd+a.psd+a.ppd)/5)},gc=(a,b,c)=>{c=void 0===c?0:c;let d=setInterval(function(){let e=a();e&&(clearInterval(d),e.onload=()=>{setTimeout(function(){b()},c)})},50)},L={be:{Sd:"ca-pub-3831894559014614"},Ja:{X:"44890869"},P:{X:"19820"},Ai:{md:"66ef05f7-ad53-48f6-873a-ac7543370392"},fi:{nb:"253061934"}};class Da{constructor(){function a(b){return[{Da:"ums",Ca:"utm_source"},{Da:"umm",Ca:"utm_medium"},{Da:"umc",Ca:"utm_campaign"},{Da:"umt",Ca:"utm_term"},{Da:"umk",Ca:"utm_content"},{Da:"gci",Ca:"gclid"}].reduce((c,d)=>{var e;return(e=(e=RegExp(`[?&]${d.Ca}=([^&]*)`).exec(b))&&decodeURIComponent(e[1]))?Object.assign({},c,{[d.Da]:e}):c},{})}this.qa={};this.sb=null;try{this.qa=a(window.location.search),0ca[c]===a);return b&&parseInt(b)}};let ca={1:"google",2:"uam",3:"rubicon",4:"adform",6:"medianet",8:"rtbhouse",9:"etarget",10:"ix",11:"appnexus",12:"openx",13:"districtm",15:"conversant",16:"triplelift",17:"lockerdome",18:"gumgum",19:"teads",20:"underdogmedia",21:"33across",22:"gourmetads",23:"sovrn",24:"pubmatic",25:"reklamstore",26:"luponmedia",27:"yahoossp"},I={},Ea={bfu:"https://live.demand.supply",bbu:"https://api.demand.supply/v17-24-0",bundleVersion:"17.24.0"},hc=Ea.bv;I.N=Ea.bfu;I.je=hc;let ja=["script","link","iframe"];var da=a=>{try{let b=Object.assign({},K(),N(),Wa(a),Xa(a));Object.assign(b,Va(b));return b}catch(b){return{}}},Fa=a=>U(function*(){try{let b=yield Promise.race([a.jc||Promise.resolve({}),new Promise(c=>setTimeout(()=>c({Gg:!0}),500))]);return b?b.Ga?0{var a=navigator.connection||navigator.di||navigator.Ci;if(a)return ic.includes(a.effectiveType)};let ic=["slow-2g","2g"],Ha=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){let b=16*Math.random()|0;return("x"===a?b:b&3|8).toString(16)})}(),jc=new Da;var r={$g:function(a){return U(function*(){let b={};b.r=a.id;b.sgo=a.f.la.map(c=>c.M);return u.j("snsl2",b)})},Ug:function(a){return U(function*(){let b={};b.r=a.id;b.sn=a.Z();b.ific=!a.Ve;a.Ve=!0;return u.j("iar2",b)})},pa:function(a,b,c){let d={};d.gl=b.floor;a.Sf&&(d.rh=1);b.ka&&(d.b=b.ka);a.qe&&(d.at=1);return this.Ub(a,void 0===c?"lm":c,d)},yi:function(a,b){return this.pa(a,b,"ai")},Id:function(a,b,c,d,e){e=void 0===e?"lh":e;const f=this;return U(function*(){let g={};g.q=M.encode(b);g.c=c;d&&(g.b=d);return f.Ub(a,e,g)})},Qg:function(...a){return this.Id(...a,"dh")},ah:function(a,b){let c={};c.r=a;c.err=b;return u.j("se",c)},Nb:function(a,b,c){let d={};d.r=a;d.sc=b;d.err=c;return u.j("as",d)},bh:function(a){let b={};b.err=a;return u.j("le",b)},Zg:function(a){return u.j("bo",{r:a})},Xg:function(a,b){let c={};c.r=a;c.t=b;return u.j("wk",c)},Yg:function(a){var{id:b,pb:c,Ra:d,Za:e,$b:f,lc:g,Xa:k}=a;a={};a.r=b;a.sy=Ha;a.rasn=c;a.rasc=d;a.raha=e;a.raar=f;a.racr=g;a.racf=k;return u.j("ra",a)},Ig:function(a){return u.j("ao",{r:a})},Hd:function(a){let b={};b.r=a;return u.j("oc",b)},eh:function(a){return u.j("ubs",{r:a})},fh:function(a){return u.j("ufp",{r:a})},dh:function(a){return u.j("ubp",{r:a})},wi:function(a,b){a={};a.sd=b?1:0;return u.j("mt",a)},Pb:function(a,b){return U(function*(){let c={};c.r=a.id;c.q=M.encode(b);c.cd=yield Fa(a);return u.j("bc",c)})},Ob:function(a,b,c){let d={};d.r=a;d.q=M.encode(b);d.c=c;return u.j("bp",d)},Mg:function(a,b){let c={};c.r=a;c.q=M.encode(b);return u.j("bt",c)},Qb:function(a,b,c){let d={};d.r=a.id;d.q=M.encode(b);d.m=c;d.sn=Ga();d.cs=t.Ac(da(a));return u.j("br",d)},Kg:function(a,b){let c={};c.r=a;c.q=M.encode(b);return u.j("be",c)},xi:function(){return u.j("bs")},Jg:function(){return u.j("bf")},Og:function(a){return u.j("empdr",{r:a})},Vg:function(a,b,c){let d={};d.r=a;d.pdc=b;d.ucv=c;return u.j("tcp",d)},Wg:function(a,b,c){let d={};d.r=a;d.ucv=b;d.err=c;return u.j("tce",d)},gh:function(a,b,c){let d={};d.r=a.id;d.pn=b;d.sn=a.Z();d.pc=a.ia;d.ds=c;if(a=a.Ia.Ab())d.bv=a.F(),a.vh&&(d.bp=a.F());return u.j("wdp",d)},Pg:function(a){return u.j("nai",{r:a})},Ng:function(a){let b={};b.l=a.cmpLoaded?1:0;b.ga=a.gdprApplies?1:0;b.i=a.cmpId;b.v=a.cmpVersion;b.s=a.cmpStatus;b.p=a.tcfPolicyVersion;b.es=a.eventStatus;a.purpose&&a.purpose.consents&&(a=a.purpose.consents["1"],b.c=a?a?1:0:0);return u.j("ciu",b)},Lc:function(){if(this.ub)return this.ub;let a=window.demandSupplySr;return this.ub=!isNaN(a)&&100>a&&0this.a.ha()&&this.sh()).then(()=>this.a.Ba())}pa(){r.Id(this.a,this.$(),this.F(),this.Va)}sh(){return new Promise(a=>gc(()=>{var b=this.a.element;if(b&&(b=b.querySelector("iframe"))&&b.contentDocument)return b.contentDocument.body.querySelector(this.Ec())},a))}u(){let[a,b]=this.Ha.size;return{width:a,height:b}}F(){return this.Ha.F()}$(){return this.L}ta(){return this.constructor.ta(this.a.element)}static ta(a){if(!a)return!1;a=a.querySelector("iframe");return!a||a.id&&(a.id.includes(L.Ja.X)||a.id.includes("goog_"))?!1:1!==a.contentDocument.body.childElementCount}gd(){}}class ea extends S{constructor(a,b){super(a,b);this.L="uam"}ud(a){window.apstag.renderImp(a.contentDocument,this.Ha.cb)}Ec(){return'iframe[src*="amazon-adsystem.com"]'}}class Ia{constructor(){}Re(){return!!this.cb}xa(){return this.Yb}F(){}}class kc extends Ia{constructor(a){var{a:b,Qa:c,Pa:d}=a;super(b,c,d);this.we=c.amznbid;this.cb=c.amzniid;this.size=c.size&&c.size.split("x");this.Pa=d;this.Yb=new ea(b,this)}F(){return this.Pa[this.we]||0}}class Ja{constructor(a){this.a=a}De(){return Promise.all([this.Kc(),this.Jc()]).then(a=>{var[b,c]=a;return this.yc({a:this.a,Qa:b,Pa:c,L:this.$()})})}$a(a){a=void 0===a?"":a;if(this.a.J)return[this.a.Bb(this.a)];if(this.a.Na()){let b=[[320,100],[320,50]];return"sovrn"===a?[b[0]]:b}a=this.a.u();return[[a.width,a.height]]}Jc(){}}var lc=a=>{let b=a.find(g=>a.every(k=>g[0]>=k[0]))[0],c=a.find(g=>g[0]===b&&a.every(k=>g[1]>=k[1])),d=Ka.find(g=>g[0]<=c[0]&&(g[1]<=c[1]||!g[1]));if(!d)return[];let[e,f]=d;if(120===e&&600<=f)return[[120,240],[120,600]];if(970===e&&250<=f)return[[970,250],[970,90]];if(300===e){if("mobile"===T())return Ka.filter(g=>300===g[0]&&c[1]>=g[1]&&250>=g[1]);if(600<=f)return[[300,250],[300,600]]}return[d]};let Ka=[[970,250],[970,90],[728,90],[468,60],[400,300],[336,280],[320,100],[320,50],[300,600],[300,300],[300,250],[300,100],[300,75],[300,50],[250,250],[160,600],[120,600],[120,240]];class mc extends Ja{Kc(){let a={};a.slotID=this.a.id.replace("+","___plussign___");a.sizes=this.$a();let b={};b.slots=[a];return new Promise(c=>window.apstag.fetchBids(b,d=>c(d[0])))}$a(){return lc(super.$a())}yc(a){var{a:b,Qa:c,Pa:d}=a;return new kc({a:b,Qa:c,Pa:d})}Jc(){return ea.kh}$(){return"uam"}}class A{constructor(a,b){this.a=a;this.L=b}$(){return this.L}}class nc extends A{A(){let a={};var{h:b={}}=this.a;if(b.P)a.accountId=b.P.X,a.siteId=b.P.R,a.zoneId=b.P.xh;else{a.accountId=L.P.X;a.siteId=this.a.P.R;{b=this.a;let c=t.Cc(),d=b.P.Kd.other;b=b.P.Kd[c]||d}a.zoneId=b}a.keywords=[`code-${this.a.id}`];a.floor=Math.round(this.a.Ie()/.8*100)/100;return a}}class oc extends A{A(){let a={};a.mid=this.a.h.Zd.mid;return a}}class pc extends A{A(){let a={};a.cid=this.a.h.bd.le;a.crid=this.a.h.bd.ne;return a}}class qc extends A{A(){let a={};a.publisherId=this.a.h.vd.nb;a.region=this.a.h.vd.region;return a}}class rc extends A{A(){let a={};a.refid=this.a.h.tc.Rf;a.country=this.a.h.tc.country;return a}}class sc extends A{A(){let{width:a,height:b}=this.a.u(),c={};c.siteId=this.a.h.vf.R;c.size=[a,b];return c}}class tc extends A{A(){let a={};a.placementId=this.a.h.ee.ca;return a}}class uc extends A{A(){let a={};a.platform=this.a.h.jd.platform;a.unit=this.a.h.jd.mh;return a}}class vc extends A{A(){let a={};a.placementId=this.a.h.re.ca;return a}}class wc extends A{A(){let a={};a.pubId=this.a.h.Tb.md;a.siteId=this.a.h.Tb.R;a.placementId=this.a.h.Tb.ca;return a}}class xc extends A{A(){let a={};a.site_id=this.a.h.kc.vg;a.secure=1;a.tag_id=this.a.h.kc.Cg;return a}}class yc extends A{A(){let a={};a.inventoryCode=this.a.h.jh.df;return a}}class zc extends A{A(){let a={};a.adUnitId=this.a.h.Ef.Td;return a}}class Ac extends A{A(){let a={};a.inSlot=this.a.h.Te.cf;return a}}class Bc extends A{A(){let a={};a.pageId=this.a.h.Fd.Lf;a.placementId=this.a.h.Fd.ca;return a}}class Cc extends A{A(){let a={};a.siteId=this.a.h.lh.R;return a}}class Dc extends A{A(){let a={};a.siteId=this.a.h["33across"].R;a.productId=this.a.h["33across"].Pf;return a}} class Ec extends A{A(){let a={};a.placementId=this.a.h.Se.ca;return a}}class Fc extends A{A(){let a={};a.tagid=this.a.h.Cd.Dg;let b=this.a.h.Cd.ge;b&&(a.bidfloor=b);return a}}class Gc extends A{A(){let a=this.a.h.Qf,b={};b.publisherId=a.nb;b=F("adSlot",a,b);b=F("pmzoneid",a,b);b=F("lat",a,b);b=F("lon",a,b);b=F("yob",a,b);b=F("gender",a,b);b=F("kadpageurl",a,b);b=F("kadfloor",a,b);b=F("currency",a,b);b=F("dctr",a,b);b=F("bcat",a,b);return b=F("deals",a,b)}}class Hc extends A{A(){let a={};a.regionId=this.a.h.Vf.Uf;return a}}class Ic extends A{A(){let a={};a.siteId=this.a.h.$c.R;a.keyId=this.a.h.$c.wf;return a}}class fa{static Be(a,b){return new z[b](a,b)}static Wc(a){return!!z[a]}}let z={};z.rubicon=nc;z.adform=oc;z.medianet=pc;z.rtbhouse=qc;z.etarget=rc;z.ix=sc;z.appnexus=tc;z.openx=uc;z.districtm=vc;z.conversant=xc;z.triplelift=yc;z.lockerdome=zc;z.gumgum=Ac;z.teads=Bc;z.underdogmedia=Cc;z["33across"]=Dc;z.gourmetads=Ec;z.sovrn=Fc;z.pubmatic=Gc;z.reklamstore=Hc;z.luponmedia=Ic;z.yahoossp=wc;class ha{constructor(a,b,c){this.L=b;this.a=a;this.value=void 0===c?null:c}fb(){return this.a.h&&fa.Wc(this.L)}Pb(){r.Pb(this.a,this.L)}pa(a){r.Qg(this.a,this.L,this.value,a)}Rg(a){a&&Object.keys(a).length||(a=dspbjs.getNoBids()[this.a.id])&&a.fc&&a.fc[0]&&!a.fc[0].ui&&r.Kg(this.a.id,this.L)}Lg(){r.Mg(this.a.id,this.L)}Qb(a){r.Qb(this.a,this.L,a)}Ob(a){r.Ob(this.a.id,this.L,a)}}class Jc extends S{constructor(a,b,c){super(a,b);this.L=c;this.S=new ha(a,c,this.F())}ud(a,b){dspbjs.renderAd(a.contentDocument,b)}pa(a){let b=S.prototype.pa.bind(this);this.S.fb()?this.S.pa(a):b(a)}Ec(){return"iframe"}}class Kc extends Ia{constructor(a){var{a:b,L:c,mb:d}=a;super(b);if(a=dspbjs.getBidResponsesForAdUnitCode(b.id).bids.find(e=>e.bidder===c))this.Of=a.cpm,this.cb=a.adId,this.size=a.size&&a.size.split("x"),this.hf=!a.gi;this.mb=d||this.hf?.2:0;this.Yb=new Jc(b,this,c);this.S=new ha(b,c);this.S.Rg(a);this.S.fb()&&this.F()&&this.S.Ob(this.F())}F(){return Math.round((this.Of||0)*(1-this.mb)*100)/100}}let ka={1:{version:1,wa:[{name:"version",type:"int",D:6},{name:"created",type:"date",D:36},{name:"lastUpdated",type:"date",D:36},{name:"cmpId",type:"int",D:12},{name:"cmpVersion",type:"int",D:12},{name:"consentScreen",type:"int",D:6},{name:"consentLanguage",type:"language",D:12},{name:"vendorListVersion",type:"int",D:12},{name:"purposeIdBitString",type:"bits",D:24},{name:"maxVendorId",type:"int",D:16},{name:"isRange",type:"bool",D:1},{name:"vendorIdBitString",type:"bits",D:a=>a.maxVendorId,Sa:a=>!a.isRange},{name:"defaultConsent",type:"bool",D:1,Sa:a=>a.isRange},{name:"numEntries",D:12,type:"int",Sa:a=>a.isRange},{name:"vendorRangeList",type:"list",yf:a=>a.numEntries,Sa:a=>a.isRange,wa:[{name:"isRange",type:"bool",D:1},{name:"startVendorId",type:"int",D:16},{name:"endVendorId",type:"int",D:16,Sa:a=>a.isRange}]}]}};class Lc extends Ja{constructor(a,b){super(a,b);this.a=a;this.bc=fa.Be(a,b);this.S=new ha(a,b)}Kc(){const a=this;return U(function*(){let b=a.$(),c={};c.code=a.a.id;c.mediaTypes={};c.mediaTypes.banner={};c.mediaTypes.banner.sizes=a.$a(b);let d={};d.bidder=b;d.params=a.bc.A();c.bids=[d];window.dspbjs=window.dspbjs||{};dspbjs.que=dspbjs.que||[];let e=new Date;return new Promise(f=>{dspbjs.que.push(()=>{dspbjs.addAdUnits([c]);db(a.a);dspbjs.requestBids({timeout:8E3,bidsBackHandler:(g,k)=>{if(a.S.fb()){let n=new Date-e;k?a.S.Lg():a.S.Qb(n)}return f(g,k)}});a.S.fb()&&a.S.Pb();dspbjs.removeAdUnit(a.a.id)})})})}yc(a){var{a:b,Qa:c,L:d}=a;return new Kc({a:b,Qa:c,L:d,mb:this.mb})}$(){return this.bc.$()}}var Mc=(a,b)=>new Promise((c,d)=>{Promise.all(a).then(c).catch(d).finally(()=>clearTimeout(e));let e=setTimeout(()=>{c()},b)});class Nc{constructor(a){this.a=a;this.Wa=[];this.ec=[]}Gc(a){const b=this;return U(function*(){try{return b.uc(),yield Mc(b.Wa,a),b.Ab()}catch(c){console.error(c)}})}uc(){this.Wa.length||this.a.G||(this.Wa=this.Nd(),this.Wa.forEach(a=>a.then(b=>b&&this.ec.push(b))))}Ab(){return this.ec.reduce(function(a,b){return a?b.F()>a.F()?b:a:b},null)}Nd(){let a=this.a;return a.Jb.filter(b=>fa.Wc(b)||"uam"===b).map(b=>U(function*(){try{return(yield(new("uam"===b?mc:Lc)(a,b)).De()).xa()}catch(c){console.error(c)}})).filter(Boolean)}}class Oc{constructor(a,b){this.a=a;b&&(this.floor=b.Ya)}u(){return this.a.u()}F(){return this.floor}hd(){this.a.Qh||r.pa(this.a,this);this.a.Ba()}Je(){let a=this.a.Hc();return a&&new this.constructor(this.a,a,this.options)}}var oa=(a,b)=>b.G||b.za()?na(a):b.U()?.01>=a?.01:10>a?Number((.1*Math.floor(a/.1)).toFixed(2)):na(a):5>=a?a:99.99<=a?99.99:10{if(a.U()||a.G||-1===a.Z()&&a.hb)return!1;let b=a.Na()||a.ha()&&a.H&&a.H();return!(-1!==a.Z()||!(b&&window.demandSupplySHOF||"of"===window.demandSupplyFS[a.id]&&!a.chrand||"of"===window.demandSupplyFS[a.id]&&a.Vh()))},Pc=(a,b,c)=>{var d=a.a;c&&c.length&&a.slot.setTargeting("bt",c.map(f=>f.vi).join(","));window.demandSupplyFS=window.demandSupplyFS||{};if(pa(d))return a.slot.setTargeting("chrand","n"),a.slot.setTargeting("pof","1");"pd"===window.demandSupplyFS[d.id]&&(a.slot.setTargeting("chrand","y"),a.slot.setTargeting("pof","0"));"of"===window.demandSupplyFS[d.id]&&d.chrand&&"nbs"===d.chrand&&(a.slot.setTargeting("chrand","nbs"),a.slot.setTargeting("pof","0"));c=b?parseFloat((b.F()-.02).toFixed(2)):0;b=a.floor>c||.05>c?"google":b.$();let e="google"===b?a.floor:c;100{let c=a.slot.getOutOfPage()?b.Ae(a.slot.getAdUnitPath()):b.xa(a.slot.getSlotElementId());if(!((c||{}).w||{}).resolve)return null;a.size&&970===a.size[0]&&c.nf()&&(c.g.style.width="970px");a.size&&(c.oa=a.size);var d=a.advertiserId,e=[33296429,0,5028044131,29905229];e=d&&!e.includes(d);let{w:f,G:g}=c;if(null===d&&!c.U())return r.Pg(c.id),f.resolve(!a.isEmpty);29905229===d&&(c.Za=1);if(e)return g?f.resolve(!1):null;if(d=c.U()&&a.isEmpty)if((d=c.Ia.Ab())&&d.F()){e=c.w.F();var k=c.Hc();d.F()>=e||!k?(e=c.ih(),b.cc(e),c.w.a=e,d.a=e,d.a.w=d,d.W({Va:c.w.ka}),e.O(),d=!0):d=void 0}else d=null;if(d)return null;c.G||c.U()||!a.isEmpty||r.Og(c.id);return f.resolve(!a.isEmpty)};let Rc=Object.freeze("responsive_all fluid_all responsive_vr fluid_sky+sq responsive_v fluid_sky".split(" "));var Sc=(a,b)=>{b=void 0===b?"":b;let{width:c,height:d}=a;a=[[c,d]];["_r","_hr","_all"].some(e=>b.endsWith(e))&&(300<=c&&336>c&&a.push([300,250]),336<=c&&500>c&&a.push([336,280]),480<=c&&750>c&&a.push([480,320]),750<=c&&a.push([750,300],[750,200]),930<=c&&a.push([930,180]),970<=c&&a.push([970,250]));["_h","_all"].some(e=>b.endsWith(e))&&(600<=c&&a.push([600,100]),728<=c&&a.push([728,90]),970<=c&&a.push([970,90]));["_v","_vr","_all"].some(e=>b.endsWith(e))&&(160<=c&&a.push([160,600]),300<=c&&a.push([300,250],[300,600]),320<=c&&a.push([320,480]));971<=window.screen.width&&728===c&&90===d&&a.push([970,90]);return Array.from(new Set(a.map(e=>JSON.stringify(e))),JSON.parse)};class Y extends Oc{constructor(a,b){super(a,b);this.id=b.id;this.ka=b.M;this.constructor.Qc(a.surge.C)}W(a){a=void 0===a?null:a;const b=this;return U(function*(){try{let c=new Promise(h=>b.resolve=h);b.a.w=b;b.a.Aa();let d=b.a,e=b.a.u();d.element&&(d.element.style.display="block");let f=b.a.J&&3===b.a.Z()&&Rc.includes(b.a.J);E.mf&&![[300,250],[728,90],[300,50],[640,480]].some(h=>{var[m,x]=h;return m===e.width&&x===e.height})&&(e.width=300,e.height=250);let g=Sc(e,b.a.J),k=b.a.Cb?"fluid":f?[...g,"fluid"]:g,n=[];try{"browsingTopics"in document&&document.featurePolicy.allowsFeature("browsing-topics")&&(n=yield document.browsingTopics())}catch(h){console.error(h)}window.googletag.cmd.push(()=>{var h=`/${L.Ja.X+(d.ua?`,${d.ua}`:"")}/${L.be.Sd+"-tag"}/${b.id}`;E.mf&&(h="/6355419/Travel/Europe/France/Paris");b.xg=h;d.surge.C.Ud(h,d);h=d.G?window.googletag.defineOutOfPageSlot(h,window.googletag.enums.OutOfPageFormat.INTERSTITIAL):d.U()?window.googletag.defineOutOfPageSlot(h,window.googletag.enums.OutOfPageFormat[d.Ke()]):window.googletag.defineSlot(h,k,b.a.Ka);if(!h&&d.U()&&!d.H())return r.Hd(d.id),null;b.slot=h.addService(window.googletag.pubads());(h=window.demandSupplyTi)&&b.slot.setTargeting("ti",h);try{Pc(b,a,n)}catch(m){console.error(m),b.slot.setTargeting("bid",b.floor),b.slot.setTargeting("bid-p","google")}try{({a:h}=b),h.f.da&&b.slot.setTargeting("rfi",h.f.da),h.ha()&&(h.aa()?b.slot.setTargeting("stt","bhs"):h.I()?b.slot.setTargeting("stt","ths"):h.V&&h.ya&&(h.V()||h.ya())&&b.slot.setTargeting("stt","vs"))}catch(m){console.error(m)}b.pg();h=r.Lc();b.slot.setTargeting("bsc","n"===h?0:h);window.googletag.pubads().refresh([b.slot]);b.a.ib(b);d.G&&r.Ug(b.a)});return c}catch(c){D.yd(b.a.id,b.ka,c.message)}})}$(){return"dfp"}gd(){this.a.Ra=this.a.Ra?this.a.Ra+1:1;this.a.za()||window.googletag.destroySlots([this.slot])}ta(){return this.a.G?!0:this.constructor.ta(this.a.element)}pg(){var a=void 0===a?new Da:a;if(this.a.rb){a=0b.id&&b.id.includes(L.Ja.X))}static Qc(a){a.uh||(a.mg(),window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{window.googletag.pubads().addEventListener("slotRenderEnded",b=>Qc(b,a));window.googletag.enableServices()}))}}class Tc extends Y{W(){const a=this;return U(function*(){let b,c,d=new Promise((e,f)=>{b=e;c=f});try{yield fb("//imasdk.googleapis.com/js/sdkloader/ima3.js");let e=a.a;a.a.w=a;let f=e.K,g=window.google.ima,k=new g.AdDisplayContainer(t.Tc?f:e.Fa,f),n=new g.AdsLoader(k),h=B=>{B=B.getError();c(B)},m=g.AdErrorEvent.Type.AD_ERROR;n.addEventListener(m,h);let x=new g.AdsRequest;x.adTagUrl=eb(a,e);x.linearAdSlotWidth=f.clientWidth;x.linearAdSlotHeight=f.clientHeight;x.nonLinearAdSlotWidth=f.clientWidth;x.nonLinearAdSlotHeight=f.clientHeight/3;f.muted=!0;x.setAdWillAutoPlay(!0);x.setAdWillPlayMuted(!0);n.requestAds(x);(new Promise(B=>n.addEventListener(g.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,y=>B(y.getAdsManager(f))))).then(B=>{a.a.bb=B;let y=!1,ia=!1;f.addEventListener("ended",()=>{ia&&(n.contentComplete(),e.oh())});B.addEventListener(m,h);B.addEventListener(g.AdEvent.Type.LOADED,Uc=>{Uc.getAd().isLinear()||(y||(e.Yc(),y=!0),e.kd());b(!0)});B.addEventListener(g.AdEvent.Type.CONTENT_PAUSE_REQUESTED,()=>{ia=!1;e.Mf();t.Tc||e.Xe();e.ug()});B.addEventListener(g.AdEvent.Type.CONTENT_RESUME_REQUESTED,()=>{y||(e.Yc(),y=!0);ia=!0;e.kd();e.Pc()});f.load();k.initialize();B.init(f.clientWidth,f.clientHeight,g.ViewMode.NORMAL);B.start()}).catch(B=>c(B));return yield d}catch(e){console.log("Error selling video ad",e),D.yd(a.a.id,a.ka,JSON.stringify(e)),b(!1)}})}static Qc(){}}var Vc=a=>{if(!a.U()&&!a.G&&a.f.nc&&window.demandSupplyFS&&"of"===window.demandSupplyFS[a.id])return a.f.nc;var b=a.f.la;b.every((d,e,f)=>!f[e+1]||d.M!d.Ya||d.Ya<=a.ia);b=b.slice(-1)[0];return c||b},Wc=a=>U(function*(){window.msAdsQueue.push(()=>{let b={};b.adUnitId=a.Oa;b.elementId=a.Ka;window.pubCenterSdk.render(b)});return!1}),Xc=a=>U(function*(){if(window.demandSupplyCRR&&.02>=window.demandSupplyCRR)return!1;let b=Vc(a);var c=new(a.za()?Tc:Y)(a,b);let d=Ga()?0:400;c=yield qa(c,d);!c&&window.demandSupplyMSSI&&a.Oa&&(c=yield Wc(a));a.ia&&a.Z()!==b.M&&r.gh(a,b.M,c);return c}),jb=(a,b)=>{if(b=b.db){var c={};b.ru&&(c.P={X:b.ru.ai,R:b.ru.si,xh:b.ru.zi});b.af&&(c.Zd={mid:b.af.id});b.et&&(c.tc={Rf:b.et.id,country:b.et.ct});b.rh&&(c.vd={nb:b.rh.id,ni:b.rh.rg});b.mn&&(c.bd={le:b.mn.id,ne:b.mn.ci});b.ie&&(c.vf={R:b.ie.si});b.ae&&(c.ee={ca:b.ae.pi});b.ox&&(c.jd={platform:b.ox.pf,mh:b.ox.un});b.dm&&(c.re={ca:b.dm.pi});b.ys&&(c.Tb={md:b.ys.pi,R:b.ys.si,ca:b.ys.pl});b.cs&&(c.kc={vg:b.cs.si,Cg:b.cs.ti});b.tl&&(c.jh={df:b.tl.ic});b.ld&&(c.Ef={Td:b.ld.ai});b.gg&&(c.Te={cf:b.gg.is});b.ts&&(c.Fd={Lf:b.ts.id,ca:b.ts.pi});b.um&&(c.lh={R:b.um.si});b.ac&&(c["33across"]={R:b.ac.si,Pf:b.ac.pi});b.ga&&(c.Se={ca:b.ga.pi});b.sv&&(c.Cd={Dg:b.sv.ti,ge:b.sv.bf});b.pm&&(c.Qf={nb:b.pm.pi,Ah:b.pm.as,ii:b.pm.zi,Yh:b.pm.lt,$h:b.pm.ln,Di:b.pm.yob,Kh:b.pm.gg,Xh:b.pm.kp,Wh:b.pm.kf,currency:b.pm.cur,Dh:b.pm.dctr,Ch:b.pm.bcat,Eh:b.pm.ds});b.rs&&(c.Vf={Uf:b.rs.ri});b.lm&&(c.$c={R:b.lm.si,wf:b.lm.ki});a.h=c}};let nb=E.fe,{zc:La,Fc:Yc,Ic:Ma}=t;var Na=a=>U(function*(){let b=window.demandSupplyTc?window.demandSupplyTc:null,c=window.demandSupplyTcI?window.demandSupplyTcI:null;window.demandSupplyFS=window.demandSupplyFS||{};let d=a.includes("interstitial");var e=a.includes("728x90_sticky_display")||a.includes("sticky_mobile");let f=a.includes("amp_sticky")||a.includes("amp_display"),g=a.includes("sticky_display")||a.includes("sticky_mobile");if(d&&window.demandSupplyPDI||g&&window.demandSupplyPDSA||e&&window.demandSupplyPDSH)return null;if(a.includes("sticky_video")||f)return window.demandSupplyFS[a]="of",null;if(window.demandSupplyUFSS){if(!window.demandSupplyTc)return window.demandSupplyFS[a]="of",null;window.demandSupplyFS[a]="pd"}e={};e.mlcu=d?c||b:b;try{e.mlos=Ma();e.mlbr=La();e.mlla=Yc();if(window.demandSupplyDFSS){var k=La(),n=Ma();if(("sa"===k||"fi"===k||"io"===n)&&!g)return window.demandSupplyFS[a]="of",null;window.demandSupplyFS[a]="pd"}let h=yield R({url:`${E.N}/cp${d?"i":""}/${a}`,data:e}),m=JSON.parse(h);if(0===m.pdc&&1===m.pv)return window.demandSupplyFS[a]="of",null;r.Vg(a,m.pdc,e.mlcu);return m.pdc}catch(h){r.Wg(a,e.mlcu,h.message)}});class C{constructor(a,b,c,d){d=void 0===d?null:d;this.surge=a;this.id=b;this.f=c;this.Ka=`${this.id}-${demandSupply.Ld++}`;this.ja=c.ja;this.Sc=c.Sc;this.G=c.G;this.Cb=c.Cb;this.Jb=c.Jb;this.vc=c.vc;this.rb=c.rb;this.Jd=c.Jd;this.ua=c.ua;this.lb=c.lb;this.Y=c.Y;this.na=c.na;c.P&&(this.P=c.P);c.h&&(this.h=c.h);c.Oa&&(this.Oa=c.Oa);c.hb&&(this.hb=c.hb);this.Hb=[];this.Ib=[];this.ia=c.ia;c.J&&(this.J=c.J);d&&this.zd(d);this.Qe="dfp";this.Ia=new Nc(this);this.me=Date.now()}static from(a,b){const c=this;return U(function*(){let d=window.sulvoAmpAdData?window.sulvoAmpAdData.ad:a.getAttribute("data-ad");var e=yield mb(d,b);e=W(JSON.parse(e));return new(c.Pe(e.type))(b,d,e,a)})}static isVisible(a){let b=Zc[t.Cc()];return-1!==ob(a).indexOf(b)}}let Zc={desktop:"d",tablet:"t",mobile:"m"};Object.assign(C.prototype,{sg(){return this.Pd()||this.Qd()},zg(){let a=this.ja;if(!a||!a.La)return!1;let b=this.Ta()||{};b.its||(b.its=[]);let c=Date.now();(function(){let d=c-a.La.jb;b.its=b.its.filter(e=>e>=d)})();b.its.push(c);localStorage.setItem(this.tb(),JSON.stringify(b))},Ag(){var a=this.ja;if(!a||!a.Mb)return!1;a=this.Ta()||{};a.sct=Date.now();localStorage.setItem(this.tb(),JSON.stringify(a))},Pd(){let a=this.ja;if(!a)return!1;let b=this.Ta();if(!b)return!1;if(a.La&&b.its){let c=Date.now()-a.La.jb;return b.its.filter(d=>d>=c).length>=a.La.Ye?(this.qd="i",!0):!1}},Qd(){let a=this.ja;if(!a)return!1;let b=this.Ta();if(!b)return!1;if(a.Mb&&b.sct)return Date.now()-b.sct<=a.Mb.jb?(this.qd="s",!0):!1},Ta(){return JSON.parse(localStorage.getItem(this.tb()))},tb(){return`ds-rt-${this.id}`}},{isVisible(){return this.constructor.isVisible(this.element)},Th:function(){return"display"===this.f.type},ha:function(){return["sticky_display","sticky_mobile"].includes(this.f.type)},Na:function(){return"sticky_mobile"===this.f.type},nf:function(){return"sticky_display"===this.f.type},Rh:function(){return this.f&&this.f.size},Ph:function(){return this.f.la},Nh:function(){return this.f.sa},u:function(){return{width:this.f.size[0],height:this.f.size[1]}},Z:function(){return this.w&&this.w.ka?this.w.ka:0},Hc:function(){let a=this.Z();if(0>a){if(this.f.wg)return null;this.chrand="nbs";return this.f.la.find(b=>3===b.M)}return this.f.la.find(b=>b.M>a)},Oh:function(a){return Array.from(this.f.la).reverse().find(b=>b.Ma.M).filter(Boolean))},Ie:function(){let a=this.f.la,b=Math.max(...a.map(c=>c.M).filter(Boolean));return b&&a.find(c=>c.M===b).Ya||0},reset:function(){this.element.innerHTML=""},refresh:function(){if(function(c,d){try{return!document.hasFocus()||!c&&!V(d)}catch(e){}}(this.ha(),this.element))return new Promise((c,d)=>{setTimeout(()=>this.refresh().then(c).catch(d),500)});var a=this.surge.C.$f(this);r.Yg(a);if(!function(c){var{$b:d,lc:e,Xa:f}=c;return.02>=d||.02>=e||(.1>=d||.1>=e)&&1<=f||(.2>=d||.2>=e)&&2<=f||(.3>=d||.3>=e)&&3<=f||4<=f?!1:!0}(a))return this.Ed(),Promise.resolve(!1);a=function(c){let d=document.createElement("div");d.dataset.ad=c.dataset.ad;d.dataset.devices=c.dataset.devices;d.className="demand-supply";return d}(this.element);let b=this.g||this.element;b.parentNode.insertBefore(a,b.nextSibling);this.remove();this.Sf=!0;return this.surge.displayAd(this.id)},ba:function(){this.wh=!1;["display","sticky_video"].includes(this.f.type)||this.g&&this.g.remove();this.f.da&&(this.wb=setTimeout(()=>this.refresh(),1E3*(30<=this.f.da?this.f.da:30)))},O:function(){this.qe=lb(this.f.vb,this.Z());this.w.hd();this.zg();sa(this);this.pb=this.Z();this.f.da&&(this.wb=setTimeout(()=>this.refresh(),1E3*(30<=this.f.da?this.f.da:30)))},Aa:function(){this.reset()},ma:function(){return"sulvo"===this.Zb||(D.lg(this.id,this.Zb),this.f.Fg)?this.Kb()&&this.rf()?(D.ag(this.id),!1):this.Vc()&&(D.bg(this.id),!this.Ad())?!1:this.sg(this.id)?(r.Xg(this.id,this.qd),!1):this.isVisible()?!0:!1:!1},W:function(){const a=this;return U(function*(){try{a.surge.C.cc(a);E.qf&&(demandSupply.surge=a.surge);if(!a.ma())return a.remove(),!1;yield a.xf();let b=t.Dc();b&&["VIDEO","IFRAME"].includes(b.nodeName)&&(yield a.qh());a.za()&&(yield a.th());let c=yield Xc(a);c?a.O():a.ba();return c}catch(b){throw r.ah(a.id,b.message),b;}})},Ba:()=>{},tg:function(){return t.qg()?!this.ha()&&!V(this.element)&&!document.hasFocus():!1},ph:function(){this.Xc=this.We=!0;return(new Promise(a=>{this.Hb.push(a)})).then(()=>this.Xc=!1)},If:function(){(this.Hb||[]).forEach(a=>a());this.Hb=[]},Vc:function(){return 1!0,Kb:()=>!1,remove:function(){this.w&&this.w.slot&&window.googletag.destroySlots([this.w.slot]);this.element&&this.element.remove();this.g&&this.g.remove();this.surge.C.Wf(this)},ib:()=>{},zd:function(a){a.id=this.Ka;this.element=a;this.parentNode=this.element.parentNode;this.nextElementSibling=this.element.nextElementSibling;this.Ua&&this.Ua();this.ed();this.Zb=demandSupply.Ea||!a.closest?"sulvo":a.closest('[id^="google_ads"]')?"google_ads":a.closest('[class*="ezoic"]')?"ezoic":a.closest('[class^="ad-tag"]')?"ad-tag":a.closest('[class^="sas"]')?"sas":"sulvo";(a=a.getAttribute("data-values"))&&a.replace(/ /g,"")},ed:()=>{},Jf:function(){(this.Ib||[]).forEach(a=>a());this.Ib=[]},qh:function(){return new Promise(a=>{this.Ib.push(a)})},Ed:function(){this.wb&&clearTimeout(this.wb)},xf:function(){if(this.f.Fb&&"none"!==this.f.Fb&&!this.ha()&&!this.G)return(new Promise(a=>{let b=va(this.f.Fb);if(!window.IntersectionObserver)return kb(this.element,b,a);(new IntersectionObserver(c=>c[0].isIntersecting&&a(),{rootMargin:`0px 0px ${b}px 0px`})).observe(this.element)})).then(()=>!1)},Mh:va,Bc:function(){let a={},b=this.J&&!this.G?this.Bb(this):this.u();a.mlbr=t.zc();a.mlos=t.Ic();a.mlla=t.Fc();a.mlco=t.Ee();a.mldo=t.Ge();a.mlre=t.Me();a.mlin=this.G?1:0;a.mlsi=this.J?`${b[0]}x${b[1]}`:`${b.width}x${b.height}`;a.mlbw=t.Ce();a.mlcs=t.Ac(da(this));a.mltp=window.demandSupplyTi?window.demandSupplyTi:"unset";return a},og:function(a){a=void 0===a?null:a;const b=this;return U(function*(){a||0===a?b.ia=a:"dfp"!==b.Qe||E.qf||(b.ia=yield Na(b.id))})},za:()=>!1,U:()=>!1});class P extends C{Kb(){return!1}Vc(){return!1}isVisible(){return!0}}Object.assign(P.prototype,{ba:function(){C.prototype.ba.bind(this)();if(!this.lb){this.reset();let a=document.createElement("a");a.href=`https://relabe.com?utm_content=${this.Y}&utm_source=${document.location.href}&utm_adtype=${this.f.type}&utm_medium=relabe`;a.target="_blank";let b=document.createElement("img");b.src="https://mricr.com/wp-content/uploads/2015/09/placeholder-300x400.png";a.appendChild(b);this.element.appendChild(a)}}});class Bb extends P{ba(){window.context.noContentAvailable();P.prototype.ba.bind(this)()}Aa(){P.prototype.Aa.bind(this)();if(!this.f.oc){let a=document.createElement("a");a.className="demand-supply__sm-override-button demand-supply__sm-override-button--bottom";a.onclick=()=>window.context.noContentAvailable();this.element.appendChild(a)}}}var Ba=a=>{a={fluid_lb:"responsive_h",fluid_sq:"responsive_r","fluid_lb+sq":"responsive_hr"}[a]||a;return"responsive_h"===a?100:["responsive_r","responsive_hr"].includes(a)?280:600};let wa=[{width:120,height:600},{width:160,height:600},{width:200,height:200},{width:220,height:90},{width:250,height:250},{width:300,height:100},{width:300,height:250},{width:300,height:600},{width:320,height:50},{width:320,height:100},{width:336,height:280},{width:468,height:60},{width:728,height:90},{width:970,height:90},{width:970,height:250}];var Oa={yg(a){let b=this.Xb()||{};b[a]||(b[a]=[]);let c=Date.now();(function(){let d=c-864E5;b[a]=b[a].filter(e=>e>=d)})();b[a].push(c);localStorage.setItem("houseAdsImpressions",JSON.stringify(b))},Rd(a){let b=this.Xb();if(!b)return!1;if(b[a]){let c=Date.now()-864E5;return 4<=b[a].filter(d=>d>=c).length}},Xb(){return JSON.parse(localStorage.getItem("houseAdsImpressions"))}};class O extends C{u(){if(!this.J)return C.prototype.u.bind(this)();let[a=0,b=0]=this.Bb(this)||[];return{width:a,height:b}}ed(){this.g.style["margin-left"]="auto";this.g.style["margin-right"]="auto";this.g.style["text-align"]="center";if(!this.J){let{width:a,height:b}=this.u();this.g.style.width=`${a}px`;this.g.style.height=`${b}px`;this.element.style.width=`${a}px`;this.element.style.height=`${b}px`}}} Object.assign(O.prototype,{Bb:a=>{if(975b)b=300;975<=b&&980>b?b=975:(b=Math.floor(10*Math.floor(b/10)),b=1024@import url(${I.N}/css/da.2.css)`;let c=document.createElement("a");c.className="demand-supply__display-brand-button";let d=`https://sulvo.com?utm_source=${document.location.href}&utm_adtype=${this.f.type}&utm_medium=sulvo`;this.f.Y&&(d+=`&utm_content=${this.Y}`);c.href=d;c.target="_blank";this.he=c;b.appendChild(c)}}a.appendChild(this.element);this.parentNode.insertBefore(a,this.nextElementSibling)},Bd:function(){if(!this.na||this.oa&&this.oa[1]!==this.u().height)return null;this.he.style.display="block"},O:function(){C.prototype.O.bind(this)();this.oa&&this.oa[1]!==this.u().height&&this.element.getBoundingClientRect().top>(window.innerHeight||document.documentElement.clientHeight)&&(this.element.style.height=this.oa[1]+"px",this.g.style.height=this.oa[1]+"px");this.Bd()}});class Cb extends O{constructor(a,b,c,d){if(a.de)throw Error("Only 1 Sticky Video ad per page is allowed.");a.de=!0;super(a,b,c,d)}u(){return t.fa()?{width:window.screen.width-16,height:230}:{width:480,height:360}}ma(){return 256<=this.element.clientWidth}za(){return!0}Ua(){let a=document.createElement("div");a.style.position="relative";this.g=a;this.g.appendChild(this.element);this.g.style["z-index"]=2147483647;this.Fa=document.createElement("div");this.Fa.classList.add("video-ad-container");this.K=document.createElement("video");this.K.setAttribute("controls","");this.K.setAttribute("playsinline","");this.K.style.width="100%";this.K.style.position="absolute";this.K.style.left=0;this.K.style.display="block";this.element.appendChild(this.K);this.element.appendChild(this.Fa);this.element.style["box-sizing"]="content-box";this.B=document.createElement("a");this.B.innerHTML="✕";this.B.style.position="absolute";this.B.style.width="16px";this.B.style.height="16px";this.B.style.bottom="4px";this.B.style.right="4px";this.B.style.color="white";this.B.style.cursor="pointer";this.B.style.display="none";this.B.onclick=()=>{this.td();this.K.pause()};this.element.appendChild(this.B);this.parentNode.insertBefore(a,this.nextElementSibling)}th(){const a=this;return U(function*(){a.ve=setInterval(()=>{a.g.getBoundingClientRect().top<=window.innerHeight&&(a.Zf(),clearInterval(a.ve))},250);yield new Promise(b=>a.Zf=b)})}O(){this.Vd();O.prototype.O.bind(this)()}Vd(){function a(b){let c=b.surge.C;V(b.g)||c.Oe()?xa(b):tb(b,c)}a(this);this.se=setInterval(()=>a(this),1E3);this.xd=ub(()=>a(this),50);document.addEventListener("scroll",this.xd)}ba(){this.K.src="https://video.adnewsnow.com/video.mp4";this.Pc();O.prototype.ba.bind(this)()}Yc(){this.K.src="https://video.adnewsnow.com/video.mp4"}Mf(){this.K.pause()}Xe(){this.K.style.display="none"}kd(){this.K.style.display="block";this.K.play()}oh(){this.td()}td(){clearInterval(this.se);document.removeEventListener("scroll",this.xd);xa(this)}ug(){this.Fa.style.display="block"}Pc(){this.Fa.style.display="none"}}class J extends C{constructor(...a){super(...a);this.Yf();this.Gf='[data-placement="top"], .qc-cmp-ui-container, .qc-cmp2-container, #didomi-host'}}Object.assign(J.prototype,{Ua:function(){let{g:a}=this;this.createElement();a&&a.remove()},dd:function(){this.interval=setInterval(()=>this.Ff(),500);setTimeout(()=>clearInterval(this.interval),2E4);t.Rc()&&this.Wd()},Wd:function(){let a=document.getElementById("demand-supply-o-d");a||(a=document.createElement("div"),a.id="demand-supply-o-d",a.style.bottom="0",a.style.position="fixed",document.body.appendChild(a))},Ue:function(){return!!this.f.size&&!!this.f.size[1]},rc:function(a){if(!this.g)return 0;a=(a||this.g).getBoundingClientRect();a.x||(a.x=a.x||a.left,a.y=a.y||a.bottom-a.height);return window.innerHeight-(a.y+a.height)},$d:function(){if(this.wd())this.g.style.bottom="0px";else{var a=parseInt(this.rc());this.g.style.bottom=`${Math.abs(parseInt(this.g.style.bottom)-a)}px`}},tf:function(){return t.uf&&t.Rc()&&!this.I()},wd:function(){return 84{var f;if(f=e)f=d.element,f===e?f=!1:(f=f.getBoundingClientRect(),e=e.getBoundingClientRect(),f=!(f.righte.right||f.bottome.bottom));return f}).forEach(e=>{r.Ig(d.id);e.remove()});setTimeout(c,2*a)}a=void 0===a?1E3:a;let d=this;c()},Kb:function(){return!0},rf:function(){try{return this.surge.C.Ma().some(a=>a!==this&&a.ha()&&this.type===a.type&&this.Db(a))}catch(a){return!1}},Ba:function(){C.prototype.Ba.bind(this)();this.aa&&this.aa()&&this.wd()&&r.Zg(this.id);this.tf()&&setInterval(()=>this.$d(),500)},Sg:function(){for(let a of Array.from(document.body.children)){if(a===this.g)break;if(a&&"SCRIPT"===a.tagName&&a.src){D.kg(this.id);break}}},W:function(){this.Sg();return C.prototype.W.bind(this)()},Db:()=>{},O:function(){this.wc=()=>{this.g.style.zIndex="2147483646"===this.g.style.zIndex?"2147483647":"2147483646"};document.addEventListener("webkitfullscreenchange",this.wc);this.Tg();C.prototype.O.bind(this)()},fd:function(){this.Ed();this.Ag()},Tg:function(){1{"2147483647"!==b.style.zIndex&&(b.style.zIndex="2147483647");"fixed"!==b.style.position&&(b.style.position="fixed");document.body.appendChild(b)});0this.I()?this.Hg():this.close();this.B=b;if(this.I()){var c=document.createElement("div");c.className="demand-supply__sm-inner-close-button";b.appendChild(c)}this.aa()&&(c=100===this.u().height,this.g.style.height=`${c?65:25}px`,this.g.style.bottom="0",this.element.style.position="relative",this.element.style.top=`${c?-35:-25}px`,this.g.innerHTML=``,this.na&&this.g.appendChild(wb(a,this.Y,this.na)));this.g.appendChild(b);this.g.appendChild(this.element);document.body.appendChild(this.g);this.dd()},close:function(){J.prototype.close.bind(this)();this.I()&&this.od()},ea:function(){return this.I()?"top":"bottom"},ma:function(){if(this.I()&&Ab(this.surge.C))return D.cg(this.id),!1;if(!t.fa())return!1;if(!this.Ue())throw Error(`StickyMobile ad without proper size value ${this.id}`);return J.prototype.ma.bind(this)()},O:function(){this.oa&&this.aa()&&(this.B.style.marginLeft=`${this.oa[0]/2-16}px`);if(!this.f.oc){let a=document.createElement("a");a.className=`demand-supply__sm-override-button demand-supply__sm-override-button--${this.ea()}`;a.onclick=()=>this.close();this.element.appendChild(a)}this.g.classList.add(`demand-supply__sm--${this.He()}`,"demand-supply__sm--active");this.I()&&this.nd();J.prototype.O.bind(this)()},He:function(){return this.w.u().height},od:function(){document.body.style.paddingTop=""},nd:function(){document.body.style.paddingTop=`${this.g.offsetHeight}px`},Db:function(a){return this.ea()===a.ea()},Hg:function(){function a(c,d){return`sm--top${50===d?"--small":""}--slide-${c} 1s forwards`}let b=this.u().height;"hidden"===this.Gd?(this.g.style.animation=a("down",b),this.nd(),this.Gd="revealed"):(this.g.style.animation=a("up",b),this.od(),this.Gd="hidden",this.fd())}});var Pa=(a,b,c)=>{let d=document.createElement("a");d.className=`demand-supply__sd-brand-button demand-supply__sd${c?"a":""}-brand-button--${b?"top":"bottom"} ${a.na?"fixed-referral":""}`;b=`https://sulvo.com?utm_source=${document.location.href}&utm_adtype=${a.f.type}&utm_medium=sulvo`;a.f.Y&&a.na&&(b+=`&utm_content=${a.Y}`);d.href=b;d.target="_blank";return d};class Z extends J{}Object.assign(Z.prototype,{eb:function(){let{height:a,width:b}=this.u();return 250===a&&300===b},H:function(){return 728===this.u().width},V:function(){return!this.H()&&1===this.f.sa},ya:function(){return!this.H()&&!this.V()},I:function(){return this.H()&&1===this.f.sa},aa:function(){return this.H()&&!this.I()},ff:function(){return this.eb()&&this.ya()},ef:function(){return this.eb()&&this.V()},ng:function(){let{g:a}=this;var b;if(b=a)b=this.element,b=!(!b.getAttribute("data-position")&&!b.getAttribute("data-offset"));if(b&&this.H()){b=this.element.getAttribute("data-position");var c=parseInt(this.element.getAttribute("data-offset")||"0");c=`${c}${/\^*.%$/.test(c)?"%":"px"}`;if("center"===b||"c"===b)this.Hf.style.left=c;else if("right"===b||"r"===b)a.style.right=c;else if("left"===b||"l"===b)a.style.left=c}},createElement:function(){var a=this.ea();let b=document.createElement("div");b.className=`demand-supply__sd demand-supply__sd--${a}`;b.innerHTML=``;let c=document.createElement("a");c.className=`demand-supply__sd-close-button demand-supply__sd-close-button--${a}`;c.onclick=()=>this.close();let d=Pa(this,"top"===a),e=document.createElement("a");e.className=`demand-supply__sd-override-button demand-supply__sd-override-button--${a}`;e.onclick=()=>this.close();a=document.createElement("div");a.className="demand-supply__sd-offset";b.appendChild(a);a.appendChild(this.element);a.appendChild(c);a.appendChild(d);a.appendChild(e);document.body.appendChild(b);this.g=b;this.Hf=a;this.ng();this.dd()},ma:function(){return t.fa()?!1:!this.H()&&this.Uc()?(D.jg(this.id),!1):J.prototype.ma.bind(this)()},O:function(){this.g.classList.add("demand-supply__sd--active");this.Sb();return J.prototype.O.bind(this)()},Uc:function(){function a(c){let[d,e]=[window.innerWidth,window.innerHeight],{width:f,height:g}=c.u(),k=c.V()?f:d-f;var n=c.V()?-1:1;let h=k+.5*f*n,m=k+.25*f*n;n=k+.75*f*n;let x=e-g;c.eb()||(x/=2);c=c.eb()?e:x+g;return{ue:k,ke:h,top:x,bottom:c,Ze:m,$e:n}} if(!document.elementsFromPoint)return null;let{g:b=this.element}=this;return function(c){let{top:d,bottom:e,ue:f,ke:g,Ze:k,$e:n}=a(c),h=(e-d)/9;var m=[...Array(10).keys()].map(y=>d+h*y),x=m.map(y=>y+h/2).map(y=>y>e?e:y);c=m.map(y=>[f,y]);let B=m.map(y=>[k,y]);x=x.map(y=>[g,y]);m=m.map(y=>[n,y]);return[...c,...x,...B,...m]}(this).map(function(c){return document.elementsFromPoint(...c)}).reduce((c,d)=>c.concat(d),[]).filter(function(c){let{tagName:d}=c;return!("HTML"===d||"BODY"===d||b.contains(c)||c.contains(b))}).filter(function(c){return"IMG"===c.nodeName||Array.from(c.childNodes).some(d=>d.nodeValue&&d.nodeValue.trim()&&3===d.nodeType)}).length},Sb:function(){!this.H()&&function(a){function b(){clearTimeout(c);c=setTimeout(()=>a(b),200)}let c;window.addEventListener("scroll",b,!1)}(a=>{this.Uc()&&(window.removeEventListener("scroll",a,!1),r.Hd(this.id))})},Ba:function(...a){J.prototype.Ba.bind(this)(...a);this.element.style["background-color"]="white"},ea:function(){if(this.ff())return"bottom-right";if(this.ef())return"bottom-left";if(this.I())return"top";if(this.aa())return"bottom";if(this.V())return"left";if(this.ya())return"right"},Db:function(a){let b=this.ea();a=a.ea();return b.includes(a)||a.includes(b)}});class za extends C{ma(){return!0}ih(){let{surge:a,id:b,f:c,element:d}=this;this.remove();return new(this.Na()?aa:Z)(a,b,c,d)}Aa(){}O(){if(!this.Na()){var a=document.createElement("div");a.style.position="relative";a.innerHTML=``;document.body.appendChild(a);var b=Pa(this,this.I(),!0);b.style.display="block";b.style.transition="height 1s";var c=this.w.xg,d=this.H()?"gpt_unit_":"google_ads_iframe_",e=this.H()?"":"__container__";c="#"+CSS.escape(`${d}${c}_0${e}`);if(c=document.querySelector(c)){let f=b.style.height;b.style.height=0;c.onmouseover=()=>b.style.height=f;c.onmouseout=()=>b.style.height=0;a.appendChild(b);c[this.I()?"append":"prepend"](a)}}}U(){return!0}Ke(){if(this.I())return"TOP_ANCHOR";if(this.aa())return"BOTTOM_ANCHOR";if(this.V())return"LEFT_SIDE_RAIL";if(this.ya())return"RIGHT_SIDE_RAIL"}aa(){return this.H()?!this.I():!1}I(){if(!this.H())return!1;if("sticky_mobile"===this.f.type)return 0===this.f.sa;if("sticky_display"===this.f.type)return 1===this.f.sa;throw Error("Unexpected adType "+this.f.type);}H(){return 728===this.u().width||this.Na()}V(){return this.H()?!1:1===this.f.sa}ya(){return this.H()?!1:!this.V()}}Object.assign(C,{Pe:ya});var $c={Xd(a,b){if(a=a.filter(function(d){return!!d.adData.sai}).filter(function(d){d=d.adData.ty;return t.fa()?"sticky_mobile"===d:"sticky_display"===d}).filter(function(d){return!document.querySelector(`[data-ad*="${d.adData.ty}_bottom"]`)})[0]){var c=function(d){let e=document.createElement("div");e.dataset.ad=d.id;e.dataset.devices="sticky_display"===d.adData.ty?"m:0,t:1,d:1":"m:1,t:0,d:0";e.className="demand-supply";return e}(a);document.body.appendChild(c);return b.displayAd(a.id)}}};class Qa{constructor(a){this.C=a=void 0===a?new Ca:a;this.kb=Db();this.Nf=Hb(this)}qc(){const a=this;U(function*(){try{if(demandSupply.Ea)return yield a.displayAd(window.sulvoAmpAdData.ad);window.__tcfapi?yield Aa():window.demandSupplyCEI&&setTimeout(()=>U(function*(){window.__tcfapi&&(yield Aa())}),4E3);let b=Promise.all(a.Mc().map(c=>a.displayAd(c.getAttribute("data-ad"))));$c.Xd(yield a.kb,a);return yield b}catch(b){throw r.bh(b.message),b;}})}displayAd(a){const b=this;return U(function*(){try{let c;if(demandSupply.Ea)c=document.body;else{c=b.Mc().find(d=>d.dataset.ad===a);if(!c)return;Ib(c);b.C.Eg(c)}return yield(yield b.Od(c)).W()}catch(c){r.Nb("d",a,c.message),console.error(c)}})}rd(a){try{let b=this.C.Ma(),c=a?b.filter(d=>a.includes(d.id)):b;return Promise.all(c.map(d=>d.refresh()))}catch(b){r.Nb(a,"ra",b.message),console.error(b)}}refreshAd(a){try{let b=this.rd([a]),c=b.length?Promise.resolve():this.displayAd(a);return Promise.all([b,c])}catch(b){r.Nb(a,"r",b.message),console.error(b)}}Le(){const a=this;return U(function*(){let b=yield a.Nf;return Array.isArray(b)?b:[]})}Od(a){const b=this;return U(function*(){function c(k,n){f.splice(f.indexOf(k),1);k.zd(n);k.Sb&&k.Sb();return k}let d=window.sulvoAmpAdData?window.sulvoAmpAdData.ad:a.getAttribute("data-ad");var e=Promise.race([b.Le(),new Promise(k=>setTimeout(()=>k([]),20))]);let[f,g]=yield Promise.all([e,Na(d)]);e=(e=f.find(k=>k.id===d))?c(e,a):yield C.from(a,b);yield e.og(g);return e})}xc(){return Array.from(document.querySelectorAll('.demand-supply[data-ad]:not([value=""])'))}Mc(){return this.xc().filter(a=>C.isVisible(a)&&!this.C.gf(a))}}Object.assign(Qa.prototype,{resumeAd:function(a,b){const c=this;return U(function*(){let d=c.C.xa(a);if(d.G)return null;if(!b)return d.w.resolve(!1);let e=yield d.Ia.Gc(0);d.w.resolve(!0);yield e.W({Va:d.w.ka})})}});class ad extends C{ma(){return!0}Aa(){}u(){return{width:1,height:1}}}var bd={ye(a){return U(function*(){var b=(yield a.kb).filter(function(d){return!!d.adData.iai}).filter(function(d){d=d.adData.ty;return t.fa()?"interstitial_mobile"===d:"interstitial_desktop"===d})[0];if(b){var c=b.id;b=W(b.adData);return yield(new ad(a,c,b)).W()}})}};let cd=!!demandSupply.upmp;ea.kh=demandSupply.upmp||Promise.resolve();window.yh={hi:1113};(function(){Jb();Pb.load();window.demandSupply={Hh:()=>{},pfAds:demandSupply.pfAds};demandSupply.sf=cd;demandSupply.lf=window.dspbjs;demandSupply.Ea=!!window.sulvoAmpAdData;demandSupply.Ld=0;let a=new Ca,b=new Qa(a),c=new Qb(b);demandSupply.surge=b;demandSupply.hsi=()=>Object.keys(demandSupply.surge.C.ra).some(d=>d.includes("interstitial"));demandSupply.sid=d=>d.includes(L.Ja.X);demandSupply.surge.mainLoaded=!0;Rb.Cf();try{"browsingTopics"in document&&document.featurePolicy.allowsFeature("browsing-topics")&&document.browsingTopics()}catch(d){console.error(d)}demandSupply.Ea||c.start();window._app=demandSupply;bd.ye(b);q(()=>{demandSupply.Ea||(pb(b),c.stop(),Mb.pe());rb(a,b);b.qc()})})()})();}).call(window)