2024-07-26 14:12:27 +08:00
|
|
|
*/(function(V,pn){(function(l,ce){ce(pn)})(Uo,function(l){var ce="1.9.4";function b(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++){o=arguments[i];for(e in o)t[e]=o[e]}return t}var Vt=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function C(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}}var Qe=0;function x(t){return"_leaflet_id"in t||(t._leaflet_id=++Qe),t._leaflet_id}function Ye(t,e,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)},s}function Mt(t,e,i){var n=e[1],o=e[0],s=n-o;return t===n&&i?t:((t-o)%s+s)%s+o}function k(){return!1}function Y(t,e){if(e===!1)return t;var i=Math.pow(10,e===void 0?6:e);return Math.round(t*i)/i}function fe(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ft(t){return fe(t).split(/\s+/)}function M(t,e){Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?Vt(t.options):{});for(var i in e)t.options[i]=e[i];return t.options}function $e(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(!e||e.indexOf("?")===-1?"?":"&")+n.join("&")}var gn=/\{ *([\w_ -]+) *\}/g;function ti(t,e){return t.replace(gn,function(i,n){var o=e[n];if(o===void 0)throw new Error("No value provided for variable "+i);return typeof o=="function"&&(o=o(e)),o})}var J=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function de(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var Ut="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function _e(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var ei=0;function ii(t){var e=+new Date,i=Math.max(0,16-(e-ei));return ei=e+i,window.setTimeout(t,i)}var me=window.requestAnimationFrame||_e("RequestAnimationFrame")||ii,ni=window.cancelAnimationFrame||_e("CancelAnimationFrame")||_e("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function D(t,e,i){if(i&&me===ii)t.call(e);else return me.call(window,C(t,e))}function U(t){t&&ni.call(window,t)}var vn={__proto__:null,extend:b,create:Vt,bind:C,get lastId(){return Qe},stamp:x,throttle:Ye,wrapNum:Mt,falseFn:k,formatNum:Y,trim:fe,splitWords:ft,setOptions:M,getParamString:$e,template:ti,isArray:J,indexOf:de,emptyImageUrl:Ut,requestFn:me,cancelFn:ni,requestAnimFrame:D,cancelAnimFrame:U};function nt(){}nt.extend=function(t){var e=function(){M(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=e.__super__=this.prototype,n=Vt(i);n.constructor=e,e.prototype=n;for(var o in this)Object.prototype.hasOwnProperty.call(this,o)&&o!=="prototype"&&o!=="__super__"&&(e[o]=this[o]);return t.statics&&b(e,t.statics),t.includes&&(yn(t.includes),b.apply(null,[n].concat(t.includes))),b(n,t),delete n.statics,delete n.includes,n.options&&(n.options=i.options?Vt(i.options):{},b(n.options,t.options)),n._initHooks=[],n.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var s=0,r=n._initHooks.length;s<r;s++)n._initHooks[s].call(this)}},e},nt.include=function(t){var e=this.prototype.options;return b(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},nt.mergeOptions=function(t){return b(this.prototype.options,t),this},nt.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i=typeof t=="function"?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};function yn(t){if(!(typeof L>"u"||!L||!L.Mixin)){t=J(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var q={on:function(t,e,i){if(typeof t=="object")for(var
|