From 9b27deb3e2ec401ca3b8ae2649a00e1b146c9c9d Mon Sep 17 00:00:00 2001 From: mmayeda Date: Tue, 30 Apr 2024 23:35:24 -0600 Subject: [PATCH 1/3] chore: readme tlc --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 53051f1..3034a42 100644 --- a/README.md +++ b/README.md @@ -115,11 +115,15 @@ _check `dist/index.html` for a demo_ # how to debug the core on the client side -The senerio: sometime we need to find a easy way to debug the core in the client side, for example, the web map client repo, it's installing the core by npm, so it's hard to change code in core on the client side, we can install the core by `folder` locally, and get the change on the client side immediately, to do so: +The scenario: sometimes we need to find an easy way to debug the core web map in the parent client side application +(for example, the web map client repo). The web map client repo is installing web map core as a npm package using npm, +so it's hard to change code in core and see the results in the parent client application. One way around this is by +installing web map core by a reference to its local `folder`, which allows changes made to web map core locally +to propagate to the parent client application immediately. To do so: -1. Download the web map core repository, `git clonet [path to repo]` +1. Download the web map core repository: `git clone https://github.com/Greenstand/treetracker-web-map-core.git` 1. Change to code you want in core -1. Change the version number in `package.json` (this is neccessary, if don't do it, it's posssible the client will ignore/skip the installment) -1. Generate the bundle: `npm run pre-publish` (this is nessessary, the npm will fetch the bundle file rather than the src files) +1. Change the version number in `package.json` (this is necessary, if don't do it, it's possible the client will ignore/skip the installment) +1. Generate the bundle: `npm run pre-publish` (this is necessary, the npm will fetch the bundle file rather than the src files) 1. Install the core in web map client: `npm install --save [relative path to the core folder]` 1. Restart the web map client From 001e40ae62a13e7967b212d998c70a63727179b8 Mon Sep 17 00:00:00 2001 From: mmayeda Date: Tue, 30 Apr 2024 23:50:45 -0600 Subject: [PATCH 2/3] chore: remove unused main.js bundle --- dist/main.js | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 dist/main.js diff --git a/dist/main.js b/dist/main.js deleted file mode 100644 index cc943a8..0000000 --- a/dist/main.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.js.LICENSE.txt */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.greenstand=e():t.greenstand=e()}(self,(function(){return(()=>{var t={9669:(t,e,n)=>{t.exports=n(1609)},5448:(t,e,n)=>{"use strict";var i=n(4867),r=n(6026),o=n(4372),a=n(5327),s=n(4097),u=n(4109),l=n(7985),c=n(5061),h=n(5655),f=n(5263);t.exports=function(t){return new Promise((function(e,n){var p,d=t.data,g=t.headers,m=t.responseType;function _(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}i.isFormData(d)&&delete g["Content-Type"];var v=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",M=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+M)}var w=s(t.baseURL,t.url);function b(){if(v){var i="getAllResponseHeaders"in v?u(v.getAllResponseHeaders()):null,o={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:i,config:t,request:v};r((function(t){e(t),_()}),(function(t){n(t),_()}),o),v=null}}if(v.open(t.method.toUpperCase(),a(w,t.params,t.paramsSerializer),!0),v.timeout=t.timeout,"onloadend"in v?v.onloadend=b:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(b)},v.onabort=function(){v&&(n(c("Request aborted",t,"ECONNABORTED",v)),v=null)},v.onerror=function(){n(c("Network Error",t,null,v)),v=null},v.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",i=t.transitional||h.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(c(e,t,i.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},i.isStandardBrowserEnv()){var x=(t.withCredentials||l(w))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;x&&(g[t.xsrfHeaderName]=x)}"setRequestHeader"in v&&i.forEach(g,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete g[e]:v.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(v.withCredentials=!!t.withCredentials),m&&"json"!==m&&(v.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&v.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){v&&(n(!t||t&&t.type?new f("canceled"):t),v.abort(),v=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),d||(d=null),v.send(d)}))}},1609:(t,e,n)=>{"use strict";var i=n(4867),r=n(1849),o=n(321),a=n(7185),s=function t(e){var n=new o(e),s=r(o.prototype.request,n);return i.extend(s,o.prototype,n),i.extend(s,n),s.create=function(n){return t(a(e,n))},s}(n(5655));s.Axios=o,s.Cancel=n(5263),s.CancelToken=n(4972),s.isCancel=n(6502),s.VERSION=n(7288).version,s.all=function(t){return Promise.all(t)},s.spread=n(8713),s.isAxiosError=n(6268),t.exports=s,t.exports.default=s},5263:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:(t,e,n)=>{"use strict";var i=n(5263);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,i=n._listeners.length;for(e=0;e{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,e,n)=>{"use strict";var i=n(4867),r=n(5327),o=n(782),a=n(3572),s=n(7185),u=n(4875),l=u.validators;function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!i){var c=[a,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(o),r=Promise.resolve(t);c.length;)r=r.then(c.shift(),c.shift());return r}for(var h=t;n.length;){var f=n.shift(),p=n.shift();try{h=f(h)}catch(t){p(t);break}}try{r=a(h)}catch(t){return Promise.reject(t)}for(;o.length;)r=r.then(o.shift(),o.shift());return r},c.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,i){return this.request(s(i||{},{method:t,url:e,data:n}))}})),t.exports=c},782:(t,e,n)=>{"use strict";var i=n(4867);function r(){this.handlers=[]}r.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},4097:(t,e,n)=>{"use strict";var i=n(1793),r=n(7303);t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},5061:(t,e,n)=>{"use strict";var i=n(481);t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},3572:(t,e,n)=>{"use strict";var i=n(4867),r=n(8527),o=n(6502),a=n(5655),s=n(5263);function u(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){return u(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return u(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(u(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:t=>{"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},7185:(t,e,n)=>{"use strict";var i=n(4867);t.exports=function(t,e){e=e||{};var n={};function r(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function o(n){return i.isUndefined(e[n])?i.isUndefined(t[n])?void 0:r(void 0,t[n]):r(t[n],e[n])}function a(t){if(!i.isUndefined(e[t]))return r(void 0,e[t])}function s(n){return i.isUndefined(e[n])?i.isUndefined(t[n])?void 0:r(void 0,t[n]):r(void 0,e[n])}function u(n){return n in e?r(t[n],e[n]):n in t?r(void 0,t[n]):void 0}var l={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return i.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=l[t]||o,r=e(t);i.isUndefined(r)&&e!==u||(n[t]=r)})),n}},6026:(t,e,n)=>{"use strict";var i=n(5061);t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:(t,e,n)=>{"use strict";var i=n(4867),r=n(5655);t.exports=function(t,e,n){var o=this||r;return i.forEach(n,(function(n){t=n.call(o,t,e)})),t}},5655:(t,e,n)=>{"use strict";var i=n(4867),r=n(6016),o=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(5448)),u),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,n){if(i.isString(t))try{return(0,JSON.parse)(t),i.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||l.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw o(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){l.headers[t]=i.merge(a)})),t.exports=l},7288:t=>{t.exports={version:"0.24.0"}},1849:t=>{"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i{"use strict";var i=n(4867);function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,(function(t,e){null!=t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,n)=>{"use strict";var i=n(4867);t.exports=i.isStandardBrowserEnv()?{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:(t,e,n)=>{"use strict";var i=n(4867);t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},6016:(t,e,n)=>{"use strict";var i=n(4867);t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},4109:(t,e,n)=>{"use strict";var i=n(4867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(i.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:(t,e,n)=>{"use strict";var i=n(7288).version,r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};r.transitional=function(t,e,n){function r(t,e){return"[Axios v"+i+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,i,a){if(!1===t)throw new Error(r(i," has been removed"+(e?" in "+e:"")));return e&&!o[i]&&(o[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,a)}},t.exports={assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var i=Object.keys(t),r=i.length;r-- >0;){var o=i[r],a=e[o];if(a){var s=t[o],u=void 0===s||a(s,o,t);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:r}},4867:(t,e,n)=>{"use strict";var i=n(1849),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function l(t){return"[object Function]"===r.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n{function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e{t.exports=function(t,e,n){var i=!1;if(void 0===window.XMLHttpRequest)return e(Error("Browser not supported"));if(void 0===n){var r=t.match(/^\s*https?:\/\/[^\/]*/);n=r&&r[0]!==location.protocol+"//"+location.hostname+(location.port?":"+location.port:"")}var o=new window.XMLHttpRequest;if(n&&!("withCredentials"in o)){o=new window.XDomainRequest;var a=e;e=function(){if(i)a.apply(this,arguments);else{var t=this,e=arguments;setTimeout((function(){a.apply(t,e)}),0)}}}function s(){var t;void 0===o.status||(t=o.status)>=200&&t<300||304===t?e.call(o,null,o):e.call(o,o,null)}return"onload"in o?o.onload=s:o.onreadystatechange=function(){4===o.readyState&&s()},o.onerror=function(t){e.call(this,t||!0,null),e=function(){}},o.onprogress=function(){},o.ontimeout=function(t){e.call(this,t,null),e=function(){}},o.onabort=function(t){e.call(this,t,null),e=function(){}},o.open("GET",t,!0),o.send(null),i=!0,o}},7984:(t,e,n)=>{"use strict";n.d(e,{Z:()=>m});var i=n(8081),r=n.n(i),o=n(3645),a=n.n(o),s=n(1667),u=n.n(s),l=new URL(n(7505),n.b),c=new URL(n(1836),n.b),h=new URL(n(7093),n.b),f=a()(r()),p=u()(l),d=u()(c),g=u()(h);f.push([t.id,"/* required styles */\r\n\r\n.leaflet-pane,\r\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-tile-container,\r\n.leaflet-pane > svg,\r\n.leaflet-pane > canvas,\r\n.leaflet-zoom-box,\r\n.leaflet-image-layer,\r\n.leaflet-layer {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\t}\r\n.leaflet-container {\r\n\toverflow: hidden;\r\n\t}\r\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\t-webkit-user-select: none;\r\n\t -moz-user-select: none;\r\n\t user-select: none;\r\n\t -webkit-user-drag: none;\r\n\t}\r\n/* Prevents IE11 from highlighting tiles in blue */\r\n.leaflet-tile::selection {\r\n\tbackground: transparent;\r\n}\r\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\r\n.leaflet-safari .leaflet-tile {\r\n\timage-rendering: -webkit-optimize-contrast;\r\n\t}\r\n/* hack that prevents hw layers \"stretching\" when loading new tiles */\r\n.leaflet-safari .leaflet-tile-container {\r\n\twidth: 1600px;\r\n\theight: 1600px;\r\n\t-webkit-transform-origin: 0 0;\r\n\t}\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\tdisplay: block;\r\n\t}\r\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\r\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\r\n.leaflet-container .leaflet-overlay-pane svg,\r\n.leaflet-container .leaflet-marker-pane img,\r\n.leaflet-container .leaflet-shadow-pane img,\r\n.leaflet-container .leaflet-tile-pane img,\r\n.leaflet-container img.leaflet-image-layer,\r\n.leaflet-container .leaflet-tile {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\r\n\t}\r\n\r\n.leaflet-container.leaflet-touch-zoom {\r\n\t-ms-touch-action: pan-x pan-y;\r\n\ttouch-action: pan-x pan-y;\r\n\t}\r\n.leaflet-container.leaflet-touch-drag {\r\n\t-ms-touch-action: pinch-zoom;\r\n\t/* Fallback for FF which doesn't support pinch-zoom */\r\n\ttouch-action: none;\r\n\ttouch-action: pinch-zoom;\r\n}\r\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\r\n\t-ms-touch-action: none;\r\n\ttouch-action: none;\r\n}\r\n.leaflet-container {\r\n\t-webkit-tap-highlight-color: transparent;\r\n}\r\n.leaflet-container a {\r\n\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\r\n}\r\n.leaflet-tile {\r\n\tfilter: inherit;\r\n\tvisibility: hidden;\r\n\t}\r\n.leaflet-tile-loaded {\r\n\tvisibility: inherit;\r\n\t}\r\n.leaflet-zoom-box {\r\n\twidth: 0;\r\n\theight: 0;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\tz-index: 800;\r\n\t}\r\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\r\n.leaflet-overlay-pane svg {\r\n\t-moz-user-select: none;\r\n\t}\r\n\r\n.leaflet-pane { z-index: 400; }\r\n\r\n.leaflet-tile-pane { z-index: 200; }\r\n.leaflet-overlay-pane { z-index: 400; }\r\n.leaflet-shadow-pane { z-index: 500; }\r\n.leaflet-marker-pane { z-index: 600; }\r\n.leaflet-tooltip-pane { z-index: 650; }\r\n.leaflet-popup-pane { z-index: 700; }\r\n\r\n.leaflet-map-pane canvas { z-index: 100; }\r\n.leaflet-map-pane svg { z-index: 200; }\r\n\r\n.leaflet-vml-shape {\r\n\twidth: 1px;\r\n\theight: 1px;\r\n\t}\r\n.lvml {\r\n\tbehavior: url(#default#VML);\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\r\n\t}\r\n\r\n\r\n/* control positioning */\r\n\r\n.leaflet-control {\r\n\tposition: relative;\r\n\tz-index: 800;\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\r\n\t}\r\n.leaflet-top,\r\n.leaflet-bottom {\r\n\tposition: absolute;\r\n\tz-index: 1000;\r\n\tpointer-events: none;\r\n\t}\r\n.leaflet-top {\r\n\ttop: 0;\r\n\t}\r\n.leaflet-right {\r\n\tright: 0;\r\n\t}\r\n.leaflet-bottom {\r\n\tbottom: 0;\r\n\t}\r\n.leaflet-left {\r\n\tleft: 0;\r\n\t}\r\n.leaflet-control {\r\n\tfloat: left;\r\n\tclear: both;\r\n\t}\r\n.leaflet-right .leaflet-control {\r\n\tfloat: right;\r\n\t}\r\n.leaflet-top .leaflet-control {\r\n\tmargin-top: 10px;\r\n\t}\r\n.leaflet-bottom .leaflet-control {\r\n\tmargin-bottom: 10px;\r\n\t}\r\n.leaflet-left .leaflet-control {\r\n\tmargin-left: 10px;\r\n\t}\r\n.leaflet-right .leaflet-control {\r\n\tmargin-right: 10px;\r\n\t}\r\n\r\n\r\n/* zoom and fade animations */\r\n\r\n.leaflet-fade-anim .leaflet-tile {\r\n\twill-change: opacity;\r\n\t}\r\n.leaflet-fade-anim .leaflet-popup {\r\n\topacity: 0;\r\n\t-webkit-transition: opacity 0.2s linear;\r\n\t -moz-transition: opacity 0.2s linear;\r\n\t transition: opacity 0.2s linear;\r\n\t}\r\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\r\n\topacity: 1;\r\n\t}\r\n.leaflet-zoom-animated {\r\n\t-webkit-transform-origin: 0 0;\r\n\t -ms-transform-origin: 0 0;\r\n\t transform-origin: 0 0;\r\n\t}\r\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\twill-change: transform;\r\n\t}\r\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\t-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t transition: transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t}\r\n.leaflet-zoom-anim .leaflet-tile,\r\n.leaflet-pan-anim .leaflet-tile {\r\n\t-webkit-transition: none;\r\n\t -moz-transition: none;\r\n\t transition: none;\r\n\t}\r\n\r\n.leaflet-zoom-anim .leaflet-zoom-hide {\r\n\tvisibility: hidden;\r\n\t}\r\n\r\n\r\n/* cursors */\r\n\r\n.leaflet-interactive {\r\n\tcursor: pointer;\r\n\t}\r\n.leaflet-grab {\r\n\tcursor: -webkit-grab;\r\n\tcursor: -moz-grab;\r\n\tcursor: grab;\r\n\t}\r\n.leaflet-crosshair,\r\n.leaflet-crosshair .leaflet-interactive {\r\n\tcursor: crosshair;\r\n\t}\r\n.leaflet-popup-pane,\r\n.leaflet-control {\r\n\tcursor: auto;\r\n\t}\r\n.leaflet-dragging .leaflet-grab,\r\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\r\n.leaflet-dragging .leaflet-marker-draggable {\r\n\tcursor: move;\r\n\tcursor: -webkit-grabbing;\r\n\tcursor: -moz-grabbing;\r\n\tcursor: grabbing;\r\n\t}\r\n\r\n/* marker & overlays interactivity */\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-image-layer,\r\n.leaflet-pane > svg path,\r\n.leaflet-tile-container {\r\n\tpointer-events: none;\r\n\t}\r\n\r\n.leaflet-marker-icon.leaflet-interactive,\r\n.leaflet-image-layer.leaflet-interactive,\r\n.leaflet-pane > svg path.leaflet-interactive,\r\nsvg.leaflet-image-layer.leaflet-interactive path {\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\r\n\t}\r\n\r\n/* visual tweaks */\r\n\r\n.leaflet-container {\r\n\tbackground: #ddd;\r\n\toutline: 0;\r\n\t}\r\n.leaflet-container a {\r\n\tcolor: #0078A8;\r\n\t}\r\n.leaflet-container a.leaflet-active {\r\n\toutline: 2px solid orange;\r\n\t}\r\n.leaflet-zoom-box {\r\n\tborder: 2px dotted #38f;\r\n\tbackground: rgba(255,255,255,0.5);\r\n\t}\r\n\r\n\r\n/* general typography */\r\n.leaflet-container {\r\n\tfont: 12px/1.5 \"Helvetica Neue\", Arial, Helvetica, sans-serif;\r\n\t}\r\n\r\n\r\n/* general toolbar styles */\r\n\r\n.leaflet-bar {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\r\n\tborder-radius: 4px;\r\n\t}\r\n.leaflet-bar a,\r\n.leaflet-bar a:hover {\r\n\tbackground-color: #fff;\r\n\tborder-bottom: 1px solid #ccc;\r\n\twidth: 26px;\r\n\theight: 26px;\r\n\tline-height: 26px;\r\n\tdisplay: block;\r\n\ttext-align: center;\r\n\ttext-decoration: none;\r\n\tcolor: black;\r\n\t}\r\n.leaflet-bar a,\r\n.leaflet-control-layers-toggle {\r\n\tbackground-position: 50% 50%;\r\n\tbackground-repeat: no-repeat;\r\n\tdisplay: block;\r\n\t}\r\n.leaflet-bar a:hover {\r\n\tbackground-color: #f4f4f4;\r\n\t}\r\n.leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 4px;\r\n\tborder-top-right-radius: 4px;\r\n\t}\r\n.leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 4px;\r\n\tborder-bottom-right-radius: 4px;\r\n\tborder-bottom: none;\r\n\t}\r\n.leaflet-bar a.leaflet-disabled {\r\n\tcursor: default;\r\n\tbackground-color: #f4f4f4;\r\n\tcolor: #bbb;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-bar a {\r\n\twidth: 30px;\r\n\theight: 30px;\r\n\tline-height: 30px;\r\n\t}\r\n.leaflet-touch .leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 2px;\r\n\tborder-top-right-radius: 2px;\r\n\t}\r\n.leaflet-touch .leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 2px;\r\n\tborder-bottom-right-radius: 2px;\r\n\t}\r\n\r\n/* zoom control */\r\n\r\n.leaflet-control-zoom-in,\r\n.leaflet-control-zoom-out {\r\n\tfont: bold 18px 'Lucida Console', Monaco, monospace;\r\n\ttext-indent: 1px;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\r\n\tfont-size: 22px;\r\n\t}\r\n\r\n\r\n/* layers control */\r\n\r\n.leaflet-control-layers {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\r\n\tbackground: #fff;\r\n\tborder-radius: 5px;\r\n\t}\r\n.leaflet-control-layers-toggle {\r\n\tbackground-image: url("+p+");\r\n\twidth: 36px;\r\n\theight: 36px;\r\n\t}\r\n.leaflet-retina .leaflet-control-layers-toggle {\r\n\tbackground-image: url("+d+");\r\n\tbackground-size: 26px 26px;\r\n\t}\r\n.leaflet-touch .leaflet-control-layers-toggle {\r\n\twidth: 44px;\r\n\theight: 44px;\r\n\t}\r\n.leaflet-control-layers .leaflet-control-layers-list,\r\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\r\n\tdisplay: none;\r\n\t}\r\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\r\n\tdisplay: block;\r\n\tposition: relative;\r\n\t}\r\n.leaflet-control-layers-expanded {\r\n\tpadding: 6px 10px 6px 6px;\r\n\tcolor: #333;\r\n\tbackground: #fff;\r\n\t}\r\n.leaflet-control-layers-scrollbar {\r\n\toverflow-y: scroll;\r\n\toverflow-x: hidden;\r\n\tpadding-right: 5px;\r\n\t}\r\n.leaflet-control-layers-selector {\r\n\tmargin-top: 2px;\r\n\tposition: relative;\r\n\ttop: 1px;\r\n\t}\r\n.leaflet-control-layers label {\r\n\tdisplay: block;\r\n\t}\r\n.leaflet-control-layers-separator {\r\n\theight: 0;\r\n\tborder-top: 1px solid #ddd;\r\n\tmargin: 5px -10px 5px -6px;\r\n\t}\r\n\r\n/* Default icon URLs */\r\n.leaflet-default-icon-path {\r\n\tbackground-image: url("+g+');\r\n\t}\r\n\r\n\r\n/* attribution and scale controls */\r\n\r\n.leaflet-container .leaflet-control-attribution {\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.7);\r\n\tmargin: 0;\r\n\t}\r\n.leaflet-control-attribution,\r\n.leaflet-control-scale-line {\r\n\tpadding: 0 5px;\r\n\tcolor: #333;\r\n\t}\r\n.leaflet-control-attribution a {\r\n\ttext-decoration: none;\r\n\t}\r\n.leaflet-control-attribution a:hover {\r\n\ttext-decoration: underline;\r\n\t}\r\n.leaflet-container .leaflet-control-attribution,\r\n.leaflet-container .leaflet-control-scale {\r\n\tfont-size: 11px;\r\n\t}\r\n.leaflet-left .leaflet-control-scale {\r\n\tmargin-left: 5px;\r\n\t}\r\n.leaflet-bottom .leaflet-control-scale {\r\n\tmargin-bottom: 5px;\r\n\t}\r\n.leaflet-control-scale-line {\r\n\tborder: 2px solid #777;\r\n\tborder-top: none;\r\n\tline-height: 1.1;\r\n\tpadding: 2px 5px 1px;\r\n\tfont-size: 11px;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.5);\r\n\t}\r\n.leaflet-control-scale-line:not(:first-child) {\r\n\tborder-top: 2px solid #777;\r\n\tborder-bottom: none;\r\n\tmargin-top: -2px;\r\n\t}\r\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\r\n\tborder-bottom: 2px solid #777;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-control-attribution,\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tbox-shadow: none;\r\n\t}\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tborder: 2px solid rgba(0,0,0,0.2);\r\n\tbackground-clip: padding-box;\r\n\t}\r\n\r\n\r\n/* popup */\r\n\r\n.leaflet-popup {\r\n\tposition: absolute;\r\n\ttext-align: center;\r\n\tmargin-bottom: 20px;\r\n\t}\r\n.leaflet-popup-content-wrapper {\r\n\tpadding: 1px;\r\n\ttext-align: left;\r\n\tborder-radius: 12px;\r\n\t}\r\n.leaflet-popup-content {\r\n\tmargin: 13px 19px;\r\n\tline-height: 1.4;\r\n\t}\r\n.leaflet-popup-content p {\r\n\tmargin: 18px 0;\r\n\t}\r\n.leaflet-popup-tip-container {\r\n\twidth: 40px;\r\n\theight: 20px;\r\n\tposition: absolute;\r\n\tleft: 50%;\r\n\tmargin-left: -20px;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\t}\r\n.leaflet-popup-tip {\r\n\twidth: 17px;\r\n\theight: 17px;\r\n\tpadding: 1px;\r\n\r\n\tmargin: -10px auto 0;\r\n\r\n\t-webkit-transform: rotate(45deg);\r\n\t -moz-transform: rotate(45deg);\r\n\t -ms-transform: rotate(45deg);\r\n\t transform: rotate(45deg);\r\n\t}\r\n.leaflet-popup-content-wrapper,\r\n.leaflet-popup-tip {\r\n\tbackground: white;\r\n\tcolor: #333;\r\n\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\r\n\t}\r\n.leaflet-container a.leaflet-popup-close-button {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tpadding: 4px 4px 0 0;\r\n\tborder: none;\r\n\ttext-align: center;\r\n\twidth: 18px;\r\n\theight: 14px;\r\n\tfont: 16px/14px Tahoma, Verdana, sans-serif;\r\n\tcolor: #c3c3c3;\r\n\ttext-decoration: none;\r\n\tfont-weight: bold;\r\n\tbackground: transparent;\r\n\t}\r\n.leaflet-container a.leaflet-popup-close-button:hover {\r\n\tcolor: #999;\r\n\t}\r\n.leaflet-popup-scrolled {\r\n\toverflow: auto;\r\n\tborder-bottom: 1px solid #ddd;\r\n\tborder-top: 1px solid #ddd;\r\n\t}\r\n\r\n.leaflet-oldie .leaflet-popup-content-wrapper {\r\n\t-ms-zoom: 1;\r\n\t}\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\twidth: 24px;\r\n\tmargin: 0 auto;\r\n\r\n\t-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";\r\n\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\r\n\t}\r\n.leaflet-oldie .leaflet-popup-tip-container {\r\n\tmargin-top: -1px;\r\n\t}\r\n\r\n.leaflet-oldie .leaflet-control-zoom,\r\n.leaflet-oldie .leaflet-control-layers,\r\n.leaflet-oldie .leaflet-popup-content-wrapper,\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\tborder: 1px solid #999;\r\n\t}\r\n\r\n\r\n/* div icon */\r\n\r\n.leaflet-div-icon {\r\n\tbackground: #fff;\r\n\tborder: 1px solid #666;\r\n\t}\r\n\r\n\r\n/* Tooltip */\r\n/* Base styles for the element that has a tooltip */\r\n.leaflet-tooltip {\r\n\tposition: absolute;\r\n\tpadding: 6px;\r\n\tbackground-color: #fff;\r\n\tborder: 1px solid #fff;\r\n\tborder-radius: 3px;\r\n\tcolor: #222;\r\n\twhite-space: nowrap;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n\tpointer-events: none;\r\n\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\r\n\t}\r\n.leaflet-tooltip.leaflet-clickable {\r\n\tcursor: pointer;\r\n\tpointer-events: auto;\r\n\t}\r\n.leaflet-tooltip-top:before,\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\tposition: absolute;\r\n\tpointer-events: none;\r\n\tborder: 6px solid transparent;\r\n\tbackground: transparent;\r\n\tcontent: "";\r\n\t}\r\n\r\n/* Directions */\r\n\r\n.leaflet-tooltip-bottom {\r\n\tmargin-top: 6px;\r\n}\r\n.leaflet-tooltip-top {\r\n\tmargin-top: -6px;\r\n}\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-top:before {\r\n\tleft: 50%;\r\n\tmargin-left: -6px;\r\n\t}\r\n.leaflet-tooltip-top:before {\r\n\tbottom: 0;\r\n\tmargin-bottom: -12px;\r\n\tborder-top-color: #fff;\r\n\t}\r\n.leaflet-tooltip-bottom:before {\r\n\ttop: 0;\r\n\tmargin-top: -12px;\r\n\tmargin-left: -6px;\r\n\tborder-bottom-color: #fff;\r\n\t}\r\n.leaflet-tooltip-left {\r\n\tmargin-left: -6px;\r\n}\r\n.leaflet-tooltip-right {\r\n\tmargin-left: 6px;\r\n}\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\ttop: 50%;\r\n\tmargin-top: -6px;\r\n\t}\r\n.leaflet-tooltip-left:before {\r\n\tright: 0;\r\n\tmargin-right: -12px;\r\n\tborder-left-color: #fff;\r\n\t}\r\n.leaflet-tooltip-right:before {\r\n\tleft: 0;\r\n\tmargin-left: -12px;\r\n\tborder-right-color: #fff;\r\n\t}\r\n',""]);const m=f},5426:(t,e,n)=>{"use strict";n.d(e,{Z:()=>A});var i=n(8081),r=n.n(i),o=n(3645),a=n.n(o),s=n(1667),u=n.n(s),l=new URL(n(1696),n.b),c=new URL(n(1891),n.b),h=new URL(n(7347),n.b),f=new URL(n(6270),n.b),p=new URL(n(4610),n.b),d=new URL(n(9378),n.b),g=new URL(n(9082),n.b),m=a()(r()),_=u()(l),v=u()(c),y=u()(h),M=u()(f),w=u()(p),b=u()(d),x=u()(g);m.push([t.id,".spin {\n width: 100%;\n}\n\n.spin-container {\n position: relative;\n overflow: hidden;\n display: block;\n height: 4px;\n z-index: 0;\n background-color: rgb(167, 202, 237);\n}\n\n.spin-container > .sub1 {\n position: absolute;\n left: 0px;\n bottom: 0px;\n top: 0px;\n transition: transform 0.2s linear 0s;\n transform-origin: left center;\n background-color: rgb(25, 118, 210);\n width: auto;\n animation: 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) 0s infinite normal\n none running animation-ozg7p2;\n}\n\n.spin-container > .sub2 {\n position: absolute;\n left: 0px;\n bottom: 0px;\n top: 0px;\n transition: transform 0.2s linear 0s;\n transform-origin: left center;\n background-color: rgb(25, 118, 210);\n width: auto;\n animation: 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite normal none\n running animation-19gglwu;\n}\n\n@-webkit-keyframes animation-19gglwu {\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n}\n\n@keyframes animation-19gglwu {\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n}\n\n@-webkit-keyframes animation-ozg7p2 {\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n}\n\n@keyframes animation-ozg7p2 {\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n}\n\n.alert-container {\n width: 100%;\n position: absolute;\n top: 0px;\n display: flex;\n justify-content: center;\n}\n\n.alert {\n margin-top: 1rem;\n align-items: center !important;\n display: flex !important;\n color: #664d03;\n /* background-color: #fff3cd; */\n background-color: rgb(255 243 204 / 90%);\n border-color: #ffecb5;\n position: relative;\n padding: 0.5rem 0.5rem;\n margin-bottom: 1rem;\n border: 1px solid transparent;\n border-radius: 0.25rem;\n box-sizing: border-box;\n}\n.alert-svg {\n margin-right: 0.5rem !important;\n flex-shrink: 0 !important;\n vertical-align: middle;\n width: 24;\n height: 24;\n overflow: hidden;\n color: #664d03;\n background-color: #fff3cd;\n border-color: #ffecb5;\n}\n\n.buttonPanel {\n display: flex;\n justify-content: center;\n align-items: center;\n width: fit-content;\n}\n#next-left-arrow,\n#next-right-arrow {\n cursor: pointer;\n}\n#next-left-arrow:hover svg,\n#next-right-arrow:hover svg {\n filter: brightness(1.5);\n transition: 0.2s;\n}\n\n/* Markers */\n\n.greenstand-point-selected {\n z-index: 9999 !important;\n}\n.greenstand-point-highlight,\n.greenstand-cluster-highlight {\n z-index: 999 !important;\n}\n\n.greenstand-point-selected-box {\n background: url("+_+");\n width: 29px;\n height: 32px;\n}\n\n.greenstand-point-highlight-box {\n background: url("+v+");\n width: 29px;\n height: 32px;\n}\n\n.greenstand-cluster-highlight {\n margin-left: 0px !important;\n margin-top: 0px !important;\n}\n\n.greenstand-cluster-highlight-box {\n background: url("+y+");\n width: 63px;\n height: 63px;\n display: flex;\n justify-content: center;\n align-items: center;\n transform: translate(-50%, -50%);\n font-family: Roboto, Arial, sans-serif;\n font-size: 14px;\n}\n\n.greenstand-cluster-highlight-box.small {\n background: url("+M+");\n width: 46px;\n height: 46px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-family: Roboto, Arial, sans-serif;\n font-size: 14px;\n}\n\n/* Markers - Green(big) */\n.greenstand-point-selected-box.green-b {\n background: url("+w+") no-repeat;\n background-size: contain;\n position: relative;\n top: -4px;\n width: 66px;\n height: 87px;\n}\n\n.greenstand-point-highlight-box.green-b {\n background: url("+b+") no-repeat;\n background-size: contain;\n position: relative;\n top: -4px;\n width: 66px;\n height: 87px;\n}\n\n.greenstand-cluster-highlight-box.green-b {\n background: url("+x+") no-repeat;\n background-size: contain;\n width: 67px;\n height: 96px;\n position: relative;\n top: 1px;\n font-family: Lato, Arial, sans-serif;\n font-weight: 500;\n}\n\n/* Markers - Green(small) */\n.greenstand-point-selected-box.green-s {\n background: url("+w+") no-repeat;\n background-size: contain;\n position: relative;\n top: 1px;\n left: 5px;\n width: 55px;\n height: 63px;\n}\n\n.greenstand-point-highlight-box.green-s {\n background: url("+b+") no-repeat;\n background-size: contain;\n position: relative;\n top: 1px;\n left: 5px;\n width: 55px;\n height: 63px;\n}\n\n.greenstand-cluster-highlight-box.green-s {\n background: url("+x+") no-repeat;\n background-size: contain;\n top: 1px;\n width: 56px;\n height: 77px;\n position: relative;\n font-family: Lato, Arial, sans-serif;\n font-size: 12px;\n font-weight: 500;\n}\n",""]);const A=m},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(i)for(var s=0;s0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),e.push(c))}},e}},1667:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},8081:t=>{"use strict";t.exports=function(t){return t[1]}},7187:t=>{"use strict";var e,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};e=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var r=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(t,e){return new Promise((function(n,i){function r(n){t.removeListener(e,o),i(n)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",r),n([].slice.call(arguments))}g(t,e,o,{once:!0}),"error"!==e&&function(t,e,n){"function"==typeof t.on&&g(t,"error",e,{once:!0})}(t,r)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function l(t,e,n,i){var r,o,a,l;if(s(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),void 0===a)a=o[e]=n,++t._eventsCount;else if("function"==typeof a?a=o[e]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),(r=u(t))>0&&a.length>r&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return t}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,e,n){var i={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=c.bind(i);return r.listener=n,i.wrapFn=r,r}function f(t,e,n){var i=t._events;if(void 0===i)return[];var r=i[e];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[t];if(void 0===u)return!1;if("function"==typeof u)i(u,this,e);else{var l=u.length,c=d(u,l);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,r=o;break}if(r<0)return this;0===r?n.shift():function(t,e){for(;e+1=0;i--)this.removeListener(t,e[i]);return this},o.prototype.listeners=function(t){return f(this,t,!0)},o.prototype.rawListeners=function(t){return f(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):p.call(t,e)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},7254:t=>{class e{}class n extends e{constructor(t){super(),"string"==typeof t?"string"===t?this.sample=String:"number"===t?this.sample=Number:"function"===t?this.sample=Function:"object"===t?this.sample=Object:"boolean"===t&&(this.sample=Boolean):this.sample=t}equal(t){return this.sample==String?"string"==typeof t||t instanceof String:this.sample==Number?"number"==typeof t||t instanceof Number:this.sample==Function?"function"==typeof t||t instanceof Function:this.sample==Object?"object"==typeof t:this.sample==Boolean?"boolean"==typeof t:this.sample==Symbol?"symbol"==typeof t:t instanceof this.sample}toString(){return`any of ${this.sample}`}}class i extends e{equal(t){return void 0!==t}}class r extends e{constructor(t){super(t),this.regex=t}equal(t){return this.regex.test(t)}}class o{constructor(t,e){this._actual=t,this._message=e,this.flags=[],this.lengthOf.above=(...t)=>{this.addFlag("lengthOf"),this.above(...t)},this.lengthOf.most=(...t)=>{this.addFlag("lengthOf"),this.most(...t)},this.lengthOf.least=(...t)=>{this.addFlag("lengthOf"),this.least(...t)},this.lengthOf.below=(...t)=>{this.addFlag("lengthOf"),this.below(...t)}}get to(){return this}get be(){return this}get been(){return this}get is(){return this}get and(){return this}get has(){return this}get have(){return this}get with(){return this}get that(){return this}get which(){return this}get at(){return this}get of(){return this}get same(){return this}get but(){return this}get does(){return this}get still(){return this}get actual(){return this._actual}get not(){return this.addFlag("not"),this}addFlag(t){this.flags.push(t)}_equal(t){return t instanceof e?t.equal(this._actual):this.flags.includes("not")?this._actual!==t:this._actual===t}_equalWithActual(t,n){return n instanceof e?n.equal(t):this.flags.includes("not")?t!==n:t===n}defined(){if(this.flags.includes("not")){if(void 0===this._actual)return this;this.throw("not be defined")}else{if(void 0!==this._actual)return this;this.throw("be defined")}}number(){if("number"==typeof this._actual)return this;this.throw("be number")}property(t){const e=this._actual[t];if(void 0!==e)return new o(e,this._message);this.throw(`has property:${t}`)}throw(t){const e=`[assert failed] expect ${s(this._actual)} --to--\x3e ${this.flags.join(" ")} ${t}`;throw this._message?"function"==typeof this._message?this._message():new Error(this._message):new Error(e)}match(t){if(void 0===this._actual&&this.throw(`match ${JSON.stringify(t,null,2)}`),t instanceof RegExp){if(t.test(this._actual))return this;this.throw(`match ${t.toString()}`)}else if(t instanceof Array){if(1!==t.length)throw Error("just 1 length of array allowed here");const n=t[0];if(this._actual instanceof Array||this.throw(`match array of ${JSON.stringify(n,null,2)}`),n instanceof e)try{this._actual.forEach((t=>{if(!this._equalWithActual(t,n))throw Error()}))}catch(t){this.throw(`match array of ${JSON.stringify(n,null,2)}`)}else try{this._actual.forEach((t=>{a(t).match(n)}))}catch(t){this.throw(`match array of ${JSON.stringify(n,null,2)}`)}}else if("object"==typeof t){let n=!0;if(Object.keys(t).forEach((i=>{const r=t[i],o=this._actual[i];"object"!=typeof r||r instanceof e?this._equalWithActual(o,r)||(n=!1):a(o).match(r)})),!1!==n)return this;this.throw(`match ${JSON.stringify(t,null,2)}`)}else this.throw(`match ${t}`)}lengthOf(t){if(this._actual.length===t)return this;this.throw(`length of ${t}`)}a(t){if("string"==typeof t)if("array"===t)t=a.any(Array);else if("string"===t)t=a.any(String);else if("object"===t)t=a.any(Object);else if("number"===t)t=a.any(Number);else{if("function"!==t)throw new Error("do not support type string:"+t);t=a.any(Function)}if(this._equal(t))return this;this.throw(`a ${t}`)}least(t){if(this.flags.includes("lengthOf")){if(this._actual.length>=t)return this;this.throw(`least ${t}`)}else{if(this._actual>=t)return this;this.throw(`least ${t}`)}}most(t){if(this.flags.includes("lengthOf")){if(this._actual.length<=t)return this;this.throw(`most ${t}`)}else{if(this._actual<=t)return this;this.throw(`most ${t}`)}}above(t){if(this.flags.includes("lengthOf")){if(this._actual.length>t)return this;this.throw(`above ${t}`)}else{if(this._actual>t)return this;this.throw(`above ${t}`)}}below(t){if(this.flags.includes("lengthOf")){if(this._actual.length=t)return this;this.throw(`within [${t},${e}]`)}equal(t){if(this._equal(t))return this;this.throw(`equal ${t}`)}oneOf(t){if(t.includes(this._actual))return this;this.throw(`one of ${JSON.stringify(t)}`)}instanceOf(t){if(this._actual instanceof t)return this;this.throw(`instanceof ${t}`)}}function a(t,e){return new o(t,e)}function s(t){if(void 0===t)return t;if("string"==typeof t)return`'${t}'`;if(t instanceof Array){let e=`[${t.map((t=>u(t))).join(",")}]`;return e.length>500&&(e=`[${t.slice(0,2)},...](length:${t.length})`),e.length>500&&(e=`[...](length: ${t.length})`),e}return isNaN(t)?u(t):`${t}`}function u(t){let e="";if("number"==typeof t)return t+"";"Object"!==t.constructor.name&&(e+=`[${t.constructor.name}] `);let n={};for(var i in t)"function"==typeof t[i]?n[i]="[Function]":n[i]=t[i];try{var r=[];let t=0;e+=JSON.stringify(n,((e,n)=>{if("object"==typeof n&&null!==n){if(r.includes(n))return"[Circle]";r.push(n)}if(t++>200)throw Error("stringify reach the limitation!");return n}),2),r=null}catch(i){console.error("stringify failed:",i,"the source:",n),e+=t}return e}o.prototype.an=o.prototype.a,o.prototype.eq=o.prototype.equal,a.any=function(t){return new n(t)},a.anything=function(){return new i},a.stringMatching=function(t){return new r(t)},a.fail=function(){throw Error("expect fail!")},a.stringify=s,t.exports=a},9109:(t,e,n)=>{n(1156);const i=n(9669);L.UTFGrid=L.TileLayer.extend({options:{resolution:4,pointerCursor:!0,mouseInterval:66},_mouseOn:null,_mouseOnTile:null,_tileCharCode:null,_cache:null,_idIndex:null,_throttleMove:null,_updateCursor:function(){},onAdd:function(t){this._cache={},this._idIndex={},L.TileLayer.prototype.onAdd.call(this,t),this._throttleMove=L.Util.throttle(this._move,this.options.mouseInterval,this),this.options.pointerCursor&&(this._updateCursor=function(t){this._container.style.cursor=t}),t.on("boxzoomstart",this._disconnectMapEventHandlers,this),t.on("boxzoomend",this._throttleConnectEventHandlers,this),this._connectMapEventHandlers(),new MutationObserver((function(t,e){for(const e of t)if("childList"===e.type)for(const t of e.removedNodes)t.cancelRequest&&t.cancelRequest();else e.type})).observe(this._container,{attributes:!1,childList:!0,subtree:!0})},onRemove:function(){var t=this._map;t.off("boxzoomstart",this._disconnectMapEventHandlers,this),t.off("boxzoomend",this._throttleConnectEventHandlers,this),this._disconnectMapEventHandlers(),this._updateCursor(""),L.TileLayer.prototype.onRemove.call(this,t)},createTile:function(t,e){const n=this._loadTile(t,(()=>{e(void 0,void 0)})),i=document.createElement("div");return i.cancelRequest=()=>{n&&n.cancel instanceof Function?n.cancel():console.debug("It's not a function:",n)},i},setUrl:function(t,e){return this._cache={},L.TileLayer.prototype.setUrl.call(this,t,e)},_connectMapEventHandlers:function(){this._map.on("click",this._onClick,this),this._map.on("mousemove",this._throttleMove,this)},_disconnectMapEventHandlers:function(){this._map.off("click",this._onClick,this),this._map.off("mousemove",this._throttleMove,this)},_throttleConnectEventHandlers:function(){setTimeout(this._connectMapEventHandlers.bind(this),100)},_update:function(t,e){L.TileLayer.prototype._update.call(this,t,e)},_loadTile:function(t,e){var n=this.getTileUrl(t),r=this._tileCoordsToKey(t),o=this;if(this._cache[r])return e(),{cancle:()=>{console.debug("nothing to cancel")}};const a=i.CancelToken.source();return i.request({url:n,method:"get",cancelToken:a.token}).then((t=>{var n=t.data;o._cache[r]=n,L.Util.bind(o._handleTileLoad,o)(r,n),e()})).catch((t=>{i.isCancel(t)||(console.error("error:",t),o.fire("error",{error:t}))})),{cancel:()=>{a.cancel("clean tiel request")}}},_handleTileLoad:function(t,e){},_onClick:function(t){this.fire("click",this._objectForEvent(t))},_move:function(t){if(null!=t.latlng){var e=this._objectForEvent(t);e._tileCharCode!==this._tileCharCode?(this._mouseOn&&(this.fire("mouseout",{latlng:t.latlng,data:this._mouseOn,_tile:this._mouseOnTile,_tileCharCode:this._tileCharCode}),this._updateCursor("")),e.data&&(this.fire("mouseover",e),this._updateCursor("pointer")),this._mouseOn=e.data,this._mouseOnTile=e._tile,this._tileCharCode=e._tileCharCode):e.data&&this.fire("mousemove",e)}},_objectForEvent:function(t){if(t.latlng){var e=this._map,n=e.project(t.latlng),i=this.options.tileSize,r=this.options.resolution,o=Math.floor(n.x/i),a=Math.floor(n.y/i),s=Math.floor((n.x-o*i)/r),u=Math.floor((n.y-a*i)/r),l=e.options.crs.scale(e.getZoom())/i;o=(o+l)%l,a=(a+l)%l;var c=this._tileCoordsToKey({z:e.getZoom(),x:o,y:a}),h=this._cache[c];if(!h)return{latlng:t.latlng,data:null,_tile:null,_tileCharCode:null};var f=h.grid[u].charCodeAt(s),p=this._utfDecode(f),d=h.keys[p],g=h.data[d];return h.data.hasOwnProperty(d)||(g=null),{latlng:t.latlng,data:g,id:g?g.id:null,_tile:c,_tileCharCode:c+":"+f}}},_dataForCharCode:function(t,e){var n=this._cache[t],i=this._utfDecode(e),r=n.keys[i],o=n.data[r];return n.data.hasOwnProperty(r)||(o=null),o},_utfDecode:function(t){return t>=93&&t--,t>=35&&t--,t-32},_utfEncode:function(t){var e=t+32;return e>=34&&e++,e>=92&&e++,e}}),L.utfGrid=function(t,e){return new L.UTFGrid(t,e)}},9627:()=>{!function(){"use strict";var t=Symbol("newer"),e=Symbol("older"),n=function(t,e){"number"!=typeof t&&(e=t,t=0),this.size=0,this.limit=t,this.oldest=this.newest=void 0,this._keymap=new Map,e&&(this.assign(e),t<1&&(this.limit=this.size))};function i(n,i){this.key=n,this.value=i,this[t]=void 0,this[e]=void 0}function r(t){this.entry=t}function o(t){this.entry=t}function a(t){this.entry=t}n.prototype._markEntryAsUsed=function(n){n!==this.newest&&(n[t]&&(n===this.oldest&&(this.oldest=n[t]),n[t][e]=n[e]),n[e]&&(n[e][t]=n[t]),n[t]=void 0,n[e]=this.newest,this.newest&&(this.newest[t]=n),this.newest=n)},n.prototype.assign=function(n){var r,o=this.limit||Number.MAX_VALUE;this._keymap.clear();for(var a=n[Symbol.iterator](),s=a.next();!s.done;s=a.next()){var u=new i(s.value[0],s.value[1]);if(this._keymap.set(u.key,u),r?(r[t]=u,u[e]=r):this.oldest=u,r=u,0==o--)throw new Error("overflow")}this.newest=r,this.size=this._keymap.size},n.prototype.get=function(t){var e=this._keymap.get(t);if(e)return this._markEntryAsUsed(e),e.value},n.prototype.set=function(n,r){var o=this._keymap.get(n);return o?(o.value=r,this._markEntryAsUsed(o),this):(this._keymap.set(n,o=new i(n,r)),this.newest?(this.newest[t]=o,o[e]=this.newest):this.oldest=o,this.newest=o,++this.size,this.size>this.limit&&this.shift(),this)},n.prototype.shift=function(){var n=this.oldest;if(n)return this.oldest[t]?(this.oldest=this.oldest[t],this.oldest[e]=void 0):(this.oldest=void 0,this.newest=void 0),n[t]=n[e]=void 0,this._keymap.delete(n.key),--this.size,[n.key,n.value]},n.prototype.find=function(t){var e=this._keymap.get(t);return e?e.value:void 0},n.prototype.has=function(t){return this._keymap.has(t)},n.prototype.delete=function(n){var i=this._keymap.get(n);if(i)return this._keymap.delete(i.key),i[t]&&i[e]?(i[e][t]=i[t],i[t][e]=i[e]):i[t]?(i[t][e]=void 0,this.oldest=i[t]):i[e]?(i[e][t]=void 0,this.newest=i[e]):this.oldest=this.newest=void 0,this.size--,i.value},n.prototype.clear=function(){this.oldest=this.newest=void 0,this.size=0,this._keymap.clear()},n.prototype.keys=function(){return new o(this.oldest)},n.prototype.values=function(){return new a(this.oldest)},n.prototype.entries=function(){return this},n.prototype[Symbol.iterator]=function(){return new r(this.oldest)},n.prototype.forEach=function(e,n){"object"!=typeof n&&(n=this);for(var i=this.oldest;i;)e.call(n,i.value,i.key,this),i=i[t]},n.prototype.toJSON=function(){for(var e=new Array(this.size),n=0,i=this.oldest;i;)e[n++]={key:i.key,value:i.value},i=i[t];return e},n.prototype.toString=function(){for(var e="",n=this.oldest;n;)e+=String(n.key)+":"+n.value,(n=n[t])&&(e+=" < ");return e},r.prototype[Symbol.iterator]=function(){return this},r.prototype.next=function(){var e=this.entry;return e?(this.entry=e[t],{done:!1,value:[e.key,e.value]}):{done:!0,value:void 0}},o.prototype[Symbol.iterator]=function(){return this},o.prototype.next=function(){var e=this.entry;return e?(this.entry=e[t],{done:!1,value:e.key}):{done:!0,value:void 0}},a.prototype[Symbol.iterator]=function(){return this},a.prototype.next=function(){var e=this.entry;return e?(this.entry=e[t],{done:!1,value:e.value}):{done:!0,value:void 0}};var s,u=function(){return s||(s=new Promise((function(t,e){var n=0,i=null;i=setInterval((function(){return n>=20?(clearInterval(i),e(new Error("window.google not found after 10 seconds"))):window.google&&window.google.maps&&window.google.maps.Map?(clearInterval(i),t(window.google)):void++n}),500)}))),s};L.GridLayer.GoogleMutant=L.GridLayer.extend({options:{minZoom:0,maxZoom:21,tileSize:256,subdomains:"abc",errorTileUrl:"",attribution:"",opacity:1,continuousWorld:!1,noWrap:!1,type:"roadmap",maxNativeZoom:21},initialize:function(t){L.GridLayer.prototype.initialize.call(this,t),this._isMounted=!0,this.once("spawned",(function(){if(this._subLayers)for(var t in this._subLayers)this._subLayers[t].setMap(this._mutant)})),this._tileCallbacks={},this._lru=new n(100),this._imagesPerTile="hybrid"===this.options.type?2:1,this._boundOnMutatedImage=this._onMutatedImage.bind(this)},onAdd:function(t){var e=this;L.GridLayer.prototype.onAdd.call(this,t),this._initMutantContainer(),this._logoContainer&&t._controlCorners.bottomleft.appendChild(this._logoContainer),this._attributionContainer&&t._controlCorners.bottomright.appendChild(this._attributionContainer),u().then((function(){if(e._isMounted&&(e._ready=!0,e._initMutant(),t=e._map)){var n=e.options.updateWhenIdle?"moveend":"move";t.on(n,e._update,e),e.once("remove",(function(){this._map.off(n,this._update,this)})),google.maps.event.addListenerOnce(e._mutant,"idle",(function(){e._map&&(e._checkZoomLevels(),e._mutantIsReady=!0)})),e._update()}}))},onRemove:function(t){L.GridLayer.prototype.onRemove.call(this,t),this._observer.disconnect(),t._container.removeChild(this._mutantContainer),this._logoContainer&&L.DomUtil.remove(this._logoContainer),this._attributionContainer&&L.DomUtil.remove(this._attributionContainer),google.maps.event.clearListeners(t,"idle"),this._mutant&&google.maps.event.clearListeners(this._mutant,"idle"),t.off("move moveend",this._update,this),this._isMounted=!1},addGoogleLayer:function(t,e){var n=this;return this._subLayers||(this._subLayers={}),u().then((function(){var i=new(0,google.maps[t])(e);n._mutant&&i.setMap(n._mutant),n._subLayers[t]=i})),this},removeGoogleLayer:function(t){var e=this;return u().then((function(){var n=e._subLayers&&e._subLayers[t];n&&(n.setMap(null),delete e._subLayers[t])})),this},_initMutantContainer:function(){this._mutantContainer||(this._mutantContainer=L.DomUtil.create("div","leaflet-google-mutant leaflet-top leaflet-left"),this._mutantContainer.id="_MutantContainer_"+L.Util.stamp(this._mutantContainer),this._mutantContainer.style.zIndex=800,this._mutantContainer.style.pointerEvents="none",L.DomEvent.off(this._mutantContainer)),this._map.getContainer().appendChild(this._mutantContainer),this.setOpacity(this.options.opacity);var t=this._mutantContainer.style;this.options.zoomSnap<1?(t.width="180%",t.height="180%"):(t.width="100%",t.height="100%"),t.zIndex=-1,this._attachObserver(this._mutantContainer)},_initMutant:function(){var t=this;if(!this._mutant){var e=new google.maps.Map(this._mutantContainer,{center:{lat:0,lng:0},zoom:0,tilt:0,mapTypeId:this.options.type,disableDefaultUI:!0,keyboardShortcuts:!1,draggable:!1,disableDoubleClickZoom:!0,scrollwheel:!1,streetViewControl:!1,styles:this.options.styles||{},backgroundColor:"transparent"});this._mutant=e,google.maps.event.addListenerOnce(e,"idle",(function(){for(var e=t._mutantContainer.querySelectorAll("a"),n=0;n0||r.querySelectorAll('a[title="Click to see this area on Google Maps"]').length>0){var o=this._attributionContainer=L.DomUtil.create("div","leaflet-control leaflet-control-attribution");L.DomEvent.disableClickPropagation(o),o.style.height="14px",o.style.background="none",this._map._controlCorners.bottomright.appendChild(o),o.appendChild(r)}1e6==r.style.zIndex&&(this._map._controlCorners.bottomleft.appendChild(r),this._logoContainer=r)}}},_roadRegexp:/!1i(\d+)!2i(\d+)!3i(\d+)!/,_satRegexp:/x=(\d+)&y=(\d+)&z=(\d+)/,_staticRegExp:/StaticMapService\.GetMapImage/,_onMutatedImage:function(t){var e,n=t.src.match(this._roadRegexp),i=0;if(n?(e={z:n[1],x:n[2],y:n[3]},this._imagesPerTile>1&&(t.style.zIndex=1,i=1)):((n=t.src.match(this._satRegexp))&&(e={x:n[1],y:n[2],z:n[3]}),i=0),e){var r=this._tileCoordsToKey(e);t.style.position="absolute",t.style.visibility="hidden";var o=r+"/"+i;this._lru.set(o,t),o in this._tileCallbacks&&this._tileCallbacks[o]&&(this._tileCallbacks[o].forEach((function(e){return e(t)})),delete this._tileCallbacks[o])}else t.src.match(this._staticRegExp)&&(t.style.visibility="hidden")},createTile:function(t,e){var n=this._tileCoordsToKey(t),i=L.DomUtil.create("div");i.style.textAlign="left",i.dataset.pending=this._imagesPerTile,e=e.bind(this,null,i);for(var r=0;rthis.options.maxNativeZoom)&&this._setMaxNativeZoom(e)},_setMaxNativeZoom:function(t){t!==this.options.maxNativeZoom&&(this.options.maxNativeZoom=t,this._resetView())},_update:function(){if(this._mutant){var t=this._map.getCenter(),e=new google.maps.LatLng(t.lat,t.lng),n=Math.round(this._map.getZoom()),i=this._mutant.getZoom();this._mutant.setCenter(e),n!==i&&(this._mutant.setZoom(n),this._mutantIsReady&&this._checkZoomLevels())}L.GridLayer.prototype._update.call(this)},_resize:function(){var t=this.options.zoomSnap<1?1.8:1,e=this._map.getSize().multiplyBy(t);this._mutantContainer.style.width===e.x&&this._mutantContainer.style.height===e.y||(this.setElementSize(this._mutantContainer,e),this._mutant&&google.maps.event.trigger(this._mutant,"resize"))},_handleZoomAnim:function(){if(this._mutant){var t=this._map.getCenter(),e=new google.maps.LatLng(t.lat,t.lng);this._mutant.setCenter(e),this._mutant.setZoom(Math.round(this._map.getZoom()))}}}),L.gridLayer.googleMutant=function(t){return new L.GridLayer.GoogleMutant(t)}}()},5243:function(t,e){!function(t){"use strict";function e(t){var e,n,i,r;for(n=1,i=arguments.length;n0?Math.floor(t):Math.ceil(t)};function E(t,e,n){return t instanceof D?t:m(t)?new D(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,n)}function O(t,e){if(t)for(var n=e?[t,e]:t,i=0,r=n.length;i=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=C(t);var e=this.min,n=this.max,i=t.min,r=t.max,o=r.x>=e.x&&i.x<=n.x,a=r.y>=e.y&&i.y<=n.y;return o&&a},overlaps:function(t){t=C(t);var e=this.min,n=this.max,i=t.min,r=t.max,o=r.x>e.x&&i.xe.y&&i.y=i.lat&&n.lat<=r.lat&&e.lng>=i.lng&&n.lng<=r.lng},intersects:function(t){t=P(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),o=r.lat>=e.lat&&i.lat<=n.lat,a=r.lng>=e.lng&&i.lng<=n.lng;return o&&a},overlaps:function(t){t=P(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),o=r.lat>e.lat&&i.late.lng&&i.lng1,Lt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",u,e),window.removeEventListener("testPassiveEventSupport",u,e)}catch(t){}return t}(),Nt=!!document.createElement("canvas").getContext,jt=!(!document.createElementNS||!q("svg").createSVGRect),Tt=!jt&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function It(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Dt={ie:K,ielt9:$,edge:tt,webkit:et,android:nt,android23:it,androidStock:ot,opera:at,chrome:st,gecko:ut,safari:lt,phantom:ct,opera12:ht,win:ft,ie3d:pt,webkit3d:dt,gecko3d:gt,any3d:mt,mobile:_t,mobileWebkit:vt,mobileWebkit3d:yt,msPointer:Mt,pointer:wt,touch:bt,mobileOpera:xt,mobileGecko:At,retina:zt,passiveEvents:Lt,canvas:Nt,svg:jt,vml:Tt},kt=Mt?"MSPointerDown":"pointerdown",Et=Mt?"MSPointerMove":"pointermove",Ot=Mt?"MSPointerUp":"pointerup",Ct=Mt?"MSPointerCancel":"pointercancel",St={},Pt=!1;function Zt(t,e,n,r){return"touchstart"===e?function(t,e,n){var r=i((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Ce(t),Yt(t,e)}));t["_leaflet_touchstart"+n]=r,t.addEventListener(kt,r,!1),Pt||(document.addEventListener(kt,Ut,!0),document.addEventListener(Et,Bt,!0),document.addEventListener(Ot,Rt,!0),document.addEventListener(Ct,Rt,!0),Pt=!0)}(t,n,r):"touchmove"===e?function(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Yt(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(Et,i,!1)}(t,n,r):"touchend"===e&&function(t,e,n){var i=function(t){Yt(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(Ot,i,!1),t.addEventListener(Ct,i,!1)}(t,n,r),this}function Ut(t){St[t.pointerId]=t}function Bt(t){St[t.pointerId]&&(St[t.pointerId]=t)}function Rt(t){delete St[t.pointerId]}function Yt(t,e){for(var n in t.touches=[],St)t.touches.push(St[n]);t.changedTouches=[t],e(t)}var Qt=Mt?"MSPointerDown":wt?"pointerdown":"touchstart",Wt=Mt?"MSPointerUp":wt?"pointerup":"touchend",Gt="_leaflet_";var Ft,Ht,Vt,qt,Jt,Xt=pe(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Kt=pe(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),$t="webkitTransition"===Kt||"OTransition"===Kt?Kt+"End":"transitionend";function te(t){return"string"==typeof t?document.getElementById(t):t}function ee(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ne(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ie(t){var e=t.parentNode;e&&e.removeChild(t)}function re(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function oe(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ae(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function se(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=he(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function ue(t,e){if(void 0!==t.classList)for(var n=h(e),i=0,r=n.length;i1)return;var e=Date.now(),n=e-(i||e);r=t.touches?t.touches[0]:t,o=n>0&&n<=250,i=e}function s(t){if(o&&!r.cancelBubble){if(wt){if("mouse"===t.pointerType)return;var n,a,s={};for(a in r)n=r[a],s[a]=n&&n.bind?n.bind(r):n;r=s}r.type="dblclick",r.button=0,e(r),i=null}}t[Gt+Qt+n]=a,t[Gt+Wt+n]=s,t[Gt+"dblclick"+n]=e,t.addEventListener(Qt,a,!!Lt&&{passive:!1}),t.addEventListener(Wt,s,!!Lt&&{passive:!1}),t.addEventListener("dblclick",e,!1)}(t,a,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Te[e]||e,a,!!Lt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(a=function(e){e=e||window.event,Qe(t,e)&&s(e)},t.addEventListener(Te[e],a,!1)):t.addEventListener(e,s,!1):"attachEvent"in t&&t.attachEvent("on"+e,a),t[Le]=t[Le]||{},t[Le][r]=a}function De(t,e,n,i){var r=e+o(n)+(i?"_"+o(i):""),a=t[Le]&&t[Le][r];if(!a)return this;wt&&0===e.indexOf("touch")?function(t,e,n){var i=t["_leaflet_"+e+n];"touchstart"===e?t.removeEventListener(kt,i,!1):"touchmove"===e?t.removeEventListener(Et,i,!1):"touchend"===e&&(t.removeEventListener(Ot,i,!1),t.removeEventListener(Ct,i,!1))}(t,e,r):bt&&"dblclick"===e&&!je()?function(t,e){var n=t[Gt+Qt+e],i=t[Gt+Wt+e],r=t[Gt+"dblclick"+e];t.removeEventListener(Qt,n,!!Lt&&{passive:!1}),t.removeEventListener(Wt,i,!!Lt&&{passive:!1}),t.removeEventListener("dblclick",r,!1)}(t,r):"removeEventListener"in t?t.removeEventListener(Te[e]||e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a),t[Le][r]=null}function ke(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Ye(t),this}function Ee(t){return Ie(t,"wheel",ke),this}function Oe(t){return ze(t,"mousedown touchstart dblclick",ke),Ie(t,"click",Re),this}function Ce(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Se(t){return Ce(t),ke(t),this}function Pe(t,e){if(!e)return new D(t.clientX,t.clientY);var n=xe(e),i=n.boundingClientRect;return new D((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var Ze=ft&&st?2*window.devicePixelRatio:ut?window.devicePixelRatio:1;function Ue(t){return tt?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Ze:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Be={};function Re(t){Be[t.type]=!0}function Ye(t){var e=Be[t.type];return Be[t.type]=!1,e}function Qe(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}var We={on:ze,off:Ne,stopPropagation:ke,disableScrollPropagation:Ee,disableClickPropagation:Oe,preventDefault:Ce,stop:Se,getMousePosition:Pe,getWheelDelta:Ue,fakeStop:Re,skipped:Ye,isExternalTarget:Qe,addListener:ze,removeListener:Ne},Ge=I.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=me(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=A(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,P(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=E((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=E(e.paddingBottomRight||e.padding||[0,0]),r=this.getCenter(),o=this.project(r),a=this.project(t),s=this.getPixelBounds(),u=s.getSize().divideBy(2),l=C([s.min.add(n),s.max.subtract(i)]);if(!l.contains(a)){this._enforcingBounds=!0;var c=o.subtract(a),h=E(a.x+c.x,a.y+c.y);(a.xl.max.x)&&(h.x=o.x-c.x,c.x>0?h.x+=u.x-n.x:h.x-=u.x-i.x),(a.yl.max.y)&&(h.y=o.y-c.y,c.y>0?h.y+=u.y-n.y:h.y-=u.y-i.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),o=n.divideBy(2).round(),a=r.divideBy(2).round(),s=o.subtract(a);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,r,t):navigator.geolocation.getCurrentPosition(n,r,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new Z(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var r=this.getBoundsZoom(n);this.setView(e,i.maxZoom?Math.min(r,i.maxZoom):r)}var o={latlng:e,bounds:n,timestamp:t.timestamp};for(var a in t.coords)"number"==typeof t.coords[a]&&(o[a]=t.coords[a]);this.fire("locationfound",o)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ie(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(z(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ie(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=ne("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new S(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=P(t),n=E(n||[0,0]);var i=this.getZoom()||0,r=this.getMinZoom(),o=this.getMaxZoom(),a=t.getNorthWest(),s=t.getSouthEast(),u=this.getSize().subtract(n),l=C(this.project(s,i),this.project(a,i)).getSize(),c=mt?this.options.zoomSnap:1,h=u.x/l.x,f=u.y/l.y,p=e?Math.max(h,f):Math.min(h,f);return i=this.getScaleZoom(p,i),c&&(i=Math.round(i/(c/100))*(c/100),i=e?Math.ceil(i/c)*c:Math.floor(i/c)*c),Math.max(r,Math.min(o,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new O(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(U(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(E(t),e)},layerPointToLatLng:function(t){var e=E(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(U(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(U(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(P(t))},distance:function(t,e){return this.options.crs.distance(U(t),U(e))},containerPointToLayerPoint:function(t){return E(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return E(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(E(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(U(t)))},mouseEventToContainerPoint:function(t){return Pe(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=te(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");ze(e,"scroll",this._onScroll,this),this._containerId=o(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&mt,ue(t,"leaflet-container"+(bt?" leaflet-touch":"")+(zt?" leaflet-retina":"")+($?" leaflet-oldie":"")+(lt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=ee(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ge(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ue(t.markerPane,"leaflet-zoom-hide"),ue(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){ge(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return z(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ge(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[o(this._container)]=this;var e=t?Ne:ze;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),mt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){z(this._resizeRequest),this._resizeRequest=A((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],r="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,s=!1;a;){if((n=this._targets[o(a)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(r&&!Qe(a,t))break;if(i.push(n),r)break}if(a===this._container)break;a=a.parentNode}return i.length||s||r||!Qe(a,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Ye(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||Me(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){if("click"===t.type){var r=e({},t);r.type="preclick",this._fireDOMEvent(r,r.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,n))).length){var o=i[0];"contextmenu"===n&&o.listens(n,!0)&&Ce(t);var a={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=o.getLatLng&&(!o._radius||o._radius<=10);a.containerPoint=s?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),a.layerPoint=this.containerPointToLayerPoint(a.containerPoint),a.latlng=s?o.getLatLng():this.layerPointToLatLng(a.layerPoint)}for(var u=0;u0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=mt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){le(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n)||(this.panBy(n,e),0))},_createAnimProxy:function(){var t=this._proxy=ne("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=Xt,n=this._proxy.style[e];de(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ie(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();de(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),r=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(r)||(A((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,ue(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&le(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),A((function(){this._moveEnd(!0)}),this))}});var He=j.extend({options:{position:"topright"},initialize:function(t){f(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return ue(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ie(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Ve=function(t){return new He(t)};Fe.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ne("div",e+"control-container",this._container);function i(i,r){var o=e+i+" "+e+r;t[i+r]=ne("div",o,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ie(this._controlCorners[t]);ie(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var qe=He.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(o(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+o(this),i),this._layerControlInputs.push(e),e.layerId=o(t.layer),ze(e,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+t.name;var a=document.createElement("div");return n.appendChild(a),a.appendChild(e),a.appendChild(r),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],r=[];this._handlingClick=!0;for(var o=n.length-1;o>=0;o--)t=n[o],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||r.push(e);for(o=0;o=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ie.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Je=He.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ne("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,r){var o=ne("a",n,i);return o.innerHTML=t,o.href="#",o.title=e,o.setAttribute("role","button"),o.setAttribute("aria-label",e),Oe(o),ze(o,"click",Se),ze(o,"click",r,this),ze(o,"click",this._refocusOnMap,this),o},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";le(this._zoomInButton,e),le(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&ue(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&ue(this._zoomInButton,e)}});Fe.mergeOptions({zoomControl:!0}),Fe.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Je,this.addControl(this.zoomControl))}));var Xe=He.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=ne("div",e),i=this.options;return this._addScales(i,e+"-line",n),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ne("div",e,n)),t.imperial&&(this._iScale=ne("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,r=3.2808399*t;r>5280?(e=r/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(r),this._updateScale(this._iScale,i+" ft",i/r))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Ke=He.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){f(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ne("div","leaflet-control-attribution"),Oe(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});Fe.mergeOptions({attributionControl:!0}),Fe.addInitHook((function(){this.options.attributionControl&&(new Ke).addTo(this)}));He.Layers=qe,He.Zoom=Je,He.Scale=Xe,He.Attribution=Ke,Ve.layers=function(t,e,n){return new qe(t,e,n)},Ve.zoom=function(t){return new Je(t)},Ve.scale=function(t){return new Xe(t)},Ve.attribution=function(t){return new Ke(t)};var $e=j.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});$e.addTo=function(t,e){return t.addHandler(e,this),this};var tn,en={Events:T},nn=bt?"touchstart mousedown":"mousedown",rn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},on={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},an=I.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){f(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(ze(this._dragStartTarget,nn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(an._dragging===this&&this.finishDrag(),Ne(this._dragStartTarget,nn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!se(this._element,"leaflet-zoom-anim")&&!(an._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(an._dragging=this,this._preventOutline&&Me(this._element),ve(),Ft(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,n=be(this._element);this._startPoint=new D(e.clientX,e.clientY),this._parentScale=xe(n),ze(document,on[t.type],this._onMove,this),ze(document,rn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new D(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)e&&(n.push(t[i]),r=i);return ru&&(o=a,u=s);u>n&&(e[o]=1,ln(t,e,n,i,o),ln(t,e,n,o,r))}function cn(t,e,n,i,r){var o,a,s,u=i?tn:fn(t,n),l=fn(e,n);for(tn=l;;){if(!(u|l))return[t,e];if(u&l)return!1;s=fn(a=hn(t,e,o=u||l,n,r),n),o===u?(t=a,u=s):(e=a,l=s)}}function hn(t,e,n,i,r){var o,a,s=e.x-t.x,u=e.y-t.y,l=i.min,c=i.max;return 8&n?(o=t.x+s*(c.y-t.y)/u,a=c.y):4&n?(o=t.x+s*(l.y-t.y)/u,a=l.y):2&n?(o=c.x,a=t.y+u*(c.x-t.x)/s):1&n&&(o=l.x,a=t.y+u*(l.x-t.x)/s),new D(o,a,r)}function fn(t,e){var n=0;return t.xe.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function pn(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i}function dn(t,e,n,i){var r,o=e.x,a=e.y,s=n.x-o,u=n.y-a,l=s*s+u*u;return l>0&&((r=((t.x-o)*s+(t.y-a)*u)/l)>1?(o=n.x,a=n.y):r>0&&(o+=s*r,a+=u*r)),s=t.x-o,u=t.y-a,i?s*s+u*u:new D(o,a)}function gn(t){return!m(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function mn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),gn(t)}var _n={simplify:sn,pointToSegmentDistance:un,closestPointOnSegment:function(t,e,n){return dn(t,e,n)},clipSegment:cn,_getEdgeIntersection:hn,_getBitCode:fn,_sqClosestPointOnSegment:dn,isFlat:gn,_flat:mn};function vn(t,e,n){var i,r,o,a,s,u,l,c,h,f=[1,4,2,8];for(r=0,l=t.length;r1e-7;u++)e=o*Math.sin(s),e=Math.pow((1-e)/(1+e),o/2),s+=l=Math.PI/2-2*Math.atan(a*e)-s;return new Z(s*n,t.x*n/i)}},bn={LonLat:Mn,Mercator:wn,SphericalMercator:W},xn=e({},Y,{code:"EPSG:3395",projection:wn,transformation:function(){var t=.5/(Math.PI*wn.R);return F(t,.5,-t,.5)}()}),An=e({},Y,{code:"EPSG:4326",projection:Mn,transformation:F(1/180,1,-1/180,.5)}),zn=e({},R,{projection:Mn,transformation:F(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});R.Earth=Y,R.EPSG3395=xn,R.EPSG3857=H,R.EPSG900913=V,R.EPSG4326=An,R.Simple=zn;var Ln=I.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[o(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[o(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Fe.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=o(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=o(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&o(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?m(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return a=(i-e)/n,this._map.layerPointToLatLng([o.x-a*(o.x-r.x),o.y-a*(o.y-r.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=U(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new S,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return gn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=gn(t),i=0,r=t.length;i=2&&e[0]instanceof Z&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){Sn.prototype._setLatLngs.call(this,t),gn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return gn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new D(e,e);if(t=new O(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,r=0,o=this._rings.length;rt.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(l=!l);return l||Sn.prototype._containsPoint.call(this,t,!0)}});var Zn=jn.extend({initialize:function(t,e){f(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,r=m(t)?t:t.features;if(r){for(e=0,n=r.length;e0?r:[e.src]}else{m(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var a=0;ar?(e.height=r+"px",ue(t,o)):le(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();ge(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(ee(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,r=new D(this._containerLeft,-n-this._containerBottom);r._add(me(this._container));var o=t.layerPointToContainerPoint(r),a=E(this.options.autoPanPadding),s=E(this.options.autoPanPaddingTopLeft||a),u=E(this.options.autoPanPaddingBottomRight||a),l=t.getSize(),c=0,h=0;o.x+i+u.x>l.x&&(c=o.x+i-l.x+u.x),o.x-c-s.x<0&&(c=o.x-s.x),o.y+n+u.y>l.y&&(h=o.y+n-l.y+u.y),o.y-h-s.y<0&&(h=o.y-s.y),(c||h)&&t.fire("autopanstart").panBy([c,h])}},_onCloseButtonClick:function(t){this._close(),Se(t)},_getAnchor:function(){return E(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Fe.mergeOptions({closePopupOnClick:!0}),Fe.include({openPopup:function(t,e,n){return t instanceof ti||(t=new ti(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Ln.include({bindPopup:function(t,e){return t instanceof ti?(f(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new ti(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Se(t),e instanceof En?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var ei=$n.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){$n.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){$n.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=$n.prototype.getEvents.call(this);return bt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ne("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,r=this._container,o=i.latLngToContainerPoint(i.getCenter()),a=i.layerPointToContainerPoint(t),s=this.options.direction,u=r.offsetWidth,l=r.offsetHeight,c=E(this.options.offset),h=this._getAnchor();"top"===s?(e=u/2,n=l):"bottom"===s?(e=u/2,n=0):"center"===s?(e=u/2,n=l/2):"right"===s?(e=0,n=l/2):"left"===s?(e=u,n=l/2):a.xthis.options.maxZoom||ni&&this._retainParent(r,o,a,i))},_retainChildren:function(t,e,n,i){for(var r=2*t;r<2*t+2;r++)for(var o=2*e;o<2*e+2;o++){var a=new D(r,o);a.z=n+1;var s=this._tileCoordsToKey(a),u=this._tiles[s];u&&u.active?u.retain=!0:(u&&u.loaded&&(u.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&r1)this._setView(t,n);else{for(var h=r.min.y;h<=r.max.y;h++)for(var f=r.min.x;f<=r.max.x;f++){var p=new D(f,h);if(p.z=this._tileZoom,this._isValidTile(p)){var d=this._tiles[this._tileCoordsToKey(p)];d?d.current=!0:a.push(p)}}if(a.sort((function(t,e){return t.distanceTo(o)-e.distanceTo(o)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var g=document.createDocumentFragment();for(f=0;fn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return P(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),r=i.add(n);return[e.unproject(i,t.z),e.unproject(r,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new S(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new D(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ie(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){ue(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=u,t.onmousemove=u,$&&this.options.opacity<1&&fe(t,this.options.opacity),nt&&!it&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),r=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&A(i(this._tileReady,this,t,null,o)),ge(o,n),this._tiles[r]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var r=this._tileCoordsToKey(t);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(fe(n.el,0),z(this._fadeFrame),this._fadeFrame=A(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(ue(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),$||!this._map._fadeAnimated?A(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new O(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});var ri=ii.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=f(this,e)).detectRetina&&zt&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),nt||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return ze(n,"load",i(this._tileOnLoad,this,e,n)),ze(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:zt?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=i),n["-y"]=i}return g(this._url,e(n,this.options))},_tileOnLoad:function(t,e){$?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=u,e.onerror=u,e.complete||(e.src=v,ie(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return ot||e.el.setAttribute("src",v),ii.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==v))return ii.prototype._tileReady.call(this,t,e,n)}});function oi(t,e){return new ri(t,e)}var ai=ri.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i=e({},this.defaultWmsParams);for(var r in n)r in this.options||(i[r]=n[r]);var o=(n=f(this,n)).detectRetina&&zt?2:1,a=this.getTileSize();i.width=a.x*o,i.height=a.y*o,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,ri.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=C(n.project(e[0]),n.project(e[1])),r=i.min,o=i.max,a=(this._wmsVersion>=1.3&&this._crs===An?[r.y,r.x,o.y,o.x]:[r.x,r.y,o.x,o.y]).join(","),s=ri.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ri.WMS=ai,oi.wms=function(t,e){return new ai(t,e)};var si=Ln.extend({options:{padding:.1,tolerance:0},initialize:function(t){f(this,t),o(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&ue(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=me(this._container),r=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),a=this._map.project(t,e).subtract(o),s=r.multiplyBy(-n).add(i).add(r).subtract(a);mt?de(this._container,s,n):ge(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new O(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ui=si.extend({getEvents:function(){var t=si.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){si.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ze(t,"mousemove",this._onMouseMove,this),ze(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ze(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){z(this._redrawRequest),delete this._ctx,ie(this._container),Ne(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){si.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=zt?2:1;ge(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",zt&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){si.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[o(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[o(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),r=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),hi={_initContainer:function(){this._container=ne("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(si.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=ci("shape");ue(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=ci("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[o(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ie(e),t.removeInteractiveTarget(e),delete this._layers[o(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,r=t._container;r.stroked=!!i.stroke,r.filled=!!i.fill,i.stroke?(e||(e=t._stroke=ci("stroke")),r.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=m(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(r.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=ci("fill")),r.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(r.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){oe(t._container)},_bringToBack:function(t){ae(t._container)}},fi=Tt?ci:q,pi=si.extend({getEvents:function(){var t=si.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=fi("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=fi("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ie(this._container),Ne(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){si.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),ge(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=fi("path");t.options.className&&ue(e,t.options.className),t.options.interactive&&ue(e,"leaflet-interactive"),this._updateStyle(t),this._layers[o(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ie(t._path),t.removeInteractiveTarget(t._path),delete this._layers[o(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,J(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){oe(t._path)},_bringToBack:function(t){ae(t._path)}});function di(t){return jt||Tt?new pi(t):null}Tt&&pi.include(hi),Fe.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&li(t)||di(t)}});var gi=Pn.extend({initialize:function(t,e){Pn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=P(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});pi.create=fi,pi.pointsToPath=J,Zn.geometryToLayer=Un,Zn.coordsToLatLng=Rn,Zn.coordsToLatLngs=Yn,Zn.latLngToCoords=Qn,Zn.latLngsToCoords=Wn,Zn.getFeature=Gn,Zn.asFeature=Fn,Fe.mergeOptions({boxZoom:!0});var mi=$e.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){ze(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ne(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ie(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Ft(),ve(),this._startPoint=this._map.mouseEventToContainerPoint(t),ze(document,{contextmenu:Se,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ne("div","leaflet-zoom-box",this._container),ue(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new O(this._point,this._startPoint),n=e.getSize();ge(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ie(this._box),le(this._container,"leaflet-crosshair")),Ht(),ye(),Ne(document,{contextmenu:Se,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new S(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Fe.addInitHook("addHandler","boxZoom",mi),Fe.mergeOptions({doubleClickZoom:!0});var _i=$e.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,r=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(r):e.setZoomAround(t.containerPoint,r)}});Fe.addInitHook("addHandler","doubleClickZoom",_i),Fe.mergeOptions({dragging:!0,inertia:!it,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var vi=$e.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new an(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}ue(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){le(this._map._container,"leaflet-grab"),le(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=P(this._map.options.maxBounds);this._offsetLimit=C(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,r=(i-e+n)%t+e-n,o=(i+e+n)%t-e-n,a=Math.abs(r+n)0?o:-o))-e;this._delta=0,this._startTime=null,a&&("center"===t.options.scrollWheelZoom?t.setZoom(e+a):t.setZoomAround(this._lastMousePos,e+a))}});Fe.addInitHook("addHandler","scrollWheelZoom",Mi),Fe.mergeOptions({tap:!0,tapTolerance:15});var wi=$e.extend({addHooks:function(){ze(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ne(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ce(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new D(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&ue(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),ze(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ne(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&le(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!bt||wt&&!lt||Fe.addInitHook("addHandler","tap",wi),Fe.mergeOptions({touchZoom:bt&&!it,bounceAtZoomLimits:!0});var bi=$e.extend({addHooks:function(){ue(this._map._container,"leaflet-touch-zoom"),ze(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){le(this._map._container,"leaflet-touch-zoom"),Ne(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),ze(document,"touchmove",this._onTouchMove,this),ze(document,"touchend",this._onTouchEnd,this),Ce(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]),o=n.distanceTo(r)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var a=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===a.x&&0===a.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),z(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=A(s,this,!0),Ce(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,z(this._animRequest),Ne(document,"touchmove",this._onTouchMove,this),Ne(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Fe.addInitHook("addHandler","touchZoom",bi),Fe.BoxZoom=mi,Fe.DoubleClickZoom=_i,Fe.Drag=vi,Fe.Keyboard=yi,Fe.ScrollWheelZoom=Mi,Fe.Tap=wi,Fe.TouchZoom=bi,t.version="1.7.1",t.Control=He,t.control=Ve,t.Browser=Dt,t.Evented=I,t.Mixin=en,t.Util=N,t.Class=j,t.Handler=$e,t.extend=e,t.bind=i,t.stamp=o,t.setOptions=f,t.DomEvent=We,t.DomUtil=Ae,t.PosAnimation=Ge,t.Draggable=an,t.LineUtil=_n,t.PolyUtil=yn,t.Point=D,t.point=E,t.Bounds=O,t.bounds=C,t.Transformation=G,t.transformation=F,t.Projection=bn,t.LatLng=Z,t.latLng=U,t.LatLngBounds=S,t.latLngBounds=P,t.CRS=R,t.GeoJSON=Zn,t.geoJSON=Vn,t.geoJson=qn,t.Layer=Ln,t.LayerGroup=Nn,t.layerGroup=function(t,e){return new Nn(t,e)},t.FeatureGroup=jn,t.featureGroup=function(t,e){return new jn(t,e)},t.ImageOverlay=Jn,t.imageOverlay=function(t,e,n){return new Jn(t,e,n)},t.VideoOverlay=Xn,t.videoOverlay=function(t,e,n){return new Xn(t,e,n)},t.SVGOverlay=Kn,t.svgOverlay=function(t,e,n){return new Kn(t,e,n)},t.DivOverlay=$n,t.Popup=ti,t.popup=function(t,e){return new ti(t,e)},t.Tooltip=ei,t.tooltip=function(t,e){return new ei(t,e)},t.Icon=Tn,t.icon=function(t){return new Tn(t)},t.DivIcon=ni,t.divIcon=function(t){return new ni(t)},t.Marker=kn,t.marker=function(t,e){return new kn(t,e)},t.TileLayer=ri,t.tileLayer=oi,t.GridLayer=ii,t.gridLayer=function(t){return new ii(t)},t.SVG=pi,t.svg=di,t.Renderer=si,t.Canvas=ui,t.canvas=li,t.Path=En,t.CircleMarker=On,t.circleMarker=function(t,e){return new On(t,e)},t.Circle=Cn,t.circle=function(t,e,n){return new Cn(t,e,n)},t.Polyline=Sn,t.polyline=function(t,e){return new Sn(t,e)},t.Polygon=Pn,t.polygon=function(t,e){return new Pn(t,e)},t.Rectangle=gi,t.rectangle=function(t,e){return new gi(t,e)},t.Map=Fe,t.map=function(t,e){return new Fe(t,e)};var xi=window.L;t.noConflict=function(){return window.L=xi,this},window.L=t}(e)},6486:function(t,e,n){var i;t=n.nmd(t),function(){var r,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",u=32,l=128,c=1/0,h=9007199254740991,f=NaN,p=4294967295,d=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",_="[object Boolean]",v="[object Date]",y="[object Error]",M="[object Function]",w="[object GeneratorFunction]",b="[object Map]",x="[object Number]",A="[object Object]",z="[object Promise]",L="[object RegExp]",N="[object Set]",j="[object String]",T="[object Symbol]",I="[object WeakMap]",D="[object ArrayBuffer]",k="[object DataView]",E="[object Float32Array]",O="[object Float64Array]",C="[object Int8Array]",S="[object Int16Array]",P="[object Int32Array]",Z="[object Uint8Array]",U="[object Uint8ClampedArray]",B="[object Uint16Array]",R="[object Uint32Array]",Y=/\b__p \+= '';/g,Q=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,F=/[&<>"']/g,H=RegExp(G.source),V=RegExp(F.source),q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),it=/^\s+/,rt=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,at=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,lt=/[()=,{}\[\]\/\s]/,ct=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ft=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,dt=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,vt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,yt=/($^)/,Mt=/['\n\r\u2028\u2029\\]/g,wt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",bt="a-z\\xdf-\\xf6\\xf8-\\xff",xt="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zt="["+At+"]",Lt="["+wt+"]",Nt="\\d+",jt="["+bt+"]",Tt="[^\\ud800-\\udfff"+At+Nt+"\\u2700-\\u27bf"+bt+xt+"]",It="\\ud83c[\\udffb-\\udfff]",Dt="[^\\ud800-\\udfff]",kt="(?:\\ud83c[\\udde6-\\uddff]){2}",Et="[\\ud800-\\udbff][\\udc00-\\udfff]",Ot="["+xt+"]",Ct="(?:"+jt+"|"+Tt+")",St="(?:"+Ot+"|"+Tt+")",Pt="(?:['’](?:d|ll|m|re|s|t|ve))?",Zt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ut="(?:"+Lt+"|"+It+")?",Bt="[\\ufe0e\\ufe0f]?",Rt=Bt+Ut+"(?:\\u200d(?:"+[Dt,kt,Et].join("|")+")"+Bt+Ut+")*",Yt="(?:"+["[\\u2700-\\u27bf]",kt,Et].join("|")+")"+Rt,Qt="(?:"+[Dt+Lt+"?",Lt,kt,Et,"[\\ud800-\\udfff]"].join("|")+")",Wt=RegExp("['’]","g"),Gt=RegExp(Lt,"g"),Ft=RegExp(It+"(?="+It+")|"+Qt+Rt,"g"),Ht=RegExp([Ot+"?"+jt+"+"+Pt+"(?="+[zt,Ot,"$"].join("|")+")",St+"+"+Zt+"(?="+[zt,Ot+Ct,"$"].join("|")+")",Ot+"?"+Ct+"+"+Pt,Ot+"+"+Zt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nt,Yt].join("|"),"g"),Vt=RegExp("[\\u200d\\ud800-\\udfff"+wt+"\\ufe0e\\ufe0f]"),qt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xt=-1,Kt={};Kt[E]=Kt[O]=Kt[C]=Kt[S]=Kt[P]=Kt[Z]=Kt[U]=Kt[B]=Kt[R]=!0,Kt[g]=Kt[m]=Kt[D]=Kt[_]=Kt[k]=Kt[v]=Kt[y]=Kt[M]=Kt[b]=Kt[x]=Kt[A]=Kt[L]=Kt[N]=Kt[j]=Kt[I]=!1;var $t={};$t[g]=$t[m]=$t[D]=$t[k]=$t[_]=$t[v]=$t[E]=$t[O]=$t[C]=$t[S]=$t[P]=$t[b]=$t[x]=$t[A]=$t[L]=$t[N]=$t[j]=$t[T]=$t[Z]=$t[U]=$t[B]=$t[R]=!0,$t[y]=$t[M]=$t[I]=!1;var te={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ee=parseFloat,ne=parseInt,ie="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,re="object"==typeof self&&self&&self.Object===Object&&self,oe=ie||re||Function("return this")(),ae=e&&!e.nodeType&&e,se=ae&&t&&!t.nodeType&&t,ue=se&&se.exports===ae,le=ue&&ie.process,ce=function(){try{return se&&se.require&&se.require("util").types||le&&le.binding&&le.binding("util")}catch(t){}}(),he=ce&&ce.isArrayBuffer,fe=ce&&ce.isDate,pe=ce&&ce.isMap,de=ce&&ce.isRegExp,ge=ce&&ce.isSet,me=ce&&ce.isTypedArray;function _e(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ve(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r-1}function Ae(t,e,n){for(var i=-1,r=null==t?0:t.length;++i-1;);return n}function He(t,e){for(var n=t.length;n--&&Ee(e,t[n],0)>-1;);return n}function Ve(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}var qe=Ze({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),Je=Ze({"&":"&","<":"<",">":">",'"':""","'":"'"});function Xe(t){return"\\"+te[t]}function Ke(t){return Vt.test(t)}function $e(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function tn(t,e){return function(n){return t(e(n))}}function en(t,e){for(var n=-1,i=t.length,r=0,o=[];++n",""":'"',"'":"'"}),ln=function t(e){var n,i=(e=null==e?oe:ln.defaults(oe.Object(),e,ln.pick(oe,Jt))).Array,rt=e.Date,wt=e.Error,bt=e.Function,xt=e.Math,At=e.Object,zt=e.RegExp,Lt=e.String,Nt=e.TypeError,jt=i.prototype,Tt=bt.prototype,It=At.prototype,Dt=e["__core-js_shared__"],kt=Tt.toString,Et=It.hasOwnProperty,Ot=0,Ct=(n=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",St=It.toString,Pt=kt.call(At),Zt=oe._,Ut=zt("^"+kt.call(Et).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bt=ue?e.Buffer:r,Rt=e.Symbol,Yt=e.Uint8Array,Qt=Bt?Bt.allocUnsafe:r,Ft=tn(At.getPrototypeOf,At),Vt=At.create,te=It.propertyIsEnumerable,ie=jt.splice,re=Rt?Rt.isConcatSpreadable:r,ae=Rt?Rt.iterator:r,se=Rt?Rt.toStringTag:r,le=function(){try{var t=lo(At,"defineProperty");return t({},"",{}),t}catch(t){}}(),ce=e.clearTimeout!==oe.clearTimeout&&e.clearTimeout,Ie=rt&&rt.now!==oe.Date.now&&rt.now,Ze=e.setTimeout!==oe.setTimeout&&e.setTimeout,cn=xt.ceil,hn=xt.floor,fn=At.getOwnPropertySymbols,pn=Bt?Bt.isBuffer:r,dn=e.isFinite,gn=jt.join,mn=tn(At.keys,At),_n=xt.max,vn=xt.min,yn=rt.now,Mn=e.parseInt,wn=xt.random,bn=jt.reverse,xn=lo(e,"DataView"),An=lo(e,"Map"),zn=lo(e,"Promise"),Ln=lo(e,"Set"),Nn=lo(e,"WeakMap"),jn=lo(At,"create"),Tn=Nn&&new Nn,In={},Dn=Uo(xn),kn=Uo(An),En=Uo(zn),On=Uo(Ln),Cn=Uo(Nn),Sn=Rt?Rt.prototype:r,Pn=Sn?Sn.valueOf:r,Zn=Sn?Sn.toString:r;function Un(t){if(ns(t)&&!Ga(t)&&!(t instanceof Qn)){if(t instanceof Yn)return t;if(Et.call(t,"__wrapped__"))return Bo(t)}return new Yn(t)}var Bn=function(){function t(){}return function(e){if(!es(e))return{};if(Vt)return Vt(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function Rn(){}function Yn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function Qn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function si(t,e,n,i,o,a){var s,u=1&e,l=2&e,c=4&e;if(n&&(s=o?n(t,i,o,a):n(t)),s!==r)return s;if(!es(t))return t;var h=Ga(t);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Et.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!u)return Nr(t,s)}else{var f=fo(t),p=f==M||f==w;if(qa(t))return wr(t,u);if(f==A||f==g||p&&!o){if(s=l||p?{}:go(t),!u)return l?function(t,e){return jr(t,ho(t),e)}(t,function(t,e){return t&&jr(e,Es(e),t)}(s,t)):function(t,e){return jr(t,co(t),e)}(t,ii(s,t))}else{if(!$t[f])return o?t:{};s=function(t,e,n){var i,r=t.constructor;switch(e){case D:return br(t);case _:case v:return new r(+t);case k:return function(t,e){var n=e?br(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case E:case O:case C:case S:case P:case Z:case U:case B:case R:return xr(t,n);case b:case N:return new r;case x:case j:return new r(t);case L:return function(t){var e=new t.constructor(t.source,ft.exec(t));return e.lastIndex=t.lastIndex,e}(t);case T:return i=t,Pn?At(Pn.call(i)):{}}}(t,f,u)}}a||(a=new Vn);var d=a.get(t);if(d)return d;a.set(t,s),ss(t)?t.forEach((function(i){s.add(si(i,e,n,i,t,a))})):is(t)&&t.forEach((function(i,r){s.set(r,si(i,e,n,r,t,a))}));var m=h?r:(c?l?no:eo:l?Es:ks)(t);return ye(m||t,(function(i,r){m&&(i=t[r=i]),ti(s,r,si(i,e,n,r,t,a))})),s}function ui(t,e,n){var i=n.length;if(null==t)return!i;for(t=At(t);i--;){var o=n[i],a=e[o],s=t[o];if(s===r&&!(o in t)||!a(s))return!1}return!0}function li(t,e,n){if("function"!=typeof t)throw new Nt(o);return Io((function(){t.apply(r,n)}),e)}function ci(t,e,n,i){var r=-1,o=xe,a=!0,s=t.length,u=[],l=e.length;if(!s)return u;n&&(e=ze(e,Qe(n))),i?(o=Ae,a=!1):e.length>=200&&(o=Ge,a=!1,e=new Hn(e));t:for(;++r-1},Gn.prototype.set=function(t,e){var n=this.__data__,i=ei(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(An||Gn),string:new Wn}},Fn.prototype.delete=function(t){var e=so(this,t).delete(t);return this.size-=e?1:0,e},Fn.prototype.get=function(t){return so(this,t).get(t)},Fn.prototype.has=function(t){return so(this,t).has(t)},Fn.prototype.set=function(t,e){var n=so(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Hn.prototype.add=Hn.prototype.push=function(t){return this.__data__.set(t,a),this},Hn.prototype.has=function(t){return this.__data__.has(t)},Vn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Vn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Vn.prototype.get=function(t){return this.__data__.get(t)},Vn.prototype.has=function(t){return this.__data__.has(t)},Vn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Gn){var i=n.__data__;if(!An||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Fn(i)}return n.set(t,e),this.size=n.size,this};var hi=Dr(yi),fi=Dr(Mi,!0);function pi(t,e){var n=!0;return hi(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function di(t,e,n){for(var i=-1,o=t.length;++i0&&n(s)?e>1?mi(s,e-1,n,i,r):Le(r,s):i||(r[r.length]=s)}return r}var _i=kr(),vi=kr(!0);function yi(t,e){return t&&_i(t,e,ks)}function Mi(t,e){return t&&vi(t,e,ks)}function wi(t,e){return be(e,(function(e){return Ka(t[e])}))}function bi(t,e){for(var n=0,i=(e=_r(e,t)).length;null!=t&&ne}function Li(t,e){return null!=t&&Et.call(t,e)}function Ni(t,e){return null!=t&&e in At(t)}function ji(t,e,n){for(var o=n?Ae:xe,a=t[0].length,s=t.length,u=s,l=i(s),c=1/0,h=[];u--;){var f=t[u];u&&e&&(f=ze(f,Qe(e))),c=vn(f.length,c),l[u]=!n&&(e||a>=120&&f.length>=120)?new Hn(u&&f):r}f=t[0];var p=-1,d=l[0];t:for(;++p=s?u:u*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)}));i--;)t[i]=t[i].value;return t}(r)}function Qi(t,e,n){for(var i=-1,r=e.length,o={};++i-1;)s!==t&&ie.call(s,u,1),ie.call(t,u,1);return t}function Gi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;_o(r)?ie.call(t,r,1):lr(t,r)}}return t}function Fi(t,e){return t+hn(wn()*(e-t+1))}function Hi(t,e){var n="";if(!t||e<1||e>h)return n;do{e%2&&(n+=t),(e=hn(e/2))&&(t+=t)}while(e);return n}function Vi(t,e){return Do(zo(t,e,ru),t+"")}function qi(t){return Jn(Rs(t))}function Ji(t,e){var n=Rs(t);return Oo(n,ai(e,0,n.length))}function Xi(t,e,n,i){if(!es(t))return t;for(var o=-1,a=(e=_r(e,t)).length,s=a-1,u=t;null!=u&&++oo?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=i(o);++r>>1,a=t[o];null!==a&&!ls(a)&&(n?a<=e:a=200){var l=e?null:Hr(t);if(l)return nn(l);a=!1,r=Ge,u=new Hn}else u=e?[]:s;t:for(;++i=i?t:er(t,e,n)}var Mr=ce||function(t){return oe.clearTimeout(t)};function wr(t,e){if(e)return t.slice();var n=t.length,i=Qt?Qt(n):new t.constructor(n);return t.copy(i),i}function br(t){var e=new t.constructor(t.byteLength);return new Yt(e).set(new Yt(t)),e}function xr(t,e){var n=e?br(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ar(t,e){if(t!==e){var n=t!==r,i=null===t,o=t==t,a=ls(t),s=e!==r,u=null===e,l=e==e,c=ls(e);if(!u&&!c&&!a&&t>e||a&&s&&l&&!u&&!c||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!c&&t1?n[o-1]:r,s=o>2?n[2]:r;for(a=t.length>3&&"function"==typeof a?(o--,a):r,s&&vo(n[0],n[1],s)&&(a=o<3?r:a,o=1),e=At(e);++i-1?o[a?e[s]:s]:r}}function Pr(t){return to((function(e){var n=e.length,i=n,a=Yn.prototype.thru;for(t&&e.reverse();i--;){var s=e[i];if("function"!=typeof s)throw new Nt(o);if(a&&!u&&"wrapper"==ro(s))var u=new Yn([],!0)}for(i=u?i:n;++i1&&y.reverse(),p&&hu))return!1;var c=a.get(t),h=a.get(e);if(c&&h)return c==e&&h==t;var f=-1,p=!0,d=2&n?new Hn:r;for(a.set(t,e),a.set(e,t);++f-1&&t%1==0&&t1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return ye(d,(function(n){var i="_."+n[0];e&n[1]&&!xe(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(at);return e?e[1].split(st):[]}(i),n)))}function Eo(t){var e=0,n=0;return function(){var i=yn(),o=16-(i-n);if(n=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function Oo(t,e){var n=-1,i=t.length,o=i-1;for(e=e===r?i:e;++n1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,aa(t,n)}));function pa(t){var e=Un(t);return e.__chain__=!0,e}function da(t,e){return e(t)}var ga=to((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,o=function(e){return oi(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Qn&&_o(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:da,args:[o],thisArg:r}),new Yn(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(r),t}))):this.thru(o)})),ma=Tr((function(t,e,n){Et.call(t,n)?++t[n]:ri(t,n,1)})),_a=Sr(Wo),va=Sr(Go);function ya(t,e){return(Ga(t)?ye:hi)(t,ao(e,3))}function Ma(t,e){return(Ga(t)?Me:fi)(t,ao(e,3))}var wa=Tr((function(t,e,n){Et.call(t,n)?t[n].push(e):ri(t,n,[e])})),ba=Vi((function(t,e,n){var r=-1,o="function"==typeof e,a=Ha(t)?i(t.length):[];return hi(t,(function(t){a[++r]=o?_e(e,t,n):Ti(t,e,n)})),a})),xa=Tr((function(t,e,n){ri(t,n,e)}));function Aa(t,e){return(Ga(t)?ze:Pi)(t,ao(e,3))}var za=Tr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),La=Vi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&vo(t,e[0],e[1])?e=[]:n>2&&vo(e[0],e[1],e[2])&&(e=[e[0]]),Yi(t,mi(e,1),[])})),Na=Ie||function(){return oe.Date.now()};function ja(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,qr(t,l,r,r,r,r,e)}function Ta(t,e){var n;if("function"!=typeof e)throw new Nt(o);return t=gs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var Ia=Vi((function(t,e,n){var i=1;if(n.length){var r=en(n,oo(Ia));i|=u}return qr(t,i,e,n,r)})),Da=Vi((function(t,e,n){var i=3;if(n.length){var r=en(n,oo(Da));i|=u}return qr(e,i,t,n,r)}));function ka(t,e,n){var i,a,s,u,l,c,h=0,f=!1,p=!1,d=!0;if("function"!=typeof t)throw new Nt(o);function g(e){var n=i,o=a;return i=a=r,h=e,u=t.apply(o,n)}function m(t){return h=t,l=Io(v,e),f?g(t):u}function _(t){var n=t-c;return c===r||n>=e||n<0||p&&t-h>=s}function v(){var t=Na();if(_(t))return y(t);l=Io(v,function(t){var n=e-(t-c);return p?vn(n,s-(t-h)):n}(t))}function y(t){return l=r,d&&i?g(t):(i=a=r,u)}function M(){var t=Na(),n=_(t);if(i=arguments,a=this,c=t,n){if(l===r)return m(c);if(p)return Mr(l),l=Io(v,e),g(c)}return l===r&&(l=Io(v,e)),u}return e=_s(e)||0,es(n)&&(f=!!n.leading,s=(p="maxWait"in n)?_n(_s(n.maxWait)||0,e):s,d="trailing"in n?!!n.trailing:d),M.cancel=function(){l!==r&&Mr(l),h=0,i=c=a=l=r},M.flush=function(){return l===r?u:y(Na())},M}var Ea=Vi((function(t,e){return li(t,1,e)})),Oa=Vi((function(t,e,n){return li(t,_s(e)||0,n)}));function Ca(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Nt(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Ca.Cache||Fn),n}function Sa(t){if("function"!=typeof t)throw new Nt(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ca.Cache=Fn;var Pa=vr((function(t,e){var n=(e=1==e.length&&Ga(e[0])?ze(e[0],Qe(ao())):ze(mi(e,1),Qe(ao()))).length;return Vi((function(i){for(var r=-1,o=vn(i.length,n);++r=e})),Wa=Ii(function(){return arguments}())?Ii:function(t){return ns(t)&&Et.call(t,"callee")&&!te.call(t,"callee")},Ga=i.isArray,Fa=he?Qe(he):function(t){return ns(t)&&Ai(t)==D};function Ha(t){return null!=t&&ts(t.length)&&!Ka(t)}function Va(t){return ns(t)&&Ha(t)}var qa=pn||_u,Ja=fe?Qe(fe):function(t){return ns(t)&&Ai(t)==v};function Xa(t){if(!ns(t))return!1;var e=Ai(t);return e==y||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!os(t)}function Ka(t){if(!es(t))return!1;var e=Ai(t);return e==M||e==w||"[object AsyncFunction]"==e||"[object Proxy]"==e}function $a(t){return"number"==typeof t&&t==gs(t)}function ts(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function es(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ns(t){return null!=t&&"object"==typeof t}var is=pe?Qe(pe):function(t){return ns(t)&&fo(t)==b};function rs(t){return"number"==typeof t||ns(t)&&Ai(t)==x}function os(t){if(!ns(t)||Ai(t)!=A)return!1;var e=Ft(t);if(null===e)return!0;var n=Et.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&kt.call(n)==Pt}var as=de?Qe(de):function(t){return ns(t)&&Ai(t)==L},ss=ge?Qe(ge):function(t){return ns(t)&&fo(t)==N};function us(t){return"string"==typeof t||!Ga(t)&&ns(t)&&Ai(t)==j}function ls(t){return"symbol"==typeof t||ns(t)&&Ai(t)==T}var cs=me?Qe(me):function(t){return ns(t)&&ts(t.length)&&!!Kt[Ai(t)]},hs=Wr(Si),fs=Wr((function(t,e){return t<=e}));function ps(t){if(!t)return[];if(Ha(t))return us(t)?an(t):Nr(t);if(ae&&t[ae])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[ae]());var e=fo(t);return(e==b?$e:e==N?nn:Rs)(t)}function ds(t){return t?(t=_s(t))===c||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function gs(t){var e=ds(t),n=e%1;return e==e?n?e-n:e:0}function ms(t){return t?ai(gs(t),0,p):0}function _s(t){if("number"==typeof t)return t;if(ls(t))return f;if(es(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=es(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ye(t);var n=dt.test(t);return n||mt.test(t)?ne(t.slice(2),n?2:8):pt.test(t)?f:+t}function vs(t){return jr(t,Es(t))}function ys(t){return null==t?"":sr(t)}var Ms=Ir((function(t,e){if(bo(e)||Ha(e))jr(e,ks(e),t);else for(var n in e)Et.call(e,n)&&ti(t,n,e[n])})),ws=Ir((function(t,e){jr(e,Es(e),t)})),bs=Ir((function(t,e,n,i){jr(e,Es(e),t,i)})),xs=Ir((function(t,e,n,i){jr(e,ks(e),t,i)})),As=to(oi),zs=Vi((function(t,e){t=At(t);var n=-1,i=e.length,o=i>2?e[2]:r;for(o&&vo(e[0],e[1],o)&&(i=1);++n1),e})),jr(t,no(t),n),i&&(n=si(n,7,Kr));for(var r=e.length;r--;)lr(n,e[r]);return n})),Ps=to((function(t,e){return null==t?{}:function(t,e){return Qi(t,e,(function(e,n){return js(t,n)}))}(t,e)}));function Zs(t,e){if(null==t)return{};var n=ze(no(t),(function(t){return[t]}));return e=ao(e),Qi(t,n,(function(t,n){return e(t,n[0])}))}var Us=Vr(ks),Bs=Vr(Es);function Rs(t){return null==t?[]:We(t,ks(t))}var Ys=Or((function(t,e,n){return e=e.toLowerCase(),t+(n?Qs(e):e)}));function Qs(t){return Xs(ys(t).toLowerCase())}function Ws(t){return(t=ys(t))&&t.replace(vt,qe).replace(Gt,"")}var Gs=Or((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Fs=Or((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Hs=Er("toLowerCase"),Vs=Or((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),qs=Or((function(t,e,n){return t+(n?" ":"")+Xs(e)})),Js=Or((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Xs=Er("toUpperCase");function Ks(t,e,n){return t=ys(t),(e=n?r:e)===r?function(t){return qt.test(t)}(t)?function(t){return t.match(Ht)||[]}(t):function(t){return t.match(ut)||[]}(t):t.match(e)||[]}var $s=Vi((function(t,e){try{return _e(t,r,e)}catch(t){return Xa(t)?t:new wt(t)}})),tu=to((function(t,e){return ye(e,(function(e){e=Zo(e),ri(t,e,Ia(t[e],t))})),t}));function eu(t){return function(){return t}}var nu=Pr(),iu=Pr(!0);function ru(t){return t}function ou(t){return Oi("function"==typeof t?t:si(t,1))}var au=Vi((function(t,e){return function(n){return Ti(n,t,e)}})),su=Vi((function(t,e){return function(n){return Ti(t,n,e)}}));function uu(t,e,n){var i=ks(e),r=wi(e,i);null!=n||es(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=wi(e,ks(e)));var o=!(es(n)&&"chain"in n&&!n.chain),a=Ka(t);return ye(r,(function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),r=n.__actions__=Nr(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,Le([this.value()],arguments))})})),t}function lu(){}var cu=Rr(ze),hu=Rr(we),fu=Rr(Te);function pu(t){return yo(t)?Pe(Zo(t)):function(t){return function(e){return bi(e,t)}}(t)}var du=Qr(),gu=Qr(!0);function mu(){return[]}function _u(){return!1}var vu,yu=Br((function(t,e){return t+e}),0),Mu=Fr("ceil"),wu=Br((function(t,e){return t/e}),1),bu=Fr("floor"),xu=Br((function(t,e){return t*e}),1),Au=Fr("round"),zu=Br((function(t,e){return t-e}),0);return Un.after=function(t,e){if("function"!=typeof e)throw new Nt(o);return t=gs(t),function(){if(--t<1)return e.apply(this,arguments)}},Un.ary=ja,Un.assign=Ms,Un.assignIn=ws,Un.assignInWith=bs,Un.assignWith=xs,Un.at=As,Un.before=Ta,Un.bind=Ia,Un.bindAll=tu,Un.bindKey=Da,Un.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ga(t)?t:[t]},Un.chain=pa,Un.chunk=function(t,e,n){e=(n?vo(t,e,n):e===r)?1:_n(gs(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var a=0,s=0,u=i(cn(o/e));ao?0:o+n),(i=i===r||i>o?o:gs(i))<0&&(i+=o),i=n>i?0:ms(i);n>>0)?(t=ys(t))&&("string"==typeof e||null!=e&&!as(e))&&!(e=sr(e))&&Ke(t)?yr(an(t),0,n):t.split(e,n):[]},Un.spread=function(t,e){if("function"!=typeof t)throw new Nt(o);return e=null==e?0:_n(gs(e),0),Vi((function(n){var i=n[e],r=yr(n,0,e);return i&&Le(r,i),_e(t,this,r)}))},Un.tail=function(t){var e=null==t?0:t.length;return e?er(t,1,e):[]},Un.take=function(t,e,n){return t&&t.length?er(t,0,(e=n||e===r?1:gs(e))<0?0:e):[]},Un.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?er(t,(e=i-(e=n||e===r?1:gs(e)))<0?0:e,i):[]},Un.takeRightWhile=function(t,e){return t&&t.length?hr(t,ao(e,3),!1,!0):[]},Un.takeWhile=function(t,e){return t&&t.length?hr(t,ao(e,3)):[]},Un.tap=function(t,e){return e(t),t},Un.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new Nt(o);return es(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),ka(t,e,{leading:i,maxWait:e,trailing:r})},Un.thru=da,Un.toArray=ps,Un.toPairs=Us,Un.toPairsIn=Bs,Un.toPath=function(t){return Ga(t)?ze(t,Zo):ls(t)?[t]:Nr(Po(ys(t)))},Un.toPlainObject=vs,Un.transform=function(t,e,n){var i=Ga(t),r=i||qa(t)||cs(t);if(e=ao(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:es(t)&&Ka(o)?Bn(Ft(t)):{}}return(r?ye:yi)(t,(function(t,i,r){return e(n,t,i,r)})),n},Un.unary=function(t){return ja(t,1)},Un.union=na,Un.unionBy=ia,Un.unionWith=ra,Un.uniq=function(t){return t&&t.length?ur(t):[]},Un.uniqBy=function(t,e){return t&&t.length?ur(t,ao(e,2)):[]},Un.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?ur(t,r,e):[]},Un.unset=function(t,e){return null==t||lr(t,e)},Un.unzip=oa,Un.unzipWith=aa,Un.update=function(t,e,n){return null==t?t:cr(t,e,mr(n))},Un.updateWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:cr(t,e,mr(n),i)},Un.values=Rs,Un.valuesIn=function(t){return null==t?[]:We(t,Es(t))},Un.without=sa,Un.words=Ks,Un.wrap=function(t,e){return Za(mr(e),t)},Un.xor=ua,Un.xorBy=la,Un.xorWith=ca,Un.zip=ha,Un.zipObject=function(t,e){return dr(t||[],e||[],ti)},Un.zipObjectDeep=function(t,e){return dr(t||[],e||[],Xi)},Un.zipWith=fa,Un.entries=Us,Un.entriesIn=Bs,Un.extend=ws,Un.extendWith=bs,uu(Un,Un),Un.add=yu,Un.attempt=$s,Un.camelCase=Ys,Un.capitalize=Qs,Un.ceil=Mu,Un.clamp=function(t,e,n){return n===r&&(n=e,e=r),n!==r&&(n=(n=_s(n))==n?n:0),e!==r&&(e=(e=_s(e))==e?e:0),ai(_s(t),e,n)},Un.clone=function(t){return si(t,4)},Un.cloneDeep=function(t){return si(t,5)},Un.cloneDeepWith=function(t,e){return si(t,5,e="function"==typeof e?e:r)},Un.cloneWith=function(t,e){return si(t,4,e="function"==typeof e?e:r)},Un.conformsTo=function(t,e){return null==e||ui(t,e,ks(e))},Un.deburr=Ws,Un.defaultTo=function(t,e){return null==t||t!=t?e:t},Un.divide=wu,Un.endsWith=function(t,e,n){t=ys(t),e=sr(e);var i=t.length,o=n=n===r?i:ai(gs(n),0,i);return(n-=e.length)>=0&&t.slice(n,o)==e},Un.eq=Ra,Un.escape=function(t){return(t=ys(t))&&V.test(t)?t.replace(F,Je):t},Un.escapeRegExp=function(t){return(t=ys(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Un.every=function(t,e,n){var i=Ga(t)?we:pi;return n&&vo(t,e,n)&&(e=r),i(t,ao(e,3))},Un.find=_a,Un.findIndex=Wo,Un.findKey=function(t,e){return De(t,ao(e,3),yi)},Un.findLast=va,Un.findLastIndex=Go,Un.findLastKey=function(t,e){return De(t,ao(e,3),Mi)},Un.floor=bu,Un.forEach=ya,Un.forEachRight=Ma,Un.forIn=function(t,e){return null==t?t:_i(t,ao(e,3),Es)},Un.forInRight=function(t,e){return null==t?t:vi(t,ao(e,3),Es)},Un.forOwn=function(t,e){return t&&yi(t,ao(e,3))},Un.forOwnRight=function(t,e){return t&&Mi(t,ao(e,3))},Un.get=Ns,Un.gt=Ya,Un.gte=Qa,Un.has=function(t,e){return null!=t&&po(t,e,Li)},Un.hasIn=js,Un.head=Ho,Un.identity=ru,Un.includes=function(t,e,n,i){t=Ha(t)?t:Rs(t),n=n&&!i?gs(n):0;var r=t.length;return n<0&&(n=_n(r+n,0)),us(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Ee(t,e,n)>-1},Un.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:gs(n);return r<0&&(r=_n(i+r,0)),Ee(t,e,r)},Un.inRange=function(t,e,n){return e=ds(e),n===r?(n=e,e=0):n=ds(n),function(t,e,n){return t>=vn(e,n)&&t<_n(e,n)}(t=_s(t),e,n)},Un.invoke=Ds,Un.isArguments=Wa,Un.isArray=Ga,Un.isArrayBuffer=Fa,Un.isArrayLike=Ha,Un.isArrayLikeObject=Va,Un.isBoolean=function(t){return!0===t||!1===t||ns(t)&&Ai(t)==_},Un.isBuffer=qa,Un.isDate=Ja,Un.isElement=function(t){return ns(t)&&1===t.nodeType&&!os(t)},Un.isEmpty=function(t){if(null==t)return!0;if(Ha(t)&&(Ga(t)||"string"==typeof t||"function"==typeof t.splice||qa(t)||cs(t)||Wa(t)))return!t.length;var e=fo(t);if(e==b||e==N)return!t.size;if(bo(t))return!Ci(t).length;for(var n in t)if(Et.call(t,n))return!1;return!0},Un.isEqual=function(t,e){return Di(t,e)},Un.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:r)?n(t,e):r;return i===r?Di(t,e,r,n):!!i},Un.isError=Xa,Un.isFinite=function(t){return"number"==typeof t&&dn(t)},Un.isFunction=Ka,Un.isInteger=$a,Un.isLength=ts,Un.isMap=is,Un.isMatch=function(t,e){return t===e||ki(t,e,uo(e))},Un.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,ki(t,e,uo(e),n)},Un.isNaN=function(t){return rs(t)&&t!=+t},Un.isNative=function(t){if(wo(t))throw new wt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ei(t)},Un.isNil=function(t){return null==t},Un.isNull=function(t){return null===t},Un.isNumber=rs,Un.isObject=es,Un.isObjectLike=ns,Un.isPlainObject=os,Un.isRegExp=as,Un.isSafeInteger=function(t){return $a(t)&&t>=-9007199254740991&&t<=h},Un.isSet=ss,Un.isString=us,Un.isSymbol=ls,Un.isTypedArray=cs,Un.isUndefined=function(t){return t===r},Un.isWeakMap=function(t){return ns(t)&&fo(t)==I},Un.isWeakSet=function(t){return ns(t)&&"[object WeakSet]"==Ai(t)},Un.join=function(t,e){return null==t?"":gn.call(t,e)},Un.kebabCase=Gs,Un.last=Xo,Un.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=gs(n))<0?_n(i+o,0):vn(o,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,o):ke(t,Ce,o,!0)},Un.lowerCase=Fs,Un.lowerFirst=Hs,Un.lt=hs,Un.lte=fs,Un.max=function(t){return t&&t.length?di(t,ru,zi):r},Un.maxBy=function(t,e){return t&&t.length?di(t,ao(e,2),zi):r},Un.mean=function(t){return Se(t,ru)},Un.meanBy=function(t,e){return Se(t,ao(e,2))},Un.min=function(t){return t&&t.length?di(t,ru,Si):r},Un.minBy=function(t,e){return t&&t.length?di(t,ao(e,2),Si):r},Un.stubArray=mu,Un.stubFalse=_u,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=xu,Un.nth=function(t,e){return t&&t.length?Ri(t,gs(e)):r},Un.noConflict=function(){return oe._===this&&(oe._=Zt),this},Un.noop=lu,Un.now=Na,Un.pad=function(t,e,n){t=ys(t);var i=(e=gs(e))?on(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Yr(hn(r),n)+t+Yr(cn(r),n)},Un.padEnd=function(t,e,n){t=ys(t);var i=(e=gs(e))?on(t):0;return e&&ie){var i=t;t=e,e=i}if(n||t%1||e%1){var o=wn();return vn(t+o*(e-t+ee("1e-"+((o+"").length-1))),e)}return Fi(t,e)},Un.reduce=function(t,e,n){var i=Ga(t)?Ne:Ue,r=arguments.length<3;return i(t,ao(e,4),n,r,hi)},Un.reduceRight=function(t,e,n){var i=Ga(t)?je:Ue,r=arguments.length<3;return i(t,ao(e,4),n,r,fi)},Un.repeat=function(t,e,n){return e=(n?vo(t,e,n):e===r)?1:gs(e),Hi(ys(t),e)},Un.replace=function(){var t=arguments,e=ys(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Un.result=function(t,e,n){var i=-1,o=(e=_r(e,t)).length;for(o||(o=1,t=r);++ih)return[];var n=p,i=vn(t,p);e=ao(e),t-=p;for(var r=Re(i,e);++n=a)return t;var u=n-on(i);if(u<1)return i;var l=s?yr(s,0,u).join(""):t.slice(0,u);if(o===r)return l+i;if(s&&(u+=l.length-u),as(o)){if(t.slice(u).search(o)){var c,h=l;for(o.global||(o=zt(o.source,ys(ft.exec(o))+"g")),o.lastIndex=0;c=o.exec(h);)var f=c.index;l=l.slice(0,f===r?u:f)}}else if(t.indexOf(sr(o),u)!=u){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+i},Un.unescape=function(t){return(t=ys(t))&&H.test(t)?t.replace(G,un):t},Un.uniqueId=function(t){var e=++Ot;return ys(t)+e},Un.upperCase=Js,Un.upperFirst=Xs,Un.each=ya,Un.eachRight=Ma,Un.first=Ho,uu(Un,(vu={},yi(Un,(function(t,e){Et.call(Un.prototype,e)||(vu[e]=t)})),vu),{chain:!1}),Un.VERSION="4.17.21",ye(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Un[t].placeholder=Un})),ye(["drop","take"],(function(t,e){Qn.prototype[t]=function(n){n=n===r?1:_n(gs(n),0);var i=this.__filtered__&&!e?new Qn(this):this.clone();return i.__filtered__?i.__takeCount__=vn(n,i.__takeCount__):i.__views__.push({size:vn(n,p),type:t+(i.__dir__<0?"Right":"")}),i},Qn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ye(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Qn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ao(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),ye(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Qn.prototype[t]=function(){return this[n](1).value()[0]}})),ye(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Qn.prototype[t]=function(){return this.__filtered__?new Qn(this):this[n](1)}})),Qn.prototype.compact=function(){return this.filter(ru)},Qn.prototype.find=function(t){return this.filter(t).head()},Qn.prototype.findLast=function(t){return this.reverse().find(t)},Qn.prototype.invokeMap=Vi((function(t,e){return"function"==typeof t?new Qn(this):this.map((function(n){return Ti(n,t,e)}))})),Qn.prototype.reject=function(t){return this.filter(Sa(ao(t)))},Qn.prototype.slice=function(t,e){t=gs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Qn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==r&&(n=(e=gs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Qn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Qn.prototype.toArray=function(){return this.take(p)},yi(Qn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),o=Un[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);o&&(Un.prototype[e]=function(){var e=this.__wrapped__,s=i?[1]:arguments,u=e instanceof Qn,l=s[0],c=u||Ga(e),h=function(t){var e=o.apply(Un,Le([t],s));return i&&f?e[0]:e};c&&n&&"function"==typeof l&&1!=l.length&&(u=c=!1);var f=this.__chain__,p=!!this.__actions__.length,d=a&&!f,g=u&&!p;if(!a&&c){e=g?e:new Qn(this);var m=t.apply(e,s);return m.__actions__.push({func:da,args:[h],thisArg:r}),new Yn(m,f)}return d&&g?t.apply(this,s):(m=this.thru(h),d?i?m.value()[0]:m.value():m)})})),ye(["pop","push","shift","sort","splice","unshift"],(function(t){var e=jt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Un.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Ga(r)?r:[],t)}return this[n]((function(n){return e.apply(Ga(n)?n:[],t)}))}})),yi(Qn.prototype,(function(t,e){var n=Un[e];if(n){var i=n.name+"";Et.call(In,i)||(In[i]=[]),In[i].push({name:e,func:n})}})),In[Zr(r,2).name]=[{name:"wrapper",func:r}],Qn.prototype.clone=function(){var t=new Qn(this.__wrapped__);return t.__actions__=Nr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Nr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Nr(this.__views__),t},Qn.prototype.reverse=function(){if(this.__filtered__){var t=new Qn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Qn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ga(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i=this.__values__.length;return{done:t,value:t?r:this.__values__[this.__index__++]}},Un.prototype.plant=function(t){for(var e,n=this;n instanceof Rn;){var i=Bo(n);i.__index__=0,i.__values__=r,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},Un.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Qn){var e=t;return this.__actions__.length&&(e=new Qn(this)),(e=e.reverse()).__actions__.push({func:da,args:[ea],thisArg:r}),new Yn(e,this.__chain__)}return this.thru(ea)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return fr(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,ae&&(Un.prototype[ae]=function(){return this}),Un}();oe._=ln,(i=function(){return ln}.call(e,n,e,t))===r||(t.exports=i)}.call(this)},2043:function(t,e,n){var i,r;!function(o,a){"use strict";i=function(){var t=function(){},e="undefined",n=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),i=["trace","debug","info","warn","error"];function r(t,e){var n=t[e];if("function"==typeof n.bind)return n.bind(t);try{return Function.prototype.bind.call(n,t)}catch(e){return function(){return Function.prototype.apply.apply(n,[t,arguments])}}}function o(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(i){return"debug"===i&&(i="log"),typeof console!==e&&("trace"===i&&n?o:void 0!==console[i]?r(console,i):void 0!==console.log?r(console,"log"):t)}function s(e,n){for(var r=0;r=0&&n<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(o=n,!1!==r&&function(t){var n=(i[t]||"silent").toUpperCase();if(typeof window!==e&&u){try{return void(window.localStorage[u]=n)}catch(t){}try{window.document.cookie=encodeURIComponent(u)+"="+n+";"}catch(t){}}}(n),s.call(a,n,t),typeof console===e&&n{var e=function(t){"use strict";var e,n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,i){var r=e&&e.prototype instanceof m?e:m,o=Object.create(r.prototype),a=new j(i||[]);return o._invoke=function(t,e,n){var i=h;return function(r,o){if(i===p)throw new Error("Generator is already running");if(i===d){if("throw"===r)throw o;return I()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=z(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===h)throw i=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=p;var u=c(t,e,n);if("normal"===u.type){if(i=n.done?d:f,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=d,n.method="throw",n.arg=u.arg)}}}(t,n,a),o}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",g={};function m(){}function _(){}function v(){}var y={};u(y,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(T([])));w&&w!==n&&i.call(w,o)&&(y=w);var b=v.prototype=m.prototype=Object.create(y);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(r,o,a,s){var u=c(t[r],t,o);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==typeof h&&i.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}var r;this._invoke=function(t,i){function o(){return new e((function(e,r){n(t,i,e,r)}))}return r=r?r.then(o,o):o()}}function z(t,n){var i=t.iterator[n.method];if(i===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,z(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var r=c(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,g;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function L(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function T(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;N(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:T(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},3379:t=>{"use strict";var e=[];function n(t){for(var n=-1,i=0;i{"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},9216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:(t,e,n)=>{"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},7795:t=>{"use strict";t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(i,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},1836:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7ED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jAzNCA0Ni4wNjggMzguNTY2NCA0Ni4wNjggMzIuNTM0QzQ2LjA2OCAyNS42MTE3IDQwLjQ1NjMgMjAgMzMuNTM0IDIwQzI2LjYxMTcgMjAgMjEgMjUuNjExNyAyMSAzMi41MzRDMjEgMzguNTkzMSAyNS4yOTkzIDQzLjY0OCAzMS4wMTM3IDQ0LjgxNDVWNTEuNDQyMUMzMS4wMTM3IDUyLjg1NDggMzIuMTU4OSA1NC4wMDAxIDMzLjU3MTcgNTQuMDAwMUMzNC45ODQ1IDU0LjAwMDEgMzYuMTI5OCA1Mi44NTQ4IDM2LjEyOTggNTEuNDQyMVY0NC43OTg5WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=t,n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),n.b=document.baseURI||self.location.href;var i={};return(()=>{"use strict";n.r(i),n.d(i,{Alert:()=>W,Map:()=>pt,Spin:()=>Y});var t=n(5666),e=n.n(t),r=n(9669),o=n.n(r),a=n(7254),s=n.n(a),u=n(2043),l=n.n(u),c=(n(6486),n(5243),n(3379)),h=n.n(c),f=n(7795),p=n.n(f),d=n(569),g=n.n(d),m=n(3565),_=n.n(m),v=n(9216),y=n.n(v),M=n(4589),w=n.n(M),b=n(7984),x={};x.styleTagTransform=w(),x.setAttributes=_(),x.insert=g().bind(null,"head"),x.domAPI=p(),x.insertStyleElement=y(),h()(b.Z,x),b.Z&&b.Z.locals&&b.Z.locals,n(9109),n(9627);const A={freetown:{zoom:8,center:{lat:8.665148,lng:-11.788725}},TheHaitiTreeProject:{zoom:8,center:{lat:18.5296,lng:-72.4081}}};function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function L(t){for(var e=1;e180?i.lng=i.lng%180-180:i.lng<-180&&(i.lng=i.lng%180+180):"north"!==t&&"south"!==t||(i.lat>90?i.lat=90-i.lat%90:i.lat<-90&&(i.lat=-i.lat%90-90)),i}function T(t,e,n){s()(t).lengthOf.above(0);var i=t.map((function(t){return L(L({},t),{},{lat:parseFloat(t.lat),lng:parseFloat(t.lng)})}));if(i.forEach((function(t){s()(t).property("lat").number(),s()(t).property("lng").number()})),s()(e).above(0),s()(n).above(0),1===i.length){var r=i[0],o=.005;l().log(o);var a=j("north",j("west",r,o),o);i.push(a);var u=j("south",j("west",r,o),o);i.push(u);var c=j("north",j("east",r,o),o);i.push(c);var h=j("south",j("east",r,o),o);i.push(h)}var f=new window.L.latLngBounds;i.forEach((function(t){f.extend(t)})),l().log("bounds:",f);var p,d,g={lat:f.getCenter().lat,lng:f.getCenter().lng},m=f.getSouthWest().lng,_=function(t,e){var n=t-e;return n<0&&(n+=360),n}(f.getNorthEast().lng,m);p=Math.round(Math.log(360*e/_/256)/Math.LN2),l().log("zoom1:",p);var v=f.getSouthWest().lat,y=function(t,e){var n=t-e;return l().log("angle:",n),Math.abs(n)}(f.getNorthEast().lat,v);l().log("angle:",y),d=Math.round(Math.log(360*n/y/256)/Math.LN2),l().log("zoom2:",d),l().log("height:",n,"width:",e);var M=Math.min(p,d)-1;l().log("zoom final:",M);var w={center:g,zoomLevel:M};return l().log("result:",w),w}function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function D(t){for(var e=1;e\n \n \n \n ',this.spin.className="spin",this.spin.style.display="none",t.appendChild(this.spin)}},{key:"show",value:function(){this.spin.style.display="block"}},{key:"hide",value:function(){this.spin.style.display="none"}}])&&R(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Q(t,e){for(var n=0;n\n
\n \n \n \n \n \n \n
\n An example warning alert with an icon\n
\n
\n \n ',this.alert.style.display="none",t.appendChild(this.alert)}},{key:"show",value:function(t){document.getElementsByClassName("greenstand-alert-message-box")[0].innerHTML=t,this.alert.style.display="block"}},{key:"hide",value:function(){this.alert.style.display="none"}}])&&Q(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),G=n(7237),F=n.n(G);function H(t,e){for(var n=0;n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ',this.buttonPanel.className="buttonPanel",t.appendChild(this.buttonPanel),this.buttonPanel.addEventListener("click",this.clickHandler.bind(this)),this.buttonPanel.style.display="none"}},{key:"clickHandler",value:function(t){var e=t.target.closest(".next-button-arrow").id;"next-right-arrow"===e?(console.log("next"),this.onNext()):"next-left-arrow"===e&&(console.log("prev"),this.onPrev())}}])&&H(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function q(t){return q="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},q(t)}function J(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return X(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n\n
\n
\n
\n ',i.appendChild(o),a=document.getElementById("greenstand-leaflet"),s=document.getElementById("greenstand-map-spin"),u=document.getElementById("greenstand-map-alert"),this.spin=new Y,this.spin.mount(s),this.alert=new W,this.alert.mount(u),this.map=this.L.map(a,r),this.map.setView(this.initialCenter,this.minZoom),this.map.attributionControl.setPrefix(""),c=document.getElementById("greenstand-map-buttonPanel"),this.buttonPanel=new V((function(){return h.goNextPoint()}),(function(){return h.goPrevPoint()})),this.buttonPanel.mount(c),this.on(t.REGISTERED_EVENTS.TREE_SELECTED,(function(){return h.buttonPanel.show()})),e.next=23,this.loadGoogleSatellite();case 23:if(e.prev=23,!this.filters.bounds){e.next=29;break}return e.next=27,this.gotoBounds(this.filters.bounds);case 27:e.next=31;break;case 29:return e.next=31,this.loadInitialView();case 31:if(this.onLoad&&this.onLoad(),!this.filters.treeid){e.next=36;break}l().info("treeid mode do not need tile server"),e.next=42;break;case 36:if(!this.filters.tree_name){e.next=40;break}l().info("tree name mode do not need tile server"),e.next=42;break;case 40:return e.next=42,this.loadTileServer();case 42:if(this.map.on("moveend",(function(e){l().warn("move end",e),h.events.emit(t.REGISTERED_EVENTS.MOVE_END)})),!this.filters.treeid){e.next=47;break}return l().info("load tree by id"),e.next=47,this.loadTree(this.filters.treeid);case 47:if(!this.filters.tree_name){e.next=51;break}return l().info("load tree by name"),e.next=51,this.loadTree(void 0,this.filters.tree_name);case 51:return e.next=53,this.loadFreetownLayer();case 53:if(!this.debug){e.next=56;break}return e.next=56,this.loadDebugLayer();case 56:e.next=62;break;case 58:e.prev=58,e.t0=e.catch(23),l().error("get error when load:",e.t0),e.t0 instanceof ft&&(l().error("map error:",e.t0),this.onError&&this.onError(e.t0));case 62:case"end":return e.stop()}}),n,this,[[23,58]])}))),function(t){return _.apply(this,arguments)})},{key:"loadGoogleSatellite",value:(m=$(e().mark((function t(){var n,i=this;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=window.L.TileLayer.extend({createTile:function(t,e){var n=document.createElement("img");return window.L.DomEvent.on(n,"load",window.L.Util.bind(this._tileOnLoad,this,e,n)),window.L.DomEvent.on(n,"error",window.L.Util.bind(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),12===t.z&&t.x<=1895&&t.x>=1889&&t.y>=1944&&t.y<=1956||13===t.z&&t.x<=3791&&t.x>=3779&&t.y>=3894&&t.y<=3909||14===t.z&&t.x<=7583&&t.x>=7563&&t.y>=7800&&t.y<=7817||15===t.z&&t.x<=15167&&t.x>=14967&&t.y>=15600&&t.y<=15620?n.src="https://khms0.googleapis.com/kh?v=903&hl=en&x=3792&y=3905&z=13":n.src=this.getTileUrl(t),n}}),l().warn("load google satellite map"),this.layerGoogle=new n("http://{s}.google.com/vt/lyrs=s,h&x={x}&y={y}&z={z}",{maxZoom:this.maxZoom,attribution:'Map data   © Google  © Greenstand.',subdomains:["mt0","mt1","mt2","mt3"],zIndex:0}),this.layerGoogle.addTo(this.map),t.next=6,new Promise((function(t){i.layerGoogle.once("load",$(e().mark((function n(){return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l().warn("google layer loaded"),t();case 2:case"end":return e.stop()}}),n)}))))}));case 6:case"end":return t.stop()}}),t,this)}))),function(){return m.apply(this,arguments)})},{key:"addGeoJson",value:(g=$(e().mark((function t(n){var i,r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n,"string"!=typeof n){t.next=5;break}return t.next=4,o().get(n);case 4:i=t.sent.data;case 5:return r=window.L.geoJSON(i).addTo(this.map),t.abrupt("return",r);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return g.apply(this,arguments)})},{key:"gotoBounds",value:(d=$(e().mark((function t(n){var i,r,o,a,s,u,c=this;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.split(","),r=J(i,4),o=r[0],a=r[1],s=r[2],u=r[3],l().warn("go to bounds:",n),!this.moreEffect){t.next=9;break}return this.map.flyToBounds([[a,o],[u,s]]),l().warn("waiting bound load..."),t.next=7,new Promise((function(t){c.map.on("moveend",(function(){l().warn("fire bound finished"),c.map.off("moveend"),t()}))}));case 7:t.next=10;break;case 9:this.map.fitBounds([[a,o],[u,s]],{animate:!1});case 10:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"loadTileServer",value:(p=$(e().mark((function n(){var i,r,o,a,s=this;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=this.getIconSuiteParameters(this.iconSuite),r=i.iconSuiteQueryString,o=this.getFilterParameters(),a=o?"&".concat(o):"",this.layerTile=new this.L.tileLayer("".concat(this.tileServerUrl,"{z}/{x}/{y}.png?icon=").concat(r).concat(a),{minZoom:this.minZoom,maxZoom:this.maxZoom,updateWhenZooming:!1,zIndex:99999,subdomains:this.tileServerSubdomains,errorTileUrl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABPKSURBVHgB7d17cFzVfcDx38qSrJeRRAwEMPYaDz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xwy1z0e6TQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOCU+wN+gej3IW4U5AAAAABJRU5ErkJggg=="}),this.tileLoadingMonitor=new(F())(this.layerTile,{showLoadingThreshold:4e3,slowThreshold:8e3,onShowLoading:function(){l().warn("show loading"),s.spin.show()},onSlowAlert:function(){l().warn("slow alert"),s.alert.show("Trees grow slower than this map loads, be patient...")},onLoad:function(){l().warn("load finished"),s.spin.hide(),s.alert.hide()}}),this.layerTile.addTo(this.map),this.layerUtfGrid=new this.L.utfGrid("".concat(this.tileServerUrl,"{z}/{x}/{y}.grid.json?icon=").concat(r).concat(a),{minZoom:this.minZoom,maxZoom:this.maxZoom,updateWhenZooming:!1,zIndex:9,subdomains:this.tileServerSubdomains}),this.layerUtfGrid.on("click",(function(e){l().warn("click:",e),e.data&&s.clickMarker(t.parseUtfData(e.data))})),this.layerUtfGrid.on("mouseover",(function(e){l().debug("mouseover:",e),s.highlightMarker(t.parseUtfData(e.data))})),this.layerUtfGrid.on("mouseout",(function(t){l().debug("e:",t),s.unHighlightMarker()})),this.layerUtfGrid.on("load",(function(){l().info("all grid loaded!"),s.checkArrow()})),this.layerUtfGrid.on("tileunload",(function(t){l().warn("tile unload:",t),t.tile.cancelRequest()})),this.layerUtfGrid.on("tileloadstart",(function(){})),this.layerUtfGrid.on("tileload",(function(){l().warn("tile load!")})),this.layerUtfGrid.on("tileerror",(function(){l().error("tile error!")})),this.layerUtfGrid.on("loading",(function(){l().warn("tile load begin...")})),this.layerUtfGrid.addTo(this.map),this.layerUtfGrid.hasMarkerInCurrentView=function(){var t=s.layerUtfGrid.isLoading();if(l().warn("utf layer is loading:",t),t)return l().error("can not handle the grid utf check when loading, cancel!"),!1;var e=Date.now(),n=!1,i=0,r=0,o=s.map.getSize(),a=o.x,u=o.y;t:for(var c=0;c\n
\n \n '),iconSize:n?[64,64]:[32,32]})});else{if("cluster"!==e.type)throw new Error("wrong type:",e);this.layerHighlight=new this.L.marker([e.lat,e.lon],{icon:new this.L.DivIcon({className:"greenstand-cluster-highlight",html:'\n
1e3&&!n?"":"small",'">\n
').concat(t.formatClusterText(e.count),"
\n
\n ")})})}this.layerHighlight.addTo(this.map)}},{key:"unHighlightMarker",value:function(){this.map.hasLayer(this.layerHighlight)?this.map.removeLayer(this.layerHighlight):l().warn("try to remove nonexisting layer")}},{key:"clickMarker",value:function(t){if(this.unHighlightMarker(),"point"===t.type)this.selectMarker(t),this.onClickTree&&this.onClickTree(t);else{if("cluster"!==t.type)throw new Error("do not support type:",t.type);if(t.zoom_to){l().info("found zoom to:",t.zoom_to);var e=J(JSON.parse(t.zoom_to).coordinates,2),n=e[0],i=e[1];this.moreEffect?this.map.flyTo([i,n],this.map.getZoom()+2):this.map.setView([i,n],this.map.getZoom()+2,{animate:!1})}else this.moreEffect?this.map.flyTo([t.lat,t.lon],this.map.getZoom()+2):this.map.setView([t.lat,t.lon],this.map.getZoom()+2,{animate:!1})}}},{key:"selectMarker",value:function(e){var n=this.getIconSuiteParameters(this.iconSuite).iconSuiteClass;l().info("change tree mark selected with data:",e),this.unselectMarker(),this.layerSelected=new this.L.marker([e.lat,e.lon],{icon:new window.L.DivIcon({className:"greenstand-point-selected",html:'\n
\n
\n
\n '),iconSize:n?[64,64]:[32,32]})}),this.layerSelected.payload=e,this.layerSelected.addTo(this.map),this.events.emit(t.REGISTERED_EVENTS.TREE_SELECTED,e)}},{key:"unselectMarker",value:function(){var e;this.events.emit(t.REGISTERED_EVENTS.TREE_UNSELECTED,null===(e=this.layerSelected)||void 0===e?void 0:e.payload),this.map.hasLayer(this.layerSelected)?this.map.removeLayer(this.layerSelected):l().warn("try to remove nonexisting layer selected")}},{key:"loadInitialView",value:(u=$(e().mark((function n(){var i,r,o,a,s,u,c,h,f,p,d,g,m=this;return e().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=function(){var n=$(e().mark((function n(){var i,r,o;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="".concat(m.apiServerUrl,"trees?clusterRadius=").concat(t.getClusterRadius(10),"&zoom_level=10&").concat(m.getFilterParameters()),l().info("calculate initial view with url:",i),e.next=4,m.requester.request({url:i});case 4:if(r=e.sent,0!==(o=r.data.map((function(t){if("cluster"===t.type){var e=JSON.parse(t.centroid);return{lat:e.coordinates[1],lng:e.coordinates[0]}}return"point"===t.type?{lat:t.lat,lng:t.lon}:null}))).length){e.next=9;break}throw l().info("Can not find data"),new ft("Can not find any data");case 9:return e.abrupt("return",T(o,m.width,m.height));case 10:case"end":return e.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),!this.filters.userid&&!this.filters.wallet){n.next=8;break}return l().warn("try to get initial bounds"),n.next=5,r();case 5:i=n.sent,n.next=33;break;case 8:if(!this.filters.treeid&&!this.filters.tree_name){n.next=22;break}return o=this.filters,a=o.treeid,s=o.tree_name,u="".concat(this.apiServerUrl,"tree?").concat(a?"tree_id=".concat(a):"tree_name=".concat(s)),l().info("url to load tree:",u),n.next=14,this.requester.request({url:u});case 14:if(c=n.sent,l().warn("res:",c),c){n.next=18;break}throw new ft("Can not find any data");case 18:h=c.lat,f=c.lon,i={center:{lat:h,lon:f},zoomLevel:16},n.next=33;break;case 22:if(!this.filters.map_name){n.next=33;break}if(l().info("to init org map"),!A[this.filters.map_name]){n.next=30;break}p=A[this.filters.map_name],d=p.zoom,g=p.center,l().info("there is setting for map init view:",d,g),i={center:{lat:g.lat,lon:g.lng},zoomLevel:d},n.next=33;break;case 30:return n.next=32,r();case 32:i=n.sent;case 33:if(!i){n.next=42;break}if(!this.moreEffect){n.next=41;break}return this.map.flyTo(i.center,i.zoomLevel),l().warn("waiting initial view load..."),n.next=39,new Promise((function(t){m.map.on("moveend",(function(){l().warn("fire initial view finished"),m.map.off("moveend"),t()}))}));case 39:n.next=42;break;case 41:this.map.setView(i.center,i.zoomLevel,{animate:!1});case 42:case"end":return n.stop()}}),n,this)}))),function(){return u.apply(this,arguments)})},{key:"getIconSuiteParameters",value:function(t){switch(t){case"ptk-s":return{iconSuiteClass:"green-s",iconSuiteQueryString:"ptk-s"};case"ptk-b":return{iconSuiteClass:"green-b",iconSuiteQueryString:"ptk-b"};default:return{iconSuiteClass:"",iconSuiteQueryString:"o"}}}},{key:"getFilters",value:function(){var t={};return this.filters.userid&&(t.userid=this.filters.userid),this.filters.wallet&&(t.wallet=this.filters.wallet),this.filters.treeid&&(t.treeid=this.filters.treeid),this.filters.timeline&&(t.timeline=this.filters.timeline),this.filters.map_name&&(t.map_name=this.filters.map_name),t}},{key:"getFilterParameters",value:function(){var t=this.getFilters();return Object.keys(t).reduce((function(e,n){return"".concat(n,"=").concat(t[n]).concat(e&&"&".concat(e)||"")}),"")}},{key:"getCurrentBounds",value:function(){return this.map.getBounds().toBBoxString()}},{key:"getLeafletMap",value:function(){return this.map}},{key:"goNextPoint",value:function(){l().info("go next tree");var t=this.layerSelected.payload;s()(t).match({lat:s().any(Number)});var e=this.getPoints(),n=e.reduce((function(e,n,i){return n.id===t.id?i:e}),-1);if(-1===n)throw l().error("can not find the point:",t,e),new Error("can not find the point");if(n===e.length-1)return l().info("no more next"),!1;var i=e[n+1];return this.clickMarker(i),null}},{key:"goPrevPoint",value:function(){l().info("go previous tree");var t=this.layerSelected.payload;s()(t).match({lat:s().any(Number)});var e=this.getPoints(),n=e.reduce((function(e,n,i){return n.id===t.id?i:e}),-1);if(-1===n)throw l().error("can not find the point:",t,e),new Error("can not find the point");if(0===n)return l().info("no more previous"),!1;var i=e[n-1];return this.clickMarker(i),null}},{key:"getPoints",value:function(){var e=Object.values(this.layerUtfGrid._cache).map((function(t){return t.data})).filter((function(t){return Object.keys(t).length>0})).reduce((function(t,e){return t.concat(Object.values(e))}),[]).map((function(e){return t.parseUtfData(e)})).filter((function(t){return"point"===t.type}));l().info("loaded data in utf cache:",e.length);var n={};e.forEach((function(t){n[t.id]=t}));var i=Object.values(n);return l().warn("find points:",i.length),l().warn("find points:",i),i}},{key:"rerender",value:(a=$(e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:l().info("rerender"),l().info("reload tile"),this.unloadTileServer(),this.loadTileServer();case 4:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"setFilters",value:function(t){this.filters=t}},{key:"loadFreetownLayer",value:(r=$(e().mark((function t(){var n,i,r=this;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return l().info("load freetown layer"),this.L.TileLayer.FreeTown=this.L.TileLayer.extend({getTileUrl:function(t){var e=Math.pow(2,t.z)-t.y-1,n="https://treetracker-map-tiles.nyc3.cdn.digitaloceanspaces.com/freetown/".concat(t.z,"/").concat(t.x,"/").concat(e,".png");return 10===t.z&&474===t.x&&e<537&&e>534||11===t.z&&t.x>947&&t.x<950&&e>1070&&e<1073||12===t.z&&t.x>1895&&t.x<1899&&e>2142&&e<2146||13===t.z&&t.x>3792&&t.x<3798&&e>4286&&e<4291||14===t.z&&t.x>7585&&t.x<7595&&e>8574&&e<8581||15===t.z&&t.x>15172&&t.x<15190&&e>17149&&e<17161||16===t.z&&t.x>30345&&t.x<30379&&e>34300&&e<34322||17===t.z&&t.x>60692&&t.x<60758&&e>68602&&e<68643||18===t.z&&t.x>121385&&t.x<121516&&e>137206&&e<137286?n:"/"}}),this.L.tileLayer.freeTown=function(){return new r.L.TileLayer.FreeTown},this.L.tileLayer.freeTown("",{maxZoom:this.maxZoom,tileSize:this.L.point(256,256),zIndex:4}).addTo(this.map),t.next=6,new Promise((function(t,e){o().get("https://treetracker-map-features.fra1.digitaloceanspaces.com/freetown_catchments.geojson").then((function(e){l().info("Begin load freetown geojson"),s()(e).property("data").property("features").a(s().any(Array)),t(e.data.features)})).catch((function(t){l().error("get error when load geojson",t),e(t)}))}));case 6:n=t.sent,i={color:"green",weight:1,opacity:1,fillOpacity:0},this.layerFreetownGeoJson=this.L.geoJSON(n,{style:i}),this.map.on("zoomend",(function(){l().debug("zoomend for geojson"),r.layerFreetownGeoJson?r.map.getZoom()>12?(l().debug("should show geo json"),r.map.hasLayer(r.layerFreetownGeoJson)||r.map.addLayer(r.layerFreetownGeoJson)):(l().debug("should hide geo json"),r.map.hasLayer(r.layerFreetownGeoJson)&&r.map.removeLayer(r.layerFreetownGeoJson)):l().debug("geo json not load")}));case 10:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"checkArrow",value:(i=$(e().mark((function t(){var n,i;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l().info("check arrow..."),!this.layerUtfGrid.hasMarkerInCurrentView()){t.next=5;break}l().info("found marker"),t.next=10;break;case 5:return l().info("no marker"),t.next=8,this.getNearest();case 8:(n=t.sent)?(i=this.calculatePlacement(n),this.onFindNearestAt&&this.onFindNearestAt(i)):l().warn("Can't get the nearest:",n);case 10:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"getNearest",value:(n=$(e().mark((function t(){var n,i,r,o;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.map.getCenter(),l().log("current center:",n),i=this.map.getZoom(),t.next=5,this.requester.request({url:"".concat(this.apiServerUrl,"nearest?zoom_level=").concat(i,"&lat=").concat(n.lat,"&lng=").concat(n.lng)});case 5:if(r=t.sent){t.next=9;break}return l().warn("Return undefined trying to get nearest, the api return null"),t.abrupt("return",null);case 9:return o=(o=r.nearest)?{lat:o.coordinates[1],lng:o.coordinates[0]}:void 0,l().log("get nearest:",o),t.abrupt("return",o);case 13:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"calculatePlacement",value:function(t){var e,n=this.map.getCenter();if(l().info("calculate location",t," to center:",n),s()(t.lat).number(),s()(t.lng).number(),this.map.getBounds().contains({lat:t.lat,lng:t.lng}))e="in";else{l().log("out of bounds, display arrow");var i={lat:t.lat,lng:t.lng},r=window.L.CRS.EPSG3857.distance(n,window.L.latLng(i.lat,n.lng));l().log("distanceLat:",r),s()(r).number();var o=window.L.CRS.EPSG3857.distance(n,window.L.latLng(n.lat,i.lng));l().log("distanceLng:",o),s()(o).number(),l().log("dist:",i),l().log("center:",n,n.lat),i.lat>n.lat?(l().log("On the north"),r>o?(l().log("On the north"),e="north"):i.lng>n.lng?(l().log("On the east"),e="east"):(l().log("On the west"),e="west")):(l().log("On the south"),r>o?(l().log("On the south"),e="south"):i.lng>n.lng?(l().log("On the east"),e="east"):(l().log("On the west"),e="west"))}return l().info("placement:",e),s()(e).oneOf(["north","south","west","east","in"]),e}},{key:"goto",value:function(t){l().info("goto:",t),this.map.panTo(t)}},{key:"flyTo",value:function(t,e,n){l().info("fly to:",t,e,n),this.map.flyTo([t,e],n)}}],[{key:"formatClusterText",value:function(t){return t>1e3?"".concat(Math.floor(t/1e3),"K"):t}},{key:"getClusterRadius",value:function(t){switch(t){case 1:return 10;case 2:return 8;case 3:return 6;case 4:return 4;case 5:return.8;case 6:return.75;case 7:return.3;case 8:return.099;case 9:return.095;case 10:return.05;case 11:return.03;case 12:return.02;case 13:return.008;case 14:return.005;case 15:return.004;case 16:return.003;default:return 0}}},{key:"parseUtfData",value:function(t){var e=J(JSON.parse(t.latlon).coordinates,2),n=e[0],i=e[1];return et(et({},t),{},{lat:i,lon:n})}}]),t}();nt(pt,"REGISTERED_EVENTS",{TREE_SELECTED:"tree-selected",TREE_UNSELECTED:"tree-unselected",MOVE_END:"move-end"})})(),i})()})); \ No newline at end of file From 916657153d02b8af45d002aa014911e51054830e Mon Sep 17 00:00:00 2001 From: mmayeda Date: Tue, 30 Apr 2024 23:56:17 -0600 Subject: [PATCH 3/3] chore: remove unused code and imports, and adjust comments --- src/Map.js | 45 ++------------------------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/src/Map.js b/src/Map.js index 0fdb95d..672cd84 100644 --- a/src/Map.js +++ b/src/Map.js @@ -1,7 +1,6 @@ /* - * The main model for the treetracker model + * The main model for the treetracker map */ -import regeneratorRuntime from 'regenerator-runtime' import axios from 'axios' import expect from 'expect-runtime' import log from 'loglevel' @@ -25,8 +24,6 @@ import NearestTreeArrows from './NearestTreeArrows' class MapError extends Error {} -console.log('Greenstand web map core, version:') - export default class Map { // events static REGISTERED_EVENTS = { @@ -40,7 +37,7 @@ export default class Map { } constructor(options) { - // default + // merge constructor parameter options with default map options const mapOptions = { ...{ L: window.L, @@ -62,15 +59,8 @@ export default class Map { this[key] = mapOptions[key] }) - // memeber/properties/statuses - - // requester this.requester = new Requester() - - // events this.events = new EventEmitter() - - // mount element this._mountDomElement = null log.warn('map core version:', require('../package.json').version) @@ -640,12 +630,6 @@ export default class Map { return queryUrl } - // getClusterRadius(zoomLevel){ - // //old code - // //var clusterRadius = getQueryStringValue("clusterRadius") || getClusterRadius(queryZoomLevel); - // return Map.getClusterRadius(zoomLevel); - // } - _goNextPoint() { log.info('go next tree') const currentPoint = this.layerSelected.payload @@ -1423,29 +1407,4 @@ export default class Map { clearSelection() { this._unselectMarker() } - - // async rerender() { - // log.info('rerender') - // log.info('reload tile') - - // // unslect the current selected point - // this._unselectMarker() - - // await this._unloadTileServer() - - // // load tile - // if (this.filters.treeid) { - // log.info('treeid mode do not need tile server') - // log.info('load tree by id') - // await this._loadTree(this.filters.treeid) - // this.tileLoadingMonitor && this.tileLoadingMonitor.destroy() - // } else if (this.filters.tree_name) { - // log.info('tree name mode do not need tile server') - // log.info('load tree by name') - // this.tileLoadingMonitor && this.tileLoadingMonitor.destroy() - // await this._loadTree(undefined, this.filters.tree_name) - // } else { - // await this._loadTileServer() - // } - // } }