You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
20 KiB

/**/_jsload2 && _jsload2('autocomplete', 'x.lang.Da.prototype.mi=ja(0,function(){delete window[x.ba]._instances[this.ba];for(var a in this)x.lang.Pt(this[a])||delete this[a]});x.K.getComputedStyle=function(a,b){var a=x.K.Xj(a),c=x.K.lE(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,p))?c[b]||c.getPropertyValue(b):""};x.K.remove=function(a){var a=x.K.Xj(a),b=a.parentNode;b&&b.removeChild(a)};x.lang.isArray=function(a){return"[object Array]"==Object.prototype.toString.call(a)}; x.event=x.event||{};x.event.stopPropagation=function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=o};x.event.preventDefault=function(a){a.preventDefault?a.preventDefault():a.returnValue=q};x.event.stop=function(a){var b=x.event;b.stopPropagation(a);b.preventDefault(a)};x.kc.indexOf=function(a,b,c){var d=a.length,c=c|0;for(0>c&&(c=Math.max(0,d+c));c<d;c++)if(c in a&&a[c]===b)return c;return-1};x.kc.contains=function(a,b){return 0<=x.kc.indexOf(a,b)};x.Qb=x.Qb||{version:"1.3.9"}; x.Qb.EY=function(a){for(var a=a.split("-"),b=x.Qb,c=a.length,d=0;d<c;d++)b=b[a[d].charAt(0).toUpperCase()+a[d].slice(1)];return b};x.Qb.create=function(a,b){x.lang.ug(a)&&(a=x.Qb.EY(a));return new a(b)};x.event.qB=x.event.qB||[]; x.event.M=function(a,b,c){function d(b){c.call(a,b)}var b=b.replace(/^on/i,""),a=x.K.Xj(a),e=x.event.qB,f=x.event.T1,g=b,b=b.toLowerCase();f&&f[b]&&(f=f[b](a,b,d),g=f.type,d=f.w4);a&&a.addEventListener?a.addEventListener(g,d,q):a&&a.attachEvent&&a.attachEvent("on"+g,d);e[e.length]=[a,b,c,d,g];return a};x.M=x.event.M; x.event.cd=function(a,b,c){for(var a=x.K.Xj(a),b=b.replace(/^on/i,"").toLowerCase(),d=x.event.qB,e=d.length,f=!c,g,i;e--;)if(g=d[e],g[1]===b&&g[0]===a&&(f||g[2]===c))i=g[4],g=g[3],a.removeEventListener?a.removeEventListener(i,g,q):a.detachEvent&&a.detachEvent("on"+i,g),d.splice(e,1);return a};x.cd=x.event.cd; x.Qb.NG={id:"",Yb:function(a){var b;b="tangram-"+this.Mu+"--"+(this.id?this.id:this.ba);return a?b+"-"+a:b},mt:function(a){var b=this.PK,c=this.e0;a&&(b+="-"+a,c+="-"+a);this.e0&&(b+=" "+c);return b},ri:function(){return x.$(this.pN)},MX:function(){return x.$(this.Yb())},Mu:"",qp:function(){return"window[\'$BAIDU$\']._instances[\'"+this.ba+"\']"},w3:function(a){for(var b=0,c=Array.prototype.slice.call(arguments,1),d=c.length;b<d;b++)"string"==typeof c[b]&&(c[b]="\'"+c[b]+"\'");return this.qp()+"."+a+"("+ c.join(",")+");"},M:function(a,b,c){x.M(a,b,c);this.addEventListener("ondispose",function(){x.cd(a,b,c)})},i_:function(a){if(!this.ri())return a=x.$(a),a||(a=document.createElement("div"),document.body.appendChild(a),a.style.position="absolute",a.className=this.mt("main")),a.id||(a.id=this.Yb("main")),this.pN=a.id,a.setAttribute("data-guid",this.ba),a},mi:function(){this.dispatchEvent("dispose");x.lang.Da.prototype.mi.call(this)}}; x.Qb.MW=function(a){function b(){}function c(b,d){var m=this,b=b||{};e.call(m,!f?b:b.ba||"",o);x.object.extend(m,c.options);x.object.extend(m,b);m.PK=m.PK||"tangram-"+m.Mu.toLowerCase();for(g in x.Qb.mm)"undefined"!=typeof m[g]&&m[g]&&(x.object.extend(m,x.Qb.mm[g]),x.lang.Pt(m[g])?m.addEventListener("onload",function(){x.Qb.mm[g].call(m[g].apply(m))}):x.Qb.mm[g].call(m));a.apply(m,arguments);g=0;for(i=c.Wz.length;g<i;g++)c.Wz[g](m);b.parent&&m.U_&&m.U_(b.parent);!d&&b.B2&&m.va(b.element)}var d;d= d||{};var e=d.n0||x.lang.Da,f=e==x.lang.Da?1:0,g,i;b.prototype=e.prototype;d=c.prototype=new b;for(g in x.Qb.NG)d[g]=x.Qb.NG[g];c.extend=function(a){for(g in a)c.prototype[g]=a[g];return c};c.Wz=[];c.Xe=function(a){"function"==typeof a&&c.Wz.push(a)};c.options={};return c};x.K.fE=function(a,b){a=x.K.$(a);if(a===p)return a;if("style"==b)return a.style.cssText;b=x.K.jH[b]||b;return a.getAttribute(b)};x.fE=x.K.fE; x.Qb.get=function(a){var b;if(x.lang.ug(a))return x.lang.Lc(a);do{if(!a||9==a.nodeType)return p;if(b=x.K.fE(a,"data-guid"))return x.lang.Lc(b)}while((a=a.parentNode)!=document.body)}; x.Qb.Li=x.Qb.MW(function(){var a=this;a.addEventListener("onload",function(){eventName=J()?"touchstart":"mousedown";a.M(document,eventName,a.cX);a.M(window,"blur",a.d1