⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linuxeden_com-- linuxeden 新闻 文档 资料 教程 linux伊甸园- python开发编码规范.mht

📁 python编程规范
💻 MHT
📖 第 1 页 / 共 5 页
字号:
this.listener.handleEvent.call(this.listener,a)};var =
$b=3D{},Q=3D{},ac=3D{},bc=3Dnew =
M(0,600);bc.C(function(){return{r:0}});bc.za(function(a){a.r=3D0});var =
R=3Dnew =
M(0,600);R.C(function(){return[]});R.za(function(a){a.length=3D0;delete =
a.K;delete a.ra});var cc=3Dnew M(0,600);cc.C(function(){var =
a=3Dfunction(b){return dc.call(a.src,a.key,b)};return a});var =
ec=3Dfunction(){return new P},fc=3Dnew M(0,600);fc.C(ec);=0A=
var gc=3Dfunction(){return new O},hc=3Dfunction(){var =
a=3Di;if(C){a=3Dnew M(0,600);a.C(gc)}return =
a},ic=3Dhc(),jc=3D"on",kc=3D{},lc=3Dfunction(a,b,c,d,e){if(b)if(x(b)=3D=3D=
"array"){for(var f=3D0;f<b.length;f++)lc(a,b[f],c,d,e);return i}else{var =
g=3D!!d,j=3DQ;b in j||(j[b]=3Dbc.h());j=3Dj[b];if(!(g in =
j)){j[g]=3Dbc.h();j.r++}j=3Dj[g];var =
k=3Dya(a),l,n;if(j[k]){l=3Dj[k];for(var =
f=3D0;f<l.length;f++){n=3Dl[f];if(n.listener=3D=3Dc&&n.handler=3D=3De){if=
(n.removed)break;return l[f].key}}}else{l=3Dj[k]=3DR.h();j.r++}var =
p=3Dcc.h();p.src=3Da;n=3Dfc.h();n.init(c,p,=0A=
a,b,g,e);var =
q=3Dn.key;p.key=3Dq;l.push(n);$b[q]=3Dn;ac[k]||(ac[k]=3DR.h());ac[k].push=
(n);if(a.addEventListener){if(a=3D=3Dv||!a.Kb)a.addEventListener(b,p,g)}e=
lse a.attachEvent(mc(b),p);return q}else throw Error("Invalid event =
type");},nc=3Dfunction(a,b,c,d,e){if(x(b)=3D=3D"array"){for(var =
f=3D0;f<b.length;f++)nc(a,b[f],c,d,e);return i}var =
g=3D!!d,j=3Doc(a,b,g);if(!j)return h;for(var =
f=3D0;f<j.length;f++)if(j[f].listener=3D=3Dc&&j[f].capture=3D=3Dg&&j[f].h=
andler=3D=3De)return pc(j[f].key);return =
h},pc=3Dfunction(a){if(!$b[a])return h;var b=3D=0A=
$b[a];if(b.removed)return h;var =
c=3Db.src,d=3Db.type,e=3Db.proxy,f=3Db.capture;if(c.removeEventListener){=
if(c=3D=3Dv||!c.Kb)c.removeEventListener(d,e,f)}else =
c.detachEvent&&c.detachEvent(mc(d),e);var =
g=3Dya(c),j=3DQ[d][f][g];if(ac[g]){var =
k=3Dac[g];hb(k,b);k.length=3D=3D0&&delete =
ac[g]}b.removed=3Dm;j.ra=3Dm;qc(d,f,g,j);delete $b[a];return =
m},qc=3Dfunction(a,b,c,d){if(!d.K)if(d.ra){for(var =
e=3D0,f=3D0;e<d.length;e++){if(d[e].removed){fc.w(d[e]);continue}if(e!=3D=
f)d[f]=3Dd[e];f++}d.length=3Df;d.ra=3Dh;if(f=3D=3D0){R.w(d);delete =
Q[a][b][c];Q[a][b].r--;=0A=
if(Q[a][b].r=3D=3D0){bc.w(Q[a][b]);delete =
Q[a][b];Q[a].r--}if(Q[a].r=3D=3D0){bc.w(Q[a]);delete =
Q[a]}}}},oc=3Dfunction(a,b,c){var d=3DQ;if(b in d){d=3Dd[b];if(c in =
d){d=3Dd[c];var e=3Dya(a);if(d[e])return d[e]}}return =
i},mc=3Dfunction(a){if(a in kc)return kc[a];return =
kc[a]=3Djc+a},sc=3Dfunction(a,b,c,d){var e=3D1,f=3DQ;if(b in =
f){f=3Df[b];if(c in f){f=3Df[c];var g=3Dya(a);if(f[g]){var =
j=3Df[g];if(j.K)j.K++;else j.K=3D1;try{var k=3Dj.length;for(var =
l=3D0;l<k;l++){var =
n=3Dj[l];if(n&&!n.removed)e&=3Drc(n,d)!=3D=3Dh}}finally{j.K--;qc(b,c,g,j)=
}}}}return Boolean(e)},=0A=
rc=3Dfunction(a,b){var c=3Da.handleEvent(b);a.da&&pc(a.key);return =
c},dc=3Dfunction(a,b){if(!$b[a])return m;var =
c=3D$b[a],d=3Dc.type,e=3DQ;if(!(d in e))return m;e=3De[d];var =
f;if(C){var g=3Db||ra("window.event"),j=3Dm in =
e;if(j){if(g.keyCode<0||g.returnValue!=3Dundefined)return =
m;tc(g)}ya(c.src);var k=3Dic.h();k.init(g,this);f=3Dm;try{if(j){var =
l=3DR.h();for(var =
n=3Dk.currentTarget;n;n=3Dn.parentNode)l.push(n);for(var =
p=3Dl.length-1;!k.B&&p>=3D0;p--){k.currentTarget=3Dl[p];f&=3Dsc(l[p],d,m,=
k)}for(var p=3D0;!k.B&&p<l.length;p++){k.currentTarget=3D=0A=
l[p];f&=3Dsc(l[p],d,h,k)}}else =
f=3Drc(c,k)}finally{if(l){l.length=3D0;R.w(l)}k.dispose();ic.w(k)}return =
f}var q=3Dnew O(b,this);try{f=3Drc(c,q)}finally{q.dispose()}return =
f},tc=3Dfunction(a){var =
b=3Dh;if(a.keyCode=3D=3D0)try{a.keyCode=3D-1;return}catch(c){b=3Dm}if(b||=
a.returnValue=3D=3Dundefined)a.returnValue=3Dm};var =
S=3Dfunction(a){this.a=3Da;this.Nb=3Dthis.a.c.pru;this.ob=3Dthis.a.c.ifri=
d;D&&uc()};A(S,Nb);if(D){var =
vc=3D[],wc=3D0,uc=3Dfunction(){wc||(wc=3Dwindow.setTimeout(function(){xc(=
)},1000))},xc=3Dfunction(a){var =
b=3Dza(),c=3Da||3000;while(vc.length&&b-vc[0].timestamp>=3Dc){var =
d=3Dvc.shift().iframeElement;ub(d)}wc=3Dwindow.setTimeout(yc,1000)},yc=3D=
function(){xc()}}S.prototype.connect=3Dfunction(){this.send("tp","SETUP")=
};S.prototype.D=3Dfunction(a){if(a=3D=3D"SETUP"){this.send("tp",I);this.a=
.k()}else a=3D=3DI&&this.a.k()};=0A=
S.prototype.send=3Dfunction(a,b){if(C){var =
c=3Ddocument.createElement("div");c.innerHTML=3D'<iframe =
onload=3D"this.xpcOnload()"></iframe>';var =
d=3Dc.childNodes[0];d.xpcOnload=3Dzc}else{var =
d=3Ddocument.createElement("iframe");D?vc.push({timestamp:za(),iframeElem=
ent:d}):lc(d,"load",zc)}var =
e=3Dd.style;e.visibility=3D"hidden";e.width=3Dd.style.height=3D"0px";e.po=
sition=3D"absolute";var =
f=3Dthis.Nb;f+=3D"#"+this.a.name;if(this.ob)f+=3D","+this.ob;f+=3D"|"+a+"=
:"+encodeURIComponent(b);d.src=3Df;document.body.appendChild(d)};=0A=
var =
zc=3Dfunction(){ub(this);this.xpcOnload=3Di};window.xpcRelay=3Dfunction(a=
,b){var =
c=3Db.indexOf(":"),d=3Db.substring(0,c),e=3Db.substring(c+1);Kb[a].m(d,de=
codeURIComponent(e))};S.prototype.b=3Dfunction(){S.o.b.call(this);D&&xc(0=
)};var T=3Dfunction(a){this.a=3Da};A(T,Nb);var =
Ac=3Dh,Cc=3Dfunction(){if(!Ac){lc(y(window.postMessage)?window:document,"=
message",Bc,h,T);Ac=3Dm}},Bc=3Dfunction(a){var =
b=3Da.Za().data,c=3Db.indexOf("|"),d=3Db.indexOf(":");if(c=3D=3D-1||d=3D=3D=
-1)return;var =
e=3Db.substring(0,c),f=3Db.substring(c+1,d),g=3Db.substring(d+1),j=3DKb[e=
];j&&j.m(f,g)};T.prototype.D=3Dfunction(a){switch(a){case =
"SETUP":this.send("tp",I);case =
I:this.a.k();break}};T.prototype.connect=3Dfunction(){Cc();this.send("tp"=
,"SETUP")};=0A=
T.prototype.send=3Dfunction(a,b){var c=3Dthis.a.f;if(!c)return;var =
d=3Dy(window.postMessage)?c:c.document;this.send=3Dfunction(e,f){d.postMe=
ssage(this.a.name+"|"+e+":"+f,"*")};this.send(a,b)};T.prototype.b=3Dfunct=
ion(){T.o.b.call(this);nc(document,"message",this.Qb,h,this)};var =
U=3Dfunction(a){this.a=3Da;this.Fa=3Da.at||"";this.ub=3Da.rat||"";Dc();th=
is[Ec]=3Dthis.J;this[Fc]=3Dthis.Na};A(U,Nb);=0A=
var =
Gc=3D"GRPC____NIXVBS_wrapper",Hc=3D"GRPC____NIXVBS_get_wrapper",Ec=3D"GRP=
C____NIXJS_handle_message",Fc=3D"GRPC____NIXJS_create_channel",Ic=3D"GRPC=
____NIXVBS_container",Dc=3Dfunction(){if(window.nix_setup_complete)return=
;var a=3D"Class "+Gc+"\n Private m_Transport\nPrivate m_Auth\nPublic Sub =
SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport =
=3D transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf =
isEmpty(m_Auth) Then\nm_Auth =3D auth\nEnd If\nEnd Sub\nPublic Function =
GetAuthToken()\n GetAuthToken =3D m_Auth\nEnd Function\nPublic Sub =
SendMessage(service, payload)\n Call m_Transport."+Ec+=0A=
"(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call =
m_Transport."+Fc+"(channel)\nEnd Sub\nPublic Sub "+Ic+"()\n End Sub\nEnd =
Class\n Function "+Hc+"(transport, auth)\nDim wrap\nSet wrap =3D New =
"+Gc+"\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet "+Hc+" =3D =
wrap\nEnd =
Function";try{window.execScript(a,"vbscript");window.nix_setup_complete=3D=
m}catch(b){}};U.prototype.l=3D0;U.prototype.G=3D1;U.prototype.v=3Dh;U.pro=
totype.n=3Di;=0A=
U.prototype.connect=3Dfunction(){this.V=3Dwindow.parent=3D=3Dthis.a.f?thi=
s.G:this.l;this.V=3D=3Dthis.l?this.ba():this.aa()};U.prototype.ba=3Dfunct=
ion(){if(this.v)return;var =
a=3Dthis.a.u;try{a.contentWindow.opener=3Dwindow[Hc](this,this.Fa);this.v=
=3Dm}catch(b){}this.v||window.setTimeout(z(this.ba,this),100)};=0A=
U.prototype.aa=3Dfunction(){if(this.v)return;try{var =
a=3Dwindow.opener;if(a&&Ic in a){this.n=3Da;var =
b=3Dthis.n.GetAuthToken();if(b!=3Dthis.ub)return;this.n.CreateChannel(win=
dow[Hc](this,this.Fa));this.v=3Dm;this.a.k()}}catch(c){return}this.v||win=
dow.setTimeout(z(this.aa,this),100)};U.prototype.Na=3Dfunction(a){this.n=3D=
a;var =
b=3Dthis.n.GetAuthToken();if(b!=3Dthis.ub)return;this.a.k()};U.prototype.=
J=3Dfunction(a,b){function =
c(){this.a.m(a,b)}window.setTimeout(z(c,this),1)};=0A=
U.prototype.send=3Dfunction(a,b){this.n.SendMessage(a,b)};U.prototype.b=3D=
function(){U.o.b.call(this);this.n=3Di};var =
V=3Dfunction(a){this.c=3Da;this.name=3Dthis.c.cn||Mb(10);this.ya=3D{};Kb[=
this.name]=3Dthis;lc(window,"unload",Jc)};A(V,G);V.prototype.e=3Di;V.prot=
otype.Z=3D1;V.prototype.j=3Dfunction(){return =
this.Z=3D=3D2};V.prototype.f=3Di;V.prototype.u=3Di;V.prototype.Aa=3Dfunct=
ion(a){this.f=3Da};=0A=
V.prototype.Qa=3Dfunction(){if(this.e)return;if(!this.c.tp)if(y(document.=
postMessage)||y(window.postMessage))this.c.tp=3D1;else =
if(db)this.c.tp=3D2;else if(C&&this.c.pru)this.c.tp=3D3;else =
if(C)this.c.tp=3D6;else =
if(this.c.lpu&&this.c.ppu)this.c.tp=3D4;switch(this.c.tp){case =
1:this.e=3Dnew T(this);break;case 6:this.e=3Dnew U(this);break;case =
2:this.e=3Dnew J(this);break;case 3:this.e=3Dnew S(this);break;case =
4:this.e=3Dnew K(this);break}if(!this.e)throw Error("CrossPageChannel: =
No suitable transport found!");};=0A=
V.prototype.Sa=3Dh;V.prototype.La=3Dh;V.prototype.connect=3Dfunction(a){t=
his.Jb=3Da;if(this.Sa){this.La=3Dm;return}if(this.c.ifrid)this.u=3Dtypeof=
 =
this.c.ifrid=3D=3D"string"?document.getElementById(this.c.ifrid):this.c.i=
frid;if(this.u){var =
b=3Dthis.u.contentWindow;b||(b=3Dwindow.frames[this.c.ifrid]);this.Aa(b)}=
if(!this.f)if(window=3D=3Dtop)throw Error("CrossPageChannel: Can't =
connect, peer window-object not set.");else =
this.Aa(window.parent);this.Qa();this.e.connect()};=0A=
V.prototype.close=3Dfunction(){if(!this.j())return;this.Z=3D3;this.e.disp=
ose();this.e=3Di};V.prototype.k=3Dfunction(){if(this.j())return;this.Z=3D=
2;this.Jb()};V.prototype.nb=3Dfunction(){this.close()};V.prototype.tb=3Df=
unction(a,b,c){this.ya[a]=3D{name:a,callback:b,jsonEncoded:!!c}};V.protot=
ype.send=3Dfunction(a,b){if(!this.j())return;if(this.f.closed){this.close=
();return}if(va(b))b=3DIb(b);this.e.send(a,b)};=0A=
V.prototype.m=3Dfunction(a,b){if(!a||a=3D=3D"tp")this.e.D(b);else =
if(this.j()){var =
c=3Dthis.ya[a];if(c){if(c.jsonEncoded)try{b=3DGb(b)}catch(d){return}c.cal=
lback(b)}}};V.prototype.b=3Dfunction(){V.o.b.call(this);this.close();this=
.f=3Di;this.u=3Di;delete this.ya;Kb[this.name]=3Di};var =
Jc=3Dfunction(){for(var a in Kb){var b=3DKb[a];b&&b.dispose()}};var =
Kc=3Dfunction(a){var =
b=3Da||document.location.protocol+"//"+document.location.host;return =
b+"/robots.txt"};var =
W=3Dfunction(a,b){this.q=3Db.width;this.p=3Db.height;this.Ga=3DMb(10);thi=
s.Mb=3Dthis.bb(a,document);this.R=3Dh;this.d=3Db;this.d.src=3Dthis.ib(doc=
ument,a);this.gb(this.db(document))};W.prototype.ib=3Dfunction(a,b){retur=
n =
b+(b.indexOf("?")=3D=3D-1?"?":"&")+"w=3D"+this.q+"&h=3D"+this.p+"&xpc=3D"=
+this.Ga+"&p=3D"+escape(a.location.protocol+"//"+a.location.host)};W.prot=
otype.db=3Dfunction(){var =
a=3D{};a.ifrid=3Dthis.d.id;a.pu=3Dthis.d.src;a.cn=3Dthis.Ga;a.ppu=3DKc(th=
is.Mb);a.lpu=3DKc();return a};=0A=
W.prototype.gb=3Dfunction(a){this.a=3Dnew =
V(a);this.a.tb("expandable_ad",z(this.J,this));this.a.connect(function(){=
})};W.prototype.bb=3Dfunction(a,b){var =
c=3Da.indexOf("//"),d=3Dc>0,e=3Dd?a.substring(0,c):b.location.protocol,f=3D=
d?a.substring(c+2):b.location.host,g=3Df.indexOf("/");if(d&&g>0)f=3Df.sub=
string(0,g);return e+"//"+f};W.prototype.J=3Dfunction(a){var =
b=3Da.split("_"),c=3Db[0];if(c=3D=3D"expand")this.fb(b);else =
c=3D=3D"collapse"&&this.eb()};W.prototype.va=3Dfunction(a){this.a.send("e=
xpandable_ad",a)};=0A=
W.prototype.fb=3Dfunction(a){if(this.R)return;var b,c;for(var d in =
a){var =
e=3Da[d].charAt(0);if(e=3D=3D"w")b=3DparseInt(a[d].substring(1),10);else =
if(e=3D=3D"h")c=3DparseInt(a[d].substring(1),10)}var =
f=3Dthis.Ua(b,c);this.Wa(b,c,f);this.va("ok_expand_w"+b+"_h"+c+"_d"+f)};W=
.prototype.eb=3Dfunction(){if(!this.R)return;this.Ka();this.va("ok_collap=
se_w"+this.q+"_h"+this.p)};=0A=
W.prototype.Ka=3Dfunction(){this.d.style.width=3Dthis.q+"px";this.d.style=
.height=3Dthis.p+"px";this.d.style.left=3D"0";this.d.style.top=3D"0";this=
.d.style.zIndex=3Di;this.d.parentNode.style.zIndex=3Di;this.R=3Dh};=0A=
W.prototype.Wa=3Dfunction(a,b,c){this.d.style.position=3D"absolute";this.=
d.style.width=3Da+"px";this.d.style.height=3Db+"px";this.d.style.zIndex=3D=
9999;this.d.parentNode.style.zIndex=3D9999;if(a>this.q&&(c=3D=3D0||c=3D=3D=
3))this.d.style.left=3D"-"+(a-this.q)+"px";if(b>this.p&&(c=3D=3D1||c=3D=3D=
0))this.d.style.top=3D"-"+(b-this.p)+"px";this.R=3Dm};=0A=
W.prototype.Ua=3Dfunction(a,b){var =
c=3DDb(this.d),d=3Dsb(window),e=3Da-this.q,f=3Db-this.p,g=3Dc.y,j=3Df>g,k=

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -