getscript.js 118 KB

1
  1. window.BMAP_AUTHENTIC_KEY="fpzGqedB7e8CA8WB8jUgxlOx";(function(){function aa(a){throw a;}var j=void 0,o=!0,p=null,q=!1;function s(){return function(){}}function ba(a){return function(b){this[a]=b}}function u(a){return function(){return this[a]}}function da(a){return function(){return a}}var ea,fa=[];function ha(a){return function(){return fa[a].apply(this,arguments)}}function ia(a,b){return fa[a]=b}var ja,v=ja=v||{version:"1.3.4"};v.Q="$BAIDU$";window[v.Q]=window[v.Q]||{};v.object=v.object||{}; v.extend=v.object.extend=function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);return a};v.C=v.C||{};v.C.N=function(a){return"string"==typeof a||a instanceof String?document.getElementById(a):a&&a.nodeName&&(1==a.nodeType||9==a.nodeType)?a:p};v.N=v.Xb=v.C.N;v.C.J=function(a){a=v.C.N(a);a.style.display="none";return a};v.J=v.C.J;v.lang=v.lang||{};v.lang.qf=function(a){return"[object String]"==Object.prototype.toString.call(a)};v.qf=v.lang.qf; v.C.Bi=function(a){return v.lang.qf(a)?document.getElementById(a):a};v.Bi=v.C.Bi;v.C.contains=function(a,b){var d=v.C.Bi,a=d(a),b=d(b);return a.contains?a!=b&&a.contains(b):!!(a.compareDocumentPosition(b)&16)};v.R=v.R||{};/msie (\d+\.\d)/i.test(navigator.userAgent)&&(v.R.aa=v.aa=document.documentMode||+RegExp.$1);var ka={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",usemap:"useMap",frameborder:"frameBorder"}; 8>v.R.aa?(ka["for"]="htmlFor",ka["class"]="className"):(ka.htmlFor="for",ka.className="class");v.C.VB=ka;v.C.JA=function(a,b,d){a=v.C.N(a);if("style"==b)a.style.cssText=d;else{b=v.C.VB[b]||b;a.setAttribute(b,d)}return a};v.JA=v.C.JA;v.C.KA=function(a,b){var a=v.C.N(a),d;for(d in b)v.C.JA(a,d,b[d]);return a};v.KA=v.C.KA;v.zj=v.zj||{};(function(){var a=RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");v.zj.trim=function(b){return(""+b).replace(a,"")}})();v.trim=v.zj.trim; v.zj.Nk=function(a,b){var a=""+a,d=Array.prototype.slice.call(arguments,1),e=Object.prototype.toString;if(d.length){d=d.length==1?b!==p&&/\[object Array\]|\[object Object\]/.test(e.call(b))?b:d:d;return a.replace(/#\{(.+?)\}/g,function(a,b){var i=d[b];"[object Function]"==e.call(i)&&(i=i(b));return"undefined"==typeof i?"":i})}return a};v.Nk=v.zj.Nk; v.C.Rb=function(a,b){for(var a=v.C.N(a),d=a.className.split(/\s+/),e=b.split(/\s+/),f,g=e.length,i,k=0;k<g;++k){i=0;for(f=d.length;i<f;++i)if(d[i]==e[k]){d.splice(i,1);break}}a.className=d.join(" ");return a};v.Rb=v.C.Rb; v.C.bu=function(a,b,d){var a=v.C.N(a),e;if(a.insertAdjacentHTML)a.insertAdjacentHTML(b,d);else{e=a.ownerDocument.createRange();b=b.toUpperCase();if(b=="AFTERBEGIN"||b=="BEFOREEND"){e.selectNodeContents(a);e.collapse(b=="AFTERBEGIN")}else{b=b=="BEFOREBEGIN";e[b?"setStartBefore":"setEndAfter"](a);e.collapse(b)}e.insertNode(e.createContextualFragment(d))}return a};v.bu=v.C.bu;v.C.show=function(a){a=v.C.N(a);a.style.display="";return a};v.show=v.C.show; v.C.nz=function(a){a=v.C.N(a);return a.nodeType==9?a:a.ownerDocument||a.document};v.C.cb=function(a,b){for(var a=v.C.N(a),d=b.split(/\s+/),e=a.className,f=" "+e+" ",g=0,i=d.length;g<i;g++)f.indexOf(" "+d[g]+" ")<0&&(e=e+(" "+d[g]));a.className=e;return a};v.cb=v.C.cb;v.C.vx=v.C.vx||{};v.C.mk=v.C.mk||[];v.C.mk.filter=function(a,b,d){for(var e=0,f=v.C.mk,g;g=f[e];e++)if(g=g[d])b=g(a,b);return b};v.zj.zI=function(a){return a.indexOf("-")<0&&a.indexOf("_")<0?a:a.replace(/[-_][^-_]/g,function(a){return a.charAt(1).toUpperCase()})}; v.C.rX=function(a,b){v.C.fq(a,b)?v.C.Rb(a,b):v.C.cb(a,b)};v.C.fq=function(a){if(arguments.length<=0||typeof a==="function")return this;if(this.size()<=0)return q;var a=a.replace(/^\s+/g,"").replace(/\s+$/g,"").replace(/\s+/g," "),b=a.split(" "),d;v.forEach(this,function(a){for(var a=a.className,f=0;f<b.length;f++)if(!~(" "+a+" ").indexOf(" "+b[f]+" ")){d=q;return}d!==q&&(d=o)});return d}; v.C.fi=function(a,b){var d=v.C,a=d.N(a),b=v.zj.zI(b),e=a.style[b];if(!e)var f=d.vx[b],e=a.currentStyle||(v.R.aa?a.style:getComputedStyle(a,p)),e=f&&f.get?f.get(a,e):e[f||b];if(f=d.mk)e=f.filter(b,e,"get");return e};v.fi=v.C.fi;/opera\/(\d+\.\d)/i.test(navigator.userAgent)&&(v.R.opera=+RegExp.$1);v.R.NG=/webkit/i.test(navigator.userAgent);v.R.qR=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);v.R.Yz="CSS1Compat"==document.compatMode; v.C.T=function(a){var a=v.C.N(a),b=v.C.nz(a),d=v.R,e=v.C.fi;d.qR>0&&b.getBoxObjectFor&&e(a,"position");var f={left:0,top:0},g;if(a==(d.aa&&!d.Yz?b.body:b.documentElement))return f;if(a.getBoundingClientRect){a=a.getBoundingClientRect();f.left=Math.floor(a.left)+Math.max(b.documentElement.scrollLeft,b.body.scrollLeft);f.top=Math.floor(a.top)+Math.max(b.documentElement.scrollTop,b.body.scrollTop);f.left=f.left-b.documentElement.clientLeft;f.top=f.top-b.documentElement.clientTop;a=b.body;b=parseInt(e(a, "borderLeftWidth"));e=parseInt(e(a,"borderTopWidth"));if(d.aa&&!d.Yz){f.left=f.left-(isNaN(b)?2:b);f.top=f.top-(isNaN(e)?2:e)}}else{g=a;do{f.left=f.left+g.offsetLeft;f.top=f.top+g.offsetTop;if(d.NG>0&&e(g,"position")=="fixed"){f.left=f.left+b.body.scrollLeft;f.top=f.top+b.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(d.opera>0||d.NG>0&&e(a,"position")=="absolute")f.top=f.top-b.body.offsetTop;for(g=a.offsetParent;g&&g!=b.body;){f.left=f.left-g.scrollLeft;if(!d.opera||g.tagName!="TR")f.top= f.top-g.scrollTop;g=g.offsetParent}}return f};/firefox\/(\d+\.\d)/i.test(navigator.userAgent)&&(v.R.Tf=+RegExp.$1);/BIDUBrowser/i.test(navigator.userAgent)&&(v.R.lV=o);var la=navigator.userAgent;/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(la)&&!/chrome/i.test(la)&&(v.R.bI=+(RegExp.$1||RegExp.$2));/chrome\/(\d+\.\d)/i.test(navigator.userAgent)&&(v.R.RE=+RegExp.$1);v.Ob=v.Ob||{};v.Ob.vb=function(a,b){var d,e,f=a.length;if("function"==typeof b)for(e=0;e<f;e++){d=a[e];d=b.call(a,d,e);if(d===q)break}return a}; v.vb=v.Ob.vb;v.lang.Q=function(){return"TANGRAM__"+(window[v.Q]._counter++).toString(36)};window[v.Q]._counter=window[v.Q]._counter||1;window[v.Q]._instances=window[v.Q]._instances||{};v.lang.kq=function(a){return"[object Function]"==Object.prototype.toString.call(a)};v.lang.oa=function(a){this.Q=a||v.lang.Q();window[v.Q]._instances[this.Q]=this};window[v.Q]._instances=window[v.Q]._instances||{};v.lang.oa.prototype.Vg=ha(1); v.lang.oa.prototype.toString=function(){return"[object "+(this.uK||"Object")+"]"};v.lang.lv=function(a,b){this.type=a;this.returnValue=o;this.target=b||p;this.currentTarget=p};v.lang.oa.prototype.addEventListener=function(a,b,d){if(v.lang.kq(b)){!this.vh&&(this.vh={});var e=this.vh,f;if(typeof d=="string"&&d){/[^\w\-]/.test(d)&&aa("nonstandard key:"+d);f=b.oG=d}a.indexOf("on")!=0&&(a="on"+a);typeof e[a]!="object"&&(e[a]={});f=f||v.lang.Q();b.oG=f;e[a][f]=b}}; v.lang.oa.prototype.removeEventListener=function(a,b){if(v.lang.kq(b))b=b.oG;else if(!v.lang.qf(b))return;!this.vh&&(this.vh={});a.indexOf("on")!=0&&(a="on"+a);var d=this.vh;d[a]&&d[a][b]&&delete d[a][b]}; v.lang.oa.prototype.dispatchEvent=function(a,b){v.lang.qf(a)&&(a=new v.lang.lv(a));!this.vh&&(this.vh={});var b=b||{},d;for(d in b)a[d]=b[d];var e=this.vh,f=a.type;a.target=a.target||this;a.currentTarget=this;f.indexOf("on")!=0&&(f="on"+f);v.lang.kq(this[f])&&this[f].apply(this,arguments);if(typeof e[f]=="object")for(d in e[f])e[f][d].apply(this,arguments);return a.returnValue}; v.lang.ga=function(a,b,d){var e,f,g=a.prototype;f=new Function;f.prototype=b.prototype;f=a.prototype=new f;for(e in g)f[e]=g[e];a.prototype.constructor=a;a.zT=b.prototype;if("string"==typeof d)f.uK=d};v.ga=v.lang.ga;v.lang.gd=function(a){return window[v.Q]._instances[a]||p};v.platform=v.platform||{};v.platform.vR=/macintosh/i.test(navigator.userAgent);v.platform.xW=/MicroMessenger/i.test(navigator.userAgent);v.platform.OG=/windows/i.test(navigator.userAgent);v.platform.AR=/x11/i.test(navigator.userAgent);v.platform.Xm=/android/i.test(navigator.userAgent);/android (\d+\.\d)/i.test(navigator.userAgent)&&(v.platform.AE=v.AE=RegExp.$1);v.platform.tR=/ipad/i.test(navigator.userAgent);v.platform.uR=/iphone/i.test(navigator.userAgent); function z(a,b){a.domEvent=b=window.event||b;a.clientX=b.clientX||b.pageX;a.clientY=b.clientY||b.pageY;a.offsetX=b.offsetX||b.layerX;a.offsetY=b.offsetY||b.layerY;a.screenX=b.screenX;a.screenY=b.screenY;a.ctrlKey=b.ctrlKey||b.metaKey;a.shiftKey=b.shiftKey;a.altKey=b.altKey;if(b.touches){a.touches=[];for(var d=0;d<b.touches.length;d++)a.touches.push({clientX:b.touches[d].clientX,clientY:b.touches[d].clientY,screenX:b.touches[d].screenX,screenY:b.touches[d].screenY,pageX:b.touches[d].pageX,pageY:b.touches[d].pageY, target:b.touches[d].target,identifier:b.touches[d].identifier})}if(b.changedTouches){a.changedTouches=[];for(d=0;d<b.changedTouches.length;d++)a.changedTouches.push({clientX:b.changedTouches[d].clientX,clientY:b.changedTouches[d].clientY,screenX:b.changedTouches[d].screenX,screenY:b.changedTouches[d].screenY,pageX:b.changedTouches[d].pageX,pageY:b.changedTouches[d].pageY,target:b.changedTouches[d].target,identifier:b.changedTouches[d].identifier})}if(b.targetTouches){a.targetTouches=[];for(d=0;d< b.targetTouches.length;d++)a.targetTouches.push({clientX:b.targetTouches[d].clientX,clientY:b.targetTouches[d].clientY,screenX:b.targetTouches[d].screenX,screenY:b.targetTouches[d].screenY,pageX:b.targetTouches[d].pageX,pageY:b.targetTouches[d].pageY,target:b.targetTouches[d].target,identifier:b.targetTouches[d].identifier})}a.rotation=b.rotation;a.scale=b.scale;return a}v.lang.ot=function(a){var b=window[v.Q];b.lM&&delete b.lM[a]};v.event={}; v.D=v.event.D=function(a,b,d){if(!(a=v.N(a)))return a;b=b.replace(/^on/,"");a.addEventListener?a.addEventListener(b,d,q):a.attachEvent&&a.attachEvent("on"+b,d);return a};v.Ld=v.event.Ld=function(a,b,d){if(!(a=v.N(a)))return a;b=b.replace(/^on/,"");a.removeEventListener?a.removeEventListener(b,d,q):a.detachEvent&&a.detachEvent("on"+b,d);return a}; v.C.fq=function(a,b){if(!a||!a.className||typeof a.className!="string")return q;var d=-1;try{d=a.className==b||a.className.search(RegExp("(\\s|^)"+b+"(\\s|$)"))}catch(e){return q}return d>-1};v.xF=function(){function a(a){document.addEventListener&&(this.element=a,this.AF=this.Zk?"touchstart":"mousedown",this.Vy=this.Zk?"touchmove":"mousemove",this.Uy=this.Zk?"touchend":"mouseup",this.hg=q,this.Wq=this.Vq=0,this.element.addEventListener(this.AF,this,q),ja.D(this.element,"mousedown",s()),this.handleEvent(p))}a.prototype={Zk:"ontouchstart"in window||"createTouch"in document,start:function(a){ma(a);this.hg=q;this.Vq=this.Zk?a.touches[0].clientX:a.clientX;this.Wq=this.Zk?a.touches[0].clientY: a.clientY;this.element.addEventListener(this.Vy,this,q);this.element.addEventListener(this.Uy,this,q)},move:function(a){na(a);var d=this.Zk?a.touches[0].clientY:a.clientY;if(10<Math.abs((this.Zk?a.touches[0].clientX:a.clientX)-this.Vq)||10<Math.abs(d-this.Wq))this.hg=o},end:function(a){na(a);this.hg||(a=document.createEvent("Event"),a.initEvent("tap",q,o),this.element.dispatchEvent(a));this.element.removeEventListener(this.Vy,this,q);this.element.removeEventListener(this.Uy,this,q)},handleEvent:function(a){if(a)switch(a.type){case this.AF:this.start(a); break;case this.Vy:this.move(a);break;case this.Uy:this.end(a)}}};return function(b){return new a(b)}}();var C=window.BMap||{};C.version="2.0";0<=C.version.indexOf("#")&&(C.version="2.0");C.Zo=[];C.ae=function(a){this.Zo.push(a)};C.Qo=[];C.ll=function(a){this.Qo.push(a)};C.eO=C.apiLoad||s();var oa=window.BMAP_AUTHENTIC_KEY;window.BMAP_AUTHENTIC_KEY=p;var pa=window.BMap_loadScriptTime,qa=(new Date).getTime(),sa=p,ta=o,ua=p,va=5042,xa=5002,ya=5003,za="load_mapclick",Aa=5038,Ba=5041,Ca=5047,Da=5036,Ea=5039,Fa=5037,Ha=5040,Ia=5011,Ja=7E3;function Ka(a,b){if(a=v.N(a)){var d=this;v.lang.oa.call(d);b=b||{};d.F={Xx:200,$b:o,At:q,My:o,Op:o,Qp:q,Py:o,Pp:o,yt:o,Bm:b.enable3DBuilding||q,Sc:25,rU:240,TN:450,Gb:D.Gb,Rc:D.Rc,du:!!b.du,Vc:b.minZoom||1,Fd:b.maxZoom||18,rb:b.mapType||La,dX:q,zt:o,Ey:500,JP:b.enableHighResolution!==q,Cm:b.enableMapClick!==q,devicePixelRatio:b.devicePixelRatio||window.devicePixelRatio||1,lB:b.vectorMapLevel||(F()?3:99),Dd:b.mapStyle||p,JR:b.logoControl===q?q:o,mO:["chrome"],GE:b.beforeClickIcon||p};d.F.Dd&&(this.zG(d.F.Dd.controls), this.AG(d.F.Dd.geotableId));d.F.Dd&&d.F.Dd.styleId&&d.fG(d.F.Dd.styleId);d.F.xp={dark:{backColor:"#2D2D2D",textColor:"#bfbfbf",iconUrl:"dicons"},normal:{backColor:"#F3F1EC",textColor:"#c61b1b",iconUrl:"icons"},light:{backColor:"#EBF8FC",textColor:"#017fb4",iconUrl:"licons"}};b.enableAutoResize&&(d.F.yt=b.enableAutoResize);v.platform.Xm&&1.5<window.devicePixelRatio&&(d.F.devicePixelRatio=1.5);var e=d.F.mO;if(F())for(var f=0,g=e.length;f<g;f++)if(v.R[e[f]]){d.F.devicePixelRatio=1;break}e=-1<navigator.userAgent.toLowerCase().indexOf("android"); f=-1<navigator.userAgent.toLowerCase().indexOf("mqqbrowser");e&&f&&(d.F.lB=99,d.F.JP=q,d.F.devicePixelRatio=1);d.Ga=a;d.ox(a);a.unselectable="on";a.innerHTML="";a.appendChild(d.qa());b.size&&this.Zc(b.size);e=d.yb();d.width=e.width;d.height=e.height;d.offsetX=0;d.offsetY=0;d.platform=a.firstChild;d.Ed=d.platform.firstChild;d.Ed.style.width=d.width+"px";d.Ed.style.height=d.height+"px";d.xd={};d.Of=new I(0,0);d.gc=new I(0,0);d.za=3;d.wc=0;d.ny=p;d.my=p;d.Cb="";d.$s="";d.Eg={};d.Eg.custom={};d.Ha=0; d.H=new Ma(a,{Ne:"api"});d.H.J();d.H.NA(d);b=b||{};e=d.rb=d.F.rb;d.Hd=e.Nm();e===Na&&Oa(xa);e===Pa&&Oa(ya);e=d.F;e.RI=b.minZoom;e.QI=b.maxZoom;d.Ov();d.G={bc:q,Fb:0,pq:0,TG:0,BW:0,Qx:q,xA:-1,ke:[]};d.platform.style.cursor=d.F.Gb;for(f=0;f<C.Zo.length;f++)C.Zo[f](d);d.G.xA=f;d.P();K.load("map",function(){d.ob()});d.F.Cm&&(setTimeout(function(){Oa(za)},1E3),K.load("mapclick",function(){window.MPC_Mgr=new Qa(d)},o));Ra()&&K.load("oppc",function(){d.Cv()});F()&&K.load("opmb",function(){d.Cv()});a=p;d.Ax= []}}v.lang.ga(Ka,v.lang.oa,"Map"); v.extend(Ka.prototype,{qa:function(){var a=L("div"),b=a.style;b.overflow="visible";b.position="absolute";b.zIndex="0";b.top=b.left="0px";var b=L("div",{"class":"BMap_mask"}),d=b.style;d.position="absolute";d.top=d.left="0px";d.zIndex="9";d.overflow="hidden";d.WebkitUserSelect="none";a.appendChild(b);return a},ox:function(a){var b=a.style;b.overflow="hidden";"absolute"!=Sa(a).position&&(b.position="relative",b.zIndex=0);b.backgroundColor="#F3F1EC";b.color="#000";b.textAlign="left"},P:function(){var a= this;a.mp=function(){var b=a.yb();if(a.width!=b.width||a.height!=b.height){var d=new M(a.width,a.height),e=new N("onbeforeresize");e.size=d;a.dispatchEvent(e);a.Ni((b.width-a.width)/2,(b.height-a.height)/2);a.Ed.style.width=(a.width=b.width)+"px";a.Ed.style.height=(a.height=b.height)+"px";d=new N("onresize");d.size=b;a.dispatchEvent(d)}};a.F.yt&&(a.G.qp=setInterval(a.mp,80))},Ni:function(a,b,d,e){var f=this.ma().ac(this.$()),g=this.Hd,i=o;d&&I.EG(d)&&(this.Of=new I(d.lng,d.lat),i=q);if(d=d&&e?g.el(d, this.Cb):this.gc)if(this.gc=new I(d.lng+a*f,d.lat-b*f),(a=g.jj(this.gc,this.Cb))&&i)this.Of=a},Bf:function(a,b){if(Ta(a)&&(a=this.Rl(a).zoom,a!=this.za)){this.wc=this.za;this.za=a;var d;b?d=b:this.Yf()&&(d=this.Yf().T());d&&(d=this.Db(d,this.wc),this.Ni(this.width/2-d.x,this.height/2-d.y,this.ib(d,this.wc),o));this.dispatchEvent(new N("onzoomstart"));this.dispatchEvent(new N("onzoomstartcode"))}},od:function(a){this.Bf(a)},oB:function(a){this.Bf(this.za+1,a)},pB:function(a){this.Bf(this.za-1,a)}, hh:function(a){a instanceof I&&(this.gc=this.Hd.el(a,this.Cb),this.Of=I.EG(a)?new I(a.lng,a.lat):this.Hd.jj(this.gc,this.Cb))},wf:function(a,b){a=Math.round(a)||0;b=Math.round(b)||0;this.Ni(-a,-b)},Ms:function(a){a&&Ua(a.ce)&&(a.ce(this),this.dispatchEvent(new N("onaddcontrol",a)))},WH:function(a){a&&Ua(a.remove)&&(a.remove(),this.dispatchEvent(new N("onremovecontrol",a)))},mm:function(a){a&&Ua(a.ea)&&(a.ea(this),this.dispatchEvent(new N("onaddcontextmenu",a)))},kn:function(a){a&&Ua(a.remove)&&(this.dispatchEvent(new N("onremovecontextmenu", a)),a.remove())},wa:function(a){a&&Ua(a.ce)&&(a.ce(this),this.dispatchEvent(new N("onaddoverlay",a)))},sb:function(a){a&&Ua(a.remove)&&(a.remove(),this.dispatchEvent(new N("onremoveoverlay",a)))},TE:function(){this.dispatchEvent(new N("onclearoverlays"))},Mf:function(a){a&&this.dispatchEvent(new N("onaddtilelayer",a))},mg:function(a){a&&this.dispatchEvent(new N("onremovetilelayer",a))},xf:function(a){if(this.rb!==a){var b=new N("onsetmaptype");b.XW=this.rb;this.rb=this.F.rb=a;this.Hd=this.rb.Nm(); this.Ni(0,0,this.Fa(),o);this.Ov();var d=this.Rl(this.$()).zoom;this.Bf(d);this.dispatchEvent(b);b=new N("onmaptypechange");b.za=d;b.rb=a;this.dispatchEvent(b);(a===Va||a===Pa)&&Oa(ya)}},Ue:function(a){var b=this;if(a instanceof I)b.hh(a,{noAnimation:o});else if(Wa(a))if(b.rb==Na){var d=D.Tx[a];d&&(pt=d.m,b.Ue(pt))}else{var e=this.PC();e.QA(function(d){0==e.Uk()&&2==e.ta.result.type&&(b.Ue(d.cj(0).point),Na.Yi(a)&&b.LA(a))});e.search(a,{log:"center"})}},zd:function(a,b){"[object Undefined]"!==Object.prototype.toString.call(b)&& (b=parseInt(b));ua=F()?Xa.Hl.Ap(101):Xa.Hl.Ap(1);ua.ZA();ua.Fc("script_loaded",qa-pa);ua.Fc("centerAndZoom");var d=this;if(Wa(a))if(d.rb==Na){var e=D.Tx[a];e&&(pt=e.m,d.zd(pt,b))}else{var f=d.PC();f.QA(function(e){if(0==f.Uk()&&2==f.ta.result.type){var e=e.cj(0).point,g=b||O.iz(f.ta.content.level,d);d.zd(e,g);Na.Yi(a)&&d.LA(a)}});f.search(a,{log:"center"})}else if(a instanceof I&&b){b=d.Rl(b).zoom;d.wc=d.za||b;d.za=b;d.Of=new I(a.lng,a.lat);d.gc=d.Hd.el(d.Of,d.Cb);d.ny=d.ny||d.za;d.my=d.my||d.Of; var e=new N("onload"),g=new N("onloadcode");e.point=new I(a.lng,a.lat);e.pixel=d.Db(d.Of,d.za);e.zoom=b;d.loaded||(d.loaded=o,d.dispatchEvent(e),sa||(sa=Ya()));d.dispatchEvent(g);d.dispatchEvent(new N("onmoveend"));d.wc!=d.za&&d.dispatchEvent(new N("onzoomend"));d.F.Bm&&d.Bm()}},PC:function(){this.G.YG||(this.G.YG=new Za(1));return this.G.YG},reset:function(){this.zd(this.my,this.ny,o)},enableDragging:function(){this.F.$b=o},disableDragging:function(){this.F.$b=q},enableInertialDragging:function(){this.F.zt= o},disableInertialDragging:function(){this.F.zt=q},enableScrollWheelZoom:function(){this.F.Qp=o},disableScrollWheelZoom:function(){this.F.Qp=q},enableContinuousZoom:function(){this.F.Op=o},disableContinuousZoom:function(){this.F.Op=q},enableDoubleClickZoom:function(){this.F.My=o},disableDoubleClickZoom:function(){this.F.My=q},enableKeyboard:function(){this.F.At=o},disableKeyboard:function(){this.F.At=q},enablePinchToZoom:function(){this.F.Pp=o},disablePinchToZoom:function(){this.F.Pp=q},enableAutoResize:function(){this.F.yt= o;this.mp();this.G.qp||(this.G.qp=setInterval(this.mp,80))},disableAutoResize:function(){this.F.yt=q;this.G.qp&&(clearInterval(this.G.qp),this.G.qp=p)},Bm:function(){this.F.Bm=o;this.Ml||(this.Ml=new $a({DF:o}),this.Mf(this.Ml))},nP:function(){this.F.Bm=q;this.Ml&&(this.mg(this.Ml),this.Ml=p,delete this.Ml)},yb:function(){return this.Hp&&this.Hp instanceof M?new M(this.Hp.width,this.Hp.height):new M(this.Ga.clientWidth,this.Ga.clientHeight)},Zc:function(a){a&&a instanceof M?(this.Hp=a,this.Ga.style.width= a.width+"px",this.Ga.style.height=a.height+"px"):this.Hp=p},Fa:u("Of"),$:u("za"),EO:function(){this.mp()},Rl:function(a){var b=this.F.Vc,d=this.F.Fd,e=q;a<b&&(e=o,a=b);a>d&&(e=o,a=d);return{zoom:a,Wy:e}},Da:u("Ga"),Db:function(a,b){b=b||this.$();return this.Hd.Db(a,b,this.gc,this.yb(),this.Cb)},ib:function(a,b){b=b||this.$();return this.Hd.ib(a,b,this.gc,this.yb(),this.Cb)},$d:function(a,b){if(a){var d=this.Db(new I(a.lng,a.lat),b);d.x-=this.offsetX;d.y-=this.offsetY;return d}},LH:function(a,b){if(a){var d= new P(a.x,a.y);d.x+=this.offsetX;d.y+=this.offsetY;return this.ib(d,b)}},pointToPixelFor3D:function(a,b){var d=map.Cb;this.rb==Na&&d&&ab.ZE(a,this,b)},SW:function(a,b){var d=map.Cb;this.rb==Na&&d&&ab.YE(a,this,b)},TW:function(a,b){var d=this,e=map.Cb;d.rb==Na&&e&&ab.ZE(a,d,function(a){a.x-=d.offsetX;a.y-=d.offsetY;b&&b(a)})},QW:function(a,b){var d=map.Cb;this.rb==Na&&d&&(a.x+=this.offsetX,a.y+=this.offsetY,ab.YE(a,this,b))},Oe:function(a){if(!this.Uz())return new bb;var b=a||{},a=b.margins||[0,0, 0,0],d=b.zoom||p,b=this.ib({x:a[3],y:this.height-a[2]},d),a=this.ib({x:this.width-a[1],y:a[0]},d);return new bb(b,a)},Uz:function(){return!!this.loaded},AL:function(a,b){for(var d=this.ma(),e=b.margins||[10,10,10,10],f=b.zoomFactor||0,g=e[1]+e[3],e=e[0]+e[2],i=d.Im(),k=d=d.Rk();k>=i;k--){var l=this.ma().ac(k);if(a.gB().lng/l<this.width-g&&a.gB().lat/l<this.height-e)break}k+=f;k<i&&(k=i);k>d&&(k=d);return k},dq:function(a,b){var d={center:this.Fa(),zoom:this.$()};if(!a||!a instanceof bb&&0==a.length|| a instanceof bb&&a.ji())return d;var e=[];a instanceof bb?(e.push(a.Pe()),e.push(a.Yd())):e=a.slice(0);for(var b=b||{},f=[],g=0,i=e.length;g<i;g++)f.push(this.Hd.el(e[g],this.Cb));e=new bb;for(g=f.length-1;0<=g;g--)e.extend(f[g]);if(e.ji())return d;d=e.Fa();f=this.AL(e,b);b.margins&&(e=b.margins,g=(e[1]-e[3])/2,e=(e[0]-e[2])/2,i=this.ma().ac(f),b.offset&&(g=b.offset.width,e=b.offset.height),d.lng+=i*g,d.lat+=i*e);d=this.Hd.jj(d,this.Cb);return{center:d,zoom:f}},og:function(a,b){var d;d=a&&a.center? a:this.dq(a,b);var b=b||{},e=b.delay||200;if(d.zoom==this.za&&b.enableAnimation!=q){var f=this;setTimeout(function(){f.hh(d.center,{duration:210})},e)}else this.zd(d.center,d.zoom)},Qe:u("xd"),Yf:function(){return this.G.Ua&&this.G.Ua.Ja()?this.G.Ua:p},getDistance:function(a,b){if(a&&b){var d=0,d=Q.Gm(a,b);if(d==p||d==j)d=0;return d}},Az:function(){var a=[],b=this.la,d=this.Nd;if(b)for(var e in b)b[e]instanceof cb&&a.push(b[e]);if(d){e=0;for(b=d.length;e<b;e++)a.push(d[e])}return a},ma:u("rb"),Cv:function(){for(var a= this.G.xA;a<C.Zo.length;a++)C.Zo[a](this);this.G.xA=a},LA:function(a){this.Cb=Na.Yi(a);this.$s=Na.NF(this.Cb);this.rb==Na&&this.Hd instanceof db&&(this.Hd.gy=this.Cb)},setDefaultCursor:function(a){this.F.Gb=a;this.platform&&(this.platform.style.cursor=this.F.Gb)},getDefaultCursor:function(){return this.F.Gb},setDraggingCursor:function(a){this.F.Rc=a},getDraggingCursor:function(){return this.F.Rc},gj:da(q),Os:function(a,b){b?this.Eg[b]||(this.Eg[b]={}):b="custom";a.tag=b;a instanceof eb&&(this.Eg[b][a.Q]= a,a.ea(this));var d=this;K.load("hotspot",function(){d.Cv()})},vS:function(a,b){b||(b="custom");this.Eg[b][a.Q]&&delete this.Eg[b][a.Q]},Ak:function(a){a||(a="custom");this.Eg[a]={}},Ov:function(){var a=this.gj()?this.rb.k.aR:this.rb.Im(),b=this.gj()?this.rb.k.$Q:this.rb.Rk(),d=this.F;d.Vc=d.RI||a;d.Fd=d.QI||b;d.Vc<a&&(d.Vc=a);d.Fd>b&&(d.Fd=b)},setMinZoom:function(a){a>this.F.Fd&&(a=this.F.Fd);this.F.RI=a;this.iE()},setMaxZoom:function(a){a<this.F.Vc&&(a=this.F.Vc);this.F.QI=a;this.iE()},iE:function(){this.Ov(); var a=this.F;this.za<a.Vc?this.od(a.Vc):this.za>a.Fd&&this.od(a.Fd);var b=new N("onzoomspanchange");b.Vc=a.Vc;b.Fd=a.Fd;this.dispatchEvent(b)},nW:u("Ax"),getKey:function(){return oa},yn:function(a){window.MPC_Mgr&&window.MPC_Mgr.close();var b=this;b.F.Cm=q;if(a){if(a.styleId)this.fG(a.styleId);else{b=this;a.styleJson&&(a.styleStr=b.wT(a.styleJson));F()&&v.R.bI?setTimeout(function(){b.F.Dd=a;b.dispatchEvent(new N("onsetcustomstyles",a))},50):(this.F.Dd=a,this.dispatchEvent(new N("onsetcustomstyles", a)),this.AG(b.F.Dd.geotableId));this.zG(a.controls);var d={style:a.style};a.features&&0<a.features.length&&(d.features=o);a.styleJson&&0<a.styleJson.length&&(d.styleJson=o);Oa(5050,d)}a.style&&(d=b.F.xp[a.style]?b.F.xp[a.style].backColor:b.F.xp.normal.backColor)&&(this.Da().style.backgroundColor=d)}},fG:function(a){var b=this;fb(C.fc+"style/poi/personalize?method=get&ak="+oa+"&id="+a,function(a){if(a&&a.content&&0<a.content.length){var a=a.content[0],e={};a.features&&0<a.features.length&&(e.features= a.features);a.controllers&&0<a.controllers.length&&(e.controls=a.controllers);a.style&&""!=a.style&&(e.style=a.style);a.geotable_id&&""!=a.geotable_id&&(e.geotableId=a.geotable_id);setTimeout(function(){b.yn(e)},200)}})},zG:function(a){this.controls||(this.controls={navigationControl:new gb,scaleControl:new hb,overviewMapControl:new ib,mapTypeControl:new jb});var b=this,d;for(d in this.controls)b.WH(b.controls[d]);a=a||[];v.Ob.vb(a,function(a){b.Ms(b.controls[a])})},AG:function(a){a?this.Fp&&this.Fp.ef== a||(this.mg(this.Fp),this.Fp=new kb({geotableId:a}),this.Mf(this.Fp)):this.mg(this.Fp)},Mb:function(){var a=this.$()>=this.F.lB&&this.ma()==La&&18>=this.$(),b=q;try{document.createElement("canvas").getContext("2d"),b=o}catch(d){b=q}return a&&b},getCurrentCity:function(){return{name:this.um,code:this.Nx}},getPanorama:u("H"),setPanorama:function(a){this.H=a;this.H.NA(this)},wT:function(a){for(var b={featureType:"t",elementType:"e",visibility:"v",color:"c",lightness:"l",saturation:"s",weight:"w",zoom:"z", hue:"h"},d={all:"all",geometry:"g","geometry.fill":"g.f","geometry.stroke":"g.s",labels:"l","labels.text.fill":"l.t.f","labels.text.stroke":"l.t.s","lables.text":"l.t","labels.icon":"l.i"},e=[],f=0,g;g=a[f];f++){var i=g.stylers;delete g.stylers;v.extend(g,i);var i=[],k;for(k in b)g[k]&&("elementType"==k?i.push(b[k]+":"+d[g[k]]):i.push(b[k]+":"+g[k]));2<i.length&&e.push(i.join("|"))}return e.join(",")}}); function Oa(a,b){if(a){var b=b||{},d="",e;for(e in b)d=d+"&"+e+"="+encodeURIComponent(b[e]);var f=function(a){a&&(lb=o,setTimeout(function(){mb.src=C.fc+"images/blank.gif?"+a.src},50))},g=function(){var a=nb.shift();a&&f(a)};e=(1E8*Math.random()).toFixed(0);lb?nb.push({src:"product=jsapi&sub_product=jsapi&v="+C.version+"&sub_product_v="+C.version+"&t="+e+"&code="+a+"&da_src="+a+d}):f({src:"product=jsapi&sub_product=jsapi&v="+C.version+"&sub_product_v="+C.version+"&t="+e+"&code="+a+"&da_src="+a+d}); ob||(v.D(mb,"load",function(){lb=q;g()}),v.D(mb,"error",function(){lb=q;g()}),ob=o)}}var lb,ob,nb=[],mb=new Image;Oa(5E3,{device_pixel_ratio:window.devicePixelRatio,platform:navigator.platform});C.tG={TILE_BASE_URLS:["ss0.baidu.com/5bwHcj7lABFU8t_jkk_Z1zRvfdw6buu","ss0.baidu.com/5bwHcj7lABFV8t_jkk_Z1zRvfdw6buu","ss0.baidu.com/5bwHcj7lABFS8t_jkk_Z1zRvfdw6buu","ss0.bdstatic.com/5bwHcj7lABFT8t_jkk_Z1zRvfdw6buu","ss0.bdstatic.com/5bwHcj7lABFY8t_jkk_Z1zRvfdw6buu"],TILE_ONLINE_URLS:["ss0.bdstatic.com/8bo_dTSlR1gBo1vgoIiO_jowehsv","ss0.bdstatic.com/8bo_dTSlRMgBo1vgoIiO_jowehsv","ss0.bdstatic.com/8bo_dTSlRcgBo1vgoIiO_jowehsv","ss0.bdstatic.com/8bo_dTSlRsgBo1vgoIiO_jowehsv","ss0.bdstatic.com/8bo_dTSlQ1gBo1vgoIiO_jowehsv"], TIlE_PERSPECT_URLS:["ss0.bdstatic.com/-OR1cTe9KgQFm2e88IuM_a","ss0.bdstatic.com/-ON1cTe9KgQFm2e88IuM_a","ss0.bdstatic.com/-OZ1cTe9KgQFm2e88IuM_a","ss0.bdstatic.com/-OV1cTe9KgQFm2e88IuM_a"],geolocControl:"p0.baidu.com/8LkJsjOpB1gCo2Kml5_Y_D3",TILES_YUN_HOST:["sp0.baidu.com/-eR1bSahKgkFkRGko9WTAnF6hhy","sp0.baidu.com/-eN1bSahKgkFkRGko9WTAnF6hhy","sp0.baidu.com/-eZ1bSahKgkFkRGko9WTAnF6hhy","sp0.baidu.com/-eV1bSahKgkFkRGko9WTAnF6hhy"],traffic:"sp0.baidu.com/7_AZsjOpB1gCo2Kml5_Y_D3",iw_pano:"ss0.bdstatic.com/5LUZemba_QUU8t7mm9GUKT-xh_", message:"sp0.baidu.com/7vo0bSba2gU2pMbgoY3K",baidumap:"sp0.baidu.com/80MWsjip0QIZ8tyhnq",wuxian:"sp0.baidu.com/6a1OdTeaKgQFm2e88IuM_a",pano:["ss0.bdstatic.com/5LUZemba_QUU8t7mm9GUKT-xh_","ss0.bdstatic.com/5LUZemfa_QUU8t7mm9GUKT-xh_","ss0.bdstatic.com/5LUZemja_QUU8t7mm9GUKT-xh_"],main_domain_nocdn:{baidu:"sp0.baidu.com/9_Q4sjOpB1gCo2Kml5_Y_D3",other:"sapi.map.baidu.com"},main_domain_cdn:{baidu:["ss0.bdstatic.com/9_Q4vHSd2RZ3otebn9fN2DJv","ss0.baidu.com/9_Q4vXSd2RZ3otebn9fN2DJv","ss0.bdstatic.com/9_Q4vnSd2RZ3otebn9fN2DJv"], other:["sapi.map.baidu.com"]},map_click:"sp0.baidu.com/80MWbzKh2wt3n2qy8IqW0jdnxx1xbK",vector_traffic:"ss0.bdstatic.com/8aZ1cTe9KgQIm2_p8IuM_a"}; C.eR={TILE_BASE_URLS:["shangetu0.map.bdimg.com","shangetu1.map.bdimg.com","shangetu2.map.bdimg.com","shangetu3.map.bdimg.com","shangetu4.map.bdimg.com"],TILE_ONLINE_URLS:["online0.map.bdimg.com","online1.map.bdimg.com","online2.map.bdimg.com","online3.map.bdimg.com","online4.map.bdimg.com"],TIlE_PERSPECT_URLS:["d0.map.baidu.com","d1.map.baidu.com","d2.map.baidu.com","d3.map.baidu.com"],geolocControl:"loc.map.baidu.com",TILES_YUN_HOST:["g0.api.map.baidu.com","g1.api.map.baidu.com","g2.api.map.baidu.com", "g3.api.map.baidu.com"],traffic:"its.map.baidu.com",iw_pano:"pcsv0.map.bdimg.com",message:"j.map.baidu.com",baidumap:"map.baidu.com",wuxian:"wuxian.baidu.com",pano:["pcsv0.map.bdimg.com","pcsv1.map.bdimg.com","pcsv2.map.bdimg.com"],main_domain_nocdn:{baidu:"api.map.baidu.com"},main_domain_cdn:{baidu:["api0.map.bdimg.com","api1.map.bdimg.com","api2.map.bdimg.com"]},map_click:"mapclick.map.baidu.com",vector_traffic:"or.map.bdimg.com"}; C.ZT={"0":{proto:"http://",domain:C.eR},1:{proto:"https://",domain:C.tG},2:{proto:"https://",domain:C.tG}};C.cv=window.HOST_TYPE||"0";C.url=C.ZT[C.cv];C.ju=C.url.proto+C.url.domain.baidumap+"/";C.fc=C.url.proto+("2"==C.cv?C.url.domain.main_domain_nocdn.other:C.url.domain.main_domain_nocdn.baidu)+"/";C.ca=C.url.proto+("2"==C.cv?C.url.domain.main_domain_cdn.other[0]:C.url.domain.main_domain_cdn.baidu[0])+"/";function sb(a){var b={duration:1E3,Sc:30,xm:0,sd:tb.WG,su:s()};this.Ye=[];if(a)for(var d in a)b[d]=a[d];this.k=b;if(Ta(b.xm)){var e=this;setTimeout(function(){e.start()},b.xm)}else b.xm!=ub&&this.start()}var ub="INFINITE";sb.prototype.start=function(){this.wr=Ya();this.ew=this.wr+this.k.duration;vb(this)};sb.prototype.add=ha(0); function vb(a){var b=Ya();b>=a.ew?(Ua(a.k.qa)&&a.k.qa(a.k.sd(1)),Ua(a.k.finish)&&a.k.finish(),0<a.Ye.length&&(b=a.Ye[0],b.Ye=[].concat(a.Ye.slice(1)),b.start())):(a.Ju=a.k.sd((b-a.wr)/a.k.duration),Ua(a.k.qa)&&a.k.qa(a.Ju),a.bB||(a.jp=setTimeout(function(){vb(a)},1E3/a.k.Sc)))}sb.prototype.stop=function(a){this.bB=o;for(var b=0;b<this.Ye.length;b++)this.Ye[b].stop(),this.Ye[b]=p;this.Ye.length=0;this.jp&&(clearTimeout(this.jp),this.jp=p);this.k.su(this.Ju);a&&(this.ew=this.wr,vb(this))}; sb.prototype.cancel=ha(2);var tb={WG:function(a){return a},reverse:function(a){return 1-a},Jy:function(a){return a*a},Iy:function(a){return Math.pow(a,3)},uF:function(a){return-(a*(a-2))},HP:function(a){return Math.pow(a-1,3)+1},tF:function(a){return 0.5>a?2*a*a:-2*(a-2)*a-1},FV:function(a){return 0.5>a?4*Math.pow(a,3):4*Math.pow(a-1,3)+1},GV:function(a){return(1-Math.cos(Math.PI*a))/2}};tb["ease-in"]=tb.Jy;tb["ease-out"]=tb.uF;var D={sB:34,tB:21,uB:new M(21,32),hJ:new M(10,32),gJ:new M(24,36),fJ:new M(12,36),qB:new M(13,1),da:C.ca+"images/",rB:C.ca+"images/markers_new.png",dJ:24,eJ:73,Tx:{"\u5317\u4eac":{yu:"bj",m:new I(116.403874,39.914889)},"\u4e0a\u6d77":{yu:"sh",m:new I(121.487899,31.249162)},"\u6df1\u5733":{yu:"sz",m:new I(114.025974,22.546054)},"\u5e7f\u5dde":{yu:"gz",m:new I(113.30765,23.120049)}},fontFamily:"arial,sans-serif"}; v.R.Tf?(v.extend(D,{lF:"url("+D.da+"ruler.cur),crosshair",Gb:"-moz-grab",Rc:"-moz-grabbing"}),v.platform.OG&&(D.fontFamily="arial,simsun,sans-serif")):v.R.RE||v.R.bI?v.extend(D,{lF:"url("+D.da+"ruler.cur) 2 6,crosshair",Gb:"url("+D.da+"openhand.cur) 8 8,default",Rc:"url("+D.da+"closedhand.cur) 8 8,move"}):v.extend(D,{lF:"url("+D.da+"ruler.cur),crosshair",Gb:"url("+D.da+"openhand.cur),default",Rc:"url("+D.da+"closedhand.cur),move"});function wb(a,b){var d=a.style;d.left=b[0]+"px";d.top=b[1]+"px"}function xb(a){0<v.R.aa?a.unselectable="on":a.style.MozUserSelect="none"}function yb(a){return a&&a.parentNode&&11!=a.parentNode.nodeType}function zb(a,b){v.C.bu(a,"beforeEnd",b);return a.lastChild}function Ab(a){for(var b={left:0,top:0};a&&a.offsetParent;)b.left+=a.offsetLeft,b.top+=a.offsetTop,a=a.offsetParent;return b}function ma(a){a=window.event||a;a.stopPropagation?a.stopPropagation():a.cancelBubble=o} function Bb(a){a=window.event||a;a.preventDefault?a.preventDefault():a.returnValue=q;return q}function na(a){ma(a);return Bb(a)}function Cb(){var a=document.documentElement,b=document.body;return a&&(a.scrollTop||a.scrollLeft)?[a.scrollTop,a.scrollLeft]:b?[b.scrollTop,b.scrollLeft]:[0,0]}function Db(a,b){if(a&&b)return Math.round(Math.sqrt(Math.pow(a.x-b.x,2)+Math.pow(a.y-b.y,2)))}function Eb(a,b){var d=[],b=b||function(a){return a},e;for(e in a)d.push(e+"="+b(a[e]));return d.join("&")} function L(a,b,d){var e=document.createElement(a);d&&(e=document.createElementNS(d,a));return v.C.KA(e,b||{})}function Sa(a){if(a.currentStyle)return a.currentStyle;if(a.ownerDocument&&a.ownerDocument.defaultView)return a.ownerDocument.defaultView.getComputedStyle(a,p)}function Ua(a){return"function"==typeof a}function Ta(a){return"number"==typeof a}function Wa(a){return"string"==typeof a}function Fb(a){return"undefined"!=typeof a}function Gb(a){return"object"==typeof a}var Hb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; function Ib(a){var b="",d,e,f="",g,i="",k=0;g=/[^A-Za-z0-9\+\/\=]/g;if(!a||g.exec(a))return a;a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");do d=Hb.indexOf(a.charAt(k++)),e=Hb.indexOf(a.charAt(k++)),g=Hb.indexOf(a.charAt(k++)),i=Hb.indexOf(a.charAt(k++)),d=d<<2|e>>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|i,b+=String.fromCharCode(d),64!=g&&(b+=String.fromCharCode(e)),64!=i&&(b+=String.fromCharCode(f));while(k<a.length);return b}var N=v.lang.lv;function F(){return!(!v.platform.uR&&!v.platform.tR&&!v.platform.Xm)} function Ra(){return!(!v.platform.OG&&!v.platform.vR&&!v.platform.AR)}function Ya(){return(new Date).getTime()}function Jb(){var a=document.body.appendChild(L("div"));a.innerHTML='<v:shape id="vml_tester1" adj="1" />';var b=a.firstChild;if(!b.style)return q;b.style.behavior="url(#default#VML)";b=b?"object"==typeof b.adj:o;a.parentNode.removeChild(a);return b}function Kb(){return!!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape","1.1")} function Lb(){return!!L("canvas").getContext}C.IR=function(){var a=o,b=o,d=o,e=o,f=0,g=0,i=0,k=0;return{EK:function(){f+=1;a&&(a=q,setTimeout(function(){Oa(5054,{pic:f});a=o;f=0},1E4))},CU:function(){g+=1;b&&(b=q,setTimeout(function(){Oa(5055,{move:g});b=o;g=0},1E4))},EU:function(){i+=1;d&&(d=q,setTimeout(function(){Oa(5056,{zoom:i});d=o;i=0},1E4))},DU:function(a){k+=a;e&&(e=q,setTimeout(function(){Oa(5057,{tile:k});e=o;k=0},5E3))}}}();var Xa; (function(){function a(a){this.gO=a;this.timing={};this.start=+new Date}function b(a,b){if(a.length===+a.length)for(var d=0,e=a.length;d<e&&b.call(j,d,a[d],a)!==q;d++);else for(d in a)if(a.hasOwnProperty(d)&&b.call(j,d,a[d],a)===q)break}var d=[],e={push:function(a){d.push(a);if(window.localStorage&&window.JSON)try{localStorage.setItem("WPO_NR",JSON.stringify(d))}catch(b){}},get:function(a){var b=[];if(window.localStorage)try{a&&localStorage.removeItem("WPO_NR")}catch(e){}b=d;a&&(d=[]);return b}}, f,g,i,k,l={};(!window.localStorage||!window.JSON)&&document.attachEvent&&window.attachEvent("onbeforeunload",function(){m.send()});var m={send:function(a){var d=[],f=[],g=a||e.get(o),i;0<g.length&&(b(g,function(e,f){var g=[];b(f.timing,function(a,b){g.push('"'+a+'":'+b)});d.push('{"t":{'+g.join(",")+'},"a":'+f.gO+"}");!i&&(a&&f.start)&&(i=f.start)}),b(l,function(a,b){f.push(a+"="+b)}),f.push("d=["+d.join(",")+"]"),i?f.push("_st="+i):f.push("_t="+ +new Date),g=new Image,g.src="http://static.tieba.baidu.com/tb/pms/img/st.gif?"+ f.join("&"),window["___pms_img_"+1*new Date]=g)}};a.prototype={Fc:function(a,b){this.timing[a]=0<=b?b:new Date-this.start},ZA:function(){this.start=+new Date},TT:function(){this.Fc("tt")},ZI:function(){this.Fc("vt")},Cu:function(){g&&(e.push(this),e.get().length>=i&&m.send())},error:s()};Xa={Hl:{Pz:function(a){var b=navigator.wV||navigator.GW||navigator.CX||{type:0};g=Math.random()<=(a.GS||0.01);i=a.max||5;k=a.FW||b.type;l={p:a.qS,mnt:k,b:50};window.localStorage&&(window.JSON&&window.addEventListener)&& (f=e.get(o),window.addEventListener("load",function(){m.send(f)},q))},Ap:function(b){return new a(b)}}}})();Xa.Hl.Pz({qS:18,GS:0.1,max:1});C.Pn={HB:"#83a1ff",Rn:"#808080"};function fb(a,b){if(b){var d=(1E5*Math.random()).toFixed(0);C._rd["_cbk"+d]=function(a){b&&b(a);delete C._rd["_cbk"+d]};a+="&callback=BMap._rd._cbk"+d}var e=L("script",{type:"text/javascript"});e.charset="utf-8";e.src=a;e.addEventListener?e.addEventListener("load",function(a){a=a.target;a.parentNode.removeChild(a)},q):e.attachEvent&&e.attachEvent("onreadystatechange",function(){var a=window.event.srcElement;a&&("loaded"==a.readyState||"complete"==a.readyState)&&a.parentNode.removeChild(a)});setTimeout(function(){document.getElementsByTagName("head")[0].appendChild(e); e=p},1)};var Mb={map:"pvu1om",common:"wjyrdz",style:"pgq3iu",tile:"v1otxj",groundoverlay:"j3wbdg",pointcollection:"vfsfov",marker:"evvsik",symbol:"wxdhrg",canvablepath:"rtkcqo",vmlcontext:"oysd5s",markeranimation:"f0ufkl",poly:"0w5u20",draw:"sper0m",drawbysvg:"qydmwo",drawbyvml:"k2d3y0",drawbycanvas:"v3zcxu",infowindow:"5pqfh3", oppc:"jgp5tf",opmb:"0mgrjl",menu:"rafhul",control:"kb0hci",navictrl:"2nq1hv",geoctrl:"rwytiz",copyrightctrl:"y2yjnv",scommon:"ktcda3",local:"pvdvag",route:"ayw2lc",othersearch:"tow5kq",mapclick:"gh3mwu",buslinesearch:"qvczd0",hotspot:"lpihxg",autocomplete:"vxbf0t",coordtrans:"hbze4q",coordtransutils:"mqp0qo", clayer:"trmb5i",panorama:"i1wy2h",pservice:"zd2xyg",pcommon:"q04nsl",panoramaflash:"24ls3e",vector:"uvpyd4"}; v.Xu=function(){function a(a){return e&&!!d[b+a+"_"+Mb[a]]}var b="BMap_",d=window.localStorage,e="localStorage"in window&&d!==p&&d!==j;return{xR:e,set:function(a,g){if(e){for(var i=b+a+"_",k=d.length,l;k--;)l=d.key(k),-1<l.indexOf(i)&&d.removeItem(l);try{d.setItem(b+a+"_"+Mb[a],g)}catch(m){d.clear()}}},get:function(f){return e&&a(f)?d.getItem(b+f+"_"+Mb[f]):q},OE:a}}();function K(){} v.object.extend(K,{si:{JB:-1,PJ:0,Ln:1},RF:function(){var a="drawbysvg",b="canvablepath";F()&&Lb()?a="drawbycanvas":Kb()?a="drawbysvg":Jb()?(a="drawbyvml",b="vmlcontext"):Lb()&&(a="drawbycanvas");return{control:[],marker:["symbol"],symbol:["canvablepath","common"],canvablepath:"canvablepath"===b?[]:[b],vmlcontext:[],style:[],poly:["marker",a],drawbysvg:["draw"],drawbyvml:["draw"],drawbycanvas:["draw"],infowindow:["common","marker"],menu:[],oppc:[],opmb:[],scommon:[],local:["scommon"],route:["scommon"], othersearch:["scommon"],autocomplete:["scommon"],mapclick:["scommon"],buslinesearch:["route"],hotspot:[],coordtransutils:["coordtrans"],clayer:["tile"],pservice:[],pcommon:["style","pservice"],panorama:["pcommon"],panoramaflash:["pcommon"]}},WW:{},AB:{YJ:C.ca+"getmodules?v=2.0&t=20140707",MN:5E3},oy:q,bd:{Vj:{},Jl:[],vs:[]},load:function(a,b,d){var e=this.Qa(a);if(e.ge==this.si.Ln)d&&b();else{if(e.ge==this.si.JB){this.VE(a);this.TH(a);var f=this;f.oy==q&&(f.oy=o,setTimeout(function(){for(var a=[], b=0,d=f.bd.Jl.length;b<d;b++){var e=f.bd.Jl[b],m="";ja.Xu.OE(e)?m=ja.Xu.get(e):(m="",a.push(e+"_"+Mb[e]));f.bd.vs.push({lH:e,hA:m})}f.oy=q;f.bd.Jl.length=0;0==a.length?f.zF():fb(f.AB.YJ+"&mod="+a.join(","))},1));e.ge=this.si.PJ}e.yr.push(b)}},VE:function(a){if(a&&this.RF()[a])for(var a=this.RF()[a],b=0;b<a.length;b++)this.VE(a[b]),this.bd.Vj[a[b]]||this.TH(a[b])},TH:function(a){for(var b=0;b<this.bd.Jl.length;b++)if(this.bd.Jl[b]==a)return;this.bd.Jl.push(a)},FS:function(a,b){var d=this.Qa(a);try{eval(b)}catch(e){return}d.ge= this.si.Ln;for(var f=0,g=d.yr.length;f<g;f++)d.yr[f]();d.yr.length=0},OE:function(a,b){var d=this;d.timeout=setTimeout(function(){d.bd.Vj[a].ge!=d.si.Ln?(d.remove(a),d.load(a,b)):clearTimeout(d.timeout)},d.AB.MN)},Qa:function(a){this.bd.Vj[a]||(this.bd.Vj[a]={},this.bd.Vj[a].ge=this.si.JB,this.bd.Vj[a].yr=[]);return this.bd.Vj[a]},remove:function(a){delete this.Qa(a)},CO:function(a,b){for(var d=this.bd.vs,e=o,f=0,g=d.length;f<g;f++)""==d[f].hA&&(d[f].lH==a?d[f].hA=b:e=q);e&&this.zF()},zF:function(){for(var a= this.bd.vs,b=0,d=a.length;b<d;b++)this.FS(a[b].lH,a[b].hA);this.bd.vs.length=0}});function P(a,b){this.x=a||0;this.y=b||0;this.x=this.x;this.y=this.y}P.prototype.wb=function(a){return a&&a.x==this.x&&a.y==this.y};function M(a,b){this.width=a||0;this.height=b||0}M.prototype.wb=function(a){return a&&this.width==a.width&&this.height==a.height};function eb(a,b){a&&(this.gb=a,this.Q="spot"+eb.Q++,b=b||{},this.Mh=b.text||"",this.cs=b.offsets?b.offsets.slice(0):[5,5,5,5],this.jE=b.userData||p,this.Hg=b.minZoom||p,this.Ee=b.maxZoom||p)}eb.Q=0;v.extend(eb.prototype,{ea:function(a){this.Hg==p&&(this.Hg=a.F.Vc);this.Ee==p&&(this.Ee=a.F.Fd)},ha:function(a){a instanceof I&&(this.gb=a)},T:u("gb"),Mq:ba("Mh"),Fz:u("Mh"),setUserData:ba("jE"),getUserData:u("jE")});function R(){this.B=p;this.lb="control";this.Ea=this.IE=o}v.lang.ga(R,v.lang.oa,"Control"); v.extend(R.prototype,{initialize:function(a){this.B=a;if(this.A)return a.Ga.appendChild(this.A),this.A},ce:function(a){!this.A&&(this.initialize&&Ua(this.initialize))&&(this.A=this.initialize(a));this.k=this.k||{kg:q};this.ox();this.ns();this.A&&(this.A.Io=this)},ox:function(){var a=this.A;if(a){var b=a.style;b.position="absolute";b.zIndex=this.Hv||"10";b.MozUserSelect="none";b.WebkitTextSizeAdjust="none";this.k.kg||v.C.cb(a,"BMap_noprint");F()||v.D(a,"contextmenu",na)}},remove:function(){this.B= p;this.A&&(this.A.parentNode&&this.A.parentNode.removeChild(this.A),this.A=this.A.Io=p)},ra:function(){this.A=zb(this.B.Ga,"<div unselectable='on'></div>");this.Ea==q&&v.C.J(this.A);return this.A},ns:function(){this.Sb(this.k.anchor)},Sb:function(a){if(this.hV||!Ta(a)||isNaN(a)||a<Nb||3<a)a=this.defaultAnchor;this.k=this.k||{kg:q};this.k.na=this.k.na||this.defaultOffset;var b=this.k.anchor;this.k.anchor=a;if(this.A){var d=this.A,e=this.k.na.width,f=this.k.na.height;d.style.left=d.style.top=d.style.right= d.style.bottom="auto";switch(a){case Nb:d.style.top=f+"px";d.style.left=e+"px";break;case Ob:d.style.top=f+"px";d.style.right=e+"px";break;case Pb:d.style.bottom=f+"px";d.style.left=e+"px";break;case 3:d.style.bottom=f+"px",d.style.right=e+"px"}d=["TL","TR","BL","BR"];v.C.Rb(this.A,"anchor"+d[b]);v.C.cb(this.A,"anchor"+d[a])}},ez:function(){return this.k.anchor},Id:function(a){a instanceof M&&(this.k=this.k||{kg:q},this.k.na=new M(a.width,a.height),this.A&&this.Sb(this.k.anchor))},Zf:function(){return this.k.na}, Uc:u("A"),show:function(){this.Ea!=o&&(this.Ea=o,this.A&&v.C.show(this.A))},J:function(){this.Ea!=q&&(this.Ea=q,this.A&&v.C.J(this.A))},isPrintable:function(){return!!this.k.kg},dg:function(){return!this.A&&!this.B?q:!!this.Ea}});var Nb=0,Ob=1,Pb=2;function gb(a){R.call(this);a=a||{};this.k={kg:q,VA:a.showZoomInfo||o,anchor:a.anchor,na:a.offset,type:a.type,IP:a.enableGeolocation||q};this.defaultAnchor=F()?3:Nb;this.defaultOffset=new M(10,10);this.Sb(a.anchor);this.xl(a.type);this.ze()}v.lang.ga(gb,R,"NavigationControl");v.extend(gb.prototype,{initialize:function(a){this.B=a;return this.A},xl:function(a){this.k.type=Ta(a)&&0<=a&&3>=a?a:0},Rm:function(){return this.k.type},ze:function(){var a=this;K.load("navictrl",function(){a.Df()})}});function Qb(a){R.call(this);a=a||{};this.k={anchor:a.anchor||Pb,na:a.offset||new M(10,30),kX:a.showAddressBar||q,IV:a.enableAutoLocation||q,cH:a.locationIcon||p};var b=this;this.Hv=1200;b.aU=[];this.yd=[];K.load("geoctrl",function(){(function e(){if(0!==b.yd.length){var a=b.yd.shift();b[a.method].apply(b,a.arguments);e()}})();b.XJ()});Oa(Ja)}v.lang.ga(Qb,R,"GeolocationControl");v.extend(Qb.prototype,{location:function(){this.yd.push({method:"location",arguments:arguments})},getAddressComponent:da(p)});function Rb(a){R.call(this);a=a||{};this.k={kg:q,anchor:a.anchor,na:a.offset};this.Bb=[];this.defaultAnchor=Pb;this.defaultOffset=new M(5,2);this.Sb(a.anchor);this.IE=q;this.ze()}v.lang.ga(Rb,R,"CopyrightControl"); v.object.extend(Rb.prototype,{initialize:function(a){this.B=a;return this.A},Ns:function(a){if(a&&Ta(a.id)&&!isNaN(a.id)){var b={bounds:p,content:""},d;for(d in a)b[d]=a[d];if(a=this.Pk(a.id))for(var e in b)a[e]=b[e];else this.Bb.push(b)}},Pk:function(a){for(var b=0,d=this.Bb.length;b<d;b++)if(this.Bb[b].id==a)return this.Bb[b]},mz:u("Bb"),yA:function(a){for(var b=0,d=this.Bb.length;b<d;b++)this.Bb[b].id==a&&(r=this.Bb.splice(b,1),b--,d=this.Bb.length)},ze:function(){var a=this;K.load("copyrightctrl", function(){a.Df()})}});function ib(a){R.call(this);a=a||{};this.k={kg:q,size:a.size||new M(150,150),padding:5,Ja:a.isOpen===o?o:q,pU:4,na:a.offset,anchor:a.anchor};this.defaultAnchor=3;this.defaultOffset=new M(0,0);this.eo=this.fo=13;this.Sb(a.anchor);this.Zc(this.k.size);this.ze()}v.lang.ga(ib,R,"OverviewMapControl"); v.extend(ib.prototype,{initialize:function(a){this.B=a;return this.A},Sb:function(a){R.prototype.Sb.call(this,a)},Ad:function(){this.Ad.em=o;this.k.Ja=!this.k.Ja;this.A||(this.Ad.em=q)},Zc:function(a){a instanceof M||(a=new M(150,150));a.width=0<a.width?a.width:150;a.height=0<a.height?a.height:150;this.k.size=a},yb:function(){return this.k.size},Ja:function(){return this.k.Ja},ze:function(){var a=this;K.load("control",function(){a.Df()})}});function hb(a){R.call(this);a=a||{};this.k={kg:q,color:"black",Ac:"metric",na:a.offset};this.defaultAnchor=Pb;this.defaultOffset=new M(81,18);this.Sb(a.anchor);this.Qg={metric:{name:"metric",XE:1,yG:1E3,JI:"\u7c73",KI:"\u516c\u91cc"},us:{name:"us",XE:3.2808,yG:5280,JI:"\u82f1\u5c3a",KI:"\u82f1\u91cc"}};this.Qg[this.k.Ac]||(this.k.Ac="metric");this.LD=p;this.nD={};this.ze()}v.lang.ga(hb,R,"ScaleControl"); v.object.extend(hb.prototype,{initialize:function(a){this.B=a;return this.A},tj:function(a){this.k.color=a+""},QV:function(){return this.k.color},SA:function(a){this.k.Ac=this.Qg[a]&&this.Qg[a].name||this.k.Ac},QQ:function(){return this.k.Ac},ze:function(){var a=this;K.load("control",function(){a.Df()})}});var Sb=0;function jb(a){R.call(this);a=a||{};this.defaultAnchor=Ob;this.defaultOffset=new M(10,10);this.k={kg:q,gg:[La,Va,Pa,Na],fP:["B_DIMENSIONAL_MAP","B_SATELLITE_MAP","B_NORMAL_MAP"],type:a.type||Sb,na:a.offset||this.defaultOffset,LP:o};this.Sb(a.anchor);"[object Array]"==Object.prototype.toString.call(a.mapTypes)&&(this.k.gg=a.mapTypes.slice(0));this.ze()}v.lang.ga(jb,R,"MapTypeControl"); v.object.extend(jb.prototype,{initialize:function(a){this.B=a;return this.A},Yu:function(a){this.B.Vl=a},ze:function(){var a=this;K.load("control",function(){a.Df()},o)}});function Tb(a){R.call(this);a=a||{};this.k={kg:q,na:a.offset,anchor:a.anchor};this.Eh=q;this.xs=p;this.vD=new Ub({Ne:"api"});this.wD=new S(p,{Ne:"api"});this.defaultAnchor=Ob;this.defaultOffset=new M(10,10);this.Sb(a.anchor);this.ze();Oa(va)}v.lang.ga(Tb,R,"PanoramaControl");v.extend(Tb.prototype,{initialize:function(a){this.B=a;return this.A},ze:function(){var a=this;K.load("control",function(){a.Df()})}});function Vb(a){v.lang.oa.call(this);this.k={Ga:p,cursor:"default"};this.k=v.extend(this.k,a);this.lb="contextmenu";this.B=p;this.ka=[];this.Fe=[];this.Od=[];this.mt=this.Cp=p;this.Fg=q;var b=this;K.load("menu",function(){b.ob()})}v.lang.ga(Vb,v.lang.oa,"ContextMenu"); v.object.extend(Vb.prototype,{ea:function(a,b){this.B=a;this.Zj=b||p},remove:function(){this.B=this.Zj=p},Ps:function(a){if(a&&!("menuitem"!=a.lb||""==a.Mh||0>=a.SN)){for(var b=0,d=this.ka.length;b<d;b++)if(this.ka[b]===a)return;this.ka.push(a);this.Fe.push(a)}},removeItem:function(a){if(a&&"menuitem"==a.lb){for(var b=0,d=this.ka.length;b<d;b++)this.ka[b]===a&&(this.ka[b].remove(),this.ka.splice(b,1),d--);b=0;for(d=this.Fe.length;b<d;b++)this.Fe[b]===a&&(this.Fe[b].remove(),this.Fe.splice(b,1),d--)}}, Gx:function(){this.ka.push({lb:"divider",yi:this.Od.length});this.Od.push({C:p})},AA:function(a){if(this.Od[a]){for(var b=0,d=this.ka.length;b<d;b++)this.ka[b]&&("divider"==this.ka[b].lb&&this.ka[b].yi==a)&&(this.ka.splice(b,1),d--),this.ka[b]&&("divider"==this.ka[b].lb&&this.ka[b].yi>a)&&this.ka[b].yi--;this.Od.splice(a,1)}},Uc:u("A"),show:function(){this.Fg!=o&&(this.Fg=o)},J:function(){this.Fg!=q&&(this.Fg=q)},SS:function(a){a&&(this.k.cursor=a)},getItem:function(a){return this.Fe[a]}});function Wb(a,b,d){if(a&&Ua(b)){v.lang.oa.call(this);this.k={width:100,id:""};d=d||{};this.k.width=1*d.width?d.width:100;this.k.id=d.id?d.id:"";this.Mh=a+"";this.Jv=b;this.B=p;this.lb="menuitem";this.A=this.wg=p;this.Ag=o;var e=this;K.load("menu",function(){e.ob()})}}v.lang.ga(Wb,v.lang.oa,"MenuItem"); v.object.extend(Wb.prototype,{ea:function(a,b){this.B=a;this.wg=b},remove:function(){this.B=this.wg=p},Mq:function(a){a&&(this.Mh=a+"")},Uc:u("A"),enable:function(){this.Ag=o},disable:function(){this.Ag=q}});function bb(a,b){a&&!b&&(b=a);this.Sd=this.Rd=this.Wd=this.Vd=this.nk=this.Yj=p;a&&(this.nk=new I(a.lng,a.lat),this.Yj=new I(b.lng,b.lat),this.Wd=a.lng,this.Vd=a.lat,this.Sd=b.lng,this.Rd=b.lat)} v.object.extend(bb.prototype,{ji:function(){return!this.nk||!this.Yj},wb:function(a){return!(a instanceof bb)||this.ji()?q:this.Yd().wb(a.Yd())&&this.Pe().wb(a.Pe())},Yd:u("nk"),Pe:u("Yj"),QO:function(a){return!(a instanceof bb)||this.ji()||a.ji()?q:a.Wd>this.Wd&&a.Sd<this.Sd&&a.Vd>this.Vd&&a.Rd<this.Rd},Fa:function(){return this.ji()?p:new I((this.Wd+this.Sd)/2,(this.Vd+this.Rd)/2)},Rz:function(a){if(!(a instanceof bb)||Math.max(a.Wd,a.Sd)<Math.min(this.Wd,this.Sd)||Math.min(a.Wd,a.Sd)>Math.max(this.Wd, this.Sd)||Math.max(a.Vd,a.Rd)<Math.min(this.Vd,this.Rd)||Math.min(a.Vd,a.Rd)>Math.max(this.Vd,this.Rd))return p;var b=Math.max(this.Wd,a.Wd),d=Math.min(this.Sd,a.Sd),e=Math.max(this.Vd,a.Vd),a=Math.min(this.Rd,a.Rd);return new bb(new I(b,e),new I(d,a))},ft:function(a){return!(a instanceof I)||this.ji()?q:a.lng>=this.Wd&&a.lng<=this.Sd&&a.lat>=this.Vd&&a.lat<=this.Rd},extend:function(a){if(a instanceof I){var b=a.lng,a=a.lat;this.nk||(this.nk=new I(0,0));this.Yj||(this.Yj=new I(0,0));if(!this.Wd|| this.Wd>b)this.nk.lng=this.Wd=b;if(!this.Sd||this.Sd<b)this.Yj.lng=this.Sd=b;if(!this.Vd||this.Vd>a)this.nk.lat=this.Vd=a;if(!this.Rd||this.Rd<a)this.Yj.lat=this.Rd=a}},gB:function(){return this.ji()?new I(0,0):new I(Math.abs(this.Sd-this.Wd),Math.abs(this.Rd-this.Vd))}});function I(a,b){isNaN(a)&&(a=Ib(a),a=isNaN(a)?0:a);Wa(a)&&(a=parseFloat(a));isNaN(b)&&(b=Ib(b),b=isNaN(b)?0:b);Wa(b)&&(b=parseFloat(b));this.lng=a;this.lat=b}I.EG=function(a){return a&&180>=a.lng&&-180<=a.lng&&74>=a.lat&&-74<=a.lat};I.prototype.wb=function(a){return a&&this.lat==a.lat&&this.lng==a.lng};function Xb(){}Xb.prototype.eg=function(){aa("lngLatToPoint\u65b9\u6cd5\u672a\u5b9e\u73b0")};Xb.prototype.jh=function(){aa("pointToLngLat\u65b9\u6cd5\u672a\u5b9e\u73b0")};function Yb(){};var ab={ZE:function(a,b,d){K.load("coordtransutils",function(){ab.lO(a,b,d)},o)},YE:function(a,b,d){K.load("coordtransutils",function(){ab.kO(a,b,d)},o)}};function Q(){}Q.prototype=new Xb; v.extend(Q,{rJ:6370996.81,NB:[1.289059486E7,8362377.87,5591021,3481989.83,1678043.12,0],pr:[75,60,45,30,15,0],xJ:[[1.410526172116255E-8,8.98305509648872E-6,-1.9939833816331,200.9824383106796,-187.2403703815547,91.6087516669843,-23.38765649603339,2.57121317296198,-0.03801003308653,1.73379812E7],[-7.435856389565537E-9,8.983055097726239E-6,-0.78625201886289,96.32687599759846,-1.85204757529826,-59.36935905485877,47.40033549296737,-16.50741931063887,2.28786674699375,1.026014486E7],[-3.030883460898826E-8, 8.98305509983578E-6,0.30071316287616,59.74293618442277,7.357984074871,-25.38371002664745,13.45380521110908,-3.29883767235584,0.32710905363475,6856817.37],[-1.981981304930552E-8,8.983055099779535E-6,0.03278182852591,40.31678527705744,0.65659298677277,-4.44255534477492,0.85341911805263,0.12923347998204,-0.04625736007561,4482777.06],[3.09191371068437E-9,8.983055096812155E-6,6.995724062E-5,23.10934304144901,-2.3663490511E-4,-0.6321817810242,-0.00663494467273,0.03430082397953,-0.00466043876332,2555164.4], [2.890871144776878E-9,8.983055095805407E-6,-3.068298E-8,7.47137025468032,-3.53937994E-6,-0.02145144861037,-1.234426596E-5,1.0322952773E-4,-3.23890364E-6,826088.5]],KB:[[-0.0015702102444,111320.7020616939,1704480524535203,-10338987376042340,26112667856603880,-35149669176653700,26595700718403920,-10725012454188240,1800819912950474,82.5],[8.277824516172526E-4,111320.7020463578,6.477955746671607E8,-4.082003173641316E9,1.077490566351142E10,-1.517187553151559E10,1.205306533862167E10,-5.124939663577472E9, 9.133119359512032E8,67.5],[0.00337398766765,111320.7020202162,4481351.045890365,-2.339375119931662E7,7.968221547186455E7,-1.159649932797253E8,9.723671115602145E7,-4.366194633752821E7,8477230.501135234,52.5],[0.00220636496208,111320.7020209128,51751.86112841131,3796837.749470245,992013.7397791013,-1221952.21711287,1340652.697009075,-620943.6990984312,144416.9293806241,37.5],[-3.441963504368392E-4,111320.7020576856,278.2353980772752,2485758.690035394,6070.750963243378,54821.18345352118,9540.606633304236, -2710.55326746645,1405.483844121726,22.5],[-3.218135878613132E-4,111320.7020701615,0.00369383431289,823725.6402795718,0.46104986909093,2351.343141331292,1.58060784298199,8.77738589078284,0.37238884252424,7.45]],VV:function(a,b){if(!a||!b)return 0;var d,e,a=this.qb(a);if(!a)return 0;d=this.Aj(a.lng);e=this.Aj(a.lat);b=this.qb(b);return!b?0:this.oe(d,this.Aj(b.lng),e,this.Aj(b.lat))},Gm:function(a,b){if(!a||!b)return 0;a.lng=this.xz(a.lng,-180,180);a.lat=this.Cz(a.lat,-74,74);b.lng=this.xz(b.lng,-180, 180);b.lat=this.Cz(b.lat,-74,74);return this.oe(this.Aj(a.lng),this.Aj(b.lng),this.Aj(a.lat),this.Aj(b.lat))},qb:function(a){if(a===p||a===j)return new I(0,0);var b,d;b=new I(Math.abs(a.lng),Math.abs(a.lat));for(var e=0;e<this.NB.length;e++)if(b.lat>=this.NB[e]){d=this.xJ[e];break}a=this.$E(a,d);return a=new I(a.lng.toFixed(6),a.lat.toFixed(6))},pb:function(a){if(a===p||a===j||180<a.lng||-180>a.lng||90<a.lat||-90>a.lat)return new I(0,0);var b,d;a.lng=this.xz(a.lng,-180,180);a.lat=this.Cz(a.lat,-74, 74);b=new I(a.lng,a.lat);for(var e=0;e<this.pr.length;e++)if(b.lat>=this.pr[e]){d=this.KB[e];break}if(!d)for(e=this.pr.length-1;0<=e;e--)if(b.lat<=-this.pr[e]){d=this.KB[e];break}a=this.$E(a,d);return a=new I(a.lng.toFixed(2),a.lat.toFixed(2))},$E:function(a,b){if(a&&b){var d=b[0]+b[1]*Math.abs(a.lng),e=Math.abs(a.lat)/b[9],e=b[2]+b[3]*e+b[4]*e*e+b[5]*e*e*e+b[6]*e*e*e*e+b[7]*e*e*e*e*e+b[8]*e*e*e*e*e*e,d=d*(0>a.lng?-1:1),e=e*(0>a.lat?-1:1);return new I(d,e)}},oe:function(a,b,d,e){return this.rJ*Math.acos(Math.sin(d)* Math.sin(e)+Math.cos(d)*Math.cos(e)*Math.cos(b-a))},Aj:function(a){return Math.PI*a/180},qX:function(a){return 180*a/Math.PI},Cz:function(a,b,d){b!=p&&(a=Math.max(a,b));d!=p&&(a=Math.min(a,d));return a},xz:function(a,b,d){for(;a>d;)a-=d-b;for(;a<b;)a+=d-b;return a}}); v.extend(Q.prototype,{el:function(a){return Q.pb(a)},eg:function(a){a=Q.pb(a);return new P(a.lng,a.lat)},jj:function(a){return Q.qb(a)},jh:function(a){a=new I(a.x,a.y);return Q.qb(a)},Db:function(a,b,d,e,f){if(a)return a=this.el(a,f),b=this.ac(b),new P(Math.round((a.lng-d.lng)/b+e.width/2),Math.round((d.lat-a.lat)/b+e.height/2))},ib:function(a,b,d,e,f){if(a)return b=this.ac(b),this.jj(new I(d.lng+b*(a.x-e.width/2),d.lat-b*(a.y-e.height/2)),f)},ac:function(a){return Math.pow(2,18-a)}});function db(){this.gy="bj"}db.prototype=new Q; v.extend(db.prototype,{el:function(a,b){return this.BK(b,Q.pb(a))},jj:function(a,b){return Q.qb(this.CK(b,a))},lngLatToPointFor3D:function(a,b){var d=this,e=Q.pb(a);K.load("coordtrans",function(){var a=Yb.zz(d.gy||"bj",e),a=new P(a.x,a.y);b&&b(a)},o)},pointToLngLatFor3D:function(a,b){var d=this,e=new I(a.x,a.y);K.load("coordtrans",function(){var a=Yb.yz(d.gy||"bj",e),a=new I(a.lng,a.lat),a=Q.qb(a);b&&b(a)},o)},BK:function(a,b){if(K.Qa("coordtrans").ge==K.si.Ln){var d=Yb.zz(a||"bj",b);return new I(d.x, d.y)}K.load("coordtrans",s());return new I(0,0)},CK:function(a,b){if(K.Qa("coordtrans").ge==K.si.Ln){var d=Yb.yz(a||"bj",b);return new I(d.lng,d.lat)}K.load("coordtrans",s());return new I(0,0)},ac:function(a){return Math.pow(2,20-a)}});function Zb(){this.lb="overlay"}v.lang.ga(Zb,v.lang.oa,"Overlay");Zb.Xk=function(a){a*=1;return!a?0:-1E5*a<<1}; v.extend(Zb.prototype,{ce:function(a){if(!this.K&&Ua(this.initialize)&&(this.K=this.initialize(a)))this.K.style.WebkitUserSelect="none";this.draw()},initialize:function(){aa("initialize\u65b9\u6cd5\u672a\u5b9e\u73b0")},draw:function(){aa("draw\u65b9\u6cd5\u672a\u5b9e\u73b0")},remove:function(){this.K&&this.K.parentNode&&this.K.parentNode.removeChild(this.K);this.K=p;this.dispatchEvent(new N("onremove"))},J:function(){this.K&&v.C.J(this.K)},show:function(){this.K&&v.C.show(this.K)},dg:function(){return!this.K|| "none"==this.K.style.display||"hidden"==this.K.style.visibility?q:o}});C.ae(function(a){function b(a,b){var d=L("div"),i=d.style;i.position="absolute";i.top=i.left=i.width=i.height="0";i.zIndex=b;a.appendChild(d);return d}var d=a.G;d.ue=a.ue=b(a.platform,200);a.xd.$y=b(d.ue,800);a.xd.fA=b(d.ue,700);a.xd.FF=b(d.ue,600);a.xd.aA=b(d.ue,500);a.xd.hH=b(d.ue,400);a.xd.iH=b(d.ue,300);a.xd.hU=b(d.ue,201);a.xd.rq=b(d.ue,200)});function cb(){v.lang.oa.call(this);Zb.call(this);this.map=p;this.Ea=o;this.eb=p;this.sC=0}v.lang.ga(cb,Zb,"OverlayInternal"); v.extend(cb.prototype,{initialize:function(a){this.map=a;v.lang.oa.call(this,this.Q);return p},Kt:u("map"),draw:s(),remove:function(){this.map=p;v.lang.ot(this.Q);Zb.prototype.remove.call(this)},J:function(){this.Ea!=q&&(this.Ea=q)},show:function(){this.Ea!=o&&(this.Ea=o)},dg:function(){return!this.K?q:!!this.Ea},Da:u("K"),dI:function(a){var a=a||{},b;for(b in a)this.z[b]=a[b]},Nq:ba("zIndex"),$h:function(){this.z.$h=o},pP:function(){this.z.$h=q},mm:ba("hf"),kn:function(){this.hf=p}});function $b(){this.map=p;this.la={};this.Nd=[]} C.ae(function(a){var b=new $b;b.map=a;a.la=b.la;a.Nd=b.Nd;a.addEventListener("load",function(a){b.draw(a)});a.addEventListener("moveend",function(a){b.draw(a)});v.R.aa&&8>v.R.aa||"BackCompat"==document.compatMode?a.addEventListener("zoomend",function(a){setTimeout(function(){b.draw(a)},20)}):a.addEventListener("zoomend",function(a){b.draw(a)});a.addEventListener("maptypechange",function(a){b.draw(a)});a.addEventListener("addoverlay",function(a){a=a.target;if(a instanceof cb)b.la[a.Q]||(b.la[a.Q]= a);else{for(var e=q,f=0,g=b.Nd.length;f<g;f++)if(b.Nd[f]===a){e=o;break}e||b.Nd.push(a)}});a.addEventListener("removeoverlay",function(a){a=a.target;if(a instanceof cb)delete b.la[a.Q];else for(var e=0,f=b.Nd.length;e<f;e++)if(b.Nd[e]===a){b.Nd.splice(e,1);break}});a.addEventListener("clearoverlays",function(){this.tc();for(var a in b.la)b.la[a].z.$h&&(b.la[a].remove(),delete b.la[a]);a=0;for(var e=b.Nd.length;a<e;a++)b.Nd[a].$h!=q&&(b.Nd[a].remove(),b.Nd[a]=p,b.Nd.splice(a,1),a--,e--)});a.addEventListener("infowindowopen", function(){var a=this.eb;a&&(v.C.J(a.Qb),v.C.J(a.Ab))});a.addEventListener("movestart",function(){this.Yf()&&this.Yf().SD()});a.addEventListener("moveend",function(){this.Yf()&&this.Yf().HD()})});$b.prototype.draw=function(a){if(C.On){var b=C.On.Vp(this.map);"canvas"==b.lb&&b.canvas&&b.xK(b.canvas.getContext("2d"))}for(var d in this.la)this.la[d].draw(a);v.Ob.vb(this.Nd,function(a){a.draw()});this.map.G.Ua&&this.map.G.Ua.ha();C.On&&b.PA()};function ac(a){cb.call(this);a=a||{};this.z={strokeColor:a.strokeColor||"#3a6bdb",cc:a.strokeWeight||5,qd:a.strokeOpacity||0.65,strokeStyle:a.strokeStyle||"solid",$h:a.enableMassClear===q?q:o,aj:p,Sk:p,Me:a.enableEditing===o?o:q,qH:5,$T:q,je:a.enableClicking===q?q:o,$g:a.icons&&0<a.icons.length?a.icons:p};0>=this.z.cc&&(this.z.cc=5);if(0>this.z.qd||1<this.z.qd)this.z.qd=0.65;if(0>this.z.Sf||1<this.z.Sf)this.z.Sf=0.65;"solid"!=this.z.strokeStyle&&"dashed"!=this.z.strokeStyle&&(this.z.strokeStyle="solid"); this.K=p;this.Gv=new bb(0,0);this.fe=[];this.Jb=[];this.Ba={}}v.lang.ga(ac,cb,"Graph");ac.It=function(a){var b=[];if(!a)return b;Wa(a)&&v.Ob.vb(a.split(";"),function(a){a=a.split(",");b.push(new I(a[0],a[1]))});"[object Array]"==Object.prototype.toString.apply(a)&&0<a.length&&(b=a);return b};ac.pA=[0.09,0.0050,1.0E-4,1.0E-5]; v.extend(ac.prototype,{initialize:function(a){this.map=a;return p},draw:s(),ep:function(a){this.fe.length=0;this.V=ac.It(a).slice(0);this.sg()},Jd:function(a){this.ep(a)},sg:function(){if(this.V){var a=this;a.Gv=new bb;v.Ob.vb(this.V,function(b){a.Gv.extend(b)})}},Cd:u("V"),vl:function(a,b){b&&this.V[a]&&(this.fe.length=0,this.V[a]=new I(b.lng,b.lat),this.sg())},setStrokeColor:function(a){this.z.strokeColor=a},GQ:function(){return this.z.strokeColor},Lq:function(a){0<a&&(this.z.cc=a)},eG:function(){return this.z.cc}, Jq:function(a){a==j||(1<a||0>a)||(this.z.qd=a)},HQ:function(){return this.z.qd},Lu:function(a){1<a||0>a||(this.z.Sf=a)},gQ:function(){return this.z.Sf},Kq:function(a){"solid"!=a&&"dashed"!=a||(this.z.strokeStyle=a)},dG:function(){return this.z.strokeStyle},setFillColor:function(a){this.z.fillColor=a||""},fQ:function(){return this.z.fillColor},Oe:u("Gv"),remove:function(){this.map&&this.map.removeEventListener("onmousemove",this.Pr);cb.prototype.remove.call(this);this.fe.length=0},Me:function(){if(!(2> this.V.length)){this.z.Me=o;var a=this;K.load("poly",function(){a.sk()},o)}},oP:function(){this.z.Me=q;var a=this;K.load("poly",function(){a.Ri()},o)}});function bc(a){cb.call(this);this.K=this.map=p;this.z={width:0,height:0,na:new M(0,0),opacity:1,background:"transparent",fu:1,UG:"#000",GR:"solid",point:p};this.dI(a);this.point=this.z.point}v.lang.ga(bc,cb,"Division"); v.extend(bc.prototype,{Jj:function(){var a=this.z,b=this.content,d=['<div class="BMap_Division" style="position:absolute;'];d.push("width:"+a.width+"px;display:block;");d.push("overflow:hidden;");"none"!=a.borderColor&&d.push("border:"+a.fu+"px "+a.GR+" "+a.UG+";");d.push("opacity:"+a.opacity+"; filter:(opacity="+100*a.opacity+")");d.push("background:"+a.background+";");d.push('z-index:60;">');d.push(b);d.push("</div>");this.K=zb(this.map.Qe().fA,d.join(""))},initialize:function(a){this.map=a;this.Jj(); this.K&&v.D(this.K,F()?"touchstart":"mousedown",function(a){ma(a)});return this.K},draw:function(){var a=this.map.$d(this.z.point);this.z.na=new M(-Math.round(this.z.width/2)-Math.round(this.z.fu),-Math.round(this.z.height/2)-Math.round(this.z.fu));this.K.style.left=a.x+this.z.na.width+"px";this.K.style.top=a.y+this.z.na.height+"px"},T:function(){return this.z.point},OU:function(){return this.map.Db(this.T())},ha:function(a){this.z.point=a;this.draw()},TS:function(a,b){this.z.width=Math.round(a); this.z.height=Math.round(b);this.K&&(this.K.style.width=this.z.width+"px",this.K.style.height=this.z.height+"px",this.draw())}});function cc(a,b,d){a&&b&&(this.imageUrl=a,this.size=b,a=new M(Math.floor(b.width/2),Math.floor(b.height/2)),d=d||{},a=d.anchor||a,b=d.imageOffset||new M(0,0),this.imageSize=d.imageSize,this.anchor=a,this.imageOffset=b,this.infoWindowAnchor=d.infoWindowAnchor||this.anchor,this.printImageUrl=d.printImageUrl||"")} v.extend(cc.prototype,{aT:function(a){a&&(this.imageUrl=a)},lT:function(a){a&&(this.printImageUrl=a)},Zc:function(a){a&&(this.size=new M(a.width,a.height))},Sb:function(a){a&&(this.anchor=new M(a.width,a.height))},Fq:function(a){a&&(this.imageOffset=new M(a.width,a.height))},cT:function(a){a&&(this.infoWindowAnchor=new M(a.width,a.height))},ZS:function(a){a&&(this.imageSize=new M(a.width,a.height))},toString:da("Icon")});function dc(a,b){if(a){b=b||{};this.style={anchor:b.anchor||new M(0,0),fillColor:b.fillColor||"#000",Sf:b.fillOpacity||0,scale:b.scale||1,rotation:b.rotation||0,strokeColor:b.strokeColor||"#000",qd:b.strokeOpacity||1,cc:b.strokeWeight};this.lb="number"===typeof a?a:"UserDefined";this.wh=this.style.anchor;this.Oo=new M(0,0);this.anchor=p;this.ax=a;var d=this;K.load("symbol",function(){d.Ll()})}} v.extend(dc.prototype,{setPath:ba("ax"),setAnchor:function(a){this.wh=this.style.anchor=a},setRotation:function(a){this.style.rotation=a},setScale:function(a){this.style.scale=a},setStrokeWeight:function(a){this.style.cc=a},setStrokeColor:function(a){a=v.wp.by(a,this.style.qd);this.style.strokeColor=a},setStrokeOpacity:function(a){this.style.qd=a},setFillOpacity:function(a){this.style.Sf=a},setFillColor:function(a){this.style.fillColor=a}});function ec(a,b,d,e){a&&(this.fs={},this.EF=e?!!e:q,this.oc=[],this.AT=a instanceof dc?a:p,this.AD=b===j?o:!!(b.indexOf("%")+1),this.Fi=isNaN(parseFloat(b))?1:this.AD?parseFloat(b)/100:parseFloat(b),this.BD=!!(d.indexOf("%")+1),this.repeat=d!=j?this.BD?parseFloat(d)/100:parseFloat(d):0)};function fc(a,b){v.lang.oa.call(this);this.content=a;this.map=p;b=b||{};this.z={width:b.width||0,height:b.height||0,maxWidth:b.maxWidth||730,na:b.offset||new M(0,0),title:b.title||"",gA:b.maxContent||"",Qf:b.enableMaximize||q,Np:b.enableAutoPan===q?q:o,Ly:b.enableCloseOnClick===q?q:o,margin:b.margin||[10,10,40,10],Zx:b.collisions||[[10,10],[10,10],[10,10],[10,10]],fR:q,aS:b.onClosing||da(o),Oy:b.enableMessage===q?q:o,Qy:b.enableParano===o?o:q,message:b.message,Sy:b.enableSearchTool===o?o:q,Wt:b.headerContent|| ""};if(0!=this.z.width&&(220>this.z.width&&(this.z.width=220),730<this.z.width))this.z.width=730;if(0!=this.z.height&&(60>this.z.height&&(this.z.height=60),650<this.z.height))this.z.height=650;if(0!=this.z.maxWidth&&(220>this.z.maxWidth&&(this.z.maxWidth=220),730<this.z.maxWidth))this.z.maxWidth=730;this.hd=q;this.th=D.da;this.Ra=p;var d=this;K.load("infowindow",function(){d.ob()})}v.lang.ga(fc,v.lang.oa,"InfoWindow"); v.extend(fc.prototype,{setWidth:function(a){!a&&0!=a||(isNaN(a)||0>a)||(0!=a&&(220>a&&(a=220),730<a&&(a=730)),this.z.width=a)},setHeight:function(a){!a&&0!=a||(isNaN(a)||0>a)||(0!=a&&(60>a&&(a=60),650<a&&(a=650)),this.z.height=a)},hI:function(a){!a&&0!=a||(isNaN(a)||0>a)||(0!=a&&(220>a&&(a=220),730<a&&(a=730)),this.z.maxWidth=a)},Wb:function(a){this.z.title=a},getTitle:function(){return this.z.title},yc:ba("content"),Zi:u("content"),Gq:function(a){this.z.gA=a+""},nd:s(),Np:function(){this.z.Np=o}, disableAutoPan:function(){this.z.Np=q},enableCloseOnClick:function(){this.z.Ly=o},disableCloseOnClick:function(){this.z.Ly=q},Qf:function(){this.z.Qf=o},vt:function(){this.z.Qf=q},show:function(){this.Ea=o},J:function(){this.Ea=q},close:function(){this.J()},ku:function(){this.hd=o},restore:function(){this.hd=q},dg:function(){return this.Ja()},Ja:da(q),T:function(){if(this.Ra&&this.Ra.T)return this.Ra.T()},Zf:function(){return this.z.na}}); Ka.prototype.hc=function(a,b){if(a instanceof fc&&b instanceof I){var d=this.G;d.gl?d.gl.ha(b):(d.gl=new T(b,{icon:new cc(D.da+"blank.gif",{width:1,height:1}),offset:new M(0,0),clickable:q}),d.gl.sL=1);this.wa(d.gl);d.gl.hc(a)}};Ka.prototype.tc=function(){var a=this.G.Ua||this.G.Rj;a&&a.Ra&&a.Ra.tc()};cb.prototype.hc=function(a){this.map&&(this.map.tc(),a.Ea=o,this.map.G.Rj=a,a.Ra=this,v.lang.oa.call(a,a.Q))}; cb.prototype.tc=function(){this.map&&this.map.G.Rj&&(this.map.G.Rj.Ea=q,v.lang.ot(this.map.G.Rj.Q),this.map.G.Rj=p)};function gc(a,b){cb.call(this);this.content=a;this.K=this.map=p;b=b||{};this.z={width:0,na:b.offset||new M(0,0),Dn:{backgroundColor:"#fff",border:"1px solid #f00",padding:"1px",whiteSpace:"nowrap",font:"12px "+D.fontFamily,zIndex:"80",MozUserSelect:"none"},position:b.position||p,$h:b.enableMassClear===q?q:o,je:o};0>this.z.width&&(this.z.width=0);Fb(b.enableClicking)&&(this.z.je=b.enableClicking);this.point=this.z.position;var d=this;K.load("marker",function(){d.ob()})}v.lang.ga(gc,cb,"Label"); v.extend(gc.prototype,{T:function(){return this.Yr?this.Yr.T():this.point},ha:function(a){a instanceof I&&!this.Lt()&&(this.point=this.z.position=new I(a.lng,a.lat))},yc:ba("content"),OA:function(a){0<=a&&1>=a&&(this.z.opacity=a)},Id:function(a){a instanceof M&&(this.z.na=new M(a.width,a.height))},Zf:function(){return this.z.na},$c:function(a){a=a||{};this.z.Dn=v.extend(this.z.Dn,a)},lh:function(a){return this.$c(a)},Wb:function(a){this.z.title=a||""},getTitle:function(){return this.z.title},gI:function(a){this.point= (this.Yr=a)?this.z.position=a.T():this.z.position=p},Lt:function(){return this.Yr||p},Zi:u("content")});function hc(a,b){if(0!==arguments.length){cb.apply(this,arguments);b=b||{};this.z={Pa:a,opacity:b.opacity||1,bl:b.bl||"",zm:b.zm||1,ym:b.ym||18};var d=this;K.load("groundoverlay",function(){d.ob()})}}v.lang.ga(hc,cb,"GroundOverlay"); v.extend(hc.prototype,{setBounds:function(a){this.z.Pa=a},getBounds:function(){return this.z.Pa},setOpacity:function(a){this.z.opacity=a},getOpacity:function(){return this.z.opacity},setImageURL:function(a){this.z.bl=a},getImageURL:function(){return this.z.bl},setDispalyOnMinLevel:function(a){this.z.zm=a},getDispalyOnMinLevel:function(){return this.z.zm},setDispalyOnMaxLevel:function(a){this.z.ym=a},getDispalyOnMaxLevel:function(){return this.z.ym}});var ic=3,jc=4;function kc(){var a=document.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))} function lc(a,b){var d=this;kc()&&(a===j&&aa(Error("\u6ca1\u6709\u4f20\u5165points\u6570\u636e")),"[object Array]"!==Object.prototype.toString.call(a)&&aa(Error("points\u6570\u636e\u4e0d\u662f\u6570\u7ec4")),b=b||{},cb.apply(d,arguments),d.ja={V:a},d.z={shape:b.shape||ic,size:b.size||jc,color:b.color||"#fa937e",$h:o},this.Zw=[],this.yd=[],K.load("pointcollection",function(){for(var a=0,b;b=d.Zw[a];a++)d[b.method].apply(d,b.arguments);for(a=0;b=d.yd[a];a++)d[b.method].apply(d,b.arguments)}))} v.lang.ga(lc,cb,"PointCollection");v.extend(lc.prototype,{initialize:function(a){this.Zw&&this.Zw.push({method:"initialize",arguments:arguments})},setPoints:function(a){this.yd&&this.yd.push({method:"setPoints",arguments:arguments})},setStyles:function(a){this.yd&&this.yd.push({method:"setStyles",arguments:arguments})},clear:function(){this.yd&&this.yd.push({method:"clear",arguments:arguments})},remove:function(){this.yd&&this.yd.push({method:"remove",arguments:arguments})}});var mc=new cc(D.da+"marker_red_sprite.png",new M(19,25),{anchor:new M(10,25),infoWindowAnchor:new M(10,0)}),nc=new cc(D.da+"marker_red_sprite.png",new M(20,11),{anchor:new M(6,11),imageOffset:new M(-19,-13)}); function T(a,b){cb.call(this);b=b||{};this.point=a;this.ao=this.map=p;this.z={na:b.offset||new M(0,0),cg:b.icon||mc,vj:nc,title:b.title||"",label:p,FE:b.baseZIndex||0,je:o,FX:q,Zz:q,$h:b.enableMassClear===q?q:o,$b:q,VH:b.raiseOnDrag===o?o:q,$H:q,Rc:b.draggingCursor||D.Rc,rotation:b.rotation||0};b.icon&&!b.shadow&&(this.z.vj=p);b.enableDragging&&(this.z.$b=b.enableDragging);Fb(b.enableClicking)&&(this.z.je=b.enableClicking);var d=this;K.load("marker",function(){d.ob()})}T.ur=Zb.Xk(-90)+1E6; T.FB=T.ur+1E6;v.lang.ga(T,cb,"Marker"); v.extend(T.prototype,{Lb:function(a){if(a instanceof cc||a instanceof dc)this.z.cg=a},Hm:function(){return this.z.cg},Ou:function(a){a instanceof cc&&(this.z.vj=a)},getShadow:function(){return this.z.vj},tl:function(a){this.z.label=a||p},tz:function(){return this.z.label},$b:function(){this.z.$b=o},ty:function(){this.z.$b=q},T:u("point"),ha:function(a){a instanceof I&&(this.point=new I(a.lng,a.lat))},mh:function(a,b){this.z.Zz=!!a;a&&(this.$B=b||0)},Wb:function(a){this.z.title=a+""},getTitle:function(){return this.z.title}, Id:function(a){a instanceof M&&(this.z.na=a)},Zf:function(){return this.z.na},sl:ba("ao"),Bn:function(a){this.z.rotation=a},bG:function(){return this.z.rotation}});function oc(a,b){ac.call(this,b);b=b||{};this.z.Sf=b.fillOpacity?b.fillOpacity:0.65;this.z.fillColor=""==b.fillColor?"":b.fillColor?b.fillColor:"#fff";this.Jd(a);var d=this;K.load("poly",function(){d.ob()})}v.lang.ga(oc,ac,"Polygon"); v.extend(oc.prototype,{Jd:function(a,b){this.jm=ac.It(a).slice(0);var d=ac.It(a).slice(0);1<d.length&&d.push(new I(d[0].lng,d[0].lat));ac.prototype.Jd.call(this,d,b)},vl:function(a,b){this.jm[a]&&(this.jm[a]=new I(b.lng,b.lat),this.V[a]=new I(b.lng,b.lat),0==a&&!this.V[0].wb(this.V[this.V.length-1])&&(this.V[this.V.length-1]=new I(b.lng,b.lat)),this.sg())},Cd:function(){var a=this.jm;0==a.length&&(a=this.V);return a}});function pc(a,b){ac.call(this,b);this.ep(a);var d=this;K.load("poly",function(){d.ob()})}v.lang.ga(pc,ac,"Polyline");function rc(a,b,d){this.point=a;this.ia=Math.abs(b);oc.call(this,[],d)}rc.pA=[0.01,1.0E-4,1.0E-5,4.0E-6];v.lang.ga(rc,oc,"Circle"); v.extend(rc.prototype,{initialize:function(a){this.map=a;this.V=this.Nr(this.point,this.ia);this.sg();return p},Fa:u("point"),Ue:function(a){a&&(this.point=a)},ZF:u("ia"),we:function(a){this.ia=Math.abs(a)},Nr:function(a,b){if(!a||!b||!this.map)return[];for(var d=[],e=b/6378800,f=Math.PI/180*a.lat,g=Math.PI/180*a.lng,i=0;360>i;i+=9){var k=Math.PI/180*i,l=Math.asin(Math.sin(f)*Math.cos(e)+Math.cos(f)*Math.sin(e)*Math.cos(k)),k=new I(((g-Math.atan2(Math.sin(k)*Math.sin(e)*Math.cos(f),Math.cos(e)-Math.sin(f)* Math.sin(l))+Math.PI)%(2*Math.PI)-Math.PI)*(180/Math.PI),l*(180/Math.PI));d.push(k)}e=d[0];d.push(new I(e.lng,e.lat));return d}});var sc={};function tc(a){this.map=a;this.fl=[];this.We=[];this.Af=[];this.yO=300;this.wA=0;this.sf={};this.Th={};this.ig=0;this.Tz=o;this.eF={};this.Xr=this.lo(1);this.ie=this.lo(2);this.Mo=this.lo(3);a.platform.appendChild(this.Xr);a.platform.appendChild(this.ie);a.platform.appendChild(this.Mo)}C.ae(function(a){var b=new tc(a);b.ea();a.Ib=b}); v.extend(tc.prototype,{ea:function(){var a=this,b=a.map;b.addEventListener("loadcode",function(){a.gu()});b.addEventListener("addtilelayer",function(b){a.Mf(b)});b.addEventListener("removetilelayer",function(b){a.mg(b)});b.addEventListener("setmaptype",function(b){a.xf(b)});b.addEventListener("zoomstartcode",function(b){a.pc(b)});b.addEventListener("setcustomstyles",function(b){a.yn(b.target);a.vf(o)})},gu:function(){var a=this;if(v.R.aa)try{document.execCommand("BackgroundImageCache",q,o)}catch(b){}this.loaded|| a.au();a.vf();this.loaded||(this.loaded=o,K.load("tile",function(){a.WJ()}))},au:function(){for(var a=this.map.ma().Jo,b=0;b<a.length;b++){var d=new uc;v.extend(d,a[b]);this.fl.push(d);d.ea(this.map,this.Xr)}this.yn()},lo:function(a){var b=L("div");b.style.position="absolute";b.style.overflow="visible";b.style.left=b.style.top="0";b.style.zIndex=a;return b},Ef:function(){this.ig--;var a=this;this.Tz&&(this.map.dispatchEvent(new N("onfirsttileloaded")),this.Tz=q);0==this.ig&&(this.zh&&(clearTimeout(this.zh), this.zh=p),this.zh=setTimeout(function(){if(a.ig==0){a.map.dispatchEvent(new N("ontilesloaded"));a.Tz=o}a.zh=p},80))},Gz:function(a,b){return"TILE-"+b.Q+"-"+a[0]+"-"+a[1]+"-"+a[2]},Zt:function(a){var b=a.jb;b&&yb(b)&&b.parentNode.removeChild(b);delete this.sf[a.name];a.loaded||(vc(a),a.jb=p,a.il=p)},Pm:function(a,b,d){var e=this.map,f=e.ma(),g=e.za,i=e.gc,k=f.ac(g),l=this.PF(),m=l[0],n=l[1],t=l[2],w=l[3],x=l[4],d="undefined"!=typeof d?d:0,f=f.k.Vb,l=e.Q.replace(/^TANGRAM_/,"");for(this.oh?this.oh.length= 0:this.oh=[];m<t;m++)for(var y=n;y<w;y++){var A=m,G=y;this.oh.push([A,G]);A=l+"_"+b+"_"+A+"_"+G+"_"+g;this.eF[A]=A}this.oh.sort(function(a){return function(b,d){return 0.4*Math.abs(b[0]-a[0])+0.6*Math.abs(b[1]-a[1])-(0.4*Math.abs(d[0]-a[0])+0.6*Math.abs(d[1]-a[1]))}}([x[0]-1,x[1]-1]));i=[Math.round(-i.lng/k),Math.round(i.lat/k)];m=-e.offsetY+e.height/2;a.style.left=-e.offsetX+e.width/2+"px";a.style.top=m+"px";this.wk?this.wk.length=0:this.wk=[];m=0;for(e=a.childNodes.length;m<e;m++)y=a.childNodes[m], y.bD=q,this.wk.push(y);if(m=this.lA)for(var B in m)delete m[B];else this.lA={};this.xk?this.xk.length=0:this.xk=[];m=0;for(e=this.oh.length;m<e;m++){B=this.oh[m][0];k=this.oh[m][1];y=0;for(n=this.wk.length;y<n;y++)if(t=this.wk[y],t.id==l+"_"+b+"_"+B+"_"+k+"_"+g){t.bD=o;this.lA[t.id]=t;break}}m=0;for(e=this.wk.length;m<e;m++)t=this.wk[m],t.bD||this.xk.push(t);this.dB=[];y=(f+d)*this.map.F.devicePixelRatio;m=0;for(e=this.oh.length;m<e;m++)B=this.oh[m][0],k=this.oh[m][1],w=B*f+i[0]-d/2,x=(-1-k)*f+i[1]- d/2,A=l+"_"+b+"_"+B+"_"+k+"_"+g,n=this.lA[A],t=p,n?(t=n.style,t.left=w+"px",t.top=x+"px",n.Ff||this.dB.push([B,k,n])):(0<this.xk.length?(n=this.xk.shift(),n.getContext("2d").clearRect(-d/2,-d/2,y,y),t=n.style):(n=document.createElement("canvas"),t=n.style,t.position="absolute",t.width=f+d+"px",t.height=f+d+"px",this.LG()&&(t.WebkitTransform="scale(1.001)"),n.setAttribute("width",y),n.setAttribute("height",y),a.appendChild(n)),n.id=A,t.left=w+"px",t.top=x+"px",-1<A.indexOf("bg")&&(w="#F3F1EC",this.map.F.Vs&& (w=this.map.F.Vs),t.background=w?w:""),this.dB.push([B,k,n])),n.style.visibility="";m=0;for(e=this.xk.length;m<e;m++)this.xk[m].style.visibility="hidden";return this.dB},LG:function(){return/M040/i.test(navigator.userAgent)},PF:function(){var a=this.map,b=a.ma(),d=a.za;b.ac(d);var d=b.kG(d),e=a.gc,f=Math.ceil(e.lng/d),g=Math.ceil(e.lat/d),b=b.k.Vb,d=[f,g,(e.lng-f*d)/d*b,(e.lat-g*d)/d*b];return[d[0]-Math.ceil((a.width/2-d[2])/b),d[1]-Math.ceil((a.height/2-d[3])/b),d[0]+Math.ceil((a.width/2+d[2])/b), d[1]+Math.ceil((a.height/2+d[3])/b),d]},qT:function(a,b,d,e){var f=this;f.rV=b;var g=this.map.ma(),i=f.Gz(a,d),k=g.k.Vb,b=[a[0]*k+b[0],(-1-a[1])*k+b[1]],l=this.sf[i];l&&l.jb?(wb(l.jb,b),e&&(e=new P(a[0],a[1]),g=this.map.F.Dd?this.map.F.Dd.style:"normal",e=d.getTilesUrl(e,a[2],g),l.loaded=q,wc(l,e)),l.loaded?this.Ef():xc(l,function(){f.Ef()})):(l=this.Th[i])&&l.jb?(d.ub.insertBefore(l.jb,d.ub.lastChild),this.sf[i]=l,wb(l.jb,b),e&&(e=new P(a[0],a[1]),g=this.map.F.Dd?this.map.F.Dd.style:"normal",e=d.getTilesUrl(e, a[2],g),l.loaded=q,wc(l,e)),l.loaded?this.Ef():xc(l,function(){f.Ef()})):(l=k*Math.pow(2,g.Rk()-a[2]),new I(a[0]*l,a[1]*l),e=new P(a[0],a[1]),g=this.map.F.Dd?this.map.F.Dd.style:"normal",e=d.getTilesUrl(e,a[2],g),l=new zc(this,e,b,a,d),xc(l,function(){f.Ef()}),Ac(l),this.sf[i]=l)},Ef:function(){this.ig--;var a=this;0==this.ig&&(this.zh&&(clearTimeout(this.zh),this.zh=p),this.zh=setTimeout(function(){if(a.ig==0){a.map.dispatchEvent(new N("ontilesloaded"));if(ta){if(pa&&qa&&sa){var b=Ya(),d=a.map.yb(); setTimeout(function(){Oa(5030,{load_script_time:qa-pa,load_tiles_time:b-sa,map_width:d.width,map_height:d.height,map_size:d.width*d.height})},1E4);ua.Fc("img_fisrt_loaded");ua.Fc("map_width",d.width);ua.Fc("map_height",d.height);ua.Fc("map_size",d.width*d.height);ua.Cu()}ta=q}}a.zh=p},80))},Gz:function(a,b){return this.map.ma()===Na?"TILE-"+b.Q+"-"+this.map.$s+"-"+a[0]+"-"+a[1]+"-"+a[2]:"TILE-"+b.Q+"-"+a[0]+"-"+a[1]+"-"+a[2]},Zt:function(a){var b=a.jb;b&&(Bc(b),yb(b)&&b.parentNode.removeChild(b)); delete this.sf[a.name];a.loaded||(Bc(b),vc(a),a.jb=p,a.il=p)},vf:function(a){var b=this;if(b.map.ma()==Na)K.load("coordtrans",function(){b.map.Cb||(b.map.Cb=Na.Yi(b.map.um),b.map.$s=Na.NF(b.map.Cb));b.kD()},o);else{if(a&&a)for(var d in this.Th)delete this.Th[d];b.kD(a)}},kD:function(a){for(var b=this.fl.concat(this.We),d=b.length,e=0;e<d;e++){var f=b[e];if(f.Vc&&m.za<f.Vc)break;if(f.Ws){var g=this.ub=f.ub;if(a){var i=g;if(i&&i.childNodes)for(var k=i.childNodes.length,l=k-1;0<=l;l--)k=i.childNodes[l], i.removeChild(k),k=p}if(this.map.Mb()){this.ie.style.display="block";g.style.display="none";this.map.dispatchEvent(new N("vectorchanged"),{isvector:o});continue}else g.style.display="block",this.ie.style.display="none",this.map.dispatchEvent(new N("vectorchanged"),{isvector:q})}if(!(f.Ym&&!this.map.Mb()||f.KG&&this.map.Mb())){var m=this.map,n=m.ma(),g=n.Nm(),k=m.za,t=m.gc;n==Na&&t.wb(new I(0,0))&&(t=m.gc=g.el(m.Of,m.Cb));var w=n.ac(k),k=n.kG(k),g=Math.ceil(t.lng/k),i=Math.ceil(t.lat/k),x=n.k.Vb,k= [g,i,(t.lng-g*k)/k*x,(t.lat-i*k)/k*x],l=k[0]-Math.ceil((m.width/2-k[2])/x),g=k[1]-Math.ceil((m.height/2-k[3])/x),i=k[0]+Math.ceil((m.width/2+k[2])/x),y=0;n===Na&&15==m.$()&&(y=1);n=k[1]+Math.ceil((m.height/2+k[3])/x)+y;this.CE=new I(t.lng,t.lat);var A=this.sf,x=-this.CE.lng/w,y=this.CE.lat/w,w=[Math.ceil(x),Math.ceil(y)],t=m.$(),G;for(G in A){var B=A[G],J=B.info;(J[2]!=t||J[2]==t&&(l>J[0]||i<=J[0]||g>J[1]||n<=J[1]))&&this.Zt(B)}A=-m.offsetX+m.width/2;B=-m.offsetY+m.height/2;f.ub&&(f.ub.style.left= Math.ceil(x+A)-w[0]+"px",f.ub.style.top=Math.ceil(y+B)-w[1]+"px",f.ub.style.WebkitTransform="translate3d(0,0,0)");x=[];for(m.Ax=[];l<i;l++)for(y=g;y<n;y++)x.push([l,y]),m.Ax.push({x:l,y:y});x.sort(function(a){return function(b,d){return 0.4*Math.abs(b[0]-a[0])+0.6*Math.abs(b[1]-a[1])-(0.4*Math.abs(d[0]-a[0])+0.6*Math.abs(d[1]-a[1]))}}([k[0]-1,k[1]-1]));if(!f.nM){k=x.length;this.ig+=k;for(l=0;l<k;l++)this.qT([x[l][0],x[l][1],t],w,f,a)}}}},Mf:function(a){var b=this,d=a.target,a=b.map.Mb();if(d instanceof $a)a&&!d.cl&&(d.ea(this.map,this.ie),d.cl=o);else if(d.zf&&this.map.Mf(d.zf),d.Ym){for(a=0;a<b.Af.length;a++)if(b.Af[a]==d)return;K.load("vector",function(){d.ea(b.map,b.ie);b.Af.push(d)},o)}else{for(a=0;a<b.We.length;a++)if(b.We[a]==d)return;d.ea(this.map,this.Mo);b.We.push(d)}},mg:function(a){var a=a.target,b=this.map.Mb();if(a instanceof $a)b&&a.cl&&(a.remove(),a.cl=q);else{a.zf&&this.map.mg(a.zf);if(a.Ym)for(var b=0,d=this.Af.length;b<d;b++)a==this.Af[b]&&this.Af.splice(b,1);else{b=0;for(d=this.We.length;b< d;b++)a==this.We[b]&&this.We.splice(b,1)}a.remove()}},xf:function(){for(var a=this.fl,b=0,d=a.length;b<d;b++)a[b].remove();delete this.ub;this.fl=[];this.Th=this.sf={};this.au();this.vf()},pc:function(){var a=this;a.Kc&&v.C.J(a.Kc);setTimeout(function(){a.vf();a.map.dispatchEvent(new N("onzoomend"))},10)},wX:s(),yn:function(a){if(!this.map.Mb()&&(a?this.map.F.xT=a:a=this.map.F.xT,a))for(var b=p,b="2"==C.cv?[C.url.proto+C.url.domain.main_domain_cdn.other[0]+"/"]:[C.url.proto+C.url.domain.main_domain_cdn.baidu[0]+ "/",C.url.proto+C.url.domain.main_domain_cdn.baidu[1]+"/",C.url.proto+C.url.domain.main_domain_cdn.baidu[2]+"/"],d=0,e;e=this.fl[d];d++)if(e.mT==o){e.getTilesUrl=function(d,e){var i=d.x,k=d.y,l="customimage/tile?&x="+i+"&y="+k+"&z="+e+"&udt=20141112",l=a.styleStr?l+("&styles="+encodeURIComponent(a.styleStr)):l+("&customid="+a.style);return b[Math.abs(i+k)%b.length]+l};break}}});function zc(a,b,d,e,f){this.il=a;this.position=d;this.zr=[];this.name=a.Gz(e,f);this.info=e;this.hE=f.nq();e=L("img");xb(e);e.HF=q;var g=e.style,a=a.map.ma();g.position="absolute";g.border="none";g.width=a.k.Vb+"px";g.height=a.k.Vb+"px";g.left=d[0]+"px";g.top=d[1]+"px";g.maxWidth="none";this.jb=e;this.src=b;Cc&&(this.jb.style.opacity=0);var i=this;this.jb.onload=function(){C.IR.EK();i.loaded=o;if(i.il){var a=i.il,b=a.Th;if(!b[i.name]){a.wA++;b[i.name]=i}if(i.jb&&!yb(i.jb)&&f.ub){f.ub.appendChild(i.jb); if(v.R.aa<=6&&v.R.aa>0&&i.hE)i.jb.style.cssText=i.jb.style.cssText+(';filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+i.src+'",sizingMethod=scale);')}var d=a.wA-a.yO,e;for(e in b){if(d<=0)break;if(!a.sf[e]){b[e].il=p;var g=b[e].jb;if(g&&g.parentNode){g.parentNode.removeChild(g);Bc(g)}g=p;b[e].jb=p;delete b[e];a.wA--;d--}}Cc&&new sb({Sc:20,duration:200,qa:function(a){if(i.jb&&i.jb.style)i.jb.style.opacity=a*1},finish:function(){i.jb&&i.jb.style&&delete i.jb.style.opacity}});vc(i)}}; this.jb.onerror=function(){vc(i);if(i.il){var a=i.il.map.ma();if(a.k.Ty){i.error=o;i.jb.src=a.k.Ty;i.jb&&!yb(i.jb)&&f.ub.appendChild(i.jb)}}};e=p}function xc(a,b){a.zr.push(b)}function Ac(a){a.jb.src=0<v.R.aa&&6>=v.R.aa&&a.hE?D.da+"blank.gif":""!==a.src&&a.jb.src==a.src?a.src+"&t = "+Date.now():a.src}function vc(a){for(var b=0;b<a.zr.length;b++)a.zr[b]();a.zr.length=0} function Bc(a){if(a){a.onload=a.onerror=p;var b=a.attributes,d,e,f;if(b){e=b.length;for(d=0;d<e;d+=1)f=b[d].name,Ua(a[f])&&(a[f]=p)}if(b=a.children){e=b.length;for(d=0;d<e;d+=1)Bc(a.children[d])}}}function wc(a,b){a.src=b;Ac(a)}var Cc=!v.R.aa||8<v.R.aa;function uc(a){this.fn=a||{};this.SO=this.fn.copyright||p;this.WT=this.fn.transparentPng||q;this.Ws=this.fn.baseLayer||q;this.zIndex=this.fn.zIndex||0;this.Q=uc.cM++}uc.cM=0;v.lang.ga(uc,v.lang.oa,"TileLayer"); v.extend(uc.prototype,{ea:function(a,b){this.Ws&&(this.zIndex=-100);this.map=a;if(!this.ub){var d=L("div"),e=d.style;e.position="absolute";e.overflow="visible";e.zIndex=this.zIndex;e.left=Math.ceil(-a.offsetX+a.width/2)+"px";e.top=Math.ceil(-a.offsetY+a.height/2)+"px";b.appendChild(d);this.ub=d}d=a.ma();a.gj()&&d==La&&(d.k.Vb=128,e=function(a){return Math.pow(2,18-a)*2},d.ac=e,d.k.Hd.ac=e)},remove:function(){this.ub&&this.ub.parentNode&&(this.ub.innerHTML="",this.ub.parentNode.removeChild(this.ub)); delete this.ub},nq:u("WT"),getTilesUrl:function(a,b){var d="";this.fn.tileUrlTemplate&&(d=this.fn.tileUrlTemplate.replace(/\{X\}/,a.x),d=d.replace(/\{Y\}/,a.y),d=d.replace(/\{Z\}/,b));return d},Pk:u("SO"),ma:function(){return this.rb||La}});function Dc(a,b){Gb(a)?b=a||{}:(b=b||{},b.databoxId=a);this.k={fF:b.databoxId,Uf:b.geotableId,Au:b.q||"",Xq:b.tags||"",filter:b.filter||"",Vu:b.sortby||"",vT:b.styleId||"",tk:b.ak||oa,Ss:b.age||36E5,zIndex:11,ER:"VectorCloudLayer",hj:b.hotspotName||"vector_md_"+(1E5*Math.random()).toFixed(0),dO:"LBS\u4e91\u9ebb\u70b9\u5c42"};this.Ym=o;uc.call(this,this.k);this.iP=C.fc+"geosearch/detail/";this.jP=C.fc+"geosearch/v2/detail/";this.Um={}}v.ga(Dc,uc,"VectorCloudLayer");function Ec(a){a=a||{};this.k=v.extend(a,{zIndex:1,ER:"VectorTrafficLayer",dO:"\u77e2\u91cf\u8def\u51b5\u5c42"});this.Ym=o;uc.call(this,this.k);this.ST=C.url.proto+C.url.domain.vector_traffic+"/gvd/?qt=lgvd&styles=pl&layers=tf";this.qc={"0":[2,1354709503,2,2,0,[],0,0],1:[2,1354709503,3,2,0,[],0,0],10:[2,-231722753,2,2,0,[],0,0],11:[2,-231722753,3,2,0,[],0,0],12:[2,-231722753,4,2,0,[],0,0],13:[2,-231722753,5,2,0,[],0,0],14:[2,-231722753,6,2,0,[],0,0],15:[2,-1,4,0,0,[],0,0],16:[2,-1,5.5,0,0,[],0,0], 17:[2,-1,7,0,0,[],0,0],18:[2,-1,8.5,0,0,[],0,0],19:[2,-1,10,0,0,[],0,0],2:[2,1354709503,4,2,0,[],0,0],3:[2,1354709503,5,2,0,[],0,0],4:[2,1354709503,6,2,0,[],0,0],5:[2,-6350337,2,2,0,[],0,0],6:[2,-6350337,3,2,0,[],0,0],7:[2,-6350337,4,2,0,[],0,0],8:[2,-6350337,5,2,0,[],0,0],9:[2,-6350337,6,2,0,[],0,0]}}v.ga(Ec,uc,"VectorTrafficLayer");function $a(a){this.zO=[C.url.proto+C.url.domain.TILE_ONLINE_URLS[1]+"/gvd/?",C.url.proto+C.url.domain.TILE_ONLINE_URLS[2]+"/gvd/?",C.url.proto+C.url.domain.TILE_ONLINE_URLS[3]+"/gvd/?",C.url.proto+C.url.domain.TILE_ONLINE_URLS[4]+"/gvd/?"];this.k={DF:q};for(var b in a)this.k[b]=a[b];this.Pg=this.xg=this.mc=this.A=this.B=p;this.SG=0;var d=this;K.load("vector",function(){d.ze()})}v.extend($a.prototype,{ea:function(a,b){this.B=a;this.A=b},remove:function(){this.A=this.B=p}});function Fc(a){uc.call(this,a);this.k=a||{};this.KG=o;this.zf=new Ec;this.zf.$u=this;if(this.k.predictDate){if(1>this.k.predictDate.weekday||7<this.k.predictDate.weekday)this.k.predictDate=1;if(0>this.k.predictDate.hour||23<this.k.predictDate.hour)this.k.predictDate.hour=0}this.LN=C.url.proto+C.url.domain.traffic+":8002/traffic/"}Fc.prototype=new uc;Fc.prototype.ea=function(a,b){uc.prototype.ea.call(this,a,b);this.B=a};Fc.prototype.nq=da(o); Fc.prototype.getTilesUrl=function(a,b){var d="";this.k.predictDate?d="HistoryService?day="+(this.k.predictDate.weekday-1)+"&hour="+this.k.predictDate.hour+"&t="+(new Date).getTime()+"&":(d="TrafficTileService?time="+(new Date).getTime()+"&",this.B.gj()||(d+="label=web2D&v=016&"));return(this.LN+d+"level="+b+"&x="+a.x+"&y="+a.y).replace(/-(\d+)/gi,"M$1")};var Gc=[C.url.proto+C.url.domain.TILES_YUN_HOST[0]+"/georender/gss",C.url.proto+C.url.domain.TILES_YUN_HOST[1]+"/georender/gss",C.url.proto+C.url.domain.TILES_YUN_HOST[2]+"/georender/gss",C.url.proto+C.url.domain.TILES_YUN_HOST[3]+"/georender/gss"],Hc=100; function kb(a,b){uc.call(this);var d=this;this.KG=o;var e=q;try{document.createElement("canvas").getContext("2d"),e=o}catch(f){e=q}e&&(this.zf=new Dc(a,b),this.zf.$u=this);Gb(a)?b=a||{}:(d.oo=a,b=b||{});b.geotableId&&(d.ef=b.geotableId);b.databoxId&&(d.oo=b.databoxId);e=C.fc+"geosearch";d.dd={mS:b.pointDensity||Hc,cR:e+"/detail/",dR:e+"/v2/detail/",Ss:b.age||36E5,Au:b.q||"",GT:"png",rW:[5,5,5,5],DR:{backgroundColor:"#FFFFD5",borderColor:"#808080"},tk:b.ak||oa,Xq:b.tags||"",filter:b.filter||"",Vu:b.sortby|| "",hj:b.hotspotName||"tile_md_"+(1E5*Math.random()).toFixed(0)};K.load("clayer",function(){d.Md()})}kb.prototype=new uc;kb.prototype.ea=function(a,b){uc.prototype.ea.call(this,a,b);this.B=a}; kb.prototype.getTilesUrl=function(a,b){var d=a.x,e=a.y,f=this.dd,d=Gc[Math.abs(d+e)%Gc.length]+"/image?grids="+d+"_"+e+"_"+b+"&q="+f.Au+"&tags="+f.Xq+"&filter="+f.filter+"&sortby="+f.Vu+"&ak="+this.dd.tk+"&age="+f.Ss+"&page_size="+f.mS+"&format="+f.GT;this.ef?d+="&geotable_id="+this.ef:this.oo&&(d+="&databox_id="+this.oo);return d};kb.nN=/^point\(|\)$/ig;kb.oN=/\s+/;kb.qN=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function Ic(a,b,d){this.ee=a;this.Jo=b instanceof uc?[b]:b.slice(0);d=d||{};this.k={HT:d.tips||"",bA:"",Vc:d.minZoom||3,Fd:d.maxZoom||18,aR:d.minZoom||3,$Q:d.maxZoom||18,Vb:256,FT:d.textColor||"black",Ty:d.errorImageUrl||"",Hd:d.projection||new Q};1<=this.Jo.length&&(this.Jo[0].Ws=o);v.extend(this.k,d)} v.extend(Ic.prototype,{getName:u("ee"),cq:function(){return this.k.HT},aW:function(){return this.k.bA},MQ:function(){return this.Jo[0]},mW:u("Jo"),NQ:function(){return this.k.Vb},Im:function(){return this.k.Vc},Rk:function(){return this.k.Fd},setMaxZoom:function(a){this.k.Fd=a},bq:function(){return this.k.FT},Nm:function(){return this.k.Hd},WV:function(){return this.k.Ty},NQ:function(){return this.k.Vb},ac:function(a){return Math.pow(2,18-a)},kG:function(a){return this.ac(a)*this.k.Vb}}); var Jc=[C.url.proto+C.url.domain.TILE_BASE_URLS[0]+"/it/",C.url.proto+C.url.domain.TILE_BASE_URLS[1]+"/it/",C.url.proto+C.url.domain.TILE_BASE_URLS[2]+"/it/",C.url.proto+C.url.domain.TILE_BASE_URLS[3]+"/it/",C.url.proto+C.url.domain.TILE_BASE_URLS[4]+"/it/"],Kc=[C.url.proto+C.url.domain.TILE_ONLINE_URLS[0]+"/tile/",C.url.proto+C.url.domain.TILE_ONLINE_URLS[1]+"/tile/",C.url.proto+C.url.domain.TILE_ONLINE_URLS[2]+"/tile/",C.url.proto+C.url.domain.TILE_ONLINE_URLS[3]+"/tile/",C.url.proto+C.url.domain.TILE_ONLINE_URLS[4]+ "/tile/"],Lc={dark:"dl",light:"ll",normal:"pl"},Mc=new uc;Mc.mT=o;Mc.getTilesUrl=function(a,b,d){var e=a.x,a=a.y,f="pl",g=1;this.map.gj();!F()&&2<=window.devicePixelRatio&&(g=2);f=Lc[d];return(Kc[Math.abs(e+a)%Kc.length]+"?qt=tile&x="+(e+"").replace(/-/gi,"M")+"&y="+(a+"").replace(/-/gi,"M")+"&z="+b+"&styles="+f+"&scaler="+g+(6==v.R.aa?"&color_dep=32&colors=50":"")+"&udt=20141103").replace(/-(\d+)/gi,"M$1")};var La=new Ic("\u5730\u56fe",Mc,{tips:"\u663e\u793a\u666e\u901a\u5730\u56fe"}),Nc=new uc; Nc.wI=[C.url.proto+C.url.domain.TIlE_PERSPECT_URLS[0]+"/resource/mappic/",C.url.proto+C.url.domain.TIlE_PERSPECT_URLS[1]+"/resource/mappic/",C.url.proto+C.url.domain.TIlE_PERSPECT_URLS[2]+"/resource/mappic/",C.url.proto+C.url.domain.TIlE_PERSPECT_URLS[3]+"/resource/mappic/"];Nc.getTilesUrl=function(a,b){var d=a.x,e=a.y,f=256*Math.pow(2,20-b),e=Math.round((9998336-f*e)/f)-1;return url=this.wI[Math.abs(d+e)%this.wI.length]+this.map.Cb+"/"+this.map.$s+"/3/lv"+(21-b)+"/"+d+","+e+".jpg"}; var Na=new Ic("\u4e09\u7ef4",Nc,{tips:"\u663e\u793a\u4e09\u7ef4\u5730\u56fe",minZoom:15,maxZoom:20,textColor:"white",projection:new db});Na.ac=function(a){return Math.pow(2,20-a)};Na.Yi=function(a){if(!a)return"";var b=D.Tx,d;for(d in b)if(-1<a.search(d))return b[d].yu;return""};Na.NF=function(a){return{bj:2,gz:1,sz:14,sh:4}[a]};var Oc=new uc({Ws:o}); Oc.getTilesUrl=function(a,b){var d=a.x,e=a.y;return(Jc[Math.abs(d+e)%Jc.length]+"u=x="+d+";y="+e+";z="+b+";v=009;type=sate&fm=46&udt=20141015").replace(/-(\d+)/gi,"M$1")};var Va=new Ic("\u536b\u661f",Oc,{tips:"\u663e\u793a\u536b\u661f\u5f71\u50cf",minZoom:1,maxZoom:19,textColor:"white"}),Pc=new uc({transparentPng:o}); Pc.getTilesUrl=function(a,b){var d=a.x,e=a.y;return(Kc[Math.abs(d+e)%Kc.length]+"?qt=tile&x="+(d+"").replace(/-/gi,"M")+"&y="+(e+"").replace(/-/gi,"M")+"&z="+b+"&styles=sl"+(6==v.R.aa?"&color_dep=32&colors=50":"")+"&udt=20141015").replace(/-(\d+)/gi,"M$1")};var Pa=new Ic("\u6df7\u5408",[Oc,Pc],{tips:"\u663e\u793a\u5e26\u6709\u8857\u9053\u7684\u536b\u661f\u5f71\u50cf",labelText:"\u8def\u7f51",minZoom:1,maxZoom:19,textColor:"white"});var Qc=1,U={};window.sU=U;function V(a,b){v.lang.oa.call(this);this.Oc={};this.ul(a);b=b||{};b.W=b.renderOptions||{};this.k={W:{Aa:b.W.panel||p,map:b.W.map||p,Nf:b.W.autoViewport||o,Dq:b.W.selectFirstResult,hq:b.W.highlightMode,$b:b.W.enableDragging||q},ru:b.onSearchComplete||s(),DH:b.onMarkersSet||s(),CH:b.onInfoHtmlSet||s(),FH:b.onResultsHtmlSet||s(),BH:b.onGetBusListComplete||s(),AH:b.onGetBusLineComplete||s(),zH:b.onBusListHtmlSet||s(),yH:b.onBusLineHtmlSet||s(),mA:b.onPolylinesSet||s(),ln:b.reqFrom||""};this.k.W.Nf="undefined"!= typeof b&&"undefined"!=typeof b.renderOptions&&"undefined"!=typeof b.renderOptions.autoViewport?b.renderOptions.autoViewport:o;this.k.W.Aa=v.Xb(this.k.W.Aa)}v.ga(V,v.lang.oa); v.extend(V.prototype,{getResults:function(){return this.Zb?this.xh:this.U},enableAutoViewport:function(){this.k.W.Nf=o},disableAutoViewport:function(){this.k.W.Nf=q},ul:function(a){a&&(this.Oc.src=a)},QA:function(a){this.k.ru=a||s()},setMarkersSetCallback:function(a){this.k.DH=a||s()},setPolylinesSetCallback:function(a){this.k.mA=a||s()},setInfoHtmlSetCallback:function(a){this.k.CH=a||s()},setResultsHtmlSetCallback:function(a){this.k.FH=a||s()},Uk:u("ge")});var Rc={OB:C.fc,bb:function(a,b,d,e,f){var g=(1E5*Math.random()).toFixed(0);C._rd["_cbk"+g]=function(b){d=d||{};a&&a(b,d);delete C._rd["_cbk"+g]};e=e||"";b=d&&d.NI?Eb(b,encodeURI):Eb(b,encodeURIComponent);this.OB=d&&d.Bt?"http://map.baidu.com/":C.fc;e=this.OB+e+"?"+b+"&ie=utf-8&oue=1&fromproduct=jsapi";f||(e+="&res=api");fb(e+("&callback=BMap._rd._cbk"+g))}};window.yU=Rc;C._rd={};var O={};window.xU=O;O.XH=function(a){return a.replace(/<\/?b>/g,"")};O.hS=function(a){return a.replace(/([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*),([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*)(,)/g,"$1,$2;")};O.iS=function(a,b){return a.replace(RegExp("(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);)(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);){"+b+"}","ig"),"$1")};var Sc=2,Tc=3,Uc=0,Vc="bt",Wc="nav",Xc="walk",Yc="bl",Zc="bsl",$c=14,ad=15,bd=18,cd=20,dd=31;C.I=window.Instance=v.lang.gd;function ed(a,b,d){v.lang.oa.call(this);if(a){this.Ga="object"==typeof a?a:v.Xb(a);this.page=1;this.Wc=100;this.DE="pg";this.Te=4;this.KE=b;this.update=o;a={page:1,xe:100,Wc:100,Te:4,DE:"pg",update:o};d||(d=a);for(var e in d)"undefined"!=typeof d[e]&&(this[e]=d[e]);this.qa()}} v.extend(ed.prototype,{qa:function(){this.ea()},ea:function(){this.DO();this.Ga.innerHTML=this.ZO()},DO:function(){isNaN(parseInt(this.page))&&(this.page=1);isNaN(parseInt(this.Wc))&&(this.Wc=1);1>this.page&&(this.page=1);1>this.Wc&&(this.Wc=1);this.page>this.Wc&&(this.page=this.Wc);this.page=parseInt(this.page);this.Wc=parseInt(this.Wc)},eW:function(){location.search.match(RegExp("[?&]?"+this.DE+"=([^&]*)[&$]?","gi"));this.page=RegExp.$1},ZO:function(){var a=[],b=this.page-1,d=this.page+1;a.push('<p style="margin:0;padding:0;white-space:nowrap">'); if(!(1>b)){if(this.page>=this.Te){var e;a.push('<span style="margin-right:3px"><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp1}">\u9996\u9875</a></span>'.replace("{temp1}","BMap.I('"+this.Q+"').toPage(1);"))}a.push('<span style="margin-right:3px"><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp2}">\u4e0a\u4e00\u9875</a></span>'.replace("{temp2}","BMap.I('"+this.Q+"').toPage("+b+");"))}if(this.page<this.Te)e=0==this.page%this.Te?this.page-this.Te-1:this.page-this.page% this.Te+1,b=e+this.Te-1;else{e=Math.floor(this.Te/2);var f=this.Te%2-1,b=this.Wc>this.page+e?this.page+e:this.Wc;e=this.page-e-f}this.page>this.Wc-this.Te&&this.page>=this.Te&&(e=this.Wc-this.Te+1,b=this.Wc);for(f=e;f<=b;f++)0<f&&(f==this.page?a.push('<span style="margin-right:3px">'+f+"</span>"):1<=f&&f<=this.Wc&&(e='<span><a style="color:#7777cc;margin-right:3px" href="javascript:void(0)" onclick="{temp3}">['+f+"]</a></span>",a.push(e.replace("{temp3}","BMap.I('"+this.Q+"').toPage("+f+");")))); d>this.Wc||a.push('<span><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp4}">\u4e0b\u4e00\u9875</a></span>'.replace("{temp4}","BMap.I('"+this.Q+"').toPage("+d+");"));a.push("</p>");return a.join("")},toPage:function(a){a=a?a:1;"function"==typeof this.KE&&(this.KE(a),this.page=a);this.update&&this.qa()}});function Za(a,b){V.call(this,a,b);b=b||{};b.renderOptions=b.renderOptions||{};this.An(b.pageCapacity);"undefined"!=typeof b.renderOptions.selectFirstResult&&!b.renderOptions.selectFirstResult?this.uy():this.Ny();this.la=[];this.ye=[];this.Sa=-1;this.La=[];var d=this;K.load("local",function(){d.Nv()},o)}v.ga(Za,V,"LocalSearch");Za.Nn=10;Za.vU=1;Za.Gl=100;Za.DB=2E3;Za.MB=1E5; v.extend(Za.prototype,{search:function(a,b){this.La.push({method:"search",arguments:[a,b]})},rl:function(a,b,d){this.La.push({method:"searchInBounds",arguments:[a,b,d]})},vn:function(a,b,d,e){this.La.push({method:"searchNearby",arguments:[a,b,d,e]})},Xd:function(){delete this.ta;delete this.ge;delete this.U;delete this.S;this.Sa=-1;this.Za();this.k.W.Aa&&(this.k.W.Aa.innerHTML="")},Yk:s(),Ny:function(){this.k.W.Dq=o},uy:function(){this.k.W.Dq=q},An:function(a){this.k.mj="number"==typeof a&&!isNaN(a)? 1>a?Za.Nn:a>Za.Gl?Za.Nn:a:Za.Nn},pe:function(){return this.k.mj},toString:da("LocalSearch")});var fd=Za.prototype;W(fd,{clearResults:fd.Xd,setPageCapacity:fd.An,getPageCapacity:fd.pe,gotoPage:fd.Yk,searchNearby:fd.vn,searchInBounds:fd.rl,search:fd.search,enableFirstResultSelection:fd.Ny,disableFirstResultSelection:fd.uy});function gd(a,b){V.call(this,a,b)}v.ga(gd,V,"BaseRoute");v.extend(gd.prototype,{Xd:s()});function hd(a,b){V.call(this,a,b);b=b||{};this.Iq(b.policy);this.An(b.pageCapacity);this.ud=Vc;this.qr=$c;this.rr=Qc;this.la=[];this.Sa=-1;this.La=[];var d=this;K.load("route",function(){d.Md()})}hd.Gl=100;hd.tJ=[0,1,0,0,0,0,0,0,2,0,0,0,1,1,1];v.ga(hd,gd,"TransitRoute"); v.extend(hd.prototype,{Iq:function(a){this.k.Hc=0<=a&&4>=a?a:0},zw:function(a,b){this.La.push({method:"_internalSearch",arguments:[a,b]})},search:function(a,b){this.La.push({method:"search",arguments:[a,b]})},An:function(a){if("string"==typeof a&&(a=parseInt(a),isNaN(a))){this.k.mj=hd.Gl;return}this.k.mj="number"!=typeof a?hd.Gl:1<=a&&a<=hd.Gl?Math.round(a):hd.Gl},toString:da("TransitRoute"),zN:function(a){return a.replace(/\(.*\)/,"")}});var id=hd.prototype;W(id,{_internalSearch:id.zw});function jd(a,b){V.call(this,a,b);this.la=[];this.Sa=-1;this.La=[];var d=this,e=this.k.W;1!=e.hq&&2!=e.hq&&(e.hq=1);this.cw=this.k.W.$b?o:q;K.load("route",function(){d.Md()});this.Qz&&this.Qz()}jd.GJ=" \u73af\u5c9b \u65e0\u5c5e\u6027\u9053\u8def \u4e3b\u8def \u9ad8\u901f\u8fde\u63a5\u8def \u4ea4\u53c9\u70b9\u5185\u8def\u6bb5 \u8fde\u63a5\u9053\u8def \u505c\u8f66\u573a\u5185\u90e8\u9053\u8def \u670d\u52a1\u533a\u5185\u90e8\u9053\u8def \u6865 \u6b65\u884c\u8857 \u8f85\u8def \u531d\u9053 \u5168\u5c01\u95ed\u9053\u8def \u672a\u5b9a\u4e49\u4ea4\u901a\u533a\u57df POI\u8fde\u63a5\u8def \u96a7\u9053 \u6b65\u884c\u9053 \u516c\u4ea4\u4e13\u7528\u9053 \u63d0\u524d\u53f3\u8f6c\u9053".split(" "); v.ga(jd,gd,"DWRoute");v.extend(jd.prototype,{search:function(a,b,d){this.La.push({method:"search",arguments:[a,b,d]})}});function kd(a,b){jd.call(this,a,b);b=b||{};this.k.cf=b.enableTraffic||q;this.Iq(b.policy);this.ud=Wc;this.qr=cd;this.rr=Tc}v.ga(kd,jd,"DrivingRoute");kd.prototype.Iq=function(a){this.k.Hc=0<=a&&2>=a?a:0};function ld(a,b){jd.call(this,a,b);this.ud=Xc;this.qr=dd;this.rr=Sc;this.cw=q}v.ga(ld,jd,"WalkingRoute");function md(a,b){v.lang.oa.call(this);this.Se=[];this.ml=[];this.k=b;this.Kb=a;this.map=this.k.W.map||p;this.Iu=this.k.Iu;this.eb=p;this.Vh=0;this.Wu="";this.fd=1;this.Ct="";this.mn=[0,0,0,0,0,0,0];this.cA=[];this.Bp=[1,1,1,1,1,1,1];this.EI=[1,1,1,1,1,1,1];this.Bq=[0,0,0,0,0,0,0];this.nn=[0,0,0,0,0,0,0];this.ya=[{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"", Je:0,Al:0,x:0,y:0,Ub:-1}];this.Ug=-1;this.Zq=[];this.$q=[];K.load("route",s())}v.lang.ga(md,v.lang.oa,"RouteAddr");function nd(a){this.k={};v.extend(this.k,a);this.La=[];var b=this;K.load("othersearch",function(){b.Md()})}v.ga(nd,v.lang.oa,"Geocoder");v.extend(nd.prototype,{Tk:function(a,b,d){this.La.push({method:"getPoint",arguments:[a,b,d]})},Yp:function(a,b,d){this.La.push({method:"getLocation",arguments:[a,b,d]})},toString:da("Geocoder")});var od=nd.prototype;W(od,{getPoint:od.Tk,getLocation:od.Yp});function Geolocation(a){a=a||{};this.F={timeout:a.timeout||1E4,maximumAge:a.maximumAge||6E5};this.yd=[];var b=this;K.load("othersearch",function(){for(var a=0,e;e=b.yd[a];a++)b[e.method].apply(b,e.arguments)})}v.extend(Geolocation.prototype,{getCurrentPosition:function(a,b){this.yd.push({method:"getCurrentPosition",arguments:arguments})},getStatus:da(2)});function pd(a){a=a||{};a.W=a.renderOptions||{};this.k={W:{map:a.W.map||p}};this.La=[];var b=this;K.load("othersearch",function(){b.Md()})}v.ga(pd,v.lang.oa,"LocalCity");v.extend(pd.prototype,{get:function(a){this.La.push({method:"get",arguments:[a]})},toString:da("LocalCity")});function qd(){this.La=[];var a=this;K.load("othersearch",function(){a.Md()})}v.ga(qd,v.lang.oa,"Boundary");v.extend(qd.prototype,{get:function(a,b){this.La.push({method:"get",arguments:[a,b]})},toString:da("Boundary")});function rd(a,b){V.call(this,a,b);this.DJ=Yc;this.FJ=ad;this.CJ=Zc;this.EJ=bd;this.La=[];var d=this;K.load("buslinesearch",function(){d.Md()})}rd.Sr=D.da+"iw_plus.gif";rd.gM=D.da+"iw_minus.gif";rd.HN=D.da+"stop_icon.png";v.ga(rd,V); v.extend(rd.prototype,{getBusList:function(a){this.La.push({method:"getBusList",arguments:[a]})},getBusLine:function(a){this.La.push({method:"getBusLine",arguments:[a]})},setGetBusListCompleteCallback:function(a){this.k.BH=a||s()},setGetBusLineCompleteCallback:function(a){this.k.AH=a||s()},setBusListHtmlSetCallback:function(a){this.k.zH=a||s()},setBusLineHtmlSetCallback:function(a){this.k.yH=a||s()},setPolylinesSetCallback:function(a){this.k.mA=a||s()}});function sd(a){V.call(this,a);a=a||{};this.dd={input:a.input||p,Lx:a.baseDom||p,types:a.types||[],ru:a.onSearchComplete||s()};this.Oc.src=a.location||"\u5168\u56fd";this.Ph="";this.lf=p;this.$C="";this.Dh();Oa(Ia);var b=this;K.load("autocomplete",function(){b.Md()})}v.ga(sd,V,"Autocomplete");v.extend(sd.prototype,{Dh:s(),show:s(),J:s(),RA:function(a){this.dd.types=a},ul:function(a){this.Oc.src=a},search:ba("Ph"),Mu:ba("$C")});var Qa;function Ma(a,b){this.A="string"==typeof a?v.N(a):a;this.k={enableScrollWheelZoom:o,panoramaRenderer:"flash",swfSrc:C.fc+"res/swf/APILoader.swf",visible:o,linksControl:o,navigationControl:o,indoorSceneSwitchControl:o,albumsControl:q,albumsControlOptions:{},copyrightControlOptions:{}};var b=b||{},d;for(d in b)this.k[d]=b[d];this.va={heading:p,pitch:p};this.Wl=[];this.gb=this.Ya=p;this.ap=this.Pj();this.la=[];this.pc=1;this.jf=this.yM=this.zi="";this.Td={};this.He=p;this.Hf=[];this.To=[];this.Xo=q; var e=this;"flashRender"===this.Pj()?K.load("panoramaflash",function(){e.Dh()},o):K.load("panorama",function(){e.ob()},o);this.WM(this.A);"api"==b.Ne?Oa(Da):Oa(Ea);this.addEventListener("id_changed",function(){Oa(Ca,{from:b.Ne})})}var td=4,ud=1;v.lang.ga(Ma,v.lang.oa,"Panorama"); v.extend(Ma.prototype,{WM:function(a){var b,d;b=a.style;d=Sa(a).position;"absolute"!=d&&"relative"!=d&&(b.position="relative",b.zIndex=0);if("absolute"===d||"relative"===d)if(a=Sa(a).zIndex,!a||"auto"===a)b.zIndex=0},nQ:u("Wl"),xb:u("Ya"),OQ:u("ys"),lI:u("ys"),T:u("gb"),Ia:u("va"),$:u("pc"),Wf:u("zi"),gW:function(){return this.WU||[]},cW:u("yM"),St:u("jf"),wl:function(a){a!==this.jf&&(this.jf=a,this.dispatchEvent(new N("onscene_type_changed")))},zc:function(a,b){a!=this.Ya&&(this.Uj=this.Ya,this.Tr= this.gb,this.Ya=a,this.jf=b||"street",this.gb=p)},ha:function(a){a.wb(this.gb)||(this.Uj=this.Ya,this.Tr=this.gb,this.gb=a,this.Ya=p)},Kd:function(a){a&&(this.va=a,a=this.va.pitch,"cvsRender"==this.Pj()?(90<a&&(a=90),-90>a&&(a=-90)):"cssRender"==this.Pj()&&(45<a&&(a=45),-45>a&&(a=-45)),this.Xo=o,this.va.pitch=a)},od:function(a){a!=this.pc&&(a>td&&(a=td),a<ud&&(a=ud),a!=this.pc&&(this.pc=a))},mx:function(){if(this.B)for(var a=this.B.Az(),b=0;b<a.length;b++)(a[b]instanceof T||a[b]instanceof gc)&&a[b].point&& this.la.push(a[b])},NA:ba("B"),Hq:function(a){this.He=a||"none"},zn:function(a){for(var b in a){if("object"==typeof a[b])for(var d in a[b])this.k[b][d]=a[b][d];else this.k[b]=a[b];switch(b){case "linksControl":this.dispatchEvent(new N("onlinks_visible_changed"));break;case "navigationControl":this.dispatchEvent(new N("onnavigation_visible_changed"));break;case "indoorSceneSwitchControl":this.dispatchEvent(new N("onindoor_default_switch_mode_changed"));break;case "albumsControl":this.dispatchEvent(new N("onalbums_visible_changed")); break;case "albumsControlOptions":this.dispatchEvent(new N("onalbums_options_changed"));break;case "copyrightControlOptions":this.dispatchEvent(new N("oncopyright_options_changed"))}}},fj:function(){this.$j.style.visibility="hidden"},Ru:function(){this.$j.style.visibility="visible"},KP:function(){this.k.enableScrollWheelZoom=o},qP:function(){this.k.enableScrollWheelZoom=q},show:function(){this.k.visible=o},J:function(){this.k.visible=q},Pj:function(){return Ra()&&!F()&&"javascript"!=this.k.panoramaRenderer? "flashRender":!F()&&Lb()?"cvsRender":"cssRender"},wa:function(a){this.Td[a.Dc]=a},sb:function(a){delete this.Td[a]},jG:function(){return this.k.visible},Vf:function(){return new M(this.A.clientWidth,this.A.clientHeight)},Da:u("A"),KF:function(){var a="http://map.baidu.com/?",b=this.xb();if(b){var b={panotype:this.St(),heading:this.Ia().heading,pitch:this.Ia().pitch,pid:b,panoid:b,from:"api"},d;for(d in b)a+=d+"="+b[d]+"&"}return a.slice(0,-1)},Xt:function(){this.zn({copyrightControlOptions:{logoVisible:q}})}, UA:function(){this.zn({copyrightControlOptions:{logoVisible:o}})},Fx:function(a){function b(a,b){return function(){a.To.push({nH:b,mH:arguments})}}for(var d=a.getPanoMethodList(),e="",f=0,g=d.length;f<g;f++)e=d[f],this[e]=b(this,e);this.Hf.push(a)},zA:function(a){for(var b=this.Hf.length;b--;)this.Hf[b]===a&&this.Hf.splice(b,1)}});var X=Ma.prototype; W(X,{setId:X.zc,setPosition:X.ha,setPov:X.Kd,setZoom:X.od,setOptions:X.zn,getId:X.xb,getPosition:X.T,getPov:X.Ia,getZoom:X.$,getLinks:X.nQ,getBaiduMapUrl:X.KF,hideMapLogo:X.Xt,showMapLogo:X.UA,enableDoubleClickZoom:X.KV,disableDoubleClickZoom:X.BV,enableScrollWheelZoom:X.KP,disableScrollWheelZoom:X.qP,show:X.show,hide:X.J,addPlugin:X.Fx,removePlugin:X.zA,getVisible:X.jG,addOverlay:X.wa,removeOverlay:X.sb,getSceneType:X.St,setPanoramaPOIType:X.Hq}); W(window,{BMAP_PANORAMA_POI_HOTEL:"hotel",BMAP_PANORAMA_POI_CATERING:"catering",BMAP_PANORAMA_POI_MOVIE:"movie",BMAP_PANORAMA_POI_TRANSIT:"transit",BMAP_PANORAMA_POI_INDOOR_SCENE:"indoor_scene",BMAP_PANORAMA_POI_NONE:"none",BMAP_PANORAMA_INDOOR_SCENE:"inter",BMAP_PANORAMA_STREET_SCENE:"street"});function vd(){v.lang.oa.call(this);this.Dc="PanoramaOverlay_"+this.Q;this.H=p;this.Ea=o}v.lang.ga(vd,v.lang.oa,"PanoramaOverlayBase");v.extend(vd.prototype,{dW:u("Dc"),ea:function(){aa("initialize\u65b9\u6cd5\u672a\u5b9e\u73b0")},remove:function(){aa("remove\u65b9\u6cd5\u672a\u5b9e\u73b0")},Jf:function(){aa("_setOverlayProperty\u65b9\u6cd5\u672a\u5b9e\u73b0")}});function wd(a,b){vd.call(this);var d={position:p,altitude:2},b=b||{},e;for(e in b)d[e]=b[e];this.gb=d.position;this.wi=a;this.$n=d.altitude;this.va={heading:0,pitch:0}}v.lang.ga(wd,vd,"PanoramaLabel"); v.extend(wd.prototype,{ha:function(a){this.gb=a;this.Jf("position",a)},T:u("gb"),yc:function(a){this.wi=a;this.Jf("content",a)},Zi:u("wi"),IA:function(a){this.$n=a;this.Jf("altitude",a)},Sp:u("$n"),Ia:function(){var a=p;if(this.H){var a=this.H.T(),b=this.T(),a=xd(b.lng-a.lng,b.lat-a.lat);isNaN(a)&&(a=0);a={heading:a,pitch:0}}else a=this.va;return a},J:function(){aa("hide\u65b9\u6cd5\u672a\u5b9e\u73b0")},show:function(){aa("show\u65b9\u6cd5\u672a\u5b9e\u73b0")}});var zd=wd.prototype; W(zd,{setPosition:zd.ha,getPosition:zd.T,setContent:zd.yc,getContent:zd.Zi,setAltitude:zd.IA,getAltitude:zd.Sp,getPov:zd.Ia,show:zd.show,hide:zd.J});function Ad(a,b){vd.call(this);var d={icon:"",title:"",panoInfo:p,altitude:2},b=b||{},e;for(e in b)d[e]=b[e];this.gb=a;this.XC=d.icon;this.fE=d.title;this.$n=d.altitude;this.MM=d.panoInfo;this.va={heading:0,pitch:0}}v.lang.ga(Ad,vd,"PanoramaMarker"); v.extend(Ad.prototype,{ha:function(a){this.gb=a;this.Jf("position",a)},T:u("gb"),Wb:function(a){this.fE=a;this.Jf("title",a)},Qm:u("fE"),Lb:function(a){this.XC=icon;this.Jf("icon",a)},Hm:u("XC"),IA:function(a){this.$n=a;this.Jf("altitude",a)},Sp:u("$n"),Bz:u("MM"),Ia:function(){var a=p;if(this.H){var a=this.H.T(),b=this.T(),a=xd(b.lng-a.lng,b.lat-a.lat);isNaN(a)&&(a=0);a={heading:a,pitch:0}}else a=this.va;return a}});var Bd=Ad.prototype; W(Bd,{setPosition:Bd.ha,getPosition:Bd.T,setTitle:Bd.Wb,getTitle:Bd.Qm,setAltitude:Bd.IA,getAltitude:Bd.Sp,getPanoInfo:Bd.Bz,getIcon:Bd.Hm,setIcon:Bd.Lb,getPov:Bd.Ia});function xd(a,b){var d=180*(Math.atan(a/b)/Math.PI),e=0;0<a&&0>b&&(e=90);0>a&&0>b&&(e=180);0>a&&0<b&&(e=270);return Math.round((d+90)%90+e)};function S(a,b){this.H=a||p;var d=this;d.H&&d.P();K.load("pservice",function(){d.sK()});"api"==(b||{}).Ne?Oa(Fa):Oa(Ha);this.Lc={getPanoramaById:[],getPanoramaByLocation:[],getVisiblePOIs:[],getRecommendPanosById:[],getPanoramaVersions:[],checkPanoSupportByCityCode:[],getPanoramaByPOIId:[],getCopyrightProviders:[]}}C.ll(function(a){"flashRender"!==a.Pj()&&new S(a,{Ne:"api"})}); v.extend(S.prototype,{P:function(){function a(a){if(a){if(a.id!=b.ys){b.lI(a.id);var d=new N("ondataload");d.data=a;b.Ya=a.id;b.gb=a.position;b.TU=a.nj;b.UU=a.oj;b.zi=a.description;b.Wl=a.links;b.ja=a;b.dispatchEvent(d);b.dispatchEvent(new N("onposition_changed"));b.dispatchEvent(new N("onlinks_changed"));b.dispatchEvent(new N("oncopyright_changed"),{copyright:a.copyright});a.Oi?v.C.show(b.fw):v.C.J(b.fw)}}else b.Ya=b.Uj,b.gb=b.Tr,b.dispatchEvent(new N("onnoresult"))}var b=this.H,d=this;b.addEventListener("id_changed", function(){d.Lm(b.xb(),a)});b.addEventListener("iid_changed",function(){d.Mg(S.Hj+"qt=idata&iid="+b.vw+"&fn=",function(b){if(b&&b.result&&0==b.result.error){var b=b.content[0].interinfo,f={};f.Oi=b.BreakID;for(var g=b.Defaultfloor,i=p,k=0;k<b.Floors.length;k++)if(b.Floors[k].Floor==g){i=b.Floors[k];break}f.id=i.StartID||i.Points[0].PID;d.Lm(f.id,a,f)}})});b.addEventListener("position_changed_inner",function(){d.bi(b.T(),a)})},Lm:function(a,b){this.Lc.getPanoramaById.push(arguments)},bi:function(a, b,d){this.Lc.getPanoramaByLocation.push(arguments)},Jz:function(a,b,d,e){this.Lc.getVisiblePOIs.push(arguments)},Rt:function(a,b){this.Lc.getRecommendPanosById.push(arguments)},Qt:function(a){this.Lc.getPanoramaVersions.push(arguments)},Rx:function(a,b){this.Lc.checkPanoSupportByCityCode.push(arguments)},Pt:function(a,b){this.Lc.getPanoramaByPOIId.push(arguments)},OF:function(a){this.Lc.getCopyrightProviders.push(arguments)}});var Cd=S.prototype; W(Cd,{getPanoramaById:Cd.Lm,getPanoramaByLocation:Cd.bi,getPanoramaByPOIId:Cd.Pt});function Ub(a){uc.call(this);"api"==(a||{}).Ne?Oa(Aa):Oa(Ba)}Ub.SB=["http://pcsv0.map.bdimg.com/tile/","http://pcsv1.map.bdimg.com/tile/"];Ub.prototype=new uc;Ub.prototype.getTilesUrl=function(a,b){var d=Ub.SB[(a.x+a.y)%Ub.SB.length]+"?udt=v&qt=tile&styles=pl&x="+a.x+"&y="+a.y+"&z="+b;v.R.aa&&6>=v.R.aa&&(d+="&color_dep=32");return d};Ub.prototype.nq=da(o);Dd.de=new Q;function Dd(){}v.extend(Dd,{rP:function(a,b,d){d=v.lang.gd(d);b={data:b};"position_changed"==a&&(b.data=Dd.de.jh(new P(b.data.mercatorX,b.data.mercatorY)));d.dispatchEvent(new N("on"+a),b)}});var Ed=Dd;W(Ed,{dispatchFlashEvent:Ed.rP});var Fd={vJ:50,sr:"http://pcsv0.map.bdimg.com",or:{width:220,height:60}}; v.extend(Fd,{Wm:function(a,b,d,e){if(!b||!d||!d.lngLat||!d.panoInstance)e();else{this.bm===j&&(this.bm=new S(p,{Ne:"api"}));var f=this;this.bm.Rx(b,function(b){b?f.bm.bi(d.lngLat,Fd.vJ,function(b){if(b&&b.id){var g=b.id,l=b.nj,b=b.oj,m=S.de.eg(d.lngLat),n=f.OL(m,{x:l,y:b}),l=f.XF(g,n,0,Fd.or.width,Fd.or.height);a.content=f.PL(a.content,l,d.titleTip,d.beforeDomId);a.addEventListener("open",function(){ja.D(v.Xb("infoWndPano"),"click",function(){d.panoInstance.zc(g);d.panoInstance.show();d.panoInstance.Kd({heading:n, pitch:0})})})}e()}):e()})}},PL:function(a,b,d,e){var d=d||"",f;!e||!a.split(e)[0]?(e=a,a=""):(e=a.split(e)[0],f=e.lastIndexOf("<"),e=a.substring(0,f),a=a.substring(f));f=[];var g=Fd.or.width,i=Fd.or.height;f.push(e);f.push("<div id='infoWndPano' class='panoInfoBox' style='height:"+i+"px;width:"+g+"px; margin-top: -19px;'>");f.push("<img class='pano_thumnail_img' width='"+g+"' height='"+i+"' border='0' alt='"+d+"\u5916\u666f' title='"+d+"\u5916\u666f' src='"+b+"' onerror='Pano.PanoEntranceUtil.thumbnailNotFound(this, "+ g+", "+i+");' />");f.push("<div class='panoInfoBoxTitleBg' style='width:"+g+"px;'></div><a href='javascript:void(0)' class='panoInfoBoxTitleContent' >\u8fdb\u5165\u5168\u666f&gt;&gt;</a>");f.push("</div>");f.push(a);return f.join("")},OL:function(a,b){var d=90-180*Math.atan2(a.y-b.y,a.x-b.x)/Math.PI;0>d&&(d+=360);return d},XF:function(a,b,d,e,f){var g={panoId:a,panoHeading:b||0,panoPitch:d||0,width:e,height:f};return(Fd.sr+"/?qt=pr3d&fovy=75&quality=80&panoid={panoId}&heading={panoHeading}&pitch={panoPitch}&width={width}&height={height}").replace(/\{(.*?)\}/g, function(a,b){return g[b]})}});C.Map=Ka;C.Hotspot=eb;C.MapType=Ic;C.Point=I;C.Pixel=P;C.Size=M;C.Bounds=bb;C.TileLayer=uc;C.Projection=Xb;C.MercatorProjection=Q;C.PerspectiveProjection=db;C.Copyright=function(a,b,d){this.id=a;this.Pa=b;this.content=d};C.Overlay=Zb;C.Label=gc;C.GroundOverlay=hc;C.PointCollection=lc;C.Marker=T;C.Icon=cc;C.IconSequence=ec;C.Symbol=dc;C.Polyline=pc;C.Polygon=oc;C.InfoWindow=fc;C.Circle=rc;C.Control=R;C.NavigationControl=gb;C.GeolocationControl=Qb;C.OverviewMapControl=ib;C.CopyrightControl=Rb; C.ScaleControl=hb;C.MapTypeControl=jb;C.PanoramaControl=Tb;C.TrafficLayer=Fc;C.CustomLayer=kb;C.ContextMenu=Vb;C.MenuItem=Wb;C.LocalSearch=Za;C.TransitRoute=hd;C.DrivingRoute=kd;C.WalkingRoute=ld;C.Autocomplete=sd;C.Geocoder=nd;C.LocalCity=pd;C.Geolocation=Geolocation;C.BusLineSearch=rd;C.Boundary=qd;C.VectorCloudLayer=Dc;C.VectorTrafficLayer=Ec;C.Panorama=Ma;C.PanoramaLabel=wd;C.PanoramaService=S;C.PanoramaCoverageLayer=Ub;C.PanoramaFlashInterface=Dd;function W(a,b){for(var d in b)a[d]=b[d]}W(window,{BMap:C,_jsload2:function(a,b){ja.Xu.xR&&ja.Xu.set(a,b);K.CO(a,b)},BMAP_API_VERSION:"2.0"});var Y=Ka.prototype; W(Y,{getBounds:Y.Oe,getCenter:Y.Fa,getMapType:Y.ma,getSize:Y.yb,setSize:Y.Zc,getViewport:Y.dq,getZoom:Y.$,centerAndZoom:Y.zd,panTo:Y.hh,panBy:Y.wf,setCenter:Y.Ue,setCurrentCity:Y.LA,setMapType:Y.xf,setViewport:Y.og,setZoom:Y.od,highResolutionEnabled:Y.gj,zoomTo:Y.Bf,zoomIn:Y.oB,zoomOut:Y.pB,addHotspot:Y.Os,removeHotspot:Y.vS,clearHotspots:Y.Ak,checkResize:Y.EO,addControl:Y.Ms,removeControl:Y.WH,getContainer:Y.Da,addContextMenu:Y.mm,removeContextMenu:Y.kn,addOverlay:Y.wa,removeOverlay:Y.sb,clearOverlays:Y.TE, openInfoWindow:Y.hc,closeInfoWindow:Y.tc,pointToOverlayPixel:Y.$d,overlayPixelToPoint:Y.LH,getInfoWindow:Y.Yf,getOverlays:Y.Az,getPanes:function(){return{floatPane:this.xd.$y,markerMouseTarget:this.xd.fA,floatShadow:this.xd.FF,labelPane:this.xd.aA,markerPane:this.xd.hH,markerShadow:this.xd.iH,mapPane:this.xd.rq}},addTileLayer:Y.Mf,removeTileLayer:Y.mg,pixelToPoint:Y.ib,pointToPixel:Y.Db,setFeatureStyle:Y.MA,selectBaseElement:Y.gX,setMapStyle:Y.yn,enable3DBuilding:Y.Bm,disable3DBuilding:Y.nP}); var Gd=Ic.prototype;W(Gd,{getTileLayer:Gd.MQ,getMinZoom:Gd.Im,getMaxZoom:Gd.Rk,getProjection:Gd.Nm,getTextColor:Gd.bq,getTips:Gd.cq});W(window,{BMAP_NORMAL_MAP:La,BMAP_PERSPECTIVE_MAP:Na,BMAP_SATELLITE_MAP:Va,BMAP_HYBRID_MAP:Pa});var Hd=Q.prototype;W(Hd,{lngLatToPoint:Hd.eg,pointToLngLat:Hd.jh});var Id=db.prototype;W(Id,{lngLatToPoint:Id.eg,pointToLngLat:Id.jh});var Jd=bb.prototype; W(Jd,{equals:Jd.wb,containsPoint:Jd.ft,containsBounds:Jd.QO,intersects:Jd.Rz,extend:Jd.extend,getCenter:Jd.Fa,isEmpty:Jd.ji,getSouthWest:Jd.Yd,getNorthEast:Jd.Pe,toSpan:Jd.gB});var Kd=Zb.prototype;W(Kd,{isVisible:Kd.dg,show:Kd.show,hide:Kd.J});Zb.getZIndex=Zb.Xk;var Ld=cb.prototype;W(Ld,{openInfoWindow:Ld.hc,closeInfoWindow:Ld.tc,enableMassClear:Ld.$h,disableMassClear:Ld.pP,show:Ld.show,hide:Ld.J,getMap:Ld.Kt,addContextMenu:Ld.mm,removeContextMenu:Ld.kn});var Md=T.prototype; W(Md,{setIcon:Md.Lb,getIcon:Md.Hm,setPosition:Md.ha,getPosition:Md.T,setOffset:Md.Id,getOffset:Md.Zf,getLabel:Md.tz,setLabel:Md.tl,setTitle:Md.Wb,setTop:Md.mh,enableDragging:Md.$b,disableDragging:Md.ty,setZIndex:Md.Nq,getMap:Md.Kt,setAnimation:Md.sl,setShadow:Md.Ou,hide:Md.J,setRotation:Md.Bn,getRotation:Md.bG});W(window,{BMAP_ANIMATION_DROP:1,BMAP_ANIMATION_BOUNCE:2});var Nd=gc.prototype; W(Nd,{setStyle:Nd.$c,setStyles:Nd.lh,setContent:Nd.yc,setPosition:Nd.ha,getPosition:Nd.T,setOffset:Nd.Id,getOffset:Nd.Zf,setTitle:Nd.Wb,setZIndex:Nd.Nq,getMap:Nd.Kt,getContent:Nd.Zi});var Od=cc.prototype;W(Od,{setImageUrl:Od.aT,setSize:Od.Zc,setAnchor:Od.Sb,setImageOffset:Od.Fq,setImageSize:Od.ZS,setInfoWindowAnchor:Od.cT,setPrintImageUrl:Od.lT});var Pd=fc.prototype; W(Pd,{redraw:Pd.nd,setTitle:Pd.Wb,setContent:Pd.yc,getContent:Pd.Zi,getPosition:Pd.T,enableMaximize:Pd.Qf,disableMaximize:Pd.vt,isOpen:Pd.Ja,setMaxContent:Pd.Gq,maximize:Pd.ku,enableAutoPan:Pd.Np});var Qd=ac.prototype; W(Qd,{getPath:Qd.Cd,setPath:Qd.Jd,setPositionAt:Qd.vl,getStrokeColor:Qd.GQ,setStrokeWeight:Qd.Lq,getStrokeWeight:Qd.eG,setStrokeOpacity:Qd.Jq,getStrokeOpacity:Qd.HQ,setFillOpacity:Qd.Lu,getFillOpacity:Qd.gQ,setStrokeStyle:Qd.Kq,getStrokeStyle:Qd.dG,getFillColor:Qd.fQ,getBounds:Qd.Oe,enableEditing:Qd.Me,disableEditing:Qd.oP});var Rd=rc.prototype;W(Rd,{setCenter:Rd.Ue,getCenter:Rd.Fa,getRadius:Rd.ZF,setRadius:Rd.we});var Sd=oc.prototype;W(Sd,{getPath:Sd.Cd,setPath:Sd.Jd,setPositionAt:Sd.vl}); var Td=eb.prototype;W(Td,{getPosition:Td.T,setPosition:Td.ha,getText:Td.Fz,setText:Td.Mq});I.prototype.equals=I.prototype.wb;P.prototype.equals=P.prototype.wb;M.prototype.equals=M.prototype.wb;W(window,{BMAP_ANCHOR_TOP_LEFT:Nb,BMAP_ANCHOR_TOP_RIGHT:Ob,BMAP_ANCHOR_BOTTOM_LEFT:Pb,BMAP_ANCHOR_BOTTOM_RIGHT:3});var Ud=R.prototype;W(Ud,{setAnchor:Ud.Sb,getAnchor:Ud.ez,setOffset:Ud.Id,getOffset:Ud.Zf,show:Ud.show,hide:Ud.J,isVisible:Ud.dg,toString:Ud.toString});var Vd=gb.prototype;W(Vd,{getType:Vd.Rm,setType:Vd.xl}); W(window,{BMAP_NAVIGATION_CONTROL_LARGE:0,BMAP_NAVIGATION_CONTROL_SMALL:1,BMAP_NAVIGATION_CONTROL_PAN:2,BMAP_NAVIGATION_CONTROL_ZOOM:3});var Wd=ib.prototype;W(Wd,{changeView:Wd.Ad,setSize:Wd.Zc,getSize:Wd.yb});var Xd=hb.prototype;W(Xd,{getUnit:Xd.QQ,setUnit:Xd.SA});W(window,{BMAP_UNIT_METRIC:"metric",BMAP_UNIT_IMPERIAL:"us"});var Yd=Rb.prototype;W(Yd,{addCopyright:Yd.Ns,removeCopyright:Yd.yA,getCopyright:Yd.Pk,getCopyrightCollection:Yd.mz}); W(window,{BMAP_MAPTYPE_CONTROL_HORIZONTAL:Sb,BMAP_MAPTYPE_CONTROL_DROPDOWN:1,BMAP_MAPTYPE_CONTROL_MAP:2});var Zd=uc.prototype;W(Zd,{getMapType:Zd.ma,getCopyright:Zd.Pk,isTransparentPng:Zd.nq});var $d=Vb.prototype;W($d,{addItem:$d.Ps,addSeparator:$d.Gx,removeSeparator:$d.AA});var ae=Wb.prototype;W(ae,{setText:ae.Mq});var be=V.prototype; W(be,{getStatus:be.Uk,setSearchCompleteCallback:be.QA,getPageCapacity:be.pe,setPageCapacity:be.An,setLocation:be.ul,disableFirstResultSelection:be.uy,enableFirstResultSelection:be.Ny,gotoPage:be.Yk,searchNearby:be.vn,searchInBounds:be.rl,search:be.search});W(window,{BMAP_STATUS_SUCCESS:0,BMAP_STATUS_CITY_LIST:1,BMAP_STATUS_UNKNOWN_LOCATION:2,BMAP_STATUS_UNKNOWN_ROUTE:3,BMAP_STATUS_INVALID_KEY:4,BMAP_STATUS_INVALID_REQUEST:5,BMAP_STATUS_PERMISSION_DENIED:6,BMAP_STATUS_SERVICE_UNAVAILABLE:7,BMAP_STATUS_TIMEOUT:8}); W(window,{BMAP_POI_TYPE_NORMAL:0,BMAP_POI_TYPE_BUSSTOP:1,BMAP_POI_TYPE_BUSLINE:2,BMAP_POI_TYPE_SUBSTOP:3,BMAP_POI_TYPE_SUBLINE:4});W(window,{BMAP_TRANSIT_POLICY_LEAST_TIME:0,BMAP_TRANSIT_POLICY_LEAST_TRANSFER:2,BMAP_TRANSIT_POLICY_LEAST_WALKING:3,BMAP_TRANSIT_POLICY_AVOID_SUBWAYS:4,BMAP_LINE_TYPE_BUS:0,BMAP_LINE_TYPE_SUBWAY:1,BMAP_LINE_TYPE_FERRY:2});var ce=gd.prototype;W(ce,{clearResults:ce.Xd});id=hd.prototype;W(id,{setPolicy:id.Iq,toString:id.toString,setPageCapacity:id.An}); W(window,{BMAP_DRIVING_POLICY_LEAST_TIME:0,BMAP_DRIVING_POLICY_LEAST_DISTANCE:1,BMAP_DRIVING_POLICY_AVOID_HIGHWAYS:2});W(window,{BMAP_HIGHLIGHT_STEP:1,BMAP_HIGHLIGHT_ROUTE:2});W(window,{BMAP_ROUTE_TYPE_DRIVING:Tc,BMAP_ROUTE_TYPE_WALKING:Sc});W(window,{BMAP_ROUTE_STATUS_NORMAL:Uc,BMAP_ROUTE_STATUS_EMPTY:1,BMAP_ROUTE_STATUS_ADDRESS:2});var de=kd.prototype;W(de,{setPolicy:de.Iq});var ee=sd.prototype;W(ee,{show:ee.show,hide:ee.J,setTypes:ee.RA,setLocation:ee.ul,search:ee.search,setInputValue:ee.Mu}); W(kb.prototype,{});var fe=qd.prototype;W(fe,{get:fe.get});W(Ub.prototype,{});W($a.prototype,{});W(window,{BMAP_POINT_DENSITY_HIGH:200,BMAP_POINT_DENSITY_MEDIUM:Hc,BMAP_POINT_DENSITY_LOW:50});W(window,{BMAP_POINT_SHAPE_STAR:1,BMAP_POINT_SHAPE_WATERDROP:2,BMAP_POINT_SHAPE_CIRCLE:ic,BMAP_POINT_SHAPE_SQUARE:4,BMAP_POINT_SHAPE_RHOMBUS:5});W(window,{BMAP_POINT_SIZE_TINY:1,BMAP_POINT_SIZE_SMALLER:2,BMAP_POINT_SIZE_SMALL:3,BMAP_POINT_SIZE_NORMAL:jc,BMAP_POINT_SIZE_BIG:5,BMAP_POINT_SIZE_BIGGER:6,BMAP_POINT_SIZE_HUGE:7}); W(window,{BMap_Symbol_SHAPE_CAMERA:11,BMap_Symbol_SHAPE_WARNING:12,BMap_Symbol_SHAPE_SMILE:13,BMap_Symbol_SHAPE_CLOCK:14,BMap_Symbol_SHAPE_POINT:9,BMap_Symbol_SHAPE_PLANE:10,BMap_Symbol_SHAPE_CIRCLE:1,BMap_Symbol_SHAPE_RECTANGLE:2,BMap_Symbol_SHAPE_RHOMBUS:3,BMap_Symbol_SHAPE_STAR:4,BMap_Symbol_SHAPE_BACKWARD_CLOSED_ARROW:5,BMap_Symbol_SHAPE_FORWARD_CLOSED_ARROW:6,BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW:7,BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW:8});C.eO(); })()