This commit is contained in:
123 committed 2026-05-07 18:24:22 +08:00
commit d842848254
2278 files changed
+362039

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
window.B_BUSINESS_INFO={"business":1,"unauth":0,"popup_code":"U1fAuB2YWP","popup_block_time":60,"popup_timestamp":1776946310,"watermark_ratio":0,"signature":"49f910","sign_content":"{\"business\":1,\"unauth\":0,\"popup_code\":\"U1fAuB2YWP\",\"popup_block_time\":60,\"popup_timestamp\":1776946310,\"watermark_ratio\":0}"};window.B_HOST_TILE_ONLINE_URLS=["apimaponline0.bdimg.com","apimaponline1.bdimg.com","apimaponline2.bdimg.com","apimaponline3.bdimg.com"];window.B_HOST_TILE_BASE_URLS=["apimaponline0.bdimg.com\/starpic\/?qt=satepc&","apimaponline1.bdimg.com\/starpic\/?qt=satepc&","apimaponline2.bdimg.com\/starpic\/?qt=satepc&","apimaponline3.bdimg.com\/starpic\/?qt=satepc&"];window.TILE_VERSION={"ditu":{"normal":{"version":"088","updateDate":"20260422"},"satellite":{"version":"009","updateDate":"20260422"},"normalTraffic":{"version":"081","updateDate":"20260422"},"satelliteTraffic":{"version":"083","updateDate":"20260422"},"mapJS":{"version":"104","updateDate":"20260422"},"satelliteStreet":{"version":"083","updateDate":"20260422"},"earthVector":{"version":"001","updateDate":"20260422"}},"webapp":{"high_normal":{"version":"001","updateDate":"20260422"},"lower_normal":{"version":"002","updateDate":"20260422"}},"api_for_mobile":{"vector":{"version":"002","updateDate":"20260422"},"vectorIcon":{"version":"002","updateDate":"20260422"}}};window.MSV={"mapstyle":{"version":"001","updateDate":"20251229"}};window.BMAP_AUTHENTIC_KEY="kszsXMCsNwN4RVovrRfGbHIeV9G5p8GP";
!function(t){"use strict";function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(t,e){return t(e={exports:{}},e.exports),e.exports}Object.values||(Object.values=function(t){if(t!==Object(t))throw new TypeError("Object.values called on a non-object");var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(t[e]);return n}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=0;n<(arguments.length<=1?0:arguments.length-1);n++){var r=n+1<1||arguments.length<=n+1?void 0:arguments[n+1];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},writable:!0,configurable:!0});var r=n((function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),i=e(r),o=e(n((function(t){function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}t.exports=function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}))),a=e(n((function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}))),s=n((function(t){function e(n,r){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n,r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(s);var u,h,c=e(n((function(t){t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,s(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports}))),l=function(t,e){var n=this;this.width=void 0,this.height=void 0,this.equals=function(t){return t&&n.width===t.width&&n.height===t.height},this.width=t||0,this.height=e||0},f=function(){function t(t,e){this.lng=void 0,this.lat=void 0,this.lng=+t,this.lat=+e}return t.prototype.equals=function(t){return t&&this.lat===t.lat&&this.lng===t.lng},t}(),d={REFRESH:"refresh",DATA_LOADED:"dataload",THUMB_LOADED:"thumb_loaded",SET_POV:"set_pov",POV_CHANGED:"pov_changed",POV_CHANGED_END:"pov_changed_end",ZOOM_CHANGED:"zoom_changed",SIZE_CHANGED:"size_changed",SET_ID:"set_id",SET_POSITION:"set_position",ID_CHANGED:"id_changed",POSITION_CHANGED:"position_changed",TOUCH_START:"touchstart",TOUCH_END:"touchend",CLICK:"click",DOUBLE_CLICK:"dblclick",LINK_CLICK:"link_click",OVERLAY_ADD:"overlay_add",OVERLAY_REMOVE:"overlay_remove",OVERLAYS_CLEAR:"overlays_clear",PANO_ERROR:"pano_error",LINK_VISIBLE_CHANGE:"links_visible_changed",DESTROY:"destroy",SCENE_CHANGE_END:"scene_change_end"},p={TYPE_INNER:"inter",TYPE_STREET:"street",RADIUS:3e3,COLS:16,ROWS:8,TILE_MAX_ZOOM:4,TILE_MIN_ZOOM:1,MIN_PITCH:-90,MAX_PITCH:90,MAX_ZOOM:4,MIN_ZOOM:1,TILE_BASE_URLS:["//apisv0.bdimg.com/","//apisv1.bdimg.com/"],TOPO_ARROW_TEXTURE:"//webmap0.bdimg.com/wolfman/static/pano/images/webgl/topo_arrow_06f0f2e.png",FISHEYE_DURATION:1500,FISHEYE_DELAY:2e3},v=(u={},h=(navigator.userAgent||"").toLowerCase(),u.isAndroid=h.includes("android"),u.isFirefox=h.includes("firefox"),u.isIos=/ip(hone|ad|od)/i.test(h),u.isWeixin=h.includes("micromessenger"),u.isWeibo=h.includes("weibo"),u.isWeChatOrWeiBo=u.isWeixin&&u.isWeibo,u.isBaiduMap=h.includes("baidumap_"),u.isMobile=/android|webos|ip(hone|ad|od)|opera (mini|mobi|tablet)|iemobile|windows.+(phone|touch)|mobile|fennec|kindle (Fire)|Silk|maemo|blackberry|playbook; (touch|kbd)|Symbian(OS)|Ubuntu Touch/i.test(h),u.isPc=!u.isMobile,u),m=function(t){for(var e=arguments.length<=1?0:arguments.length-1,n=0;n<e;n++){var r=n+1<1||arguments.length<=n+1?void 0:arguments[n+1];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},g=function(t){return t*Math.PI/180},y=function(t){return 180*t/Math.PI},_=function(t){return t-360*Math.floor(t/360)},x=function(){return Date.now()};var b=function t(){var e=t;if("boolean"==typeof e._supportWebGL)return e._supportWebGL;if(!window.WebGLRenderingContext)return e._supportWebGL=!1,!1;var n=null,r=document.createElement("canvas");try{(n=r.getContext("webgl")||r.getContext("experimental-webgl"))&&n instanceof WebGLRenderingContext&&(e._supportWebGL=!0)}catch(t){e._supportWebGL=!1}return null===n&&(e._supportWebGL=!1),e._supportWebGL},M=function(t){for(var e,n=Number.MAX_VALUE,r=-Number.MAX_VALUE,i=t.length-1;i>=0;i--)n>(e=t[i])&&(n=e),r<e&&(r=e);return{min:n,max:r}},w={g:function(t){return"stLine truncated
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
t.exports=n=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},i=Object.prototype,o=i.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",h=a.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof p?e:p,o=Object.create(i.prototype),a=new T(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return R()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,a),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=l;var d={};function p(){}function v(){}function m(){}var g={};c(g,s,(function(){return this}));var y=Object.getPrototypeOf,_=y&&y(y(C([])));_&&_!==i&&o.call(_,s)&&(g=_);var x=m.prototype=p.prototype=Object.create(g);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function M(t,n){function r(i,a,s,u){var h=f(t[i],t,a);if("throw"!==h.type){var c=h.arg,l=c.value;return l&&"object"==e(l)&&o.call(l,"__await")?n.resolve(l.__await).then((function(t){r("next",t,s,u)}),(function(t){r("throw",t,s,u)})):n.resolve(l).then((function(t){c.value=t,s(c)}),(function(t){return r("throw",t,s,u)}))}u(h.arg)}var i;this._invoke=function(t,e){function o(){return new n((function(n,i){r(t,e,n,i)}))}return i=i?i.then(o,o):o()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function C(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:R}}function R(){return{value:void 0,done:!0}}return v.prototype=m,c(x,"constructor",m),c(m,"constructor",v),v.displayName=c(m,h,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,h,"GeneratorFunction")),t.prototype=Object.create(x),t},r.awrap=function(t){return{__await:t}},b(M.prototype),c(M.prototype,u,(function(){return this})),r.AsyncIterator=M,r.async=function(t,e,n,i,o){void 0===o&&(o=Promise);var a=new M(l(t,e,n,i),o);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(x),c(x,h,"Generator"),c(x,s,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},r.values=C,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return Line truncated
window.BMapGL=window.BMapGL||{};(function(bS,gf){var fH=fH||{version:"20150702",emptyFn:function(){}};(function(){fH._log=[];var i=0;var C={};fH.BaseClass=function(T){C[(this.hashCode=(T||fH.BaseClass.guid()))]=this};fH.BaseClass.guid=function(){return"mz_"+(i++).toString(36)};fH.BaseClass.create=function(){var T=new fH.BaseClass();T.decontrol();return T};var e=fH.instance=fH.I=function(T){return C[T]};fH.BaseClass.prototype.dispose=function(){if(this.hashCode){delete C[this.hashCode]}for(var T in this){if(typeof this[T]!="function"){delete this[T]}}};fH.BaseClass.prototype.getHashCode=function(){if(!this.hashCode){C[(this.hashCode=fH.BaseClass.guid())]=this}return this.hashCode};fH.BaseClass.prototype.decontrol=function(){delete C[this.hashCode]};fH.BaseClass.prototype.toString=function(){return"[object "+(this._className||"Object")+"]"};fH.BaseClass.prototype._wlog=function(lM,lN){var T=fH._log;if(T.length>100){T.reverse().length=50;T.reverse()}T[T.length]="["+lM+"]["+(this._className||"Object")+" "+this.hashCode+"] "+lN}})();Function.prototype.inherits=function(lM,T){var e,lN,lP=this.prototype,lO=function(){};lO.prototype=lM.prototype;lN=this.prototype=new lO();if(typeof(T)=="string"){lN._className=T}for(e in lP){lN[e]=lP[e]}this.prototype.constructor=lP.constructor;lP=lO=null;return lN};fH.BaseEvent=function(e,i){this.type=e;this.returnValue=true;this.target=i||null;this.currentTarget=this.srcElement=null;this.cancelBubble=false;this.domEvent=null};fH.BaseClass.prototype.on=fH.BaseClass.prototype.addEventListener=function(C,i){if(typeof i!=="function"){return this._wlog("error","addEventListener:"+i+" is not a function")}if(!this._listeners){this._listeners={}}var e=this._listeners;if(C.indexOf("on")!==0){C="on"+C}if(typeof e[C]!=="object"){e[C]={}}var T=i.hashCode||fH.BaseClass.guid();i.hashCode=T;if(e[C][T]){this._wlog("warning","repeat key:"+T)}e[C][T]=i};fH.BaseClass.prototype.off=fH.BaseClass.prototype.removeEventListener=function(C,i){if(typeof i=="function"){i=i.hashCode}else{if(typeof i!=="string"&&typeof i!=="undefined"){return}}if(!this._listeners){this._listeners={}}if(C.indexOf("on")!=0){C="on"+C}var e=this._listeners;if(!e[C]){return}if(i===undefined){e[C]={};return}if(e[C][i]){delete e[C][i]}};fH.BaseClass.prototype.fire=fH.BaseClass.prototype.dispatchEvent=function(T){if(!this._listeners){this._listeners={}}var C,e=this._listeners,lM=T.type;T.target=T.srcElement=T.target||T.srcElement||this;T.currentTarget=this;if(typeof this[lM]=="function"){this[lM](T)}if(typeof e[lM]=="object"){for(C in e[lM]){if(typeof e[lM][C]=="function"){e[lM][C].call(this,T)}}}return T.returnValue};fH.BaseEvent.prototype.inherit=function(C){var i=this;this.domEvent=C=window.event||C;i.clientX=C.clientX||C.pageX;i.clientY=C.clientY||C.pageY;i.offsetX=C.offsetX||C.layerX;i.offsetY=C.offsetY||C.layerY;i.screenX=C.screenX;i.screenY=C.screenY;i.ctrlKey=C.ctrlKey||C.metaKey;i.shiftKey=C.shiftKey;i.altKey=C.altKey;return i};fH.Browser=(function(){var C=navigator.userAgent;var lM=0;var e=0;var lN=0;var i=0;var lR=0;var lP=0;var lQ=0;var lO=0;var T=0;var lS=0;if(typeof window.opera==="object"&&/Opera(\s|\/)(\d+(\.\d+)?)/.test(C)){lN=parseFloat(RegExp.$2)}else{if(/OPR(\/(\d+)(\..?)?)/.test(C)){lN=parseInt(RegExp.$2,10)}else{if(/Edge\/((\d+)\.\d+)/.test(C)){lM=parseInt(RegExp.$2,10)}else{if(/MSIE (\d+(\.\d+)?)/.test(C)){e=parseFloat(RegExp.$1)}else{if(C.indexOf("Trident")>-1&&/rv:(\d+(\.\d+)?)/.test(C)){e=parseInt(RegExp.$1,10)}else{if(/Firefox(\s|\/)(\d+(\.\d+)?)/.test(C)){lR=parseFloat(RegExp.$2)}else{if(navigator.vendor==="Netscape"&&/Netscape(\s|\/)(\d+(\.\d+)?)/.test(C)){lQ=parseFloat(RegExp.$2)}else{if(C.indexOf("Safari")>-1&&/Version\/(\d+(\.\d+)?)/.test(C)){i=parseFloat(RegExp.$1)}}}}}}}}if(C.indexOf("Trident")>-1&&/Trident\/(\d+(\.\d+)?)/.test(C)){lO=parseInt(RegExp.$1,10)}else{if(!e&&!lM&&C.indexOf("Gecko")>-1&&C.indexOf("KHTML")===-1&&/rv\:(\d+(\.\d+)?)/.test(C)){T=parseFloat(RegExp.$1)}else{if(!lM&&/chrome\/(\d+(\.\d+)?)/i.test(C)){lP=parseFloat(RegExp.$1)}else{if(!lM&&/AppleWebKit\/(\d+(\.\d+)?)/.test(C)){lS=parseInt(RegExp.$1,10)}}}}var lT={edge:lM,ie:e,firefox:lR,netscape:lQ,opera:lN,safari:i,chrome:lP,gecko:T,trident:lO,webkit:lS};return lT})();window.FeBrowser=fH.Browser;fH.Dom={};fH.Dom.createDom=function(i,e){if(fH.isIE&&e&&e.name){i="<"+i+' name="'+fH.String.escapeHTML(e.name)+'">'}var C=document.createElement(i);if(e){fH.Dom.setProperties(C,e)}return C};fH.Dom.getOffset=function(T){var lO=fH.Dom.getOwnerDocument(T);var lN=fH.isGecko>0&&lO.getBoxObjectFor&&fH.Dom.getStyle(T,"position")=="absolute"&&(T.style.top===""||T.style.left==="");var lP={left:0,top:0};var i=(fH.isIE&&!fH.isStrict)?lO.body:lO.documentElement;if(T==i){return lP}var C=null;var lM;if(T.getBoundingClientRect){lM=T.getBoundingClientRect();lP.left=lM.left+Math.max(lO.documentElement.scrollLeft,lO.body.scrollLeft);lP.top=lM.top+Math.max(lO.documentElement.scrollTop,lO.body.scrollTop);lP.left-=lO.documentElement.clientLeft;lP.top-=lO.documeLine truncated