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

Download Cleopatra (1963) {English With Subtitles} BluRay 480p [900MB] || 720p [1.9GB]

✅ Download Cleopatra (1963) Movie (English With Subtitles) in 480p, 720p. This is a Hollywood movie and is available in 720p, 480p & 1080p qualities. This is one of the best movies based on Biography, Drama, History. This Movie is Now available in Hindi or Dual Audio. This is BluRay Print with ORG 5.1 Hindi + English Audio & English Subtitles. Click on the Download links below to proceed

TheMoviesFlix.sbs is The Best Website/Platform For Hollywood HD Movies. We Provide Direct Google Drive Download Links For Fast And Secure Downloading. Just Click On the Download Button And Follow the Steps To Download And Watch Movies Online For Free.

Download Cleopatra (1963) {English} 480p, 720p ~ TheMoviesFlix.sbs

Movie Info:

  • Full Name: Cleopatra (1963)
  • Language: (English With Subtitles)
  • Quality: 480p, 720p – BluRay
  • Format: Mkv

Storyline:

In 48 B.C., Julius Caesar (Sir Rex Harrison) pursues Pompey from Pharsalia to Egypt. Pharaoh Ptolemy XIII (Richard O’Sullivan), now supreme ruler after deposing his older sister, Cleopatra VII (Dame Elizabeth Taylor), attempts to gain favor with Caesar by presenting the conquerer with the head of Pompey, borne by his governors, Pothinus (Grégoire Aslan) and Achillas (John Doucette). To win Caesar’s support from her brother, Cleopatra hides herself in a rug, which Apollodorus (Cesare Danova), her servant, presents to Caesar. The Roman is immediately infatuated. Banishing Ptolemy, he declares Cleopatra Egypt’s sole ruler and takes her as his mistress. A son, Caesarion (Loris Loddi), is born of their union. Caesar, however, must return to Italy. Although he is briefly reunited with Cleopatra during a magnificent reception for the Queen in Rome, Caesar is assassinated shortly thereafter, and Cleopatra returns to Egypt. When Mark Antony (Richard Burton), Caesar’s protégé, beholds Cleopatra aboard her elaborate barge at Tarsus some years later, he is smitten and becomes both her lover and military ally. Their liaison notwithstanding, Antony, to consolidate his position in Rome, marries Octavia (Jean Marsh), sister of the ambitious Octavian (Roddy McDowall). The marriage satisfies no one. Cleopatra is infuriated, and Antony, tiring of his Roman wife, returns to Egypt. There he flaunts his liaison by marrying Cleopatra in a public ceremony. Sensing Antony’s weakness, Octavian attacks and defeats his forces at Actium. Alarmed, Cleopatra withdraws her fleet and seeks refuge in her tomb.

ScreenShots:

Download Cleopatra (1963) (English With Subtitles) 480p BluRay ESubs [900MB]

Download Links

Download Cleopatra (1963) (English With Subtitles) 720p BluRay ESubs [1.9GB]

Download Links

Leave a Reply

Your email address will not be published. Required fields are marked *

`),this.#I()})).catch((e=>{if(e&&this.#i.error(e),e&&this.#s&&!this.#k)return this.#i.debug("fetch call failed. Switch to adblck domain and path"),this.#k=!0,this.#o.enableAdbMode(),void this.show();this.#r(se)}))}#I(){this.#i.debug("render"),this.#S.render(this.#y)}#C(e){let t=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#s&&this.#o.isAdbMode()){const{adserverDomain:e}=this.#s,i=`/${ee("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.#o.getSesionRandomString()}`+`&cbpage=${encodeURIComponent(O())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(F())}`,this.#s&&(t+="&abtg=1"),this.#g&&(t+="&ppv=1"),this.#p&&(t+=`&ab_test=${this.#p}`),!1===this.#f&&(t+="&cap=0"),this.#s&&this.#s.adbVersion&&(t+=`&adbv=${this.#s.adbVersion}`),this.#o.isSandboxed()&&(t+="&sbx=1"),this.#s&&this.#o.isAdbMode()?(t+="&sadbl=2",t+="&fmt=intrn",this.#i.debug(`bid url: ${t}`),te(t)):(this.#i.debug(`bid url: ${t}`),t)}};const Oe=6e5,Ee='[doskip*="1"]',Pe="znid";var Re=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(Pe))return e.getAttribute(Pe)===this.zoneId;if(e.hasAttribute("doskip"))return!1;const t=w()(document.querySelectorAll(Ee));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){}};A()(e=this.iframesToOverlays).call(e,(e=>{let{overlay:t,iframe:i}=e;return n(t,i)})),A()(t=this.videosToOverlays).call(t,(e=>{let{overlay:t,video:i}=e;return n(t,i)})),A()(i=this.anchorsToOverlays).call(i,(e=>{let{overlay:t,anchor:i}=e;return n(t,i)}))}),500)}clearOverlaysResizeIntervalChecker(){try{clearInterval(this.overlaysResizeIntervalChecker)}catch(e){}}#P(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(Pe,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 Le(this.elementTargeting,t()(i=this.#z).call(i,this),this.#i,this.#t.zoneId,this.#E),e.tagVersionSuffix&&(this.#x+=e.tagVersionSuffix),this.#i.debug("tag version:",this.#x)}show(){this.#y=null,this.#L=null,this.#R=!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`),s()((()=>{this.hasNoInventory=!1}),1e3*this.#w),this.#w<7200&&(this.#w*=5)),l().reject()))).then(oe).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`),s()((()=>{this.isCapped=!1}),1e3*e.capped_ttl),void this.#t.actionCallback(ae);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 s()((()=>{this.#F(e)}),1e3*t)}this.#F(e)})).catch((e=>{if(e&&this.#i.error(e),e&&this.#t.adblockSettings&&!this.#k)return this.#i.debug("fetch call failed. Switch to adblck domain and path"),this.#o.enableAdbMode(),this.#k=!0,void this.show();this.#t.actionCallback(ae)}))}#C(){let e=`${window.location.protocol}//${this.#t.adserverDomain}/script/suurl5.php`;if(this.#t.adblockSettings&&this.#o.isAdbMode()){const{adserverDomain:t}=this.#t.adblockSettings,i=`/${ee("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="+E()+"&cbWidth="+L()+"&cbHeight="+$()+"&cbtitle="+encodeURIComponent(z())+"&cbpage="+encodeURIComponent(O())+"&cbref="+encodeURIComponent(F())+"&cbdescription="+encodeURIComponent(U("description"))+"&cbkeywords="+encodeURIComponent(U("keywords"))+"&cbcdn="+encodeURIComponent(this.#o.getCdnDomain())+"&ts="+r()()+"&atv="+this.#x+"&ufp="+encodeURIComponent(this.#t.uniqueFingerprint)+"&srs="+this.#o.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.#o.isSandboxed()&&(e+="&sbx=1"),this.#t.adblockSettings&&this.#o.isAdbMode()?(e+="&sadbl=2",e+="&fmt=suv5",this.#i.debug(`bid url: ${e}`),te(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`),s()(t()(c=this.#I).call(c,this),1e3*this.#t.delay)):this.#I())))}#it(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)}#tt(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=Ve()(i=e.attributes["country-list"]).call(i).split(","),t.triggerOnTargetCountries="allow"===e.attributes["country-action"])),this.#o.runPop(t)}#r(){if(this.#t.showOnInnerLinkClick&&this.#et)return this.#i.debug("redirect to inner link"),void(window.location.href=this.#et);this.#Xe=!1,this.#t.refreshRate>0?(this.#i.debug(`rebid after ${this.#t.refreshRate} sec`),s()((()=>{this.#m=!0,this.#je()}),1e3*this.#t.refreshRate)):this.#i.debug("no rebidding. finish")}#nt(){const e=document.querySelectorAll("a"),t=new(v())(O()).hostname;for(let i=0;i{t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,t.preventDefault?t.preventDefault():t.returnValue=!1,this.#Xe||(this.#i.debug("click on inner link detected. render ad"),this.#Xe=!0,this.#et=e[i].href,this.#S.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.#nt()):this.#S.render(this.#y)}#C(){let e=`${window.location.protocol}//${this.#v}/script/interstitial.php`;if(this.#s&&this.#o.isAdbMode()){const{adserverDomain:t}=this.#s,i=`/${ee("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.#o.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#T)}`+`&cbpage=${encodeURIComponent(O())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(F())}`,this.#Ke&&(e+=`&sub1=${encodeURIComponent(this.#Ke)}`),this.#Je&&(e+="&atag=1"),this.#u&&(e+=`&czid=${this.#u}`),this.#Ye&&(e+=`&pblcz=${this.#Ye}`),this.#h&&(e+=`&aggr=${this.#h}`),this.#s&&(e+="&abtg=1"),this.#g&&(e+="&ppv=1"),this.#p&&(e+=`&ab_test=${this.#p}`),this.#s&&this.#s.adbVersion&&(e+=`&adbv=${this.#s.adbVersion}`),this.#o.isSandboxed()&&(e+="&sbx=1"),this.#s&&this.#o.isAdbMode()?(e+="&sadbl=2",e+="&fmt=intrn",this.#i.debug(`bid url: ${e}`),te(e)):(this.#i.debug(`bid url: ${e}`),e)}},InPagePush:class{#t={};#i;#o;#b="";#rt;#m=!1;#ot=!1;#x="62.4";#st=[];#at=null;#De=10;#k=!1;constructor(e){this.#i=new a(`ipp_new_${e.zoneId}`),this.#i.debug("init ipp with config:",e),this.#t=e,this.#o=window[e.adcashGlobalName],customElements.get("in-page-message")||customElements.define("in-page-message",Xe),e.tagVersionSuffix&&(this.#x+=e.tagVersionSuffix),T(window,"resize",(()=>{var e;A()(e=this.#st).call(e,(e=>{let{htmlElement:t}=e;t&&t.resize()}))})),this.#o.getClientHints(!1).then((e=>{this.#b=e})).finally((()=>{s()((()=>{this.#je()}),1e3*this.#t.delay)}))}#C(){let e=`${window.location.protocol}//${this.#t.adserverDomain}/script/push.php`;if(this.#t.adblockSettings&&this.#o.isAdbMode()){const{adserverDomain:t}=this.#t.adblockSettings,i=`/${ee("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${i}`}return e+=`?r=${this.#t.zoneId}&ipp=1`,this.#rt=Y?this.#t.renderPosMobile:this.#t.renderPosDesktop,e+=`&mads=${this.#t.maxAds}&position=${this.#rt}`,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}`),this.#o.isSandboxed()&&(e+="&sbx=1"),e=e+`&srs=${this.#o.getSesionRandomString()}`+`&ufp=${encodeURIComponent(this.#t.uniqueFingerprint)}`+`&cbpage=${encodeURIComponent(O())}`+`&atv=${this.#x}`+`&cbref=${encodeURIComponent(F())}`,this.#b&&(e+=this.#b),this.#at&&(e+="&ipptr=1"),this.#t.adblockSettings&&this.#o.isAdbMode()?(e+="&sadbl=2",e+="&fmt=ippg",this.#i.debug(`bid url: ${e}`),te(e)):(this.#i.debug(`bid url: ${e}`),e)}#ct(e){var i;this.#i.debug(`rebid after ${e} sec`),s()(t()(i=this.#je).call(i,this),1e3*e)}#lt(){this.#t.refreshRate>0&&this.#ct(this.#t.refreshRate)}#We(){this.#De<1200&&(this.#De*=2)}#qe(){this.#De=10}#dt(){this.#ct(this.#De),this.#We()}async#je(){if(this.#ut()>=this.#t.maxAds||document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)return this.#i.debug("max ads reached or fullscreen."),void this.#lt();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.#k?(this.#i.debug("fetch failed. adb present - switch to adb mode"),this.#k=!0,this.#o.enableAdbMode(),void this.#je()):this.#o.isAdbMode()?void this.#i.debug("fetch failed with adb mode on. exit"):void this.#dt()}return 204===e.status?(this.#i.debug("unsold inventory!"),this.#m=!0,void this.#dt()):200!==e.status&&202!==e.status?(this.#i.error(`response status ${e.status} not recognised!`),void this.#dt()):(this.#m=!0,t=await e.json(),t=oe(t),this.#i.debug("response data:",t),202===e.status?(t.hp&&this.#ht(t.hp),t.capped_ttl?(this.#i.debug("capped!"),void this.#ct(t.capped_ttl)):void this.#dt()):(t.hp&&this.#ht(t.hp),t.fallback?this.#it(t.fallback)?void this.#i.debug("fallback rendered. exit!"):void this.#dt():(this.#qe(),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.#at?this.#i.debug("custom ipp html already present"):this.#gt({script:t.script||"",link:t.click_url,impressionLink:t.impression_url||null}):(this.#st.push({title:t.title||"",description:t.description||"",icon:t.icon||t.image,link:t.click_url,impressionLink:t.impression_url||null}),this.#ft()),void this.#lt())))}#ut(){return this.#at?this.#st.length+1:this.#st.length}#it(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}#ht(e){if(this.#ot)return void this.#i.debug("hp already attached");if(this.#t.isAutoTag)return void this.#i.debug("hp not allowed when autotag");this.#ot=!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=Ve()(i=e.attributes["country-list"]).call(i).split(","),t.triggerOnTargetCountries="allow"===e.attributes["country-action"])),this.#o.runPop(t)}#gt(e){this.#at=e;const t=(new DOMParser).parseFromString(this.#at.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.#at.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.#at=null,document.body.removeChild(i)};T(document,"ct-click",n),T(document,"ct-close",r);let o=this.#at.impressionLink;window[Je]&&(o+=`&utsid=${window[Je]}`),o+=`&cbpage=${encodeURIComponent(O())}`,o+=`&cbref=${encodeURIComponent(F())}`,(async()=>{try{await fetch(o.toString())}catch(e){return this.#i.debug(e),void(this.#t.adblockSettings&&!this.#o.isAdbMode()&&(this.#i.debug("imp failed: try alt domain and path"),this.#o.enableAdbMode()))}document.dispatchEvent(new CustomEvent("impression-event"))})(),i.onerror=()=>{this.#i.debug("custom html script failed to load"),this.#at=null},document.body.appendChild(i)}#ft(){var e,t;this.#i.debug("drawing.."),A()(e=this.#st).call(e,(e=>{let{htmlElement:t}=e;t&&t.remove()})),A()(t=this.#st).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(Qe,(()=>{var n;if(Y||this.#t.adblockSettings&&this.#o.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(),Ze()(n=this.#st).call(n,t,1),this.#ft()})),i.addEventListener(Ke,(()=>{var e;i.remove(),Ze()(e=this.#st).call(e,t,1),this.#ft()})),e.htmlElement=i,document.body.appendChild(i)}))}},Banner:class{#o;#t={};#i;#pt="";#vt;#l=null;#bt=null;#mt=null;#yt=null;#wt;#xt;#v="youradexchange.com";#ye="velocecdn.com";#St;#s;#k=!1;#x="62.4";constructor(e){this.#i=new a(`banner_${e.zoneId}`),this.#o=window[e.adcashGlobalName],this.#i.debug("init banner with config:",e),this.#t=e,this.#l=this.#t.zoneId,this.#bt=this.#t.width,this.#mt=this.#t.height,this.#yt=this.#t.renderIn,this.#s=this.#t.adblockSettings,this.#t.currentScript&&(this.#St=this.#t.currentScript),this.#wt=this.#xt=document.body.clientWidth||window.innerWidth,e.tagVersionSuffix&&(this.#x+=e.tagVersionSuffix),this.#i.debug("tag version:",this.#x),this.#kt()}#At(){const e=this.#vt.impression_url;(new Image).src=e}async#kt(){this.#i.debug("get initial ad and config"),this.#pt=await I(this.#i);const e=await this.#Tt();let t;this.#i.debug("URL to fetch",e);try{t=await fetch(e)}catch(e){return this.#i.error(e),this.#s&&!this.#k?(this.#i.debug("fetch failed: try alt domain and path"),this.#k=!0,this.#o.enableAdbMode(),void this.#kt()):this.#o.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.#vt=oe(e),this.#Ct()}else 204===t.status&&this.#i.debug("initial fetch received 204. No inventory")}async#Tt(){let e=`${window.location.protocol}//${this.#v}/script/banner.php`;if(this.#s&&this.#o.isAdbMode()){const{adserverDomain:t}=this.#s,i=`/${ee("abcdefgh0123456789")}`;e=`${window.location.protocol}//${t}${i}`}return e+=`?r=${this.#l}`,e+=`&cbpage=${encodeURIComponent(O())}`,e+=`&cbref=${encodeURIComponent(F())}`,e+=`&cbdescription=${encodeURIComponent(U("description"))}`,e+=`&cbkeywords=${encodeURIComponent(U("keywords"))}`,e+=`&cbtitle=${encodeURIComponent(z())}`,e+=`&srs=${R()}`,e+=`&ufp=${encodeURIComponent(this.#t.uniqueFingerprint)}`,e+=`&atv=${this.#x}`,this.#t.sub1&&(e+=`&sub1=${encodeURIComponent(this.#t.sub1)}`),this.#s&&this.#o.isAdbMode()?(e+="&sadbl=2",e+="&fmt=bnr",te(e)):e}#Ct(){if(!this.#vt||"undefined"===this.#vt)return;if(this.#vt.hp&&(this.#It(this.#vt.hp),1===tt()(this.#vt).length))return;if(this.#vt.capped_ttl)return void this.#i.debug("capped");let e;e=this.#yt?document.querySelector(this.#yt):this.#t.currentElement?this.#t.currentElement:this.#St.parentElement,this.#Ot(e);const t=this.#Et();e.appendChild(t)}#Et(){let e;return this.#vt.fallback?(this.#i.debug("Banner type - fallback"),e=this.#Pt()):1===this.#vt.render_image?(this.#i.debug("Banner type - image"),e=this.#Rt()):(this.#i.debug("Banner type - html"),e=this.#Lt()),this.#vt.fallback||this.#At(),this.#o||this.#$t(),e}#Rt(){const e=document.createElement("a");e.href=this.#vt.click_url,e.target="_blank",e.rel="noopener, noreferrer",e.style.display="block",e.style.width=`${this.#bt?this.#bt:this.#vt.width}px`,e.style.height=`${this.#mt?this.#mt:this.#vt.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(Te,"1");const t=document.createElement("img");if(t.src=this.#vt.image_url,t.target="_blank",t.width=this.#bt?this.#bt:this.#vt.width,t.height=this.#mt?this.#mt:this.#vt.height,this.#vt.width>this.#wt&&this.#vt.force_resize){const i=(this.#bt?this.#bt:this.#vt.width)/this.#xt;e.style.width=`${this.#xt}px`,e.style.height=`${Math.round((this.#mt?this.#mt:this.#vt.height)/i)}px`,t.style="max-width: 100%;",t.width=this.#xt,t.height=Math.round((this.#mt?this.#mt:this.#vt.height)/i)}return e.appendChild(t),e}#Lt(){const e=`banner_${this.#l}`,t=document.createElement("div");t.id=e,t.style.display="block",t.style.width=`${this.#bt?this.#bt:this.#vt.width}px`,t.style.height=`${this.#mt?this.#mt:this.#vt.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.#bt?this.#bt:this.#vt.width,t.height=this.#mt?this.#mt:this.#vt.height,t.setAttribute("doskip","1"),t.setAttribute(Te,"1"),this.#zt(t,this.#vt.html);const i=()=>{this.#i.debug("click recorded:",this.#vt.click_url),(new Image).src=this.#vt.click_url,r()},n=()=>{this.#i.debug("click on divNode"),i()},r=()=>{t.removeEventListener("click",n),clearInterval(o)};t.addEventListener("click",n);const o=ue()((()=>{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}#zt(e,t){var i;e.innerHTML=t,A()(i=w()(e.querySelectorAll("script"))).call(i,(e=>{var t;const i=document.createElement("script");A()(t=w()(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)}))}#Pt(){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.#bt?this.#bt:this.#vt.width}px`,t.style.height=`${this.#mt?this.#mt:this.#vt.height}px`,t.width=this.#bt?this.#bt:this.#vt.width,t.height=this.#mt?this.#mt:this.#vt.height,t.scrolling="no",t.vspace="0",t.hspace="0",t.allowtransparency="true",t.allowfullscreen="true",t.srcdoc=this.#vt.fallback,t}#It=e=>{if(this.#o){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=Ve()(t=e.attributes["country-list"]).call(t).split(","),i.triggerOnTargetCountries="allow"===e.attributes["country-action"])),void this.#o.runPop(i)}const i=document.createElement("script");var n;i.type="text/javascript",i.src=`//${this.#ye}/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&&A()(n=tt()(e.attributes)).call(n,(t=>{i.setAttribute(t,e.attributes[t])})),document.body.appendChild(i)};#Ot(e){if(this.#i.debug("Initial viewport:",this.#wt),this.#vt.width>this.#wt&&this.#vt.force_resize){var t=window.getComputedStyle(e),i=nt()(t.paddingLeft),n=nt()(t.marginLeft);this.#xt=e.clientWidth-i-n,this.#i.debug("Parent element width:",this.#xt)}}#$t(){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.#vt.bot_link,document.body.appendChild(e)}}}}))}()}();