/* 百度地图API V2 模块 * 此模块必须配套使用baidumap_offline_v2_20160822.js对 * 获取模块的方法: * http://api0.map.bdimg.com/getmodules?v=2.0&mod=模块1,模块2 * 模块名称就是文件名 * www.xiaoguo123.com 整理 */ _jsload2&&_jsload2('othersearch', 'x.extend(Ad.prototype,{Od:function(){for(var a=0,b=this.Oa.length;a@,;:\\\\\\\\\\\\"\\\\[\\\\]\\\\?=\\\\{\\\\}\\\\/\\\\u0080-\\\\uffff]+$\').test(b)){var c=c||{},d=c.eh;"number"==typeof c.eh&&(d=new Date,d.setTime(d.getTime()+c.eh));document.cookie=b+"="+a+(c.path?"; path="+c.path:"")+(d?"; expires="+d.toGMTString(): "")+(c.domain?"; domain="+c.domain:"")+(c.FZ?"; secure":"")}},cX:function(a,b){var c;var d=this.K.sC;RegExp(\'^[^\\\\x00-\\\\x20\\\\x7f\\\\(\\\\)<>@,;:\\\\\\\\\\\\"\\\\[\\\\]\\\\?=\\\\{\\\\}\\\\/\\\\u0080-\\\\uffff]+$\').test(d)&&(d=RegExp("(^| )"+d+"=([^;]*)(;|$)").exec(document.cookie))&&(c=d[2]||p);c=c||p;c="string"==typeof c?decodeURIComponent(c):p;c===p?(c=new Ch,c.jf="Cookie\\u4e2d\\u4e0d\\u5b58\\u5728\\u5730\\u7406\\u4f4d\\u7f6e\\u4fe1\\u606f",c.errorCode=c.Ej,b(c)):(d=new Eh,d.mN(c),a(d))}}); x.extend(function(){this.K={xM:"H_LOC_MI"}}.prototype,{cX:function(a,b){var c=localStorage.getItem(this.K.xM);if(c===p)c=new Ch,c.errorCode=c.Ej,c.jf="localStorage\\u4e2d\\u4e0d\\u5b58\\u5728\\u5730\\u7406\\u4f4d\\u7f6e\\u4fe1\\u606f",b(c);else{var d=new Eh;d.mN(c);a(d)}},QZ:function(a){a=a.qO();localStorage.setItem(this.K.xM,a)}}); x.extend(function(a){this.K={timeout:a.timeout||3E3,maximumAge:a.maximumAge||6E5}}.prototype,{getCurrentPosition:function(a,b){function c(){var c="_cbk"+Math.floor(1E5*Math.random());window[c]=function(c){if(0==c.error){var d=new Eh;d.accuracy=c.coords.accuracy;d.longitude=c.coords.longitude;d.latitude=c.coords.latitude;a(d)}else 1==c.error?(c=Ch(),c.errorCode=c.Ej,c.jf="\\u6ca1\\u6709\\u68c0\\u6d4b\\u5230\\u5b9a\\u4f4d\\u6a21\\u5757",b(c)):1==c.error&&(c=Ch(),c.errorCode=c.Ej,c.jf="\\u5b9a\\u4f4d\\u5931\\u8d25", b(c))};Ah("http://127.0.0.1:6259/geolocation?"+["timeout="+d.K.timeout,"callback="+c].join("&"))}var d=this;(function(a){var c="_cbk"+Math.floor(1E5*Math.random()),d=q,i=q;setTimeout(function(){i=o;if(!d){var a=new Ch;a.errorCode=a.Yy;a.jf="\\u8bf7\\u6c42APN\\u8d85\\u65f6";b(a)}},1200);window[c]=function(c){i||(c&&0==c.error?(d=o,a()):(c=Ch(),c.errorCode=c.Ej,c.jf="\\u8bf7\\u6c42APN\\u5931\\u8d25",b(c)))};Ah("http://127.0.0.1:6259/getapn?callback="+c)})(function(){c()})}}); function Dh(a){this.K={timeout:a.timeout||5E3,maximumAge:a.maximumAge||6E5}} x.extend(Dh.prototype,{getCurrentPosition:function(a,b){navigator.geolocation.getCurrentPosition(function(b){if(/BIDUBrowser/i.test(navigator.userAgent))(new Ad).Rs(new H(b.coords.longitude,b.coords.latitude),function(d){var f=new Eh;f.accuracy=1999f;f++)c.boundaries[f]=e[f];c.boundaries[6]=e[9];b&&b(c)}if("\\u9493\\u9c7c\\u5c9b"===a){for(f=0;1>f;f++)c.boundaries[f]=e[6];b&&b(c)}if("\\u8d64\\u5c3e\\u5c7f"===a){for(f=0;1>f;f++)c.boundaries[f]=e[7];b&&b(c)}$c.ab(function(f){f&&f.content&&f.content.uid?$c.ab(function(f){if(f&&f.content&&f.content.geo)if((-1=a.length)f=d.oT(f.content.geo),c.boundaries=f;else{var g=P.tb(f.content.geo, q);if(g.Fd&&g.Fd.length&&0