")),b(e,fn,pn).call(e)})).catch((function(t){if(t&&w(e,tn).error(t),t&&w(e,on)&&!w(e,un))return w(e,tn).debug("fetch call failed. Switch to adblck domain and path"),y(e,un,!0),w(e,Ye).enableAdbMode(),void e.show();w(e,Xe).call(e,be)}))}}]),e}(ge);function bn(t,e){var n=void 0!==s&&Q(t)||t["@@iterator"];if(!n){if(J(t)||(n=tt(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}var mn=2147483647,wn="znid",yn=new(q());function xn(t){var e=document.querySelectorAll(this.targetElementsCssSelector);do{for(var n=0;n':Pt&&Et&&!Tt&&Ct>63&&(t="googlechrome://"+t.replace(/(^\w+:|^)\/\//,"")),e}function hr(){var t,e={zoneId:w(this,zn).zoneId,callback:Z()(t=b(this,$n,ur)).call(t,this)};Bt&&Ft&&(w(this,Bn).debug("subscribe to scroll"),w(this,_n).subscribe("scroll",e)),w(this,Bn).debug("subscribe to mousedown"),w(this,_n).subscribe("mousedown",e,w(this,Un)),w(this,Bn).debug("subscribe to click"),w(this,_n).subscribe("click",e,w(this,Un))}function fr(){Bt&&Ft&&(w(this,Bn).debug("unsubscribe from scroll"),w(this,_n).unsubscribe("scroll",w(this,zn).zoneId)),w(this,Bn).debug("unsubscribe from mousedown"),w(this,_n).unsubscribe("mousedown",w(this,zn).zoneId,w(this,Un)),w(this,Bn).debug("unsubscribe from click"),w(this,_n).unsubscribe("click",w(this,zn).zoneId,w(this,Un))}var dr=function(t){function e(t){var n,r,o,s,a,c;return i(this,e),s=this,a=le(a=e),p(re(o=ie(s,se()?ne()(a,[],le(s).constructor):a.apply(s,c))),er),p(re(o),tr),p(re(o),Yn),p(re(o),$n),p(re(o),Qn),p(re(o),Xn),p(re(o),Jn),p(re(o),Zn),p(re(o),Kn),p(re(o),Wn),p(re(o),Gn),p(re(o),qn),g(re(o),_n,{writable:!0,value:void 0}),g(re(o),Ln,{writable:!0,value:null}),g(re(o),zn,{writable:!0,value:{}}),g(re(o),jn,{writable:!0,value:!1}),g(re(o),Mn,{writable:!0,value:void 0}),g(re(o),Nn,{writable:!0,value:!1}),g(re(o),Un,{writable:!0,value:!0}),g(re(o),Bn,{writable:!0,value:void 0}),g(re(o),Fn,{writable:!0,value:"47.0"}),g(re(o),Hn,{writable:!0,value:!1}),g(re(o),Dn,{writable:!0,value:null}),g(re(o),Vn,{writable:!0,value:12}),y(re(o),Bn,new it(_()(n="atag_".concat(t.collectiveZoneId,"_suv5_")).call(n,t.zoneId))),y(re(o),_n,window[t.adcashGlobalName]),w(re(o),Bn).debug("init atag pop with config:",t),y(re(o),zn,t),o.elementTargeting=new kn(w(re(o),zn).targetElementsCssSelector,w(re(o),zn).triggerOnTargetElementsClick,w(re(o),zn).zoneId),o.overlays=new Pn(o.elementTargeting,Z()(r=b(re(o),$n,ur)).call(r,re(o)),w(re(o),Bn),w(re(o),zn).zoneId,w(re(o),Un)),t.tagVersionSuffix&&y(re(o),Fn,w(re(o),Fn)+t.tagVersionSuffix),o}return de(e,t),f(e,[{key:"show",value:function(){var t=this;y(this,Ln,null),y(this,Mn,null),y(this,jn,!1),fetch(b(this,qn,nr).call(this)).then((function(e){return 200===e.status||202===e.status?e.json():(204===e.status&&(t.hasNoInventory=!0,w(t,Bn).debug("no inventory! reset after ".concat(w(t,Vn)," sec")),W()((function(){t.hasNoInventory=!1}),1e3*w(t,Vn)),w(t,Vn)<7200&&y(t,Vn,5*w(t,Vn))),ve().reject())})).then((function(e){if(w(t,Bn).debug("response:",e),e.capped_ttl)return t.isCapped=!0,w(t,Bn).debug("capped! reset after ".concat(e.capped_ttl," sec")),W()((function(){t.isCapped=!1}),1e3*e.capped_ttl),void w(t,zn).actionCallback(me);if(w(t,Vn)>12&&y(t,Vn,12),!w(t,Nn)){var n;y(t,Nn,!0);var r=null!==(n=e.delay)&&void 0!==n?n:0;return w(t,Bn).debug("delay is",r),void W()((function(){b(t,Kn,rr).call(t,e)}),1e3*r)}b(t,Kn,rr).call(t,e)})).catch((function(e){if(e&&w(t,Bn).error(e),e&&w(t,zn).adblockSettings&&!w(t,Hn))return w(t,Bn).debug("fetch call failed. Switch to adblck domain and path"),w(t,_n).enableAdbMode(),y(t,Hn,!0),void t.show();w(t,zn).actionCallback(me)}))}}]),e}(ge),pr=function(){function t(e){i(this,t),this.key=e}return f(t,[{key:"isStatePresent",value:function(){return null!==window.localStorage.getItem(this.key)}},{key:"getState",value:function(){return JSON.parse(window.localStorage.getItem(this.key))}},{key:"setState",value:function(t){window.localStorage.setItem(this.key,A()(t))}},{key:"removeState",value:function(){window.localStorage.removeItem(this.key)}}]),t}(),vr=6e5,gr="1st",br="odd",mr="even",wr=6e5,yr=new(D()),xr=new(D()),kr=new(D()),Sr=new(D()),Tr=new(D()),Or=new(D()),Er=new(D()),Ir=new(D()),Ar=new(D()),Cr=new(D()),Rr=new(D()),Pr=new(q()),_r=new(q()),Lr=new(q()),zr=new(q()),jr=new(q());function Mr(){var t={shownAdsCounter:w(this,Ar),iterationCounter:w(this,Cr),currentAdIndex:w(this,Er),isInterstitialBeingShown:w(this,Rr),expiresAt:te()()+wr,adbExpiresAt:w(this,xr).isAdbMode()?te()()+vr:0};w(this,yr).debug("store session state",t),this.localStorageService.setState(t)}function Nr(){if(!w(this,Ir).apply)return!1;switch(w(this,Ir).apply){case gr:return!(0===w(this,Cr));case br:return!(w(this,Cr)%2==1);case mr:return!(w(this,Cr)%2==0);default:return!1}}function Ur(){var t,e;w(this,Er)===w(this,Or).length-1?(y(this,Er,0),y(this,Cr,(t=w(this,Cr),++t))):y(this,Er,(e=w(this,Er),++e)),y(this,Ir,w(this,Or)[w(this,Er)]),w(this,yr).debug("set current ad to next on list. current ad is set to:",w(this,Ir))}function Br(){w(this,yr).debug("show next ad"),b(this,Lr,Ur).call(this),b(this,Pr,Mr).call(this),b(this,jr,Fr).call(this)}function Fr(){var t;if(b(this,_r,Nr).call(this))return w(this,yr).debug("skipping ad at index: ".concat(w(this,Er)," due to apply rule")),void b(this,zr,Br).call(this);switch(w(this,Ir).type){case"interstitial":var e;if(w(this,kr).isCapped||w(this,kr).hasNoInventory)return void W()(Z()(e=b(this,zr,Br)).call(e,this),1e3);w(this,yr).debug("showing interstitial"),w(this,kr).show(w(this,Ar)),y(this,Rr,!0),y(this,Ar,(t=w(this,Ar),++t)),b(this,Pr,Mr).call(this);break;case"pop":var n;if(w(this,Sr).isCapped||w(this,Sr).hasNoInventory)return void W()(Z()(n=b(this,zr,Br)).call(n,this),1e3);w(this,yr).debug("showing pop"),w(this,Sr).show(w(this,Ar));break;default:throw Error("rotation list element type '".concat(w(this,Ir).type,"' not recognised"))}}var Hr=function(){function t(e){var n,r,o;i(this,t),p(this,jr),p(this,zr),p(this,Lr),p(this,_r),p(this,Pr),g(this,yr,{writable:!0,value:void 0}),g(this,xr,{writable:!0,value:void 0}),g(this,kr,{writable:!0,value:null}),g(this,Sr,{writable:!0,value:null}),g(this,Tr,{writable:!0,value:void 0}),g(this,Or,{writable:!0,value:[]}),g(this,Er,{writable:!0,value:0}),g(this,Ir,{writable:!0,value:null}),g(this,Ar,{writable:!0,value:1}),g(this,Cr,{writable:!0,value:0}),g(this,Rr,{writable:!0,value:!1});var s=e.adcashGlobalName,a=e.collectiveZoneConfig,c=e.adserverDomain,u=e.adblockSettings,l=e.clientHintsQueryStr,h=e.tagVersionSuffix,f=e.isLoadedAsPartOfLibrary,d=e.uniqueFingerprint,v=a.collectiveZoneId;y(this,yr,new it("atag_".concat(v))),y(this,xr,window[e.adcashGlobalName]),y(this,Or,a.rotationList),w(this,yr).debug("init autotag with config:",e);var m=a.indexedFormats,x=!0;for(var k in m){var S=m[k];switch(k){case"ippg":w(this,xr).runInPagePush({zoneId:S.zoneId.toString(),refreshRate:S.rr,delay:S.d,maxAds:S.mads,renderPosDesktop:S["render-pos-desktop"],renderPosMobile:S["render-pos-mobile"],offsetTop:S["offset-top"],isAutoTag:!0,collectiveZoneId:v,aggressivity:a.aggressivity,abTest:a.ab_test,recordPageView:x,tagVersionSuffix:h});break;case"suv4":case"pop":y(this,Sr,new dr({zoneId:S.zoneId.toString(),targetElementsCssSelector:S["element-list"],triggerOnTargetElementsClick:"allow"===S["element-action"],targetCountries:S["country-list"],triggerOnTargetCountries:"allow"===S["country-action"],adblockSettings:u,adserverDomain:c,adcashGlobalName:s,clientHintsQueryStr:l,collectiveZoneId:v,aggressivity:a.aggressivity,adsCapping:a.adsCapping,abTest:a.ab_test,recordPageView:x,actionCallback:Z()(n=this.actionCallback).call(n,this),tagVersionSuffix:h,isLoadedAsPartOfLibrary:f,uniqueFingerprint:d}));break;case"interstitial":y(this,kr,new gn({zoneId:S.zoneId,isFullscreen:0===S.overlay,adblockSettings:u,adserverDomain:c,adcashGlobalName:s,clientHintsQueryStr:l,collectiveZoneId:v,aggressivity:a.aggressivity,adsCapping:a.adsCapping,abTest:a.ab_test,recordPageView:x,actionCallback:Z()(r=this.actionCallback).call(r,this),tagVersionSuffix:h,isLoadedAsPartOfLibrary:f,uniqueFingerprint:d}));break;default:w(this,yr).error(_()(o="ad format type not recognised from collective zone config. adformat.type: ".concat(k,"; czid: ")).call(o,czid))}}this.localStorageService=new pr("atg_".concat(v));var T=this.localStorageService.getState();T&&T.adbExpiresAt>te()()&&w(this,xr).enableAdbMode(),T&&T.expiresAt>te()()?(w(this,yr).debug("previous session present:",T),y(this,Ar,T.shownAdsCounter),y(this,Cr,T.iterationCounter),y(this,Er,T.currentAdIndex),T.isInterstitialBeingShown?b(this,zr,Br).call(this):(y(this,Ir,w(this,Or)[w(this,Er)]),b(this,jr,Fr).call(this))):(y(this,Ir,w(this,Or)[w(this,Er)]),b(this,jr,Fr).call(this))}return f(t,[{key:"actionCallback",value:function(t){var e;w(this,yr).debug("ACTION CALLBACK type:",t),t===be?y(this,Rr,!1):y(this,Ar,(e=w(this,Ar),++e));var n,r=w(this,Ir).rotationInterval;b(this,Lr,Ur).call(this),b(this,Pr,Mr).call(this),t===we?w(this,yr).debug("tabswap, move to next and store session"):(w(this,yr).debug("show next ad after ".concat(r," sec")),W()(Z()(n=b(this,jr,Fr)).call(n,this),1e3*r))}}]),t}(),Dr=function(){this.element===window?(this.divOverlay.style.width="".concat(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,"px"),this.divOverlay.style.height="".concat(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,"px")):(this.divOverlay.style.top="".concat(this.element.offsetTop,"px"),this.divOverlay.style.left="".concat(this.element.offsetLeft,"px"),this.divOverlay.style.width="".concat(this.element.offsetWidth,"px"),this.divOverlay.style.height="".concat(this.element.offsetHeight,"px"),this.divOverlay.style.zIndex=Oe)},Vr=new(D()),qr=new(D()),Gr=new(D()),Wr=new(q()),Kr=new(q()),Zr=new(q()),Jr=function(){function t(e,n,r,o,s,a){var c=this;i(this,t),p(this,Zr),p(this,Kr),p(this,Wr),v(this,"observer",null),v(this,"iframesToOverlays",[]),v(this,"videosToOverlays",[]),v(this,"fullOverlay",null),v(this,"overlaysResizeIntervalChecker",null),v(this,"adUrl",""),v(this,"isTabSwap",!1),v(this,"modifyBodyObserver",!0),g(this,Vr,{writable:!0,value:void 0}),g(this,qr,{writable:!0,value:void 0}),g(this,Gr,{writable:!0,value:!1}),v(this,"attachFullOverlay",(function(){var t=b(c,Wr,Xr).call(c,document.body);if(Ot||(dt(window,"resize",Z()(Dr).call(Dr,{divOverlay:t,element:window})),dt(document.body,"resize",Z()(Dr).call(Dr,{divOverlay:t,element:window}))),c.fullOverlay=t,c.modifyBodyObserver)try{b(c,Kr,Qr).call(c)}catch(t){w(c,Vr).error(t)}})),this.elementTargeting=e,this.desktopClickListener=n,this.mobileClickListener=r,y(this,Vr,o),y(this,qr,s),y(this,Gr,a)}return f(t,[{key:"setOverlaysResizeIntervalChecker",value:function(){var t=this;this.overlaysResizeIntervalChecker=U()((function(){var e,n,r=function(t,e){try{t.style.top="".concat(e.offsetTop,"px"),t.style.left="".concat(e.offsetLeft,"px"),t.style.width="".concat(e.offsetWidth,"px"),t.style.height="".concat(e.offsetHeight,"px"),t.style.zIndex=Oe}catch(t){}};E()(e=t.iframesToOverlays).call(e,(function(t){var e=t.overlay,n=t.iframe;return r(e,n)})),E()(n=t.videosToOverlays).call(n,(function(t){var e=t.overlay,n=t.video;return r(e,n)}))}),500)}},{key:"clearOverlaysResizeIntervalChecker",value:function(){try{clearInterval(this.overlaysResizeIntervalChecker)}catch(t){}}},{key:"attachVideoOverlays",value:function(){for(var t=document.querySelectorAll("video"),e=0;e=1&&r.addedNodes[i].id!==Ee&&!r.addedNodes[i].hasAttribute("dontfo")&&!r.addedNodes[i].hasAttribute(Ie))return w(t,Vr).debug("observed element",r.addedNodes[i],"with zIndex value larger or equal to our full body overlay. reattaching full body overlay"),void t.reattachFullOverlay()})),this.observer.observe(document.documentElement,{attributes:!1,childList:!0,subtree:!0})}function $r(){this.observer&&this.observer.disconnect(),this.observer=null}var Yr=Jr,ti=new(D()),ei=new(q());function ni(t){var e=document.querySelectorAll(this.targetElementsCssSelector);do{for(var n=0;nsi&&y(this,mi,si)}function qi(){return Gi.apply(this,arguments)}function Gi(){return(Gi=r(k().mark((function t(){var e,n,r,i,o,s,a,c,u,l=this;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return y(this,ui,null),y(this,fi,null),y(this,hi,!1),t.next=5,b(this,yi,Ni).call(this);case 5:return r=t.sent,t.prev=6,t.next=9,fetch(r);case 9:i=t.sent,t.next=26;break;case 12:if(t.prev=12,t.t0=t.catch(6),!w(this,li).adblockSettings||w(this,wi)){t.next=20;break}return w(this,vi).debug("fetch failed: try alt domain and path"),y(this,wi,!0),w(this,ci).enableAdbMode(),b(this,Ii,qi).call(this),t.abrupt("return");case 20:if(!w(this,ci).isAdbMode()){t.next=23;break}return w(this,vi).debug("fetch failed: alt domain and path blocked. exit"),t.abrupt("return");case 23:return w(this,vi).error(_()(o="unhandled error: ".concat(t.t0.message,". Try again after ")).call(o,ai," seconds")),W()(Z()(s=b(this,Ii,qi)).call(s,this),1e3*ai),t.abrupt("return");case 26:if(204!==i.status){t.next=32;break}return w(this,vi).debug("no inventory! try again after ".concat(w(this,mi)," seconds")),y(this,di,!0),W()((function(){b(l,Ii,qi).call(l)}),1e3*w(this,mi)),b(this,Oi,Di).call(this),t.abrupt("return");case 32:if(203!==i.status){t.next=35;break}return w(this,vi).debug("fallback detected. exit"),t.abrupt("return");case 35:if(202!==i.status){t.next=43;break}return t.next=38,i.json();case 38:return i=t.sent,w(this,vi).debug("capped! try again after ".concat(i.capped_ttl," seconds")),y(this,di,!0),W()((function(){b(l,Ii,qi).call(l)}),1e3*i.capped_ttl),t.abrupt("return");case 43:if(200!==i.status){t.next=57;break}return t.next=46,i.json();case 46:if(i=t.sent,b(this,Ei,Vi).call(this),y(this,ui,{url:b(this,Ai,Wi).call(this,i.url),impressionUrl:i.iurl,refreshRate:i.refreshRate,delay:i.delay,type:i.type,checkTimeout:i.checkTimeout,preventClick:i.preventClick}),i.targetElementsCssSelector&&!this.elementTargeting.targetElementsCssSelector&&(this.elementTargeting.targetElementsCssSelector=i.targetElementsCssSelector,this.elementTargeting.shouldTriggerPopOnTargetClick=i.triggerOnTargetElementsClick),w(this,di)){t.next=55;break}return u=null!==(a=null!==(c=w(this,li).delay)&&void 0!==c?c:i.delay)&&void 0!==a?a:0,w(this,vi).debug("delay is",u),u>0?W()((function(){b(l,Si,Fi).call(l)}),1e3*u):b(this,Si,Fi).call(this),t.abrupt("return");case 55:return b(this,Si,Fi).call(this),t.abrupt("return");case 57:w(this,vi).error(_()(e="unsupported res status: ".concat(i.status,". try again after ")).call(e,ai," seconds")),W()(Z()(n=b(this,Ii,qi)).call(n,this),1e3*ai);case 59:case"end":return t.stop()}}),t,this,[[6,12]])})))).apply(this,arguments)}function Wi(t){var e=t;return Et&&Ct<59||It&&Ct<56?e='data:text/html;charset=utf-8,':Pt&&Et&&!Tt&&Ct>63&&(t="googlechrome://"+t.replace(/(^\w+:|^)\/\//,"")),e}function Ki(t){var e=this;w(this,vi).debug("showAdClickListener triggered by event type ".concat(t.type," on"),t.target.tagName),t.isTrusted?w(this,ui)?w(this,hi)?w(this,vi).debug("pop rejected: current pop is locked"):w(this,ci).isShowingPop?w(this,vi).debug("pop rejected: another pop is being currently shown"):this.elementTargeting.isActionAllowedOnElement(t.target)?(w(this,ci).isShowingPop=!0,y(this,hi,!0),w(this,vi).debug("triggering pop"),b(this,Li,$i).call(this)?b(this,zi,Yi).call(this):(w(this,bi)?w(this,bi).call(this,w(this,ui).url,"_blank","noopener,noreferrer"):window.open(w(this,ui).url,"_blank","noopener,noreferrer"),Bt?(y(this,fi,!0),b(this,Pi,Ji).call(this).then((function(){b(e,_i,Qi).call(e)}))):W()((function(){y(e,fi,"hidden"===document.visibilityState||!document.hasFocus()),b(e,Pi,Ji).call(e).then((function(){b(e,_i,Qi).call(e)}))}),100))):w(this,vi).debug("pop rejected: action not allowed on element",t.target):w(this,vi).debug("pop rejected: current pop has no ad loaded"):w(this,vi).debug("pop rejected: event is not trusted")}function Zi(t){var e=this;w(this,vi).debug("showAdMobileClickListener triggered by event type ".concat(t.type," on"),t.target.tagName),t.isTrusted?w(this,ui)?w(this,hi)?w(this,vi).debug("pop rejected: current pop is locked"):w(this,ci).isShowingPop?w(this,vi).debug("pop rejected: another pop is being currently shown"):this.elementTargeting.isActionAllowedOnElement(t.target)?(w(this,ci).isShowingPop=!0,y(this,hi,!0),w(this,vi).debug("triggering pop"),y(this,fi,!0),b(this,Pi,Ji).call(this).then((function(){b(e,_i,Qi).call(e)}))):w(this,vi).debug("pop rejected: action not allowed on element",t.target):w(this,vi).debug("pop rejected: current pop has no ad loaded"):w(this,vi).debug("pop rejected: event is not trusted")}function Ji(){return Xi.apply(this,arguments)}function Xi(){return(Xi=r(k().mark((function t(){var e,n;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,w(this,ci).getClientHints(!1);case 2:return e=t.sent,w(this,vi).debug("window opened:",!!w(this,fi)),n=w(this,ui).impressionUrl+"&wo=".concat(w(this,fi)?"1":"0")+e+"&cbpage="+encodeURIComponent(gt())+"&cbref="+encodeURIComponent(kt()),window["utsid-send"]&&(n+="&utsid="+window["utsid-send"]),w(this,vi).debug("send impression. url:",n),t.prev=7,t.next=10,fetch(n,{mode:"no-cors"});case 10:t.next=17;break;case 12:return t.prev=12,t.t0=t.catch(7),w(this,vi).debug(t.t0),w(this,li).adblockSettings&&!w(this,ci).isAdbMode()&&(w(this,vi).debug("imp failed: try alt domain and path"),w(this,ci).enableAdbMode()),t.abrupt("return");case 17:document.dispatchEvent(new CustomEvent("impression-event"));case 18:case"end":return t.stop()}}),t,this,[[7,12]])})))).apply(this,arguments)}function Qi(){var t,e=this;this.elementTargeting.isPresent()?(this.overlays.clearOverlaysResizeIntervalChecker(),this.overlays.clearIframeOverlays(),this.overlays.clearVideoOverlays()):w(this,li).linkedZoneId||this.overlays.clearFullOverlay(),b(this,Mi,eo).call(this),w(this,ci).isShowingPop=!1;var n=null!==(t=w(this,li).refreshRate)&&void 0!==t?t:w(this,ui).refreshRate;w(this,vi).debug("refreshRate time is",n),n&&n>0&&W()((function(){w(e,vi).debug("refreshRate time has passed. Rebid"),y(e,di,!0),b(e,Ii,qi).call(e)}),1e3*n)}function $i(){return"type"in w(this,ui)&&"tabswap"===w(this,ui).type}function Yi(){w(this,vi).debug("do tabswap"),this.localStorage.setState({renderAfterTimestamp:te()()+1e3*b(this,Ti,Hi).call(this),adbExpiresAt:w(this,ci).isAdbMode()?te()()+vr:0});var t=w(this,ui).url;w(this,bi)?w(this,bi).call(this,window.location.href,"_blank","noreferrer"):window.open(window.location.href,"_blank","noreferrer"),y(this,fi,!0),b(this,Pi,Ji).call(this).then((function(){W()((function(){var e=document.createElement("a");e.href=t,e.rel="noopener noreferrer",document.body.appendChild(e),e.click(),document.body.removeChild(e)}),50)}))}function to(){var t,e={zoneId:w(this,li).zoneId,callback:Z()(t=b(this,Ci,Ki)).call(t,this)};Bt&&Ft&&(w(this,vi).debug("subscribe to scroll"),w(this,ci).subscribe("scroll",e)),Bt||(w(this,vi).debug("subscribe to mousedown"),w(this,ci).subscribe("mousedown",e,w(this,pi))),w(this,vi).debug("subscribe to click"),w(this,ci).subscribe("click",e,w(this,pi))}function eo(){Bt&&Ft&&(w(this,vi).debug("unsubscribe from scroll"),w(this,ci).unsubscribe("scroll",w(this,li).zoneId)),Bt||(w(this,vi).debug("unsubscribe from mousedown"),w(this,ci).unsubscribe("mousedown",w(this,li).zoneId,w(this,pi))),w(this,vi).debug("unsubscribe from click"),w(this,ci).unsubscribe("click",w(this,li).zoneId,w(this,pi))}var no=function(){function t(e){var n,r;i(this,t),p(this,Mi),p(this,ji),p(this,zi),p(this,Li),p(this,_i),p(this,Pi),p(this,Ri),p(this,Ci),p(this,Ai),p(this,Ii),p(this,Ei),p(this,Oi),p(this,Ti),p(this,Si),p(this,ki),p(this,xi),p(this,yi),g(this,ci,{writable:!0,value:void 0}),g(this,ui,{writable:!0,value:null}),g(this,li,{writable:!0,value:{}}),g(this,hi,{writable:!0,value:!1}),g(this,fi,{writable:!0,value:void 0}),g(this,di,{writable:!0,value:!1}),g(this,pi,{writable:!0,value:!0}),g(this,vi,{writable:!0,value:void 0}),g(this,gi,{writable:!0,value:"47.0"}),g(this,bi,{writable:!0,value:null}),g(this,mi,{writable:!0,value:si}),g(this,wi,{writable:!0,value:!1}),y(this,vi,new it("suv5_".concat(e.zoneId))),y(this,ci,window[e.adcashGlobalName]),e.tagVersionSuffix&&y(this,gi,w(this,gi)+e.tagVersionSuffix),w(this,vi).debug("tag version:",w(this,gi)),w(this,vi).debug("init pop with config:",e),y(this,li,e),this.elementTargeting=new ri(w(this,li).targetElementsCssSelector,w(this,li).triggerOnTargetElementsClick,w(this,li).zoneId),Bt&&!w(this,li).linkedZoneId&&(w(this,vi).debug("use capture -> false"),y(this,pi,!1)),this.overlays=new Yr(this.elementTargeting,Z()(n=b(this,Ci,Ki)).call(n,this),Z()(r=b(this,Ri,Zi)).call(r,this),w(this,vi),w(this,li).zoneId,w(this,pi)),b(this,ki,Bi).call(this),this.localStorage=new pr("suv5_".concat(e.zoneId,"_state"));var o=this.localStorage.getState();o&&o.adbExpiresAt>te()()&&w(this,ci).enableAdbMode();var s=te()();if(o&&o.renderAfterTimestamp>s){var a,c=o.renderAfterTimestamp-s;w(this,vi).debug("previous state present. bid after ".concat(c/1e3," sec")),W()(Z()(a=b(this,Ii,qi)).call(a,this),c)}else b(this,Ii,qi).call(this)}return f(t,[{key:"tryToAttachFullOverlay",value:function(){var t;w(this,ui)&&!w(this,hi)&&(document.getElementById(Ee)?W()(Z()(t=this.tryToAttachFullOverlay).call(t,this),100):this.overlays.attachFullOverlay())}}]),t}(),ro=n(95280),io=n.n(ro),oo=function(t,e){var n=new RegExp(Se()(e).join("|"),"g");return t.replace(n,(function(t){return e[t]}))},so=new(D()),ao=new(D()),co=new(D()),uo=new(D()),lo=new(D()),ho=new(D()),fo=new(q()),po=new(q()),vo=function(){function t(e,n,r,o,s){i(this,t),p(this,po),p(this,fo),g(this,so,{writable:!0,value:{}}),g(this,ao,{writable:!0,value:null}),g(this,co,{writable:!0,value:0}),g(this,uo,{writable:!0,value:void 0}),g(this,lo,{writable:!0,value:void 0}),g(this,ho,{writable:!0,value:void 0}),y(this,so,e),y(this,ao,r),y(this,co,0),y(this,uo,n),y(this,lo,o),y(this,ho,s)}return f(t,[{key:"render",value:function(t){var e=this,n="";switch(t.type){case 1:w(this,ao).debug("rendering INTERSTITIAL IFRAME (type ".concat(1,")")),n=oo(w(this,so).isOverlay?' ':' ',{"{IFRAME_SRC}":t.url});break;case 3:w(this,ao).debug("rendering INTERSTITIAL IMAGE (type ".concat(3,")")),n=oo((w(this,so).isOverlay,' '),{"{HREF_LINK}":t.url,"{IMG_SRC}":t.ad.url,"{IMG_WIDTH}":t.ad.width,"{IMG_HEIGHT}":t.ad.height});break;case ye:if(t.isHtmlTemplate)return w(this,ao).debug("rendering INTERSTITIAL HTML CUSTOM (type ".concat(ye,")")),void b(this,po,bo).call(this,t);w(this,ao).debug("rendering INTERSTITIAL HTML (type ".concat(ye,")")),n=oo(w(this,so).isOverlay?' ':' ',{"{PREVENT_CLICK_ATTR}":"".concat(Ce,'="1"')});break;default:w(this,ao).error("no such type of interstitial: ".concat(t.type))}var r=document.createElement("div");document.body.appendChild(r);var i=r.attachShadow({mode:"open"});if(i.innerHTML=oo(w(this,so).isOverlay?' ':' ',{"{GO_TO_BUTTON_TEXT}":w(this,so).texts.goToButton,"{GO_TO_BUTTON_LINK}":t.url,"{CLOSE_BUTTON_TEXT}":b(this,fo,go).call(this),"{CONTENT}":n,"{IMP_URL}":t.iurl}),t.type===ye){var o=i.getElementById("creative_iframe");o.contentWindow.contents=t.html,o.src='javascript:window["contents"]'}if(!w(this,so).disableCountdown&&w(this,so).moveTimerInsideButtonAfter>0){y(this,co,w(this,so).moveTimerInsideButtonAfter),i.getElementById("closeButton").innerHTML=b(this,fo,go).call(this);var s=U()((function(){var t;y(e,co,(t=w(e,co),--t)),i.getElementById("closeButton").innerHTML=b(e,fo,go).call(e),0===w(e,co)&&clearInterval(s)}),1e3)}i.getElementById("closeButton").addEventListener("click",(function(){w(e,co)>0||(w(e,ao).debug("close button click. remove modal host and do callback"),r.remove(),w(e,uo).call(e))}))}}]),t}();function go(){var t,e,n,r,i=_()(t=_()(e="".concat(w(this,so).texts.pleaseWait,": ")).call(e,w(this,co)," ")).call(t,w(this,so).texts.timePlural);return 1===w(this,co)&&(i=_()(n=_()(r="".concat(w(this,so).texts.pleaseWait,": ")).call(r,w(this,co)," ")).call(n,w(this,so).texts.timeSingle)),0===w(this,co)&&(i=w(this,so).disableCountdown?w(this,so).texts.xLabel:w(this,so).texts.skipAd),i}function bo(t){var e=this,n=(new DOMParser).parseFromString(t.html,"text/html").querySelector("script"),i=document.createElement("script");i.style.zIndex="2147483646",n.src?i.setAttribute("src",n.src):i.innerText=n.innerText;var o=function n(){w(e,ao).debug("CT-CLICK"),fetch(t.link,{mode:"no-cors"}),pt(document,"ct-click",n)};dt(document,"ct-click",o),dt(document,"ct-close",(function t(){w(e,ao).debug("CT-CLOSE"),pt(document,"ct-click",o),pt(document,"ct-close",t),document.body.removeChild(i),w(e,uo).call(e)}));var s=t.iurl;window[xe]&&(s+="&utsid=".concat(window[xe])),i.onload=r(k().mark((function t(){return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(s.toString(),{mode:"no-cors"});case 3:t.next=10;break;case 5:return t.prev=5,t.t0=t.catch(0),w(e,ao).debug(t.t0),w(e,ho)&&!w(e,lo).isAdbMode()&&(w(e,ao).debug("imp failed: try alt domain and path"),w(e,lo).enableAdbMode()),t.abrupt("return");case 10:document.dispatchEvent(new CustomEvent("impression-event"));case 11:case"end":return t.stop()}}),t,null,[[0,5]])}))),i.onerror=function(){w(e,ao).debug("custom html script failed to load"),w(e,uo).call(e,be)},document.body.appendChild(i)}var mo=vo,wo=5,yo=7200,xo=12,ko=new(D()),So=new(D()),To=new(D()),Oo=new(D()),Eo=new(D()),Io=new(D()),Ao=new(D()),Co=new(D()),Ro=new(D()),Po=new(D()),_o=new(D()),Lo=new(D()),zo=new(D()),jo=new(D()),Mo=new(D()),No=new(D()),Uo=new(D()),Bo=new(D()),Fo=new(D()),Ho=new(D()),Do=new(D()),Vo=new(D()),qo=new(q()),Go=new(q()),Wo=new(q()),Ko=new(q()),Zo=new(q()),Jo=new(q()),Xo=new(q());function Qo(){return $o.apply(this,arguments)}function $o(){return($o=r(k().mark((function t(){var e,n,r,i,o,s;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=b(this,Xo,is).call(this),t.prev=1,t.next=4,fetch(e);case 4:n=t.sent,t.next=15;break;case 7:if(t.prev=7,t.t0=t.catch(1),w(this,_o).error(t.t0),!w(this,Po)||w(this,Co).isAdbMode()){t.next=15;break}return w(this,_o).debug("fetch call failed. Switch to adblck domain and path"),w(this,Co).enableAdbMode(),b(this,qo,Qo).call(this),t.abrupt("return");case 15:if(204!==n.status){t.next=20;break}return w(this,_o).debug("no inventory! try bidding again after ".concat(w(this,No)," sec")),W()(Z()(r=b(this,qo,Qo)).call(r,this),1e3*w(this,No)),w(this,No)'.concat(w(this,Mo).html,"")),!w(this,Lo)&&w(this,zo).delay>0?(w(this,_o).debug("delay present. render after: ".concat(w(this,zo).delay," sec")),W()(Z()(s=b(this,Jo,rs)).call(s,this),1e3*w(this,zo).delay)):b(this,Jo,rs).call(this);case 39:case"end":return t.stop()}}),t,this,[[1,7]])})))).apply(this,arguments)}function Yo(t){w(this,_o).debug("fallback script str:",t);var e=(new DOMParser).parseFromString(t,"text/html").querySelector("script");if(e){w(this,_o).debug("fallback script:",e);var n,r=document.createElement("script"),i=bn(e.attributes);try{for(i.s();!(n=i.n()).done;){var o=n.value;r.setAttribute(o.name,o.value)}}catch(t){i.e(t)}finally{i.f()}r.src||(r.textContent=e.textContent),document.body.appendChild(r)}else w(this,_o).error("invalid fallback script. move on")}function ts(t){var e=JSON.parse(atob(t));w(this,_o).debug("hp data:",e);var n,r={zoneId:e.pop_zone_id.toString(),linkedZoneId:e.source_zone_id.toString()};e.attributes&&(e.attributes["element-list"]&&(r.targetElementsCssSelector=e.attributes["element-list"],r.triggerOnTargetElementsClick="allow"===e.attributes["element-action"]),e.attributes["country-list"]&&(r.targetCountries=io()(n=e.attributes["country-list"]).call(n).split(","),r.triggerOnTargetCountries="allow"===e.attributes["country-action"])),w(this,Co).runPop(r)}function es(){var t=this;if(w(this,zo).showOnInnerLinkClick&&w(this,Ho))return w(this,_o).debug("redirect to inner link"),void(window.location.href=w(this,Ho));y(this,Fo,!1),w(this,zo).refreshRate>0?(w(this,_o).debug("rebid after ".concat(w(this,zo).refreshRate," sec")),W()((function(){y(t,Lo,!0),b(t,qo,Qo).call(t)}),1e3*w(this,zo).refreshRate)):w(this,_o).debug("no rebidding. finish")}function ns(){for(var t=this,e=document.querySelectorAll("a"),n=new(R())(gt()).hostname,r=function(r){"href"in e[r]&&new(R())(e[r].href).hostname===n&&e[r].addEventListener("click",(function(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0,n.preventDefault?n.preventDefault():n.returnValue=!1,w(t,Fo)||(w(t,_o).debug("click on inner link detected. render ad"),y(t,Fo,!0),y(t,Ho,e[r].href),w(t,Bo).render(w(t,Mo)))}),{capture:!0})},i=0;i\n div[id^=\'note-\'] {\n font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;\n font-weight: 400;\n font-size: 16px;\n line-height: 1.3;\n position: fixed !important;\n right: 0;\n /* pure-css */\n letter-spacing: -0.31em;\n text-rendering: optimizespeed;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n -ms-flex-line-pack: start;\n align-content: flex-start;\n align-items: center;\n cursor: pointer;\n transition: padding-right 0.1s, top 0.3s;\n overflow: hidden;\n z-index: 2147483645;\n word-wrap: break-word;\n width: 380px;\n padding-top: 20px;\n }\n\n .note-inner { \n margin: 5px;\n border-radius: 55px; \n position: relative;\n background: '.concat(ls,";\n color: ")).call(w,"#ffffff"," !important;\n width: 70%;\n text-align: center;\n height: 100px;\n justify-content: center;\n display: flex;\n align-items: center;\n }\n\n div[id*='note-'] p, img.graph, div[id*='close-'] {\n display: inline-block;\n letter-spacing: normal;\n word-spacing: normal;\n vertical-align: middle;\n text-rendering: auto;\n text-align: center; \n } \n\n div[id*='note-'] p {\n width: 90%;\n padding: 2%;\n font-size: 0.9em\n }\n\n /* BUBBLE IMAGE */\n img.graph {\n width: 76px;\n height: 76px; \n box-sizing: border-box;\n border-radius: 50%; \n position: relative;\n margin-left: 2%;\n border: 4px solid ")).call(m,ls,";\n }\n\n /* CLOSE BUTTON */\n div[id^='close-'] {\n font-size: 20px;\n margin-top: 10px;\n z-index: 23;\n display: inline-block;\n width: 24px;\n height: 24px;\n background: transparent; \n text-align: center;\n color: #a6a0a7;\n }\n\n div[id^='close-']:hover {\n background: #a0a0ff;\n }\n\n .impression {\n display: none;\n width: 0px;\n height: 0px;\n }\n\n div[id*=\"missclick-\"] {\n right: 0;\n top: 0;\n height: 100%;\n /*margin-top: -30px;*/\n width: ")).call(b,a.widthOfMissclickArea,"px;\n z-index: 2;\n position: absolute !important;\n align-items: start;\n justify-content: center;\n display: flex;\n }\n\n @media all and (max-width: 380px) {\n div[id*='note-'] {\n width: 100%;\n }\n \n img.graph {\n margin-left: 2%;\n }\n }\n\n ")).call(g,a.closeButtonStyle,'\n\n \n
\n
\n

')).call(f,a.dataTitle,"
")).call(h,a.dataDescription,'

\n
\n graph\n
\n
\n
\n
\n '));var x=this.shadowRoot.getElementById("note-".concat(this.getAttribute("id"))),k=this.shadowRoot.getElementById("close-".concat(this.getAttribute("id"))),S=this.shadowRoot.getElementById("missclick-".concat(this.getAttribute("id")));if(this.hasAttribute("data-imp-link")){var T=this.getAttribute("data-imp-link");window[hs]&&(T+="&utsid=".concat(window[hs])),T+="&cbpage=".concat(encodeURIComponent(gt())),T+="&cbref=".concat(encodeURIComponent(kt()));var O=document.createElement("img");O.src=T.toString(),O.setAttribute("class","impression"),x.appendChild(O)}dt(x,"click",this.click),dt(k,"click",this.close),dt(S,"click",this.missclick)}}]),e}(us(HTMLElement)),ds=1e3,ps=2,vs=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement},gs=new(D()),bs=new(D()),ms=new(D()),ws=new(D()),ys=new(D()),xs=new(D()),ks=new(D()),Ss=new(D()),Ts=new(D()),Os=new(D()),Es=new(D()),Is=new(D()),As=new(q()),Cs=new(q()),Rs=new(q()),Ps=new(q()),_s=new(q()),Ls=new(q());function zs(){var t,e,n=_()(t="".concat(window.location.protocol,"//")).call(t,w(this,gs).adserverDomain,"/script/push.php");if(w(this,gs).adblockSettings&&w(this,ms).isAdbMode()){var r,i,o=w(this,gs).adblockSettings.adserverDomain,s="/".concat(Ht("abcdefgh0123456789"));n=_()(r=_()(i="".concat(window.location.protocol,"//")).call(i,o)).call(r,s)}return n+="?r=".concat(w(this,gs).zoneId,"&ipp=1"),y(this,ys,Bt?w(this,gs).renderPosMobile:w(this,gs).renderPosDesktop),n+=_()(e="&mads=".concat(w(this,gs).maxAds,"&position=")).call(e,w(this,ys)),w(this,gs).isAutoTag&&(n+="&czid=".concat(w(this,gs).collectiveZoneId,"&atag=1")),w(this,gs).aggressivity&&(n+="&aggr=".concat(w(this,gs).aggressivity)),w(this,gs).adblockSettings&&(n+="&abtg=1"),w(this,xs)&&(n+="&rbd=1"),w(this,gs).recordPageView&&(n+="&ppv=1"),w(this,gs).abTest&&(n+="&ab_test=".concat(w(this,gs).abTest)),w(this,gs).sub1&&(n+="&sub1=".concat(encodeURIComponent(w(this,gs).sub1))),w(this,gs).adblockSettings&&w(this,gs).adblockSettings.adbVersion&&(n+="&adbv=".concat(w(this,gs).adblockSettings.adbVersion)),n=n+"&srs=".concat(w(this,ms).getSesionRandomString())+"&ufp=".concat(encodeURIComponent(w(this,gs).uniqueFingerprint))+"&cbpage=".concat(encodeURIComponent(gt()))+"&atv=".concat(w(this,ks))+"&cbref=".concat(encodeURIComponent(kt())),w(this,ws)&&(n+=w(this,ws)),w(this,Ts)&&(n+="&ipptr=1"),w(this,gs).adblockSettings&&w(this,ms).isAdbMode()?(n+="&sadbl=2",n+="&fmt=ippg",w(this,bs).debug("bid url: ".concat(n)),Dt(n)):(w(this,bs).debug("bid url: ".concat(n)),n)}function js(){return Ms.apply(this,arguments)}function Ms(){return(Ms=r(k().mark((function t(){var e,n,r,i,o,s,a=this;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(b(this,Rs,Ns).call(this)>=w(this,gs).maxAds||!w(this,Os)||vs())){t.next=3;break}return w(this,gs).refreshRate>0&&(y(this,xs,!0),W()(Z()(e=b(this,Cs,js)).call(e,this),w(this,Es)*ds)),t.abrupt("return");case 3:return t.prev=3,t.next=6,fetch(b(this,As,zs).call(this));case 6:n=t.sent,t.next=18;break;case 9:if(t.prev=9,t.t0=t.catch(3),w(this,bs).error(t.t0),!w(this,gs).adblockSettings||w(this,Is)){t.next=18;break}return w(this,bs).debug("fetch call failed. Switch to adblck domain and path"),y(this,Is,!0),w(this,ms).enableAdbMode(),b(this,Cs,js).call(this),t.abrupt("return");case 18:if(204!==n.status){t.next=22;break}return w(this,bs).debug("unsold invertory!"),w(this,gs).refreshRate>0&&(w(this,bs).debug("refresh rate present. try bidding again after ".concat(w(this,Es)," sec")),y(this,xs,!0),W()(Z()(r=b(this,Cs,js)).call(r,this),w(this,Es)*ds),2*w(this,Es)<1200&&y(this,Es,2*w(this,Es))),t.abrupt("return");case 22:if(200!==n.status&&202!==n.status){t.next=28;break}return y(this,xs,!0),t.next=26,n.json();case 26:n=t.sent,w(this,bs).debug("response:",n);case 28:if(!n.fallback||!n.hp){t.next=31;break}return b(this,Ps,Us).call(this,n.fallback),t.abrupt("return");case 31:if(!n.fallback){t.next=34;break}return b(this,Ps,Us).call(this,n.fallback),t.abrupt("return");case 34:if(n.hp,!n.capped_ttl){t.next=39;break}return w(this,bs).debug("capped! try bidding again after ".concat(n.capped_ttl," sec")),W()(Z()(i=b(this,Cs,js)).call(i,this),n.capped_ttl*ds),t.abrupt("return");case 39:if(w(this,ws)&&(n.impression_url&&(n.impression_url+=w(this,ws)),n.click_url&&(n.click_url+=w(this,ws))),o={type:n.type||1,script:n.script||"",title:n.title||"",description:n.description||"",icon:n.icon||n.image,link:n.click_url,impressionLink:n.impression_url||null,capped_ttl:ct()(n.capped_ttl,10)||0},y(this,Es,w(this,gs).refreshRate),o.type!==ps||w(this,Ts)){t.next=50;break}return y(this,Ts,o),y(this,Os,!1),t.next=47,b(this,_s,Bs).call(this);case 47:W()((function(){y(a,Os,!0)}),w(this,Es)*ds),t.next=54;break;case 50:w(this,Ss).push(o),y(this,Os,!1),b(this,Ls,Hs).call(this),W()((function(){y(a,Os,!0)}),w(this,Es)*ds);case 54:w(this,gs).refreshRate>0&&(y(this,xs,!0),W()(Z()(s=b(this,Cs,js)).call(s,this),w(this,Es)*ds));case 55:case"end":return t.stop()}}),t,this,[[3,9]])})))).apply(this,arguments)}function Ns(){return w(this,Ts)?w(this,Ss).length+1:w(this,Ss).length}function Us(t){w(this,bs).debug("fallback script str decoded:",t);var e=(new DOMParser).parseFromString(t,"text/html").querySelector("script");if(!e)return w(this,bs).error("invalid fallback script. move on"),null;w(this,bs).debug("fallback script:",e);var n,r=document.createElement("script"),i=bn(e.attributes);try{for(i.s();!(n=i.n()).done;){var o=n.value;r.setAttribute(o.name,o.value)}}catch(t){i.e(t)}finally{i.f()}r.src||(r.textContent=e.textContent),document.body.appendChild(r)}function Bs(){return Fs.apply(this,arguments)}function Fs(){return(Fs=r(k().mark((function t(){var e,n,i,o,s,a,c=this;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=new DOMParser,n=e.parseFromString(w(this,Ts).script,"text/html").querySelector("script"),i=document.createElement("script"),n.src?i.setAttribute("src",n.src):i.innerText=n.innerText,o=function t(){var e;w(c,bs).debug("CT-CLICK"),fetch(w(c,Ts).link,{mode:"no-cors"}),document.removeEventListener("ct-click",t),W()(Z()(e=b(c,Cs,js)).call(e,c),1e3)},s=function t(){w(c,bs).debug("CT-CLOSE"),document.removeEventListener("ct-click",o),document.removeEventListener("ct-close",t),y(c,Ts,null),document.body.removeChild(i)},dt(document,"ct-click",o),dt(document,"ct-close",s),a=w(this,Ts).impressionLink,window[hs]&&(a+="&utsid=".concat(window[hs])),a+="&cbpage=".concat(encodeURIComponent(gt())),a+="&cbref=".concat(encodeURIComponent(kt())),i.onload=r(k().mark((function t(){return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(a.toString(),{mode:"no-cors"});case 3:t.next=10;break;case 5:return t.prev=5,t.t0=t.catch(0),w(c,bs).debug(t.t0),w(c,gs).adblockSettings&&!w(c,ms).isAdbMode()&&(w(c,bs).debug("imp failed: try alt domain and path"),w(c,ms).enableAdbMode()),t.abrupt("return");case 10:document.dispatchEvent(new CustomEvent("impression-event"));case 11:case"end":return t.stop()}}),t,null,[[0,5]])}))),i.onerror=function(){w(c,bs).debug("custom html script failed to load"),y(c,Ts,null)},document.body.appendChild(i);case 15:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}function Hs(){var t,e=this;w(this,bs).debug("drawing..");var n=document.querySelectorAll("in-page-message");if(n.length>0)for(var r=0;r0&&v<10&&(v<5?v*=60:v=30),new Ds({zoneId:n,refreshRate:null!==(e=v)&&void 0!==e?e:60,delay:null!=r?r:0,maxAds:null!=i?i:1,renderPosDesktop:null!=o?o:"top",renderPosMobile:null!=s?s:"top",offsetTop:null!=a?a:0,sub1:c,isAutoTag:u,collectiveZoneId:l,aggressivity:h,recordPageView:f,abTest:d,tagVersionSuffix:p,adserverDomain:w(this,ia),adblockSettings:w(this,oa),adcashGlobalName:w(this,sa),isLoadedAsPartOfLibrary:!0,uniqueFingerprint:w(this,ua)})}}},{key:"runBanner",value:function(t){var e=this;b(this,la,ba).call(this);var n=t.zoneId,r=t.width,i=t.height,o=t.renderIn,s=t.sub1;if(!n)throw new Error("mandatory zoneId is not provided!");if(!Qt(n))throw new Error("zoneId is not a string!");if(void 0!==r&&!Xt(r))throw new Error("Banner width is not an integer");if(void 0!==i&&!Xt(i))throw new Error("Banner height is not an integer");if(w(this,Ys).debug("loading banner on page",n),!o)var a=document.currentScript.parentElement;var c={adcashGlobalName:w(this,sa),zoneId:n,width:r,height:i,renderIn:o,currentElement:a,sub1:s,uniqueFingerprint:w(this,ua)};if(w(this,Zs).banner||w(this,ta)){if(window.Banner)return w(this,Qs).add(c.zoneId),void new Banner(c);var u=U()((function(){window.Banner&&(w(e,Qs).add(c.zoneId),new Banner(c),clearInterval(u))}),100)}else{var l;y(this,ta,!0);var h=document.createElement("script");h.type="text/javascript",h.src=_()(l="".concat(location.protocol,"//")).call(l,w(this,Ks),"/script/banner.js"),h.onload=function(){w(e,Zs).banner=!0,y(e,ta,!1),w(e,Qs).add(c.zoneId),new Banner(c)},h.onerror=function(){w(e,Zs).banner=!1,y(e,ta,!1),w(e,Ys).error("failed loading ".concat(h.src))},h.setAttribute("data-adel","ban"),h.setAttribute("a-lib","1"),document.head.appendChild(h)}}},{key:"runInterstitial",value:function(t){if(w(this,Zs).interstitial)w(this,Ys).error("interstitial zone already loaded on page");else{w(this,Zs).interstitial=!0,b(this,la,ba).call(this);var e=t.zoneId,n=t.sub1,r=t.isAutoTag,i=t.collectiveZoneId,o=t.aggressivity,s=t.recordPageView,a=t.abTest,c=t.tagVersionSuffix;if(!e)throw new Error("mandatory zoneId is not provided!");if(!Qt(e))throw new Error("zoneId is not a string!");w(this,Ys).debug("loading interstitial on page");var u={zoneId:e,sub1:n,isAutoTag:r,collectiveZoneId:i,aggressivity:o,recordPageView:s,abTest:a,tagVersionSuffix:c,adcashGlobalName:w(this,sa),adserverDomain:w(this,ia),adblockSettings:w(this,oa),isLoadedAsPartOfLibrary:!0,uniqueFingerprint:w(this,ua)};w(this,Qs).add(e),new os(u)}}},{key:"runAutoTag",value:(e=r(k().mark((function t(e){var n,r,i,o,s,a;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!w(this,Zs).autoTag){t.next=3;break}return w(this,Ys).error("autotag zone already loaded on page"),t.abrupt("return");case 3:if(w(this,Zs).autoTag=!0,b(this,la,ba).call(this),r=e.zoneId){t.next=8;break}throw new Error("mandatory zoneId is not provided!");case 8:if(Qt(r)){t.next=10;break}throw new Error("zoneId is not a string!");case 10:return t.next=12,b(this,va,ka).call(this,r);case 12:if(i=t.sent){t.next=16;break}return w(this,Ys).error("failed to fetch collective zone config! czid: ".concat(r)),t.abrupt("return");case 16:if(w(this,Ys).debug("collective zone config:",i),i.rotationList){t.next=38;break}w(this,Ys).debug("running in NORMAL MODE (no rotation)"),o=i.indexedFormats,s=!0,t.t0=F()(k()).call(k(),o);case 22:if((t.t1=t.t0()).done){t.next=37;break}a=t.t1.value,t.t2=a,t.next="suv4"===t.t2||"pop"===t.t2?27:"interstitial"===t.t2?29:"ippg"===t.t2?31:33;break;case 27:return this.runPop({zoneId:o[a].zoneId.toString(),targetElementsCssSelector:o[a]["element-list"],triggerOnTargetElementsClick:"allow"===o[a]["element-action"],targetCountries:o[a]["country-list"],triggerOnTargetCountries:"allow"===o[a]["country-action"],isAutoTag:!0,collectiveZoneId:r,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:s,tagVersionSuffix:e.tagVersionSuffix}),t.abrupt("break",34);case 29:return this.runInterstitial({zoneId:o[a].zoneId.toString(),isAutoTag:!0,collectiveZoneId:r,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:s,tagVersionSuffix:e.tagVersionSuffix}),t.abrupt("break",34);case 31:return this.runInPagePush({zoneId:o[a].zoneId.toString(),refreshRate:o[a].rr,delay:o[a].d,maxAds:o[a].mads,renderPosDesktop:o[a]["render-pos-desktop"],renderPosMobile:o[a]["render-pos-mobile"],offsetTop:o[a]["offset-top"],isAutoTag:!0,collectiveZoneId:r,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:s,tagVersionSuffix:e.tagVersionSuffix}),t.abrupt("break",34);case 33:w(this,Ys).error(_()(n="ad format type not recognised from collective zone config. adformat.type: ".concat(a,"; czid: ")).call(n,r));case 34:s=!1,t.next=22;break;case 37:return t.abrupt("return");case 38:w(this,Ys).debug("running in ROTATION MODE (rotation present)"),w(this,Qs).add(r),new Hr({adcashGlobalName:w(this,sa),collectiveZoneConfig:i,adserverDomain:w(this,ia),adblockSettings:w(this,oa),clientHintsQueryStr:w(this,Xs),tagVersionSuffix:e.tagVersionSuffix,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:w(this,ua)});case 41:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}();function ba(){b(this,ha,ma).call(this);var t=this,e=w(this,sa);window[e]=t,y(this,ea,U()((function(){window[e]&&window[e]===t||(window[e]=t)}),500))}function ma(){w(this,ea)&&(clearInterval(w(this,ea)),y(this,ea,null))}function wa(){var t;if(document.body){var e,n=document.createElement("a");n.style.display="none",n.style.visibility="hidden",n.style.position="relative",n.style.left="-1000px",n.style.top="-1000px";var r=w(this,ia);return w(this,oa)&&(r=w(this,oa).adserverDomain),n.href=_()(e="".concat(location.protocol,"//")).call(e,r,"/ad/visit.php?al=1"),void document.body.appendChild(n)}W()(Z()(t=b(this,fa,wa)).call(t,this),100)}function ya(){var t;if(document.body){var e,n,r,i=document.createElement("script");i.setAttribute("type","text/javascript"),i.setAttribute("data-adel","useng"),i.setAttribute("adcgn",w(this,sa));var o="/script/ut.js";return w(this,oa)&&(o=w(this,oa).ut.cdnPath,i.setAttribute("admn",w(this,oa).adserverDomain)),i.src=_()(e=_()(n=_()(r="".concat(location.protocol,"//")).call(r,w(this,Ks))).call(n,o,"?cb=")).call(e,(new Date).getTime()),void document.body.appendChild(i)}W()(Z()(t=b(this,da,ya)).call(t,this),100)}function xa(){var t;if(document.head){var e=new(T())([w(this,Ks),w(this,ia)]);return w(this,oa)&&e.add(w(this,oa).adserverDomain),e=M()(e),w(this,Ys).debug("prefetch domains:",e),void E()(e).call(e,(function(t){var e=document.createElement("link");e.rel="dns-prefetch",e.href="//".concat(t),document.head.appendChild(e)}))}W()(Z()(t=b(this,pa,xa)).call(t,this),100)}function ka(t){return Sa.apply(this,arguments)}function Sa(){return Sa=r(k().mark((function t(e){var n,r,i,o,s,a,c,u,l=arguments;return k().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=!(l.length>1&&void 0!==l[1])||l[1],w(this,Ys).debug("fetch collective zone config"),i=_()(n="".concat(window.location.protocol,"//")).call(n,w(this,ia),"/ad/czcf.php"),this.isAdbMode()&&(a="/".concat(Ht("abcdefgh0123456789")),i=_()(o=_()(s="".concat(window.location.protocol,"//")).call(s,w(this,oa).adserverDomain)).call(o,a)),i+="?cz=".concat(e),t.next=7,this.getClientHints();case 7:return(c=t.sent)&&(i+=c),this.isAdbMode()&&(i+="&sadbl=2",i=Dt(i+="&fmt=atg")),w(this,Ys).debug("collective zone config url: ",i),t.prev=11,t.next=14,fetch(i);case 14:u=t.sent,t.next=25;break;case 17:if(t.prev=17,t.t0=t.catch(11),w(this,Ys).error(t.t0),!w(this,oa)||!r){t.next=24;break}return w(this,Ys).debug("collective zone config fetch failed: try alt domain and path"),this.enableAdbMode(),t.abrupt("return",b(this,va,ka).call(this,e,!1));case 24:return t.abrupt("return",null);case 25:if(200===u.status){t.next=27;break}return t.abrupt("return",null);case 27:return t.abrupt("return",u.json());case 28:case"end":return t.stop()}}),t,this,[[11,17]])}))),Sa.apply(this,arguments)}var Ta=ga,Oa=new it("aclib_adblock_index");window.Adcash?Oa.debug("lib already on page. exit"):(Oa.debug("load lib on page"),window.Adcash=Ta,window.AtcshAltNm=Ta,window.aclib=new Ta)}()}(); Arquivos coreldraw technical suite 2022 full - SkyNET Downloads & Tutoriais

coreldraw technical suite 2022 full

error: Conteudo Protegido contra Cópia!