📄 translate_c.js
字号:
new tn_(x,w));tn_a(f.iw_s1,new tn_(p,k));tn_a(f.iws_s1,new tn_(q,w));tn_a(f.iw_se,new tn_(r,k));tn_a(f.iws_se,new tn_(s,w));if(a){tn_a(g,new tn_(0,u));tn_a(f.iw_s2,new tn_(p,k));tn_a(f.iw_n2,new tn_(p,o));tn_a(h,new tn_(0,u));tn_a(f.iws_s2,new tn_(q,w));tn_a(f.iws_n2,new tn_(q,v))}else if(b){tn_a(g,new tn_(r,u));tn_a(f.iw_s2,new tn_(p,k));tn_a(f.iw_n2,new tn_(p,o));tn_a(h,new tn_(s,u));tn_a(f.iws_s2,new tn_(q,w));tn_a(f.iws_n2,new tn_(q,v))}else if(c){tn_a(f.iw_n2,new tn_(B,o));tn_a(g,new tn_(y,0));
tn_a(f.iw_s2,new tn_(p,k));tn_a(f.iws_n2,new tn_(m,v));tn_a(h,new tn_(A,0));tn_a(f.iws_s2,new tn_(q,w))}else{tn_a(f.iw_n2,new tn_(p,o));tn_a(g,new tn_(y,k));tn_a(f.iw_s2,new tn_(B,k));tn_a(f.iws_n2,new tn_(q,v));tn_a(h,new tn_(A,w));tn_a(f.iws_s2,new tn_(m,w))}var D=r-14+0,E=u-0;tn_a(f.close,new tn_(D,E));D-=16;tn_a(f.maximize,new tn_(D,E));tn_a(f.restore,new tn_(D,E));this.X=new tn_(t+8,o+8);for(var z=0;z<tn_g(this.f);z++){var F=this.f[z];tn_a(F,this.X)}};tn_b.prototype.gb=function(){if(this.U){this.ua(this.U,
this.u)}else if(this.I){this.L(this.I,this.u)}};tn_b.prototype.xb=function(){return this.u};tn_b.prototype.Kb=function(a){this.c.style.zIndex=a+1;this.i.style.zIndex=a};tn_b.prototype.t=function(){return this.l};tn_b.prototype.reset=function(a,b,c,d,e){this.J(c,b,e);this.L(a,d);this.show();tn_L(this.b.restore)};tn_b.prototype.yb=function(){return this.z};tn_b.prototype.Ab=function(){return this.N};tn_b.prototype.ub=function(){return this.f};tn_b.prototype.hide=function(){if(this.O){tn_e(this.O)}if(this.M){tn_e(this.M)}tn_e(this.c);
tn_e(this.i)};tn_b.prototype.show=function(){if(this.Na()){tn_A(this.c);tn_A(this.i);if(this.O){tn_A(this.O)}if(this.M){tn_A(this.M)}}};tn_b.prototype.Cb=function(){this.ob=false};tn_b.prototype.kb=function(){this.ob=true};tn_b.prototype.Na=function(){return this.c.style.display=="none"};tn_b.prototype.hb=function(a){if(a==this.z){return}this.va(a);var b=this.f;tn_R(b,tn_e);tn_A(b[a])};tn_b.prototype.Ya=function(){tn_l(this,tn_1a)};tn_b.prototype.maximize=function(a){tn_l(this,tn_6a);tn_Ta(this.b.restore);
this.wa=this.l;this.nb=this.N;this.mb=this.z;this.q=this.q||new tn_i(628,598);this.fa(this.q,a)};tn_b.prototype.Ib=function(a){this.q=this.Q(a)};tn_b.prototype.restore=function(a){tn_l(this,tn_bb);tn_L(this.b.restore);this.J(this.q,this.nb,this.mb);this.Qa=this.wa;this.fa(this.wa,a)};tn_b.prototype.fa=function(a,b){this.da=new tn_O(b===true?1:10);this.ea=this.l;this.ca=a;this.Y()};tn_b.prototype.Y=function(){var a=this.da.next(),b=this.ea.width*(1-a)+this.ca.width*a,c=this.ea.height*(1-a)+this.ca.height*
a;this.ra(new tn_i(b,c));this.gb();this.qb();if(this.da.more()){tn_Oa(this,this.Y,10)}else{this.Ia()}};tn_b.prototype.Ia=function(){if(tn_y(this.b.restore,"visibility")=="visible"){this.ja=true;tn_l(this,tn_7a);this.J(this.q,this.Sa,this.Ra)}else{this.ja=false;tn_l(this,tn_cb)}};tn_b.prototype.Eb=function(){return this.ja};tn_b.prototype.ra=function(a){var b=this.l=this.Q(a);return b};tn_b.prototype.Ga=function(a){if(tn_d.type==1){tn_1(a)}else{var b=tn_Pa(a,this.c);if(b.y<=this.ba()){tn_1(a)}}};tn_b.prototype.$=
function(a){if(tn_d.type==1){tn_U(a)}else{var b=tn_Pa(a,this.c);if(b.y<=this.ba()){a.cancelDrag=true}}};tn_b.prototype.ba=function(){return this.t().height+12};tn_b.prototype.aa=function(){var a=this.t();return new tn_i(a.width+12,a.height+21+6)};tn_b.prototype.zb=function(){return tn_g(this.N)>1?24:0};tn_b.prototype.Bb=function(){return this.xa};tn_b.prototype.J=function(a,b,c){this.Aa();this.Qa=a;var d=new tn_i(4+a.width,4+a.height);if(tn_d.d()){d.width+=1}var e=this.ra(d);this.N=b;var g=c||0;if(tn_g(b)>
1){this.Ka();for(var h=0;h<tn_g(b);++h){this.Da(b[h].name,b[h].onclick)}this.va(g)}var i=new tn_i(e.width+-4,e.height+-4),n=this.X,f=this.f=[];for(var h=0;h<tn_g(b);h++){var j=tn_j("div",this.c,n,i);if(h!=g){tn_e(j)}j.style.zIndex=10;tn_0(j,b[h].contentElem);f.push(j)}};tn_b.prototype.qb=function(){var a=new tn_i(this.l.width+-4,this.l.height+-4);for(var b=0;b<tn_g(this.f);b++){var c=this.f[b];tn_3(c,a)}};tn_b.prototype.Hb=function(a,b,c){this.q=a;this.Sa=b;this.Ra=c;tn_Ta(this.b.maximize)};tn_b.prototype.Aa=
function(){var a=this.f;tn_R(a,tn_H);tn_Ba(a);var b=this.A;tn_R(b,tn_H);tn_Ba(b);this.z=0};tn_b.prototype.Q=function(a){return new tn_i(tn_f(a.width,32),tn_f(a.height,0))};tn_b.prototype.Ka=function(){this.A=[]};tn_b.prototype.Da=function(a,b){var c=tn_g(this.A),d=new tn_(6+c*84,-24),e=tn_j("div",this.c,d);this.A.push(e);var g=new tn_i(103,30);tn_T(tn_G("iw_tabback"),e,tn_.ORIGIN,g,true);var h=tn_j("div",e,tn_.ORIGIN,new tn_i(103,24));tn_E(a,h);var i=h.style;i.fontFamily="Arial,sans-serif";i.fontSize=
tn_m(13);i.paddingTop=tn_m(5);i.textAlign="center";tn_t(h,"pointer");tn_Q(h,this,b||function(){this.hb(c)});return h};tn_b.prototype.va=function(a){this.z=a;var b=this.A;for(var c=0;c<tn_g(b);c++){var d=b[c],e=d.style,g=d.firstChild;if(c==a){tn_ia(g,tn_G("iw_tab"));tn_Nb(d);e.zIndex=9}else{tn_ia(g,tn_G("iw_tabback"));tn_Ob(d);e.zIndex=8-c}}};function tn_Nb(a){var b=a.style;b.fontWeight="bold";b.color="black";b.textDecoration="none";tn_t(a,"default")}function tn_Ob(a){var b=a.style;b.fontWeight="normal";
b.color="#0000cc";b.textDecoration="underline";tn_t(a,"pointer")}function tn_Ca(a,b,c){var d=tn_j("div",b);for(var e=0;e<tn_g(c);e++){var g=c[e],h=new tn_i(g[1],g[2]),i=new tn_(g[3],g[4]),n=tn_G(g[0]),f=tn_T(n,d,i,h,true,true);a[g[5]||g[0]]=f}return d};function tn_Fb(a,b,c){tn_Gb([a],function(d){b(d[0])},c)}function tn_Gb(a,b,c){var d=c||screen.width,e=tn_j("div",window.document.body,new tn_(-screen.width,-screen.height),new tn_i(d,screen.height)),g=[];for(var h=0;h<tn_g(a);h++){var i=tn_j("div",e,tn_.ORIGIN);tn_0(i,a[h]);g.push(i)}window.setTimeout(function(){var n=[],f=new tn_i(0,0);for(var j=0;j<tn_g(g);j++){var l=g[j],t=new tn_i(l.offsetWidth,l.offsetHeight);n.push(t);l.removeChild(a[j]);tn_H(l);f.width=tn_f(f.width,t.width);f.height=tn_f(f.height,
t.height)}tn_H(e);g=null;b(n,f)},0)};function tn_T(a,b,c,d,e,g,h){var i;if(e&&tn_d.type==1){i=tn_j("div",b,c,d);i.style.overflow="hidden";if(d&&g){i.sizingMethod="scale"}var n=tn_j("img",i);tn_L(n);tn_F(n,tn_ta,tn_Bb)}else{i=tn_j("img",b,c,d);if(h){tn_F(i,tn_ta,tn_Ab)}}if(h){i.hideAndTrackLoading=true}tn_Fa(i);if(tn_d.type==1){i.galleryImg="no"}i.style.border=tn_m(0);i.style.padding=tn_m(0);i.style.margin=tn_m(0);i.oncontextmenu=tn_gb;tn_ia(i,a);return i}function tn_Bb(){var a=this.parentNode;a.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod="+
(a.sizingMethod?a.sizingMethod:"crop")+',src="'+this.src+'")';if(a.hideAndTrackLoading){a.loaded=true}}function tn_ia(a,b){if(a.tagName=="DIV"){a.firstChild.src=b;a.src=b;if(a.hideAndTrackLoading){a.style.filter="";a.loaded=false}}else if(a.hideAndTrackLoading&&b!=tn__){if(b!=tn__){a.loaded=false;a.pendingSrc=b}else{a.pendingSrc=null}a.src=tn__}else{a.src=b}}function tn_Ab(){var a=this;if(a.src==tn__&&a.pendingSrc){a.src=a.pendingSrc;a.pendingSrc=null}else{a.loaded=true}}function tn_G(a,b){return tn_Z+
a+(b?".gif":".png")};var tn_Z="/images/infowindow/",tn__=tn_Z+"transparent.png",tn_ya=Number.MAX_VALUE;var tn_D="click",tn_2a="contextmenu",tn_M="dblclick",tn_ta="load",tn_N="mousedown",tn_8a="mousemove",tn_va="mouseout",tn_X="mouseup",tn_9a="mousewheel",tn_$a="DOMMouseScroll",tn_db="unload",tn_1a="closeclick",tn_6a="maximizeclick",tn_bb="restoreclick",tn_7a="maximizeend",tn_cb="restoreend",tn_5a="dragstart",tn_3a="drag",tn_4a="dragend",tn_ab="move",tn_0a="clearlisteners",tn_ua="logclick";var tn_pb=false;function tn_r(){this.a=[]}function tn_Na(){}tn_r.instance=function(a){if(!a){a=window}if(!a.gEventListenerPool){a.gEventListenerPool=new tn_r}return a.gEventListenerPool};tn_r.remove=function(a){tn_r.instance(tn_S(a)).fb(a)};tn_r.prototype.fb=function(a){var b=this.a.pop(),c=a.Ha();if(c<this.a.length){this.a[c]=b;b.K(c)}a.K(-1)};tn_r.push=function(a){tn_r.instance(tn_S(a)).cb(a)};tn_r.prototype.cb=function(a){this.a.push(a);a.K(this.a.length-1)};tn_r.prototype.wb=function(){return this.a};
tn_r.prototype.clear=function(){for(var a=0;a<this.a.length;++a){this.a[a].K(-1)}this.a=[]};function tn_ha(a){a.remove();tn_r.remove(a)}function tn_ob(a){tn_l(a,tn_0a);tn_R(tn_Ja(a),function(b){b.remove();tn_r.remove(b)})}function tn_Ja(a,b){var c=[],d=a["__e_"];if(d){if(b){if(d[b]){tn_fa(c,d[b])}}else{tn_qb(d,function(e,g){tn_fa(c,g)})}}return c}function tn_Ka(a,b,c){var d=null,e=a["__e_"];if(e){d=e[b];if(!d){d=[];if(c){e[b]=d}}}else{d=[];if(c){a["__e_"]={};a["__e_"][b]=d}}return d}function tn_l(a,
b,c,d,e){var g=[];tn_fa(g,arguments,2);tn_R(tn_Ja(a,b),function(h){if(tn_pb){h.apply(a,g)}else{try{h.apply(a,g)}catch(i){}}})}function tn_F(a,b,c){var d;if(tn_d.type==2&&b==tn_M){a["on"+b]=c;d=new tn_w(a,b,c,3)}else if(a.addEventListener){a.addEventListener(b,c,false);d=new tn_w(a,b,c,1)}else if(a.attachEvent){var e=tn_nb(a,c);a.attachEvent("on"+b,e);d=new tn_w(a,b,e,2)}else{a["on"+b]=c;d=new tn_w(a,b,c,3)}var g=tn_S(a);if(a!=g||b!=tn_db){tn_r.push(d)}return d}function tn_p(a,b,c,d){var e=tn_2(c,
d);return tn_F(a,b,e)}function tn_Q(a,b,c){tn_p(a,tn_D,b,c);if(tn_d.type==1){tn_p(a,tn_M,b,c)}}function tn_2(a,b){return function(c){if(!c){c=window.event}if(c&&!c.target){c.target=c.srcElement}b.call(a,c,this)}}function tn_nb(a,b){return function(){return b.apply(a,arguments)}}function tn_w(a,b,c,d){var e=this;e.g=a;e.s=b;e.F=c;e.db=d;e.ia=-1;tn_4(e,a);tn_Ka(a,b,true).push(e)}tn_w.prototype.remove=function(){var a=this;switch(a.db){case 1:a.g.removeEventListener(a.s,a.F,false);break;case 2:a.g.detachEvent("on"+
a.s,a.F);break;case 3:a.g["on"+a.s]=null;break}tn_Jb(tn_Ka(a.g,a.s),a);a.g=null;a.F=null;a.remove=tn_Na;a.apply=tn_Na};tn_w.prototype.Ha=function(){return this.ia};tn_w.prototype.K=function(a){this.ia=a};tn_w.prototype.Fb=function(a){return this.s==a};tn_w.prototype.apply=function(a,b){return this.F.apply(a,b)};tn_w.prototype.vb=function(){return this.g};function tn_Ia(a){tn_mb(a,tn_ob)}function tn_1(a){if(a.type==tn_D){tn_l(document,tn_ua,a)}if(tn_d.type==1){window.event.cancelBubble=true;window.event.returnValue=
false}else{a.preventDefault();a.stopPropagation()}}function tn_U(a){if(a.type==tn_D){tn_l(document,tn_ua,a)}if(tn_d.type==1){window.event.cancelBubble=true}else{a.stopPropagation()}}function tn_gb(a){if(tn_d.type==1){window.event.returnValue=false}else{a.preventDefault()}};var tn_d,tn_ma=["opera","msie","safari","firefox","mozilla"],tn_za=["x11;","macintosh","windows"];function tn_$(a){this.type=-1;this.os=-1;this.version=0;this.revision=0;var a=a.toLowerCase();for(var b=0;b<tn_g(tn_ma);b++){var c=tn_ma[b];if(a.indexOf(c)!=-1){this.type=b;var d=new RegExp(c+"[ /]?([0-9]+(.[0-9]+)?)");if(d.exec(a)!=null){this.version=parseFloat(RegExp.$1)}break}}for(var b=0;b<tn_g(tn_za);b++){var c=tn_za[b];if(a.indexOf(c)!=-1){this.os=b;break}}if(this.type==4||this.type==3){if(/\brv:\s*(\d+\.\d+)/.exec(a)){this.revision=
parseFloat(RegExp.$1)}}}tn_$.prototype.d=function(){return this.type==3||this.type==4};tn_$.prototype.Db=function(){return this.type==4&&this.revision<1.7};tn_d=new tn_$(navigator.userAgent);var tn_J="windo";function tn_j(a,b,c,d,e){var g=tn_la(b).createElement(a);if(c){tn_a(g,c)}if(d){tn_3(g,d)}if(b&&!e){tn_0(b,g);if(b[tn_J]){g[tn_J]=b[tn_J]}}return g}function tn_E(a,b){var c=tn_la(b).createTextNode(a);if(b){tn_0(b,c)}return c}function tn_la(a){return(a?a.ownerDocument:null)||document}function tn_m(a){return tn_k(a)+"px"}function tn_Ha(a){return a+"em"}function tn_a(a,b){var c=a.style;c.position="absolute";c.left=tn_m(b.x);c.top=tn_m(b.y)}function tn_3(a,b){var c=a.style;c.width=tn_m(b.width);
c.height=tn_m(b.height)}function tn_h(a,b){a.style.width=tn_m(b)}function tn_q(a,b){a.style.height=tn_m(b)}function tn_e(a){a.style.display="none"}function tn_A(a){a.style.display=""}function tn_L(a){a.style.visibility="hidden"}function tn_Ta(a){a.style.visibility=""}function tn_Hb(a){a.style.position="absolute"}var tn_z=Math.min,tn_f=Math.max,tn_k=Math.round,tn_Aa=Math.abs;function tn_t(a,b){try{a.style.cursor=b}catch(c){if(b=="pointer"){tn_t(a,"hand")}}}function tn_Qa(a){tn_lb(a,"gmnoscreen");tn_jb(a,
"gmnoprint")}function tn_La(a){return typeof a!="undefined"}function tn_ja(a){return typeof a=="number"}function tn_Oa(a,b,c){return window.setTimeout(function(){b.apply(a)},c)}function tn_wb(a){if(tn_d.type==2){return new tn_(a.pageX-self.pageXOffset,a.pageY-self.pageYOffset)}else{return new tn_(a.clientX,a.clientY)}}function tn_vb(a){var b=a.target||a.srcElement;if(b.nodeType==3){b=b.parentNode}return b}function tn_Jb(a,b,c){var d=0;for(var e=0;e<tn_g(a);++e){if(a[e]===b||c&&a[e]==b){a.splice(e--,
1);d++}}return d}function tn_0(a,b){a.appendChild(b)}function tn_H(a){if(a.parentNode){a.parentNode.removeChild(a);tn_Ia(a)}}function tn_hb(a){var b;while(b=a.firstChild){tn_Ia(b);a.removeChild(b)}}function tn_Lb(a,b){if(a.innerHTML!=b){tn_hb(a);a.innerHTML=b}}function tn_Fa(a){if(tn_d.d()){a.style.MozUserSelect="none"}else{a.unselectable="on";a.onselectstart=tn_Kb}}function tn_R(a,b){var c=tn_g(a);for(var d=0;d<c;++d){b(a[d],d)}}function tn_qb(a,b,c){for(var d in a){if(c||!a.hasOwnProperty||a.hasOwnProperty(d)){b(d,
a[d])}}}function tn_fa(a,b,c,d){var e=c||0,g=d||tn_g(b);for(var h=e;h<g;++h){a.push(b[h])}}function tn_Kb(){return false}function tn_Mb(a,b){if(tn_d.type==1){a.style.filter="alpha(opacity="+tn_k(b*100)+")"}else{a.style.opacity=b}}function tn_ib(a,b,c){var d=tn_j("div",a,b,c);d.style.backgroundColor="black";tn_Mb(d,0.35);return d}function tn_y(a,b){var c=tn_la(a);if(a.currentStyle){var d=tn_Da(b);return a.currentStyle[d]}else if(c.defaultView&&c.defaultView.getComputedStyle){var e=c.defaultView.getComputedStyle(a,
"");return e?e.getPropertyValue(b):""}else{var d=tn_Da(b);return a.style[d]}}var tn_na="__mapsBaseCssDummy__";function tn_P(a,b,c){var d=c?c:tn_y(a,b);if(tn_ja(d)){return d}else if(isNaN(parseInt(d,10))){return d}else if(tn_g(d)>2&&d.substring(tn_g(d)-2)=="px"){return parseInt(d,10)}else{var e=a.ownerDocument.getElementById(tn_na);if(!e){var e=tn_j("div",a,new tn_(0,0),new tn_i(0,0));e.id=tn_na;tn_L(e)}else{a.parentNode.appendChild(e)}e.style.width="0px";e.style.width=d;return e.offsetWidth}}var tn_Ua=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -