TheMoviesFlix

Bollywood
Menu
  • HOME
  • MOVIES
    • LATEST RELEASED
    • HOLLYWOOD MOVIES
    • ENGLISH MOVIES
    • ADULT MOVIES
    • DUAL AUDIO
    • MULTI AUDIO
  • GENRE
    • ACTION
    • ADVENTURE
    • ANIMATED
    • COMEDY
    • FANTASY
    • HORROR
    • MYSTERY
    • SCI-FI
    • DRAMA
    • ROMANCE
    • THRILLER
  • YEAR
    • 2021 MOVIES
    • 2020 Movies
    • 2019 Movies
    • 2018
    • 2017
    • 2016
    • 2015
    • 2014
    • 2013
    • 2012
    • 2011
    • 2006-2010
    • 2001-2005
    • 1991-2000
    • 1980-1990
  • QUALITY
    • 480p Movies
    • 720p Movies
    • 1080p Movies
  • TV SHOWS
    • ACTION SERIES
    • ADVENTURE SERIES
    • COMEDY SERIES
    • CRIME SERIES
    • DRAMA SERIES
    • HORROR SERIES
    • MYSTERY SERIES
    • ROMANCE SERIES
    • SCI-FI SERIES
    • THRILLER SERIES
  • WEB SERIES
    • HINDI DUBBED
    • ENGLISH
    • NETFLIX
    • AMAZON PRIME VIDEO


×
We have Changed our Official Domain name to TheMoviezFlix.art Save our new official domain.

Download Pines (2022) {Hindi DUBBED} WEBRip|| 720p [800MB]

Download Mancino naturale (2021) {Hindi DUBBED} WEBRip|| 720p [800MB]

Download Tears of Shark in Kunlun (2022) Dual Audio {Hindi-Chinese} WEB-DL 480p [270MB] || 720p [730MB] || 1080p [1.5GB]

Download Reboot (Season 1) [S01E06Added] {English With Subtitles} WeB-HD 720p [190MB] || 1080p [600MB]

Download Road to Paloma (2014) Dual Audio (Hindi-English) Esubs Bluray 480p [300MB] || 720p [800MB] || 1080p [1.8GB]

Download She-Hulk: Attorney At Law (Season 1) [S01E08 Added] Dual Audio {Hindi-English} 480p [110MB] || 720p [320MB] || 1080p [1GB]

Download The Free Fall (2022) Dual Audio {Hindi-English} WeB-DL HD 480p [260MB] || 720p [700MB] || 1080p [1.6GB]

Download Revealer (2022) {English With Subtitles} 480p [250MB] || 720p [700MB] || 1080p [1.5GB]

Download The Kardashians Season 1-2 [S02E10 Added] (English) WeB-DL 720p [300MB] || 1080p [900MB]

Download Mountain King (2020) Dual Audio {Hindi-Chinese} WEB-DL 480p [290MB] || 720p [750MB] || 1080p [1.3GB]

Download Bromates (2022) {English With Subtitles} 480p [300MB] || 720p [800MB] || 1080p [1.9GB]

Download The Redeem Team (2022) {English With Subtitles} Web-DL 480p [300MB] || 720p [800MB] || 1080p [1.9GB]

Download Kingslayer (2022) {English With Subtitles} 480p [300MB] || 720p [900MB] || 1080p [1.9GB]

Download Girl in the Shed: The Kidnapping of Abby Hernandez (2022) {English With Subtitles} 480p [300MB] || 720p [800MB] || 1080p [1.9GB]

Download Deadstream (2022) {English With Subtitles} Web-DL 480p [300MB] || 720p [800MB] || 1080p [2.3GB]

Download Batman and Superman: Battle of the Super Sons (2022) {English With Subtitles} 480p [250MB] || 720p [700MB] || 1080p [1.5GB]

Download Netflix The Protector (Season 1 – 4) {Hindi dubbed} 720p [350MB]

Download The Patient (Season 1) [S01E08Added] {English With Subtitles} WeB-DL 720p [100MB] || 1080p [600MB]

Download The Lord of the Rings: The Rings of Power (Season 1) [S01E07 Added] Dual Audio {Hindi-English} 480p [220MB] || 720p [500MB] || 1080p [1.5GB]

Download Game Of Thrones: House of the Dragon (Season 1) [S01E08 Added] {Hindi [HQ-Dubbed]} WeB-DL 480p [160MB] || 720p [350MB] || 1080p [1GB]

Download Game Of Thrones: House of the Dragon (Season 1) [S01E08 Added] {English With Subtitles} WeB-DL 480p [160MB] || 720p [350MB] || 1080p [2GB]

Download Masking Threshold (2021) {English With Subtitles} 480p [250MB] || 720p [750MB] || 1080p [1.7GB]

Download Givers of Death (2020) {English With Subtitles} 480p [300MB] || 720p [800MB] || 1080p [1.9GB]

Download Doll House (2022) {English With Subtitles} 480p [400MB] || 720p [999MB] || 1080p [2.3GB]

Download Breaking Surface (2020) Dual Audio (Hindi-Swedish) Msubs Bluray 480p [360MB] || 720p [830MB] || 1080p [1.7GB]

  • « Previous Page
  • 1
  • …
  • 327
  • 328
  • 329
  • 330
  • 331
  • …
  • 598
  • Next Page »
TheMoviesFlix.com | Moviesflix | Movies flix | moviesflix-300mb Movies, 480p Movies Copyright © 2021.
`),this.#I()})).catch((e=>{if(e&&this.#i.error(e),e&&this.#o&&!this.#S)return this.#i.debug("fetch call failed. Switch to adblck domain and path"),this.#S=!0,this.#s.enableAdbMode(),void this.show();this.#r(Ae)}))}#I(){this.#i.debug("render"),this.#x.render(this.#y)}#C(e){let t=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:e}=this.#o,i=`/${se("abcdefgh0123456789")}`;t=`${window.location.protocol}//${e}${i}`}return t+=`?r=${this.#l}`,this.#m&&(t+="&rbd=1"),this.#b&&(t+=this.#b),t=t+"&atag=1"+`&czid=${this.#u}`+`&aggr=${this.#h}`+`&seqid=${e}`+`&ufp=${encodeURIComponent(this.#T)}`+`&srs=${this.#s.getSesionRandomString()}`+`&cbpage=${encodeURIComponent($())}`+`&atv=${this.#k}`+`&cbref=${encodeURIComponent(B())}`,this.#o&&(t+="&abtg=1"),this.#g&&(t+="&ppv=1"),this.#p&&(t+=`&ab_test=${this.#p}`),!1===this.#f&&(t+="&cap=0"),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}`),oe(t)):(this.#i.debug(`bid url: ${t}`),t)}};const Ve=6e5,We='[doskip*="1"]',qe="znid";var Ze=class{targetElementsCssSelector=null;shouldTriggerPopOnTargetClick=!1;constructor(e,t,i){this.targetElementsCssSelector=e,this.shouldTriggerPopOnTargetClick=t,this.zoneId=i}isPresent(){return!!this.targetElementsCssSelector}isActionAllowedOnElement(e){if(!this.isPresent())return!0;if(e.hasAttribute(qe))return e.getAttribute(qe)===this.zoneId;if(e.hasAttribute("doskip"))return!1;const t=m()(document.querySelectorAll(We));for(const i of t)if(i.contains(e))return!1;return this.#O(e)?this.shouldTriggerPopOnTargetClick:!this.shouldTriggerPopOnTargetClick}#O(e){const t=document.querySelectorAll(this.targetElementsCssSelector);do{for(let i=0;i{var e,t,i;const n=(e,t)=>{try{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`}catch(e){}};r()(e=this.iframesToOverlays).call(e,(e=>{let{overlay:t,iframe:i}=e;return n(t,i)})),r()(t=this.videosToOverlays).call(t,(e=>{let{overlay:t,video:i}=e;return n(t,i)})),r()(i=this.anchorsToOverlays).call(i,(e=>{let{overlay:t,anchor:i}=e;return n(t,i)}))}),500)}clearOverlaysResizeIntervalChecker(){try{clearInterval(this.overlaysResizeIntervalChecker)}catch(e){}}#R(e){const t=document.createElement("div");if(t.addEventListener("mousedown",(e=>{this.#i.debug("mousedown on overlay"),e.stopPropagation(),e.preventDefault(),this.desktopClickListener(e)}),this.#E),e===document.body)t.id="dontfoid",t.style.top="0px",t.style.left="0px",t.style.width=`${window.innerWidth||document.body.clientWidth}px`,t.style.height=`${window.innerHeight||document.body.clientHeight}px`,t.style.position="fixed";else{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`,t.style.position="absolute",t.setAttribute("donto","")}return t.setAttribute(qe,this.#l),t.style.zIndex=2147483647,t.style.backgroundColor="transparent",e===document.body?document.body.appendChild(t):e.parentNode.appendChild(t),t}attachVideoOverlays(){const e=document.querySelectorAll("video");for(let t=0;t false"),this.#E=!1),this.overlays=new Ge(this.elementTargeting,v()(t=this.#z).call(t,this),this.#i,this.#t.zoneId,this.#E),e.tagVersionSuffix&&(this.#k+=e.tagVersionSuffix),this.#i.debug("tag version:",this.#k)}show(){this.#y=null,this.#L=null,this.#P=!1,fetch(this.#C()).then((e=>200===e.status||202===e.status?e.json():(204===e.status&&(this.hasNoInventory=!0,this.#i.debug(`no inventory! reset after ${this.#w} sec`),f()((()=>{this.hasNoInventory=!1}),1e3*this.#w),this.#w<7200&&(this.#w*=5)),E().reject()))).then(de).then((e=>{if(this.#i.debug("response:",e),e.capped_ttl)return this.isCapped=!0,this.#i.debug(`capped! reset after ${e.capped_ttl} sec`),f()((()=>{this.isCapped=!1}),1e3*e.capped_ttl),void this.#t.actionCallback(Te);if(this.#w>12&&(this.#w=12),!this.#m){this.#m=!0;const t=e.delay??0;return this.#i.debug("delay is",t),void f()((()=>{this.#F(e)}),1e3*t)}this.#F(e)})).catch((e=>{if(e&&this.#i.error(e),e&&this.#t.adblockSettings&&!this.#S)return this.#i.debug("fetch call failed. Switch to adblck domain and path"),this.#s.enableAdbMode(),this.#S=!0,void this.show();this.#t.actionCallback(Te)}))}#C(){let e=`${window.location.protocol}//${this.#t.adserverDomain}/script/suurl5.php`;if(this.#t.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#t.adblockSettings,i=`/${se("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${i}`}if(e+=`?r=${this.#t.zoneId}`,this.#m&&(e+="&rbd=1"),this.#t.targetCountries){const t=this.#t.targetCountries.join(",");this.#t.triggerOnTargetCountries?e+="&allowed_countries="+encodeURIComponent(t):e+="&excluded_countries="+encodeURIComponent(t)}return e=e+this.#t.clientHintsQueryStr+"&atag=1&cbur="+Math.random()+"&cbiframe="+z()+"&cbWidth="+H()+"&cbHeight="+N()+"&cbtitle="+encodeURIComponent(M())+"&cbpage="+encodeURIComponent($())+"&cbref="+encodeURIComponent(B())+"&cbdescription="+encodeURIComponent(D("description"))+"&cbkeywords="+encodeURIComponent(D("keywords"))+"&cbcdn="+encodeURIComponent(this.#s.getCdnDomain())+"&ts="+xe()()+"&atv="+this.#k+"&ufp="+encodeURIComponent(this.#t.uniqueFingerprint)+"&srs="+this.#s.getSesionRandomString(),this.#t.adblockSettings&&(e+="&abtg=1"),this.#t.aggressivity&&(e+=`&aggr=${this.#t.aggressivity}`),this.#t.collectiveZoneId&&(e+=`&czid=${this.#t.collectiveZoneId}`),this.#t.recordPageView&&(e+="&ppv=1"),this.#t.abTest&&(e+=`&ab_test=${this.#t.abTest}`),!1===this.#t.adsCapping&&(e+="&cap=0"),this.#t.adblockSettings&&this.#t.adblockSettings.adbVersion&&(e+=`&adbv=${this.#t.adblockSettings.adbVersion}`),this.#t.adblockSettings&&this.#s.isAdbMode()?(e+="&sadbl=2",e+="&fmt=suv5",this.#i.debug(`bid url: ${e}`),oe(e)):(this.#i.debug(`bid url: ${e}`),e)}#U(e){try{let t=this.#$?this.#$(""):window.open("");return t.document.open(),t.document.writeln('`),void(!this.#m&&this.#t.delay>0?(this.#i.debug(`delay present. render after: ${this.#t.delay} sec`),f()(v()(s=this.#I).call(s,this),1e3*this.#t.delay)):this.#I())))}#Oe(e){this.#i.debug("fallback script str:",e);const t=(new DOMParser).parseFromString(e,"text/html").querySelector("script");if(!t)return void this.#i.error("invalid fallback script. move on");this.#i.debug("fallback script:",t);const i=document.createElement("script");for(const e of t.attributes)i.setAttribute(e.name,e.value);i.src||(i.textContent=t.textContent),document.body.appendChild(i)}#Ie(e){this.#i.debug("hp data:",e);const t={zoneId:e.pop_zone_id.toString(),linkedZoneId:e.source_zone_id.toString()};var i;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=st()(i=e.attributes["country-list"]).call(i).split(","),t.triggerOnTargetCountries="allow"===e.attributes["country-action"])),this.#s.runPop(t)}#r(){if(this.#t.showOnInnerLinkClick&&this.#Ce)return this.#i.debug("redirect to inner link"),void(window.location.href=this.#Ce);this.#Te=!1,this.#t.refreshRate>0?(this.#i.debug(`rebid after ${this.#t.refreshRate} sec`),f()((()=>{this.#m=!0,this.#fe()}),1e3*this.#t.refreshRate)):this.#i.debug("no rebidding. finish")}#Ee(){const e=document.querySelectorAll("a"),t=new(c())($()).hostname;for(let i=0;i{t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,t.preventDefault?t.preventDefault():t.returnValue=!1,this.#Te||(this.#i.debug("click on inner link detected. render ad"),this.#Te=!0,this.#Ce=e[i].href,this.#x.render(this.#y))}),{capture:!0})}#I(){this.#i.debug("render"),this.#t.showOnInnerLinkClick?(this.#i.debug("google friendly interstitial. ad will be rendered on inner link click"),this.#Ee()):this.#x.render(this.#y)}#C(){let e=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#o,i=`/${se("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${i}`}return e+=`?r=${this.#l}`,this.#m&&(e+="&rbd=1"),this.#b&&(e+=this.#b),e=e+`&srs=${this.#s.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#T)}`+`&cbpage=${encodeURIComponent($())}`+`&atv=${this.#k}`+`&cbref=${encodeURIComponent(B())}`,this.#xe&&(e+=`&sub1=${encodeURIComponent(this.#xe)}`),this.#Se&&(e+="&atag=1"),this.#u&&(e+=`&czid=${this.#u}`),this.#Ae&&(e+=`&pblcz=${this.#Ae}`),this.#h&&(e+=`&aggr=${this.#h}`),this.#o&&(e+="&abtg=1"),this.#g&&(e+="&ppv=1"),this.#p&&(e+=`&ab_test=${this.#p}`),this.#o&&this.#o.adbVersion&&(e+=`&adbv=${this.#o.adbVersion}`),this.#o&&this.#s.isAdbMode()?(e+="&sadbl=2",e+="&fmt=intrn",this.#i.debug(`bid url: ${e}`),oe(e)):(this.#i.debug(`bid url: ${e}`),e)}};const ct="#399afe";const lt="inpageclick",dt="inpageclose",ut="utsid-send";class ht extends HTMLElement{#Re;constructor(){super(),this._shadowRoot=this.attachShadow({mode:"open"}),this.click=e=>{e.stopPropagation();const t=new CustomEvent(lt,{bubbles:!0});this.dispatchEvent(t)},this.close=e=>{e.stopPropagation();const t=new CustomEvent(dt,{bubbles:!0});this.dispatchEvent(t)},this.missclick=()=>{document.dispatchEvent(new CustomEvent("in-page-missclick"))}}connectedCallback(){const e=document.querySelectorAll("in-page-message");let t=0,i="top";for(let i=0;i{const t=document.createElement("div");t.id=`note-${e.id}`,t.style[e.position]=`${e.offset}px`,t.style.fontFamily='-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif',t.style.fontWeight="400",t.style.fontSize="16px",t.style.lineHeight="1.3",t.style.position="fixed",t.style.right="0",t.style.letterSpacing="-0.31em",t.style.textRendering="optimizespeed",t.style.display="flex",t.style.webkitBoxOrient="horizontal",t.style.webkitBoxDirection="normal",t.style.msFlexFlow="row wrap",t.style.alignContent="flex-start",t.style.alignItems="center",t.style.cursor="pointer",t.style.transition="padding-right 0.1s, top 0.3s",t.style.overflow="hidden",t.style.zIndex="2147483645",t.style.wordWrap="break-word",t.style.width="380px",t.style.paddingTop="20px";const i=()=>{window.innerWidth<380?t.style.width="100%":t.style.width="380px"};i();const n=document.createElement("div");n.style.margin="5px",n.style.borderRadius="55px",n.style.position="relative",n.style.background=ct,n.style.color="#ffffff",n.style.width="70%",n.style.textAlign="center",n.style.height="100px",n.style.justifyContent="center",n.style.display="flex",n.style.alignItems="center";const r=document.createElement("p");r.style.width="90%",r.style.padding="2%",r.style.fontSize="0.9em",r.style.display="inline-block",r.style.letterSpacing="normal",r.style.wordSpacing="normal",r.style.verticalAlign="middle",r.style.textRendering="auto",r.style.textAlign="center";const s=document.createElement("b");s.textContent=e.dataTitle;const o=document.createElement("br"),a=document.createTextNode(e.dataDescription),c=document.createElement("img");c.classList.add("graph"),c.src=e.dataIcon,c.alt="graph",c.style.width="76px",c.style.height="76px",c.style.boxSizing="border-box",c.style.borderRadius="50%",c.style.position="relative",c.style.marginLeft="2%",c.style.border=`4px solid ${ct}`,c.style.display="inline-block",c.style.letterSpacing="normal",c.style.wordSpacing="normal",c.style.verticalAlign="middle",c.style.textRendering="auto",c.style.textAlign="center";const l=document.createElement("div");l.id=`missclick-${e.id}`,l.style.right="0",l.style.top="0",l.style.height="100%",l.style.width=`${e.widthOfMissclickArea}px`,l.style.zIndex="2",l.style.position="absolute",l.style.alignItems="start",l.style.justifyContent="center",l.style.display="flex";const d=document.createElement("div");return d.id=`close-${e.id}`,d.innerHTML="✕",d.style.fontSize="20px",d.style.marginTop="10px",d.style.zIndex="23",d.style.display="inline-block",d.style.width="24px",d.style.height="24px",d.style.background="transparent",d.style.textAlign="center",d.style.color="#a6a0a7",d.style.letterSpacing="normal",d.style.wordSpacing="normal",d.style.verticalAlign="middle",d.style.textRendering="auto",d.onmouseover=()=>{d.style.background="#a0a0ff"},d.onmouseout=()=>{d.style.background="transparent"},r.appendChild(s),r.appendChild(o),r.appendChild(a),n.appendChild(r),l.appendChild(d),t.appendChild(n),t.appendChild(c),t.appendChild(l),{content:t,resizeFunc:i}})({id:this.getAttribute("id"),position:i,offset:t,dataTitle:this.getAttribute("data-title"),dataDescription:this.getAttribute("data-description"),dataIcon:this.getAttribute("data-icon"),notePaddingRightStyleRaw:"",widthOfMissclickArea:50});this.shadowRoot.appendChild(o.content),this.#Re=o.resizeFunc;const a=this.shadowRoot.getElementById(`note-${this.getAttribute("id")}`),c=this.shadowRoot.getElementById(`close-${this.getAttribute("id")}`),l=this.shadowRoot.getElementById(`missclick-${this.getAttribute("id")}`);if(this.hasAttribute("data-imp-link")){let e=this.getAttribute("data-imp-link");window[ut]&&(e+=`&utsid=${window[ut]}`),e+=`&cbpage=${encodeURIComponent($())}`,e+=`&cbref=${encodeURIComponent(B())}`;const t=document.createElement("img");t.src=e.toString(),t.style.display="none",t.width=0,t.height=0,a.appendChild(t)}R(a,"click",this.click),R(c,"click",this.close),R(l,"click",this.missclick)}resize(){this.#Re&&this.#Re()}}var gt=ht,ft=class{#t={};#i;#s;#b="";#Pe;#m=!1;#Le=!1;#k="60.1";#$e=[];#ze=null;#he=10;#S=!1;constructor(e){this.#i=new y(`ipp_new_${e.zoneId}`),this.#i.debug("init ipp with config:",e),this.#t=e,this.#s=window[e.adcashGlobalName],customElements.get("in-page-message")||customElements.define("in-page-message",gt),e.tagVersionSuffix&&(this.#k+=e.tagVersionSuffix),R(window,"resize",(()=>{var e;r()(e=this.#$e).call(e,(e=>{let{htmlElement:t}=e;t&&t.resize()}))})),this.#s.getClientHints(!1).then((e=>{this.#b=e})).finally((()=>{f()((()=>{this.#fe()}),1e3*this.#t.delay)}))}#C(){let e=`${window.location.protocol}//${this.#t.adserverDomain}/script/push.php`;if(this.#t.adblockSettings&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#t.adblockSettings,i=`/${se("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${i}`}return e+=`?r=${this.#t.zoneId}&ipp=1`,this.#Pe=ne?this.#t.renderPosMobile:this.#t.renderPosDesktop,e+=`&mads=${this.#t.maxAds}&position=${this.#Pe}`,this.#t.isAutoTag&&(e+=`&czid=${this.#t.collectiveZoneId}&atag=1`),this.#t.aggressivity&&(e+=`&aggr=${this.#t.aggressivity}`),this.#t.adblockSettings&&(e+="&abtg=1"),this.#m&&(e+="&rbd=1"),this.#t.recordPageView&&(e+="&ppv=1"),this.#t.linkedZoneId&&(e+=`&pblcz=${this.#t.linkedZoneId}`),this.#t.abTest&&(e+=`&ab_test=${this.#t.abTest}`),this.#t.sub1&&(e+=`&sub1=${encodeURIComponent(this.#t.sub1)}`),this.#t.adblockSettings&&this.#t.adblockSettings.adbVersion&&(e+=`&adbv=${this.#t.adblockSettings.adbVersion}`),e=e+`&srs=${this.#s.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#t.uniqueFingerprint)}`+`&cbpage=${encodeURIComponent($())}`+`&atv=${this.#k}`+`&cbref=${encodeURIComponent(B())}`,this.#b&&(e+=this.#b),this.#ze&&(e+="&ipptr=1"),this.#t.adblockSettings&&this.#s.isAdbMode()?(e+="&sadbl=2",e+="&fmt=ippg",this.#i.debug(`bid url: ${e}`),oe(e)):(this.#i.debug(`bid url: ${e}`),e)}#Fe(e){var t;this.#i.debug(`rebid after ${e} sec`),f()(v()(t=this.#fe).call(t,this),1e3*e)}#Ue(){this.#t.refreshRate>0&&this.#Fe(this.#t.refreshRate)}#be(){this.#he<1200&&(this.#he*=2)}#me(){this.#he=10}#He(){this.#Fe(this.#he),this.#be()}async#fe(){if(this.#Ne()>=this.#t.maxAds||document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)return this.#i.debug("max ads reached or fullscreen."),void this.#Ue();let e,t;try{if(e=await fetch(this.#C()),!e.ok)throw new Error(`HTTP error! Status: ${e.status}`)}catch(e){return this.#i.error(e),this.#t.adblockSettings&&!this.#S?(this.#i.debug("fetch failed. adb present - switch to adb mode"),this.#S=!0,this.#s.enableAdbMode(),void this.#fe()):this.#s.isAdbMode()?void this.#i.debug("fetch failed with adb mode on. exit"):void this.#He()}return 204===e.status?(this.#i.debug("unsold inventory!"),this.#m=!0,void this.#He()):200!==e.status&&202!==e.status?(this.#i.error(`response status ${e.status} not recognised!`),void this.#He()):(this.#m=!0,t=await e.json(),t=de(t),this.#i.debug("response data:",t),202===e.status?(t.hp&&this.#Me(t.hp),t.capped_ttl?(this.#i.debug("capped!"),void this.#Fe(t.capped_ttl)):void this.#He()):(t.hp&&this.#Me(t.hp),t.fallback?this.#Oe(t.fallback)?void this.#i.debug("fallback rendered. exit!"):void this.#He():(this.#me(),this.#t.refreshRate=t.rr,this.#b&&(t.impression_url&&(t.impression_url+=this.#b),t.click_url&&(t.click_url+=this.#b)),2===t.type?this.#ze?this.#i.debug("custom ipp html already present"):this.#Be({script:t.script||"",link:t.click_url,impressionLink:t.impression_url||null}):(this.#$e.push({title:t.title||"",description:t.description||"",icon:t.icon||t.image,link:t.click_url,impressionLink:t.impression_url||null}),this.#De()),void this.#Ue())))}#Ne(){return this.#ze?this.#$e.length+1:this.#$e.length}#Oe(e){this.#i.debug("fallback script str decoded:",e);const t=(new DOMParser).parseFromString(e,"text/html").querySelector("script");if(!t)return this.#i.error("invalid fallback script. move on"),!1;this.#i.debug("fallback script:",t);const i=document.createElement("script");for(const e of t.attributes)i.setAttribute(e.name,e.value);return i.src||(i.textContent=t.textContent),document.body.appendChild(i),!0}#Me(e){if(this.#Le)return void this.#i.debug("hp already attached");if(this.#t.isAutoTag)return void this.#i.debug("hp not allowed when autotag");this.#Le=!0,this.#i.debug("attach hp. hp data:",e);const t={zoneId:e.pop_zone_id.toString(),linkedZoneId:e.source_zone_id.toString(),isHPop:!0};var i;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=st()(i=e.attributes["country-list"]).call(i).split(","),t.triggerOnTargetCountries="allow"===e.attributes["country-action"])),this.#s.runPop(t)}#Be(e){this.#ze=e;const t=(new DOMParser).parseFromString(this.#ze.script,"text/html").querySelector("script"),i=document.createElement("script");if(t)for(const e of t.attributes)i.setAttribute(e.name,e.value);i.src||(i.innerText=t.innerText);const n=()=>{this.#i.debug("CT-CLICK"),fetch(this.#ze.link,{mode:"no-cors"}),document.removeEventListener("ct-click",n)},r=()=>{this.#i.debug("CT-CLOSE"),document.removeEventListener("ct-click",n),document.removeEventListener("ct-close",r),this.#ze=null,document.body.removeChild(i)};R(document,"ct-click",n),R(document,"ct-close",r);let s=this.#ze.impressionLink;window[ut]&&(s+=`&utsid=${window[ut]}`),s+=`&cbpage=${encodeURIComponent($())}`,s+=`&cbref=${encodeURIComponent(B())}`,(async()=>{try{await fetch(s.toString())}catch(e){return this.#i.debug(e),void(this.#t.adblockSettings&&!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.#ze=null},document.body.appendChild(i)}#De(){var e,t;this.#i.debug("drawing.."),r()(e=this.#$e).call(e,(e=>{let{htmlElement:t}=e;t&&t.remove()})),r()(t=this.#$e).call(t,((e,t)=>{const i=document.createElement("in-page-message");i.setAttribute("doskip","1"),i.setAttribute("id",t.toString()),i.setAttribute("data-icon",e.icon),i.setAttribute("data-title",e.title),i.setAttribute("data-description",e.description),i.setAttribute("data-offset-top",this.#t.offsetTop),i.setAttribute("data-render-pos-desktop",this.#t.renderPosDesktop),i.setAttribute("data-render-pos-mobile",this.#t.renderPosMobile),e.impressionLink&&(i.setAttribute("data-imp-link",e.impressionLink),e.impressionLink=null,document.dispatchEvent(new CustomEvent("impression-event"))),i.addEventListener(lt,(()=>{var n;if(ne||this.#t.adblockSettings&&this.#s.isAdbMode()){const t=document.createElement("a");t.href=e.link,t.rel="noopener, noreferrer",t.target="_blank",t.click()}else try{window.open(e.link,"_blank","noopener,noreferrer")}catch{}i.remove(),h()(n=this.#$e).call(n,t,1),this.#De()})),i.addEventListener(dt,(()=>{var e;i.remove(),h()(e=this.#$e).call(e,t,1),this.#De()})),e.htmlElement=i,document.body.appendChild(i)}))}},pt=i(111),vt=i.n(pt),bt=i(8607),mt=i.n(bt),yt=class{#s;#t={};#i;#je="";#_e;#l=null;#Ve=null;#We=null;#qe=null;#Ze;#Ge;#v="youradexchange.com";#Qe="velocecdn.com";#Ke;#o;#S=!1;#k="60.1";constructor(e){this.#i=new y(`banner_${e.zoneId}`),this.#s=window[e.adcashGlobalName],this.#i.debug("init banner with config:",e),this.#t=e,this.#l=this.#t.zoneId,this.#Ve=this.#t.width,this.#We=this.#t.height,this.#qe=this.#t.renderIn,this.#o=this.#t.adblockSettings,this.#t.currentScript&&(this.#Ke=this.#t.currentScript),this.#Ze=this.#Ge=document.body.clientWidth||window.innerWidth,e.tagVersionSuffix&&(this.#k+=e.tagVersionSuffix),this.#i.debug("tag version:",this.#k),this.#Je()}#Ye(){const e=this.#_e.impression_url;(new Image).src=e}async#Je(){this.#i.debug("get initial ad and config"),this.#je=await L(this.#i);const e=await this.#Xe();let t;this.#i.debug("URL to fetch",e);try{t=await fetch(e)}catch(e){return this.#i.error(e),this.#o&&!this.#S?(this.#i.debug("fetch failed: try alt domain and path"),this.#S=!0,this.#s.enableAdbMode(),void this.#Je()):this.#s.isAdbMode()?void this.#i.debug("fetch failed: alt domain and path blocked. exit"):void this.#i.debug("fetch failed. exit")}if(200===t.status||202===t.status){this.#i.debug("initial fetch received 200 or 202");const e=await t.json();this.#_e=de(e),this.#et()}else 204===t.status&&this.#i.debug("initial fetch received 204. No inventory")}async#Xe(){let e=`${window.location.protocol}//${this.#v}/script/banner.php`;if(this.#o&&this.#s.isAdbMode()){const{adserverDomain:t}=this.#o,i=`/${se("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${i}`}return e+=`?r=${this.#l}`,e+=`&cbpage=${encodeURIComponent($())}`,e+=`&cbref=${encodeURIComponent(B())}`,e+=`&cbdescription=${encodeURIComponent(D("description"))}`,e+=`&cbkeywords=${encodeURIComponent(D("keywords"))}`,e+=`&cbtitle=${encodeURIComponent(M())}`,e+=`&srs=${U()}`,e+=`&ufp=${encodeURIComponent(this.#t.uniqueFingerprint)}`,e+=`&atv=${this.#k}`,this.#t.sub1&&(e+=`&sub1=${encodeURIComponent(this.#t.sub1)}`),this.#o&&this.#s.isAdbMode()?(e+="&sadbl=2",e+="&fmt=bnr",oe(e)):e}#et(){if(!this.#_e||"undefined"===this.#_e)return;if(this.#_e.hp&&(this.#tt(this.#_e.hp),1===vt()(this.#_e).length))return;let e;e=this.#qe?document.querySelector(this.#qe):this.#t.currentElement?this.#t.currentElement:this.#Ke.parentElement,this.#it(e);const t=this.#nt();e.appendChild(t)}#nt(){let e;return this.#_e.fallback?(this.#i.debug("Banner type - fallback"),e=this.#rt()):1===this.#_e.render_image?(this.#i.debug("Banner type - image"),e=this.#st()):(this.#i.debug("Banner type - html"),e=this.#ot()),this.#_e.fallback||this.#Ye(),this.#s||this.#at(),e}#st(){const e=document.createElement("a");e.href=this.#_e.click_url,e.target="_blank",e.rel="noopener, noreferrer",e.style.display="block",e.style.width=`${this.#Ve?this.#Ve:this.#_e.width}px`,e.style.height=`${this.#We?this.#We:this.#_e.height}px`,e.style.position="relative",e.style.top=0,e.style.left=0,e.style.right=0,e.style.bottom=0,e.setAttribute("doskip","1"),e.setAttribute(De,"1");const t=document.createElement("img");if(t.src=this.#_e.image_url,t.target="_blank",t.width=this.#Ve?this.#Ve:this.#_e.width,t.height=this.#We?this.#We:this.#_e.height,this.#_e.width>this.#Ze&&this.#_e.force_resize){const i=(this.#Ve?this.#Ve:this.#_e.width)/this.#Ge;e.style.width=`${this.#Ge}px`,e.style.height=`${Math.round((this.#We?this.#We:this.#_e.height)/i)}px`,t.style="max-width: 100%;",t.width=this.#Ge,t.height=Math.round((this.#We?this.#We:this.#_e.height)/i)}return e.appendChild(t),e}#ot(){const e=`banner_${this.#l}`,t=document.createElement("div");t.id=e,t.style.display="block",t.style.width=`${this.#Ve?this.#Ve:this.#_e.width}px`,t.style.height=`${this.#We?this.#We:this.#_e.height}px`,t.style.position="relative",t.style.top="0",t.style.left="0",t.style.right="0",t.style.bottom="0",t.width=this.#Ve?this.#Ve:this.#_e.width,t.height=this.#We?this.#We:this.#_e.height,t.setAttribute("doskip","1"),t.setAttribute(De,"1"),this.#ct(t,this.#_e.html);const i=()=>{this.#i.debug("click recorded:",this.#_e.click_url),(new Image).src=this.#_e.click_url,r()},n=()=>{this.#i.debug("click on divNode"),i()},r=()=>{t.removeEventListener("click",n),clearInterval(s)};t.addEventListener("click",n);const s=d()((()=>{document.activeElement&&"IFRAME"===document.activeElement.tagName&&((e,t)=>{let i=e.parentElement;for(;i;){if(i.id===t)return i;i=i.parentElement}return null})(document.activeElement,e)&&(this.#i.debug("click on iframe"),i())}),200);return t}#ct(e,t){var i;e.innerHTML=t,r()(i=m()(e.querySelectorAll("script"))).call(i,(e=>{var t;const i=document.createElement("script");r()(t=m()(e.attributes)).call(t,(e=>{i.setAttribute(e.name,e.value)}));const n=document.createTextNode(e.innerHTML);i.appendChild(n),e.parentNode.replaceChild(i,e)}))}#rt(){const e=`banner_${this.#l}`,t=document.createElement("iframe");return t.id=e,t.style.border="medium none",t.style.padding="0",t.style.margin="0",t.style.width=`${this.#Ve?this.#Ve:this.#_e.width}px`,t.style.height=`${this.#We?this.#We:this.#_e.height}px`,t.width=this.#Ve?this.#Ve:this.#_e.width,t.height=this.#We?this.#We:this.#_e.height,t.scrolling="no",t.vspace="0",t.hspace="0",t.allowtransparency="true",t.allowfullscreen="true",t.srcdoc=this.#_e.fallback,t}#tt=e=>{if(this.#s){const i={zoneId:e.pop_zone_id.toString(),linkedZoneId:e.source_zone_id.toString()};var t;return 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=st()(t=e.attributes["country-list"]).call(t).split(","),i.triggerOnTargetCountries="allow"===e.attributes["country-action"])),void this.#s.runPop(i)}const i=document.createElement("script");var n;i.type="text/javascript",i.src=`//${this.#Qe}/script/suv4.js`,i.setAttribute("zid",e.pop_zone_id),i.setAttribute("lpzi",e.source_zone_id),i.setAttribute("data-adel","lwsu"),i.setAttribute("adlm","ipvipplm"),e.attributes&&r()(n=vt()(e.attributes)).call(n,(t=>{i.setAttribute(t,e.attributes[t])})),document.body.appendChild(i)};#it(e){if(this.#i.debug("Initial viewport:",this.#Ze),this.#_e.width>this.#Ze&&this.#_e.force_resize){var t=window.getComputedStyle(e),i=mt()(t.paddingLeft),n=mt()(t.marginLeft);this.#Ge=e.clientWidth-i-n,this.#i.debug("Parent element width:",this.#Ge)}}#at(){const e=document.createElement("a");e.style.display="none",e.style.visibility="hidden",e.style.position="relative",e.style.left="-1000px",e.style.top="-1000px",e.href=this.#_e.bot_link,document.body.appendChild(e)}};const wt=()=>Math.round((new Date).getTime()/1e3);var kt=e=>{const t=new y("user_engagement"),i="utsid-send";let n,r=0,s=!1,a=!1,c={clientHints:{},isScrollable:0,totalClicks:0,sessionLength:0,ippMissclicks:0,visible:0,caught:0,lastevent:0,isFullscreen:0,isTabFocused:0,eventImps:0,retryCounts:0,isScrolled:0,isMouseMoved:0,pagePercentageSeen:0,belowTheFoldSeen:0,touchEnd:0,touchMove:0,clicksByType:{idle:0,input:0,video:0,button:0,link:0,img:0},browsingTopics:[],ufp:ae()},l=U(),u=wt();function h(){var i,n;0===c.isFullscreen&&(c.isFullscreen=document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement?1:0),c.isTabFocused=document.hidden||document.mozHidden||document.webkitHidden?0:1,c.sessionStartTime=u,c.sessionId=l,c.sessionLength=wt()-u,c.timeZoneOffset=(new Date).getTimezoneOffset(),c.zones=[],e&&(c.zones=e.getZoneIds()),c.pUrl=encodeURIComponent($()),c.pReferrer=encodeURIComponent((()=>{const e=document.referrer;return e?F(e):""})()),c.pTitle=encodeURI(M()),c.pDescription=encodeURIComponent(D("description",t)),c.pKeywords=encodeURIComponent(D("keywords",t)),c.pHasIframes=(()=>{const e=document.getElementsByTagName("iframe");return e.length?e.length:0})(),c.pWidth=Math.ceil(window.scrollWidth||document.body.scrollWidth),c.pHeight=Math.ceil(window.scrollHeight||document.body.scrollHeight),c.vWidth=Math.ceil(window.innerWidth||document.body.clientWidth),c.vHeight=Math.ceil(window.innerHeight||document.body.clientHeight),c.inIframe=z(),sessionStorage.getItem("template")&&(c.ippTemplate=sessionStorage.getItem("template")),c.visible=(i=c.vWidth,n=c.vHeight,z()&&(i<10||n<10)?0:1),c.caught=(()=>{let e=0;if(z())try{window.top.location.href}catch(t){e=1}return e})(),c.isScrollable=((e,t)=>{if(e>t){const i=.05;return e-t>Math.ceil(t*i)?1:0}return 0})(c.pHeight,c.vHeight)}function g(){t.debug("Touch move detected."),c.touchMove++,a=!0}function p(){1!==c.isMouseMoved&&(t.debug("Mouse move tracked"),c.isMouseMoved=1,a=!0)}function v(){t.debug("Touch end detected."),c.touchEnd++,a=!0,b()}function b(){if(t.debug("checkScrolling()"),c.pHeight<=c.vHeight)return c.pagePercentageSeen=100,void(c.belowTheFoldSeen=100);var e=Math.ceil(window.scrollTop||document.body.scrollTop),i=Math.ceil((e+c.vHeight)/c.pHeight*100);i>100&&(i=100),i!=c.pagePercentageSeen&&(t.debug("Scroll event detected."),c.isScrolled=1,a=!0),i>c.pagePercentageSeen&&(t.debug("Page percentage seen updated."),c.pagePercentageSeen=i,a=!0);var n=Math.ceil(e/(c.pHeight-c.vHeight)*100);n>100&&(n=100),n>c.belowTheFoldSeen&&(t.debug("Bellow the fold percentage seen updated."),c.belowTheFoldSeen=n,a=!0)}function m(){c.ippMissclicks++,a=!0}function w(e){t.debug("Click tracked"),c.totalClicks++;var i=e.target,n=null;do{null!==n&&""!==n||(n=x(i)),i=i.parentElement}while(i&&"body"!==i.nodeName.toLowerCase()&&"document"!==i.nodeName.toLowerCase());null===n&&(n="idle"),c.clicksByType[n]++,a=!0}function x(e){var t=null,i=["a","video","button","input","textarea","img","select"];return-1!==k()(i).call(i,e.nodeName.toLowerCase())&&("a"===(t=e.nodeName.toLowerCase())?t="link":"textarea"!==t&&"select"!==t||(t="input")),t}function S(){t.debug("Impression tracked"),c.eventImps++}function A(){t.debug("Retry tracked!"),c.retryCounts++}function T(){var e="//pubtrky.com/ut/hb.php?cb="+Math.random();return e+="&v=1",t.debug("Target Url: "+e.toString()),e}function C(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!s){if(s=!0,h(),e&&(c.lastevent=1),t.isDebugEnabled&&t.debug("send payload:",JSON.parse(o()(c))),"navigator"in window&&"sendBeacon"in window.navigator&&void 0!==navigator.sendBeacon&&void 0!==Blob){c.sentTimestamp=xe()();var i=new Blob([o()(c)],{type:"text/plain; charset=UTF-8"});navigator.sendBeacon(T(),i)}else{var n="XMLHttpRequest"in window?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");n.open("POST",T(),!0),n.setRequestHeader("Content-Type","text/plain;charset=UTF-8");try{c.sentTimestamp=xe()(),n.send(o()(c))}catch(e){}}c.lastevent=0,s=!1}}function I(){t.debug("visibility state is",document.visibilityState),"hidden"===document.visibilityState&&a?(clearInterval(n),C(),a=!1):"visible"===document.visibilityState&&(n=d()(E,6e4))}function O(){var e=new CustomEvent(i,{detail:{issued:"UT",data:{utsid:l}}});document.dispatchEvent(e)}function E(){if(c.sessionLength=wt()-u,c.sessionLength>=7200)return t.debug("Session limit reached! Send last payload and tear down"),C(),clearInterval(n),t.debug("detaching behavior listeners"),document.removeEventListener("click",w,!1),document.removeEventListener("mousemove",p,!1),document.removeEventListener("scroll",b,!1),document.removeEventListener("in-page-missclick",m,!1),document.removeEventListener("impression-event",S,!1),document.removeEventListener("impression-retry-event",A,!1),document.removeEventListener("touchend",v,!1),document.removeEventListener("touchmove",g,!1),document.removeEventListener("touchcancel",b,!1),document.removeEventListener("visibilitychange",I),void window.removeEventListener("beforeunload",C);0!==r&&1!==r&&5!==r&&10!==r&&r%30!=0||C(),r++}!async function e(){if("complete"===document.readyState||"interactive"===document.readyState)return c.clientHints=await L(t,true),c.browsingTopics=await async function(){let e=[];if("browsingTopics"in document&&document.featurePolicy.allowsFeature("browsing-topics"))try{e=await document.browsingTopics(),t.debug("document.browsingTopics() return value:",e)}catch(e){t.debug("Error calling document.browsingTopics(): ",e)}return e}(),"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?(document.addEventListener("touchend",v,!1),document.addEventListener("touchmove",g,!1),document.addEventListener("touchcancel",b,!1)):(document.addEventListener("mousemove",p,!1),document.addEventListener("scroll",b,!1)),document.addEventListener("click",w,!1),document.addEventListener("impression-event",S,!1),document.addEventListener("impression-retry-event",A,!1),document.addEventListener("in-page-missclick",m,!1),h(),b(),0===r&&E(),n=d()(E,6e4),window[i]=l,O(),f()(O,2e4),document.addEventListener("visibilitychange",I),void window.addEventListener("beforeunload",(()=>{C(!0)}));f()(e,100)}()};const xt="x4G9Tq2Kw6R7v1Dy3P0B5N8Lc9M2zF",St="adblock-settings",At=(()=>{let e=document.currentScript;return e||(e=document.getElementById("aclib")),e||(e=document.getElementById("adcash-lib")),e})();let Tt=null;var Ct=class{#Qe;#lt={pop:!1,autoTag:!1,inPagePush:!1,interstitial:!1};#dt;#b;#ut=new(t());#i;#ht;#gt={mousedown:[],click:[],touchstart:[]};#ft={mousedown:[],scroll:[],click:[],touchstart:[]};#v="youradexchange.com";#k="60.1";#o=null;#pt;#vt;#bt=!1;isShowingPop=!1;#T;constructor(){if(Tt)return Tt;Tt=this,this.#i=new y("aclib_adbl"),window.addEventListener("mousedown",(e=>{var t;this.#i.debug("win mousedown with capture: in"),r()(t=this.#gt.mousedown).call(t,(t=>{this.#i.debug("win mousedown with capture: calling observer"),t.callback(e)}))}),!0),window.addEventListener("mousedown",(e=>{var t;this.#i.debug("win mousedown: in"),r()(t=this.#ft.mousedown).call(t,(t=>{this.#i.debug("win mousedown: calling observer"),t.callback(e)}))}),!1),window.addEventListener("click",(e=>{var t;this.#i.debug("win click with capture: in"),r()(t=this.#gt.click).call(t,(t=>{this.#i.debug("win click with capture: calling observer"),t.callback(e)}))}),!0),window.addEventListener("click",(e=>{var t;this.#i.debug("win click: in"),r()(t=this.#ft.click).call(t,(t=>{this.#i.debug("win click: calling observer"),t.callback(e)}))}),!1),document.addEventListener("mousedown",(e=>{var t;this.#i.debug("doc mousedown: in"),r()(t=this.#ft.mousedown).call(t,(t=>{this.#i.debug("doc mousedown: calling observer"),t.callback(e)}))})),document.addEventListener("mousedown",(e=>{var t;this.#i.debug("doc mousedown with capture: in"),r()(t=this.#gt.mousedown).call(t,(t=>{this.#i.debug("doc mousedown with capture: calling observer"),t.callback(e)}))}),!0),window.addEventListener("scroll",(e=>{var t;r()(t=this.#ft.scroll).call(t,(t=>{t.callback(e)}))})),document.addEventListener("click",(e=>{var t;this.#i.debug("doc click: in"),r()(t=this.#ft.click).call(t,(t=>{this.#i.debug("doc click: calling observer"),t.callback(e)}))})),document.addEventListener("click",(e=>{var t;this.#i.debug("doc click with capture: in"),r()(t=this.#gt.click).call(t,(t=>{this.#i.debug("doc click with capture: calling observer"),t.callback(e)}))}),!0),this.getClientHints(),this.#vt=U(),this.#pt=(()=>{const e=Math.floor(11*Math.random())+5;let t="";for(let i=0;i{window[t]&&window[t]===e||(window[t]=e)}),500)}#xt(){this.#ht&&(clearInterval(this.#ht),this.#ht=null)}subscribe(e,t,i){if(!this.#gt[e]||!this.#ft[e])throw new Error(`${e} is not observable!`);i?this.#gt[e].push(t):this.#ft[e].push(t)}unsubscribe(e,t,i){if(!this.#gt[e]||!this.#ft[e])throw new Error(`${e} is not observable!`);if(i)for(let i=0;i{const t=document.createElement("link");t.rel="dns-prefetch",t.href=`//${e}`,document.head.appendChild(t)}))}f()(v()(e=this.#mt).call(e,this),100)}getZoneIds(){return m()(this.#ut)}runPop(e){this.#kt();const{zoneId:t,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:k,recordPageView:x,linkedZoneId:S,abTest:A,tagVersionSuffix:T}=e;if(!t)throw new Error("mandatory zoneId is not provided!");if(!ye(t))throw new Error("zoneId is not a string!");if(void 0!==i&&(!me(i)||i<0))throw new Error("refreshRate is not an integer or is less than zero");if(void 0!==n&&(!me(n)||n<0))throw new Error("delay is not an integer or is less than zero");if(void 0!==r){if(!ye(r))throw new Error("targetElementsCssSelector is not a string");if(!(e=>{try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0})(r))throw new Error("targetElementsCssSelector is not a valid css selector");if(!be(s))throw new Error("triggerOnTargetElementsClick is not a boolean")}if(void 0!==o){if(!(e=>{if(!fe()(e))return!1;if(0===e.length)return!1;for(let t=0;t0&&p<10&&(p<5?p*=60:p=30),new ft({zoneId:t,refreshRate:p??60,delay:i??0,maxAds:n??1,renderPosDesktop:r??"top",renderPosMobile:s??"top",offsetTop:o??0,sub1:a,isAutoTag:c,linkedZoneId:l,collectiveZoneId:d,aggressivity:u,recordPageView:h,abTest:g,tagVersionSuffix:f,adserverDomain:this.#v,adblockSettings:this.#o,adcashGlobalName:this.#pt,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T})}runBanner(e){this.#kt();const{zoneId:t,width:i,height:n,renderIn:r,sub1:s,currentScript:o}=e;if(!t)throw new Error("mandatory zoneId is not provided!");if(!ye(t))throw new Error("zoneId is not a string!");if(void 0!==i&&!me(i))throw new Error("Banner width is not an integer");if(void 0!==n&&!me(n))throw new Error("Banner height is not an integer");if(this.#ut.has(t))return void this.#i.error(`zone ${t} already loaded`);let a;this.#ut.add(t),this.#i.debug("loading banner on page",t),r||(document.currentScript&&document.currentScript.parentElement&&(a=document.currentScript.parentElement),o&&(a=o.parentElement)),new yt({zoneId:t,width:i,height:n,renderIn:r,currentElement:a,sub1:s,adcashGlobalName:this.#pt,uniqueFingerprint:this.#T,adblockSettings:this.#o})}runInterstitial(e){if(this.#lt.interstitial)return void this.#i.error("interstitial zone already loaded on page");this.#lt.interstitial=!0,this.#kt();const{zoneId:t,sub1:i,isAutoTag:n,linkedZoneId:r,collectiveZoneId:s,aggressivity:o,recordPageView:a,abTest:c,tagVersionSuffix:l}=e;if(!t)throw new Error("mandatory zoneId is not provided!");if(!ye(t))throw new Error("zoneId is not a string!");this.#i.debug("loading interstitial on page");const d={zoneId:t,sub1:i,isAutoTag:n,linkedZoneId:r,collectiveZoneId:s,aggressivity:o,recordPageView:a,abTest:c,tagVersionSuffix:l,adcashGlobalName:this.#pt,adserverDomain:this.#v,adblockSettings:this.#o,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T};this.#ut.add(t),new at(d)}async#St(e){let t=!(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 e=`/${se("abcdefgh0123456789")}`;i=`${window.location.protocol}//${this.#o.adserverDomain}${e}`}i+=`?cz=${e}`,i+=`&atv=${this.#k}`;const n=await this.getClientHints();let r;n&&(i+=n),this.isAdbMode()&&(i+="&sadbl=2",i+="&fmt=atg",i=oe(i)),this.#i.debug("collective zone config url: ",i);try{r=await fetch(i)}catch(i){return this.#i.error(i),this.#o&&t?(this.#i.debug("collective zone config fetch failed: try alt domain and path"),this.enableAdbMode(),this.#St(e,!1)):null}return 200!==r.status?null:(r=await r.json(),de(r))}async runAutoTag(e){if(this.#lt.autoTag)return void this.#i.error("autotag zone already loaded on page");this.#lt.autoTag=!0,this.#kt();const t=e.zoneId;if(!t)throw new Error("mandatory zoneId is not provided!");if(!ye(t))throw new Error("zoneId is not a string!");const i=await this.#St(t);if(i)if(this.#i.debug("collective zone config:",i),i.rotationList)this.#i.debug("running in ROTATION MODE"),this.#ut.add(t),new Je({adcashGlobalName:this.#pt,collectiveZoneConfig:i,adserverDomain:this.#v,adblockSettings:this.#o,clientHintsQueryStr:this.#b,tagVersionSuffix:e.tagVersionSuffix,isLoadedAsPartOfLibrary:!0,uniqueFingerprint:this.#T});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:t,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:e.tagVersionSuffix});break;case"interstitial":this.runInterstitial({zoneId:n[s].zoneId.toString(),isAutoTag:!0,collectiveZoneId:t,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:e.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:t,aggressivity:i.aggressivity,abTest:i.ab_test,recordPageView:r,tagVersionSuffix:e.tagVersionSuffix});break;default:this.#i.error(`ad format type not recognised from collective zone config. adformat.type: ${s}; czid: ${t}`)}r=!1}}else this.#i.error(`failed to fetch collective zone config! czid: ${t}`)}};const It=new y("aclib_adblock_index");window.Adcash?It.debug("lib already on page. exit"):(It.debug("load lib on page"),window.Adcash=Ct,window.AtcshAltNm=Ct,window.aclib=new Ct)}()}();