📄 show_ads.js
字号:
var b=ec[a];if(b.removed)return h;var c=b.src,d=b.type,e=b.proxy,f=b.capture;if(c.removeEventListener){if(c==s||!c.Pb)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(uc(d),e);var g=xa(c),i=Q[d][f][g];if(fc[g]){var k=fc[g];Da(k,b);k.length==0&&delete fc[g]}b.removed=m;i.Ba=m;yc(d,f,g,i);delete ec[a];return m},yc=function(a,b,c,d){if(!d.O)if(d.Ba){for(var e=0,f=0;e<d.length;e++)if(d[e].removed)nc.v(d[e]);else{if(e!=f)d[f]=d[e];f++}d.length=f;d.Ba=h;if(f==0){hc.v(d);delete Q[a][b][c];Q[a][b].q--;if(Q[a][b].q==0){gc.v(Q[a][b]);delete Q[a][b];Q[a].q--}if(Q[a].q==0){gc.v(Q[a]);delete Q[a]}}}},wc=function(a,b,c){var d=Q;if(b in d){d=d[b];if(c in d){d=d[c];var e=xa(a);if(d[e])return d[e]}}return j},uc=function(a){if(a in sc)return sc[a];return sc[a]=rc+a},Ac=function(a,b,c,d){var e=1,f=Q;if(b in f){f=f[b];if(c in f){f=f[c];var g=xa(a);if(f[g]){var i=f[g];if(i.O)i.O++;else i.O=1;try{var k=i.length;for(var l=0;l<k;l++){var o=i[l];if(o&&!o.removed)e&=zc(o,d)!==h}}finally{i.O--;yc(b,c,g,i)}}}}return Boolean(e)},zc=function(a,b){var c=a.handleEvent(b);a.na&&xc(a.key);return c},lc=function(a,b){if(!ec[a])return m;var c=ec[a],d=c.type,e=Q;if(!(d in e))return m;e=e[d];var f;if(y){var g=b||oa("window.event"),i=m in e;if(i){if(g.keyCode<0||g.returnValue!=undefined)return m;Bc(g)}xa(c.src);var k=qc.k();k.init(g,this);f=m;try{if(i){var l=hc.k();for(var o=k.currentTarget;o;o=o.parentNode)l.push(o);for(var p=l.length-1;!k.F&&p>=0;p--){k.currentTarget=l[p];f&=Ac(l[p],d,m,k)}for(var p=0;!k.F&&p<l.length;p++){k.currentTarget=l[p];f&=Ac(l[p],d,h,k)}}else f=zc(c,k)}finally{if(l){l.length=0;hc.v(l)}k.dispose();qc.v(k)}return f}var q=new O(b,this);try{f=zc(c,q)}finally{q.dispose()}return f},Bc=function(a){var b=h;if(a.keyCode==0)try{a.keyCode=-1;return}catch(c){b=m}if(b||a.returnValue==undefined)a.returnValue=m};var R=function(a){this.a=a;this.Rb=this.a.c.pru;this.sb=this.a.c.ifrid;z&&Cc()};v(R,I);if(z){var Dc=[],Ec=0,Cc=function(){Ec||(Ec=window.setTimeout(function(){Fc()},1000))},Fc=function(a){var b=za(),c=a||3000;while(Dc.length&&b-Dc[0].timestamp>=c){var d=Dc.shift().iframeElement;vb(d)}Ec=window.setTimeout(Gc,1000)},Gc=function(){Fc()}}R.prototype.f=3;R.prototype.connect=function(){this.send("tp","SETUP")};R.prototype.H=function(a){if(a=="SETUP"){this.send("tp",G);this.a.m()}else a==G&&this.a.m()};R.prototype.send=function(a,b){if(y){var c=document.createElement("div");c.innerHTML='<iframe onload="this.xpcOnload()"></iframe>';var d=c.childNodes[0];d.xpcOnload=Hc}else{var d=document.createElement("iframe");z?Dc.push({timestamp:za(),iframeElement:d}):tc(d,"load",Hc)}var e=d.style;e.visibility="hidden";e.width=d.style.height="0px";e.position="absolute";var f=this.Rb;f+="#"+this.a.name;if(this.sb)f+=","+this.sb;f+="|"+a+":"+encodeURIComponent(b);d.src=f;document.body.appendChild(d)};var Hc=function(){vb(this);this.xpcOnload=j};window.xpcRelay=function(a,b){var c=b.indexOf(":"),d=b.substring(0,c),e=b.substring(c+1);H[a].j(d,decodeURIComponent(e))};R.prototype.b=function(){R.p.b.call(this);z&&Fc(0)};var S=function(a,b){this.a=a;this.aa=b||"*"};v(S,I);S.prototype.f=1;var Ic=h,Kc=function(){if(!Ic){tc(window.postMessage?window:document,"message",Jc,h,S);Ic=m}},Jc=function(a){var b=a.fb().data,c=b.indexOf("|"),d=b.indexOf(":");if(c==-1||d==-1)return h;var e=b.substring(0,c),f=b.substring(c+1,d),g=b.substring(d+1),i=H[e];if(i){i.j(f,g);return m}for(var k in H){var l=H[k];if(l.s()==1&&!l.g()&&f=="tp"&&g=="SETUP"){l.name=e;H[e]=l;H[k]=j;l.j(f,g);return m}}return h};S.prototype.H=function(a){switch(a){case "SETUP":if(!this.Vb){this.Vb=m;this.send("tp",G)}break;case G:this.a.m();break}};S.prototype.connect=function(){Kc();this.T()};S.prototype.T=function(){if(!this.a.g()){this.send("tp","SETUP");window.setTimeout(u(this.T,this),100)}};S.prototype.send=function(a,b){var c=this.a.h;if(!!c){var d=c.postMessage?c:c.document;this.send=function(e,f){d.postMessage(this.a.name+"|"+e+":"+f,this.aa)};this.send(a,b)}};S.prototype.b=function(){S.p.b.call(this);vc(window.postMessage?window:document,"message",Jc,h,S)};var T=function(a){this.a=a;this.Na=a.at||"";this.yb=a.rat||"";Lc();this[Mc]=this.N;this[Nc]=this.Ta};v(T,I);var Oc="GRPC____NIXVBS_wrapper",Pc="GRPC____NIXVBS_get_wrapper",Mc="GRPC____NIXJS_handle_message",Nc="GRPC____NIXJS_create_channel",Qc="GRPC____NIXVBS_container",Lc=function(){if(!window.nix_setup_complete){var a="Class "+Oc+"\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport."+Mc+"(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport."+Nc+"(channel)\nEnd Sub\nPublic Sub "+Qc+"()\n End Sub\nEnd Class\n Function "+Pc+"(transport, auth)\nDim wrap\nSet wrap = New "+Oc+"\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet "+Pc+" = wrap\nEnd Function";try{window.execScript(a,"vbscript");window.nix_setup_complete=m}catch(b){}}};T.prototype.f=6;T.prototype.u=h;T.prototype.o=j;T.prototype.connect=function(){this.a.s()==0?this.ka():this.ja()};T.prototype.ka=function(){if(!this.u){var a=this.a.t;try{a.contentWindow.opener=window[Pc](this,this.Na);this.u=m}catch(b){}this.u||window.setTimeout(u(this.ka,this),100)}};T.prototype.ja=function(){if(!this.u){try{var a=window.opener;if(a&&Qc in a){this.o=a;var b=this.o.GetAuthToken();if(b!=this.yb)return;this.o.CreateChannel(window[Pc](this,this.Na));this.u=m;this.a.m()}}catch(c){return}this.u||window.setTimeout(u(this.ja,this),100)}};T.prototype.Ta=function(a){this.o=a;var b=this.o.GetAuthToken();b!=this.yb||this.a.m()};T.prototype.N=function(a,b){function c(){this.a.j(a,b)}window.setTimeout(u(c,this),1)};T.prototype.send=function(a,b){this.o.SendMessage(a,b)};T.prototype.b=function(){T.p.b.call(this);this.o=j};var U=function(a){E.call(this);this.c=a;this.name=this.c.cn||Ub(10);this.Ia={};H[this.name]=this;tc(window,"unload",Rc)};v(U,E);U.prototype.d=j;U.prototype.ga=1;U.prototype.g=function(){return this.ga==2};U.prototype.h=j;U.prototype.t=j;U.prototype.Ka=function(a){this.h=a};U.prototype.Wa=function(){if(!this.d){if(!this.c.tp)if(ta(document.postMessage)||ta(window.postMessage))this.c.tp=1;else if(jb)this.c.tp=2;else if(y&&this.c.pru)this.c.tp=3;else if(y)this.c.tp=6;else if(this.c.lpu&&this.c.ppu)this.c.tp=4;switch(this.c.tp){case 1:this.d=new S(this,this.c.ph);break;case 6:this.d=new T(this);break;case 2:this.d=new J(this);break;case 3:this.d=new R(this);break;case 4:this.d=new K(this);break}if(!this.d)throw Error("CrossPageChannel: No suitable transport found!");}};U.prototype.Za=h;U.prototype.Ra=h;U.prototype.connect=function(a){this.Ob=a;if(this.Za)this.Ra=m;else{if(this.c.ifrid)this.t=sa(this.c.ifrid)?document.getElementById(this.c.ifrid):this.c.ifrid;if(this.t){var b=this.t.contentWindow;b||(b=window.frames[this.c.ifrid]);this.Ka(b)}if(!this.h)if(window==top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");else this.Ka(window.parent);this.Wa();this.d.connect()}};U.prototype.close=function(){if(!!this.g()){this.ga=3;this.d.dispose();this.d=j}};U.prototype.m=function(){if(!this.g()){this.ga=2;this.Ob()}};U.prototype.rb=function(){this.close()};U.prototype.xb=function(a,b,c){this.Ia[a]={name:a,callback:b,jsonEncoded:!!c}};U.prototype.send=function(a,b){if(!!this.g())if(this.h.closed)this.close();else{if(ua(b))b=Rb(b);this.d.send(a,b)}};U.prototype.j=function(a,b){if(!a||a=="tp")this.d.H(b);else if(this.g()){var c=this.Ia[a];if(c){if(c.jsonEncoded)try{b=Pb(b)}catch(d){return}c.callback(b)}}};U.prototype.s=function(){return window.parent==this.h?1:0};U.prototype.b=function(){U.p.b.call(this);this.close();this.t=this.h=j;delete this.Ia;H[this.name]=j};var Rc=function(){for(var a in H){var b=H[a];b&&b.dispose()}};var Sc=function(a){var b=a||document.location.protocol+"//"+document.location.host;return b+"/robots.txt"};var V=function(a,b){this.B=a.width;this.A=a.height;this.Nb=b;this.aa=this.hb(a.src,document);this.Z=h;this.e=a;this.nb(this.jb())};V.prototype.jb=function(){var a={};a.ifrid=this.e.id;a.pu=this.e.src;a.ph=this.aa;a.cn=this.Nb;a.ppu=Sc(this.aa);a.lpu=Sc();return a};V.prototype.nb=function(a){this.a=new U(a);this.a.xb("expandable_ad",u(this.N,this));this.a.connect(function(){});window.setTimeout(u(this.lb,this),30000)};V.prototype.lb=function(){if(this.a&&!this.a.g()){this.a.d.connect=function(){};if(this.a.d.f==1)this.a.d.T=function(){};if(this.a.d.f==4)this.a.d.la=function(){};this.a.d.dispose();this.a.dispose()}};V.prototype.hb=function(a,b){var c=a.indexOf("//"),d=c>0,e=d?a.substring(0,c):b.location.protocol,f=d?a.substring(c+2):b.location.host,g=f.indexOf("/");if(g<0)g=f.indexOf("?");if(d&&g>0)f=f.substring(0,g);return e+"//"+f};V.prototype.N=function(a){var b=a.split("_"),c=b[0];if(c=="expand")this.mb(b);else c=="collapse"&&this.kb()};V.prototype.Fa=function(a){this.a.send("expandable_ad",a)};V.prototype.mb=function(a){if(!this.Z){var b,c;for(var d in a){var e=a[d].charAt(0);if(e=="w")b=parseInt(a[d].substring(1),10);else if(e=="h")c=parseInt(a[d].substring(1),10)}var f=this.ab(b,c);this.cb(b,c,f);this.Fa("ok_expand_w"+b+"_h"+c+"_d"+f)}};V.prototype.kb=function(){if(!!this.Z){this.Qa();this.Fa("ok_collapse_w"+this.B+"_h"+this.A)}};V.prototype.Qa=function(){this.e.style.width=this.B+"px";this.e.style.height=this.A+"px";this.e.style.left="0";this.e.style.top="0";this.e.style.zIndex=j;this.e.parentNode.style.zIndex=j;this.Z=h};V.prototype.cb=function(a,b,c){this.e.style.position="absolute";this.e.style.width=a+"px";this.e.style.height=b+"px";this.e.style.zIndex=9999;this.e.parentNode.style.zIndex=9999;if(a>this.B&&(c==0||c==3))this.e.style.left="-"+(a-this.B)+"px";if(b>this.A&&(c==1||c==0))this.e.style.top="-"+(b-this.A)+"px";this.Z=m};V.prototype.ab=function(a,b){var c=Gb(this.e),d=tb(window),e=a-this.B,f=b-this.A,g=c.y,i=f>g,k=d.height-(c.y+this.A),l=i||k>=g,o=c.x,p=e>o,q=d.width-(c.x+this.B),x=p||q>=o,M=0;if(l&&x)M=2;else if(l&&!x)M=3;else if(!l&&x)M=1;else if(!l&&!x)M=0;return M};var Tc=function(){},Wc=function(a,b,c,d,e){if(!a||!b||c<=0||d<=0)return j;var f=Ub(10);b=Uc(b,c,d,f);var g=Vc(a,b,c,d,e);return new V(g,f)},Uc=function(a,b,c,d){var e=mb().X();return a+(a.indexOf("?")==-1?"?":"&")+"w="+b+"&h="+c+"&xpc="+d+"&p="+escape(e.location.protocol+"//"+e.location.host)},Vc=function(a,b,c,d,e){var f='<ins style="width:'+c+"px;height:"+d+'px;position:relative;margin:0;padding:0;display:block;visibility:visible;border:none"><iframe allowtransparency=true frameborder=0 height='+d+" hspace=0 id="+a+' marginheight=0 marginwidth=0 name=google_ads_frame scrolling=no src="'+b+'" style="left:0;position:absolute;top:0" vspace=0 width='+c+"></iframe></ins>",g=ob(),i=g.xa(e);if(i)i.innerHTML=f;else g.X().write(f);return g.xa(a)};Aa("ExpandableAdSlot",V);Aa("ExpandableAdSlotFactory",Tc);var W="",Xc=h;function Yc(a){return a!=j?'"'+a+'"':'""'}function ha(a){return typeof encodeURIComponent=="function"?encodeURIComponent(a):escape(a)}function X(a,b){if(a&&b)window.google_ad_url+="&"+a+"="+b}function Y(a){var b=window,c=ba[a]||ca[a]||j,d=b[a];X(c,d)}function Z(a,b){b!=j&&X(a,ha(b))}function $(a){var b=window,c=ba[a]||ca[a]||j,d=b[a];Z(c,d)}function Zc(a,b){var c=window,d=ba[a]||ca[a]||j,e=c[a];if(d&&e&&typeof e=="object")e=e[b%e.length];X(d,e)}function $c(a){var b=a.screen,c=navigator.javaEnabled(),d=-(new Date).getTimezoneOffset();if(b){X("u_h",b.height);X("u_w",b.width);X("u_ah",b.availHeight);X("u_aw",b.availWidth);X("u_cd",b.colorDepth)}X("u_tz",d);X("u_his",history.length);X("u_java",c);navigator.plugins&&X("u_nplug",navigator.plugins.length);navigator.mimeTypes&&X("u_nmime",navigator.mimeTypes.length)}function ad(a){if(!!a.google_enable_first_party_cookie){if(n==j)n=new da;if(a._GA_googleCookieHelper==j)a._GA_googleCookieHelper=new r;if(!a._google_cookie_fetched){a._google_cookie_fetched=m;a._GA_googleCookieHelper.db(bd(a.google_ad_client))}}}function bd(a){if(a){a=a.toLowerCase();if(a.substring(0,3)!="ca-")a="ca-"+a}return a}function cd(a){if(a){a=a.toLowerCase();if(a.substring(0,9)!="dist-aff-")a="dist-aff-"+a}return a}function dd(a){var b="google_unique_id";if(a[b])++a[b];else a[b]=1;return a[b]}function ed(){var a=y&&A("6")&&!A("8"),b=jb&&A("1.8.1"),c=z&&A("525");if($a&&(a||b||c))return m;else if(Za&&(c||b))return m;else if(ab&&b)return m;return h}function fd(a,b){var c=a.google_allow_expandable_ads;if(c!=j&&c==h||!b.body||a.google_ad_output!="html"||gd(a,b)||hd(a)||id(a.google_ad_format)||typeof a.google_ad_height!="number"&&String(parseInt(a.google_ad_height,10))!=a.google_ad_height||typeof a.google_ad_width!="number"&&String(parseInt(a.google_ad_width,10))!=a.google_ad_width||!ed())return h;return m}function jd(){var a=Math.random(),b=0,c=ia("0.03",0.03),d=2*c;if(a<c)return"30143019";if(a<d)return"30143020";b=d;c=ia("0.03",0.03);d=2*c;c+=b;d+=b;if(a<c)return"30143021";if(a<d)return"30143022";return""}function kd(){var a=Math.random(),b=ia("0.99",0.01),c=2*b;if(a<b)return"6083027";if(a<c)return"6083026";return""}function ld(a){a.google_allow_expandable_ads=h;a.google_expandable_iframe=h}var md=Math.random()<0.0010;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -