!function(t,i){"object"==typeofexports&&"undefined"!=typeofmodule?i(exports):"function"==typeofdefine&&define.amd?define(["exports"],i):i(t.L={})}(this,function(t){"use strict";functionh(t){for(vari,e,n=1,o=arguments.length;n<o;n++)for(iine=arguments[n])t[i]=e[i];returnt}vars=Object.create||function(t){returni.prototype=t,newi};functioni(){}functionp(t,i){vare=Array.prototype.slice;if(t.bind)returnt.bind.apply(t,e.call(arguments,1));varn=e.call(arguments,2);returnfunction(){returnt.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}vare=0;functionm(t){returnt._leaflet_id=t._leaflet_id||++e,t._leaflet_id}functionn(t,i,e){varn,o,s=function(){n=!1,o&&(r.apply(e,o),o=!1)},r=function(){n?o=arguments:(t.apply(e,arguments),setTimeout(s,i),n=!0)};returnr}functiono(t,i,e){varn=i[1],o=i[0],s=n-o;returnt===n&&e?t:((t-o)%s+s)%s+o}functiona(){return!1}functionr(t,i){vare=Math.pow(10,void0===i?6:i);returnMath.round(t*e)/e}functionu(t){returnt.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}functionl(t){returnu(t).split(/\s+/)}functionc(t,i){for(vareinObject.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?s(t.options):{}),i)t.options[e]=i[e];returnt.options}function_(t,i,e){varn=[];for(varoint)n.push(encodeURIComponent(e?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(i&&-1!==i.indexOf("?")?"&":"?")+n.join("&")}vard=/\{ *([\w_-]+) *\}/g;functionf(t,n){returnt.replace(d,function(t,i){vare=n[i];if(void0===e)thrownewError("No value provided for variable "+t);return"function"==typeofe&&(e=e(n)),e})}varg=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};functionv(t,i){for(vare=0;e<t.length;e++)if(t[e]===i)returne;return-1}vary="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";functionx(t){returnwindow["webkit"+t]||window["moz"+t]||window["ms"+t]}varw=0;functionP(t){vari=+newDate,e=Math.max(0,16-(i-w));returnw=i+e,window.setTimeout(t,e)}varb=window.requestAnimationFrame||x("RequestAnimationFrame")||P,T=window.cancelAnimationFrame||x("CancelAnimationFrame")||x("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};functionM(t,i,e){if(!e||b!==P)returnb.call(window,p(t,i));t.call(i)}functionz(t){t&&T.call(window,t)}varC={extend:h,create:s,bind:p,lastId:e,stamp:m,throttle:n,wrapNum:o,falseFn:a,formatNum:r,trim:u,splitWords:l,setOptions:c,getParamString:_,template:f,isArray:g,indexOf:v,emptyImageUrl:y,requestFn:b,cancelFn:T,requestAnimFrame:M,cancelAnimFrame:z};functionS(){}S.extend=function(t){functioni(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}vare=i.__super__=this.prototype,n=s(e);for(varoin(n.constructor=i).prototype=n,this)Object.prototype.hasOwnProperty.call(this,o)&&"prototype"!==o&&"__super__"!==o&&(i[o]=this[o]);returnt.statics&&(h(i,t.statics),deletet.statics),t.includes&&(function(t){if("undefined"==typeofL||!L||!L.Mixin)return;t=g(t)?t:[t];for(vari=0;i<t.length;i++)t[i]===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.",(newError).stack)}(t.includes),h.apply(null,[n].concat(t.includes)),deletet.includes),n.options&&(t.options=h(s(n.options),t.options)),h(n,t),n._initHooks=[],n.callInitHooks=function(){if(!this._initHooksCalled){e.callInitHooks&&e.callInitHooks.call(this),this._initHooksCalled=!0;for(vart=0,i=n._initHooks.length;t<i;t++)n._initHooks[t].call(this)}},i},S.include=function(t){returnh(this.prototype,t),this},S.mergeOptions=function(t){returnh(this.prototype.options,t),this},S.addInitHook=function(t){vari=Array.prototype.slice.call(arguments,1),e="function"==typeoft?t:function(){this[t].apply(this,i)};returnthis.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(e),this};varZ={on:function(t,i,e){if("object"==typeoft)for(varnint)this._on(n,t[n],i);elsefor(varo=0,s=(t=l(t)).length;o<s;o++)this._on(t[o],i,e);returnthis},off:function(t,i,e){if(t)if("object"==typeoft)for(varn