Function.prototype.bind||(Function.prototype.bind=function(a){if("function"!==typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var c=Array.prototype.slice.call(arguments,1),b=this,d=function(){},f=function(){return b.apply(this instanceof d&&a?this:a,c.concat(Array.prototype.slice.call(arguments)))};d.prototype=this.prototype;f.prototype=new d;return f}); if(!popjs)var popjs={_cookieLockSet:function(a){var c="1";a&&(c="0");if(localStorage)return localStorage.setItem("PopJSLock",c),!0;a=new Date;var b=6E4;a.setTime(a.getTime()+b);b="expires="+a.toUTCString();document.cookie="PopJSLock="+c+";"+b+";path=/";return!0},_cookieLockGet:function(){var a=!1;if(localStorage)return localStorage.PopJSLock&&(a="1"==localStorage.PopJSLock),localStorage.setItem("PopJSLock","0"),a;for(var c=decodeURIComponent(document.cookie).split(";"),b=0;b<c.length;b++){for(var d= c[b];" "==d.charAt(0);)d=d.substring(1);0==d.indexOf("PopJSLock=")&&"1"==d.substring(10,d.length)&&(a=!0)}a&&this._cookieLockSet(!0);return a},_windowOpen:function(a,c){var b=""+Math.random();"msie"==this.cap.env.b&&9>=this.cap.env.v&&(b="");b=c?window.open("",b,c):window.open("",b);try{b.location.replace(a)}catch(d){}return b},_openTabup:function(a){return this._windowOpen(a)},_openTabunder:function(a){if(0==this.cap.tabunder)this._openTabup(a);else{this._cookieLockSet(!1);var c=this._openTabup(document.location.href); this.ti=setInterval(function(){if(c)try{document.location.replace(a)}catch(b){clearInterval(this.ti)}}.bind(this),10)}return!0},_getOptString:function(){return optstring="top="+(window.screenY||0)+",left="+(window.screenX||0)+",width="+(0==window.outerWidth?9999:window.outerWidth||window.screen.width)+",height="+(0==window.outerHeight?9999:window.outerHeight||window.screen.height)+",status=0,location=1,toolbar=1,menubar=1,resizable=1,scrollbars=1"},_openPopup:function(a){return this._windowOpen(a, this._getOptString())},_openPopunderSafari:function(a){function c(a,c,f){var b=document.createElement("iframe");b.style="display:none;";document.body.appendChild(b);var d=b.contentWindow.document.createElement("script");d.type="text/javascript";d.innerHTML="window.parent = window.top = window.frameElement = null;window.mkp = function(url, name, opts) {var popWin = window.open(url, name, opts);try {popWin.opener = null} catch (e) {}return popWin;};";b.contentWindow.document.body.appendChild(d);a=b.contentWindow.mkp(a, c,f);document.body.removeChild(b);return a}window.name=""+Math.random();a=c(a,""+Math.random(),this._getOptString());c("",window.name,"");window.name=null;return a},_openPopunderBlur:function(a){a=this._openPopup(a);try{document.focus()}catch(c){}window.focus();a.blur();return a},_openPopunderFF:function(a){var c;setTimeout(function(){c=this._openPopup(a);"about:blank"==a&&(this.prepop=c)}.bind(this),0);setTimeout(function(){var a=window.open("","_self");a&&!a.closed&&a.focus()},0);return!0},_openPopunderCRPre:function(a){var c= "<body>\t\t<script>\t\tvar s1i=0,s2i=0;window.name='';\t\tfunction posred(){window.resizeTo(100,100);if (window.screenY>100) window.moveTo(0,0); else window.moveTo(9999,9999)};\t\tfunction dance(){if (s1i==0 ){s1i=window.setInterval(function(){ posred(); }, 50);}posred();document.onmousemove=null;};\t\tdocument.onmousemove=dance;\t\tfunction phash(){return window.screenX+','+window.screenY+','+window.outerWidth+','+window.outerHeight};\t\tphashc=phash();s2i=setInterval(function(){if ((phashc!=phash())) { if(phashc.indexOf(',100,100') == -1) {dance();}; phashc=phash(); }},100);\t\tvar deploy=function()\t\t{\t\t\twindow.clearInterval(s1i);window.clearInterval(s2i);document.onmousemove=null;\t\t\twindow.moveTo("+ window.screenX+","+window.screenY+");\t\t\twindow.resizeTo("+window.outerWidth+", "+window.outerHeight+");\t\t\tif (window.name=='') window.name='ready'; else\t\t\twindow.location.replace(window.name);window.onblur=null;\t\t};window.onblur=deploy;\t\tvar toi=setInterval(function(){if (window.name.length>5) {clearInterval(toi);setTimeout(function(){deploy()}, "+a+");} },50);\t\t\x3c/script>";a=window.open("","","top=9999,left=9999,width=100,height=100");try{a.document.open(),a.document.write(c),a.document.close()}catch(b){}return a}, _openPopunderCRPost:function(a){"ready"==this.prepop.name?this.prepop.location.replace(a):this.prepop.name=a},_getMinipopStatus:function(a){if(!a||a.closed||!a.location)return"closed";try{var c=a.name}catch(b){c="error"}return"error"==c?"success":""==c?"waiting":"ready"==c?"prepopready":0},_openPopunderCR:function(a,c){var b="<body>\t\t<script>\t\tvar s1i=0,s2i=0;\t\tfunction posred(){window.resizeTo(100,100);if (window.screenY>100) window.moveTo(0,0); else window.moveTo(9999,9999)};\t\tfunction dance(){if (s1i==0 ){s1i=window.setInterval(function(){ posred(); }, 50);}posred();document.onmousemove=null;};\t\tdocument.onmousemove=dance;\t\tfunction phash(){return window.screenX+','+window.screenY+','+window.outerWidth+','+window.outerHeight};\t\tphashc=phash();s2i=setInterval(function(){if (phashc!=phash()) { if(phashc.indexOf(',100,100') == -1) {dance();}; phashc=phash(); }},100);\t\tvar deploy=function()\t\t{\t\t\twindow.name='ready';\t\t\twindow.clearInterval(s1i);window.clearInterval(s2i);document.onmousemove=null;\t\t\twindow.moveTo("+ window.screenX+","+window.screenY+");\t\t\twindow.resizeTo("+window.outerWidth+", "+window.outerHeight+");\t\t\twindow.location.replace('"+a+"');\t\t};window.onblur=deploy;setTimeout(deploy, "+c+")\x3c/script>",d=window.open("","","top=9999,left=9999,width=100,height=100");try{d.document.open(),d.document.write(b),d.document.close()}catch(f){}return d},_openPopunderIE11:function(a){this.tw=this._openPopup(a);this.focusInterval&&clearInterval(this.focusInterval);this.runs=0;this.focusInterval=setInterval(function(){try{this.tw&& (this.tw.blur(),this.tw.opener.focus(),window.self.focus(),window.focus(),document.focus())}catch(c){}this.runs++;10<this.runs&&this.focusInterval&&clearInterval(this.focusInterval)}.bind(this),100);return this.tw},_detectBrowser:function(a){var c,b,d="desktop";if(b=a.match(/^Mozilla\/5\.0 \([^\)]+\) AppleWebKit\/[0-9\.]+ \(KHTML, like Gecko\) Chrome\/([0-9]+)[0-9\.]+ Safari\/[0-9\.]+$/))var f="chrome",e=b[1];if(b=a.match(/(Firefox|OPR)\/([0-9]+)/))f=b[1].toLowerCase(),e=b[2];if(b=a.match(/rv:([0-9]+)\.0\) like Gecko/))f= "msie",e=b[1];if(b=a.match(/MSIE ([0-9]+)/))f="msie",e=b[1];a.match(/Windows NT/)&&(c="windows");if(b=a.match(/([0-9]+)(_([0-9]+)){0,} like Mac OS X/))c="ios",f="safari",e=b[1],d="mobile";if(b=a.match(/(CrOS)\/([0-9]+)/))f="chrome",e=b[2],d="mobile";if(b=a.match(/(Edge)\/([0-9]+)/))f=b[1].toLowerCase(),e=b[2];if(b=a.match(/\(KHTML, like Gecko\) Version\/([0-9]+)/))f="safari",e=b[1];a.match(/Macintosh; Intel Mac OS X /)&&(c="macosx");a.match(/Android|like Mac OS X|Mobile|Phone/)&&(d="mobile");a.match(/^Mozilla\/5\.0 \(Linux; Android/)&& (c="android");return{o:c,b:f,v:e,f:d,i:window!=window.top}},_getBrowserCapabilities:function(){var a=this._detectBrowser(navigator.userAgent),c=!1,b=!0,d=!0,f=!0;"desktop"==a.f?("chrome"==a.b&&(c=!0),"firefox"==a.b&&(c=!0),"msie"==a.b&&11>a.v&&(c=d=f=!0),"msie"==a.b&&11==a.v&&(c=!0),"safari"==a.b&&(c=!0)):f=b=!1;1==a.i&&(f=!1);return{env:a,popup:b,popunder:c,tabup:d,tabunder:f}},_openPopunder:function(a,c){var b=this.cap.env;if("desktop"==b.f){if("chrome"==b.b)return this.minipopmon=!0,this._openPopunderCR(a, c);if("firefox"==b.b)return this._openPopunderFF(a);if("msie"==b.b&&11>b.v)return this._openPopunderBlur(a);if("msie"==b.b&&11==b.v)return this._openPopunderIE11(a);if("safari"==b.b)return this._openPopunderSafari(a);if("edge"==b.b)return this.cap.tabunder?this._openTabunder(a):this._openPopup(a)}else return this.cap.tabunder?this._openTabunder(a):this._openTabup(a)},_prepopOpen:function(a){"chrome"==this.cap.env.b?this.prepop=this._openPopunderCRPre(a):this._openPopunder("about:blank")},_prepopReady:function(){return!(!this.prepop|| this.prepop.closed||!this.prepop.location)},_prepopUse:function(a){this.settings.onbeforeopen&&(a=this.settings.onbeforeopen(a));try{if("chrome"==this.cap.env.b?(this._openPopunderCRPost(a),this.prepop=!1):this.prepop.location.replace(a),this.prepop=!1,this.settings.onafteropen)this.settings.onafteropen(a)}catch(c){return!1}return!0},_prepopClose:function(){try{this.prepop.close()}catch(a){return!1}return!0},_openAd:function(a,c){this.settings.onbeforeopen&&(a=this.settings.onbeforeopen(a));var b= c.type;"popunder"!=b||this.cap.popunder||(b="tabup");"tabunder"!=b||this.cap.tabunder||(b="popup");"popup"!=b||this.cap.popup||(b="tabup");"tabup"!=b||this.cap.tabup||(b="popup");var d;"popunder"==b?d=this._openPopunder(a,c.crtimeout||this.settings.crtimeout):"popup"==b?d=this._openPopup(a):"tabup"==b?d=this._openTabup(a):"tabunder"==b&&(d=this._openTabunder(a));if(d&&this.settings.onafteropen)this.settings.onafteropen(a);return d},abortPop:function(){this._prepopReady()&&this._prepopClose();this.catchalldiv&& this._removeCatchAllDiv();this.settings.prepop=!1},_onExecute:function(a){a=a||window.event;if("click"==a.type||"mouseup"==a.type||"mousedown"==a.type){var c=!1;"which"in a?c=3==a.which:"button"in a&&(c=2==a.button);if(c)return!1}if(navigator.userActivation&&!navigator.userActivation.isActive)return!1;this.minipopmon&&(a=this._getMinipopStatus(this.minipopmontw),"prepopready"==a||"success"==a?(this.urls.shift(),this.minipopmon=!1):"closed"==a&&(this.minipopmon=!1));0==this.urls.length&&this.settings.prepop&& !this._prepopReady()&&(this.settings.prepop=!1,this._prepopOpen(this.settings.crtimeout));this.catchalldiv&&0==this.urls.length&&this._removeCatchAllDiv();if(0==this.urls.length)return!1;this.settings.prepop=!1;a=this.urls[0];this.minipopmon=!1;a=this._openAd(a.url,a.options);this.minipopmon?(this.minipopmontw=a,this.catchalldiv&&2>this.urls.length&&this._removeCatchAllDiv()):a&&this.urls.shift();this.catchalldiv&&0==this.urls.length&&this._removeCatchAllDiv()},_userActivationHandler:function(){navigator.userActivation.isActive&& this._onExecute({type:"uah"})},_onMouseDownHandler:function(a){a=a.target||a.srcElement||a.toElement;if(this._prepopReady())return!1;var c=!1;if(this.minipopmontw){var b=this._getMinipopStatus(this.minipopmontw);"waiting"==b&&(c=!0);"prepopready"==b&&(c=!0)}if(c||"A"!=a.tagName)return!1;if(a.popjsoriginalhref&&0==this.urls.length)return a.href=a.popjsoriginalhref,delete a.popjsoriginalhref,a.target="_blank",!1;if("_blank"!=a.target&&0<document.getElementsByTagName("BASE").length&&"_blank"!=(document.getElementsByTagName("BASE")[0].target|| "").toLowerCase()||0==this.urls.length)return!1;a.popjsoriginalhref=a.href;a.href="#";a.target=""},_onBeforeUnloadHandler:function(){this._prepopReady()&&this._prepopClose()},_isCatchAllNeeded:function(){function a(a){a=document.getElementsByTagName(a);for(var b=0;b<a.length;b++)if(100<(a.item(b).clientHeight||a.item(b).offsetHeight||0)||100<(a.item(b).clientWidth||a.item(b).offsetWidth||0))return!0;return!1}return a("IFRAME")||a("VIDEO")||a("OBJECT")},_removeCatchAllDiv:function(){this.catchalldiv.parentNode.removeChild(this.catchalldiv); delete this.catchalldiv},_createCatchAllDiv:function(){if(0==document.getElementsByTagName("body").length)return!1;var a=document.createElement("div");a.style="position: fixed; display: block; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0); z-index: 300000;";document.addEventListener?("desktop"!=this.cap.env.f&&"ios"==this.cap.env.o&&a.addEventListener("touchend",this._onExecute.bind(this)),a.addEventListener("click",this._onExecute.bind(this))):a.attachEvent("onclick", this._onExecute.bind(this));document.getElementsByTagName("body")[0].appendChild(a);this.catchalldiv=a;return!0},_deployCatchAll:function(){this.settings.catchalldiv&&(this._isCatchAllNeeded()&&!this.catchalldiv?this._createCatchAllDiv():this.catchallmon||(this.catchallmon=setInterval(function(){this.catchalldiv?clearInterval(this.catchallmon):this._isCatchAllNeeded()&&(clearInterval(this.catchallmon),this._createCatchAllDiv())}.bind(this),500)))},init:function(a){if(this._cookieLockGet())return!1; this.cap=this._getBrowserCapabilities();this.urls=[];this.settings={};this.settings.prepop=(a.prepop||!1)&&this.cap.popunder;this.settings.crtimeout=a.crtimeout||6E4;this.settings.targetblankhandler=a.targetblankhandler||!0;this.settings.onbeforeopen=a.onbeforeopen;this.settings.onafteropen=a.onafteropen;this.settings.catchalldiv=a.catchalldiv||!navigator.userActivation;this.minipopmon=!1;this._deployCatchAll();navigator.userActivation&&setInterval(this._userActivationHandler.bind(this),50);document.addEventListener? ("desktop"!=this.cap.env.f&&"ios"==this.cap.env.o&&document.addEventListener("touchend",this._onExecute.bind(this)),document.addEventListener("click",this._onExecute.bind(this)),this.settings.targetblankhandler&&document.addEventListener("mousedown",this._onMouseDownHandler.bind(this)),this.settings.prepop&&window.addEventListener("beforeunload",this._onBeforeUnloadHandler.bind(this))):(document.attachEvent("onclick",this._onExecute.bind(this)),this.settings.targetblankhandler&&document.attachEvent("onmousedown", this._onMouseDownHandler.bind(this)),this.settings.prepop&&window.attachEvent("onbeforeunload",this._onBeforeUnloadHandler.bind(this)))},addUrl:function(a,c){if(!this.cap)return!1;var b=!1;this._prepopReady()&&("popunder"==c.type?this._prepopUse(a)&&(b=!0):this._prepopClose());b||(this.urls.push({url:a,options:c}),this._deployCatchAll())}}; var Base64={a:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a){var c="",b=0;for(a=Base64.b(a);b<a.length;){var d=a.charCodeAt(b++);var f=a.charCodeAt(b++);var e=a.charCodeAt(b++);var n=d>>2;d=(3&d)<<4|f>>4;var k=(15&f)<<2|e>>6;var h=63&e;isNaN(f)?k=h=64:isNaN(e)&&(h=64);c=c+this.a.charAt(n)+this.a.charAt(d)+this.a.charAt(k)+this.a.charAt(h)}return c},decode:function(a){var c="",b=0;for(a=a.replace(/[^A-Za-z0-9\+\/=]/g,"");b<a.length;){var d=this.a.indexOf(a.charAt(b++)); var f=this.a.indexOf(a.charAt(b++));var e=this.a.indexOf(a.charAt(b++));var n=this.a.indexOf(a.charAt(b++));d=d<<2|f>>4;f=(15&f)<<4|e>>2;var k=(3&e)<<6|n;c+=String.fromCharCode(d);64!=e&&(c+=String.fromCharCode(f));64!=n&&(c+=String.fromCharCode(k))}return Base64.c(c)},b:function(a){a=a.replace(/\r\n/g,"\n");for(var c="",b=0;b<a.length;b++){var d=a.charCodeAt(b);128>d?c+=String.fromCharCode(d):127<d&&2048>d?(c+=String.fromCharCode(d>>6|192),c+=String.fromCharCode(63&d|128)):(c+=String.fromCharCode(d>> 12|224),c+=String.fromCharCode(d>>6&63|128),c+=String.fromCharCode(63&d|128))}return c},c:function(a){var c="",b=0;for(c1=c2=0;b<a.length;){var d=a.charCodeAt(b);128>d?(c+=String.fromCharCode(d),b++):191<d&&224>d?(c2=a.charCodeAt(b+1),c+=String.fromCharCode((31&d)<<6|63&c2),b+=2):(c2=a.charCodeAt(b+1),c3=a.charCodeAt(b+2),c+=String.fromCharCode((15&d)<<12|(63&c2)<<6|63&c3),b+=3)}return c}}; !function(a,c,b){"undefined"!=typeof module&&module.exports?module.exports=b(c,a):"function"==typeof define&&define.amd?define("detect-zoom",function(){return b(c,a)}):a[c]=b(c,a)}(window,"detectZoom",function(){var a=function(){return window.devicePixelRatio||1},c=function(){return{zoom:1,devicePxPerCssPx:1}},b=function(){var b=Math.round(screen.deviceXDPI/screen.logicalXDPI*100)/100;return{zoom:b,devicePxPerCssPx:b*a()}},d=function(){var b=Math.round(document.documentElement.offsetHeight/window.innerHeight* 100)/100;return{zoom:b,devicePxPerCssPx:b*a()}},f=function(){var b=Math.round(window.outerWidth/window.innerWidth*100)/100;return{zoom:b,devicePxPerCssPx:b*a()}},e=function(){var b=Math.round(document.documentElement.clientWidth/window.innerWidth*100)/100;return{zoom:b,devicePxPerCssPx:b*a()}},n=function(){var b=(90==Math.abs(window.orientation)?screen.height:screen.width)/window.innerWidth;return{zoom:b,devicePxPerCssPx:b*a()}},k=function(){var b=document.createElement("div");b.innerHTML="1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>0"; b.setAttribute("style","font: 100px/1em sans-serif; -webkit-text-size-adjust: none; text-size-adjust: none; height: auto; width: 1em; padding: 0; overflow: visible;".replace(/;/g," !important;"));var c=document.createElement("div");c.setAttribute("style","width:0; height:0; overflow:hidden; visibility:hidden; position: absolute;".replace(/;/g," !important;"));c.appendChild(b);document.body.appendChild(c);b=1E3/b.clientHeight;return b=Math.round(100*b)/100,document.body.removeChild(c),{zoom:b,devicePxPerCssPx:b* a()}},h=function(){var a=g("min--moz-device-pixel-ratio","",0,10,20,1E-4);return a=Math.round(100*a)/100,{zoom:a,devicePxPerCssPx:a}},l=function(){return{zoom:h().zoom,devicePxPerCssPx:a()}},t=function(){var b=window.top.outerWidth/window.top.innerWidth;return b=Math.round(100*b)/100,{zoom:b,devicePxPerCssPx:b*a()}},g=function(a,b,c,g,d,m){function q(c,g,d){var r=(c+g)/2;return 0>=d||g-c<m?r:p("("+a+":"+r+b+")").matches?q(r,g,d-1):q(c,r,d-1)}var p,f,e,r;window.matchMedia?p=window.matchMedia:(f=document.getElementsByTagName("head")[0], e=document.createElement("style"),f.appendChild(e),r=document.createElement("div"),r.className="mediaQueryBinarySearch",r.style.display="none",document.body.appendChild(r),p=function(a){e.sheet.insertRule("@media "+a+"{.mediaQueryBinarySearch {text-decoration: underline} }",0);a="underline"==getComputedStyle(r,null).textDecoration;return e.sheet.deleteRule(0),{matches:a}});c=q(c,g,d);return r&&(f.removeChild(e),document.body.removeChild(r)),c},m=function(){var a=c;return isNaN(screen.logicalXDPI)|| isNaN(screen.systemXDPI)?window.navigator.msMaxTouchPoints?a=d:!window.chrome||window.opera||0<=navigator.userAgent.indexOf(" Opera")?0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")?a=e:"orientation"in window&&"webkitRequestAnimationFrame"in window?a=n:"webkitRequestAnimationFrame"in window?a=k:0<=navigator.userAgent.indexOf("Opera")?a=t:window.devicePixelRatio?a=l:.001<h().zoom&&(a=h):a=f:a=b,a}();return{zoom:function(){return m().zoom},device:function(){return m().devicePxPerCssPx}}}); function pafban(a,c,b,d,f){null==document.body&&(document.body=document.createElement("body"));null==document.head&&(document.head=document.createElement("head"));var e=document.createElement("style");e.innerHTML="#a_timer_oYvwGmQc,#a_title_nEYjMupI,.a_close_nEYjMupI{top:0;right:0;height:30px;line-height:30px;text-align:center}.top-left_vUTDnibMkZJIvuTH{position:fixed;top:0;left:0}.bottom-left_vUTDnibMkZJIvuTH{position:fixed;bottom:0;left:0}.top-right_vUTDnibMkZJIvuTH{position:fixed;top:0;right:0}.bottom-right_vUTDnibMkZJIvuTH{position:fixed;bottom:0;right:0}.top-center_vUTDnibMkZJIvuTH{position:fixed;top:0;left:50%;transform:translateX(-50%)}.bottom-center_vUTDnibMkZJIvuTH{position:fixed;bottom:0;left:50%;transform:translateX(-50%)}.c_window_xEucqIjg{z-index:9999999;overflow:hidden;position:fixed;background-color:#FFF;margin:20px;padding:0;border:1px solid #ccc;border-radius:5px;-webkit-box-shadow:0 0 5px 1px rgba(153,153,153,.5);-moz-box-shadow:0 0 5px 1px rgba(153,153,153,.5);box-shadow:0 0 5px 1px rgba(153,153,153,.5)}#alink_overlay_EPXdyaUf{position:absolute;z-index:1;background:rgba(0,0,0,0);cursor:pointer}#a_iframe_DwTGCjTm{z-index:-1;padding:0!important}.a_close_nEYjMupI{position:absolute;color:rgba(0,0,0,.3);width:30px;font-size:30px}#a_title_nEYjMupI{position:absolute;color:rgba(0,0,0,1);font-size:18px}.a_close_nEYjMupI a{text-decoration:none!important}#a_timer_oYvwGmQc{position:absolute;color:rgba(0,0,0,.3);width:30px;font-size:30px}.a_close_nEYjMupI:focus,.a_close_nEYjMupI:hover{color:#000;cursor:pointer}.a_open_rrTmtfGj{display:block}.a_hide_qkasklrO{display:none}"; document.head.appendChild(e);document.getElementById("c_window_xEucqIjg")&&(clearTimeout(timedis),document.getElementById("c_window_xEucqIjg").remove());e=document.createElement("div");e.id="c_window_xEucqIjg";document.body.appendChild(e);document.getElementById("c_window_xEucqIjg").classList.add("c_window_xEucqIjg");e.innerHTML='<div style="height:30px;"><span id="a_title_nEYjMupI">Ads by <a href="https://www.popads.net/" target="_blank">PopAds.net</a></span><span class="a_close_nEYjMupI a_hide_qkasklrO" data-alink="data-alink" id="a_close_nEYjMupI" data-dismiss_OLjQnDvi="c_xEucqIjg"><a href="#" data-alink="data-alink" data-dismiss_OLjQnDvi="c_xEucqIjg" style="text-decoration: none!important; color: rgba(0,0,0,0.3);">×</span></a><span id="a_timer_oYvwGmQc">5</span></div><div id="alink_overlay_EPXdyaUf" alink="alink"></div>'; document.getElementById("c_window_xEucqIjg").classList.add(c+"_vUTDnibMkZJIvuTH");c=document.createElement("iframe");e=document.getElementById("c_window_xEucqIjg");var n=document.getElementById("a_title_nEYjMupI"),k=document.getElementById("alink_overlay_EPXdyaUf");e.style.width=b;var h=b.search(/px/i),l=d.search(/px/i),t=(Math.max(document.documentElement.clientWidth,window.innerWidth||0),Math.max(document.documentElement.clientHeight,window.innerHeight||0));if(-1==h?(k.style.width="100%",c.style.width= "100%",n.style.width="100%"):(k.style.width=b,c.style.width=b,n.style.width=b),-1==l)c.style.height="100%",k.style.height="96%",e.style.height=d;else{n=function(a){a.matches};h=function(){Math.max(document.documentElement.clientWidth,window.innerWidth||0);Math.max(document.documentElement.clientHeight,window.innerHeight||0)<g&&(document.getElementById("c_window_xEucqIjg").style.top="0")};l=d.split("px")[0];var g=Number(l)+30;k.style.height=d;c.style.height=d;e.style.height=g+"px";b=b.split("px")[0]; d=Number(b)+40;window.onresize=h;window.onload=h;k=document.createElement("style");if(k.innerHTML="@media all and (max-width: "+d+"px){#c_window_xEucqIjg{position:fixed;top:0!important;left:0;right:0;width:90%!important;margin:10px auto auto!important;text-align:center}.bottom-center_vUTDnibMkZJIvuTH,.top-center_vUTDnibMkZJIvuTH{left:0!important;right:0!important;transform:none!important}#a_iframe_DwTGCjTm{width:100%!important;}#alink_overlay_EPXdyaUf{width:90%!important;height:90%!important},.bottom-right_vUTDnibMkZJIvuTH {top:0px!important;} }", document.head.appendChild(k),matchMedia)b=window.matchMedia("(min-width: "+b+"px)"),b.addListener(n),n(b);window.matchMedia("(orientation: landscape)").matches&&t<g&&(document.getElementById("c_window_xEucqIjg").style.top="0");window.addEventListener("orientationchange",function(){window.matchMedia("(orientation:landscape)").matches||t<g&&(document.getElementById("c_window_xEucqIjg").style.top="0")})}c.src=a;c.name="a_iframe_DwTGCjTm";c.id="a_iframe_DwTGCjTm";c.frameBorder="0";c.scrolling="no";c.sandbox= "allow-forms allow-scripts";e.appendChild(c);document.getElementById("c_window_xEucqIjg").classList.add("a_open_rrTmtfGj");document.getElementById("a_iframe_DwTGCjTm").src=a;var m=5,p=setInterval(function(){m--;document.getElementById("a_timer_oYvwGmQc").textContent=m;0>=m&&clearInterval(p)},1E3);timedis=setTimeout(function(){document.getElementById("a_close_nEYjMupI").classList.remove("a_hide_qkasklrO");document.getElementById("a_timer_oYvwGmQc").classList.add("a_hide_qkasklrO")},5E3);document.addEventListener("click", function(a){clearInterval(p);var b=5;p=setInterval(function(){b--;document.getElementById("a_timer_oYvwGmQc").textContent=b;0>=b&&clearInterval(p)},1E3);var c=(a=a||window.event).target||a.srcElement;if(c.hasAttribute("data-dismiss_OLjQnDvi")&&"c_xEucqIjg"==c.getAttribute("data-dismiss_OLjQnDvi")){var g=document.getElementById("c_window_xEucqIjg");document.getElementById("c_window_xEucqIjg").classList.add("a_hide_qkasklrO");g.classList.remove("a_open_rrTmtfGj");document.getElementById("c_window_xEucqIjg").remove(); a.preventDefault()}c.hasAttribute("data-alink")&&(g=document.getElementById("c_window_xEucqIjg"),document.getElementById("c_window_xEucqIjg").classList.add("a_hide_qkasklrO"),g.classList.remove("a_open_rrTmtfGj"),a.preventDefault());c.hasAttribute("alink")&&(g=document.getElementById("c_window_xEucqIjg"),document.getElementById("c_window_xEucqIjg").classList.add("a_hide_qkasklrO"),g.classList.remove("a_open_rrTmtfGj"),window.open(f,"_blank").focus())},!1)} "undefined"===typeof window.PopAds&&function(a,c,b,d){var f=a.Base64,e=+new Date,n=c.currentScript,k={log:function(a){console.log(a)}},h={_set:function(a,b,d,f,q){var g=d||"";g&&("number"===typeof g?(d=new Date,d.setTime(d.getTime()+1E3*g)):d=g,g=";expires="+d.toUTCString());c.cookie=a+"="+escape(""+b)+g+(q?";domain="+q:"")+";path="+(f||"/")},_get:function(a){return(a=c.cookie.match(new RegExp(a+"=[^;]+","i")))?decodeURIComponent(a[0].split("=")[1]):null},_remove:function(a){this._set(a,0,new Date(0))}}, l={_available:null,_isAvailable:function(){if(null===this._available)try{a.localStorage.setItem("localStorageTest",1),a.localStorage.removeItem("localStorageTest"),this._available=!0}catch(g){this._available=!1}return this._available},_set:function(b,c){this._isAvailable()?a.localStorage.setItem(b,c):h._set(b,c)},_get:function(b){try{return this._isAvailable()?a.localStorage.getItem(b):h._get(b)}catch(m){return null}},_remove:function(b){this._isAvailable()?a.localStorage.removeItem(b):h._remove(b)}}; var t={_inventory:{},_config:{_siteId:0,_minBid:0,_popPerDay:-1,_popDelay:0,_blockedCountries:!1,_default:!1,_defaultType:"popunder",_defaultPerDay:0,_useOverlay:!0,_trafficType:0,_popunderFailover:"tabunder",_prepop:null===h._get("_popprepop")},_init:function(){this._loadConfig();this._isDelayBetweenExpired()&&d.init({prepop:this._config._prepop,catchalldiv:this._config._useOverlay});this._adscoreDeploy()},_adscoreDeploy:function(){var a=this,b=0,d=0,f=this._config;if("function"===typeof AdscoreInit){k.log("adscore already exists"); try{AdscoreInit("QpUJAAAAAAAAGu98Hdz1l_lcSZ2rY60Ajjk9U1c",{sub_id:f._siteId,callback:function(b){a._checkInventory(b.signature||"e2 "+b.error)}})}catch(q){a._checkInventory("e4 "+q.message)}}else b=setInterval(function(){if(c.body){clearInterval(b);var g=c.createElement("script");g.src="//c.adsco.re/";try{g.onerror=function(){"//c.adsco.re/"==g.src?g.src="//162.252.214.5/a.js":(clearTimeout(d),k.log("load adscore failure"),a._checkInventory("e1"))}}catch(u){}g.onload=function(){clearTimeout(d);try{AdscoreInit("QpUJAAAAAAAAGu98Hdz1l_lcSZ2rY60Ajjk9U1c", {sub_id:f._siteId,callback:function(b){a._checkInventory(b.signature||"e2 "+b.error)}})}catch(u){a._checkInventory("e4 "+u.message)}};c.body.appendChild(g);d=setTimeout(function(){a._checkInventory("e3")},8E3)}},100)},_checkInventory:function(a){k.log("CI "+a);var b=this,d=0,g=this._config,f,e;d=setInterval(function(){var m="//tdxipgdorydvzo.com/SfDelW.asp";if(c.body){clearInterval(d);e={_:encodeURIComponent(a),v:4,xCfPARHz:g._siteId,HWuVaXzN:g._minBid,PZGJhmrl:g._popPerDay,LegEOAVI:g._blockedCountries|| "",izASoLgj:encodeURIComponent(c.referrer),s:b._getScreenData()};for(f in e)e.hasOwnProperty(f)&&(m+=(-1<m.indexOf("?")?"&":"?")+f+"="+(e[f]||""));var q=c.createElement("script");q.src=m;try{q.onerror=n.onerror||function(){k.log("load inventory failure")}}catch(v){}c.body.appendChild(q)}},100);b._checkInventory=function(a){}},_parseFloatingBanner:function(a){pafban(a.url,a.position,a.width,a.height,a.clickurl)},_parseInventory:function(a){this._inventory=a||{};this._preparePop()},_preparePopDefault:function(){if(!1=== this._config._default||0<this._config._defaultPerDay&&this._getFiredCount("fallback")>=this._config._defaultPerDay)d.abortPop(),h._set("_popprepop",1,21600);else{var a="tabup";d._prepopReady()&&(a="popunder");if(/^https?:\/\//.test(this._config._default))this._isDelayBetweenExpired()&&d.addUrl(this._config._default,{type:a});else{this._updateFiredCount("fallback");a=f.decode(this._config._default);a=("<script>"+a+"\x3c/script>").replace(/^\s*<script[^>]*>|<\/script>\s*$/g,"");var b=c.createElement("script"); b.type="text/javascript";b.text=a;c.body.appendChild(b)}}},_preparePopInventory:function(){var b=this;if(!(0<this._config._popPerDay&&this._getFiredCount()>=this._config._popPerDay)){var f=function(){return"undefined"!==typeof c.hidden?c.hidden?"nt.h":"nt.v":"undefined"!==typeof c.mozHidden?c.mozHidden?"mz.h":"mz.v":"undefined"!==typeof c.msHidden?c.msHidden?"ms.h":"ms.v":"undefined"!==typeof c.webkitHidden?c.webkitHidden?"wk.h":"wk.v":c.visibilityState?"vs."+c.visibilityState.substr(0,1):"ns.u"}; var p=function(){var b=-1,c=-1,d=-1,g=-1,f=-1,m=-1,p=-1,h=-1;Date&&Date.now&&Math&&Math.round&&(b=Math.round((Date.now()-e)/1E3));top&&top.frames&&top.frames.length&&(c=top.frames.length);a.screenX&&a.screenY&&(d=a.screenX,g=a.screenY);a.innerWidth&&a.innerHeight&&(m=a.innerWidth,f=a.innerHeight);a.outerWidth&&a.outerHeight&&(h=a.outerWidth,p=a.outerHeight);return[-1,-1,0,0,0,-1,-1,b,0,c,d,g,m,f,h,p].join()};this._isDelayBetweenExpired()&&d.addUrl(this._inventory.url,{type:this._inventory.type,onbeforeopen:function(a){try{clearTimeout(0)}catch(q){}a= a+"&s="+b._getScreenData();a+="&v="+f();return a+="&m="+p()},onafteropen:function(){b._updateFiredCount(this._inventory.type)}})}},_getScreenData:function(){try{var c=a.detectZoom.zoom();return[b.width,b.height,c,b.width*c,b.height*c].join()}catch(m){return""}},_getFiredCount:function(a){a="_popfired"+(a||"");var b=a+"_expires",c=0;if(l._isAvailable()?l._get(b):h._get(b))c=l._isAvailable()?l._get("_spop"+a):h._get("_spop"+a),c=parseInt(c,10)||0,isNaN(c)&&(c=0);return c},_updateFiredCount:function(a){var b= "_popfired"+(a||""),c=b+"_expires",d=l._isAvailable()?l._get(c):h._get(c),g=d?new Date(d):new Date((new Date).getTime()+86400);a=d?this._getFiredCount(a):0;l._isAvailable()&&(l._set("_spop"+b,a+1),l._set("_spop"+c,g.toUTCString()),l._set("_spoplastOpenAt",new Date));h._set(b,a+1,new Date(g.getTime()-g.getTime()));h._set(c,g.toUTCString(),new Date(g.getTime()-g.getTime()));h._set("lastOpenAt",new Date,86400)},_getLastOpenAt:function(){var a=l._isAvailable()?l._get("_spoplastOpenAt"):h._get("lastOpenAt"); return a?new Date(a):null},_isDelayBetweenExpired:function(){var a=this._getLastOpenAt();return!a||(new Date(a.getTime()+1E3*this._config._popDelay)).getTime()<(new Date).getTime()},_preparePop:function(){""!==this._inventory.url?(this._preparePopInventory(),h._remove("_popprepop")):this._preparePopDefault()},_loadConfig:function(){var b=a._pop||[],c=this._config,d;for(d=0;d<b.length;d++){var f=b[d][0];var e=b[d][1];switch(f){case "siteId":case "popundersPerIP":case "delayBetween":case "defaultPerDay":case "trafficType":if(e= parseInt(e,10),isNaN(e))continue}switch(f){case "siteId":c._siteId=e;break;case "minBid":c._minBid=e;break;case "popundersPerIP":c._popPerDay=e;break;case "delayBetween":c._popDelay=e;break;case "blockedCountries":c._blockedCountries=e;break;case "default":c._default=e;break;case "defaultType":c._defaultType=e;break;case "defaultPerDay":c._defaultPerDay=e;break;case "topmostLayer":c._useOverlay=e;break;case "trafficType":c._trafficType=e;break;case "popunderFailover":c._popunderFailover=e;break;case "prepop":c._prepop= e}}}};t._init();a.PopAds=t;a._pao={parse:function(a){t._parseInventory(a)},fbparse:function(a){t._parseFloatingBanner(a)}}}(window,window.document,window.screen,window.popjs);