You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
146 KiB
5 lines
146 KiB
3 weeks ago
|
/* @preserve
|
||
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
||
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
||
|
*/var fo="1.9.4";function T(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 Wt=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function M(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 oi=0;function w(t){return"_leaflet_id"in t||(t._leaflet_id=++oi),t._leaflet_id}function si(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 Ct(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 K(t,e){if(e===!1)return t;var i=Math.pow(10,e===void 0?6:e);return Math.round(t*i)/i}function me(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ut(t){return me(t).split(/\s+/)}function S(t,e){Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?Wt(t.options):{});for(var i in e)t.options[i]=e[i];return t.options}function ri(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 un=/\{ *([\w_ -]+) *\}/g;function ai(t,e){return t.replace(un,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 pe(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var Nt="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function se(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var je=0;function hi(t){var e=+new Date,i=Math.max(0,16-(e-je));return je=e+i,window.setTimeout(t,i)}var re=window.requestAnimationFrame||se("RequestAnimationFrame")||hi,ui=window.cancelAnimationFrame||se("CancelAnimationFrame")||se("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function D(t,e,i){if(i&&re===hi)t.call(e);else return re.call(window,M(t,e))}function V(t){t&&ui.call(window,t)}var _o={__proto__:null,extend:T,create:Wt,bind:M,get lastId(){return oi},stamp:w,throttle:si,wrapNum:Ct,falseFn:k,formatNum:K,trim:me,splitWords:ut,setOptions:S,getParamString:ri,template:ai,isArray:j,indexOf:pe,emptyImageUrl:Nt,requestFn:re,cancelFn:ui,requestAnimFrame:D,cancelAnimFrame:V};function st(){}st.extend=function(t){var e=function(){S(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=e.__super__=this.prototype,n=Wt(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&&T(e,t.statics),t.includes&&(ln(t.includes),T.apply(null,[n].concat(t.includes))),T(n,t),delete n.statics,delete n.includes,n.options&&(n.options=i.options?Wt(i.options):{},T(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};st.include=function(t){var e=this.prototype.options;return T(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this};st.mergeOptions=function(t){return T(this.prototype.options,t),this};st.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 ln(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 W={on:function(t,e,i){if(typeof t=="object")for(var n in t)this._on(n,t[n],e);else{t=ut(t);for(var o=0,s=t.
|