📄 show_ads.js
字号:
i)}}}}return Boolean(e)},pc=function(a,b){var c=a.handleEvent(b);a.na&&nc(a.key);return c},bc=function(a,b){if(!Wb[a])return m;var c=Wb[a],d=c.type,e=P;if(!(d in e))return m;e=e[d];var f;if(w){var j=b||na("window.event"),i=m in e;if(i){if(j.keyCode<0||j.returnValue!=undefined)return m;rc(j)}va(c.src);var l=gc.k();l.init(j,this);f=m;try{if(i){var k=Q.k(),o=l.currentTarget;for(;o;o=o.parentNode)k.push(o);var p=k.length-1;for(;!l.F&&p>=0;p--){l.currentTarget=k[p];f&=qc(k[p],d,m,l)}var p=0;for(;!l.F&&p<k.length;p++){l.currentTarget=k[p];f&=qc(k[p],d,g,l)}}else f=pc(c,l)}finally{if(k){k.length=0;Q.v(k)}l.dispose();gc.v(l)}return f}var q=new M(b,this);try{f=pc(c,q)}finally{q.dispose()}return f},rc=function(a){var b=g;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.Pb=this.a.c.pru;this.tb=this.a.c.ifrid;x&&sc()};u(R,G);if(x)var tc=[],uc=0,sc=function(){uc||(uc=window.setTimeout(function(){vc()},1000))},vc=function(a){var b=xa(),c=a||3000;for(;tc.length&&b-tc[0].timestamp>=c;){var d=tc.shift().iframeElement;nb(d)}uc=window.setTimeout(wc,1000)},wc=function(){vc()};R.prototype.f=3;R.prototype.connect=function(){this.send("tp","SETUP")};R.prototype.H=function(a){if(a=="SETUP"){this.send("tp",E);this.a.m()}else a==E&&this.a.m()};R.prototype.send=function(a,b){if(w){var c=document.createElement("div");c.innerHTML='<iframe onload="this.xpcOnload()"></iframe>';var d=c.childNodes[0];d.xpcOnload=xc}else{var d=document.createElement("iframe");x?tc.push({timestamp:xa(),iframeElement:d}):jc(d,"load",xc)}var e=d.style;e.visibility="hidden";d.style.height="0px";e.width=d.style.height;e.position="absolute";var f=this.Pb;f+="#"+this.a.name;if(this.tb)f+=","+this.tb;f+="|"+a+":"+encodeURIComponent(b);d.src=f;document.body.appendChild(d)};var xc=function(){nb(this);this.xpcOnload=h};window.xpcRelay=function(a,b){var c=b.indexOf(":"),d=b.substring(0,c),e=b.substring(c+1);F[a].j(d,decodeURIComponent(e))};R.prototype.b=function(){R.o.b.call(this);x&&vc(0)};var S=function(a,b){this.a=a;this.ba=b||"*"};u(S,G);S.prototype.f=1;var yc=g,Ac=function(){if(!yc){jc(window.postMessage?window:document,"message",zc,g,S);yc=m}},zc=function(a){var b=a.eb().data,c=b.indexOf("|"),d=b.indexOf(":");if(c==-1||d==-1)return g;var e=b.substring(0,c),f=b.substring(c+1,d),j=b.substring(d+1),i=F[e];if(i){i.j(f,j);return m}for(var l in F){var k=F[l];if(k.s()==1&&!k.g()&&f=="tp"&&j=="SETUP"){k.name=e;F[e]=k;F[l]=h;k.j(f,j);return m}}return g};S.prototype.H=function(a){switch(a){case "SETUP":if(!this.Tb){this.Tb=m;this.send("tp",E)}break;case E:this.a.m();break}};S.prototype.connect=function(){Ac();this.V()};S.prototype.V=function(){if(!this.a.g()){this.send("tp","SETUP");window.setTimeout(t(this.V,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.ba)};this.send(a,b)}};S.prototype.b=function(){S.o.b.call(this);lc(window.postMessage?window:document,"message",zc,g,S)};var T=function(a){this.a=a;this.Na=a.at||"";this.zb=a.rat||"";Bc();this[Cc]=this.N;this[Dc]=this.Ua};u(T,G);var Ec="GCXPC____NIXVBS_wrapper",Fc="GCXPC____NIXVBS_get_wrapper",Cc="GCXPC____NIXJS_handle_message",Dc="GCXPC____NIXJS_create_channel",Gc="GCXPC____NIXVBS_container",Bc=function(){if(!window.nix_setup_complete){var a="Class "+Ec+"\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."+Cc+"(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport."+Dc+"(channel)\nEnd Sub\nPublic Sub "+Gc+"()\n End Sub\nEnd Class\n Function "+Fc+"(transport, auth)\nDim wrap\nSet wrap = New "+Ec+"\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet "+Fc+" = wrap\nEnd Function";try{window.execScript(a,"vbscript");window.nix_setup_complete=m}catch(b){}}};T.prototype.f=6;T.prototype.u=g;T.prototype.n=h;T.prototype.connect=function(){this.a.s()==0?this.la():this.ka()};T.prototype.la=function(){if(!this.u){var a=this.a.t;try{a.contentWindow.opener=window[Fc](this,this.Na);this.u=m}catch(b){}this.u||window.setTimeout(t(this.la,this),100)}};T.prototype.ka=function(){if(!this.u){try{var a=window.opener;if(a&&Gc in a){this.n=a;var b=this.n.GetAuthToken();if(b!=this.zb)return;this.n.CreateChannel(window[Fc](this,this.Na));this.u=m;this.a.m()}}catch(c){return}this.u||window.setTimeout(t(this.ka,this),100)}};T.prototype.Ua=function(a){this.n=a;var b=this.n.GetAuthToken();b!=this.zb||this.a.m()};T.prototype.N=function(a,b){function c(){this.a.j(a,b)}window.setTimeout(t(c,this),1)};T.prototype.send=function(a,b){this.n.SendMessage(a,b)};T.prototype.b=function(){T.o.b.call(this);this.n=h};var U=function(a){C.call(this);this.c=a;this.name=this.c.cn||Lb(10);this.Ja={};F[this.name]=this;jc(window,"unload",Hc)};u(U,C);U.prototype.d=h;U.prototype.ha=1;U.prototype.g=function(){return this.ha==2};U.prototype.h=h;U.prototype.t=h;U.prototype.La=function(a){this.h=a};U.prototype.Wa=function(){if(!this.d){if(!this.c.tp)if(ra(document.postMessage)||ra(window.postMessage)||w&&window.postMessage)this.c.tp=1;else if(Sa)this.c.tp=2;else if(w&&this.c.pru)this.c.tp=3;else if(w)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 H(this);break;case 3:this.d=new R(this);break;case 4:this.d=new I(this);break}if(!this.d)throw Error("CrossPageChannel: No suitable transport found!");}};U.prototype.Ya=g;U.prototype.Ra=g;U.prototype.connect=function(a){this.Mb=a;if(this.Ya)this.Ra=m;else{if(this.c.ifrid)this.t=typeof this.c.ifrid=="string"?document.getElementById(this.c.ifrid):this.c.ifrid;if(this.t){var b=this.t.contentWindow;b||(b=window.frames[this.c.ifrid]);this.La(b)}if(!this.h)if(window==top)throw Error("CrossPageChannel: Can't connect, peer window-object not set.");else this.La(window.parent);this.Wa();this.d.connect()}};U.prototype.close=function(){if(!!this.g()){this.ha=3;this.d.dispose();this.d=h}};U.prototype.m=function(){if(!this.g()){this.ha=2;this.Mb()}};U.prototype.rb=function(){this.close()};U.prototype.yb=function(a,b,c){this.Ja[a]={name:a,callback:b,jsonEncoded:!!c}};U.prototype.send=function(a,b){if(!!this.g())if(this.h.closed)this.close();else{if(sa(b))b=(new D).serialize(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.Ja[a];if(c){if(c.jsonEncoded)try{b=Hb(b)}catch(d){return}c.callback(b)}}};U.prototype.s=function(){return window.parent==this.h?1:0};U.prototype.b=function(){U.o.b.call(this);this.close();this.t=this.h=h;delete this.Ja;F[this.name]=h};var Hc=function(){for(var a in F){var b=F[a];b&&b.dispose()}};var Ic=function(a){var b=a||document.location.protocol+"//"+document.location.host;return b+"/robots.txt"};var V=function(a,b){this.A=a.width;this.z=a.height;this.Lb=b;this.ba=this.gb(a.src,document);this.$=g;this.e=a;this.mb(this.ib())};V.prototype.ib=function(){var a={};a.ifrid=this.e.id;a.pu=this.e.src;a.ph=this.ba;a.cn=this.Lb;a.ppu=Ic(this.ba);a.lpu=Ic();return a};V.prototype.mb=function(a){this.a=new U(a);this.a.yb("expandable_ad",t(this.N,this));this.a.connect(function(){});window.setTimeout(t(this.kb,this),30000)};V.prototype.kb=function(){if(this.a&&!this.a.g()){this.a.d.connect=function(){};if(this.a.d.f==1)this.a.d.V=function(){};if(this.a.d.f==4)this.a.d.Ub=function(){};this.a.d.dispose();this.a.dispose()}};V.prototype.gb=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,j=f.indexOf("/");if(j<0)j=f.indexOf("?");if(d&&j>0)f=f.substring(0,j);return e+"//"+f};V.prototype.N=function(a){var b=a.split("_"),c=b[0];if(c=="expand")this.lb(b);else c=="collapse"&&this.jb()};V.prototype.Ga=function(a){this.a.send("expandable_ad",a)};V.prototype.lb=function(a){if(!this.$){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.$a(b,c);this.bb(b,c,f);this.Ga("ok_expand_w"+b+"_h"+c+"_d"+f)}};V.prototype.jb=function(){if(!!this.$){this.Qa();this.Ga("ok_collapse_w"+this.A+"_h"+this.z)}};V.prototype.Qa=function(){this.e.style.width=this.A+"px";this.e.style.height=this.z+"px";this.e.style.left="0";this.e.style.top="0";this.e.style.zIndex=h;this.e.parentNode.style.zIndex=h;this.e.parentNode.parentNode.style.zIndex=h;this.$=g};V.prototype.bb=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;this.e.parentNode.parentNode.style.zIndex=9999;if(a>this.A&&(c==0||c==3))this.e.style.left="-"+(a-this.A)+"px";if(b>this.z&&(c==1||c==0))this.e.style.top="-"+(b-this.z)+"px";this.$=m};V.prototype.$a=function(a,b){var c=yb(this.e),d=lb(window),e=a-this.A,f=b-this.z,j=c.y,i=f>j,l=d.height-(c.y+this.z),k=i||l>=j,o=c.x,p=e>o,q=d.width-(c.x+this.A),K=p||q>=o,N=0;if(k&&K)N=2;else if(k&&!K)N=3;else if(!k&&K)N=1;else if(!k&&!K)N=0;return N};var Jc=function(){},Mc=function(a,b,c,d,e){if(!a||!b||c<=0||d<=0)return h;var f=Lb(10);b=Kc(b,c,d,f);var j=Lc(a,b,c,d,e);return new V(j,f)},Kc=function(a,b,c,d){var e=ib().wa();return a+(a.indexOf("?")==-1?"?":"&")+"w="+b+"&h="+c+"&xpc="+d+"&p="+escape(e.location.protocol+"//"+e.location.host)},Lc=function(a,b,c,d,e){var f="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px",j='<ins style="display:inline-table;'+f+'"><ins style="display:block;'+f+'"><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></ins>",i=ib(),l=i.ya(e);if(l)l.innerHTML=j;else i.wa().write(j);return i.ya(a)};ya("ExpandableAdSlot",V);ya("ExpandableAdSlotFactory",Jc);var W="";function Nc(a){if(a){if(W!="")W+=",";W+=a}}var Oc=g,Pc=ha("false",g);function Qc(a){return a!=h?'"'+a+'"':'""'}function fa(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=ea(a),d=b[a];X(c,d)}function Z(a,b){b!=h&&X(a,fa(b))}function $(a){var b=window,c=ea(a),d=b[a];Z(c,d)}function Rc(a,b){var c=window,d=ea(a),e=c[a];if(d&&e&&typeof e=="object")e=e[b%e.length];X(d,e)}function Sc(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 Tc(a){if(!!a.google_enable_first_party_cookie){if(a._GA_googleCookieHelper==h)a._GA_googleCookieHelper=new n;if(!a._google_cookie_fetched){a._google_cookie_fetched=m;a._GA_googleCookieHelper.cb(Uc(a.google_ad_client))}}}function Uc(a){if(a){a=a.toLowerCase();if(a.substring(0,3)!="ca-")a="ca-"+a}return a}function Vc(a){if(a){a=a.toLowerCase();if(a.substring(0,9)!="dist-aff-")a="dist-aff-"+a}return a}function Wc(a){var b="google_unique_id";if(a[b])++a[b];else a[b]=1;return a[b]}function Xc(){var a=w&&y("6")&&!y("8"),b=Sa&&y("1.8.1"),c=x&&y("525");if(Za&&(a||b||c))return m;else if(Ya&&(c||b))return m;else if($a&&b)return m;return g}function Yc(a,b){var c=a.google_allow_expandable_ads;if(c!=h&&c==g||!b.body||a.google_ad_output!="html"||Zc(a,b)||$c(a)||ad(a.google_ad_format)||isNaN(a.google_ad_height)||isNaN(a.google_ad_width)||!Xc())return g;return m}function bd(){var a=Math.random(),b=ga("0.1",0.03),c=2*b;if(a<b)return"30143019";if(a<c)return"30143020";return""}function cd(){var a=Math.random(),b=ga("0",0.03),c=2*b;if(a<b)return"30143021";if(a<c)return"30143022";return""}function dd(){var a=Math.random(),b=ga("0.03",0.01),c=2*b;if(a<b)return"6083029";if(a<c)return"6083028";return""}function ed(a){a.google_allow_expandable_ads=g;a.google_expandable_iframe=g}function fd(a,b,c,d){var e=Wc(a);c=c.substring(0,1992);c=c.replace(/%\w?$/,"");var f="script";if((a.google_ad_output=="js"||a.google_ad_output=="json_html")&&(a.google_ad_request_done||a.google_radlink_request_done))b.write("<"+f+' language="JavaScript1.1" src='+Qc(gd(c))+"></"+f+">");else if(a.google_ad_output=="html")if(hd(a)){var j=a.google_container_id||d||h;a["google_expandable_ad_slot"+e]=Mc("google_ads_frame"+e,gd(c),a.google_ad_width,a.google_ad_height,j)}else{var i='<iframe name="google_ads_frame" width='+Qc(a.google_ad_width)+" height="+Qc(a.google_ad_height)+" frameborder="+Qc(a.google_ad_frameborder)+" src="+Qc(gd(c))+' marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no"></iframe>';i=id(a.google_ad_width,a.google_ad_height,i);a.google_container_id?jd(a.google_container_id,b,i):b.write(i)}else a.google_ad_output=="textlink"&&b.write("<"+f+' language="JavaScript1.1" src='+Qc(gd(c))+"></"+f+">")}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -