var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /**/_jsload2&&_jsload2('map', 'wb.prototype.cancel=ja(1,function(){this.ws&&clearTimeout(this.ws);this.CA=this.kv;this.$y=0}); B.Xe(function(a){if(!a.B||!a.B.py){a.oy()?(Bg(a),Cg(a),Dg(a)):a.addEventListener("load",function(){Bg(this);Cg(this);Dg(this)});a.dh="\\u4e2d\\u56fd";a.Cs="1";var b={QD:o,eb:function(){if(b.QD){b.QD=q;setTimeout(function(){b.mg()},500)}},mg:function(){var c=a.Kd(),d=a.ga(),e=T.tb(c.xe()),c=T.tb(c.pf());de.eb(function(c){c.current_city.code>=9E3&&c.current_city.code<=9378&&(c.current_city.name="\\u53f0\\u6e7e\\u7701");c.current_city.code>=2E4&&c.current_city.code<=20499&&(c.current_city.name="\\u65b0\\u52a0\\u5761"); c.current_city.code>=20500&&c.current_city.code<=25999&&(c.current_city.name="\\u6cf0\\u56fd");c.current_city.code>=26E3&&c.current_city.code<=29999&&(c.current_city.name="\\u65e5\\u672c");c.current_city.code>=3E4&&c.current_city.code<=30999&&(c.current_city.name="\\u97e9\\u56fd");c.current_city.code>=31E3&&c.current_city.code<=37E3&&(c.current_city.name="\\u4e9a\\u592a");c.current_city.code>=46609&&c.current_city.code<=52505&&(c.current_city.name="\\u6b27\\u6d32");c.current_city.code>=39509&&c.current_city.code<= 53500&&(c.current_city.name="\\u5357\\u7f8e\\u6d32");c.current_city.code>=54E3&&c.current_city.code<=7E4&&(c.current_city.name="\\u5317\\u7f8e\\u6d32");c.current_city.code===54003&&(c.current_city.code>=60731&&c.current_city.code<=61123)&&(c.current_city.name="\\u7f8e\\u56fd");if(c.current_city.code===54015||c.current_city.code>=57970&&c.current_city.code<=60223)c.current_city.name="\\u52a0\\u62ff\\u5927";if(c.current_city.code===54025||c.current_city.code>=54338&&c.current_city.code<=57374)c.current_city.name= "\\u58a8\\u897f\\u54e5";b.QD=o;if(c&&c.current_city){var d=c.current_city.name,e=c.current_city.code;e!==a.Cs&&a.dispatchEvent("citychange",{name:d,code:e});a.dh=d;a.Cs=c.current_city.code;J()||Eg(a)}},{qt:"cen",b:e.lng+","+e.lat+";"+c.lng+","+c.lat,l:d},"","",o)}};a.addEventListener("load",function(){b.eb()});a.addEventListener("moveend",function(){b.eb()});a.addEventListener("zoomend",function(){b.eb()});b.eb()}}); function Bg(a){if(!a.R.yW){a.R.yW=o;if(!a.px){var b=new M(2,2);J()&&(b.width=72,b.height=0);var c=new Xc({offset:b,printable:o});a.px=c}J()||(Eg(a),a.addEventListener("maptypechange",function(){Eg(a)}));a.Ro(c);var d=new Fg;d.k={Eg:o};a.Ro(d);a.addEventListener("resize",function(){if(this.vb().width>=300&&a.vb().height>=100){d.show();c.Ye(b)}else{d.U();c.Ye(new M(4,2))}});300<=a.vb().width&&100<=a.vb().height&&a.B.tZ?d.show():(d.U(),c.Ye(new M(4,2)))}} function Eg(a){if(!a.px){var b=new M(2,2);J()&&(b.width=72,b.height=0);b=new Xc({offset:b,printable:o});a.px=b}var c=a.dh||"\\u4e2d\\u56fd",b=a.oa(),d="\\u5e38\\u5dde\\u5e02 \\u5357\\u660c\\u5e02 \\u4e4c\\u9c81\\u6728\\u9f50\\u5e02 \\u65e0\\u9521\\u5e02 \\u798f\\u5dde\\u5e02 \\u6cc9\\u5dde\\u5e02 \\u73e0\\u6d77\\u5e02 \\u8d35\\u9633\\u5e02".split(" "),e="\\u5317\\u4eac\\u5e02 \\u4e0a\\u6d77\\u5e02 \\u5e7f\\u5dde\\u5e02 \\u6df1\\u5733\\u5e02 \\u5b81\\u6ce2\\u5e02 \\u77f3\\u5bb6\\u5e84\\u5e02 \\u6c88\\u9633\\u5e02 \\u957f\\u6625\\u5e02 \\u9752\\u5c9b\\u5e02 \\u6e29\\u5dde\\u5e02 \\u53f0\\u5dde\\u5e02 \\u91d1\\u534e\\u5e02 \\u4f5b\\u5c71\\u5e02 \\u4e2d\\u5c71\\u5e02 \\u6606\\u660e\\u5e02 \\u5357\\u5b81\\u5e02 \\u82cf\\u5dde\\u5e02 \\u897f\\u5b89\\u5e02 \\u6d4e\\u5357\\u5e02 \\u90d1\\u5dde\\u5e02 \\u5408\\u80a5\\u5e02 \\u547c\\u548c\\u6d69\\u7279\\u5e02 \\u676d\\u5dde\\u5e02 \\u6210\\u90fd\\u5e02 \\u6b66\\u6c49\\u5e02 \\u957f\\u6c99\\u5e02 \\u5929\\u6d25\\u5e02 \\u5357\\u4eac\\u5e02 \\u91cd\\u5e86\\u5e02 \\u5927\\u8fde\\u5e02 \\u4e1c\\u839e\\u5e02 \\u53a6\\u95e8\\u5e02".split(" "), f=["\\u9999\\u6e2f\\u7279\\u522b\\u884c\\u653f\\u533a"],g;for(g in d)if(d[g]===c){var i=o;break}for(g in e)if(e[g]===c)break;for(g in f)if(f[g]===c){var j=o;break}if("\\u53f0\\u6e7e\\u7701"===c)var l=o;if("\\u65b0\\u52a0\\u5761"===c)var m=o;if("\\u65e5\\u672c"===c)var n=o;if("\\u97e9\\u56fd"===c)var s=o;if("\\u6cf0\\u56fd"===c)var u=o;if("\\u4e9a\\u592a"===c)var w=o;if("\\u6b27\\u6d32"===c)var y=o;if("\\u5357\\u7f8e\\u6d32"===c)var D=o;if("\\u5317\\u7f8e\\u6d32"===c)var C=o;if("\\u7f8e\\u56fd"===c)var F=o;if("\\u52a0\\u62ff\\u5927"=== c)var A=o;if("\\u58a8\\u897f\\u54e5"===c)var z=o;g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "];c="rgba(255, 255, 255, 0.701961)";9>=a.ga()?g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:l?g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:n||s?g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]: m||u?g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:w?g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:y?g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]:D?g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]: C&&(g=["© 2023 Baidu - GS(2021)6026\\u53f7 - \\u7532\\u6d4b\\u8d44\\u5b5711111342 - \\u4eacICP\\u8bc1030173\\u53f7 - Data © "]);if(9>=a.ga()){g.push("\\u767e\\u5ea6\\u667a\\u56fe");g.push(\' & OpenStreetMap\');g.push(\' & HERE\');if(b===bb||b===Ua)g.push(\' & ESO\'),c="rgba(0,0,0,.7)";b===Ra&&(g.push(\' & \\u90fd\\u5e02\\u5708\'), c="none")}else if(n||s)g.push(\'OpenStreetMap\');else if(m||u)g.push(\'HERE\');else if(w)g.push(\'HERE\'),g.push(\' & Mapbox\');else if(y)g.push(\'OpenStreetMap\'),g.push(\' & Mapbox\'); else if(D)g.push(\'OpenStreetMap\'),g.push(\' & Mapbox\');else if(F||z||A)g.push(\'HERE\'),g.push(\' & Mapbox\');else if(C)g.push(\'OpenStreetMap\'),g.push(\' & Mapbox\'); else{g.push("\\u767e\\u5ea6\\u667a\\u56fe");i&&g.push(\' & PalmCity\');j&&g.push(\' & MapKing\');l&&(g.push(\' & HERE\'),g.push(\' & \\u6a02\\u5ba2LocalKing\'));if(b===bb||b===Ua)c="rgba(0,0,0,.7)"; b===Ra&&(g.push(\' & \\u90fd\\u5e02\\u5708\'),c="none")}g.unshift(\'\');g.push("");g=g.join("");a.px.Pw({id:1,content:g})} function Cg(a){J()||sa(B.jc+"?qt=business_accredit&v=2.1&ak="+ra,function(b){b&&(0===b.error&&b.content&&0===b.content.status)&&(b.content.data&&b.content.data.is_auth)&&(b=new Gg({}),a.$w=b,a.Ro(b),a.B.HD||b.U())})}B.Sp=p;function Dg(a){B.Sp=new Hg({});a.Ro(B.Sp)}function Fg(){this.defaultAnchor=Uc;this.defaultOffset=new M(1,20);J()&&(this.defaultOffset=new M(1,1));this.Zq=30;this.nl=I.pa+(J()?"copyright_logo_s.png":"copyright_logo.png")}Fg.prototype=new Rc; Fg.prototype.initialize=function(a){this.D=a;var b=H("div");b.style.height="32px";var c=H("a",{title:"\\u5230\\u767e\\u5ea6\\u5730\\u56fe\\u67e5\\u770b\\u6b64\\u533a\\u57df",target:"_blank",href:"https://web.archive.org/web/20240320164225/http://map.baidu.com/?sr=1"});c.style.outline="none";c.innerHTML=6===x.da.ma?"
":"";J()&&(1");b.appendChild(c);a.Ga().appendChild(b);return b};function Gg(a){this.defaultAnchor=Uc;this.defaultOffset=a.defaultOffset||new M(90,20);this.Zq=30;this.nl=I.pa+"bizAuth.png"}Gg.prototype=new Rc; Gg.prototype.initialize=function(a){this.D=a;var b=H("div");b.style.height="27px";var c=H("a",{title:"\\u767e\\u5ea6\\u5730\\u56fe\\u5546\\u7528\\u6388\\u6743",target:"_blank",href:"https://web.archive.org/web/20240320164225/http://lbs.baidu.com/cashier/auth?src=jsapi2.0"});c.style.outline="none";c.innerHTML=6===x.da.ma?"
":"";b.appendChild(c);a.Ga().appendChild(b); return b};function Hg(a){this.defaultAnchor=Tc;this.defaultOffset=a.defaultOffset||new M(90,6);this.Zq=9999;this.Oa=q}Hg.prototype=new Rc; Hg.prototype.initialize=function(a){this.D=a;var b=this,c=H("div"),d=c.style;d.left=d.top="50%";d.display="none";d.padding="24px";d.overflow="visible";d.position="absolute";d.width="50%";d.maxWidth="360px";d.transform="translate(-50% , -100%)";d.zIndex="9999";d.background="#fff";d.O5="none";d=H("span",{style:"margin-top: 12px;\\n margin-bottom: -12px;\\n margin-left: calc(100% - 48px);\\n width: 56px;\\n height: 32px;\\n font-size: 14px;\\n text-align: center;\\n line-height: 32px;\\n display: block;\\n cursor: pointer;\\n background: #3894FF;\\n border: solid 1px #3f51b53b;\\n color: #fff;\\n border-radius: 3px;"});d.innerText= "\\u786e\\u5b9a";d.addEventListener("click",function(){b.U()});var e=H("div"),f=e.style;f.position="relative";f.width="100%";f.height="100%";f.color="#000";f.fontSize="14px";f.X5="break-all";c.appendChild(e);c.appendChild(d);a.Ga().appendChild(c);return c};Hg.prototype.Eo=t();Hg.prototype.update=function(a){this.vg()||(this.C.firstChild.innerText=a,this.show())};x.extend(Na.prototype,{Ab:function(){this.ca()},ca:function(){var a=this;a.No=function(){var b=a.vb();if(a.width!=b.width||a.height!=b.height){var c=new M(a.width,a.height),d=new N("onbeforeresize");d.size=c;a.dispatchEvent(d);a.pk((b.width-a.width)/2,(b.height-a.height)/2);a.Ae.style.width=(a.width=b.width)+"px";a.Ae.style.height=(a.height=b.height)+"px";c=new N("onresize");c.size=b;a.dispatchEvent(c);b=parseInt(a.platform.style.left)||0;c=parseInt(a.platform.style.top)||0;0!=a.Sa&&(a.offsetX!=b|| a.offsetY!=c)&&a.Me(b,c)}};a.B.dt&&!a.R.lm&&(a.R.lm=setInterval(a.No,80));J()||(x.M(a.Ae,"mouseover",function(b){Gb(b);a.dispatchEvent(new N("onmouseover"))}),x.M(a.Ae,"mouseout",function(b){Gb(b);a.dispatchEvent(new N("onmouseout"))}))},Me:function(a,b,c,d){if(!isNaN(a)&&!isNaN(b)&&!(this.offsetX==a&&this.offsetY==b)){var e=this.oa(),f=e.k.$a,g=this.offsetY-b,e=e.yc(this.Na),i=this.Nd.Lk(this.re),j=new K(i.lng+(this.offsetX-a)*e,i.lat-(this.offsetY-b)*e);j.lat-this.height/2*e<=f.$d&&0<=g&&(b=f.$d+ this.height/2*e,b=this.offsetY-(i.lat-b)/e);j.lat+this.height/2*e>f.Yd&&0>g&&(b=f.Yd-this.height/2*e,b=this.offsetY-(i.lat-b)/e);this.pk(this.offsetX-a,this.offsetY-b,c);a=Math.round(a);b=Math.round(b);this.offsetX=a;this.offsetY=b;this.platform.style.left=a+"px";this.platform.style.top=b+"px";this.Ae.style.left=-a+"px";this.Ae.style.top=-b+"px";d!=q&&this.dispatchEvent(new N("onmoving"))}},Ai:function(a,b){if(a instanceof O||a instanceof K){var a=$a(a,this),c=this.Cc(a),d=Math.round(this.width/2), e=Math.round(this.height/2),b=b||{};Math.abs(d-c.x)>this.width||Math.abs(e-c.y)>this.height||b.noAnimation?this.iJ(d-c.x,e-c.y,a):this.Ol(d-c.x,e-c.y,{duration:b.duration})}},iJ:function(a,b,c){var d=this.R;d.Ic!=o&&(d.nb&&d.nb.stop(),this.dispatchEvent(new N("onmovestart")),this.Me(this.offsetX+a,this.offsetY+b,c),this.dispatchEvent(new N("onmoveend")))},Ag:function(a,b,c){a=Math.round(a)||0;b=Math.round(b)||0;c=c||{};Math.abs(a)<=this.width&&Math.abs(b)<=this.height&&!c.noAnimation?this.Ol(a,b): this.iJ(a,b)},Ol:function(a,b,c){if(this.R.Ic!=o){c=c||{};this.dispatchEvent(new N("onmovestart"));var d=this,e=d.R;e.Sy=d.offsetX;e.m=d.offsetY;e.rG&&e.rG.cancel();e.nb&&e.nb.stop();e.rG=new wb({Hc:c.Hc||d.B.Hc,duration:c.duration||d.B.yV,hc:c.hc||xb.wL,va:function(c){(this.mG=d.R.Ic)||d.Me(e.Sy+Math.ceil(a*c),e.m+Math.ceil(b*c))},finish:function(){d.dispatchEvent(new N("onmoveend"));d.R.rG=q;d.R.Fi==o&&(d.R.Fi=q,0!=d.R.lc&&d.gb())}})}},AY:function(a,b){var c=this.oa();if("object"!=typeof c)return p; c=256*c.yc(b);a=T.tb(a);return{Xy:parseInt(a.lng/c),kx:parseInt(a.lat/c),wg:b}}});U(Tf,{panTo:Tf.Ai,panBy:Tf.Ag}); ');_jsload2&&_jsload2('scommon', 'var Vh=new M(23,25),Wh=new M(9,25),Xh=new M(9,0);X.EV=function(a,b,c,d){var e=Yh(b);if(e&&!(0>c||9b.length)return;b[0]=parseFloat(x.trim(b[0]));b[1]=parseFloat(x.trim(b[1]))}else if(b=a.slice(0),2>b.length)return;b=new O(b[0],b[1])}return b}} X.LW=function(a){var b=a.title,c=a.As,d=a.r0,e=a.WW,a=a.BF||0;if(!b)return p;var f=b;1==a?f+="-\\u516c\\u4ea4\\u8f66\\u7ad9":3==a&&(f+="-\\u5730\\u94c1\\u7ad9");var g=13;e&&(g=10);f.replace(/[\\u0100-\\uffff]/g,"##").length>2*g+1&&(f=f.substring(0,g)+"…");b="

"+f;e&&(b+="\\u8be6\\u60c5\\u00bb"); b+="

";e=[];e.push("
");if(c){f="\\u5730\\u5740\\uff1a";if(1==a||3==a)f="\\u8f66\\u6b21\\uff1a";e.push(\'\');e.push(\'");d&&e.push(\'");e.push("
\'+f+\' \');e.push(c+" 
\\u7535\\u8bdd\\uff1a\'+ d+"
")}else d&&(e.push(\'\'),e.push(\'
\\u7535\\u8bdd\\uff1a\'+d+"
"));e.push("
");return new td(e.join(""),{title:b,height:0,width:230,margin:[10,10,20,10]})}; X.So=function(a,b,c,d){if(b=Yh(b))return d=new W(b,{icon:J()?new nd(I.pa+"dest_mkr.png",new M(29,34),{anchor:new M(14,32),imageSize:new M(94,41),imageOffset:new M(-29*d,0),infoWindowAnchor:new M(14,0)}):new nd(I.pa+"dest_markers.png",new M(42,34),{anchor:new M(14,32),imageOffset:new M(0,-34*d),infoWindowAnchor:new M(14,0)}),baseZIndex:35E5,draggingCursor:"pointer"}),a.Ka(d),c&&d.Dc(c),d};X.To=function(a,b){return X.fm(a,b,ce)}; X.sQ=[{stroke:6,color:"#0030ff",opacity:0.45,style:"solid"},{stroke:5,color:"#00bd00",opacity:0.95,style:"solid"},{stroke:5,color:"#ffac00",opacity:0.95,style:"solid"},{stroke:5,color:"#f41c0d",opacity:0.95,style:"solid"}]; X.rQ=[{stroke:6,color:"#0030ff",opacity:0.45,style:"solid"},{stroke:6,color:"#0030ff",opacity:0.45,style:"solid"},{stroke:4,color:"#30a208",opacity:0.55,style:"dashed"},{stroke:5,color:"#0030ff",opacity:0.45,style:"solid"},{stroke:4,color:"#ff0103",opacity:0.65,style:"dashed"},{stroke:5,color:"#ff0103",opacity:0.65,style:"solid"}]; X.qK=function(a,b,c){var d=X.sQ;"undefined"==typeof c&&(c=0);if(d[c])return d=d[c],b=new Dd(b,{strokeWeight:d.stroke,strokeColor:d.color,strokeOpacity:d.opacity,strokeStyle:d.style,clickable:q}),a.Ka(b),b.s2=c,b}; X.fm=function(a,b,c){var d=X.rQ;"undefined"==typeof c&&(c=0);if(d[c]){var e=d[c],d=new Dd(b,{strokeWeight:e.stroke,strokeColor:e.color,strokeOpacity:e.opacity,strokeStyle:e.style,clickable:q});a.Ka(d);d.m2=c;c==ce&&(b=new Dd(b,{strokeWeight:e.stroke-2,strokeColor:"#fff",strokeOpacity:0.3,clickable:q}),d.EB=b,a.Ka(b));return d}}; X.qx=function(a){var b=a.content,c=a.ux,d=a.total,e=a.Hy,f=a.H4,a=a.MY,g=["
"];b&&g.push("
"+b+"
");a||g.push(X.CX(d,c));g.push("
");b=new td(g.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});if(a)return b;b.addEventListener("open",function(){var a=J()?"touchend":"click";x.Ec("trans_prev")&&x.M(x.Ec("trans_prev"),a,function(){e&&"function"==typeof e&&e(c-1,f)});x.Ec("trans_next")&&x.M(x.Ec("trans_next"), a,function(){e&&"function"==typeof e&&e(c+1,f)})});return b}; X.CX=function(a,b){var c=[];c.push(\'\');c.push(\'");c.push(\'
\');0==b?c.push(\'\\u4e0a\\u4e00\\u6b65\'):c.push(\'\\u4e0a\\u4e00\\u6b65\');c.push("\'); b==a+1?c.push(\'\\u4e0b\\u4e00\\u6b65\'):c.push(\'\\u4e0b\\u4e00\\u6b65\');c.push("
");return c.join("")}; X.sK=function(a,b,c,d){if(b=Yh(b)){c=c||0;if(J())c=new nd(I.pa+"dest_mkr.png",new M(20,20),{imageSize:new M(94,41),imageOffset:new M(-59,-21*c),infoWindowAnchor:new M(10,0)});else{var e=-55;1==c&&(e=-76);c=new nd(I.pa+"trans_icons.png",new M(21,21),{imageOffset:new M(0,e),infoWindowAnchor:new M(10,0)})}c=new W(b,{icon:c});a.Ka(c);d&&c.Dc(d);return c}};X.vt=function(a){return a&&a.La&&a.La.qg?a.La.qg.childNodes[0]:p}; X.HV=function(a,b,c){b=new W(b,{icon:new nd(Ne.iV,new M(11,11))});c&&b.Dc(c);a.Ka(b);return b};X.nK=function(a,b){var c=new W(b,{icon:new nd(I.pa+"drag.png",new M(11,11)),draggingCursor:"pointer"});a.Ka(c);c.uu(10);return c};X.tK=function(a,b,c){b=new W(b,{icon:new nd(I.pa+"way-points.png",new M(36,40),{imageOffset:new M(-11+-36*c,-35)}),draggingCursor:"pointer",offset:new M(5,-20)});a.Ka(b);b.uu(10);return b}; X.bL=function(){var a=new ud("\\u62d6\\u52a8\\u4ee5\\u66f4\\u6539\\u8def\\u7ebf",{offset:new M(30,-10)});a.bd({border:"solid 1px gray",padding:"2px",whiteSpace:"nowrap",background:"#fff"});return a};X.OX=function(a,b){if(a&&b)return Math.round(Math.sqrt(Math.pow(a.x-b.x,2)+Math.pow(a.y-b.y,2)))}; X.FV=function(a,b,c,d){var e={type:"RouteAddrMarker"},a=Yh(a),e=e||{};e.type=e.type||"normal";if(a&&!("undefined"==typeof b||0>b||9a&&(a=1);18b?b=0:0.25b?b=1:32=i&&(f=f.join(";")); if(2==i){b=(f[0]+";"+f[1]).split(";");e=[];for(c=0;cb.length)return;b[0]=parseFloat(ka.trim(b[0]));b[1]=parseFloat(ka.trim(b[1]))}else if(b=a.slice(0),2>b.length)return;b=new B.Zf(b[0],b[1])}return b};Q.aO=function(a){a=a.split(",");a=new K(a[0],a[1]);return T.ub(a)}; Q.wg={country:4,province:11,city:12,A2:13};var ci=["=",".","-","*"],di=8388608; function bi(a){var b;b=a.charAt(0);var c=-1;b==ci[1]?c=ai:b==ci[2]?c=$h:b==ci[3]&&(c=Zh);b=c;for(var c=a.substr(1),d=0,e=c.length,f=[],a=[],g=[];de-d)return 0;a:{for(var g=c.substr(d,13),i=f,j=0,l=0,m=0,n=0;6>n;n++){m=ei(g.substr(1+n,1));if(0>m){g=-1-n;break a}j+=m<<6*n;m=ei(g.substr(7+n,1));if(0>m){g=-7-n;break a}l+=m<<6*n}i.push(j);i.push(l);g=0}if(0>g)return 0;d+=13}else if(";"==c.charAt(d))a.push(f.slice(0)),f.length=0,++d;else{if(8>e-d)return 0;g=fi(c.substr(d, 8),f);if(0>g)return 0;d+=8}c=0;for(d=a.length;cc)return-1;for(var d=0,e=0,f=0,g=0;4>g;g++){f=ei(a.substr(g,1));if(0>f)return-1-g;d+=f<<6*g;f=ei(a.substr(4+g,1));if(0>f)return-5-g;e+=f<<6*g}d>di&&(d=di-d);e>di&&(e=di-e);b.push(b[c-2]+d);b.push(b[c-1]+e);return 0}function ei(a){var b=a.charCodeAt(0);return"A"<=a&&"Z">=a?b-65:"a"<=a&&"z">=a?26+b-97:"0"<=a&&"9">=a?52+b-48:"+"==a?62:"/"==a?63:-1}; ');_jsload2&&_jsload2('mapclick', 'var Zh=0,$h=1,ai=2,Li,Mi=p;Va=function(a){this.map=a;this.AF=this.ix=p;this.Zo={};this.vZ=8;this.qm=[];this.g0=4;this.jG="";this.Yk=this.he=this.ie=this.Be=this.fn=p;this.It=this.Gp="";this.tz=p;this.ui=0;this.WE=q;this.XN=p;this.wm=this.GL="";this.xj=new nd(I.pa+"spotmkrs.png",new M(18,18),{anchor:new M(9,9),imageOffset:new M(0,0),infoWindowOffset:new M(10,0)});this.ME()};Mi=Va.prototype; Mi.ME=function(){var a=this;a.GV();a.bind();a.Va=o;setTimeout(function(){a.ao()},1E3);setInterval(function(){a.WE=q},300)};Mi.N5=ea(q);Mi.bind=function(){this.WV();this.XV();this.YV();this.ZV()};Mi.ZV=function(){var a=this,b=this.map;b.addEventListener("vectorchanged",function(c,d){d.isvector?a.close():b.B.pj==o&&a.open()})}; Mi.xZ=function(a){var b=this.map;if(this.Va)if(10>b.ga())this.sm();else if(this.LC(),a&&a.point)if(this.ui&&(this.XN=a.point),this.WE=o,1!=this.ui&&(this.he&&this.he.U(),this.ie&&this.ie.U(),this.Od&&this.Od.U()),a=b.AY(a.point,b.ga()),a.Xy&&a.kx&&a.wg)this.wm=a.wg+"_"+a.Xy+"_"+a.kx,this.Zo[a.wg+"_"+a.Xy+"_"+a.kx]?this.jG!=this.wm&&this.oH(this.wm):this.z_({dF:a.wg,x:a.Xy,y:a.kx})}; Mi.oH=function(a){var b=this.map;if(b.oa()!=Oa&&b.oa()!=Ua)this.sm(),this.Jk();else if(b=a.split("_"),b=b[0]+"_"+b[1]+"_"+b[2],this.Zo[b]){this.sm();this.AF=this.rK(this.Zo[b][a]?this.Zo[b][a]:[],"MAP_CLICK_POI");this.jG=a;for(var a=-1,c=0,d=this.qm.length;cthis.map.ga())for(var b=0,c=a.spots.length;bb.ga())&&a&&(this.ui=0,this.Yk&&(b.R.ob&&b.R.ob.close(),this.zi=a,this.C_(this.Yk)))};Mi.C_=function(a){if(a){var b=this;de.eb(function(c){b.NS(a,c)},{qt:"inf",uid:a,operate:"mapclick",clicktype:"tile"})}}; Mi.NS=function(a,b){var c=this,d=this.map;if(b&&b.content){var e=b.content,f=e.pano||0;Q.kb(e.geo,o);if(!g)var g={};g.isFromMPC=o;var i=e.addr,g=e.street_id||"";if(1==e.poiType||3==e.poiType)i=Q.unique(i.split(";")).join("; ");var j=e.tel;j&&(j=j.replace(/,/g,", "));c.vr(e.cla);var l=H("div",{style:"font-size:12px;padding:5px 0;overflow:hidden;*zoom:1;"}),m=q;if(f)if(360>c.map.height)m=o;else{f=[];f.push("
"); var n=B.url.proto+B.url.domain.pano[0]+"/?qt=poiprv&uid="+g+"&width=323&height=101&quality=80&fovx=200",s=Fc(n);s?(s=Qc(s.path,{Kp:q}),n+="&"+s):n=p;f.push("\'"+e.name+"\\u5916\\u666f\'");f.push("
\\u8fdb\\u5165\\u5168\\u666f>>"); f.push("
");l.innerHTML=f.join("")}i&&(f=H("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;"}),f.innerHTML="\\u5730\\u5740\\uff1a"+i,l.appendChild(f));j&&(i=H("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;"}),i.innerHTML="\\u7535\\u8bdd\\uff1a"+j,l.appendChild(i));e.tag&&(j=H("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;color:#7f7f7f;"}),j.innerHTML="\\u6807\\u7b7e\\uff1a"+e.tag,l.appendChild(j));var j="https://web.archive.org/web/20240320164225/http://api.map.baidu.com/place/detail?uid="+ a+"&output=html&source=jsapi&operate=mapclick&clicktype=tile",i="
"+e.name+"",u=new td(l,{width:322,enableSearchTool:o,title:i+("\\u8be6\\u60c5»")+ "
",enableParano:m});m&&(u.street_id=g);u.addEventListener("open",function(){var a=x.$("panoInfoBox");if(a){var b=e.street_id||"";Ub(function(){Ta(6006);c.cr(b)},a,"pano_thumnail_img|panoInfoBoxTitleBg|panoInfoBoxTitleContent")}a=x.$("detailDiv");Ub(function(){Ta(6001)},a,"detailInfo")});u.addEventListener("close",function(){c.he&&c.he.U();c.ie&&c.ie.U();c.Od&&c.Od.U();d.R.ob.cb&&d.R.ob.cb.U();Li=c.zi=p;u.removeEventListener("close",arguments.callee)});c.zi?(c.zi.Mb(u),Li||(Li=c.Yk+"|"+(c.Gp? c.Gp:c.It))):c.Be||(g=Q.kb(e.geo,o).point,c.Gp&&(l=Ni.blank,c.xj.ou(new M(l.x,l.y)),l=Oi[l.W],c.xj.Ce(new M(l.a,l.bb)),c.xj.qc(new M(l.a/2,l.bb/2))),c.Be=new W(g,{icon:c.xj,zIndexFixed:o}),d.Ka(c.Be),c.Be.addEventListener("click",function(){Li=c.Yk+"|"+(c.Gp?c.Gp:c.It);c.PC(c.Be)}),c.Be.addEventListener("mouseout",function(){c.BN(c.Be)}),c.Be.Mb(u));c.he&&c.he.U();c.ie&&c.ie.U();c.Od&&c.Od.U()}}; Mi.cr=function(a){var b=B.Sf("pano","")[0],c=this,d=(new Date).getTime(),e="Pano"+d;B[e]=function(a){var b=c.map.Km(),a=a.content[0];b.rc(a.poiinfo.PID);b.show();b.Nc({heading:a.poiinfo.Dir,pitch:a.poiinfo.Pitch})};d=(new Date).getTime();b+="?qt=poi&udt=20131021&uid="+a+"&t="+d+"&fn=BMap."+e;if(a=Fc(b))a=Qc(a.path,{Kp:q}),sa(b+("&"+a),q)}; Mi.AZ=function(a){var b=this.map;if(!(10>b.ga())){var c=a.spots;if(c&&!(1>c.length||"MAP_CLICK_POI"!=c[0].tag)){var d=this,e=p,f=p,g=0;d.zi&&d.zi===d.Be?(e=d.fn,f=d.ie,g=2):(e=d.Be,f=d.he,g=1);if(!b.R.ob||!(b.R.ob.Va()==o&&Li&&c[0].Fh.uid==Li.split("|")[0])){var i=Ni.blank;d.It="blank";var j=Oi[i.W];d.xj.Ce(new M(j.a,j.bb));d.xj.qc(new M(j.a/2,j.bb/2));d.xj.ou(new M(i.x,i.y));j=c[0].Fh.EM?c[0].Fh.EM:c[0].m;e&&e.map?(e.U(),e.ta(j),e.Vb(d.xj),e.show(),d.Yk=c[0].Fh.uid):(e=new W(j,{icon:d.xj,zIndexFixed:o, baseZIndex:3E6}),d.Yk=c[0].Fh.uid,b.Ka(e),1==g?d.Be=e:d.fn=e,e.addEventListener("click",function(){d.Gp=d.It;Li=d.Yk+"|"+d.It;d.PC(e)}),e.addEventListener("mouseout",function(){d.BN(e)}));e.Ei(o);i=[{backgroundColor:"#FFFFE1",borderColor:"#8C8C8C",color:"#4D4D4D"},{backgroundColor:"#F0F7FF",borderColor:"#7AA3CC",color:"#224B73"}];d.tz=e;f&&f.map?(f.U(),c[0].Fh.name?(d.ui=1,f.ad(c[0].Fh.name),a=d.Qx(j,1,{x:Math.abs(c[0].v[0])+6,y:-9}),f.ta(a),f.bd(i[1]),f.show()):(d.ui=2,f.ad("\\u70b9\\u51fb\\u53ef\\u67e5\\u770b\\u8be6\\u60c5"), f.bd(i[0]),d.eP(f))):c[0].Fh.name?(d.ui=1,a=d.Qx(j,1,{x:Math.abs(c[0].v[0])+6,y:-9}),f=new ud(c[0].Fh.name,{position:a}),b.Ka(f),1==g?d.he=f:d.ie=f,f.bd(i[1])):(d.ui=2,f=new ud("\\u70b9\\u51fb\\u53ef\\u67e5\\u770b\\u8be6\\u60c5",{position:d.Qx(a.point,0)}),b.Ka(f),f.U(),1==g?d.he=f:d.ie=f,f.bd(i[0]),d.eP(f))}}}};Mi.eP=function(a){var b=this;b.Hn=setInterval(function(){b.WE||setTimeout(function(){if(2==b.ui){var c=b.Qx(b.XN,0);a.ta(c);a.show()}clearInterval(b.Hn)},500)},200)}; Mi.Qx=function(a,b,c){var d=this.map,a=d.Cc(a);if(c)var e=c;else 0==b?e={x:-1,y:24}:1==b&&(e={x:12,y:-9});try{if(0==b||1==b)return d.Rb(new R(a.x+e.x,a.y+e.y))}catch(f){}}; Mi.zZ=function(){var a=this.map;if(!(10>a.ga())){this.ui=0;this.he&&this.he.U();this.ie&&this.ie.U();this.Od&&this.Od.U();this.Hn&&clearInterval(this.Hn);this.tz=p;var b=this.fn;if(b&&b.map&&(!a.R.ob||a.R.ob.Va()==q||a.R.ob.cb!==b)){if(this.zi&&this.zi===b)return;b.U()}(b=this.Be)&&b.map&&((!a.R.ob||a.R.ob.Va()==q||a.R.ob.cb!==b)&&!(this.zi&&this.zi===b))&&b.U()}}; Mi.BN=function(a){var b=this.map;!(10>b.ga())&&a&&(this.he&&this.he.U(),this.ie&&this.ie.U(),this.Od&&this.Od.U(),this.zi!==a&&!(b.R.ob&&b.R.ob.Va()==o)&&(this.Yk=""))}; Mi.WV=function(){var a=this,b=this.map;b.addEventListener("load",function(){a.ao()});b.addEventListener("moveend",function(){a.ao()});b.addEventListener("dragend",function(){a.ao()});b.addEventListener("zoomend",function(){a.LC();a.sm();if(!b.R.ob||b.R.ob.Va()!=o)a.Be&&a.Be.U(),a.fn&&a.fn.U(),a.he&&a.he.U(),a.ie&&a.ie.U(),a.Od&&a.Od.U(),a.ui=0,a.Hn&&clearInterval(a.Hn);a.ao()});b.addEventListener("resize",function(){a.ao()})}; Mi.ao=function(){var a=this.map;this.Va&&10>a.ga()&&(this.sm(),this.ix||(this.ix=this.rK(Pi,"MAP_CLICK_CITY")))};Mi.z_=function(a){var b=this.map,c=this.map.ba;if(a&&this.GL!=a.dF+"_"+a.x+"_"+a.y){this.GL=a.dF+"_"+a.x+"_"+a.y;var d=[];d.push(B.url.proto+B.url.domain.TILE_ONLINE_URLS[Math.abs(a.x+a.y)%3]+"/js/?qt=vtileQuest&styles=pl");d.push("&x="+a.x+"&y="+a.y+"&z="+b.Na+"&v=056&fn=MPC_Mgr."+c+".getPoiData");sa(d.join(""))}}; Mi.getPoiData=function(a){var b=a.content[0],c=this.map;if(!(0b.uids.length)){for(var d={},a=q,e=[],f=0,g=b.uids.length;fthis.vZ&&(d=this.qm.shift(),delete this.Zo[d],delete d);a&&this.oH(this.wm)}};Mi.sm=function(){var a=this.map;this.AF&&(a.rm("MAP_CLICK_POI"),this.AF=p,this.wm=this.jG="")};Mi.LC=function(){var a=this.map;this.ix&&(a.rm("MAP_CLICK_CITY"),this.ix=p)}; Mi.Jk=function(){this.Be&&this.Be.U();this.fn&&this.fn.U();this.he&&this.he.U();this.ie&&this.ie.U();this.Od&&this.Od.U();this.Hn&&clearInterval(this.Hn)};Mi.vr=function(a){for(var b=[],c=0,d=a.length;c