vietbunny - EroThots (2024)

':G&&D&&!M&&W>63&&(t="googlechrome://"+t.replace(/(^\w+:|^)\/\//,"")),e}#j(){var t;const e={zoneId:this.#e.zoneId,callback:v()(t=this.#z).call(t,this)};et&&it&&(this.#i.debug("subscribe to scroll"),this.#s.subscribe("scroll",e)),et||(this.#i.debug("subscribe to mousedown"),this.#s.subscribe("mousedown",e,this.#E)),this.#i.debug("subscribe to click"),this.#s.subscribe("click",e,this.#E)}#V(){et&&it&&(this.#i.debug("unsubscribe from scroll"),this.#s.unsubscribe("scroll",this.#e.zoneId)),et||(this.#i.debug("unsubscribe from mousedown"),this.#s.unsubscribe("mousedown",this.#e.zoneId,this.#E)),this.#i.debug("unsubscribe from click"),this.#s.unsubscribe("click",this.#e.zoneId,this.#E)}},Gt=class{constructor(t){this.key=t}isStatePresent(){return null!==window.localStorage.getItem(this.key)}getState(){return JSON.parse(window.localStorage.getItem(this.key))}setState(t){window.localStorage.setItem(this.key,o()(t))}removeState(){window.localStorage.removeItem(this.key)}},Zt=class{#i;#s;#W=null;#q=null;#u;#G=[];#Z=0;#Q=null;#K=1;#J=0;#Y=!1;constructor(t){var e,i;const{adcashGlobalName:n,collectiveZoneConfig:r,adserverDomain:s,adblockSettings:o,clientHintsQueryStr:a,tagVersionSuffix:c,isLoadedAsPartOfLibrary:l,uniqueFingerprint:d}=t,{collectiveZoneId:u}=r;this.#i=new y(`atag_${u}`),this.#s=window[t.adcashGlobalName],this.#G=r.rotationList,this.#i.debug("init autotag with config:",t);const h=r.indexedFormats;let g=!0;for(const t in h){const f=h[t];switch(t){case"ippg":this.#s.runInPagePush({zoneId:f.zoneId.toString(),refreshRate:f.rr,delay:f.d,maxAds:f.mads,renderPosDesktop:f["render-pos-desktop"],renderPosMobile:f["render-pos-mobile"],offsetTop:f["offset-top"],isAutoTag:!0,collectiveZoneId:u,aggressivity:r.aggressivity,abTest:r.ab_test,recordPageView:g,tagVersionSuffix:c});break;case"suv4":case"pop":this.#q=new qt({zoneId:f.zoneId.toString(),targetElementsCssSelector:f["element-list"],triggerOnTargetElementsClick:"allow"===f["element-action"],targetCountries:f["country-list"],triggerOnTargetCountries:"allow"===f["country-action"],adblockSettings:o,adserverDomain:s,adcashGlobalName:n,clientHintsQueryStr:a,collectiveZoneId:u,aggressivity:r.aggressivity,adsCapping:r.adsCapping,abTest:r.ab_test,recordPageView:g,actionCallback:v()(e=this.actionCallback).call(e,this),tagVersionSuffix:c,isLoadedAsPartOfLibrary:l,uniqueFingerprint:d});break;case"interstitial":this.#W=new Mt({zoneId:f.zoneId,isFullscreen:0===f.overlay,adblockSettings:o,adserverDomain:s,adcashGlobalName:n,clientHintsQueryStr:a,collectiveZoneId:u,aggressivity:r.aggressivity,adsCapping:r.adsCapping,abTest:r.ab_test,recordPageView:g,actionCallback:v()(i=this.actionCallback).call(i,this),tagVersionSuffix:c,isLoadedAsPartOfLibrary:l,uniqueFingerprint:d});break;default:this.#i.error(`ad format type not recognised from collective zone config. adformat.type: ${t}; czid: ${czid}`)}}this.localStorageService=new Gt(`atg_${u}`);const f=this.localStorageService.getState();f&&f.adbExpiresAt>bt()()&&this.#s.enableAdbMode(),f&&f.expiresAt>bt()()?(this.#i.debug("previous session present:",f),this.#K=f.shownAdsCounter,this.#J=f.iterationCounter,this.#Z=f.currentAdIndex,f.isInterstitialBeingShown?this.#X():(this.#Q=this.#G[this.#Z],this.#tt())):(this.#Q=this.#G[this.#Z],this.#tt())}actionCallback(t){this.#i.debug("ACTION CALLBACK type:",t),t===xt?this.#Y=!1:this.#K++;const e=this.#Q.rotationInterval;var i;this.#et(),this.#it(),t===At?this.#i.debug("tabswap, move to next and store session"):(this.#i.debug(`show next ad after ${e} sec`),f()(v()(i=this.#tt).call(i,this),1e3*e))}#it(){const t={shownAdsCounter:this.#K,iterationCounter:this.#J,currentAdIndex:this.#Z,isInterstitialBeingShown:this.#Y,expiresAt:bt()()+6e5,adbExpiresAt:this.#s.isAdbMode()?bt()()+Vt:0};this.#i.debug("store session state",t),this.localStorageService.setState(t)}#nt(){if(!this.#Q.apply)return!1;switch(this.#Q.apply){case"1st":return!(0===this.#J);case"odd":return!(this.#J%2==1);case"even":return!(this.#J%2==0);default:return!1}}#et(){this.#Z===this.#G.length-1?(this.#Z=0,this.#J++):this.#Z++,this.#Q=this.#G[this.#Z],this.#i.debug("set current ad to next on list. current ad is set to:",this.#Q)}#X(){this.#i.debug("show next ad"),this.#et(),this.#it(),this.#tt()}#tt(){if(this.#nt())return this.#i.debug(`skipping ad at index: ${this.#Z} due to apply rule`),void this.#X();switch(this.#Q.type){case"interstitial":var t;if(this.#W.isCapped||this.#W.hasNoInventory)return void f()(v()(t=this.#X).call(t,this),1e3);this.#i.debug("showing interstitial"),this.#W.show(this.#K),this.#Y=!0,this.#K++,this.#it();break;case"pop":var e;if(this.#q.isCapped||this.#q.hasNoInventory)return void f()(v()(e=this.#X).call(e,this),1e3);this.#i.debug("showing pop"),this.#q.show(this.#K);break;default:throw Error(`rotation list element type '${this.#Q.type}' not recognised`)}}},Qt=i(8333),Kt=i.n(Qt);const Jt=function(){this.element===window?(this.divOverlay.style.width=`${window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}px`,this.divOverlay.style.height=`${window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}px`):(this.divOverlay.style.top=`${this.element.offsetTop}px`,this.divOverlay.style.left=`${this.element.offsetLeft}px`,this.divOverlay.style.width=`${this.element.offsetWidth}px`,this.divOverlay.style.height=`${this.element.offsetHeight}px`,this.divOverlay.style.zIndex=zt)};var Yt=class{observer=null;iframesToOverlays=[];videosToOverlays=[];anchorsToOverlays=[];fullOverlay=null;overlaysResizeIntervalChecker=null;adUrl="";isTabSwap=!1;modifyBodyObserver=!0;#i;#l;#E=!1;constructor(t,e,i,n,r,s){this.elementTargeting=t,this.desktopClickListener=e,this.mobileClickListener=i,this.#i=n,this.#l=r,this.#E=s}setOverlaysResizeIntervalChecker(){this.overlaysResizeIntervalChecker=d()((()=>{var t,e,i;const n=(t,e)=>{try{const i=e.getBoundingClientRect();t.style.top=`${i.top+window.scrollY}px`,t.style.left=`${i.left+window.scrollX}px`,t.style.width=`${i.width}px`,t.style.height=`${i.height}px`}catch(t){}};r()(t=this.anchorsToOverlays).call(t,(t=>{let{overlay:e,anchor:i}=t;return n(e,i)})),r()(e=this.iframesToOverlays).call(e,(t=>{let{overlay:e,iframe:i}=t;return n(e,i)})),r()(i=this.videosToOverlays).call(i,(t=>{let{overlay:e,video:i}=t;return n(e,i)}))}),500)}clearOverlaysResizeIntervalChecker(){try{clearInterval(this.overlaysResizeIntervalChecker)}catch(t){}}#rt(){const t=document.createElement("a");return t.setAttribute("href",this.adUrl),t.setAttribute("target","_blank"),t.setAttribute("rel","noopener noreferrer"),t.innerText="",t.addEventListener("click",(t=>{this.#i.debug("click on overlay is mobile no tabswap no capture"),t.stopPropagation(),this.mobileClickListener(t)})),t}#st(){const t=document.createElement("div");return t.addEventListener("mousedown",(t=>{this.#i.debug("mousedown on overlay"),this.desktopClickListener(t)}),this.#E),t.addEventListener("click",(t=>{this.#i.debug("click on overlay"),this.desktopClickListener(t)}),this.#E),t}#R(t){let e;const i=t===document.body;if(e=et&&i&&!this.isTabSwap?this.#rt():this.#st(),i)e.id=Ft,e.style.top="0px",e.style.left="0px",e.style.width=`${window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}px`,e.style.height=`${window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}px`,e.style.position="fixed";else{const i=t.getBoundingClientRect();e.style.top=`${i.top+window.scrollY}px`,e.style.left=`${i.left+window.scrollX}px`,e.style.width=`${i.width}px`,e.style.height=`${i.height}px`,e.style.position="absolute",e.setAttribute(Ut,"")}return e.setAttribute(Bt,this.#l),e.style.zIndex=this.#ot(t).toString(),e.style.backgroundColor="transparent",document.body.appendChild(e),e}attachVideoOverlays(){const t=document.querySelectorAll("video");for(let e=0;e{const t=this.#R(document.body);if(H||(I(window,"resize",v()(Jt).call(Jt,{divOverlay:t,element:window})),I(document.body,"resize",v()(Jt).call(Jt,{divOverlay:t,element:window}))),this.fullOverlay=t,this.modifyBodyObserver)try{this.#at()}catch(t){this.#i.error(t)}};clearFullOverlay(){this.#i.debug("clear full overlay"),this.fullOverlay?(this.modifyBodyObserver&&this.#ct(),H||(E(window,Jt),E(document.body,Jt)),this.fullOverlay.parentNode.removeChild(this.fullOverlay),this.fullOverlay=null):this.#i.debug("no overlay to clear")}reattachFullOverlay(){this.modifyBodyObserver=!1,this.clearFullOverlay(),this.attachFullOverlay(),this.modifyBodyObserver=!0}#ot(t){if(t!==document.body&&this.elementTargeting.isPresent()&&!this.elementTargeting.shouldTriggerPopOnTargetClick){const e=window.getComputedStyle(t);let i=A()(e.zIndex,10);return Kt()(i)?i=1:i+=1,i}return zt}#at(){this.observer=new MutationObserver((t=>{for(let e=0;e=1&&i.addedNodes[t].id!==Ft&&!i.addedNodes[t].hasAttribute("dontfo")&&!i.addedNodes[t].hasAttribute(Ut))return this.#i.debug("observed element",i.addedNodes[t],"with zIndex value larger or equal to our full body overlay. reattaching full body overlay"),void this.reattachFullOverlay()}})),this.observer.observe(document.documentElement,{attributes:!1,childList:!0,subtree:!0})}#ct(){this.observer&&this.observer.disconnect(),this.observer=null}},Xt=class{targetElementsCssSelector=null;shouldTriggerPopOnTargetClick=!1;#lt=!1;constructor(t,e,i){this.targetElementsCssSelector=t,this.shouldTriggerPopOnTargetClick=e,this.zoneId=i}isPresent(){return!!this.targetElementsCssSelector}preventClickOnInterstitialAndBanner(){this.#lt=!0}isActionAllowedOnElement(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(t.hasAttribute(Bt))return t.getAttribute(Bt)===this.zoneId;if(t.hasAttribute("doskip"))return"1"===t.getAttribute(Nt)&&!this.#lt;0===e.length&&(e=m()(document.querySelectorAll('[doskip*="1"]')));for(const i of e)if(i.contains(t))return"1"===t.getAttribute(Nt)&&!this.#lt;if(this.isPresent()){0===i.length&&(i=document.querySelectorAll(this.targetElementsCssSelector));for(let e=0;ebt()()&&this.#s.enableAdbMode();const r=bt()();if(n&&n.renderAfterTimestamp>r){var s;const t=n.renderAfterTimestamp-r;this.#i.debug(`previous state present. bid after ${t/1e3} sec`),f()(v()(s=this.#ht).call(s,this),t)}else this.#ht()}async#T(){const t=await this.#s.getClientHints(!1);let e=`${window.location.protocol}//${this.#e.adserverDomain}/script/suurl5.php`;if(this.#e.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#e.adblockSettings,i=`/${nt("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${i}`}if(e+=`?r=${this.#e.zoneId}`,this.#m&&(e+="&rbd=1"),this.#e.targetCountries){const t=this.#e.targetCountries.join(",");this.#e.triggerOnTargetCountries?e+="&allowed_countries="+encodeURIComponent(t):e+="&excluded_countries="+encodeURIComponent(t)}return e=e+t+"&cbur="+Math.random()+"&cbiframe="+$()+"&cbWidth="+F()+"&cbHeight="+U()+"&cbtitle="+encodeURIComponent(B())+"&cbpage="+encodeURIComponent(P())+"&cbref="+encodeURIComponent(N())+"&cbdescription="+encodeURIComponent(j("description"))+"&cbkeywords="+encodeURIComponent(j("keywords"))+"&cbcdn="+encodeURIComponent(this.#s.getCdnDomain())+"&ufp="+encodeURIComponent(this.#e.uniqueFingerprint)+"&ts="+bt()()+"&srs="+this.#s.getSesionRandomString()+"&atv="+this.#x,this.#e.sub1&&(e+=`&sub1=${encodeURIComponent(this.#e.sub1)}`),this.#e.sub2&&(e+=`&sub2=${encodeURIComponent(this.#e.sub2)}`),this.#e.publisherUrl&&(e+=`&pu=${encodeURIComponent(this.#e.publisherUrl)}`),this.#e.storeUrl&&(e+=`&storeurl=${encodeURIComponent(this.#e.storeUrl)}`),this.#e.c1&&(e+=`&c1=${encodeURIComponent(this.#e.c1)}`),this.#e.c2&&(e+=`&c2=${encodeURIComponent(this.#e.c2)}`),this.#e.c3&&(e+=`&c3=${encodeURIComponent(this.#e.c3)}`),this.#e.pubHash&&(e+=`&pub_hash=${encodeURIComponent(this.#e.pubHash)}`),this.#e.pubClickId&&(e+=`&pub_clickid=${encodeURIComponent(this.#e.pubClickId)}`),this.#e.pubValue&&(e+=`&pub_value=${encodeURIComponent(this.#e.pubValue)}`),this.#e.fallbackOn&&(e+=`&fallbackon=${encodeURIComponent(this.#e.fallbackOn)}`),this.#e.adblockSettings&&(e+="&abtg=1"),this.#e.isAutoTag&&(e+="&atag=1"),this.#e.aggressivity&&(e+=`&aggr=${this.#e.aggressivity}`),this.#e.collectiveZoneId&&(e+=`&czid=${this.#e.collectiveZoneId}`),this.#e.recordPageView&&(e+="&ppv=1"),this.#e.linkedZoneId&&(e+=`&pblcz=${this.#e.linkedZoneId}`),this.#e.abTest&&(e+=`&ab_test=${this.#e.abTest}`),this.#e.adblockSettings&&this.#e.adblockSettings.adbVersion&&(e+=`&adbv=${this.#e.adblockSettings.adbVersion}`),this.#e.adblockSettings&&this.#s.isAdbMode()?(e+="&sadbl=2",e+="&fmt=suv5",this.#i.debug(`bid url: ${e}`),rt(e)):(this.#i.debug(`bid url: ${e}`),e)}#U(t){try{let e=this.#L?this.#L(""):window.open("");return e.document.open(),e.document.writeln('

':G&&D&&!M&&W>63&&(t="googlechrome://"+t.replace(/(^\w+:|^)\/\//,"")),e}#z(t){if(this.#i.debug(`showAdClickListener triggered by event type ${t.type} on ${t.target.tagName}`),!t.isTrusted)return void this.#i.debug(`${t.type} on ${t.target.tagName}: pop rejected: event is not trusted`);if(!this.#y)return void this.#i.debug(`${t.type} on ${t.target.tagName}: pop rejected: current pop has no ad loaded`);if(this.#P)return void this.#i.debug(`${t.type} on ${t.target.tagName}: pop rejected: current pop is locked`);if(this.#s.isShowingPop)return void this.#i.debug(`${t.type} on ${t.target.tagName}: pop rejected: another pop is being currently shown`);const e=m()(document.querySelectorAll('[doskip*="1"]'));let i=[];if(this.elementTargeting.isPresent()){i=document.querySelectorAll(this.elementTargeting.targetElementsCssSelector),this.#i.debug("event coordinates:",t.clientX,t.clientY);const n=document.elementsFromPoint(t.clientX,t.clientY);let r=!1;for(let s=0;s{this.#L?t(this.#L(this.#y.url,"_blank","noopener,noreferrer")):t(window.open(this.#y.url,"_blank","noopener,noreferrer"))}))]).then((()=>{this.#bt()}));this.#L?this.#L(this.#y.url,"_blank","noopener,noreferrer"):window.open(this.#y.url,"_blank","noopener,noreferrer"),f()((()=>{this.#$="hidden"===document.visibilityState||!document.hasFocus(),this.#D().finally((()=>{this.#bt()}))}),100)}}#ut(t){this.#i.debug(`showAdMobileClickListener triggered by event type ${t.type} on`,t.target.tagName),t.isTrusted?this.#y?this.#P?this.#i.debug("pop rejected: current pop is locked"):this.#s.isShowingPop?this.#i.debug("pop rejected: another pop is being currently shown"):this.elementTargeting.isActionAllowedOnElement(t.target)?(this.#s.isShowingPop=!0,this.#P=!0,this.#i.debug("triggering pop"),this.#$=!0,this.#D().finally((()=>{this.#bt()}))):this.#i.debug("pop rejected: action not allowed on element",t.target):this.#i.debug("pop rejected: current pop has no ad loaded"):this.#i.debug("pop rejected: event is not trusted")}async#D(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const e=await this.#s.getClientHints(!1);this.#i.debug("window opened:",this.#$);let i=this.#y.impressionUrl+"&wo="+(this.#$?"1":"0");if(window["utsid-send"]&&(i+=`&utsid=${window["utsid-send"]}`),t>0&&(this.#i.debug(`retry impression. Attempt ${t}`),i+=`&rtry=${t}`),i=i+e+"&cbpage="+encodeURIComponent(P())+"&cbref="+encodeURIComponent(N()),this.#i.debug("send impression. url:",i),st){this.#i.debug("keepalive supported!");let e=null,n=!1;try{e=await fetch(i,{keepalive:!0})}catch(t){if(this.#i.error(t),this.#e.adblockSettings&&!this.#s.isAdbMode())return this.#i.debug("imp failed: try alt domain and path"),void this.#s.enableAdbMode();n=!0}if(e&&!e.ok||n)return void(t<4&&(await this.#D(t+1),document.dispatchEvent(new CustomEvent("impression-retry-event"))))}else navigator.sendBeacon?(this.#i.debug("keepalive NOT supported! use sendBeacon"),navigator.sendBeacon(i)):(this.#i.debug("keepalive NOT supported! use image.src"),(new Image).src=i);document.dispatchEvent(new CustomEvent("impression-event"))}#bt(){this.#i.debug("clear any overlays present"),this.overlays.clearFullOverlay(),this.overlays.clearOverlaysResizeIntervalChecker(),this.overlays.clearIframeOverlays(),this.overlays.clearVideoOverlays(),this.#V(),this.#s.isShowingPop=!1;const t=this.#e.refreshRate??this.#y.refreshRate;this.#i.debug("refreshRate time is",t),this.#y=null,t&&t>0&&f()((()=>{this.#i.debug("refreshRate time has passed. Rebid"),this.#m=!0,this.#ht()}),1e3*t)}#M(){return"type"in this.#y&&"tabswap"===this.#y.type}#H(){this.#i.debug("do tabswap"),this.localStorage.setState({renderAfterTimestamp:bt()()+1e3*this.#ft(),adbExpiresAt:this.#s.isAdbMode()?bt()()+Vt:0});const t=this.#y.url;this.#L?this.#L(window.location.href,"_blank","noreferrer"):window.open(window.location.href,"_blank","noreferrer"),this.#$=!0,this.#D().finally((()=>{f()((()=>{const e=document.createElement("a");e.href=t,e.rel="noopener noreferrer",document.body.appendChild(e),e.click(),document.body.removeChild(e)}),50)}))}#j(){var t;const e={zoneId:this.#e.zoneId,callback:v()(t=this.#z).call(t,this)};et&&it&&(this.#i.debug("subscribe to scroll"),this.#s.subscribe("scroll",e)),et||(this.#i.debug("subscribe to mousedown"),this.#s.subscribe("mousedown",e,this.#E)),this.#i.debug("subscribe to click"),this.#s.subscribe("click",e,this.#E)}#V(){et&&it&&(this.#i.debug("unsubscribe from scroll"),this.#s.unsubscribe("scroll",this.#e.zoneId)),et||(this.#i.debug("unsubscribe from mousedown"),this.#s.unsubscribe("mousedown",this.#e.zoneId,this.#E)),this.#i.debug("unsubscribe from click"),this.#s.unsubscribe("click",this.#e.zoneId,this.#E)}},ee=i(2243),ie=i.n(ee),ne=class{#e={};#i=null;#n=0;#r;#s;#o;constructor(t,e,i,n,r){this.#e=t,this.#i=i,this.#n=0,this.#r=e,this.#s=n,this.#o=r}render(t){let e=null;switch(t.type){case 1:this.#i.debug(`rendering INTERSTITIAL IFRAME (type 1) in ${this.#e.isOverlay?"OVERLAY":"FULLSCREEN"} mode`),e=this.#e.isOverlay?Tt(t.url):Rt(t.url);break;case 3:this.#i.debug(`rendering INTERSTITIAL IMAGE (type 3) in ${this.#e.isOverlay?"OVERLAY":"FULLSCREEN"} mode`),e=this.#e.isOverlay?Ot(t.url,t.ad.url,t.ad.width,t.ad.height):Pt(t.url,t.ad.url,t.ad.width,t.ad.height);break;case 4:if(t.isHtmlTemplate)return this.#i.debug("rendering INTERSTITIAL HTML CUSTOM (type 4)"),void this.#a(t);this.#i.debug(`rendering INTERSTITIAL HTML (type 4) in ${this.#e.isOverlay?"OVERLAY":"FULLSCREEN"} mode`),e=this.#e.isOverlay?It(Nt):$t(Nt);break;default:return void this.#i.error(`no such type of interstitial: ${t.type}`)}const i=document.createElement("div");document.body.appendChild(i);const n=i.attachShadow({mode:"open"}),r=this.#e.isOverlay?Ct:Et;if(n.appendChild(r(this.#e.texts.goToButton,t.url,this.#c(),e.content,t.iurl)),4===t.type){const e=n.getElementById("creative_iframe");e.contentWindow.contents=t.html,e.src='javascript:window["contents"]'}if(!this.#e.disableCountdown&&this.#e.moveTimerInsideButtonAfter>0){this.#n=this.#e.moveTimerInsideButtonAfter,n.getElementById("closeButton").innerHTML=this.#c();const t=d()((()=>{this.#n--,n.getElementById("closeButton").innerHTML=this.#c(),0===this.#n&&clearInterval(t)}),1e3)}n.getElementById("closeButton").addEventListener("click",(()=>{this.#n>0||(this.#i.debug("close button click. remove modal host, resize listener if present and do callback"),i.remove(),e.resizeFunc&&window.removeEventListener("resize",e.resizeFunc),this.#r())}))}#c(){let t=`${this.#e.texts.pleaseWait}: ${this.#n} ${this.#e.texts.timePlural}`;return 1===this.#n&&(t=`${this.#e.texts.pleaseWait}: ${this.#n} ${this.#e.texts.timeSingle}`),0===this.#n&&(t=this.#e.disableCountdown?this.#e.texts.xLabel:this.#e.texts.skipAd),t}#a(t){const e=(new DOMParser).parseFromString(t.html,"text/html").querySelector("script"),i=document.createElement("script");i.style.zIndex="2147483646",e.src?i.setAttribute("src",e.src):i.innerText=e.innerText;const n=()=>{this.#i.debug("CT-CLICK"),fetch(t.link,{mode:"no-cors"}),E(document,"ct-click",n)},r=()=>{this.#i.debug("CT-CLOSE"),E(document,"ct-click",n),E(document,"ct-close",r),document.body.removeChild(i),this.#r()};I(document,"ct-click",n),I(document,"ct-close",r);let s=t.iurl;window[St]&&(s+=`&utsid=${window[St]}`),i.onload=async()=>{try{await fetch(s.toString())}catch(t){return this.#i.debug(t),void(this.#o&&!this.#s.isAdbMode()&&(this.#i.debug("imp failed: try alt domain and path"),this.#s.enableAdbMode()))}document.dispatchEvent(new CustomEvent("impression-event"))},i.onerror=()=>{this.#i.debug("custom html script failed to load"),this.#r(xt)},document.body.appendChild(i)}},re=class{#l;#mt;#yt;#u;#h;#g;#p;#s;#v;#o;#i;#m=!1;#e={};#b;#y=null;#w=12;#x="52.8";#k=null;#wt=!1;#xt="";#S=!1;#C;constructor(t){this.#i=new y(`interstitial_${t.zoneId}`),this.#i.debug("init interstitial with config:",t),this.#l=t.zoneId,this.#yt=t.isAutoTag,this.#u=t.collectiveZoneId,this.#h=t.aggressivity,this.#g=t.recordPageView,this.#p=t.abTest,this.#s=window[t.adcashGlobalName],this.#v=t.adserverDomain,this.#o=t.adblockSettings,this.#mt=t.sub1,this.#S=t.isLoadedAsPartOfLibrary,this.#C=t.uniqueFingerprint,t.tagVersionSuffix&&(this.#x+=t.tagVersionSuffix),this.#s.getClientHints(!1).then((t=>{this.#b=t,this.#ht()}))}async#ht(){const t=this.#T();let e;try{e=await fetch(t)}catch(t){if(this.#i.error(t),this.#o&&!this.#s.isAdbMode())return this.#i.debug("fetch call failed. Switch to adblck domain and path"),this.#s.enableAdbMode(),void this.#ht()}var i,n,r,s;return 204===e.status?(this.#i.debug(`no inventory! try bidding again after ${this.#w} sec`),f()(v()(i=this.#ht).call(i,this),1e3*this.#w),void(this.#w<7200&&(this.#w*=5))):(200!==e.status&&202!==e.status||(e=await e.json(),this.#i.debug("response:",e)),this.#w=12,e.hp&&this.#kt(e.hp),e.capped_ttl?(this.#i.debug(`capped! try bidding again after ${e.capped_ttl} sec`),void f()(v()(n=this.#ht).call(n,this),1e3*e.capped_ttl)):e.fallback?(this.#i.debug("render fallback and exit"),void this.#At(e.fallback)):(this.#m?this.#y=e:(this.#i.debug("initial request. configure"),this.#e={moveTimerInsideButtonAfter:e.moveTimerInsideButtonAfter,delay:e.delay,refreshRate:e.refreshRate,isOverlay:e.isOverlay,disableCountdown:e.disableCountdown,texts:e.texts,showOnInnerLinkClick:e.showOnInnerLinkClick},this.#y=e.adPayload,this.#k=new ne(this.#e,v()(r=this.#r).call(r,this),this.#i,this.#s,this.#o)),this.#b&&(this.#y.url+=this.#b,this.#y.iurl+=this.#b),4===this.#y.type&&this.#y.html&&(this.#y.html=`${this.#y.html}

`),void(!this.#m&&this.#e.delay>0?(this.#i.debug(`delay present. render after: ${this.#e.delay} sec`),f()(v()(s=this.#O).call(s,this),1e3*this.#e.delay)):this.#O())))}#At(t){this.#i.debug("fallback script str:",t);const e=(new DOMParser).parseFromString(t,"text/html").querySelector("script");if(!e)return void this.#i.error("invalid fallback script. move on");this.#i.debug("fallback script:",e);const i=document.createElement("script");for(const t of e.attributes)i.setAttribute(t.name,t.value);i.src||(i.textContent=e.textContent),document.body.appendChild(i)}#kt(t){const e=JSON.parse(atob(t));this.#i.debug("hp data:",e);const i={zoneId:e.pop_zone_id.toString(),linkedZoneId:e.source_zone_id.toString()};var n;e.attributes&&(e.attributes["element-list"]&&(i.targetElementsCssSelector=e.attributes["element-list"],i.triggerOnTargetElementsClick="allow"===e.attributes["element-action"]),e.attributes["country-list"]&&(i.targetCountries=ie()(n=e.attributes["country-list"]).call(n).split(","),i.triggerOnTargetCountries="allow"===e.attributes["country-action"])),this.#s.runPop(i)}#r(){if(this.#e.showOnInnerLinkClick&&this.#xt)return this.#i.debug("redirect to inner link"),void(window.location.href=this.#xt);this.#wt=!1,this.#e.refreshRate>0?(this.#i.debug(`rebid after ${this.#e.refreshRate} sec`),f()((()=>{this.#m=!0,this.#ht()}),1e3*this.#e.refreshRate)):this.#i.debug("no rebidding. finish")}#St(){const t=document.querySelectorAll("a"),e=new(c())(P()).hostname;for(let i=0;i{e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,e.preventDefault?e.preventDefault():e.returnValue=!1,this.#wt||(this.#i.debug("click on inner link detected. render ad"),this.#wt=!0,this.#xt=t[i].href,this.#k.render(this.#y))}),{capture:!0})}#O(){this.#i.debug("render"),this.#e.showOnInnerLinkClick?(this.#i.debug("google friendly interstitial. ad will be rendered on inner link click"),this.#St()):this.#k.render(this.#y)}#T(){let t=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#o,i=`/${nt("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${i}`}return t+=`?r=${this.#l}`,this.#m&&(t+="&rbd=1"),this.#b&&(t+=this.#b),t=t+`&srs=${this.#s.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#C)}`+`&cbpage=${encodeURIComponent(P())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(N())}`,this.#mt&&(t+=`&sub1=${encodeURIComponent(this.#mt)}`),this.#yt&&(t+="&atag=1"),this.#u&&(t+=`&czid=${this.#u}`),this.#h&&(t+=`&aggr=${this.#h}`),this.#o&&(t+="&abtg=1"),this.#g&&(t+="&ppv=1"),this.#p&&(t+=`&ab_test=${this.#p}`),this.#o&&this.#o.adbVersion&&(t+=`&adbv=${this.#o.adbVersion}`),this.#o&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=intrn",this.#i.debug(`bid url: ${t}`),rt(t)):(this.#i.debug(`bid url: ${t}`),t)}};const se="#399afe",oe="utsid-send";class ae extends HTMLElement{constructor(){super(),this._shadowRoot=this.attachShadow({mode:"open"}),this.click=t=>{t.stopPropagation();const e=document.createEvent("Event");e.initEvent("inpageclick",!0,!0),this.dispatchEvent(e)},this.close=t=>{t.stopPropagation();const e=document.createEvent("Event");e.initEvent("inpageclose",!0,!0),this.dispatchEvent(e),document.dispatchEvent(new CustomEvent("in-page-closed"))},this.missclick=()=>{document.dispatchEvent(new CustomEvent("in-page-missclick"))}}connectedCallback(){const t=document.querySelectorAll("in-page-message");let e=0,i="top";for(let 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: ${se};\n color: #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 ${se};\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: ${(a=o).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 ${a.closeButtonStyle}\n \n \n

\n

\n

${a.dataTitle}
${a.dataDescription}

\n

\n vietbunny - EroThots (1)\n

\n

\n

\n

\n `;const c=this.shadowRoot.getElementById(`note-${this.getAttribute("id")}`),l=this.shadowRoot.getElementById(`close-${this.getAttribute("id")}`),d=this.shadowRoot.getElementById(`missclick-${this.getAttribute("id")}`);if(this.hasAttribute("data-imp-link")){let t=this.getAttribute("data-imp-link");window[oe]&&(t+=`&utsid=${window[oe]}`),t+=`&cbpage=${encodeURIComponent(P())}`,t+=`&cbref=${encodeURIComponent(N())}`;const e=document.createElement("img");e.src=t.toString(),e.setAttribute("class","impression"),c.appendChild(e)}I(c,"click",this.click),I(l,"click",this.close),I(d,"click",this.missclick)}}var ce=ae;const le=1e3;var de=class{#e={};#i;#s;#b="";#Ct;#m=!1;#x="52.8";#Tt=[];#Ot=null;#It=!0;#Et;#A=!1;constructor(t){window[Wt]=!0,this.#i=new y(`ippg_new_${t.zoneId}`),this.#i.debug("init ippg with config:",t),this.#e=t,this.#s=window[t.adcashGlobalName],this.#Et=this.#e.refreshRate,customElements.get("in-page-message")||customElements.define("in-page-message",ce),this.#s.getClientHints(!1).then((t=>{this.#b=t,this.#ht()}))}#T(){let t=`${window.location.protocol}//${this.#e.adserverDomain}/script/push.php`;if(this.#e.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#e.adblockSettings,i=`/${nt("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${i}`}return t+=`?r=${this.#e.zoneId}&ipp=1`,this.#Ct=et?this.#e.renderPosMobile:this.#e.renderPosDesktop,t+=`&mads=${this.#e.maxAds}&position=${this.#Ct}`,this.#e.isAutoTag&&(t+=`&czid=${this.#e.collectiveZoneId}&atag=1`),this.#e.aggressivity&&(t+=`&aggr=${this.#e.aggressivity}`),this.#e.adblockSettings&&(t+="&abtg=1"),this.#m&&(t+="&rbd=1"),this.#e.recordPageView&&(t+="&ppv=1"),this.#e.abTest&&(t+=`&ab_test=${this.#e.abTest}`),this.#e.sub1&&(t+=`&sub1=${encodeURIComponent(this.#e.sub1)}`),this.#e.adblockSettings&&this.#e.adblockSettings.adbVersion&&(t+=`&adbv=${this.#e.adblockSettings.adbVersion}`),t=t+`&srs=${this.#s.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#e.uniqueFingerprint)}`+`&cbpage=${encodeURIComponent(P())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(N())}`,this.#b&&(t+=this.#b),this.#Ot&&(t+="&ipptr=1"),this.#e.adblockSettings&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=ippg",this.#i.debug(`bid url: ${t}`),rt(t)):(this.#i.debug(`bid url: ${t}`),t)}async#ht(){var t;if(this.#Rt()>=this.#e.maxAds||!this.#It||document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)return void(this.#e.refreshRate>0&&(this.#m=!0,f()(v()(t=this.#ht).call(t,this),this.#Et*le)));let e;try{e=await fetch(this.#T())}catch(t){if(this.#i.error(t),this.#e.adblockSettings&&!this.#A)return this.#i.debug("fetch call failed. Switch to adblck domain and path"),this.#A=!0,this.#s.enableAdbMode(),void this.#ht()}var i,n;if(204===e.status)return this.#i.debug("unsold invertory!"),void(this.#e.refreshRate>0&&(this.#i.debug(`refresh rate present. try bidding again after ${this.#Et} sec`),this.#m=!0,f()(v()(i=this.#ht).call(i,this),this.#Et*le),2*this.#Et<1200&&(this.#Et*=2)));if(200!==e.status&&202!==e.status||(this.#m=!0,e=await e.json(),this.#i.debug("response:",e)),e.fallback&&e.hp)return void this.#At(e.fallback);if(e.fallback)return void this.#At(e.fallback);if(e.hp,e.capped_ttl)return this.#i.debug(`capped! try bidding again after ${e.capped_ttl} sec`),void f()(v()(n=this.#ht).call(n,this),e.capped_ttl*le);this.#b&&(e.impression_url&&(e.impression_url+=this.#b),e.click_url&&(e.click_url+=this.#b));const r={type:e.type||1,script:e.script||"",title:e.title||"",description:e.description||"",icon:e.icon||e.image,link:e.click_url,impressionLink:e.impression_url||null,capped_ttl:A()(e.capped_ttl,10)||0};var s;this.#Et=this.#e.refreshRate,2!==r.type||this.#Ot?(this.#Tt.push(r),this.#It=!1,this.#Pt(),f()((()=>{this.#It=!0}),this.#Et*le)):(this.#Ot=r,this.#It=!1,await this.#$t(),f()((()=>{this.#It=!0}),this.#Et*le)),this.#e.refreshRate>0&&(this.#m=!0,f()(v()(s=this.#ht).call(s,this),this.#Et*le))}#Rt(){return this.#Ot?this.#Tt.length+1:this.#Tt.length}#At(t){this.#i.debug("fallback script str decoded:",t);const e=(new DOMParser).parseFromString(t,"text/html").querySelector("script");if(!e)return this.#i.error("invalid fallback script. move on"),null;this.#i.debug("fallback script:",e);const i=document.createElement("script");for(const t of e.attributes)i.setAttribute(t.name,t.value);i.src||(i.textContent=e.textContent),document.body.appendChild(i)}async#$t(){const t=(new DOMParser).parseFromString(this.#Ot.script,"text/html").querySelector("script"),e=document.createElement("script");t.src?e.setAttribute("src",t.src):e.innerText=t.innerText;const i=()=>{var t;this.#i.debug("CT-CLICK"),fetch(this.#Ot.link,{mode:"no-cors"}),document.removeEventListener("ct-click",i),f()(v()(t=this.#ht).call(t,this),1e3)},n=()=>{this.#i.debug("CT-CLOSE"),document.removeEventListener("ct-click",i),document.removeEventListener("ct-close",n),this.#Ot=null,document.body.removeChild(e)};I(document,"ct-click",i),I(document,"ct-close",n);let r=this.#Ot.impressionLink;window[oe]&&(r+=`&utsid=${window[oe]}`),r+=`&cbpage=${encodeURIComponent(P())}`,r+=`&cbref=${encodeURIComponent(N())}`,e.onload=async()=>{try{await fetch(r.toString())}catch(t){return this.#i.debug(t),void(this.#e.adblockSettings&&!this.#s.isAdbMode()&&(this.#i.debug("imp failed: try alt domain and path"),this.#s.enableAdbMode()))}document.dispatchEvent(new CustomEvent("impression-event"))},e.onerror=()=>{this.#i.debug("custom html script failed to load"),this.#Ot=null},document.body.appendChild(e)}#Pt(){var t;this.#i.debug("drawing..");const e=document.querySelectorAll("in-page-message");if(e.length>0)for(let t=0;t{const i=document.createElement("in-page-message");i.setAttribute("doskip","1"),i.setAttribute("id",e.toString()),i.setAttribute("data-icon",t.icon),i.setAttribute("data-title",t.title),i.setAttribute("data-description",t.description),i.setAttribute("data-offset-top",this.#e.offsetTop),i.setAttribute("data-render-pos-desktop",this.#e.renderPosDesktop),i.setAttribute("data-render-pos-mobile",this.#e.renderPosMobile),t.impressionLink&&(i.setAttribute("data-imp-link",t.impressionLink),t.impressionLink=null,document.dispatchEvent(new CustomEvent("impression-event"))),i.addEventListener("inpageclick",(()=>{var n;if(et||this.#e.adblockSettings&&this.#s.isAdbMode()){const e=document.createElement("a");e.href=t.link,e.rel="noopener, noreferrer",e.target="_blank",e.click()}else try{window.open(t.link,"_blank","noopener,noreferrer")}catch{}i.remove(),h()(n=this.#Tt).call(n,e,1),this.#Pt()})),i.addEventListener("inpageclose",(()=>{var t;i.remove(),h()(t=this.#Tt).call(t,e,1),this.#Pt()})),document.body.appendChild(i)}))}},ue=i(111),he=i.n(ue),ge=i(8607),fe=i.n(ge),pe=class{#s;#e={};#i;#Lt="";#zt;#l=null;#Ft=null;#Ut=null;#Bt=null;#Nt;#jt;#v="youradexchange.com";#Mt="velocecdn.com";#Ht;#o;#A=!1;#x="52.8";constructor(t){this.#i=new y(`banner_${t.zoneId}`),this.#s=window[t.adcashGlobalName],this.#i.debug("init banner with config:",t),this.#e=t,this.#l=this.#e.zoneId,this.#Ft=this.#e.width,this.#Ut=this.#e.height,this.#Bt=this.#e.renderIn,this.#o=this.#e.adblockSettings,this.#e.currentScript&&(this.#Ht=this.#e.currentScript),this.#Nt=this.#jt=document.documentElement.clientWidth||document.body.clientWidth||window.innerWidth,t.tagVersionSuffix&&(this.#x+=t.tagVersionSuffix),this.#i.debug("tag version:",this.#x),this.#Dt()}#_t(){const t=this.#zt.impression_url;(new Image).src=t}async#Dt(){this.#i.debug("get initial ad and config"),this.#Lt=await R(this.#i);const t=await this.#Vt();let e;this.#i.debug("URL to fetch",t);try{e=await fetch(t)}catch(t){return this.#i.error(t),this.#o&&!this.#A?(this.#i.debug("fetch failed: try alt domain and path"),this.#A=!0,this.#s.enableAdbMode(),void this.#Dt()):this.#s.isAdbMode()?void this.#i.debug("fetch failed: alt domain and path blocked. exit"):void this.#i.debug("fetch failed. exit")}200===e.status||202===e.status?(this.#i.debug("initial fetch received 200 or 202"),this.#zt=await e.json(),this.#Wt()):204===e.status&&this.#i.debug("initial fetch received 204. No inventory")}async#Vt(){let t=`${window.location.protocol}//${this.#v}/script/banner.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#o,i=`/${nt("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${i}`}return t+=`?r=${this.#l}`,t+=`&cbpage=${encodeURIComponent(P())}`,t+=`&cbref=${encodeURIComponent(N())}`,t+=`&cbdescription=${encodeURIComponent(j("description"))}`,t+=`&cbkeywords=${encodeURIComponent(j("keywords"))}`,t+=`&cbtitle=${encodeURIComponent(B())}`,t+=`&srs=${z()}`,t+=`&ufp=${encodeURIComponent(this.#e.uniqueFingerprint)}`,t+=`&atv=${this.#x}`,this.#e.sub1&&(t+=`&sub1=${encodeURIComponent(this.#e.sub1)}`),this.#o&&this.#s.isAdbMode()?(t+="&sadbl=2",t+="&fmt=bnr",rt(t)):t}#Wt(){if(!this.#zt||"undefined"===this.#zt)return;if(this.#zt.hp&&(this.#qt(this.#zt.hp),1===he()(this.#zt).length))return;let t;t=this.#Bt?document.querySelector(this.#Bt):this.#e.currentElement?this.#e.currentElement:this.#Ht.parentElement,this.#Gt(t);const e=this.#Zt();t.appendChild(e)}#Zt(){let t;return this.#zt.fallback?(this.#i.debug("Banner type - fallback"),t=this.#Qt()):1===this.#zt.render_image?(this.#i.debug("Banner type - image"),t=this.#Kt()):(this.#i.debug("Banner type - html"),t=this.#Jt()),this.#zt.fallback||this.#_t(),this.#s||this.#Yt(),t}#Kt(){const t=document.createElement("a");t.href=this.#zt.click_url,t.target="_blank",t.rel="noopener, noreferrer",t.style.display="block",t.style.width=`${this.#Ft?this.#Ft:this.#zt.width}px`,t.style.height=`${this.#Ut?this.#Ut:this.#zt.height}px`,t.style.position="relative",t.style.top=0,t.style.left=0,t.style.right=0,t.style.bottom=0,t.setAttribute("doskip","1"),t.setAttribute(Nt,"1");const e=document.createElement("img");if(e.src=this.#zt.image_url,e.target="_blank",e.width=this.#Ft?this.#Ft:this.#zt.width,e.height=this.#Ut?this.#Ut:this.#zt.height,this.#zt.width>this.#Nt&&this.#zt.force_resize){const i=(this.#Ft?this.#Ft:this.#zt.width)/this.#jt;t.style.width=`${this.#jt}px`,t.style.height=`${Math.round((this.#Ut?this.#Ut:this.#zt.height)/i)}px`,e.style="max-width: 100%;",e.width=this.#jt,e.height=Math.round((this.#Ut?this.#Ut:this.#zt.height)/i)}return t.appendChild(e),t}#Jt(){const t=`banner_${this.#l}`,e=document.createElement("div");e.id=t,e.style.display="block",e.style.width=`${this.#Ft?this.#Ft:this.#zt.width}px`,e.style.height=`${this.#Ut?this.#Ut:this.#zt.height}px`,e.style.position="relative",e.style.top="0",e.style.left="0",e.style.right="0",e.style.bottom="0",e.width=this.#Ft?this.#Ft:this.#zt.width,e.height=this.#Ut?this.#Ut:this.#zt.height,e.setAttribute("doskip","1"),e.setAttribute(Nt,"1"),this.#Xt(e,this.#zt.html);const i=()=>{this.#i.debug("click recorded:",this.#zt.click_url),(new Image).src=this.#zt.click_url,r()},n=()=>{this.#i.debug("click on divNode"),i()},r=()=>{e.removeEventListener("click",n),clearInterval(s)};e.addEventListener("click",n);const s=d()((()=>{document.activeElement&&"IFRAME"===document.activeElement.tagName&&((t,e)=>{let i=t.parentElement;for(;i;){if(i.id===e)return i;i=i.parentElement}return null})(document.activeElement,t)&&(this.#i.debug("click on iframe"),i())}),200);return e}#Xt(t,e){var i;t.innerHTML=e,r()(i=m()(t.querySelectorAll("script"))).call(i,(t=>{var e;const i=document.createElement("script");r()(e=m()(t.attributes)).call(e,(t=>{i.setAttribute(t.name,t.value)}));const n=document.createTextNode(t.innerHTML);i.appendChild(n),t.parentNode.replaceChild(i,t)}))}#Qt(){const t=`banner_${this.#l}`,e=document.createElement("iframe");return e.id=t,e.style.border="medium none",e.style.padding="0",e.style.margin="0",e.style.width=`${this.#Ft?this.#Ft:this.#zt.width}px`,e.style.height=`${this.#Ut?this.#Ut:this.#zt.height}px`,e.width=this.#Ft?this.#Ft:this.#zt.width,e.height=this.#Ut?this.#Ut:this.#zt.height,e.scrolling="no",e.vspace="0",e.hspace="0",e.allowtransparency="true",e.allowfullscreen="true",e.srcdoc=this.#zt.fallback,e}#qt=t=>{const e=JSON.parse(atob(t));if(this.#s){const t={zoneId:e.pop_zone_id.toString(),linkedZoneId:e.source_zone_id.toString()};var i;return e.attributes&&(e.attributes["element-list"]&&(t.targetElementsCssSelector=e.attributes["element-list"],t.triggerOnTargetElementsClick="allow"===e.attributes["element-action"]),e.attributes["country-list"]&&(t.targetCountries=ie()(i=e.attributes["country-list"]).call(i).split(","),t.triggerOnTargetCountries="allow"===e.attributes["country-action"])),void this.#s.runPop(t)}const n=document.createElement("script");if(n.type="text/javascript",n.src=`//${this.#Mt}/script/suv4.js`,n.setAttribute("zid",e.pop_zone_id),n.setAttribute("lpzi",e.source_zone_id),n.setAttribute("data-adel","lwsu"),n.setAttribute("adlm","ipvipplm"),e.attributes)for(const t in e.attributes)n.setAttribute(t,e.attributes[t]);document.body.appendChild(n)};#Gt(t){if(this.#i.debug("Initial viewport:",this.#Nt),this.#zt.width>this.#Nt&&this.#zt.force_resize){var e=window.getComputedStyle(t),i=fe()(e.paddingLeft),n=fe()(e.marginLeft);this.#jt=t.clientWidth-i-n,this.#i.debug("Parent element width:",this.#jt)}}#Yt(){const t=document.createElement("a");t.style.display="none",t.style.visibility="hidden",t.style.position="relative",t.style.left="-1000px",t.style.top="-1000px",t.href=this.#zt.bot_link,document.body.appendChild(t)}};const ve="x4G9Tq2Kw6R7v1Dy3P0B5N8Lc9M2zF",be="adblock-settings",me=(()=>{let t=document.currentScript;return t||(t=document.getElementById("aclib")),t||(t=document.getElementById("adcash-lib")),t})();let ye=null;var we=class{#Mt;#te={pop:!1,autoTag:!1,inPagePush:!1,interstitial:!1};#ee;#b;#ie=new(e());#i;#ne;#re={mousedown:[],click:[],touchstart:[]};#se={mousedown:[],scroll:[],click:[],touchstart:[]};#v="youradexchange.com";#o=null;#oe;#ae;#ce=!1;isShowingPop=!1;#C;constructor(){if(ye)return ye;ye=this,this.#i=new y("aclib_adbl"),window.addEventListener("mousedown",(t=>{var e;this.#i.debug("win mousedown with capture: in"),r()(e=this.#re.mousedown).call(e,(e=>{this.#i.debug("win mousedown with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("mousedown",(t=>{var e;this.#i.debug("win mousedown: in"),r()(e=this.#se.mousedown).call(e,(e=>{this.#i.debug("win mousedown: calling observer"),e.callback(t)}))}),!1),window.addEventListener("click",(t=>{var e;this.#i.debug("win click with capture: in"),r()(e=this.#re.click).call(e,(e=>{this.#i.debug("win click with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("click",(t=>{var e;this.#i.debug("win click: in"),r()(e=this.#se.click).call(e,(e=>{this.#i.debug("win click: calling observer"),e.callback(t)}))}),!1),document.addEventListener("mousedown",(t=>{var e;this.#i.debug("doc mousedown: in"),r()(e=this.#se.mousedown).call(e,(e=>{this.#i.debug("doc mousedown: calling observer"),e.callback(t)}))})),document.addEventListener("mousedown",(t=>{var e;this.#i.debug("doc mousedown with capture: in"),r()(e=this.#re.mousedown).call(e,(e=>{this.#i.debug("doc mousedown with capture: calling observer"),e.callback(t)}))}),!0),window.addEventListener("scroll",(t=>{var e;r()(e=this.#se.scroll).call(e,(e=>{e.callback(t)}))})),document.addEventListener("click",(t=>{var e;this.#i.debug("doc click: in"),r()(e=this.#se.click).call(e,(e=>{this.#i.debug("doc click: calling observer"),e.callback(t)}))})),document.addEventListener("click",(t=>{var e;this.#i.debug("doc click with capture: in"),r()(e=this.#re.click).call(e,(e=>{this.#i.debug("doc click with capture: calling observer"),e.callback(t)}))}),!0),this.getClientHints(),this.#ae=z(),this.#oe=(()=>{const t=Math.floor(11*Math.random())+5;let e="";for(let i=0;i{window[e]&&window[e]===t||(window[e]=t)}),500)}#ge(){this.#ne&&(clearInterval(this.#ne),this.#ne=null)}subscribe(t,e,i){if(!this.#re[t]||!this.#se[t])throw new Error(`${t} is not observable!`);i?this.#re[t].push(e):this.#se[t].push(e)}unsubscribe(t,e,i){if(!this.#re[t]||!this.#se[t])throw new Error(`${t} is not observable!`);if(i)for(let i=0;i{const e=document.createElement("link");e.rel="dns-prefetch",e.href=`//${t}`,document.head.appendChild(e)}))}f()(v()(t=this.#le).call(t,this),100)}getZoneIds(){return m()(this.#ie)}runPop(t){this.#he();const{zoneId:e,refreshRate:i,delay:n,targetElementsCssSelector:r,triggerOnTargetElementsClick:s,targetCountries:o,triggerOnTargetCountries:a,sub1:c,sub2:l,publisherUrl:d,storeUrl:u,c1:h,c2:g,c3:f,pubHash:p,pubClickId:v,pubValue:b,fallbackOn:m,isAutoTag:y,collectiveZoneId:w,aggressivity:x,recordPageView:k,linkedZoneId:A,abTest:S,tagVersionSuffix:C}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!ft(e))throw new Error("zoneId is not a string!");if(void 0!==i&&(!gt(i)||i<0))throw new Error("refreshRate is not an integer or is less than zero");if(void 0!==n&&(!gt(n)||n<0))throw new Error("delay is not an integer or is less than zero");if(void 0!==r){if(!ft(r))throw new Error("targetElementsCssSelector is not a string");if(!(t=>{try{document.createDocumentFragment().querySelector(t)}catch{return!1}return!0})(r))throw new Error("targetElementsCssSelector is not a valid css selector");if(!ht(s))throw new Error("triggerOnTargetElementsClick is not a boolean")}if(void 0!==o){if(!(t=>{if(!lt()(t))return!1;if(0===t.length)return!1;for(let e=0;e0&&f<10&&(f<5?f*=60:f=30),new de({zoneId:e,refreshRate:f??60,delay:i??0,maxAds:n??1,renderPosDesktop:r??"top",renderPosMobile:s??"top",offsetTop:o??0,sub1:a,isAutoTag:c,collectiveZoneId:l,aggressivity:d,recordPageView:u,abTest:h,tagVersionSuffix:g,adserverDomain:this.#v,adblockSettings:this.#o,adcashGlobalName:this.#oe,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#C})}runBanner(t){this.#he();const{zoneId:e,width:i,height:n,renderIn:r,sub1:s,currentScript:o}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!ft(e))throw new Error("zoneId is not a string!");if(void 0!==i&&!gt(i))throw new Error("Banner width is not an integer");if(void 0!==n&&!gt(n))throw new Error("Banner height is not an integer");if(this.#ie.has(e))return void this.#i.error(`zone ${e} already loaded`);let a;this.#ie.add(e),this.#i.debug("loading banner on page",e),r||(document.currentScript&&document.currentScript.parentElement&&(a=document.currentScript.parentElement),o&&(a=o.parentElement)),new pe({zoneId:e,width:i,height:n,renderIn:r,currentElement:a,sub1:s,adcashGlobalName:this.#oe,uniqueFingerprint:this.#C,adblockSettings:this.#o})}runInterstitial(t){if(this.#te.interstitial)return void this.#i.error("interstitial zone already loaded on page");this.#te.interstitial=!0,this.#he();const{zoneId:e,sub1:i,isAutoTag:n,collectiveZoneId:r,aggressivity:s,recordPageView:o,abTest:a,tagVersionSuffix:c}=t;if(!e)throw new Error("mandatory zoneId is not provided!");if(!ft(e))throw new Error("zoneId is not a string!");this.#i.debug("loading interstitial on page");const l={zoneId:e,sub1:i,isAutoTag:n,collectiveZoneId:r,aggressivity:s,recordPageView:o,abTest:a,tagVersionSuffix:c,adcashGlobalName:this.#oe,adserverDomain:this.#v,adblockSettings:this.#o,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#C};this.#ie.add(e),new re(l)}async#fe(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.#i.debug("fetch collective zone config");let i=`${window.location.protocol}//${this.#v}/ad/czcf.php`;if(this.isAdbMode()){const t=`/${nt("abcdefgh0123456789")}`;i=`${window.location.protocol}//${this.#o.adserverDomain}${t}`}i+=`?cz=${t}`;const n=await this.getClientHints();let r;n&&(i+=n),this.isAdbMode()&&(i+="&sadbl=2",i+="&fmt=atg",i=rt(i)),this.#i.debug("collective zone config url: ",i);try{r=await fetch(i)}catch(i){return this.#i.error(i),this.#o&&e?(this.#i.debug("collective zone config fetch failed: try alt domain and path"),this.enableAdbMode(),this.#fe(t,!1)):null}return 200!==r.status?null:r.json()}async runAutoTag(t){if(this.#te.autoTag)return void this.#i.error("autotag zone already loaded on page");this.#te.autoTag=!0,this.#he();const e=t.zoneId;if(!e)throw new Error("mandatory zoneId is not provided!");if(!ft(e))throw new Error("zoneId is not a string!");const i=await this.#fe(e);if(i)if(this.#i.debug("collective zone config:",i),i.rotationList)this.#i.debug("running in ROTATION MODE"),this.#ie.add(e),new Zt({adcashGlobalName:this.#oe,collectiveZoneConfig:i,adserverDomain:this.#v,adblockSettings:this.#o,clientHintsQueryStr:this.#b,tagVersionSuffix:t.tagVersionSuffix,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#C});else{this.#i.debug("running in NORMAL MODE");const n=i.indexedFormats;let r=!0;for(const s in n){switch(s){case"suv4":case"pop":this.runPop({zoneId:n[s].zoneId.toString(),targetElementsCssSelector:n[s]["element-list"],triggerOnTargetElementsClick:"allow"===n[s]["element-action"],targetCountries:n[s]["country-list"],triggerOnTargetCountries:"allow"===n[s]["country-action"],isAutoTag:!0,collectiveZoneId:e,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:t.tagVersionSuffix});break;case"interstitial":this.runInterstitial({zoneId:n[s].zoneId.toString(),isAutoTag:!0,collectiveZoneId:e,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:t.tagVersionSuffix});break;case"ippg":this.runInPagePush({zoneId:n[s].zoneId.toString(),refreshRate:n[s].rr,delay:n[s].d,maxAds:n[s].mads,renderPosDesktop:n[s]["render-pos-desktop"],renderPosMobile:n[s]["render-pos-mobile"],offsetTop:n[s]["offset-top"],isAutoTag:!0,collectiveZoneId:e,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:t.tagVersionSuffix});break;default:this.#i.error(`ad format type not recognised from collective zone config. adformat.type: ${s}; czid: ${e}`)}r=!1}}else this.#i.error(`failed to fetch collective zone config! czid: ${e}`)}};const xe=new y("aclib_adblock_index");window.Adcash?xe.debug("lib already on page. exit"):(xe.debug("load lib on page"),window.Adcash=we,window.AtcshAltNm=we,window.aclib=new we)}()}();

vietbunny - EroThots (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Barbera Armstrong

Last Updated:

Views: 5343

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.