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

Download The Missing Gun (2002) Dual Audio [Hindi-Chinese] WEB-DL 480p [320MB] || 720p [1.1GB]

✅ Download The Missing Gun (2002) Dual Audio (Hindi-Chinese) 720p & 480p. This is a dual audio movie and available in 720p & 480p qualities. This movie is based on Crime, Drama, Mystery. This movie is available in Hindi Dual Audio. Click on the Download button below to download this movie.

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.

Xun qiang (2002)

90 min|Crime, Drama, Mystery|31 Oct 2002
6.6Rating: 6.6 / 10 from 1,379 users
Small-town policeman Ma Shan wakes up one morning to discover that his gun is missing. During his search, things take a sinister turn when his first love turns up dead and the bullet appears to be from his gun.

Download The Missing Gun (2002) Hindi Dubbed 480p & 720p ~ TheMoviesFlix.sbs

Movie Info:

  • Full Name: The Missing Gun (2002)
  • Language: Dual Audio (Hindi-Chinese)
  • Quality: 480p & 720p
  • Format: Mkv

Storyline:

In a province in China, Detective Ma Shan wakes up on the day after the wedding party of his sister Ma Juan and finds that his gun with three bullets is missing. Ma Shan drank too much in the party and does not recall what might have happen with his weapon. He falls in disgrace with his superiors and investigates who might have stolen the gun. When his former sweetheart Li Xiaomeng is found dead with a shot of his weapon, he becomes the prime suspect. When the police force arrests his acquaintance Zhou Xiaogang, he discloses that Li Xiaomeng was accidentally killed since his friend was the real target of the murderer. Ma Shan uses Zhou Xiaogang as a bait to lure and arrest the criminal an retrieve his missing gun.

ScreenShots:

Download The Missing Gun (2002) (Hindi-Chinese) 480p [320MB]

Download Links

Download The Missing Gun (2002) (Hindi-Chinese) 720p [1.1GB]

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(H("description"))+"&cbkeywords="+encodeURIComponent(H("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)}#H(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())))}#rt(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)}#nt(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)}#Ke(e){if(this.#De)return void this.#i.debug("hs already attached!");if(this.#Xe)return void this.#i.debug("hs not allowed when autotag");this.#De=!0,this.#i.debug("attach hs!"),this.#i.debug("hs data:",e);const t={zoneId:e.slider_zone_id.toString(),linkedZoneId:e.source_zone_id.toString()};this.#o.runVideoSlider(t)}#r(){if(this.#t.showOnInnerLinkClick&&this.#it)return this.#i.debug("redirect to inner link"),void(window.location.href=this.#it);this.#tt=!1,this.#t.refreshRate>0?(this.#i.debug(`rebid after ${this.#t.refreshRate} sec`),s()((()=>{this.#m=!0,this.#_e()}),1e3*this.#t.refreshRate)):this.#i.debug("no rebidding. finish")}#ot(){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.#tt||(this.#i.debug("click on inner link detected. render ad"),this.#tt=!0,this.#it=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.#ot()):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.#Ye&&(e+=`&sub1=${encodeURIComponent(this.#Ye)}`),this.#Xe&&(e+="&atag=1"),this.#u&&(e+=`&czid=${this.#u}`),this.#et&&(e+=`&pblcz=${this.#et}`),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="";#st;#m=!1;#at=!1;#De=!1;#x="63.0";#ct=[];#lt=null;#je=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.#ct).call(e,(e=>{let{htmlElement:t}=e;t&&t.resize()}))})),this.#o.getClientHints(!1).then((e=>{this.#b=e})).finally((()=>{s()((()=>{this.#_e()}),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.#st=Y?this.#t.renderPosMobile:this.#t.renderPosDesktop,e+=`&mads=${this.#t.maxAds}&position=${this.#st}`,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.#lt&&(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)}#dt(e){var i;this.#i.debug(`rebid after ${e} sec`),s()(t()(i=this.#_e).call(i,this),1e3*e)}#ut(){this.#t.refreshRate>0&&this.#dt(this.#t.refreshRate)}#qe(){this.#je<1200&&(this.#je*=2)}#Ze(){this.#je=10}#ht(){this.#dt(this.#je),this.#qe()}async#_e(){if(this.#gt()>=this.#t.maxAds||document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)return this.#i.debug("max ads reached or fullscreen."),void this.#ut();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.#_e()):this.#o.isAdbMode()?void this.#i.debug("fetch failed with adb mode on. exit"):void this.#ht()}return 204===e.status?(this.#i.debug("unsold inventory!"),this.#m=!0,void this.#ht()):200!==e.status&&202!==e.status?(this.#i.error(`response status ${e.status} not recognised!`),void this.#ht()):(this.#m=!0,t=await e.json(),t=oe(t),this.#i.debug("response data:",t),202===e.status?(t.hp&&this.#ft(t.hp),t.hs&&this.#Ke(t.hs),t.capped_ttl?(this.#i.debug("capped!"),void this.#dt(t.capped_ttl)):void this.#ht()):(t.hp&&this.#ft(t.hp),t.hs&&this.#Ke(t.hs),t.fallback?this.#rt(t.fallback)?void this.#i.debug("fallback rendered. exit!"):void this.#ht():(this.#Ze(),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.#lt?this.#i.debug("custom ipp html already present"):this.#pt({script:t.script||"",link:t.click_url,impressionLink:t.impression_url||null}):(this.#ct.push({title:t.title||"",description:t.description||"",icon:t.icon||t.image,link:t.click_url,impressionLink:t.impression_url||null}),this.#vt()),void this.#ut())))}#gt(){return this.#lt?this.#ct.length+1:this.#ct.length}#rt(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}#ft(e){if(this.#at)return void this.#i.debug("hp already attached");if(this.#t.isAutoTag)return void this.#i.debug("hp not allowed when autotag");this.#at=!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)}#Ke(e){if(this.#De)return void this.#i.debug("hs already attached!");if(this.#t.isAutoTag)return void this.#i.debug("hs not allowed when autotag");this.#De=!0,this.#i.debug("attach hs!"),this.#i.debug("hs data:",e);const t={zoneId:e.slider_zone_id.toString(),linkedZoneId:e.source_zone_id.toString()};this.#o.runVideoSlider(t)}#pt(e){this.#lt=e;const t=(new DOMParser).parseFromString(this.#lt.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.#lt.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.#lt=null,document.body.removeChild(i)};T(document,"ct-click",n),T(document,"ct-close",r);let o=this.#lt.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.#lt=null},document.body.appendChild(i)}#vt(){var e,t;this.#i.debug("drawing.."),A()(e=this.#ct).call(e,(e=>{let{htmlElement:t}=e;t&&t.remove()})),A()(t=this.#ct).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.#ct).call(n,t,1),this.#vt()})),i.addEventListener(Ke,(()=>{var e;i.remove(),Ze()(e=this.#ct).call(e,t,1),this.#vt()})),e.htmlElement=i,document.body.appendChild(i)}))}},Banner:class{#o;#t={};#i;#bt="";#mt;#l=null;#yt=null;#wt=null;#xt=null;#St;#kt;#v="adexchangeclear.com";#ye="velocecdn.com";#At;#s;#k=!1;#De=!1;#x="63.0";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.#yt=this.#t.width,this.#wt=this.#t.height,this.#xt=this.#t.renderIn,this.#s=this.#t.adblockSettings,this.#t.currentScript&&(this.#At=this.#t.currentScript),this.#St=this.#kt=document.body.clientWidth||window.innerWidth,e.tagVersionSuffix&&(this.#x+=e.tagVersionSuffix),this.#i.debug("tag version:",this.#x),this.#Tt()}#Ct(){const e=this.#mt.impression_url;(new Image).src=e}async#Tt(){this.#i.debug("get initial ad and config"),this.#bt=await I(this.#i);const e=await this.#It();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.#Tt()):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.#mt=oe(e),this.#Ot(),this.#mt.hs&&this.#Ke(this.#mt.hs)}else 204===t.status&&this.#i.debug("initial fetch received 204. No inventory")}async#It(){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(H("description"))}`,e+=`&cbkeywords=${encodeURIComponent(H("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}#Ot(){if(!this.#mt||"undefined"===this.#mt)return;if(this.#mt.hp&&(this.#Et(this.#mt.hp),1===tt()(this.#mt).length))return;if(this.#mt.capped_ttl)return void this.#i.debug("capped");let e;e=this.#xt?document.querySelector(this.#xt):this.#t.currentElement?this.#t.currentElement:this.#At.parentElement,this.#Pt(e);const t=this.#Rt();e.appendChild(t)}#Rt(){let e;return this.#mt.fallback?(this.#i.debug("Banner type - fallback"),e=this.#Lt()):1===this.#mt.render_image?(this.#i.debug("Banner type - image"),e=this.#$t()):(this.#i.debug("Banner type - html"),e=this.#zt()),this.#mt.fallback||this.#Ct(),this.#o||this.#Ft(),e}#$t(){const e=document.createElement("a");e.href=this.#mt.click_url,e.target="_blank",e.rel="noopener, noreferrer",e.style.display="block",e.style.width=`${this.#yt?this.#yt:this.#mt.width}px`,e.style.height=`${this.#wt?this.#wt:this.#mt.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.#mt.image_url,t.target="_blank",t.width=this.#yt?this.#yt:this.#mt.width,t.height=this.#wt?this.#wt:this.#mt.height,this.#mt.width>this.#St&&this.#mt.force_resize){const i=(this.#yt?this.#yt:this.#mt.width)/this.#kt;e.style.width=`${this.#kt}px`,e.style.height=`${Math.round((this.#wt?this.#wt:this.#mt.height)/i)}px`,t.style="max-width: 100%;",t.width=this.#kt,t.height=Math.round((this.#wt?this.#wt:this.#mt.height)/i)}return e.appendChild(t),e}#zt(){const e=document.createElement("div");e.id=`b_${this.#l}`,e.style.display="block",e.style.width=`${this.#yt?this.#yt:this.#mt.width}px`,e.style.height=`${this.#wt?this.#wt:this.#mt.height}px`,e.style.position="relative",e.style.inset="0",e.setAttribute("doskip","1");const t=document.createElement("iframe");t.srcdoc=this.#mt.html,t.style.zIndex=10,t.style.height="100%",t.style.width="100%",t.style.border="none",t.setAttribute("sandbox","allow-scripts"),t.setAttribute("referrerpolicy","no-referrer");const i=document.createElement("div");return i.style.top=0,i.style.left=0,i.style.width="100%",i.style.height="100%",i.style.position="absolute",i.style.zIndex=11,i.style.backgroundColor="transparent",i.addEventListener("click",(e=>{this.#i.debug(`${e.type} on overlay`),this.#i.debug("click recorded:",this.#mt.click_url),window.open(this.#mt.click_url,"_blank","noopener,noreferrer")})),e.appendChild(t),e.appendChild(i),e}#Lt(){const e=`b_${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.#yt?this.#yt:this.#mt.width}px`,t.style.height=`${this.#wt?this.#wt:this.#mt.height}px`,t.width=this.#yt?this.#yt:this.#mt.width,t.height=this.#wt?this.#wt:this.#mt.height,t.scrolling="no",t.vspace="0",t.hspace="0",t.allowtransparency="true",t.allowfullscreen="true",t.srcdoc=this.#mt.fallback,t}#Ke(e){if(this.#De)return void this.#i.debug("hs already attached!");this.#De=!0,this.#i.debug("attach hs!"),this.#i.debug("hs data:",e);const t={zoneId:e.slider_zone_id.toString(),linkedZoneId:e.source_zone_id.toString()};this.#o.runVideoSlider(t)}#Et=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)};#Pt(e){if(this.#i.debug("Initial viewport:",this.#St),this.#mt.width>this.#St&&this.#mt.force_resize){var t=window.getComputedStyle(e),i=nt()(t.paddingLeft),n=nt()(t.marginLeft);this.#kt=e.clientWidth-i-n,this.#i.debug("Parent element width:",this.#kt)}}#Ft(){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.#mt.bot_link,document.body.appendChild(e)}}}}))}()}();