1<!DOCTYPE html> <html class="site" lang="en-US"><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /><title>Contact details, Message us Î Athinaikon Hotel</title> <meta name="description" content="Please contact Athinaikon Hotel in Heraklion for any inquiry you may have or for booking your perfect stay in our Hotel.."> <meta name="robots" content="index, follow"> <meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"> <meta name="bingbot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"> <link rel="canonical" href="https://www.athinaikon-hotel.gr/contact/"> <link rel="alternate" hreflang="el-GR" href="https://www.athinaikon-hotel.gr/el/contact/"> <link rel="alternate" hreflang="en-US" href="https://www.athinaikon-hotel.gr/contact/"> <link rel="icon" type="image/png" href="https://assets.builderassets.com/site-media/110/logo-2-1.png?format=png&quality=80&width=32&height=32" sizes="32x32"> <link rel="icon" type="image/png" href="https://assets.builderassets.com/site-media/110/logo-2-1.png?format=png&quality=80&width=48&height=48" sizes="48x48"> <link rel="icon" type="image/png" href="https://assets.builderassets.com/site-media/110/logo-2-1.png?format=png&quality=80&width=96&height=96" sizes="96x96"> <link rel="icon" type="image/png" href="https://assets.builderassets.com/site-media/110/logo-2-1.png?format=png&quality=80&width=192&height=192" sizes="192x192"> <link rel="apple-touch-icon" type="image/png" href="https://assets.builderassets.com/site-media/110/logo-2-1.png?format=png&quality=80&width=144&height=144"> <link rel="apple-touch-icon" type="image/png" href="https://assets.builderassets.com/site-media/110/logo-2-1.png?format=png&quality=80&width=180&height=180"> <meta name="msapplication-TileImage" content="https://assets.builderassets.com/site-media/110/logo-2-1.png?format=png&quality=80&width=270&height=270"> <meta property="og:locale" content="en_US"> <meta property="og:locale:alternate" content="el_GR"> <meta property="og:type" content="website"> <meta property="og:title" content="Contact details, Message us Î Athinaikon Hotel"> <meta property="og:description" content="Please contact Athinaikon Hotel in Heraklion for any inquiry you may have or for booking your perfect stay in our Hotel.."> <meta property="og:url" content="https://www.athinaikon-hotel.gr/contact/"> <meta property="og:site_name" content="Athinaikon Hotel"> <meta property="og:image" content="https://assets.builderassets.com/site-media/110/logo-3.png?format=png&quality=80"> <meta property="og:image:width" content="2070"> <meta property="og:image:height" content="635"> <meta property="og:image:type" content="image/png"> <meta property="article:published_time" content="2022-04-08T09:37:27.7270235Z"> <meta property="article:modified_time" content="2022-04-14T16:41:50.1723270Z"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:title" content="Contact details, Message us Î Athinaikon Hotel"> <meta name="twitter:description" content="Please contact Athinaikon Hotel in Heraklion for any inquiry you may have or for booking your perfect stay in our Hotel.."> <meta name="twitter:image" content="https://assets.builderassets.com/site-media/110/logo-3.png?format=png&quality=80&width=1200&height=675"> <meta name="builder:id" content="110"> <meta name="builder:publish_version" content="3"> <meta name="builder:theme_name" content="City Hotel Canvas"> <meta name="builder:theme_version" content="1.5.7"><!-- Custom Fonts Start --><link rel="preconnect" href="https://fonts.builderassets.com" crossorigin /> <link rel="stylesheet" media="print" onload="this.onload=null; this.removeAttribute('media');" href="https://fonts.builderassets.com/google/Roboto:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic.css" /> <!-- Custom Fonts End --><link rel='dns-prefetch' href='//fonts.builderassets.com'> <link rel='dns-prefetch' href='//services.builderassets.com'> <link rel='modulepreload' href='https://www.athinaikon-hotel.gr/service-worker.js' crossorigin='anonymous'> <link rel='preload' href='https://assets.builderassets.com/common/js/website-core-2.3.32.57026.js' as='script'> <style> .website-cookies-table { margin: 20px 0; text-align: left; overflow-x: auto; } .website-cookies-table table { background-color: #fff; border-top: 1px solid #ddd; border-left: 1px solid #ddd; font-size: 14px; width: 100%; } .website-cookies-table table thead th { padding: 5px; border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; } .website-cookies-table table tbody td { padding: 5px; border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; } .privacy-policy-company-info-table { margin-bottom: 1rem; } .privacy-policy-company-info-table td { padding: 5px 10px; vertical-align: top; border: 1px solid #ddd; } </style>
1<script> { /* Register the service worker */ if ( typeof window.coreSkipServiceWorker === 'undefined' || window.coreSkipServiceWorker === false ) { if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/service-worker.js', { scope: '/' }).then(function (registration) { /* Registration was successful */ if (registration.installing) { console.log('Service worker installing'); } else if (registration.waiting) { console.log('Service worker installed'); } else if (registration.active) { console.log('Service worker active'); } }).catch(function (err) { /* registration failed :( */ console.log('ServiceWorker registration failed: ', err); }); } } else { navigator.serviceWorker.getRegistrations().then(function (registrations) { for (let registration of registrations) { registration.unregister() } }).catch(function (err) { console.log('Service Worker unregistration failed: ', err); }); } } </script>
1
1<script data-script-id="website-core-js" src="https://assets.builderassets.com/common/js/website-core-2.3.32.57026.js"></script>
1
1<script> { window.autoRunBefore = window.autoRunBefore || []; window.autoRunAfter = window.autoRunAfter || []; window.HotelwizeApp = new Hotelwize.App(110, { "localeCode": "en-US", "language": "en", "currencyCode": "EUR", "homepageUrl": "https://www.athinaikon-hotel.gr/", "publishUrl": "https://www.athinaikon-hotel.gr", "environment": "production", "siteId": 110, "siteVersion": "3", "microServicesBaseUrl": "https://services.builderassets.com/api", "geoIPServiceUrl": "https://services.builderassets.com/api/GeoIPInfo", "classificationServiceUrl": "https://services.builderassets.com/api/personalization/classify-user", "allowsPersonalization": false, "publishVersion": "3" }); } </script>
1 <link rel="stylesheet" type="text/css" media="print" onload="this.onload=null; this.removeAttribute('media');" href="https://www.athinaikon-hotel.gr/assets/css/cookie-control-1.4.23.57391.css" data-style-id="cookie-control-base-styles" /> <style data-style-id="cookie-control-consent-styles"> #cookie-control { color: #000000; background-color: #ffffff; } #cookie-control .cookie-control__table-row { border-color: #000000; } #cookie-control-bar-open-settings { background-color: #000000; } #cookie-control-bar-open-settings:hover { background-color: #000000; } #cookie-control-bar-open-settings svg { fill: #ffffff; } #cookie-control-bar-open-settings:hover svg { fill: #ffffff; } #cookie-control .cookie-control__table-row .cookie-group button { color: #000000; } #cookie-control a, #cookie-control .cookie-control-bar-close { color: #000000; } #cookie-control a:hover, #cookie-control .cookie-control-bar-close:hover { color: #000000; } #cookie-control .cookie-control__table-row .cookie-group button:after { border-color: #000000; } #cookie-control .cookie-control__btn { color: #ffffff; background-color: #000000; border-color: #000000; } #cookie-control .cookie-control__btn:hover { color: #000000; background-color: #ffffff; border-color: #000000; } #cookie-control .cookie-control__btn.cookie-control__btn--outline { color: #000000; border-color: #000000; } #cookie-control .cookie-control__btn.cookie-control__btn--outline:hover { color: #000000; border-color: #000000; } </style> <style data-style-id="cookie-control-notification-styles"> #cookie-control-notification-bar { background-color: #ffffff; color: #000000; } #cookie-control-notification-bar__button { background-color: #000000; color: #ffffff; } </style>
1<script> { window.cookieConsentModeEnabled = false; } </script>
1 <link rel="stylesheet" type="text/css" href="https://www.athinaikon-hotel.gr/assets/css/openstreetmap.css" data-style-id="openstreetmap-styles" /> <style data-style-id="open-street-map-cluster-color"> html .marker-cluster-small, html .marker-cluster-small div, html .marker-cluster-medium, html .marker-cluster-medium div { background-color: #000000; color: #ffffff; font-size: 12px; } </style> <link rel="preload" href="/assets/css/main.css?v=3" as="style"> <link rel="stylesheet" href="/assets/css/main.css?v=3"><style> /* DEFAULT CLASSES */ body .custom-arrow { background-image: url('/assets/svg/left-arrow.svg'); } /* Brand Color */ body .color--brand { color: #398ab9; } body .border--brand { border-color: #398ab9; } .fill--brand, .fill--brand svg { fill: #398ab9; } body .background--brand { background-color: #398ab9; } /* Primary Color */ body .color--primary { color: #398ab9; } body .border--primary { border-color: #398ab9; } .fill--primary, .fill--primary svg { fill: #398ab9; } body .background--primary { background-color: #398ab9; } body .border--primary { border-color: #398ab9; } /* Secondary Color */ body .color--secondary { color: #d8d2cb; } body .border--secondary { border-color: #d8d2cb; } .fill--secondary, .fill--secondary svg { fill: #d8d2cb; } body .background--secondary, body .background--secondary-h:hover { background-color: #d8d2cb; } /* Text Color */ .site__body, p, a, ul, ol, h1, h2, h3, h4, h5, h6 { color: #000000; } body .color--text { color: #000000; } body .background--text { background-color: #000000; } .body { color: #000000; } /* Overlay Color */ body .background--overlay { background-color: #eaeaea; } /* Footer Background Color */ /* END OF DEFAULT CLASSES */ /* CUSTOM CSS CLASSES*/ body .site-header__menu .menu .menu__list--submenu { background-color: #398ab9; } body .social-media--item a[class^="icon-"]:hover, body .social-media--item a[class^="icon-"]:focus { background-color: #398ab9; } body .reservation .fields__item__dropdown--menu, body .ui-datepicker { background-color: #d8d2cb; } body .btn { background-color: #398ab9; } body .btn--brand { background-color: #398ab9; } h1, h2, h3, h4, h5, h6, .title, label, .title--big, .subtitle, .badge--title, .btn, .pois__title, .scroll-top, .room--price, .scroll-down--title, .room__features, .field__item-label, .titles-font { font-family: "Roboto"; font-weight: 400; } .site__body, input:not([type=checkbox]), select, textarea { font-family: "Roboto"; font-weight: 400; } </style>
1<script>!function(){var e={90:function(e){!function(t,a){var i=function(e,t,a){"use strict";var i,n;if(function(){var t,a={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in n=e.lazySizesConfig||e.lazysizesConfig||{},a)t in n||(n[t]=a[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:n,noSupport:!0};var r=t.documentElement,s=e.HTMLPictureElement,o="addEventListener",l="getAttribute",d=e[o].bind(e),u=e.setTimeout,c=e.requestAnimationFrame||u,f=e.requestIdleCallback,g=/^picture$/i,y=["load","error","lazyincluded","_lazyloaded"],z={},v=Array.prototype.forEach,m=function(e,t){return z[t]||(z[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),z[t].test(e[l]("class")||"")&&z[t]},p=function(e,t){m(e,t)||e.setAttribute("class",(e[l]("class")||"").trim()+" "+t)},b=function(e,t){var a;(a=m(e,t))&&e.setAttribute("class",(e[l]("class")||"").replace(a," "))},h=function(e,t,a){var i=a?o:"removeEventListener";a&&h(e,t),y.forEach((function(a){e[i](a,t)}))},A=function(e,a,n,r,s){var o=t.createEvent("Event");return n||(n={}),n.instance=i,o.initEvent(a,!r,!s),o.detail=n,e.dispatchEvent(o),o},_=function(t,a){var i;!s&&(i=e.picturefill||n.pf)?(a&&a.src&&!t[l]("srcset")&&t.setAttribute("srcset",a.src),i({reevaluate:!0,elements:[t]})):a&&a.src&&(t.src=a.src)},C=function(e,t){return(getComputedStyle(e,null)||{})[t]},E=function(e,t,a){for(a=a||e.offsetWidth;a<n.minSize&&t&&!e._lazysizesWidth;)a=t.offsetWidth,t=t.parentNode;return a},w=(pe=[],be=[],he=pe,Ae=function(){var e=he;for(he=pe.length?be:pe,ve=!0,me=!1;e.length;)e.shift()();ve=!1},_e=function(e,a){ve&&!a?e.apply(this,arguments):(he.push(e),me||(me=!0,(t.hidden?u:c)(Ae)))},_e._lsFlush=Ae,_e),L=function(e,t){return t?function(){w(e)}:function(){var t=this,a=arguments;w((function(){e.apply(t,a)}))}},x=function(e){var t,i=0,r=n.throttleDelay,s=n.ricTimeout,o=function(){t=!1,i=a.now(),e()},l=f&&s>49?function(){f(o,{timeout:s}),s!==n.ricTimeout&&(s=n.ricTimeout)}:L((function(){u(o)}),!0);return function(e){var n;(e=!0===e)&&(s=33),t||(t=!0,(n=r-(a.now()-i))<0&&(n=0),e||n<9?l():u(l,n))}},N=function(e){var t,i,n=99,r=function(){t=null,e()},s=function(){var e=a.now()-i;e<n?u(s,n-e):(f||r)(r)};return function(){i=a.now(),t||(t=u(s,n))}},M=(G=/^img$/i,K=/^iframe$/i,Q="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),X=0,Y=0,Z=0,ee=-1,te=function(e){Z--,(!e||Z<0||!e.target)&&(Z=0)},ae=function(e){return null==J&&(J="hidden"==C(t.body,"visibility")),J||!("hidden"==C(e.parentNode,"visibility")&&"hidden"==C(e,"visibility"))},ie=function(e,a){var i,n=e,s=ae(e);for(I-=a,V+=a,q-=a,U+=a;s&&(n=n.offsetParent)&&n!=t.body&&n!=r;)(s=(C(n,"opacity")||1)>0)&&"visible"!=C(n,"overflow")&&(i=n.getBoundingClientRect(),s=U>i.left&&q<i.right&&V>i.top-1&&I<i.bottom+1);return s},ne=function(){var e,a,s,o,d,u,c,f,g,y,z,v,m=i.elements;if(($=n.loadMode)&&Z<8&&(e=m.length)){for(a=0,ee++;a<e;a++)if(m[a]&&!m[a]._lazyRace)if(!Q||i.prematureUnveil&&i.prematureUnveil(m[a]))fe(m[a]);else if((f=m[a][l]("data-expand"))&&(u=1*f)||(u=Y),y||(y=!n.expand||n.expand<1?r.clientHeight>500&&r.clientWidth>500?500:370:n.expand,i._defEx=y,z=y*n.expFactor,v=n.hFac,J=null,Y<z&&Z<1&&ee>2&&$>2&&!t.hidden?(Y=z,ee=0):Y=$>1&&ee>1&&Z<6?y:X),g!==u&&(H=innerWidth+u*v,j=innerHeight+u,c=-1*u,g=u),s=m[a].getBoundingClientRect(),(V=s.bottom)>=c&&(I=s.top)<=j&&(U=s.right)>=c*v&&(q=s.left)<=H&&(V||U||q||I)&&(n.loadHidden||ae(m[a]))&&(B&&Z<3&&!f&&($<3||ee<4)||ie(m[a],u))){if(fe(m[a]),d=!0,Z>9)break}else!d&&B&&!o&&Z<4&&ee<4&&$>2&&(k[0]||n.preloadAfterLoad)&&(k[0]||!f&&(V||U||q||I||"auto"!=m[a][l](n.sizesAttr)))&&(o=k[0]||m[a]);o&&!d&&fe(o)}},re=x(ne),se=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),p(t,n.loadedClass),b(t,n.loadingClass),h(t,le),A(t,"lazyloaded"))},oe=L(se),le=function(e){oe({target:e.target})},de=function(e,t){var a=e.getAttribute("data-load-mode")||n.iframeLoadMode;0==a?e.contentWindow.location.replace(t):1==a&&(e.src=t)},ue=function(e){var t,a=e[l](n.srcsetAttr);(t=n.customMedia[e[l]("data-media")||e[l]("media")])&&e.setAttribute("media",t),a&&e.setAttribute("srcset",a)},ce=L((function(e,t,a,i,r){var s,o,d,c,f,y;(f=A(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(a?p(e,n.autosizesClass):e.setAttribute("sizes",i)),o=e[l](n.srcsetAttr),s=e[l](n.srcAttr),r&&(c=(d=e.parentNode)&&g.test(d.nodeName||"")),y=t.firesLoad||"src"in e&&(o||s||c),f={target:e},p(e,n.loadingClass),y&&(clearTimeout(R),R=u(te,2500),h(e,le,!0)),c&&v.call(d.getElementsByTagName("source"),ue),o?e.setAttribute("srcset",o):s&&!c&&(K.test(e.nodeName)?de(e,s):e.src=s),r&&(o||c)&&_(e,{src:s})),e._lazyRace&&delete e._lazyRace,b(e,n.lazyClass),w((function(){var t=e.complete&&e.naturalWi
1dth>1;y&&!t||(t&&p(e,n.fastLoadedClass),se(f),e._lazyCache=!0,u((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&Z--}),!0)})),fe=function(e){if(!e._lazyRace){var t,a=G.test(e.nodeName),i=a&&(e[l](n.sizesAttr)||e[l]("sizes")),r="auto"==i;(!r&&B||!a||!e[l]("src")&&!e.srcset||e.complete||m(e,n.errorClass)||!m(e,n.lazyClass))&&(t=A(e,"lazyunveilread").detail,r&&S.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,Z++,ce(e,t,r,i,a))}},ge=N((function(){n.loadMode=3,re()})),ye=function(){3==n.loadMode&&(n.loadMode=2),ge()},ze=function(){B||(a.now()-D<999?u(ze,999):(B=!0,n.loadMode=3,re(),d("scroll",ye,!0)))},{_:function(){D=a.now(),i.elements=t.getElementsByClassName(n.lazyClass),k=t.getElementsByClassName(n.lazyClass+" "+n.preloadClass),d("scroll",re,!0),d("resize",re,!0),d("pageshow",(function(e){if(e.persisted){var a=t.querySelectorAll("."+n.loadingClass);a.length&&a.forEach&&c((function(){a.forEach((function(e){e.complete&&fe(e)}))}))}})),e.MutationObserver?new MutationObserver(re).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[o]("DOMNodeInserted",re,!0),r[o]("DOMAttrModified",re,!0),setInterval(re,999)),d("hashchange",re,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[o](e,re,!0)})),/d$|^c/.test(t.readyState)?ze():(d("load",ze),t[o]("DOMContentLoaded",re),u(ze,2e4)),i.elements.length?(ne(),w._lsFlush()):re()},checkElems:re,unveil:fe,_aLSL:ye}),S=(F=L((function(e,t,a,i){var n,r,s;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),g.test(t.nodeName||""))for(r=0,s=(n=t.getElementsByTagName("source")).length;r<s;r++)n[r].setAttribute("sizes",i);a.detail.dataAttr||_(e,a.detail)})),O=function(e,t,a){var i,n=e.parentNode;n&&(a=E(e,n,a),(i=A(e,"lazybeforesizes",{width:a,dataAttr:!!t})).defaultPrevented||(a=i.detail.width)&&a!==e._lazysizesWidth&&F(e,n,i,a))},T=N((function(){var e,t=W.length;if(t)for(e=0;e<t;e++)O(W[e])})),{_:function(){W=t.getElementsByClassName(n.autosizesClass),d("resize",T)},checkElems:T,updateElem:O}),P=function(){!P.i&&t.getElementsByClassName&&(P.i=!0,S._(),M._())};var W,F,O,T;var k,B,R,$,D,H,j,I,q,U,V,J,G,K,Q,X,Y,Z,ee,te,ae,ie,ne,re,se,oe,le,de,ue,ce,fe,ge,ye,ze;var ve,me,pe,be,he,Ae,_e;return u((function(){n.init&&P()})),i={cfg:n,autoSizer:S,loader:M,init:P,uP:_,aC:p,rC:b,hC:m,fire:A,gW:E,rAF:w}}(t,t.document,Date);t.lazySizes=i,e.exports&&(e.exports=i)}("undefined"!=typeof window?window:{})},145:function(e,t,a){var i,n,r;!function(s,o){o=o.bind(null,s,s.document),e.exports?o(a(90)):(n=[a(90)],void 0===(r="function"==typeof(i=o)?i.apply(t,n):i)||(e.exports=r))}(window,(function(e,t,a){"use strict";if(e.addEventListener){var i=a.cfg,n=/\s+/g,r=/\s*\|\s+|\s+\|\s*/g,s=/^(.+?)(?:\s+\[\s*(.+?)\s*\])(?:\s+\[\s*(.+?)\s*\])?$/,o=/^\s*\(*\s*type\s*:\s*(.+?)\s*\)*\s*$/,l=/\(|\)|'/,d={contain:1,cover:1},u=function(e,t){if(t){var a=t.match(o);a&&a[1]?e.setAttribute("type",a[1]):e.setAttribute("media",i.customMedia[t]||t)}},c=function(e){if(e.target._lazybgset){var t=e.target,i=t._lazybgset,n=t.currentSrc||t.src;if(n){var r=l.test(n)?JSON.stringify(n):n,s=a.fire(i,"bgsetproxy",{src:n,useSrc:r,fullSrc:null});s.defaultPrevented||(i.style.backgroundImage=s.detail.fullSrc||"url("+s.detail.useSrc+")")}t._lazybgsetLoading&&(a.fire(i,"_lazyloaded",{},!1,!0),delete t._lazybgsetLoading)}};addEventListener("lazybeforeunveil",(function(e){var o,l,d;!e.defaultPrevented&&(o=e.target.getAttribute("data-bgset"))&&(d=e.target,(l=t.createElement("img")).alt="",l._lazybgsetLoading=!0,e.detail.firesLoad=!0,function(e,a,o){var l=t.createElement("picture"),d=a.getAttribute(i.sizesAttr),c=a.getAttribute("data-ratio"),f=a.getAttribute("data-optimumx");a._lazybgset&&a._lazybgset.parentNode==a&&a.removeChild(a._lazybgset),Object.defineProperty(o,"_lazybgset",{value:a,writable:!0}),Object.defineProperty(a,"_lazybgset",{value:l,writable:!0}),e=e.replace(n," ").split(r),l.style.display="none",o.className=i.lazyClass,1!=e.length||d||(d="auto"),e.forEach((function(e){var a,n=t.createElement("source");d&&"auto"!=d&&n.setAttribute("sizes",d),(a=e.match(s))?(n.setAttribute(i.srcsetAttr,a[1]),u(n,a[2]),u(n,a[3])):n.setAttribute(i.srcsetAttr,e),l.appendChild(n)})),d&&(o.setAttribute(i.sizesAttr,d),a.removeAttribute(i.sizesAttr),a.removeAttribute("sizes")),f&&o.setAttribute("data-optimumx",f),c&&o.setAttribute("data-ratio",c),l.appendChild(o),a.appendChild(l)}(o,d,l),setTimeout((function(){a.loader.unveil(l),a.rAF((function(){a.fire(l,"_lazyloaded",{},!0,!0),l.complete&&c({target:l})}))})))})),t.addEventListener("load",c,!0),e.addEventListener("lazybeforesizes",(function(e){if(e.detail.instance==a&&e.target._lazybgset&&e.detail.dataAttr){var t=function(e){var t;return t=(getComputedStyle(e)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!d[t]&&d[e.style.backgroundSize]&&(t=e.style.backgroundSize),t}(e.target._lazybgset);d[t]&&(e.target._lazysizesParentFit=t,a.rAF((function(){e.target.setAttribute("data-parent-fit",t),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit})))}}),!0),t.documentElement.addEventListener("lazybeforesizes",(function(e){var t,i;!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==a&&(e.detail.width=(t=e.target._lazybgset,i=a.gW(t,t.parentNode),(!t._lazysizesWidth||i>t._lazysizesWidth)&&(t._lazysizesWidth=i),t._lazysizesWidth))}))}}))}},t={};function a(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,a),r.exports}
1a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";a(145),a(90)}()}();</script>
1
1<script> { HotelwizeApp.registerResources('Hotelwize.Core', { "FileUpload_remove": "\u0026#10005;", "FileUpload_toobig": "$file is too big (max $size)", "CookieDescription_geoip": "This cookie holds information on the user\u0027s country. This information is used to help with filling forms and enhance the user\u0027s browsing experience.", "FileUpload_denied": "Files of type $ext are not allowed!", "FileUpload_duplicate": "This file has already been selected:\\n$file!", "FileUpload_selected": "File selected: $file", "FileUpload_file": "$file", "FileUpload_FileIsRequired": "File is required.", "FileUpload_toomany": "Too many files selected (max: $max)", "FileUpload_toomuch": "The files selected exceed the maximum size permited ($size)" });} </script>
1
1<script> { (()=>{"use strict";var e={131:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},s=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function r(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MatomoAnalytics=void 0;const c=o(i(371)),l=r(i(869));class d extends c.Plugins.AnalyticsPluginBase{constructor(e){super(e),this.analyticsServiceName="matomo-analytics",this.analyticsService={},window._paq=window._paq||[];const t=this;this.analyticsService=(0,l.default)(this.configuration),this.analyticsService.methods=this.analyticsService.methods||{},this.analyticsService.methods.canAutoEnable=function(){return!0},this.analyticsService.methods.trackConversion=function(e,i,n,a){var o;(n=n||{}).plugins={all:!1},n.plugins[t.analyticsServiceName]=!0,null===(o=t.analyticsManager)||void 0===o||o.track(e,i,n,a)},this.analyticsService.methods.trackEcommerce=function(e,i,n,a){var o;(n=n||{}).plugins={all:!1},n.plugins[t.analyticsServiceName]=!0,null===(o=t.analyticsManager)||void 0===o||o.track(e,i,n,a)}}onWindowLoaded(){var e;return s(this,void 0,void 0,(function*(){this.analyticsManager&&(yield null===(e=this.analyticsManager.enableAnalyticsPlugin(this.getUniqueId()))||void 0===e?void 0:e.then((()=>{console.log(`Auto-enabled ${this.getUniqueId()}.`)})))}))}getAnalyticsPlugin(){return this.analyticsService}getUniqueId(){return`${this.analyticsServiceName}`}enable(){return s(this,void 0,void 0,(function*(){}))}disable(){return s(this,void 0,void 0,(function*(){}))}}t.MatomoAnalytics=d},869:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=o(i(371)),r={siteId:0,linkedDomains:[],additionalTrackedSiteIds:[],customScript:void 0,analyticsBaseUrl:""};t.default=function(e){return{name:"matomo-analytics",config:Object.assign(Object.assign({},r),e),initialize:e=>{var t,i;const n=e.config;if(!n.siteId)throw new Error("No Matomo siteId defined.");if(!n.analyticsBaseUrl)throw new Error("No Matomo endpoint URL defined.");const a=n.analyticsBaseUrl+"matomo.php",o=n.analyticsBaseUrl+"matomo.js";if(!s.Support.isScriptLoaded(o)){window._paq=window._paq||[],window._paq.push(["setExcludedQueryParams",["gclid","dclid","gclsrc","_gl","wbraid","gbraid","fbclid"]]),window._paq.push(["disableCookies"]),window._paq.push(["setTrackerUrl",a]),window._paq.push(["setSiteId",n.siteId]),null!=n.additionalTrackedSiteIds&&n.additionalTrackedSiteIds.length>0&&n.additionalTrackedSiteIds.forEach((e=>{window._paq.push(["addTracker",a,e])})),window._paq.push(["setLinkClasses","external"]),window._paq.push(["setDownloadClasses","download"]),(null===(t=n.linkedDomains)||void 0===t?void 0:t.length)&&window._paq.push(["setDomains",n.linkedDomains]);let e=document,s=e.createElement("script"),r=e.getElementsByTagName("script")[0];s.type="text/javascript",s.async=!0,s.src=o,null===(i=r.parentNode)||void 0===i||i.insertBefore(s,r)}},page:e=>{if(void 0!==window._paq){const{properties:t}=e.payload;window._paq.push(["setDocumentTitle",t.title]),window._paq.push(["setCustomUrl",t.url]),window._paq.push(["enableLinkTracking"]),window.eCommerceItem&&window._paq.push(["setEcommerceView",window.eCommerceItem.name||!1,window.eCommerceItem.sku||!1,window.eCommerceItem.categories||void 0]),window._paq.push(["trackPageView"]),window._paq.push(["trackVisibleContentImpressions"]),window._paq.push(["enableHeartBeatTimer"])}},track:e=>{if(void 0!==window._paq){const{properties:t,event:i}=e.payload,{label:n,value:a,category:o,nonInteraction:s}=t,r=["label","category","nonInteraction","value"];let c=1;const l=Object.keys(t).sort().reduce(((e,i)=>(r.includes(i)||(void 0!==t[i]&&(e[`dimension${c}`]=t[i]),c++),e)),{});if("purchase"===i){let e=0,i=void 0!==t.value;const n=void 0!==t.transaction_id?t.transaction_id:"";if(i&&(e="string"==typeof t.value?parseFloat(t.value):t.value),void 0!==t.items&&Array.isArray(t.items))for(let n=0;n<t.items.length;n++){const a=t.items[n];try{const t="string"==typeof a.price?parseFloat(a.price):a.price,n="string"==typeof a.quantity?parseInt(a.quantity):a.quantity;window._paq.push(["addEcommerceItem",a.id,a.name,a.category,t,n]),i||(e+=t*n)}catch(e){console.error("Error adding e-commerce item",a,e)}}window._paq.push(["trackEcommerceOrder",n,e])}else window._paq.push(["trackEvent",o||"Default",i,n,a,l])}},identify:e=>{if(void 0!==window._paq){const{userId:t,traits:i}=e.payload;if(window._paq.push(["setUserId",t]),Object.keys(i).length)for(const e in i){let t=null;"persona"===e&&(t=1),t&&window._paq.push(["setCustomDimension",t,i[e]])}}},loaded:()=>"object"==typeof window._paq}}},371:e=>{e.exports=window.Hotelwize}},t={},i=function i(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,i),o.exports}(131);self["Hotelwize.Plugins.Analytics.Matomo"]=i})(); let analyticsPlugin = new globalThis['Hotelwize.Plugins.Analytics.Matomo'].MatomoAnalytics({ "id": 3, "instanceId": "752b0ab3-c950-4de2-b15f-a40ecee662d1", "instanceOrder": 0, "type": "analytics", "isTypeDefault": false, "name": "Platform Analytics", "assemblyName": "Hotelwize.Plugins.Analytics.Matomo", "assemblyVersion": "1.10.23.57252", "configuration": { "siteId": 219, "domain": "www.athinaikon-hotel.gr", "linkedDomains": "", "anal
1yticsBaseUrl": "https://analytics.builderassets.com/", "additionalTrackedSiteIds": [], "localeCode": "en-US" }, "trackers": [], "clientSettings": [], "clientSettingsLifetime": 2592000, "cookies": [] }); const tracker_hotelwizeanalyticstracker = new Hotelwize.Trackers.Tracker({ "id": "HotelwizeAnalyticsTracker", "name": "Website Analytics", "description": null, "isRequired": true, "priority": 100 }); tracker_hotelwizeanalyticstracker.onAccept = async (_plugin, _tracker, _trackingPreferences) => { try { await _plugin.enable(); } catch(e) { console.log(e); } return true; }; tracker_hotelwizeanalyticstracker.onRevoke = async (_plugin, _tracker, _trackingPreferences) => { try { await _plugin.disable(); } catch(e) { console.log(e); } return true; }; analyticsPlugin.trackers.push(tracker_hotelwizeanalyticstracker); HotelwizeApp.registerPlugin(analyticsPlugin); } </script>
1
1<script data-script-id="hotelwize-google-analytics-v4"> { /*! For license information please see hotelwize-analytics-ga4.js.LICENSE.txt */ (()=>{var e={112:function(e){e.exports=function(){"use strict";var e=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function t(e,t){return[e,window.btoa(t).replace(/=/g,".")].join("*")}function n(e){return window.atob(e.replace(/\./g,"="))}function i(){var e,t,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=a.linkerQueryParameterName,s=a.checkFingerPrint,c=(e=o,t=window.location.href,null===(i=new RegExp("[?&]"+e+"=([^&#]*)","i").exec(t))?null:decodeURIComponent(i[1]));if(c){for(var g=c.split("*").slice(2),l={},d=[],u=0;u<g.length;u+=2){var f=g[u],p=g[u+1];d.push(f+"*"+p),l[f]=n(p)}if(s){var v=r(d);if(c.split("*")[1]!==v)return}return l}}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.cookiesNamesList,i=e.gaCookiesPrefix,a=e.conversionLinkerCookiesPrefix,o=new RegExp("^"+i+"_ga"),r=/G[A-Z]1\.[0-9]+\.(.+)/,s=[],c=void 0;return Array.isArray(n)?n.forEach((function(e){var n=function(e){for(var t=("; "+document.cookie).split("; "),n=t.length-1;n>=0;n--){var i=t[n].split("=");if(e instanceof RegExp?e.test(i[0]):e===i[0])return[i[0],i[1]]}return[]}(e);e=n[0];var i=n[1];if(i){if(o.test(e))i=i.match(r)[1];else{if("FPLC"===e)return void(c=i);e!==a+"_au"&&"FPAU"!==e||(i=i.split(".").slice(2).join("."))}s.push(t(e,i))}})):Object.keys(n).forEach((function(e){var i=n[e];"FPLC"!==e?s.push(t(e,i)):c=i})),c&&s.push(t("_fplc",c)),s}function o(e,t,n,i){function a(e,t){if(e=function(e){return new RegExp("(.*?)(^|&)"+e+"=([^&]*)&?(.*)")}(e).exec(t)){var n=e[2],i=e[4];t=e[1],i&&(t=t+n+i)}return t}function o(t){var n=(t=a(e,t)).charAt(t.length-1);return t&&"&"!==n&&(t+="&"),t+l}i=!!i;var r=/([^?#]+)(\?[^#]*)?(#.*)?/.exec(n);if(!r)return"";var s=r[1],c=r[2]||"",g=r[3]||"",l=e+"="+t;return i?g="#"+o(g.substring(1)):c="?"+o(c.substring(1)),""+s+c+g}function r(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=[window.navigator.userAgent,(new Date).getTimezoneOffset(),window.navigator.userLanguage||window.navigator.language,Math.floor((new Date).getTime()/60/1e3)-0,t?t.join("*"):""].join("*"),i=[],a=0;a<256;a++){e=a;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;i[a]=e}for(var r=-1,s=0;s<n.length;s++)r=r>>>8^i[255&(r^n.charCodeAt(s))];return(~r>>>0).toString(36)}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a({cookiesNamesList:e.cookiesNamesList,gaCookiesPrefix:e.gaCookiesPrefix,conversionLinkerCookiesPrefix:e.conversionLinkerCookiesPrefix});return["1",r(t),t.join("*")].join("*")}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.linkerQueryParameterName,i=t.cookiesNamesList,a=t.gaCookiesPrefix,r=t.conversionLinkerCookiesPrefix,c=t.entity,g=t.useFragment,l=[],d=s({cookiesNamesList:i,gaCookiesPrefix:a,conversionLinkerCookiesPrefix:r});return Array.isArray(c)||c instanceof NodeList||(c=[c]),c.forEach((function(t){var i;t.tagName?"A"===t.tagName?i=function(t,n,i,a){if(i&&i.href){var r=o(t,n,i.href,a);if(e.test(r))return i.href=r,i}}(n,d,t,g):"FORM"===t.tagName&&(i=function(t,n,i){if(i&&i.action){var a=(i.method||"").toLowerCase();if("get"===a){for(var r=i.childNodes||[],s=!1,c=0;c<r.length;c++){var g=r[c];if(g.name===t){g.setAttribute("value",n),s=!0;break}}if(!s){var l=document.createElement("input");l.setAttribute("type","hidden"),l.setAttribute("name",t),l.setAttribute("value",n),i.appendChild(l)}return i}if("post"===a){var d=o(t,n,i.action);if(e.test(d))return i.action=d,i}}}(n,d,t)):"string"==typeof t&&(i=o(n,d,t,g)),i&&l.push(i)})),l.length?l:void 0}var g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"get",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"==typeof window||void 0===window.document)throw"This should be only run on a browser";var n={gaCookiesPrefix:t.gaCookiesPrefix||"",conversionLinkerCookiesPrefix:t.conversionLinkerCookiesPrefix||"_gcl",linkerQueryParameterName:t.linkerQueryParameterName||"_gl",checkFingerPrint:!!t.checkFingerPrint||!1,useFragment:!!t.useFragment||!1};switch(t.cookiesNamesList?n.cookiesNamesList=t.cookiesNamesList:(n.cookiesNamesList=[n.gaCookiesPrefix+"_ga",new RegExp("^"+n.gaCookiesPrefix+"_ga_[A-Z0-9]+$"),"FPLC","FPAU"],["_aw","_dc","_gb","_ag","_gf","_ha","_au"].forEach((function(e){n.cookiesNamesList.push(n.conversionLinkerCookiesPrefix+e)}))),e){case"get":return s({cookiesNamesList:n.cookiesNamesList,gaCookiesPrefix:n.gaCookiesPrefix,conversionLinkerCookiesPrefix:n.conversionLinkerCookiesPrefix});case"read":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i({linkerQueryParameterName:e.linkerQueryParameterName,checkFingerPrint:e.checkFingerPrint})}({linkerQueryParameterName:n.linkerQueryParameterName,checkFingerPrint:n.checkFingerPrint});case"decorate":return c({linkerQueryParameterName:n.linkerQueryParameterName,cookiesNamesList:n.cookiesNamesList,gaCookiesPrefix:n.gaCookiesPrefix,conversionLinkerCookiesPrefix:n.conversionLinkerCookiesPrefix,entity:t.entity,useFragment:n.useFragment})}};return g.prototype={},g.answer=42,g}()},317:(e,t,n)=>{"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{default:()=>p,init:()=>v});var r={},s="https://www.googletagmanager.com/gtag/js",c={debug_mode:!1,send_page_view:!1,anonymize_ip:!1,allow_google_signals:!0,allow_ad_personalization_signals:!0,cookie_flags:""},g={gtagName:"gtag",dataLayerName:"ga4DataLayer",measurementIds:[],gtagConfig:c};function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=0,n=d(e.measurementIds),i=a(a({},g),e);return{name:"google-analytics",config:i,initialize:function(e){var t=e.config,i=e.instance,o=t.dataLayerName,g=t.customScriptSrc,l=t.gtagName,d=t.gtagConfig,u=t.debug,p=t.nonce,v=o?"&l=".concat(o):"",h=g||"".concat(s,"?id=").concat(n[0]).concat(v);if(!f(h)){var m=document.createElement("script");m.async=!0,m.src=h,p&&m.setAttribute("nonce",p),document.body.appendChild(m)}window[o]||(window[o]=window[o]||[]),window[l]||(window[l]=function(){window[o].push(arguments)}),window[l]("js",new Date);var w=a(a({},c),d||{});!0===u?w.debug_mode=!0:delete w.debug_mode;var y=(i.user()||{}).traits||{};Object.keys(y).length&&window[l]("set","user_properties",y);for(var _=0;_<n.length;_++)r[n[_]]||(window[l]("config",n[_],w),r[n[_]]=!0)},identify:function(e){var t=e.payload,i=e.config.gtagName;window[i]&&n.length&&(t.userId&&window[i]("set",{user_id:t.userId}),Object.keys(t.traits).length&&window[i]("set","user_properties",t.traits))},page:function(e){var i=e.payload,o=e.config,r=e.instance,s=o.gtagName,c=o.gtagConfig;if(window[s]&&n.length){var g=i.properties,l=g.send_to,d=r.getState("context.campaign"),f={page_title:g.title,page_location:g.url,page_path:g.path||document.location.pathname,page_hash:g.hash,page_search:g.page_search,page_referrer:g.referrer},p=u(d),v=r.user("userId"),h=a(a(a(a({},l?{send_to:l}:{}),f),p),v?{user_id:v}:{});c&&c.send_page_view&&0===t||window[s]("event","page_view",h),t++}},track:function(e){var t=e.payload,i=e.config,o=e.instance,r=t.properties,s=t.event,c=o.getState("context.campaign"),g=i.gtagName;if(window[g]&&n.length){var l=u(c),d=o.user("userId"),f=a(a(a({},r),l),d?{user_id:d}:{});window[g]("event",s,f)}},loaded:function(){var e=i.dataLayerName,t=i.customScriptSrc,n=e&&window[e]&&Array.prototype.push===window[e].push;return f(t||s)&&n},methods:{addTag:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window[i.gtagName]&&(window[i.gtagName]("config",e,t),n&&!n.includes(e)&&(n=n.concat(e)))},disable:function(e){for(var t=e?d(e):n,i=0;i<n.length;i++){var a=n[i];t.includes(a)&&(window["ga-disable-".concat(a)]=!0)}},enable:function(e){for(var t=e?d(e):n,i=0;i<n.length;i++){var a=n[i];t.includes(a)&&(window["ga-disable-".concat(a)]=!1)}}}}}function d(e){if(!e)throw new Error("No GA Measurement ID defined");if(Array.isArray(e))return e;if("string"==typeof e)return[e];throw new Error("GA Measurement ID must be string or array of strings")}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={},n=e.id,i=e.name,a=e.source,o=e.medium,r=e.content,s=e.keyword;return n&&(t.campaignId=n),i&&(t.campaignName=i),a&&(t.campaignSource=a),o&&(t.campaignMedium=o),r&&(t.campaignContent=r),s&&(t.campaignKeyword=s),t}function f(e){var t=document.querySelectorAll("script[src]"),n=new RegExp("^".concat(e));return Boolean(Object.values(t).filter((function(e){return n.test(e.src)})).length)}var p=l,v=l},451:function(e,t,n){"use strict";var i,a=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,a)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)}
1,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),r=0;r<n.length;r++)"default"!==n[r]&&a(t,e,n[r]);return o(t,e),t}),s=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(a,o){function r(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,s)}c((i=i.apply(e,t||[])).next())}))},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalyticsV4=void 0;const g=c(n(317)),l=c(n(112)),d=r(n(537));class u{constructor(){this.executed=!1}}class f extends d.Plugins.AnalyticsPluginBase{onWindowLoaded(){return s(this,void 0,void 0,(function*(){}))}constructor(e){var t;super(e),this.pageViewTrackedOnEnabled=!1,this.analyticsServiceName="google-analytics-v4",this.analyticsService={},this.dataLayerName="dataLayer",this.postActivationCommands=[],this.pluginIsActivated=!1,this.pluginIsActivating=!1,this.gtagName="gtag",this.consentState={ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied",personalization_storage:"denied",functionality_storage:"granted",security_storage:"granted"},this.previouslySentConsentState=null,this.hashRegex=/#.*$/;const n=window.location.href;if(this.clientSettingsLifetime=28800,this.loadClientSettings(),"Hotelwize.Plugins.PrivacyProtection.DefaulTrackerManager"!=(null===(t=window.HotelwizeApp.TrackerManager)||void 0===t?void 0:t.assemblyName))if(d.Support.isObjectEmpty(this.clientSettings))this.clientSettings={originalEntryDataUsed:!1,originalLocation:n,originalReferrer:document.referrer,originalHash:window.location.hash,originalSearch:window.location.search,originalPageTitle:document.title},this.saveClientSettings();else if(!d.Support.isObjectEmpty(this.clientSettings)&&0==this.clientSettings.originalEntryDataUsed){var i=new u;i.executed=!1,i.action=()=>{if(this.clientSettings.originalLocation!=window.location.href){null===console||void 0===console||console.info("Tracking original page view.");const e={all:!1};e[this.getUniqueId()]=!0,window.htrack("page",{url:this.clientSettings.originalLocation,path:this.urlPath(this.clientSettings.originalLocation),hash:this.clientSettings.originalHash,search:this.clientSettings.originalSearch,title:this.clientSettings.originalPageTitle,referrer:this.clientSettings.originalReferrer},{plugins:e}),this.clientSettings.originalEntryDataUsed=!0,this.saveClientSettings()}else null===console||void 0===console||console.info("Skipped original page view tracking.")},this.postActivationCommands.push(i)}}getGoogleTagLinker(){return l.default}getGoogleTagLinkerParam(){return(0,l.default)("get")}getGoogleTagLinkerQueryParam(){return`_gl=${(0,l.default)("get")}`}getAnalyticsPlugin(){var e,t;let n=this;const i=this.configuration,a="Hotelwize.Plugins.PrivacyProtection.DefaulTrackerManager"!=(null===(e=window.HotelwizeApp.TrackerManager)||void 0===e?void 0:e.assemblyName)&&null!==(t=window.cookieConsentModeEnabled)&&void 0!==t&&t;let o={domains:i.linkedDomains||[],accept_incoming:!0,decorate_forms:!0};window[n.dataLayerName]=window[n.dataLayerName]||[],window[n.gtagName]=function(){window[n.dataLayerName].push(arguments)},a||(n.consentState.ad_storage="granted",n.consentState.ad_user_data="granted",n.consentState.ad_personalization="granted",n.consentState.analytics_storage="granted",n.consentState.personalization_storage="granted"),window[n.gtagName]("consent","default",Object.assign(Object.assign({},n.consentState),{wait_for_update:1500})),a&&window[n.gtagName]("set","ads_data_redaction",!0),n.analyticsService=(0,g.default)({measurementIds:i.measurementIds,gtagName:n.gtagName,dataLayerName:n.dataLayerName,debug:i.debugMode,gtagConfig:{anonymize_ip:!0,url_passthrough:i.allowUrlPassThrough,linker:o,send_page_view:!1}});const r=n.analyticsService.identify;function s(e,t){switch(e.toLowerCase()){case d.Trackers.TrackingCategory.Performance:n.consentState.analytics_storage=t?"granted":"denied";break;case d.Trackers.TrackingCategory.Marketing:n.consentState.ad_storage=t?"granted":"denied",n.consentState.ad_user_data=t?"granted":"denied",n.consentState.ad_personalization=t?"granted":"denied";break;case d.Trackers.TrackingCategory.Personalization:n.consentState.personalization_storage=t?"granted":"denied"}}function c(e,t){if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return e===t;let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let a of n)if(!i.includes(a)||!c(e[a],t[a]))return!1;return!0}function l(){const e=new u;e.executed=!1,e.action=()=>{window[n.gtagName]("consent","update",Object.assign({},n.consentState)),window[n.gtagName]("event","consent_update")},n.postActivationCommands.push(e)}return n.analyticsService.identify=function(e){var t;"function"==typeof r&&r(e);const i=(null===(t=null==e?void 0:e.payload)||void 0===t?void 0:t.traits)||{};i.persona&&window[n.gtagName]("set","user_properties",{visitor_persona:i.persona})},n.analyticsService.methods=n.analyticsService.methods||{},n.analyticsService.methods.setConsent=function(e){"string"==typeof e?s(e,!0):Array.isArray(e)&&e.every((e=>"string"==typeof e))&&e.forEach((e=>s(e,!0)));try{c(n.consentState,n.previouslySentConsentState)||(n.pluginIsActivated?(window[n.gtagName]("consent","update",Object.assign({},n.consentState)),window[n.gtagName]("event","consent_update")):l(),n.previouslySentConsentState=Object.assign({},n.consentState))}catch(e){console.error(e)}},n.analyticsService.methods.clearConsent=function(e){"string"==typeof e?s(e,!1):Array.isArray(e)&&e.every((e=>"string"==typeof e))&&e.forEach((e=>s(e,!1)));try{c(n.consentState,n.previouslySentConsentState)||(n.pluginIsActivated?(window[n.gtagName]("consent","update",Object.assign({},n.consentState)),window[n.gtagName]("event","consent_update")):l(),n.previouslySentConsentState=Object.assign({},n.consentState))}catch(e){console.error(e)}},n.analyticsService.methods.trackConversion=function(e,t,i,a){var o;const r=n.configuration;if(r.adsConversionId){let i=null;switch(e.toLowerCase()){case"newsletter_subscribe_success":case"booking_complete_liquid":case"contact_form_success":i=null!==(o=r.conversionTracking[e])&&void 0!==o?o:null;break;
1case"custom":let n=t.label;n&&(i=n.includes("/")||n.startsWith(`${r.adsConversionId}/`)?n:`${r.adsConversionId}/${n}`)}if(i){const e=Object.assign({},t,{send_to:i});delete e.label,window[n.gtagName]("event","conversion",e)}}},n.analyticsService.methods.trackEcommerce=function(e,t,i,a){window[n.gtagName]("event",e,t)},this.analyticsService}urlPath(e){const t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(e);return"/"+(t&&t[3]?t[3].split("?")[0].replace(this.hashRegex,""):"")}getUniqueId(){var e;const t=this.configuration;return`${this.analyticsServiceName}/${(null===(e=t.measurementIds)||void 0===e?void 0:e.join("_"))||this.instanceId}`}enable(){return s(this,void 0,void 0,(function*(){var e;const t=this;if(t.configuration,t.analyticsManager){const n=t.analyticsManager.getState().plugins,i=t.getUniqueId(),a=n[i],o=null==a?void 0:a.enabled;if(!t.pluginIsActivating&&!t.pluginIsActivated&&!o){try{window[t.gtagName]("set","allow_ad_personalization_signals","granted"==t.consentState.ad_personalization),window[t.gtagName]("consent","update",Object.assign({},t.consentState))}catch(e){}null===(e=t.analyticsManager.enableAnalyticsPlugin(i))||void 0===e||e.then((()=>{this.postActivationCommands.length>0&&(null===console||void 0===console||console.info(`Executing ${this.postActivationCommands.length} post-activation commands.`),this.postActivationCommands.forEach((e=>{0==e.executed&&"function"==typeof e.action&&(e.executed=!0,e.action.apply(null,[t]))}))),t.pluginIsActivated=!0})),t.pluginIsActivating=!0}}}))}disable(){return s(this,void 0,void 0,(function*(){var e,t;this.configuration;let n=this;const i=this.getUniqueId();if(n.analyticsManager&&(null===(e=n.analyticsManager.getState().plugins[i])||void 0===e?void 0:e.enabled)){try{window[n.gtagName]("set","ads_data_redaction",!0),window[n.gtagName]("set","allow_ad_personalization_signals",!1),n.consentState.ad_storage="denied",n.consentState.ad_user_data="denied",n.consentState.ad_personalization="denied",n.consentState.analytics_storage="denied",n.consentState.personalization_storage="denied",window[n.gtagName]("consent","update",Object.assign({},n.consentState))}catch(e){}null===(t=n.analyticsManager.disableAnalyticsPlugin(i))||void 0===t||t.then((()=>{n.pluginIsActivated=!1}))}}))}}t.GoogleAnalyticsV4=f},537:e=>{"use strict";e.exports=window.Hotelwize}},t={};function n(i){var a=t[i];if(void 0!==a)return a.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i=n(451);self["Hotelwize.Plugins.Analytics.GoogleAnalyticsV4"]=i})(); } </script>
1
1<script> { let analyticsPlugin = new globalThis['Hotelwize.Plugins.Analytics.GoogleAnalyticsV4'].GoogleAnalyticsV4({ "id": 72, "instanceId": "cf5d22df-e1fd-4dc0-a2ba-fc61b2304d28", "instanceOrder": 0, "type": "analytics", "isTypeDefault": false, "name": "Google Analytics v4", "assemblyName": "Hotelwize.Plugins.Analytics.GoogleAnalyticsV4", "assemblyVersion": "1.9.4.56617", "configuration": { "localeCode": "en-US", "instanceId": "cf5d22df-e1fd-4dc0-a2ba-fc61b2304d28", "measurementIds": [ "G-VW4S5PHF9Q" ], "adsConversionId": "", "debugMode": false, "allowUrlPassThrough": true, "linkedDomains": [ "www.athinaikon-hotel.gr" ], "conversionTracking": { "contact_form_success": null, "booking_complete_liquid": null, "newsletter_subscribe_success": null } }, "trackers": [], "clientSettings": [], "clientSettingsLifetime": 2592000, "cookies": [] }); const tracker_googleanalyticsv4 = new Hotelwize.Trackers.Tracker({ "id": "GoogleAnalyticsV4", "name": "Google Analytics v4", "description": "The Google Analytics is used to ", "isRequired": false, "priority": 100 }); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "_ga", "nameRegex": null, "description": "Used to distinguish users and to store and count pageviews.", "maxLifeTime": 63113904, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "_ga_*", "nameRegex": null, "description": "Used to persist session state.", "maxLifeTime": 63113904, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "_gid", "nameRegex": null, "description": "Used to store and count pageviews.", "maxLifeTime": 86400, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "_gat", "nameRegex": null, "description": "Used to read and filter requests from bots.", "maxLifeTime": 60, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "_gat_*", "nameRegex": null, "description": "Used to read and filter requests from bots.", "maxLifeTime": 60, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "_gcl_*", "nameRegex": null, "description": "Used to provide ad delivery or retargeting and to store and track conversions.", "maxLifeTime": 7776000, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "AMP_TOKEN", "nameRegex": null, "description": "Contains a reference to obtain Client ID from AMP Client ID service. Other possible values indicate opt-out, \u201Cinflight request\u201D or an error message of Client ID from AMP Client ID service.", "maxLifeTime": 31556952, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "_gac_*", "nameRegex": null, "description": "Contains campaign-related information for the user.", "maxLifeTime": 7776000, "purpose": "performance", "storageType": "httpCookie", "domain": "www.google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "OTZ", "nameRegex": null, "description": " Used by Google Analytics that provides an aggregate analysis of Website visitors.", "maxLifeTime": 2592000, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "AEC", "nameRegex": null, "description": "Ensures requests within a browsing session are made by the user, and n
1ot by other sites. They prevent malicious sites from acting on behalf of a user without that user\u0027s knowledge.", "maxLifeTime": 15552000, "purpose": "performance", "storageType": "httpCookie", "domain": null, "isThirdParty": false, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "google_experiment_mod*", "nameRegex": null, "description": "Stores and tracks visits across websites.", "maxLifeTime": 7776000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "id", "nameRegex": null, "description": "Used for ad targeting, reporting, and user tracking across websites. Helps deliver personalized ads and measure their effectiveness.", "maxLifeTime": 7776000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".doubleclick.net", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "CONSENT", "nameRegex": null, "description": "Stores cookie consent preferences.", "maxLifeTime": 630720000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "SNID", "nameRegex": null, "description": "Google uses cookies like NID and SID to help customize ads on Google properties, like Google Search. For example, we use such cookies to remember your most recent searches, your previous interactions with an advertiser\u2019s ads or search results, and your visits to an advertiser\u2019s website. This helps us to show you customized ads on Google.", "maxLifeTime": -1, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "APISID", "nameRegex": null, "description": "This cookie is used by Google to display personalized advertisements on Google sites, based on recent searches and previous interactions. The cookie enables Google to collect user information for videos hosted by YouTube.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "DSID", "nameRegex": null, "description": "This cookie is used for re-targeting, optimisation, reporting and attribution of online adverts.", "maxLifeTime": 1209600, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "IDE", "nameRegex": null, "description": "Used by Google DoubleClick to register and report the website user\u0027s actions after viewing or clicking one of the advertiser\u0027s ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "SSID", "nameRegex": null, "description": "This cookie is used by Google to display personalized advertisements on Google sites, based on recent searches and previous interactions. The cookie enables Google to collect user information for videos hosted by YouTube.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "SIDCC", "nameRegex": null, "description": "This cookie carries out information about how the end user uses the website and any advertising that the end user may have seen before visiting the said website.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "SAPISI
1D", "nameRegex": null, "description": "This cookie is used by Google to display personalized advertisements on Google sites, based on recent searches and previous interactions. The cookie enables Google to collect user information for videos hosted by YouTube.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "AID", "nameRegex": null, "description": "Provides ad delivery or retargeting, store user preferences.", "maxLifeTime": 15552000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "HSID", "nameRegex": null, "description": "Contains encrypted entries of your Google account and the last login time to protect against attacks and data theft from form entries.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "NID", "nameRegex": null, "description": "The NID cookie contains a unique ID Google uses to remember your preferences and other information, such as your preferred language (e.g. English), how many search results you wish to have shown per page (e.g. 10 or 20), and whether or not you wish to have Google\u0027s SafeSearch filter turned on.", "maxLifeTime": 15552000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "SID", "nameRegex": null, "description": "Google uses security cookies to authenticate users, prevent fraudulent use of login credentials, and protect user data from unauthorized parties.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "OGPC", "nameRegex": null, "description": "This cookie enables the functionality of Google Maps.", "maxLifeTime": 1641600, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "SEARCH_SAMESITE", "nameRegex": null, "description": "Allow servers to mitigate the risk of CSRF and information leakage attacks by asserting that a particular cookie should only be sent with requests initiated from the same registrable domain.", "maxLifeTime": 15552000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__ut", "nameRegex": null, "description": "Provides fraud prevention.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__Secure-1PAPISID", "nameRegex": null, "description": "Provides fraud prevention.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__Secure-1PSID", "nameRegex": null, "description": "Provides fraud prevention.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__Secure-1PSIDCC", "nameRegex": null, "description": "This cookie is used for targeting purposes to build a profile of the website visitor\u0027s interests in order to show relevant \u0026 personalised Google advertising.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__Secure-3PAPISID", "nameRegex": null, "description": "Used for targeting purposes to build a profile of the website visitor\u0027s interests in order to show relevant \u0026 personalised Google advertising.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__Secure-3PSID", "nameRegex": null, "description": "Used for targeting purposes to build a profile of the website visitor\u0027s interests in order to show relevant \u0026 personalised Google advertising.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__Secure-3PSIDCC", "nameRegex": null, "description": "This cookie is used for targeting purposes to build a profile of the website visitor\u0027s interests in order to show relevant \u0026 personalised Google advertising.", "maxLifeTime": 63072000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__Secure-ENID", "nameRegex": null, "description": "This cookie is used by Google to remember your preferences and other information.", "maxLifeTime": 31536000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "__Secure-1PSIDTS", "nameRegex": null, "description": "Google\u0027s __Secure-1PSIDTS cookie collects information about your interactions with Google services and ads. It contains a unique identifier.", "maxLifeTime": 31536000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "1P_JAR", "nameRegex": null, "description": "This cookie carries out information about how the end user uses the website and any advertising that the end user may have seen before visiting the said website.", "maxLifeTime": 2592000, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "UULE", "nameRegex": null, "description": " Google advertising cookie used for user tracking and ad targeting purposes", "maxLifeTime": 86400, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.cookies.push(new Hotelwize.Cookies.Cookie({ "name": "DV", "nameRegex": null, "description": " Google advertising cookie used for user tracking and ad targeting purposes", "maxLifeTime": 86400, "purpose": "marketing", "storageType": "httpCookie", "domain": ".google.com", "isThirdParty": true, "appName": "Google Analytics v4" })); tracker_googleanalyticsv4.onAccept = async (_plugin, _tracker, _trackingPreferences) => { try { await _plugin.enable(); } catch(e) { console.log(e); } return true; }; tracker_googleanalyticsv4.onRevoke = async (_plugin, _tracker, _trackingPreferences) => { try { await _plugin.disable(); } catch(e) { console.log(e); } return true; }; analyticsPlugin.trackers.push(tracker_googleanalyticsv4); HotelwizeApp.registerPlugin(analyticsPlugin); } </script>
1
1<script> { HotelwizeApp.registerResources('BookingEngine', { "Adults": "Adults", "BookNow": "Check Availability", "CheckIn": "Check In", "CheckOut": "Check Out", "Children": "Children", "CouponCode": "Coupon Code", "Guest": "Guest", "Guests": "Guests", "Infants": "Infants", "minimum": "minimum", "Night": "Night", "Nights": "Nights", "NumberOfGuests": "Guests", "PageTitle_DynamicOffer": "Offer", "week": "week", "weeks": "weeks", "YearsOld": "y.o.", "AbbreviatedDayNames": [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], "DayNames": [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], "MonthNames": [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "" ] }); } </script>
1
1<script> { Date.prototype.getBookingEngineDate = function () { const date = this.getDate(); const month = this.getMonth() + 1; const year = this.getFullYear(); const zeroPad = function (num, places) { var zero = places - num.toString().length + 1; return Array(+(zero > 0 && zero)).join("0") + num; }; return (!isNaN(date) && !isNaN(month) && !isNaN(year)) ? year + '-' + zeroPad(month, 2) + '-' + zeroPad(date, 2) : ''; }; let pluginConfiguration = { "id": 2, "type": "bookingEngineForm", "isTypeDefault": false, "instanceId": "2b4f9064-2ae8-4be9-bce2-8e96f2cd0c44", "instanceOrder": 0, "name": "Webhotelier", "assemblyName": "Hotelwize.Plugins.BookingEngine.WebHotelier", "assemblyVersion": "2.2.23.57256", "configuration": { "minCheckInDate": "2026-05-25T00:00:00Z", "maxCheckInDate": "2028-05-26T00:00:00Z", "maxNights": 30, "minNights": 1, "maxRooms": 1, "maxAdults": -1, "maxChildren": -1, "maxInfants": -1, "maxGuests": 4, "guestTypes": [ { "type": "adult", "ageFrom": 13, "ageTo": 100, "showAgeRange": true }, { "type": "child", "ageFrom": 3, "ageTo": 12, "showAgeRange": true }, { "type": "infant", "ageFrom": 0, "ageTo": 2, "showAgeRange": true } ], "displayCoupon": false, "defaultAdults": 2, "redirectUrl": "https://athinaikon.reserve-online.net/", "bookingEngineUrl": "https://athinaikon.reserve-online.net/", "webApiEndpointUrl": null }, "trackers": [] }; let plugin = new Hotelwize.Plugins.BookingEnginePlugin(pluginConfiguration); plugin.supportedFeatures = plugin.supportedFeatures || []; plugin.supportedFeatures.push('content-personalization'); plugin.onSubmit = function(baseUrl, lang, currency, checkIn, checkOut, rooms, couponCode, roomCode, ratePlan) { const me = this; let url = this.getRedirectUrl( baseUrl, lang, currency, checkIn, checkOut, rooms, couponCode, roomCode, ratePlan ); const from = new Date(checkIn); const to = new Date(checkOut); const differenceInTime = to.getTime() - from.getTime(); const daysOfStay = differenceInTime / (1000 * 3600 * 24); const eventData = { check_in: checkIn, check_out: checkOut, adults: 0, children: 0, infants: 0, nights: daysOfStay, code: couponCode }; for (let roomIndex = 0; roomIndex < rooms.length; roomIndex++) { for (let guestIndex = 0; guestIndex < rooms[roomIndex].length; guestIndex++) { const guestType = rooms[roomIndex][guestIndex].guestType; switch (guestType) { case 'adult': eventData.adults += rooms[roomIndex][guestIndex].quantity; break; case 'child': eventData.children += rooms[roomIndex][guestIndex].quantity; break; case 'infant': eventData.infants += rooms[roomIndex][guestIndex].quantity; break; } } } window.htrack('event::booking_form', eventData); try { var ga4Plugin = HotelwizeApp.getPluginByAssemblyName("Hotelwize.Plugins.Analytics.GoogleAnalyticsV4"); if (window.gtag && ga4Plugin) { var measurementId = ga4Plugin.configuration.measurementIds[0]; if (measurementId) { const linkerParam = ga4Plugin.getGoogleTagLinkerQueryParam(); if (linkerParam) { url = url.includes('?') ? `${url}&${linkerParam}` : `${url}?${linkerParam}`; } } } } catch (e) { console.error(e); } if (window.HotelwizeApp.Configuration.allowsPersonalization) { try { me.classifyUser(lang, currency, checkIn, checkOut, rooms, couponCode, roomCode, ratePlan) .finally(() => { me.gotoBookingEngine(url); }); } catch (e) { me.gotoBookingEngine(url); } } else { me.gotoBookingEngine(url); } }; plugin.classifyUser = function(lang, currency, checkIn, checkOut, rooms, coupon, roomCode, ratePlan) { let adults = 0, children = 0, infants = 0; try { for (let roomIndex = 0; roomIndex < rooms.length; roomIndex++) { for (var guestIndex = 0; guestIndex < rooms[roomIndex].length; guestIndex++) { let guest = rooms[roomIndex][guestIndex]; switch (guest.guestType.toLowerCase()) { case 'adult': adults += guest.quantity; break; case 'child': children += guest.quantity; break; case 'infant': infants += guest.quantity; break; default: break; } } } } catch { } return window.HotelwizeApp.PersonalizationManager.classifyUser({ checkIn: checkIn, checkOut: checkOut, adults: adults, children: children, infants: infants, rooms: rooms.length }, [ 'bookingEngine' ]); }; plugin.gotoBookingEngine = function(url) { if (url) { if (window.IBEConfig) { window.location.href = url; } else { if (url.startsWith('http')) { window.open(url); } else { window.open(`https://${url}`); } } } }; plugin.getAvailability = function() { var r = new Date; return new Promise(function (e, t) { for (var n = [], a = 0; a < 600; a++) { var i = new Date; i.setDate(r.getDate() + a), n[i.toISOString().slice(0, 10)] = 10 } e(n) }) }; plugin.getRedirectUrl = function(baseUrl, lang, currency, checkin, checkout, rooms, coupon, roomCode, ratePlan) { if (0 == rooms.length) return ''; for (var adults = 0, children = 0, infants = 0, d = 0; d < rooms[0].length; d++) { var f = rooms[0][d]; switch (f.guestType.toLowerCase()) { case 'adult': adults += f.quantity; break; case 'child': children += f.quantity; break; case 'infant': infants += f.quantity; } } var checkinDate = ''; var checkoutDate = ''; try { checkinDate = checkin ? (new Date(checkin)).getBookingEngineDate() : ''; checkoutDate = checkout ? (new Date(checkout)).getBookingEngineDate() : ''; } catch { } let ret = baseUrl + (baseUrl.includes('?') ? '&' : '?') + 'cur=' + (currency && currency != '' ? currency : 'EUR') + '&checkin=' + checkinDate + '&checkout=' + checkoutDate + '&rooms=' + rooms.length + '&adults=' + adults + '&children=' + children + '&infants=' + infants; try { const preservedUtmParams = window.HotelwizeApp.Analytics.get
1StoredUtmPropsQueryString(); ret = ret + (ret.includes('?') ? '&' : '?') + preservedUtmParams; } catch { } return ret; }; HotelwizeApp.registerPlugin(plugin, true); } </script>
1 <style> .pois__title[data-marker-id="hotel"] {background-color: #ddd} .gallery__item--title { text-align: center; }*/ .site-header { animation: none !important; -webkit-transform: translateY(0) !important; transform: translateY(0) !important; } </style>
1<script> { HotelwizeApp.registerResources('Hotelwize.Plugins.PrivacyProtection.CookieControl', { "AllowAll": "Allow all", "Categories": "Categories", "CategoryDescription_Functionality": "Functionality cookies help a site work well, they enable additional features which can make the user experience better.", "CategoryDescription_Marketing": "Marketing cookies are used to target advertising to a user (behavioural targeting). They are often served by third party companies, and track a user across websites.", "CategoryDescription_Performance": "Performance cookies are used to determine usage of a site, they may track an individual users, but only to the extent to allow a users journey through the site. They are not used for targeting adverts (Marketing Cookies)", "CategoryDescription_Required": "Required cookies are required for a site to function. They perform a task or operation without which a site\u0027s performance would be compromised.", "CategoryTitle_Functionality": "Functionality Cookies", "CategoryTitle_Marketing": "Marketing Cookies", "CategoryTitle_Performance": "Performance Cookies", "CategoryTitle_Required": "Required Cookies", "Close"
1: "Close", "CookieDescription": "Cookie description", "CookieDomain": "Domain", "CookieDuration": "Duration", "CookieDurationDays": "days", "CookieDurationHours": "hours", "CookieDurationMinute": "minute", "CookieDurationMinutes": "minutes", "CookieDurationSession": "Session", "CookieName": "Name", "CookieStorage": "Storage", "Customize": "Customize", "Description": "Description", "Details": "Details", "DisableAll": "Disable all", "HideDetails": "Hide details", "NotificationButtonCaption": "Got it", "NotificationMessage": "We use cookies to provide the services offered on our website, and to improve our user experience.", "NotificationTitle": "Cookie Notice", "OpenTitle": "Cookie Preferences", "Options": "Options", "PrivacyPolicyLinkText": "Cookie Policy", "PrivacyPolicyReadMoreAtText": "Read more at", "Provider": "Provider", "SettingsDescription": "We use cookies to provide the services offered on our website to improve our user experience.", "SettingsLongDescription": "", "SettingsTitle": "We use cookies", "ShortDescription": "We use cookies to provide the services offered on our website to improve our user experience.", "ShowDetails": "Show details" }); } </script>
1
1<script data-script-id="cookie-control-external-script" src="https://www.athinaikon-hotel.gr/assets/js/cookie-control-1.4.23.57391.js" defer></script>
1
1<script> window.addEventListener('DOMContentLoaded', function() { let cookieControlPlugin = new globalThis['Hotelwize.Plugins.PrivacyProtection.CookieControl'].CookieControl({ "id": 62, "instanceId": "8273994a-0431-4d46-82df-1130499f5d6b", "instanceOrder": 0, "type": "privacyProtection", "isTypeDefault": false, "name": "Website Cookie Control", "assemblyName": "Hotelwize.Plugins.PrivacyProtection.CookieControl", "assemblyVersion": "1.4.23.57391", "configuration": { "uiType": "auto", "uiPosition": "bottom", "notificationDoNotDisturbPeriod": 30, "notificationBgColor": "#ffffff", "notificationTextColor": "#000000", "notificationButtonBgColor": "#000000", "notificationButtonTextColor": "#ffffff", "consentLogEndpointUrl": "https://services.hotelwize.com/api/CookieConsent", "consentTextColor": "#000000", "consentBgColor": "#ffffff", "consentLinkTextColor": "#000000", "consentLinkHoverTextColor": "#000000", "consentButtonBgColor": "#000000", "consentButtonTextColor": "#ffffff", "consentButtonHoverBgColor": "#000000", "consentButtonHoverTextColor": "#ffffff", "active": true, "localeCode": "en-US", "cookiePolicyPageUrl": "https://www.athinaikon-hotel.gr/cookies-policy/" }, "trackers": [], "clientSettings": [], "clientSettingsLifetime": 2592000, "cookies": [ { "name": "Hotelwize.User.TrackingPreferences", "nameRegex": null, "appName": "Website Cookie Control", "isSystemCookie": false, "isThirdParty": false, "domain": null, "maxLifeTime": 2592000, "description": "Cookie description", "purpose": "required", "storageType": "localStorage" } ] }); HotelwizeApp.registerPlugin(cookieControlPlugin).registerTrackerManager(cookieControlPlugin); }); </script>
1 </head> <body class="pages-contact site__body"> <div class="site-wrapper"> <main class="site__wrapper"><header class="site-header"> <div class="site-header__container"><div class="site-header__logo" tabindex="0"> <a href="https://www.athinaikon-hotel.gr/" rel="home" title="Athinaikon Hotel"> <img src="https://assets.builderassets.com/site-media/110/logo-3.png?format=png&quality=80" alt="Athinaikon Hotel" class="logo" width="2070" height="635" /> </a> </div> <div class="site-header__right" role="navigation"><div class="site-header__menu"> <span class="site-header__close color--brand"> <span>Close</span><svg width="14.85" height="14.85" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.85 14.85"> <path d="M.708 0l14.141 14.142-.707.707L.001.708z" fill="none"/> <path d="M14.142.001l.707.707L.707 14.85 0 14.143z" fill="none"/> </svg></span> <div class="menu"> <ul class="menu__list menu__list--level-0"> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/" title="Home" class="menu__link"> Home </a> </li> <li class="menu__item menu__item--has-children"> <a href="https://www.athinaikon-hotel.gr/accommodation/" title="Rooms" class="menu__link"> Rooms </a> <ul class="menu__list menu__list--submenu menu__list--level-1"> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/double-twin-room/" title="Double or Twin Room" class="menu__link"> Double or Twin Room </a> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/triple-room/" title="Triple Room" class="menu__link"> Triple Room </a> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/single-room/" title="Single Room" class="menu__link"> Single Room </a> </li> </ul> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/book-direct-offer/" title="Book Direct Offer" class="menu__link"> Book Direct Offer </a> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/breakfast/" title="Breakfast" class="menu__link"> Breakfast </a> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/location/" title="Location" class="menu__link"> Location </a> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/gallery/" title="Gallery" class="menu__link"> Gallery </a> </li> <li class="menu__item menu__item--current"> <a href="https://www.athinaikon-hotel.gr/contact/" title="Contact" class="menu__link"> Contact </a> </li> </ul> </div><a href="tel:+30 2810228526" title="Telephone" class="site-header__mobile--phone background--primary"> <span>Call us</span> <span class="icon-phone"></span> <span>+30 2810228526</span> </a></div><div class="site-header__menu-trigger"> <span>Menu</span> </div><div class="lang" data-dropdown tabindex="0"> <span class="lang__current"> EN <span class="caret"></span> </span><ul class="lang__list dropdown__list" data-role="dropdown"> <li class="dropdown__item"> <a href="https://www.athinaikon-hotel.gr/el/contact/" rel="alternate" aria-label="Îλληνικά" title="Îλληνικά" lang="el" hreflang="el-GR" >EL</a> </li></ul></div><a href="tel:+302810228526" title="" class="site-header--phone"> <span><svg width="18.293" height="33.361" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18.293 33.361"> <path fill="none" stroke="#010101" stroke-miterlimit="10" d="M16.648 29.448c.33-.57.662-1.146.997-1.711.188-.354.179-.764.071-1.132-.107-.369-.326-.722-.684-.929-1.412-.818-2.969-2.392-4.229-3.626a.394.394 0 0 0-.359-.097l-4.18 1.072c-2.174-3.915-2.789-6.12-2.941-10.552l4.167-1.072a.395.395 0 0 0 .276-.266c.452-1.709.904-4.116 1.897-5.59.139-.361.023-.818-.097-1.108-.139-.331-.372-.674-.744-.88C9.19 2.591 7.549 1.636 5.911.678c-.394-.219-.74-.2-1.141-.133v.001c-.399.187-.735.392-.901.71C.564 7.552-.303 13.583 1.239 18.965c1.542 5.388 5.496 10.097 11.746 13.747.397.13.819.194 1.165.108.374-.1.731-.317.937-.675l1.153-1.977.408-.72z"/> </svg></span> <span class="visuallyhidden">+30 2810228526</span> </a> <a href="https://athinaikon.reserve-online.net/" class="btn site-header__btn" title="Book now" target="_blank"> <span>Book now</span> <span>Book</span> </a> </div> </div> </header> <div class="contact"> <div class="site__container"> <div class="section"> <div class="text color--text"> <h1 class="title--big color--brand">Contact</h1> <div class="text__holder"> <p style="text-align: justify;">Please feel free to fill out the form so that we may better serve you.</p> <p style="text-align: justify;"><a href="https://www.google.com/maps/search/?api=1&query=35.3350495,25.1415935">89 Leof. Ethnikis Antistaseos, 71306, Heraklion, Crete, Greece</a></p> <p style="text-align: justify;"><a href="https://www.google.com/maps/search/?api=1&query=35.3350495,25.1415935">Τ: +302810229312</a></p> <p style="text-align: justify;"><a href="https://www.google.com/maps/search/?api=1&query=35.3350495,25.1415935">T. +30 2810228526</a></p> <p style="text-align: justify;"><a href="https://www.google.com/maps/search/?api=1&query=35.3350495,25.1415935">E. [email protected]</a></p> </div> </div> <div class="contact__bottom"> <div class="grid"> <div class="grid__item lap--one-half"> <div class="map"> <div class="map__container" data-map-container data-lat="35.3350495" data-lng="25.1415935"></div>
1<script> window.map_locations = [{ id: 'main', content: '', lat: 35.3350495, lng: 25.1415935 }]; </script>
1 </div> </div> <div class="grid__item lap--one-half"> <div class="contact__form"> <form action="https://services.builderassets.com/api/FormSubmission" class="htw-form" data-clarity-mask="true" data-form-mini-id="86681533d8a8" data-form-name="Contact Form" data-google-ads-conversion-label="" dir="auto" enctype="multipart/form-data" id="form-3323493-69" method="post"> <div style="position:absolute; width:0; height:0; visibility:hidden;"><label for="_form_iv">Initial Value</label><input type="text" name="_form_iv" id="_form_iv" value="" /></div> <input type="hidden" id="form-field-_form_id" name="_form_id" value="0e4da467-b7c2-45ca-9cef-86681533d8a8" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8" /> <input type="hidden" id="form-field-_form_site_id" name="_form_site_id" value="110" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8" /> <input type="hidden" id="form-field-_form_locale" name="_form_locale" value="en-US" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8" /> <input type="hidden" id="form-field-_form_environment" name="_form_environment" value="Production" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8" /> <div class="grid"> <div class="grid__item tab--one-half"> <div class="contact__form__group"> <label for="form-field-first_name" class="htw-control-label ">First Name<abbr class="required">*</abbr></label> <input dir="auto" type="text" id="form-field-first_name" name="first_name" class="htw-form-control htw-field-type-input htw-field-type-text" placeholder="" required="required" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8" /> </div> </div> <div class="grid__item tab--one-half"> <div class="contact__form__group"> <label for="form-field-last_name" class="htw-control-label ">Last Name<abbr class="required">*</abbr></label> <input dir="auto" type="text" id="form-field-last_name" name="last_name" class="htw-form-control htw-field-type-input htw-field-type-text" placeholder="" required="required" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8" /> </div> </div> <div class="grid__item tab--one-half"> <div class="contact__form__group"> <label for="form-field-country" class="htw-control-label ">Country<abbr class="required">*</abbr></label> <select id="form-field-country" name="country" class="htw-form-control htw-field-type-select" required="required" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8"> <option value="" disabled="disabled" label="" selected="selected"></option> <option value="AF">Afghanistan</option> <option value="AX">Ã
land Islands</option> <option value="AL">Albania</option> <option value="DZ">Algeria</option> <option value="AS">American Samoa</option> <option value="AD">Andorra</option> <option value="AO">Angola</option> <option value="AI">Anguilla</option> <option value="AQ">Antarctica</option> <option value="AG">Antigua and Barbuda</option> <option value="AR">Argentina</option> <option value="AM">Armenia</option> <option value="AW">Aruba</option> <option value="AU">Australia</option> <option value="AT">Austria</option> <option value="AZ">Azerbaijan</option> <option value="BS">Bahamas</option> <option value="BH">Bahrain</option> <option value="BD">Bangladesh</option> <option value="BB">Barbados</option> <option value="BY">Belarus</option> <option value="BE">Belgium</option> <option value="BZ">Belize</option> <option value="BJ">Benin</option> <option value="BM">Bermuda</option> <option value="BT">Bhutan</option> <option value="BO">Bolivia</option> <option value="BQ">Bonaire, Sint Eustatius and Saba</option> <option value="BA">Bosnia and Herzegovina</option> <option value="BW">Botswana</option> <option value="BV">Bouvet Island</option> <option value="BR">Brazil</option> <option value="IO">British Indian Ocean Territory</option> <option value="BN">Brunei Darussalam</option> <option value="BG">Bulgaria</option> <option value="BF">Burkina Faso</option> <option value="BI">Burundi</option> <option value="KH">Cambodia</option> <option value="CM">Cameroon</option> <option value="CA">Canada</option> <option value="CV">Cape Verde</option> <option value="KY">Cayman Islands</option> <option value="CF">Central African Republic</option> <option value="TD">
1Chad</option> <option value="CL">Chile</option> <option value="CN">China</option> <option value="CX">Christmas Island</option> <option value="CC">Cocos (Keeling) Islands</option> <option value="CO">Colombia</option> <option value="KM">Comoros</option> <option value="CG">Congo, Republic of the (Brazzaville)</option> <option value="CD">Congo, the Democratic Republic of the (Kinshasa)</option> <option value="CK">Cook Islands</option> <option value="CR">Costa Rica</option> <option value="CI">Côte d'Ivoire, Republic of</option> <option value="HR">Croatia</option> <option value="CU">Cuba</option> <option value="CW">Curaçao</option> <option value="CY">Cyprus</option> <option value="CZ">Czech Republic</option> <option value="DK">Denmark</option> <option value="DJ">Djibouti</option> <option value="DM">Dominica</option> <option value="DO">Dominican Republic</option> <option value="EC">Ecuador</option> <option value="EG">Egypt</option> <option value="SV">El Salvador</option> <option value="GQ">Equatorial Guinea</option> <option value="ER">Eritrea</option> <option value="EE">Estonia</option> <option value="ET">Ethiopia</option> <option value="FK">Falkland Islands (Islas Malvinas)</option> <option value="FO">Faroe Islands</option> <option value="FJ">Fiji</option> <option value="FI">Finland</option> <option value="FR">France</option> <option value="GF">French Guiana</option> <option value="PF">French Polynesia</option> <option value="TF">French Southern and Antarctic Lands</option> <option value="GA">Gabon</option> <option value="GM">Gambia, The</option> <option value="GE">Georgia</option> <option value="DE">Germany</option> <option value="GH">Ghana</option> <option value="GI">Gibraltar</option> <option value="GR">Greece</option> <option value="GL">Greenland</option> <option value="GD">Grenada</option> <option value="GP">Guadeloupe</option> <option value="GU">Guam</option> <option value="GT">Guatemala</option> <option value="GG">Guernsey</option> <option value="GN">Guinea</option> <option value="GW">Guinea-Bissau</option> <option value="GY">Guyana</option> <option value="HT">Haiti</option> <option value="HM">Heard Island and McDonald Islands</option> <option value="VA">Holy See (Vatican City)</option> <option value="HN">Honduras</option> <option value="HK">Hong Kong</option> <option value="HU">Hungary</option> <option value="IS">Iceland</option> <option value="IN">India</option> <option value="ID">Indonesia</option> <option value="IR">Iran, Islamic Republic of</option> <option value="IQ">Iraq</option> <option value="IE">Ireland</option> <option value="IM">Isle of Man</option> <option value="IL">Israel</option> <option value="IT">Italy</option> <option value="JM">Jamaica</option> <option value="JP">Japan</option> <option value="JE">Jersey</option> <option value="JO">Jordan</option> <option value="KZ">Kazakhstan</option> <option value="KE">Kenya</option> <option value="KI">Kiribati</option> <option value="KP">Korea, Democratic People's Republic of</option> <option value="KR">Korea, Republic of</option> <option value="KW">Kuwait</option> <option value="KG">Kyrgyzstan</option> <option value="LA">Laos</option> <option value="LV">Latvia</option> <option value="LB">Lebanon</option> <option value="LS">Lesotho</option> <option value="LR">Liberia</option> <option value="LY">Libya</option> <option value="LI">Liechtenstein</option> <option value="LT">Lithuania</option> <option value="LU">Luxembourg</option> <option value="MO">Macao</option> <option value="MK">Macedonia, Republic of</option> <option value="MG">Madagascar</option> <option value="MW">Malawi</option> <option value="MY">Malaysia</option> <option value="MV">Maldives</option> <option value="ML">Mali</option> <option value="MT">Malta</option> <option value="MH">Marshall Islands</option> <option value="MQ">Martinique</option> <option value="MR">Mauritania</option> <option value="MU">Mauritius</option> <option value="YT">Mayotte</option> <option value="MX">Mexico</option> <option value="FM">Micronesia, Federated States of</option> <option value="MD">Moldova</option> <option value="MC">Monaco</option> <option value="MN">Mongolia</option> <option value="ME">Montenegro</option> <option value="MS">Montserrat</option> <option value="MA">Morocco</option> <option value="MZ">Mozambique</option> <option value="MM">Myanmar</option> <option value="NA">Namibia</option> <option value="NR">Nauru</option> <option value="NP">Nepal</option> <option value="NL">Netherlands</option> <option value="NC">New Caledonia</option> <option value="NZ">New Zealand</option> <option value="NI">Nicaragua</option> <option value="NE">Niger</option> <option value="NG">Nigeria</option> <option value="NU">Niue</option> <option value="NF">Norfolk Island</option> <option value="MP">Northern Mariana Islands</option> <option value="NO">Norway</option> <option value="OM">Oman</option> <option value="PK">Pakistan</option> <option value="PW">Palau</option> <option value="PS">Palestine, State of</option> <option value="PA">Panama</option> <option value="PG">Papua New Guinea</option> <option value="PY">Paraguay</option> <option value="PE">
1Peru</option> <option value="PH">Philippines</option> <option value="PN">Pitcairn</option> <option value="PL">Poland</option> <option value="PT">Portugal</option> <option value="PR">Puerto Rico</option> <option value="QA">Qatar</option> <option value="RE">Réunion</option> <option value="RO">Romania</option> <option value="RU">Russian Federation</option> <option value="RW">Rwanda</option> <option value="BL">Saint Barthélemy</option> <option value="SH">Saint Helena, Ascension and Tristan da Cunha</option> <option value="KN">Saint Kitts and Nevis</option> <option value="LC">Saint Lucia</option> <option value="MF">Saint Martin</option> <option value="PM">Saint Pierre and Miquelon</option> <option value="VC">Saint Vincent and the Grenadines</option> <option value="WS">Samoa</option> <option value="SM">San Marino</option> <option value="ST">Sao Tome and Principe</option> <option value="SA">Saudi Arabia</option> <option value="SN">Senegal</option> <option value="RS">Serbia</option> <option value="SC">Seychelles</option> <option value="SL">Sierra Leone</option> <option value="SG">Singapore</option> <option value="SX">Sint Maarten (Dutch part)</option> <option value="SK">Slovakia</option> <option value="SI">Slovenia</option> <option value="SB">Solomon Islands</option> <option value="SO">Somalia</option> <option value="ZA">South Africa</option> <option value="GS">South Georgia and South Sandwich Islands</option> <option value="SS">South Sudan</option> <option value="ES">Spain</option> <option value="LK">Sri Lanka</option> <option value="SD">Sudan</option> <option value="SR">Suriname</option> <option value="SZ">Swaziland</option> <option value="SE">Sweden</option> <option value="CH">Switzerland</option> <option value="SY">Syrian Arab Republic</option> <option value="TW">Taiwan</option> <option value="TJ">Tajikistan</option> <option value="TZ">Tanzania, United Republic of</option> <option value="TH">Thailand</option> <option value="TL">Timor-Leste</option> <option value="TG">Togo</option> <option value="TK">Tokelau</option> <option value="TO">Tonga</option> <option value="TT">Trinidad and Tobago</option> <option value="TN">Tunisia</option> <option value="TR">Turkey</option> <option value="TM">Turkmenistan</option> <option value="TC">Turks and Caicos Islands</option> <option value="TV">Tuvalu</option> <option value="UG">Uganda</option> <option value="UA">Ukraine</option> <option value="AE">United Arab Emirates</option> <option value="GB">United Kingdom</option> <option value="US">United States</option> <option value="UM">United States Minor Outlying Islands</option> <option value="UY">Uruguay</option> <option value="UZ">Uzbekistan</option> <option value="VU">Vanuatu</option> <option value="VE">Venezuela, Bolivarian Republic of</option> <option value="VN">Vietnam</option> <option value="VG">Virgin Islands, British</option> <option value="VI">Virgin Islands, U.S.</option> <option value="WF">Wallis and Futuna</option> <option value="EH">Western Sahara</option> <option value="YE">Yemen</option> <option value="ZM">Zambia</option> <option value="ZW">Zimbabwe</option> </select> </div> </div> <div class="grid__item tab--one-half"> <div class="contact__form__group"> <label for="form-field-sender_email" class="htw-control-label ">Email<abbr class="required">*</abbr></label> <input dir="auto" type="email" id="form-field-sender_email" name="sender_email" class="htw-form-control htw-field-type-input htw-field-type-email" placeholder="" required="required" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8" /> </div> </div> <div class="grid__item tab--one-half"> <div class="contact__form__group"> <label for="form-field-subject" class="htw-control-label ">Subject</label> <input dir="auto" type="text" id="form-field-subject" name="subject" class="htw-form-control htw-field-type-input htw-field-type-text" placeholder="" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8" /> </div> </div> <div class="grid__item tab--one-full"> <div class="contact__form__group"> <label for="form-field-message" class="htw-control-label ">Message<abbr class="required">*</abbr></label> <textarea dir="auto" id="form-field-message" name="message" class="htw-form-control htw-field-type-textarea" placeholder="" required="required" data-parent-form-id="0e4da467-b7c2-45ca-9cef-86681533d8a8"></textarea> </div> </div> <div class="grid__item gdpr-acceptance"> <label for="_form_privacy_protection_acceptance"><input type="checkbox" id="_form_privacy_protection_acceptance" name="_form_privacy_protection_acceptance" value="true" required="required" /> <span><span style="color: rgb(116, 120, 141);">I accept the terms of the privacy policy.</span></span></label> </div> </div> <button id="contact_form_submit" type="submit" class="btn--brand background--brand"><span>Submit</span></button> <div class="htw-submission-response"></div></form>
1<script> window.autoRunAfter = window.autoRunAfter || []; window.autoRunAfter.push(function() { if (false) { if (!Hotelwize.Support.isLoadedScriptById('jquery-multi-file')) { Hotelwize.Support.loadScript('https://assets.builderassets.com/common/js/jquery.MultiFile.min.js', function() { HotelwizeApp.handleContactForm('form-3323493-69'); }, 'jquery-multi-file'); } else { HotelwizeApp.handleContactForm('form-3323493-69'); } } else { HotelwizeApp.handleContactForm('form-3323493-69'); } }); </script>
1 </div> </div> </div> </div> </div> </div> </div> </main> <footer class="site-footer color--text"> <div class="site__container"> <div class="grid"> <div class="grid__item"> <div class="scroll-top"> <span class="scroll-top--arrow"></span> <span class="scroll-top--title">Go up</span> </div> <div class="grid grid--middle"> <div class="grid__item lap--one-half"> <div class="site-footer__logo"> <a href="https://www.athinaikon-hotel.gr/" rel="home" title="Athinaikon Hotel" class="color--text"> <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://assets.builderassets.com/site-media/110/logo-3.png?format=png&quality=80&height=120" data-srcset="https://assets.builderassets.com/site-media/110/logo-3.png?format=png&quality=80&height=120" alt="Athinaikon Hotel" width="2070" height="635" class="logo"/> </a> </div> </div> <div class="grid__item lap--one-half"> <div class="site-footer__badges"> </div> </div> </div> </div> <div class="grid__item lap--one-third"> <div class="site-footer__details"> <span data-address> <a href="https://www.google.com/maps?ll=35.33505,25.141594&z=16&t=m&hl=el-GR&gl=GR&mapclient=embed&q=%CE%9B%CE%B5%CF%89%CF%86.+%CE%95%CE%B8.+%CE%91%CE%BD%CF%84%CE%B9%CF%83%CF%84%CE%AC%CF%83%CE%B5%CF%89%CF%82+89+%CE%97%CF%81%CE%AC%CE%BA%CE%BB%CE%B5%CE%B9%CE%BF+713+06" target="_blank" rel="noopener">89 Leof. Ethnikis Antistaseos</a>, 71306, Heraklion, Crete, Greece </span> </div> </div> <div class="grid__item lap--one-third"> <div class="menu"> <ul class="menu__list menu__list--level-0"> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/terms/" title="Terms & Conditions" class="menu__link"> Terms & Conditions </a> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/cookies-policy/" title="Cookies Policy" class="menu__link"> Cookies Policy </a> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/privacy-policy/" title="Privacy Policy" class="menu__link"> Privacy Policy </a> </li> <li class="menu__item"> <a href="https://www.athinaikon-hotel.gr/covid-19/" title="Health and Safety" class="menu__link"> Health and Safety </a> </li> </ul> </div> </div> <div class="grid__item lap--one-third"> <div class="social-media"> <span>Follow us on </span> <span class="social-media--item"> <a href="https://www.tripadvisor.com/ShowUserReviews-g189417-d623370-r801998293-Athinaikon_Hotel-Heraklion_Crete.html" title="TripAdvisor" target="_blank" rel="nofollow"> <svg width="36px" height="28px" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 28"> <path d="M10.172 15.578c0 0.812-0.656 1.469-1.453 1.469-0.812 0-1.469-0.656-1.469-1.469 0-0.797 0.656-1.453 1.469-1.453 0.797 0 1.453 0.656 1.453 1.453zM28.203 15.563c0 0.812-0.656 1.469-1.469 1.469s-1.469-0.656-1.469-1.469 0.656-1.453 1.469-1.453 1.469 0.641 1.469 1.453zM11.953 15.578c0-1.656-1.359-3.016-3.016-3.016-1.672 0-3.016 1.359-3.016 3.016 0 1.672 1.344 3.016 3.016 3.016 1.656 0 3.016-1.344 3.016-3.016zM29.969 15.563c0-1.656-1.344-3.016-3.016-3.016-1.656 0-3.016 1.359-3.016 3.016 0 1.672 1.359 3.016 3.016 3.016 1.672 0 3.016-1.344 3.016-3.016zM13.281 15.578c0 2.406-1.937 4.359-4.344 4.359s-4.359-1.953-4.359-4.359c0-2.391 1.953-4.344 4.359-4.344s4.344 1.953 4.344 4.344zM31.313 15.563c0 2.406-1.953 4.344-4.359 4.344-2.391 0-4.344-1.937-4.344-4.344s1.953-4.344 4.344-4.344c2.406 0 4.359 1.937 4.359 4.344zM16.25 15.609c0-3.984-3.234-7.219-7.219-7.219-3.969 0-7.203 3.234-7.203 7.219s3.234 7.219 7.203 7.219c3.984 0 7.219-3.234 7.219-7.219zM26.688 6.656c-2.578-1.125-5.484-1.734-8.687-1.734s-6.391 0.609-8.953 1.719c4.953 0.016 8.953 4.016 8.953 8.969 0-4.859 3.859-8.813 8.687-8.953zM34.172 15.609c0-3.984-3.219-7.219-7.203-7.219s-7.219 3.234-7.219 7.219 3.234 7.219 7.219 7.219 7.203-3.234 7.203-7.219zM30.016 6.766h5.984c-0.938 1.094-1.625 2.562-1.797 3.578 1.078 1.484 1.719 3.297 1.719 5.266 0 4.953-4.016 8.953-8.953 8.953-2.812 0-5.313-1.281-6.953-3.297 0 0-0.734 0.875-2.016 2.797-0.219-0.453-1.328-2.031-2-2.812-1.641 2.031-4.156 3.313-6.969 3.313-4.937 0-8.953-4-8.953-8.953 0-1.969 0.641-3.781 1.719-5.266-0.172-1.016-0.859-2.484-1.797-3.578h5.703c3.063-2.047 7.516-3.328 12.297-3.328s8.953 1.281 12.016 3.328z" fill="none"/> </svg> <span class="visuallyhidden">TripAdvisor</span> </a> </span> </div> </div> <div class="grid__item lap--one-half">
1 <div class="site-footer__copyright"> <span><a href="https://www.hotelwize.com" target="_blank" title="Hotelwize">Hotel website</a> by: HOTELWIZE</span> </div> </div> <div class="grid__item lap--one-half"> <div class="site-footer__copyright site-footer__copyright--right"> <span>2026 @ Athinaikon Hotel All rights reserved</span> <div>MHTE: 1039k012a0000400</div> <div>GCN: 121581827000</div> </div> </div> </div> </div> </footer></div>
1<script> var theme_config = { strings: { bookNow: 'Book now', readMore: 'Read More', close: 'Close' }, siteUrl: '//www.athinaikon-hotel.gr', assets: 'www.athinaikon-hotel.gr/assets', locale: 'en-US', hotelInfo: { locationLat: '35.3350495', locationLng: '25.1415935', } }; </script>
1
1<script src="/assets/js/main.js?v=3"></script>
1
1<script async defer src="/assets/js/tracking.js?v=3"></script>
1
vendor: 7,251 bytes, line 1
1<script data-script-id="openstreetmap-js"> { (()=>{var t={12:function(t,e){!function(t){"use strict";var e=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var e=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,e?this._withAnimation:this._noAnimation),this._markerCluster=e?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(t){if(t instanceof L.LayerGroup)return this.addLayers([t]);if(!t.getLatLng)return this._nonPointGroup.addLayer(t),this.fire("layeradd",{layer:t}),this;if(!this._map)return this._needsClustering.push(t),this.fire("layeradd",{layer:t}),this;if(this.hasLayer(t))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(t,this._maxZoom),this.fire("layeradd",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var e=t,i=this._zoom;if(t.__parent)for(;e.__parent._zoom>=i;)e=e.__parent;return this._currentShownBounds.contains(e.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,e):this._animationAddLayerNonAnimated(t,e)),this},removeLayer:function(t){return t instanceof L.LayerGroup?this.removeLayers([t]):t.getLatLng?this._map?t.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this.fire("layerremove",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),t.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(t)&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push({layer:t,latlng:t._latlng}),this.fire("layerremove",{layer:t}),this):(this._nonPointGroup.removeLayer(t),this.fire("layerremove",{layer:t}),this)},addLayers:function(t,e){if(!L.Util.isArray(t))return this.addLayer(t);var i,n=this._featureGroup,o=this._nonPointGroup,s=this.options.chunkedLoading,r=this.options.chunkInterval,a=this.options.chunkProgress,h=t.length,l=0,u=!0;if(this._map){var c=(new Date).getTime(),d=L.bind(function(){var _=(new Date).getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();l<h&&!(s&&l%200==0&&(new Date).getTime()-_>r);l++)if((i=t[l])instanceof L.LayerGroup)u&&(t=t.slice(),u=!1),this._extractNonGroupLayers(i,t),h=t.length;else if(i.getLatLng){if(!this.hasLayer(i)&&(this._addLayer(i,this._maxZoom),e||this.fire("layeradd",{layer:i}),i.__parent&&2===i.__parent.getChildCount())){var p=i.__parent.getAllChildMarkers(),m=p[0]===i?p[1]:p[0];n.removeLayer(m)}}else o.addLayer(i),e||this.fire("layeradd",{layer:i});a&&a(l,h,(new Date).getTime()-c),l===h?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var _=this._needsClustering;l<h;l++)(i=t[l])instanceof L.LayerGroup?(u&&(t=t.slice(),u=!1),this._extractNonGroupLayers(i,t),h=t.length):i.getLatLng?this.hasLayer(i)||_.push(i):o.addLayer(i);return this},removeLayers:function(t){var e,i,n=t.length,o=this._featureGroup,s=this._nonPointGroup,r=!0;if(!this._map){for(e=0;e<n;e++)(i=t[e])instanceof L.LayerGroup?(r&&(t=t.slice(),r=!1),this._extractNonGroupLayers(i,t),n=t.length):(this._arraySplice(this._needsClustering,i),s.removeLayer(i),this.hasLayer(i)&&this._needsRemoving.push({layer:i,latlng:i._latlng}),this.fire("layerremove",{layer:i}));return this}if(this._unspiderfy){this._unspiderfy();var a=t.slice(),h=n;for(e=0;e<h;e++)(i=a[e])instanceof L.LayerGroup?(this._extractNonGroupLayers(i,a),h=a.length):this._unspiderfyLayer(i)}for(e=0;e<n;e++)(i=t[e])instanceof L.LayerGroup?(r&&(t=t.slice(),r=!1),this._extractNonGroupLayers(i,t),n=t.length):i.__parent?(this._removeLayer(i,!0,!0),this.fire("layerremove",{layer:i}),o.hasLayer(i)&&(o.removeLayer(i),i.clusterShow&&i.clusterShow())):(s.removeLayer(i),this.fire("layerremove",{layer:i}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(t){t.off(this._childMarkerEventHandlers,this),delete t.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var t=new L.LatLngBounds;this._topClusterLevel&&t.extend(this._topClusterLevel._bounds);for(var e=this._needsClustering.length-1;e>=0;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var i,n,o,s=this._needsClustering.slice(),r=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(s),n=s.length-1;n>=0;n--){for(i=!0,o=r.length-1;o>=0;o--)if(r[o].layer===s[n]){i=!1;break}i&&t.call(e,s[n])}this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var t=[];return this.eachLayer(function(e){t.push(e)}),t},getLayer:function(t){var e=null;return t=parseInt(t,10),this.eachLayer(function(i){L.stamp(i)===t&&(e=i)}),e},hasLayer:function(t){if(!t)return!1;var e,i=this._needsClustering;for(e=i.length-1;e>=0;e--)if(i[e]===t)return!0;for(e=(i=this._needsRemoving).length-1;e>=0;e--)if(i[e].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){var i=this._map;"function"!=typeof e&&(e=function(){});var n=function(){!i.hasLayer(t)&&!i.hasLayer(t.__parent)||this._inZoomAnimation||(this._map.off("moveend",n,this),this.off("animationend",n,this),i.hasLayer(t)?e():t.__parent._icon&&(this.once("spiderfied",e,this),t.__parent.spiderfy()))};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",n,this),this._map.panTo(t.getLatLng())):(this._map.on("moveend",n,this),this.on("animationend",n,this),t.__parent.zoomToBounds())},onAdd:function(t){var e,i,n;if(this._map=t,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";
vendor: 5,066 bytes, line 1
1for(this._featureGroup.addTo(t),this._nonPointGroup.addTo(t),this._gridClusters||this._generateInitialClusters(),this._maxLat=t.options.crs.projection.MAX_LATITUDE,e=0,i=this._needsRemoving.length;e<i;e++)(n=this._needsRemoving[e]).newlatlng=n.layer._latlng,n.layer._latlng=n.latlng;for(e=0,i=this._needsRemoving.length;e<i;e++)n=this._needsRemoving[e],this._removeLayer(n.layer,!0),n.layer._latlng=n.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),i=this._needsClustering,this._needsClustering=[],this.addLayers(i,!0)},onRemove:function(t){t.off("zoomend",this._zoomEnd,this),t.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(t){for(var e=t;e&&!e._icon;)e=e.__parent;return e||null},_arraySplice:function(t,e){for(var i=t.length-1;i>=0;i--)if(t[i]===e)return t.splice(i,1),!0},_removeFromGridUnclustered:function(t,e){for(var i=this._map,n=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());e>=o&&n[e].removeObject(t,i.project(t.getLatLng(),e));e--);},_childMarkerDragStart:function(t){t.target.__dragStart=t.target._latlng},_childMarkerMoved:function(t){if(!this._ignoreMove&&!t.target.__dragStart){var e=t.target._popup&&t.target._popup.isOpen();this._moveChild(t.target,t.oldLatLng,t.latlng),e&&t.target.openPopup()}},_moveChild:function(t,e,i){t._latlng=e,this.removeLayer(t),t._latlng=i,this.addLayer(t)},_childMarkerDragEnd:function(t){var e=t.target.__dragStart;delete t.target.__dragStart,e&&this._moveChild(t.target,e,t.target._latlng)},_removeLayer:function(t,e,i){var n=this._gridClusters,o=this._gridUnclustered,s=this._featureGroup,r=this._map,a=Math.floor(this._map.getMinZoom());e&&this._removeFromGridUnclustered(t,this._maxZoom);var h,l=t.__parent,u=l._markers;for(this._arraySplice(u,t);l&&(l._childCount--,l._boundsNeedUpdate=!0,!(l._zoom<a));)e&&l._childCount<=1?(h=l._markers[0]===t?l._markers[1]:l._markers[0],n[l._zoom].removeObject(l,r.project(l._cLatLng,l._zoom)),o[l._zoom].addObject(h,r.project(h.getLatLng(),l._zoom)),this._arraySplice(l.__parent._childClusters,l),l.__parent._markers.push(h),h.__parent=l.__parent,l._icon&&(s.removeLayer(l),i||s.addLayer(h))):l._iconNeedsUpdate=!0,l=l.__parent;delete t.__parent},_isOrIsParent:function(t,e){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},fire:function(t,e,i){if(e&&e.layer instanceof L.MarkerCluster){if(e.originalEvent&&this._isOrIsParent(e.layer._icon,e.originalEvent.relatedTarget))return;t="cluster"+t}L.FeatureGroup.prototype.fire.call(this,t,e,i)},listens:function(t,e){return L.FeatureGroup.prototype.listens.call(this,t,e)||L.FeatureGroup.prototype.listens.call(this,"cluster"+t,e)},_defaultIconCreateFunction:function(t){var e=t.getChildCount(),i=" marker-cluster-";return i+=e<10?"small":e<100?"medium":"large",new L.DivIcon({html:"<div><span>"+e+"</span></div>",className:"marker-cluster"+i,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,i=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick,o=this.options.spiderfyOnEveryZoom;(e||n||o)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),i&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){var e=t.layer,i=e;if("clusterkeypress"!==t.type||!t.originalEvent||13===t.originalEvent.keyCode){for(;1===i._childClusters.length;)i=i._childClusters[0];i._zoom===this._maxZoom&&i._childCount===e._childCount&&this.options.spiderfyOnMaxZoom?e.spiderfy():this.options.zoomToBoundsOnClick&&e.zoomToBounds(),this.options.spiderfyOnEveryZoom&&e.spiderfy(),t.originalEvent&&13===t.originalEvent.keyCode&&this._map._container.focus()}},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),t.layer.getChildCount()>2&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this.options.spiderfyOnEveryZoom,o=this._map;(t||i||n)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),o.off("zoomend",this._hideCoverage,this))}
vendor: 4,878 bytes, line 1
1,_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var t=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),t),this._currentShownBounds=t}},_generateInitialClusters:function(){var t=Math.ceil(this._map.getMaxZoom()),e=Math.floor(this._map.getMinZoom()),i=this.options.maxClusterRadius,n=i;"function"!=typeof i&&(n=function(){return i}),null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var o=t;o>=e;o--)this._gridClusters[o]=new L.DistanceGrid(n(o)),this._gridUnclustered[o]=new L.DistanceGrid(n(o));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var i,n,o=this._gridClusters,s=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);e>=r;e--){i=this._map.project(t.getLatLng(),e);var a=o[e].getNearObject(i);if(a)return a._addChild(t),void(t.__parent=a);if(a=s[e].getNearObject(i)){var h=a.__parent;h&&this._removeLayer(a,!1);var l=new this._markerCluster(this,e,a,t);o[e].addObject(l,this._map.project(l._cLatLng,e)),a.__parent=l,t.__parent=l;var u=l;for(n=e-1;n>h._zoom;n--)u=new this._markerCluster(this,n,u),o[n].addObject(u,this._map.project(a.getLatLng(),n));return h._addChild(u),void this._removeFromGridUnclustered(a,e)}s[e].addObject(t,i)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()})},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;t<this._queue.length;t++)this._queue[t].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var t=Math.round(this._map._zoom);this._processQueue(),this._zoom<t&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,t)):this._zoom>t?(this._animationStart(),this._animationZoomOut(this._zoom,t)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(t){var e=this._maxLat;return void 0!==e&&(t.getNorth()>=e&&(t._northEast.lat=1/0),t.getSouth()<=-e&&(t._southWest.lat=-1/0)),t},_animationAddLayerNonAnimated:function(t,e){if(e===t)this._featureGroup.addLayer(t);else if(2===e._childCount){e._addToMap();var i=e.getAllChildMarkers();this._featureGroup.removeLayer(i[0]),this._featureGroup.removeLayer(i[1])}else e._updateIcon()},_extractNonGroupLayers:function(t,e){var i,n=t.getLayers(),o=0;for(e=e||[];o<n.length;o++)(i=n[o])instanceof L.LayerGroup?this._extractNonGroupLayers(i,e):e.push(i);return e},_overrideMarkerIcon:function(t){return t.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[t]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(t,e){this._animationAddLayerNonAnimated(t,e)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(t,e){var i,n=this._getExpandedVisibleBounds(),o=this._featureGroup,s=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(n,t,s,function(s){var r,a=s._latlng,h=s._markers;
vendor: 3,208 bytes, line 1
1for(n.contains(a)||(a=null),s._isSingleParent()&&t+1===e?(o.removeLayer(s),s._recursivelyAddChildrenToMap(null,e,n)):(s.clusterHide(),s._recursivelyAddChildrenToMap(a,e,n)),i=h.length-1;i>=0;i--)r=h[i],n.contains(r._latlng)||o.removeLayer(r)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(n,e),o.eachLayer(function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()}),this._topClusterLevel._recursively(n,t,e,function(t){t._recursivelyRestoreChildPositions(e)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(n,t,s,function(t){o.removeLayer(t),t.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){var i=this,n=this._featureGroup;n.addLayer(t),e!==t&&(e._childCount>2?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.clusterHide(),this._enqueue(function(){n.removeLayer(t),t.clusterShow(),i._animationEnd()})):(this._forceLayout(),i._animationStart(),i._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(t,e,i){var n=this._getExpandedVisibleBounds(),o=Math.floor(this._map.getMinZoom());t._recursivelyAnimateChildrenInAndAddSelfToMap(n,o,e+1,i);var s=this;this._forceLayout(),t._recursivelyBecomeVisible(n,i),this._enqueue(function(){if(1===t._childCount){var r=t._markers[0];this._ignoreMove=!0,r.setLatLng(r.getLatLng()),this._ignoreMove=!1,r.clusterShow&&r.clusterShow()}else t._recursively(n,i,o,function(t){t._recursivelyRemoveChildrenFromMap(n,o,e+1)});s._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(t,e,i,n){L.Marker.prototype.initialize.call(this,i?i._cLatLng||i.getLatLng():new L.LatLng(0,0),{icon:this,pane:t.options.clusterPane}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,i&&this._addChild(i),n&&this._addChild(n)},getAllChildMarkers:function(t,e){t=t||[];for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i].getAllChildMarkers(t,e);for(var n=this._markers.length-1;n>=0;n--)e&&this._markers[n].__dragStart||t.push(this._markers[n]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e,i=this._childClusters.slice(),n=this._group._map,o=n.getBoundsZoom(this._bounds),s=this._zoom+1,r=n.getZoom();i.length>0&&o>s;){s++;var a=[];for(e=0;e<i.length;e++)a=a.concat(i[e]._childClusters);i=a}o>
vendor: 10,850 bytes, line 1
1s?this._group._map.setView(this._latlng,s):o<=r?this._group._map.setView(this._latlng,r+1):this._group._map.fitBounds(this._bounds,t)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_setClusterCenter:function(t){this._cLatLng||(this._cLatLng=t._cLatLng||t._latlng)},_resetBounds:function(){var t=this._bounds;t._southWest&&(t._southWest.lat=1/0,t._southWest.lng=1/0),t._northEast&&(t._northEast.lat=-1/0,t._northEast.lng=-1/0)},_recalculateBounds:function(){var t,e,i,n,o=this._markers,s=this._childClusters,r=0,a=0,h=this._childCount;if(0!==h){for(this._resetBounds(),t=0;t<o.length;t++)i=o[t]._latlng,this._bounds.extend(i),r+=i.lat,a+=i.lng;for(t=0;t<s.length;t++)(e=s[t])._boundsNeedUpdate&&e._recalculateBounds(),this._bounds.extend(e._bounds),i=e._wLatLng,n=e._childCount,r+=i.lat*n,a+=i.lng*n;this._latlng=this._wLatLng=new L.LatLng(r/h,a/h),this._boundsNeedUpdate=!1}},_addToMap:function(t){t&&(this._backupLatlng=this._latlng,this.setLatLng(t)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(t,e,i){this._recursively(t,this._group._map.getMinZoom(),i-1,function(t){var i,n,o=t._markers;for(i=o.length-1;i>=0;i--)(n=o[i])._icon&&(n._setPos(e),n.clusterHide())},function(t){var i,n,o=t._childClusters;for(i=o.length-1;i>=0;i--)(n=o[i])._icon&&(n._setPos(e),n.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,i,n){this._recursively(t,n,e,function(o){o._recursivelyAnimateChildrenIn(t,o._group._map.latLngToLayerPoint(o.getLatLng()).round(),i),o._isSingleParent()&&i-1===n?(o.clusterShow(),o._recursivelyRemoveChildrenFromMap(t,e,i)):o.clusterHide(),o._addToMap()})},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,function(t){t.clusterShow()})},_recursivelyAddChildrenToMap:function(t,e,i){this._recursively(i,this._group._map.getMinZoom()-1,e,function(n){if(e!==n._zoom)for(var o=n._markers.length-1;o>=0;o--){var s=n._markers[o];i.contains(s._latlng)&&(t&&(s._backupLatlng=s.getLatLng(),s.setLatLng(t),s.clusterHide&&s.clusterHide()),n._group._featureGroup.addLayer(s))}},function(e){e._addToMap(t)})},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;e>=0;e--){var i=this._markers[e];i._backupLatlng&&(i.setLatLng(i._backupLatlng),delete i._backupLatlng)}if(t-1===this._zoom)for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n]._restorePosition();else for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,i,n){var o,s;this._recursively(t,e-1,i-1,function(t){for(s=t._markers.length-1;s>=0;s--)o=t._markers[s],n&&n.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())},function(t){for(s=t._childClusters.length-1;s>=0;s--)o=t._childClusters[s],n&&n.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())})},_recursively:function(t,e,i,n,o){var s,r,a=this._childClusters,h=this._zoom;if(e<=h&&(n&&n(this),o&&h===i&&o(this)),h<e||h<i)for(s=a.length-1;s>=0;s--)(r=a[s])._boundsNeedUpdate&&r._recalculateBounds(),t.intersects(r._bounds)&&r._recursively(t,e,i,n,o)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var t=this.options.opacity;return this.setOpacity(0),this.options.opacity=t,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(t){this._cellSize=t,this._sqCellSize=t*t,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(t,e){var i=this._getCoord(e.x),n=this._getCoord(e.y),o=this._grid,s=o[n]=o[n]||{},r=s[i]=s[i]||[],a=L.Util.stamp(t);this._objectPoint[a]=e,r.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var i,n,o=this._getCoord(e.x),s=this._getCoord(e.y),r=this._grid,a=r[s]=r[s]||{},h=a[o]=a[o]||[];for(delete this._objectPoint[L.Util.stamp(t)],i=0,n=h.length;i<n;i++)if(h[i]===t)return h.splice(i,1),1===n&&delete a[o],!0},eachObject:function(t,e){var i,n,o,s,r,a,h=this._grid;for(i in h)for(n in r=h[i])for(o=0,s=(a=r[n]).length;o<s;o++)t.call(e,a[o])&&(o--,s--)},getNearObject:function(t){var e,i,n,o,s,r,a,h,l=this._getCoord(t.x),u=this._getCoord(t.y),c=this._objectPoint,d=this._sqCellSize,_=null;for(e=u-1;e<=u+1;e++)if(o=this._grid[e])for(i=l-1;i<=l+1;i++)if(s=o[i])for(n=0,r=s.length;n<r;n++)a=s[n],((h=this._sqDist(c[L.Util.stamp(a)],t))<d||h<=d&&null===_)&&(d=h,_=a);return _},_getCoord:function(t){var e=Math.floor(t/this._cellSize);return isFinite(e)?e:t},_sqDist:function(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}},L.QuickHull={getDistant:function(t,e){var i=e[1].lat-e[0].lat;return(e[0].lng-e[1].lng)*(t.lat-e[0].lat)+i*(t.lng-e[0].lng)},findMostDistantPointFromBaseLine:function(t,e){var i,n,o,s=0,r=null,a=[];for(i=e.length-1;i>=0;i--)n=e[i],(o=this.getDistant(n,t))>0&&(a.push(n),o>s&&(s=o,r=n));return{maxPoint:r,newPoints:a}},buildConvexHull:function(t,e){var i=[],n=this.findMostDistantPointFromBaseLine(t,e);return n.maxPoint?i=(i=i.concat(this.buildConvexHull([t[0],n.maxPoint],n.newPoints))).concat(this.buildConvexHull([n.maxPoint,t[1]],n.newPoints)):[t[0]]},getConvexHull:function(t){var e,i=!1,n=!1,o=!1,s=!1,r=null,a=null,h=null,l=null,u=null,c=null;for(e=t.length-1;e>=0;e--){var d=t[e];(!1===i||d.lat>i)&&(r=d,i=d.lat),(!1===n||d.lat<n)&&(a=d,n=d.lat),(!1===o||d.lng>o)&&(h=d,o=d.lng),(!1===s||d.lng<s)&&(l=d,s=d.lng)}return n!==i?(c=a,u=r):(c=l,u=h),[].concat(this.buildConvexHull([c,u],t),this.buildConvexHull([u,c],t))}},L.MarkerCluster.include({getConvexHull:function(){var t,e,i=this.getAllChildMarkers(),n=[];for(e=i.length-1;e>=0;e--)t=i[e].getLatLng(),n.push(t);return L.QuickHull.getConvexHull(n)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var t,e=this.getAllChildMarkers(null,!0),i=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?t=this._group.options.spiderfyShapePositions(e.length,i):e.length>=this._circleSpiralSwitchover?t=this._generatePointsSpiral(e.length,i):(i.y+=10,t=this._generatePointsCircle(e.length,i)),this._animationSpiderfy(e,t)}},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){var i,n,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t)/this._2PI,s=this._2PI/t,r=[];for(o=Math.max(o,35),r.length=t,i=0;i<t;i++)n=this._circleStartAngle+i*s,r[i]=new L.Point(e.x+o*Math.cos(n),e.y+o*Math.sin(n))._round();return r},_generatePointsSpiral:function(t,e){var i,n=this._group.options.spiderfyDistanceMultiplier,o=n*this._spiralLengthStart,s=n*this._spiralFootSeparation,r=n*this._spiralLengthFactor*this._2PI,a=0,h=[];for(h.length=t,i=t;i>=0;i--)i<t&&(h[i]=new L.Point(e.x+o*Math.cos(a),e.y+o*Math.sin(a))._round()),o+=r/(a+=s/o+5e-4*i);return h},_noanimationUnspiderfy:function(){var t,e,i=this._group,n=i._map,o=i._featureGroup,s=this.getAllChildMarkers(null,!0);for(i._ignoreMove=!0,this.setOpacity(1),e=s.length-1;e>=0;e--)t=s[e],o.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(n.removeLayer(t._spiderLeg),delete t._spiderLeg);i.fire("unspiderfied",{cluster:this,markers:s}),i._ignoreMove=!1,i._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(t,e){var i,n,o,s,r=this._group,a=r._map,h=r._featureGroup,l=this._group.options.spiderLegPolylineOptions;for(r._ignoreMove=!0,i=0;i<t.length;i++)s=a.layerPointToLatLng(e[i]),n=t[i],o=new L.Polyline([this._latlng,s],l),a.addLayer(o),n._spiderLeg=o,n._preSpiderfyLatlng=n._latlng,n.setLatLng(s),n.setZIndexOffset&&n.setZIndexOffset(1e6),h.addLayer(n);this.setOpacity(.3),r._ignoreMove=!1,r.fire("spiderfied",{cluster:this,markers:t})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(t,e){var i,n,o,s,r,a,h=this,l=this._group,u=l._map,c=l._featureGroup,d=this._latlng,_=u.latLngToLayerPoint(d),p=L.Path.SVG,m=L.extend({},this._group.options.spiderLegPolylineOptions),f=m.opacity;for(void 0===f&&(f=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),p?(m.opacity=0,m.className=(m.className||"")+" leaflet-cluster-spider-leg"):m.opacity=f,l._ignoreMove=!0,i=0;i<t.length;i++)n=t[i],a=u.layerPointToLatLng(e[i]),o=new L.Polyline([d,a],m),u.addLayer(o),n._spiderLeg=o,p&&(r=(s=o._path).getTotalLength()+.1,s.style.strokeDasharray=r,s.style.strokeDashoffset=r),n.setZIndexOffset&&n.setZIndexOffset(1e6),n.clusterHide&&n.clusterHide(),c.addLayer(n),n._setPos&&n._setPos(_);for(l._forceLayout(),l._animationStart(),i=t.length-1;i>=0;i--)a=u.layerPointToLatLng(e[i]),(n=t[i])._preSpiderfyLatlng=n._latlng,n.setLatLng(a),n.clusterShow&&n.clusterShow(),p&&((s=(o=n._spiderLeg)._path).style.strokeDashoffset=0,o.setStyle({opacity:f}));this.setOpacity(.3),l._ignoreMove=!1,setTimeout(function(){l._animationEnd(),l.fire("spiderfied",{cluster:h,markers:t})},200)},_animationUnspiderfy:function(t){var e,i,n,o,s,r,a=this,h=this._group,l=h._map,u=h._featureGroup,c=t?l._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):l.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),_=L.Path.SVG;for(h._ignoreMove=!0,h._animationStart(),this.setOpacity(1),i=d.length-1;i>=0;i--)(e=d[i])._preSpiderfyLatlng&&(e.closePopup(),e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,r=!0,e._setPos&&(e._setPos(c),r=!1),e.clusterHide&&(e.clusterHide(),r=!1),r&&u.removeLayer(e),_&&(s=(o=(n=e._spiderLeg)._path).getTotalLength()+.1,o.style.strokeDashoffset=s,n.setStyle({opacity:0}
1)));h._ignoreMove=!1,setTimeout(function(){var t=0;for(i=d.length-1;i>=0;i--)(e=d[i])._spiderLeg&&t++;for(i=d.length-1;i>=0;i--)(e=d[i])._spiderLeg&&(e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),t>1&&u.removeLayer(e),l.removeLayer(e._spiderLeg),delete e._spiderLeg);h._animationEnd(),h.fire("unspiderfied",{cluster:a,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(t){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(t))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(t){this._spiderfied&&this._spiderfied.unspiderfy(t)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(t){t._spiderLeg&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),this._map.removeLayer(t._spiderLeg),delete t._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(t){return t?t instanceof L.MarkerClusterGroup?t=t._topClusterLevel.getAllChildMarkers():t instanceof L.LayerGroup?t=t._layers:t instanceof L.MarkerCluster?t=t.getAllChildMarkers():t instanceof L.Marker&&(t=[t]):t=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(t),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(t),this},_flagParentsIconsNeedUpdate:function(t){var e,i;for(e in t)for(i=t[e].__parent;i;)i._iconNeedsUpdate=!0,i=i.__parent},_refreshSingleMarkerModeMarkers:function(t){var e,i;for(e in t)i=t[e],this.hasLayer(i)&&i.setIcon(this._overrideMarkerIcon(i))}}),L.Marker.include({refreshIconOptions:function(t,e){var i=this.options.icon;return L.setOptions(i,t),this.setIcon(i),e&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),t.MarkerClusterGroup=e,t.MarkerCluster=i,Object.defineProperty(t,"__esModule",{value:!0})}(e)},32:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MapMarker=e.MapMarkerData=void 0;const n=i(572);e.MapMarkerData=class{constructor(){this.lat=0,this.lng=0,this.content="",this.url="",this.excludeFromCluster=!1}};e.MapMarker=class{constructor(t=0,e=0){this.content="",this.url="",this.icon=null,this.excludeFromCluster=!1,this._latitude=0,this._longitude=0,this.setLat(t),this.setLng(e)}setLat(t){this._latitude=("string"==typeof t?parseFloat(t):t)||0}setLng(t){this._longitude=("string"==typeof t?parseFloat(t):t)||0}getLat(){return this._latitude}getLng(){return this._longitude}parseData(t){this.id=t.id,this.content=t.content,this.url=t.url,this.setLat(t.lat),this.setLng(t.lng),this.excludeFromCluster=void 0!==t.excludeFromCluster&&t.excludeFromCluster;let e=t.icon;e&&(this.icon=new n.MapMarkerIcon(e.url,e.width,e.height))}hasContent(){return void 0!==this.content&&null!=this.content&&this.content.length>0}}},93:function(t,e){!function(t){"use strict";var e="1.9.4";function i(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(e in o=arguments[i])t[e]=o[e];return t}var n=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function o(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}}var s=0;function r(t){return"_leaflet_id"in t||(t._leaflet_id=++s),t._leaflet_id}function a(t,e,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)},s}
vendor: 10,777 bytes, line 1
1function h(t,e,i){var n=e[1],o=e[0],s=n-o;return t===n&&i?t:((t-o)%s+s)%s+o}function l(){return!1}function u(t,e){if(!1===e)return t;var i=Math.pow(10,void 0===e?6:e);return Math.round(t*i)/i}function c(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function d(t){return c(t).split(/\s+/)}function _(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?n(t.options):{}),e)t.options[i]=e[i];return t.options}function p(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}var m=/\{ *([\w_ -]+) *\}/g;function f(t,e){return t.replace(m,function(t,i){var n=e[i];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(e)),n})}var g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var y="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function x(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function b(t){var e=+new Date,i=Math.max(0,16-(e-w));return w=e+i,window.setTimeout(t,i)}var P=window.requestAnimationFrame||x("RequestAnimationFrame")||b,M=window.cancelAnimationFrame||x("CancelAnimationFrame")||x("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function C(t,e,i){if(!i||P!==b)return P.call(window,o(t,e));t.call(e)}function k(t){t&&M.call(window,t)}var T={__proto__:null,extend:i,create:n,bind:o,get lastId(){return s},stamp:r,throttle:a,wrapNum:h,falseFn:l,formatNum:u,trim:c,splitWords:d,setOptions:_,getParamString:p,template:f,isArray:g,indexOf:v,emptyImageUrl:y,requestFn:P,cancelFn:M,requestAnimFrame:C,cancelAnimFrame:k};function z(){}function S(t){if("undefined"!=typeof L&&L&&L.Mixin){t=g(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}z.extend=function(t){var e=function(){_(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},o=e.__super__=this.prototype,s=n(o);for(var r in s.constructor=e,e.prototype=s,this)Object.prototype.hasOwnProperty.call(this,r)&&"prototype"!==r&&"__super__"!==r&&(e[r]=this[r]);return t.statics&&i(e,t.statics),t.includes&&(S(t.includes),i.apply(null,[s].concat(t.includes))),i(s,t),delete s.statics,delete s.includes,s.options&&(s.options=o.options?n(o.options):{},i(s.options,t.options)),s._initHooks=[],s.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=s._initHooks.length;t<e;t++)s._initHooks[t].call(this)}},e},z.include=function(t){var e=this.prototype.options;return i(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},z.mergeOptions=function(t){return i(this.prototype.options,t),this},z.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var O={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,s=(t=d(t)).length;o<s;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(arguments.length)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else{t=d(t);for(var o=1===arguments.length,s=0,r=t.length;s<r;s++)o?this._off(t[s]):this._off(t[s],e,i)}else delete this._events;return this},_on:function(t,e,i,n){if("function"==typeof e){if(!1===this._listens(t,e,i)){i===this&&(i=void 0);var o={fn:e,ctx:i};n&&(o.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(o)}}else console.warn("wrong listener type: "+typeof e)},_off:function(t,e,i){var n,o,s;if(this._events&&(n=this._events[t]))if(1!==arguments.length)if("function"==typeof e){var r=this._listens(t,e,i);if(!1!==r){var a=n[r];this._firingCount&&(a.fn=l,this._events[t]=n=n.slice()),n.splice(r,1)}}else console.warn("wrong listener type: "+typeof e);else{if(this._firingCount)for(o=0,s=n.length;o<s;o++)n[o].fn=l;delete this._events[t]}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var h=s[r],l=h.fn;h.once&&this.off(t,l,h.ctx),l.call(h.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,e,i,n){"string"!=typeof t&&console.warn('"string" type argument expected');var o=e;"function"!=typeof e&&(n=!!e,o=void 0,i=void 0);var s=this._events&&this._events[t];if(s&&s.length&&!1!==this._listens(t,o,i))return!0;if(n)for(var r in this._eventParents)if(this._eventParents[r].listens(t,e,i,n))return!0;return!1},_listens:function(t,e,i){if(!this._events)return!1;var n=this._events[t]||[];if(!e)return!!n.length;i===this&&(i=void 0);for(var o=0,s=n.length;o<s;o++)if(n[o].fn===e&&n[o].ctx===i)return o;return!1},once:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e,!0);else for(var o=0,s=(t=d(t)).length;o<s;o++)this._on(t[o],e,i,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[r(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[r(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};O.addEventListener=O.on,O.removeEventListener=O.clearAllEventListeners=O.off,O.addOneTimeEventListener=O.once,O.fireEvent=O.fire,O.hasEventListeners=O.listens;var Z=z.extend(O);function E(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var A=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function I(t,e,i){return t instanceof E?t:g(t)?new E(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new E(t.x,t.y):new E(t,e,i)}function B(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function D(t,e){return!t||t instanceof B?t:new B(t,e)}function N(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function R(t,e){return t instanceof N?t:new N(t,e)}function j(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function H(t,e,i){return t instanceof j?t:g(t)&&"object"!=typeof t[0]?3===t.length?new j(t[0],t[1],t[2]):2===t.length?new j(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new j(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new j(t,e,i)}E.prototype={clone:function(){return new E(this.x,this.y)},add:function(t){return this.clone()._add(I(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(I(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new E(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new E(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=A(this.x),this.y=A(this.y),this},distanceTo:function(t){var e=(t=I(t)).x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return(t=I(t)).x===this.x&&t.y===this.y},contains:function(t){return t=I(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},B.prototype={extend:function(t){var e,i;if(!t)return this;if(t instanceof E||"number"==typeof t[0]||"x"in t)e=i=I(t);else if(e=(t=D(t)).min,i=t.max,!e||!i)return this;return this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(i.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(i.y,this.max.y)):(this.min=e.clone(),this.max=i.clone()),this},getCenter:function(t){return I((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return I(this.min.x,this.max.y)},getTopRight:function(){return I(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return(t="number"==typeof t[0]||t instanceof E?I(t):D(t))instanceof B?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=D(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return s&&r},overlaps:function(t){t=D(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>e.x&&n.x<i.x,r=o.y>e.y&&n.y<i.y;return s&&r},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,i=this.max,n=Math.abs(e.x-i.x)*t,o=Math.abs(e.y-i.y)*t;return D(I(e.x-n,e.y-o),I(i.x+n,i.y+o))},equals:function(t){return!!t&&(t=D(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},N.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof j)e=t,i=t;else{if(!(t instanceof N))return t?this.extend(H(t)||R(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new j(e.lat,e.lng),this._northEast=new j(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,o=Math.abs(e.lng-i.lng)*t;return new N(new j(e.lat-n,e.lng-o),new j(i.lat+n,i.lng+o))},getCenter:function(){return new j((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new j(this.getNorth(),this.getWest())},getSouthEast:function(){return new j(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,435 bytes, line 1
1,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof j||"lat"in t?H(t):R(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof N?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=R(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return s&&r},overlaps:function(t){t=R(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>e.lat&&n.lat<i.lat,r=o.lng>e.lng&&n.lng<i.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=R(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},j.prototype={equals:function(t,e){return!!t&&(t=H(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+u(this.lat,t)+", "+u(this.lng,t)+")"},distanceTo:function(t){return G.distance(this,H(t))},wrap:function(){return G.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return R([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new j(this.lat,this.lng,this.alt)}};var U,F={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,i=this.scale(t);return new B(this.transformation.transform(e.min,i),this.transformation.transform(e.max,i))},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?h(t.lng,this.wrapLng,!0):t.lng;return new j(this.wrapLat?h(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,o=e.lng-i.lng;if(0===n&&0===o)return t;
vendor: 8,736 bytes, line 1
1var s=t.getSouthWest(),r=t.getNorthEast();return new N(new j(s.lat-n,s.lng-o),new j(r.lat-n,r.lng-o))}},G=i({},F,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin((e.lat-t.lat)*i/2),r=Math.sin((e.lng-t.lng)*i/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,h=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*h}}),W=6378137,V={R:W,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),o=Math.sin(n*e);return new E(this.R*t.lng*e,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var e=180/Math.PI;return new j((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(U=W*Math.PI,new B([-U,-U],[U,U]))};function q(t,e,i,n){if(g(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=i,this._d=n}function K(t,e,i,n){return new q(t,e,i,n)}q.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new E((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var Y=i({},G,{code:"EPSG:3857",projection:V,transformation:function(){var t=.5/(Math.PI*V.R);return K(t,.5,-t,.5)}()}),X=i({},Y,{code:"EPSG:900913"});function J(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function $(t,e){var i,n,o,s,r,a,h="";for(i=0,o=t.length;i<o;i++){for(n=0,s=(r=t[i]).length;n<s;n++)h+=(n?"L":"M")+(a=r[n]).x+" "+a.y;h+=e?Nt.svg?"z":"x":""}return h||"M0 0"}var Q,tt=document.documentElement.style,et="ActiveXObject"in window,it=et&&!document.addEventListener,nt="msLaunchUri"in navigator&&!("documentMode"in document),ot=Dt("webkit"),st=Dt("android"),rt=Dt("android 2")||Dt("android 3"),at=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ht=st&&Dt("Google")&&at<537&&!("AudioNode"in window),lt=!!window.opera,ut=!nt&&Dt("chrome"),ct=Dt("gecko")&&!ot&&!lt&&!et,dt=!ut&&Dt("safari"),_t=Dt("phantom"),pt="OTransition"in tt,mt=0===navigator.platform.indexOf("Win"),ft=et&&"transition"in tt,gt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!rt,vt="MozPerspective"in tt,yt=!window.L_DISABLE_3D&&(ft||gt||vt)&&!pt&&!_t,Lt="undefined"!=typeof orientation||Dt("mobile"),xt=Lt&&ot,wt=Lt&>,bt=!window.PointerEvent&&window.MSPointerEvent,Pt=!(!window.PointerEvent&&!bt),Mt="ontouchstart"in window||!!window.TouchEvent,Ct=!window.L_NO_TOUCH&&(Mt||Pt),kt=Lt&<,Tt=Lt&&ct,zt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,St=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(t){}return t}(),Ot=!!document.createElement("canvas").getContext,Zt=!(!document.createElementNS||!J("svg").createSVGRect),Et=!!Zt&&((Q=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(Q.firstChild&&Q.firstChild.namespaceURI)),At=!Zt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}(),It=0===navigator.platform.indexOf("Mac"),Bt=0===navigator.platform.indexOf("Linux");function Dt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Nt={ie:et,ielt9:it,edge:nt,webkit:ot,android:st,android23:rt,androidStock:ht,opera:lt,chrome:ut,gecko:ct,safari:dt,phantom:_t,opera12:pt,win:mt,ie3d:ft,webkit3d:gt,gecko3d:vt,any3d:yt,mobile:Lt,mobileWebkit:xt,mobileWebkit3d:wt,msPointer:bt,pointer:Pt,touch:Ct,touchNative:Mt,mobileOpera:kt,mobileGecko:Tt,retina:zt,passiveEvents:St,canvas:Ot,svg:Zt,vml:At,inlineSvg:Et,mac:It,linux:Bt},Rt=Nt.msPointer?"MSPointerDown":"pointerdown",jt=Nt.msPointer?"MSPointerMove":"pointermove",Ht=Nt.msPointer?"MSPointerUp":"pointerup",Ut=Nt.msPointer?"MSPointerCancel":"pointercancel",Ft={touchstart:Rt,touchmove:jt,touchend:Ht,touchcancel:Ut},Gt={touchstart:te,touchmove:Qt,touchend:Qt,touchcancel:Qt},Wt={},Vt=!1;function qt(t,e,i){return"touchstart"===e&&$t(),Gt[e]?(i=Gt[e].bind(this,i),t.addEventListener(Ft[e],i,!1),i):(console.warn("wrong event specified:",e),l)}function Kt(t,e,i){Ft[e]?t.removeEventListener(Ft[e],i,!1):console.warn("wrong event specified:",e)}function Yt(t){Wt[t.pointerId]=t}function Xt(t){Wt[t.pointerId]&&(Wt[t.pointerId]=t)}function Jt(t){delete Wt[t.pointerId]}function $t(){Vt||(document.addEventListener(Rt,Yt,!0),document.addEventListener(jt,Xt,!0),document.addEventListener(Ht,Jt,!0),document.addEventListener(Ut,Jt,!0),Vt=!0)}function Qt(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var i in e.touches=[],Wt)e.touches.push(Wt[i]);e.changedTouches=[e],t(e)}}function te(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&Ye(e),Qt(t,e)}function ee(t){var e,i,n={};for(i in t)e=t[i],n[i]=e&&e.bind?e.bind(t):e;return t=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var ie=200;function ne(t,e){t.addEventListener("dblclick",e);var i,n=0;function o(t){if(1===t.detail){if("mouse"!==t.pointerType&&(!t.sourceCapabilities||t.sourceCapabilities.firesTouchEvents)){var o=Je(t);if(!o.some(function(t){return t instanceof HTMLLabelElement&&t.attributes.for})||o.some(function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement})){var s=Date.now();s-n<=ie?2===++i&&e(ee(t)):i=1,n=s}}}else i=t.detail}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}function oe(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}var se,re,ae,he,le,ue=ke(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ce=ke(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),de="webkitTransition"===ce||"OTransition"===ce?ce+"End":"transitionend";function _e(t){return"string"==typeof t?document.getElementById(t):t}function pe(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function me(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function fe(t){var e=t.parentNode;e&&e.removeChild(t)}function ge(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ve(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ye(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function Le(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=Pe(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function xe(t,e){if(void 0!==t.classList)for(var i=d(e),n=0,o=i.length;n<o;n++)t.classList.add(i[n]);else if(!Le(t,e)){var s=Pe(t);be(t,(s?s+" ":"")+e)}}function we(t,e){void 0!==t.classList?t.classList.remove(e):be(t,c((" "+Pe(t)+" ").replace(" "+e+" "," ")))}function be(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function Pe(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function Me(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&Ce(t,e)}function Ce(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}function ke(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function Te(t,e,i){var n=e||new E(0,0);t.style[ue]=(Nt.ie3d?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function ze(t,e){t._leaflet_pos=e,Nt.any3d?Te(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function Se(t){return t._leaflet_pos||new E(0,0)}if("onselectstart"in document)se=function(){Re(window,"selectstart",Ye)},re=function(){He(window,"selectstart",Ye)};else{var Oe=ke(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);se=function(){if(Oe){var t=document.documentElement.style;ae=t[Oe],t[Oe]="none"}},re=function(){Oe&&(document.documentElement.style[Oe]=ae,ae=void 0)}}function Ze(){Re(window,"dragstart",Ye)}function Ee(){He(window,"dragstart",Ye)}function Ae(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Ie(),he=t,le=t.style.outlineStyle,t.style.outlineStyle="none",Re(window,"keydown",Ie))}function Ie(){he&&(he.style.outlineStyle=le,he=void 0,le=void 0,He(window,"keydown",Ie))}function Be(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function De(t){var e=t.getBoundingClientRect();
vendor: 1,064 bytes, line 1
1return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Ne={__proto__:null,TRANSFORM:ue,TRANSITION:ce,TRANSITION_END:de,get:_e,getStyle:pe,create:me,remove:fe,empty:ge,toFront:ve,toBack:ye,hasClass:Le,addClass:xe,removeClass:we,setClass:be,getClass:Pe,setOpacity:Me,testProp:ke,setTransform:Te,setPosition:ze,getPosition:Se,get disableTextSelection(){return se},get enableTextSelection(){return re},disableImageDrag:Ze,enableImageDrag:Ee,preventOutline:Ae,restoreOutline:Ie,getSizedParentNode:Be,getScale:De};function Re(t,e,i,n){if(e&&"object"==typeof e)for(var o in e)Ge(t,o,e[o],i);else for(var s=0,r=(e=d(e)).length;s<r;s++)Ge(t,e[s],i,n);return this}var je="_leaflet_events";function He(t,e,i,n){if(1===arguments.length)Ue(t),delete t[je];else if(e&&"object"==typeof e)for(var o in e)We(t,o,e[o],i);else if(e=d(e),2===arguments.length)Ue(t,function(t){return-1!==v(e,t)});else for(var s=0,r=e.length;s<r;s++)We(t,e[s],i,n);return this}function Ue(t,e){for(var i in t[je]){var n=i.split(/\d/)[0];e&&!e(n)||We(t,n,null,null,i)}}
vendor: 88,883 bytes, line 1
1var Fe={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Ge(t,e,i,n){var o=e+r(i)+(n?"_"+r(n):"");if(t[je]&&t[je][o])return this;var s=function(e){return i.call(n||t,e||window.event)},a=s;!Nt.touchNative&&Nt.pointer&&0===e.indexOf("touch")?s=qt(t,e,s):Nt.touch&&"dblclick"===e?s=ne(t,s):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Fe[e]||e,s,!!Nt.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(s=function(e){e=e||window.event,ei(t,e)&&a(e)},t.addEventListener(Fe[e],s,!1)):t.addEventListener(e,a,!1):t.attachEvent("on"+e,s),t[je]=t[je]||{},t[je][o]=s}function We(t,e,i,n,o){o=o||e+r(i)+(n?"_"+r(n):"");var s=t[je]&&t[je][o];if(!s)return this;!Nt.touchNative&&Nt.pointer&&0===e.indexOf("touch")?Kt(t,e,s):Nt.touch&&"dblclick"===e?oe(t,s):"removeEventListener"in t?t.removeEventListener(Fe[e]||e,s,!1):t.detachEvent("on"+e,s),t[je][o]=null}function Ve(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function qe(t){return Ge(t,"wheel",Ve),this}function Ke(t){return Re(t,"mousedown touchstart dblclick contextmenu",Ve),t._leaflet_disable_click=!0,this}function Ye(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Xe(t){return Ye(t),Ve(t),this}function Je(t){if(t.composedPath)return t.composedPath();for(var e=[],i=t.target;i;)e.push(i),i=i.parentNode;return e}function $e(t,e){if(!e)return new E(t.clientX,t.clientY);var i=De(e),n=i.boundingClientRect;return new E((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}var Qe=Nt.linux&&Nt.chrome?window.devicePixelRatio:Nt.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function ti(t){return Nt.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Qe: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}function ei(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var ii={__proto__:null,on:Re,off:He,stopPropagation:Ve,disableScrollPropagation:qe,disableClickPropagation:Ke,preventDefault:Ye,stop:Xe,getPropagationPath:Je,getMousePosition:$e,getWheelDelta:ti,isExternalTarget:ei,addListener:Re,removeListener:He},ni=Z.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Se(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=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),ze(this._el,i),this.fire("step")},_complete:function(){k(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),oi=Z.extend({options:{crs:Y,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=_(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=o(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(H(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ce&&Nt.any3d&&!Nt.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Re(this._proxy,de,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(H(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,e,n.pan&&n.pan.noMoveStart),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(Nt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(Nt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),s=(t instanceof E?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():R(t);var i=I(e.paddingTopLeft||e.padding||[0,0]),n=I(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));if((o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var s=n.subtract(i).divideBy(2),r=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(a).divideBy(2).add(s),o),zoom:o}},fitBounds:function(t,e){if(!(t=R(t)).isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=I(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new ni,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){xe(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,i){if(!1===(i=i||{}).animate||!Nt.any3d)return this.setView(t,e,i);this._stop();var n=this.project(this.getCenter()),o=this.project(t),s=this.getSize(),r=this._zoom;t=H(t),e=void 0===e?r:e;var a=Math.max(s.x,s.y),h=a*this.getZoomScale(r,e),l=o.distanceTo(n)||1,u=1.42,c=u*u;function d(t){var e=(h*h-a*a+(t?-1:1)*c*c*l*l)/(2*(t?h:a)*c*l),i=Math.sqrt(e*e+1)-e;return i<1e-9?-18:Math.log(i)}function _(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}function m(t){return _(t)/p(t)}var f=d(0);function g(t){return a*(p(f)/p(f+u*t))}function v(t){return a*(p(f)*m(f+u*t)-_(f))/c}function y(t){return 1-Math.pow(1-t,1.5)}var L=Date.now(),x=(d(1)-f)/u,w=i.duration?1e3*i.duration:1e3*x*.8;function b(){var i=(Date.now()-L)/w,s=y(i)*x;i<=1?(this._flyToFrame=C(b,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(v(s)/l)),r),this.getScaleZoom(a/g(s),r),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}return this._moveStart(!0,i.noMoveStart),b.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return t=R(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,R(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=I((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=I(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),s=this.project(t),r=this.getPixelBounds(),a=D([r.min.add(i),r.max.subtract(n)]),h=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var l=s.subtract(a.getCenter()),u=a.extend(s).getSize().subtract(h);o.x+=l.x<0?-u.x:u.x,o.y+=l.y<0?-u.y:u.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),s=e.divideBy(2).round(),r=n.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):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=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o(this._handleGeolocationResponse,this),n=o(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,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){if(this._container._leaflet_id){var e=t.code,i=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: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=new j(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:e,bounds:i,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire("locationfound",s)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&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(),fe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(k(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)fe(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=me("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new N(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,i){t=R(t),i=I(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(i),l=D(this.project(a,n),this.project(r,n)).getSize(),u=Nt.any3d?this.options.zoomSnap:1,c=h.x/l.x,d=h.y/l.y,_=e?Math.max(c,d):Math.min(c,d);return n=this.getScaleZoom(_,n),u&&(n=Math.round(n/(u/100))*(u/100),n=e?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new E(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new B(i,i.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 i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(H(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(I(t),e)},layerPointToLatLng:function(t){var e=I(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(H(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(H(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(R(t))},distance:function(t,e){return this.options.crs.distance(H(t),H(e))},containerPointToLayerPoint:function(t){return I(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return I(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(I(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(t)))},mouseEventToContainerPoint:function(t){return $e(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=_e(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Re(e,"scroll",this._onScroll,this),this._containerId=r(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Nt.any3d,xe(t,"leaflet-container"+(Nt.touch?" leaflet-touch":"")+(Nt.retina?" leaflet-retina":"")+(Nt.ielt9?" leaflet-oldie":"")+(Nt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=pe(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==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),ze(this._mapPane,new E(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(xe(t.markerPane,"leaflet-zoom-hide"),xe(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){ze(this._mapPane,new E(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o,i)._move(t,e)._moveEnd(o),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,i,n){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return k(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ze(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[r(this._container)]=this;var e=t?He:Re;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),Nt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){k(this._resizeRequest),this._resizeRequest=C(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 i,n=[],o="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,a=!1;s;){if((i=this._targets[r(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(o&&!ei(s,t))break;if(n.push(i),o)break}if(s===this._container)break;s=s.parentNode}return n.length||a||o||!this.listens(e,!0)||(n=[this]),n},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e))){var i=t.type;"mousedown"===i&&Ae(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}var s=this._findEventTargets(t,e);if(n){for(var r=[],a=0;a<n.length;a++)n[a].listens(e,!0)&&r.push(n[a]);s=r.concat(s)}if(s.length){"contextmenu"===e&&Ye(t);var h=s[0],l={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var u=h.getLatLng&&(!h._radius||h._radius<=10);l.containerPoint=u?this.latLngToContainerPoint(h.getLatLng()):this.mouseEventToContainerPoint(t),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=u?h.getLatLng():this.layerPointToLatLng(l.layerPoint)}for(a=0;a<s.length;a++)if(s[a].fire(e,l,!0),l.originalEvent._stopped||!1===s[a].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return Se(this._mapPane)||new E(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return D([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),o=this.getSize().divideBy(2),s=new B(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,i,e);return Math.abs(r.x)<=1&&Math.abs(r.y)<=1?t:this.unproject(n.add(r),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new B(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=D(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new E(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=Nt.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){we(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i)||(this.panBy(i,e),0))},_createAnimProxy:function(){var t=this._proxy=me("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=ue,i=this._proxy.style[e];Te(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){fe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();Te(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,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o)||(C(function(){this._moveStart(!0,i.noMoveStart||!1)._animateZoom(t,e,!0)},this),0))},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,xe(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&we(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function si(t,e){return new oi(t,e)}var ri=z.extend({options:{position:"topright"},initialize:function(t){_(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),i=this.getPosition(),n=t._controlCorners[i];return xe(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(fe(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()}}),ai=function(t){return new ri(t)};oi.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=me("div",e+"control-container",this._container);function n(n,o){var s=e+n+" "+e+o;t[n+o]=me("div",s,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)fe(this._controlCorners[t]);fe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var hi=ri.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in _(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return ri.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(r(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){xe(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(xe(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):we(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return we(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=me("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ke(e),qe(e);var n=this._section=me("section",t+"-list");i&&(this._map.on("click",this.collapse,this),Re(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var o=this._layersLink=me("a",t+"-toggle",e);o.href="#",o.title="Layers",o.setAttribute("role","button"),Re(o,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){Ye(t),this._expandSafely()}},this),i||this.expand(),this._baseLayersList=me("div",t+"-base",n),this._separator=me("div",t+"-separator",n),this._overlaysList=me("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&r(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(o(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ge(this._baseLayersList),ge(this._overlaysList),this._layerControlInputs=[];var t,e,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&o>1,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(r(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+r(this),n),this._layerControlInputs.push(e),e.layerId=r(t.layer),Re(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("span");return i.appendChild(s),s.appendChild(e),s.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){if(!this._preventClick){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=i.length-1;s>=0;s--)t=i[s],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;o>=0;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,Re(t,"click",Ye),this.expand();var e=this;setTimeout(function(){He(t,"click",Ye),e._preventClick=!1})}}),li=function(t,e,i){return new hi(t,e,i)},ui=ri.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=me("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},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._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var s=me("a",i,n);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),Ke(s),Re(s,"click",Xe),Re(s,"click",o,this),Re(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";we(this._zoomInButton,e),we(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(xe(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(xe(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});oi.mergeOptions({zoomControl:!0}),oi.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ui,this.addControl(this.zoomControl))});var ci=function(t){return new ui(t)},di=ri.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=me("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=me("div",e,i)),t.imperial&&(this._iScale=me("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_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),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1)}}),_i=function(t){return new di(t)},pi='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',mi=ri.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Nt.inlineSvg?pi+" ":"")+"Leaflet</a>"},initialize:function(t){_(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=me("div","leaflet-control-attribution"),Ke(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},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 i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' <span aria-hidden="true">|</span> ')}}});oi.mergeOptions({attributionControl:!0}),oi.addInitHook(function(){this.options.attributionControl&&(new mi).addTo(this)});var fi=function(t){return new mi(t)};ri.Layers=hi,ri.Zoom=ui,ri.Scale=di,ri.Attribution=mi,ai.layers=li,ai.zoom=ci,ai.scale=_i,ai.attribution=fi;var gi=z.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}});gi.addTo=function(t,e){return t.addHandler(e,this),this};var vi={Events:O},yi=Nt.touch?"touchstart mousedown":"mousedown",Li=Z.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){_(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(Re(this._dragStartTarget,yi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Li._dragging===this&&this.finishDrag(!0),He(this._dragStartTarget,yi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!Le(this._element,"leaflet-zoom-anim")))if(t.touches&&1!==t.touches.length)Li._dragging===this&&this.finishDrag();else if(!(Li._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(Li._dragging=this,this._preventOutline&&Ae(this._element),Ze(),se(),this._moving))){this.fire("down");var e=t.touches?t.touches[0]:t,i=Be(this._element);this._startPoint=new E(e.clientX,e.clientY),this._startPos=Se(this._element),this._parentScale=De(i);var n="mousedown"===t.type;Re(document,n?"mousemove":"touchmove",this._onMove,this),Re(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(t){if(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,i=new E(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,Ye(t),this._moved||(this.fire("dragstart"),this._moved=!0,xe(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),xe(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,this._lastEvent=t,this._updatePosition()))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),ze(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){we(document.body,"leaflet-dragging"),this._lastTarget&&(we(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),He(document,"mousemove touchmove",this._onMove,this),He(document,"mouseup touchend touchcancel",this._onUp,this),Ee(),re();var e=this._moved&&this._moving;this._moving=!1,Li._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function xi(t,e,i){var n,o,s,r,a,h,l,u,c,d=[1,4,2,8];for(o=0,l=t.length;o<l;o++)t[o]._code=Ai(t[o],e);for(r=0;r<4;r++){for(u=d[r],n=[],o=0,s=(l=t.length)-1;o<l;s=o++)a=t[o],h=t[s],a._code&u?h._code&u||((c=Ei(h,a,u,e,i))._code=Ai(c,e),n.push(c)):(h._code&u&&((c=Ei(h,a,u,e,i))._code=Ai(c,e),n.push(c)),n.push(a));t=n}return t}function wi(t,e){var i,n,o,s,r,a,h,l,u;if(!t||0===t.length)throw new Error("latlngs not passed");Di(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var c=H([0,0]),d=R(t);d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(c=bi(t));var _=t.length,p=[];for(i=0;i<_;i++){var m=H(t[i]);p.push(e.project(H([m.lat-c.lat,m.lng-c.lng])))}for(a=h=l=0,i=0,n=_-1;i<_;n=i++)o=p[i],s=p[n],r=o.y*s.x-s.y*o.x,h+=(o.x+s.x)*r,l+=(o.y+s.y)*r,a+=3*r;u=0===a?p[0]:[h/a,l/a];var f=e.unproject(I(u));return H([f.lat+c.lat,f.lng+c.lng])}function bi(t){for(var e=0,i=0,n=0,o=0;o<t.length;o++){var s=H(t[o]);e+=s.lat,i+=s.lng,n++}return H([e/n,i/n])}var Pi,Mi={__proto__:null,clipPolygon:xi,polygonCenter:wi,centroid:bi};function Ci(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=zi(t=Oi(t,i),i)}function ki(t,e,i){return Math.sqrt(Bi(t,e,i,!0))}function Ti(t,e,i){return Bi(t,e,i)}function zi(t,e){var i=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);n[0]=n[i-1]=1,Si(t,n,e,0,i-1);var o,s=[];for(o=0;o<i;o++)n[o]&&s.push(t[o]);return s}function Si(t,e,i,n,o){var s,r,a,h=0;for(r=n+1;r<=o-1;r++)(a=Bi(t[r],t[n],t[o],!0))>h&&(s=r,h=a);h>i&&(e[s]=1,Si(t,e,i,n,s),Si(t,e,i,s,o))}function Oi(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;n<s;n++)Ii(t[n],t[o])>e&&(i.push(t[n]),o=n);return o<s-1&&i.push(t[s-1]),i}function Zi(t,e,i,n,o){var s,r,a,h=n?Pi:Ai(t,i),l=Ai(e,i);for(Pi=l;;){if(!(h|l))return[t,e];if(h&l)return!1;a=Ai(r=Ei(t,e,s=h||l,i,o),i),s===h?(t=r,h=a):(e=r,l=a)}}function Ei(t,e,i,n,o){var s,r,a=e.x-t.x,h=e.y-t.y,l=n.min,u=n.max;return 8&i?(s=t.x+a*(u.y-t.y)/h,r=u.y):4&i?(s=t.x+a*(l.y-t.y)/h,r=l.y):2&i?(s=u.x,r=t.y+h*(u.x-t.x)/a):1&i&&(s=l.x,r=t.y+h*(l.x-t.x)/a),new E(s,r,o)}function Ai(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function Ii(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}function Bi(t,e,i,n){var o,s=e.x,r=e.y,a=i.x-s,h=i.y-r,l=a*a+h*h;return l>0&&((o=((t.x-s)*a+(t.y-r)*h)/l)>1?(s=i.x,r=i.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new E(s,r)}function Di(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function Ni(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Di(t)}function Ri(t,e){var i,n,o,s,r,a,h,l;if(!t||0===t.length)throw new Error("latlngs not passed");Di(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var u=H([0,0]),c=R(t);c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(u=bi(t));var d=t.length,_=[];for(i=0;i<d;i++){var p=H(t[i]);_.push(e.project(H([p.lat-u.lat,p.lng-u.lng])))}for(i=0,n=0;i<d-1;i++)n+=_[i].distanceTo(_[i+1])/2;if(0===n)l=_[0];else for(i=0,s=0;i<d-1;i++)if(r=_[i],a=_[i+1],(s+=o=r.distanceTo(a))>n){h=(s-n)/o,l=[a.x-h*(a.x-r.x),a.y-h*(a.y-r.y)];break}var m=e.unproject(I(l));return H([m.lat+u.lat,m.lng+u.lng])}var ji={__proto__:null,simplify:Ci,pointToSegmentDistance:ki,closestPointOnSegment:Ti,clipSegment:Zi,_getEdgeIntersection:Ei,_getBitCode:Ai,_sqClosestPointOnSegment:Bi,isFlat:Di,_flat:Ni,polylineCenter:Ri},Hi={project:function(t){return new E(t.lng,t.lat)},unproject:function(t){return new j(t.y,t.x)},bounds:new B([-180,-90],[180,90])},Ui={R:6378137,R_MINOR:6356752.314245179,bounds:new B([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-i*Math.log(Math.max(a,1e-10)),new E(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,l=.1;h<15&&Math.abs(l)>1e-7;h++)e=s*Math.sin(a),e=Math.pow((1-e)/(1+e),s/2),a+=l=Math.PI/2-2*Math.atan(r*e)-a;return new j(a*i,t.x*i/n)}},Fi={__proto__:null,LonLat:Hi,Mercator:Ui,SphericalMercator:V},Gi=i({},G,{code:"EPSG:3395",projection:Ui,transformation:function(){var t=.5/(Math.PI*Ui.R);return K(t,.5,-t,.5)}()}),Wi=i({},G,{code:"EPSG:4326",projection:Hi,transformation:K(1/180,1,-1/180,.5)}),Vi=i({},F,{projection:Hi,transformation:K(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 i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});F.Earth=G,F.EPSG3395=Gi,F.EPSG3857=Y,F.EPSG900913=X,F.EPSG4326=Wi,F.Simple=Vi;var qi=Z.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[r(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[r(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 i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});oi.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=r(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=r(t);return this._layers[e]?(this._loaded&&t.onRemove(this),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 r(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?g(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[r(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=r(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),e=void 0===o.maxZoom?e:Math.max(e,o.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ki=qi.extend({initialize:function(t,e){var i,n;if(_(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return r(t)}}),Yi=function(t,e){return new Ki(t,e)},Xi=Ki.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ki.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ki.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new N;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),Ji=function(t,e){return new Xi(t,e)},$i=z.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){_(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"];"number"==typeof n&&(n=[n,n]);var o=I(n),s=I("shadow"===e&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Nt.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function Qi(t){return new $i(t)}var tn=$i.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof tn.imagePath&&(tn.imagePath=this._detectIconPath()),(this.options.imagePath||tn.imagePath)+$i.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var e=function(t,e,i){var n=e.exec(t);return n&&n[i]};return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=me("div","leaflet-default-icon-path",document.body),e=pe(t,"background-image")||pe(t,"backgroundImage");if(document.body.removeChild(t),e=this._stripUrl(e))return e;var i=document.querySelector('link[href$="leaflet.css"]');return i?i.href.substring(0,i.href.length-11-1):""}}),en=gi.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Li(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),xe(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&we(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=Se(e._icon),r=i.getPixelBounds(),a=i.getPixelOrigin(),h=D(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!h.contains(s)){var l=I((Math.max(h.max.x,s.x)-h.max.x)/(r.max.x-h.max.x)-(Math.min(h.min.x,s.x)-h.min.x)/(r.min.x-h.min.x),(Math.max(h.max.y,s.y)-h.max.y)/(r.max.y-h.max.y)-(Math.min(h.min.y,s.y)-h.min.y)/(r.min.y-h.min.y)).multiplyBy(n);i.panBy(l,{animate:!1}),this._draggable._newPos._add(l),this._draggable._startPos._add(l),ze(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=C(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(k(this._panRequest),this._panRequest=C(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=Se(e._icon),o=e._map.layerPointToLatLng(n);i&&ze(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){k(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),nn=qi.extend({options:{icon:new tn,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){_(this,e),this._latlng=H(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=H(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName&&(i.alt=t.alt||"")),xe(i,e),t.keyboard&&(i.tabIndex="0",i.setAttribute("role","button")),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Re(i,"focus",this._panOnFocus,this);var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(xe(o,e),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&He(this._icon,"focus",this._panOnFocus,this),fe(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&fe(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&ze(this._icon,t),this._shadow&&ze(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(xe(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),en)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new en(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&Me(this._icon,t),this._shadow&&Me(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var e=this.options.icon.options,i=e.iconSize?I(e.iconSize):I(0,0),n=e.iconAnchor?I(e.iconAnchor):I(0,0);t.panInside(this._latlng,{paddingTopLeft:n,paddingBottomRight:i.subtract(n)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function on(t,e){return new nn(t,e)}var sn=qi.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return _(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),rn=sn.extend({options:{fill:!0,radius:10},initialize:function(t,e){_(this,e),this._latlng=H(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=H(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return sn.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),n=[t+i,e+i];this._pxBounds=new B(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function an(t,e){return new rn(t,e)}var hn=rn.extend({initialize:function(t,e,n){if("number"==typeof e&&(e=i({},n,{radius:e})),_(this,e),this._latlng=H(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new N(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:sn.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===G.distance){var o=Math.PI/180,s=this._mRadius/G.R/o,r=i.project([e+s,t]),a=i.project([e-s,t]),h=r.add(a).divideBy(2),l=i.unproject(h).lat,u=Math.acos((Math.cos(s*o)-Math.sin(e*o)*Math.sin(l*o))/(Math.cos(e*o)*Math.cos(l*o)))/o;(isNaN(u)||0===u)&&(u=s/Math.cos(Math.PI/180*e)),this._point=h.subtract(i.getPixelOrigin()),this._radius=isNaN(u)?0:h.x-i.project([l,t-u]).x,this._radiusY=h.y-r.y}else{var c=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(c).x}this._updateBounds()}});function ln(t,e,i){return new hn(t,e,i)}var un=sn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){_(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,o=null,s=Bi,r=0,a=this._parts.length;r<a;r++)for(var h=this._parts[r],l=1,u=h.length;l<u;l++){var c=s(t,e=h[l-1],i=h[l],!0);c<n&&(n=c,o=s(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Ri(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=H(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new N,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Di(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=Di(t),n=0,o=t.length;n<o;n++)i?(e[n]=H(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new B;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new E(t,t);this._rawPxBounds&&(this._pxBounds=new B([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)]))},_projectLatlngs:function(t,e,i){var n,o,s=t[0]instanceof j,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,i,n,o,s,r,a,h=this._parts;for(e=0,n=0,o=this._rings.length;e<o;e++)for(i=0,s=(a=this._rings[e]).length;i<s-1;i++)(r=Zi(a[i],a[i+1],t,i,!0))&&(h[n]=h[n]||[],h[n].push(r[0]),r[1]===a[i+1]&&i!==s-2||(h[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=Ci(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,s,r,a,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,s=this._parts.length;i<s;i++)for(n=0,o=(r=(a=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&ki(t,a[o],a[n])<=h)return!0;return!1}});function cn(t,e){return new un(t,e)}un._flat=Ni;var dn=un.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return wi(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var e=un.prototype._convertLatLngs.call(this,t),i=e.length;return i>=2&&e[0]instanceof j&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){un.prototype._setLatLngs.call(this,t),Di(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Di(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new E(e,e);if(t=new B(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)(n=xi(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,s,r,a,h,l=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(h=(e=this._parts[o]).length)-1;s<h;r=s++)i=e[s],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(l=!l);return l||un.prototype._containsPoint.call(this,t,!0)}});function _n(t,e){return new dn(t,e)}var pn=Xi.extend({initialize:function(t,e){_(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=g(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=mn(t,s);return r?(r.feature=wn(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function mn(t,e){var i,n,o,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,h=[],l=e&&e.pointToLayer,u=e&&e.coordsToLatLng||gn;if(!a&&!r)return null;switch(r.type){case"Point":return fn(l,t,i=u(a),e);case"MultiPoint":for(o=0,s=a.length;o<s;o++)i=u(a[o]),h.push(fn(l,t,i,e));return new Xi(h);case"LineString":case"MultiLineString":return n=vn(a,"LineString"===r.type?0:1,u),new un(n,e);case"Polygon":case"MultiPolygon":return n=vn(a,"Polygon"===r.type?1:2,u),new dn(n,e);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var c=mn({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);c&&h.push(c)}return new Xi(h);case"FeatureCollection":for(o=0,s=r.features.length;o<s;o++){var d=mn(r.features[o],e);d&&h.push(d)}return new Xi(h);default:throw new Error("Invalid GeoJSON object.")}}function fn(t,e,i,n){return t?t(e,i):new nn(i,n&&n.markersInheritOptions&&n)}function gn(t){return new j(t[1],t[0],t[2])}function vn(t,e,i){for(var n,o=[],s=0,r=t.length;s<r;s++)n=e?vn(t[s],e-1,i):(i||gn)(t[s]),o.push(n);return o}function yn(t,e){return void 0!==(t=H(t)).alt?[u(t.lng,e),u(t.lat,e),u(t.alt,e)]:[u(t.lng,e),u(t.lat,e)]}function Ln(t,e,i,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(e?Ln(t[s],Di(t[s])?0:e-1,i,n):yn(t[s],n));return!e&&i&&o.length>0&&o.push(o[0].slice()),o}function xn(t,e){return t.feature?i({},t.feature,{geometry:e}):wn(e)}function wn(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var bn={toGeoJSON:function(t){return xn(this,{type:"Point",coordinates:yn(this.getLatLng(),t)})}};function Pn(t,e){return new pn(t,e)}nn.include(bn),hn.include(bn),rn.include(bn),un.include({toGeoJSON:function(t){var e=!Di(this._latlngs);return xn(this,{type:(e?"Multi":"")+"LineString",coordinates:Ln(this._latlngs,e?1:0,!1,t)})}}),dn.include({toGeoJSON:function(t){var e=!Di(this._latlngs),i=e&&!Di(this._latlngs[0]),n=Ln(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),xn(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),Ki.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(i){e.push(i.toGeoJSON(t).geometry.coordinates)}),xn(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return this.eachLayer(function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var s=wn(o);"FeatureCollection"===s.type?n.push.apply(n,s.features):n.push(s)}}}),i?xn(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var Mn=Pn,Cn=qi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=R(e),_(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(xe(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){fe(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ve(this._image),this},bringToBack:function(){return this._map&&ye(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=R(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:me("img");xe(e,"leaflet-image-layer"),this._zoomAnimated&&xe(e,"leaflet-zoom-animated"),this.options.className&&xe(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onload=o(this.fire,this,"load"),e.onerror=o(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;Te(this._image,i,e)},_reset:function(){var t=this._image,e=new B(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();ze(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){Me(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),kn=function(t,e,i){return new Cn(t,e,i)},Tn=Cn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:me("video");if(xe(e,"leaflet-image-layer"),this._zoomAnimated&&xe(e,"leaflet-zoom-animated"),this.options.className&&xe(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onloadeddata=o(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],s=0;s<i.length;s++)n.push(i[s].src);this._url=i.length>0?n:[e.src]}else{g(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,e.playsInline=!!this.options.playsInline;for(var r=0;r<this._url.length;r++){var a=me("source");a.src=this._url[r],e.appendChild(a)}}}});function zn(t,e,i){return new Tn(t,e,i)}var Sn=Cn.extend({_initImage:function(){var t=this._image=this._url;xe(t,"leaflet-image-layer"),this._zoomAnimated&&xe(t,"leaflet-zoom-animated"),this.options.className&&xe(t,this.options.className),t.onselectstart=l,t.onmousemove=l}});function On(t,e,i){return new Sn(t,e,i)}var Zn=qi.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof j||g(t))?(this._latlng=H(t),_(this,e)):(_(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&Me(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&Me(this._container,1),this.bringToFront(),this.options.interactive&&(xe(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(Me(this._container,0),this._removeTimeout=setTimeout(o(fe,void 0,this._container),200)):fe(this._container),this.options.interactive&&(we(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=H(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ve(this._container),this},bringToBack:function(){return this._map&&ye(this._container),this},_prepareOpen:function(t){var e=this._source;if(!e._map)return!1;if(e instanceof Xi){e=null;var i=this._source._layers;for(var n in i)if(i[n]._map){e=i[n];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else{if(!e.getBounds)throw new Error("Unable to get source layer LatLng.");t=e.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=I(this.options.offset),i=this._getAnchor();this._zoomAnimated?ze(this._container,t.add(i)):e=e.add(t).add(i);var n=this._containerBottom=-e.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}});oi.include({_initOverlay:function(t,e,i,n){var o=e;return o instanceof t||(o=new t(n).setContent(e)),i&&o.setLatLng(i),o}}),qi.include({_initOverlay:function(t,e,i,n){var o=i;return o instanceof t?(_(o,n),o._source=this):(o=e&&!n?e:new t(n,this)).setContent(i),o}});var En=Zn.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,Zn.prototype.openOn.call(this,t)},onAdd:function(t){Zn.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof sn||this._source.on("preclick",Ve))},onRemove:function(t){Zn.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof sn||this._source.off("preclick",Ve))},getEvents:function(){var t=Zn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=me("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=me("div",t+"-content-wrapper",e);if(this._contentNode=me("div",t+"-content",i),Ke(e),qe(this._contentNode),Re(e,"contextmenu",Ve),this._tipContainer=me("div",t+"-tip-container",e),this._tip=me("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=me("a",t+"-close-button",e);n.setAttribute("role","button"),n.setAttribute("aria-label","Close popup"),n.href="#close",n.innerHTML='<span aria-hidden="true">×</span>',Re(n,"click",function(t){Ye(t),this.close()},this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight,s="leaflet-popup-scrolled";o&&n>o?(e.height=o+"px",xe(t,s)):we(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();ze(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var t=this._map,e=parseInt(pe(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new E(this._containerLeft,-i-this._containerBottom);o._add(Se(this._container));var s=t.layerPointToContainerPoint(o),r=I(this.options.autoPanPadding),a=I(this.options.autoPanPaddingTopLeft||r),h=I(this.options.autoPanPaddingBottomRight||r),l=t.getSize(),u=0,c=0;s.x+n+h.x>l.x&&(u=s.x+n-l.x+h.x),s.x-u-a.x<0&&(u=s.x-a.x),s.y+i+h.y>l.y&&(c=s.y+i-l.y+h.y),s.y-c-a.y<0&&(c=s.y-a.y),(u||c)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([u,c]))}},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),An=function(t,e){return new En(t,e)};oi.mergeOptions({closePopupOnClick:!0}),oi.include({openPopup:function(t,e,i){return this._initOverlay(En,t,e,i).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),qi.include({bindPopup:function(t,e){return this._popup=this._initOverlay(En,this._popup,t,e),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){return this._popup&&(this instanceof Xi||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),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){if(this._popup&&this._map){Xe(t);var e=t.layer||t.target;this._popup._source!==e||e instanceof sn?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var In=Zn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Zn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Zn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Zn.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=me("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+r(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,h=o.offsetWidth,l=o.offsetHeight,u=I(this.options.offset),c=this._getAnchor();"top"===a?(e=h/2,i=l):"bottom"===a?(e=h/2,i=0):"center"===a?(e=h/2,i=l/2):"right"===a?(e=0,i=l/2):"left"===a?(e=h,i=l/2):r.x<s.x?(a="right",e=0,i=l/2):(a="left",e=h+2*(u.x+c.x),i=l/2),t=t.subtract(I(e,i,!0)).add(u).add(c),we(o,"leaflet-tooltip-right"),we(o,"leaflet-tooltip-left"),we(o,"leaflet-tooltip-top"),we(o,"leaflet-tooltip-bottom"),xe(o,"leaflet-tooltip-"+a),ze(o,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&Me(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Bn=function(t,e){return new In(t,e)};oi.include({openTooltip:function(t,e,i){return this._initOverlay(In,t,e,i).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),qi.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(In,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,i.click=this._openTooltip,this._map?this._addFocusListeners():i.add=this._addFocusListeners),this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),this[e](i),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof Xi||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&(Re(e,"focus",function(){this._tooltip._source=t,this.openTooltip()},this),Re(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&e.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var e=this;this._map.once("moveend",function(){e._openOnceFlag=!1,e._openTooltip(t)})}else this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var Dn=$i.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),i=this.options;if(i.html instanceof Element?(ge(e),e.appendChild(i.html)):e.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=I(i.bgPos);e.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});function Nn(t){return new Dn(t)}$i.Default=tn;var Rn=qi.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Nt.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){_(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),fe(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ve(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ye(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=a(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof E?t:new E(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,s=i.length;o<s;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Nt.ielt9){Me(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(t-o.loaded)/200);Me(o.el,s),s<1?e=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(k(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=me("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)i=Number(i),this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(fe(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=me("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),l(n.el.offsetWidth),this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)fe(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0}
vendor: 5,037 bytes, line 1
1,_retainParent:function(t,e,i,n){var o=Math.floor(t/2),s=Math.floor(e/2),r=i-1,a=new E(+o,+s);a.z=+r;var h=this._tileCoordsToKey(a),l=this._tiles[h];return l&&l.active?(l.retain=!0,!0):(l&&l.loaded&&(l.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new E(o,s);r.z=i+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),i+1<n&&this._retainChildren(o,s,i+1,n))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=Math.round(e);o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();Nt.any3d?Te(t.el,o,n):ze(t.el,o)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),n=e.getZoomScale(i,this._tileZoom),o=e.project(t,this._tileZoom).floor(),s=e.getSize().divideBy(2*n);return new B(o.subtract(s),o.add(s))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,h=new B(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var l in this._tiles){var u=this._tiles[l].coords;u.z===this._tileZoom&&h.contains(new E(u.x,u.y))||(this._tiles[l].current=!1)}if(Math.abs(i-this._tileZoom)>1)this._setView(t,i);else{for(var c=o.min.y;c<=o.max.y;c++)for(var d=o.min.x;d<=o.max.x;d++){var _=new E(d,c);if(_.z=this._tileZoom,this._isValidTile(_)){var p=this._tiles[this._tileCoordsToKey(_)];p?p.current=!0:r.push(_)}}if(r.sort(function(t,e){return t.distanceTo(s)-e.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;d<r.length;d++)this._addTile(r[d],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return R(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new N(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new E(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(fe(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){xe(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,Nt.ielt9&&this.options.opacity<1&&Me(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),o(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&C(o(this._tileReady,this,t,null,s)),ze(s,i),this._tiles[n]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})}
vendor: 6,026 bytes, line 1
1,_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(Me(i.el,0),k(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(xe(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Nt.ielt9||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new E(this._wrapX?h(t.x,this._wrapX):t.x,this._wrapY?h(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(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}});function jn(t){return new Rn(t)}var Hn=Rn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=_(this,e)).detectRetina&&Nt.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),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 i=document.createElement("img");return Re(i,"load",o(this._tileOnLoad,this,e,i)),Re(i,"error",o(this._tileOnError,this,e,i)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:Nt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e["-y"]=n}return f(this._url,i(e,this.options))},_tileOnLoad:function(t,e){Nt.ielt9?setTimeout(o(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,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)if(this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,!e.complete)){e.src=y;var i=this._tiles[t].coords;fe(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",y),Rn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==y))return Rn.prototype._tileReady.call(this,t,e,i)}});function Un(t,e){return new Hn(t,e)}var Fn=Hn.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,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var s=(e=_(this,e)).detectRetina&&Nt.retina?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},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,Hn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=D(i.project(e[0]),i.project(e[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===Wi?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=Hn.prototype.getTileUrl.call(this,t);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});function Gn(t,e){return new Fn(t,e)}Hn.WMS=Fn,Un.wms=Gn;var Wn=qi.extend({options:{padding:.1},initialize:function(t){_(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),xe(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 i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),s=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));Nt.any3d?Te(this._container,s,i):ze(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(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).roun
vendor: 5,439 bytes, line 1
1d();this._bounds=new B(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Vn=Wn.extend({options:{tolerance:0},getEvents:function(){var t=Wn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Re(t,"mousemove",this._onMouseMove,this),Re(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Re(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){k(this._redrawRequest),delete this._ctx,fe(this._container),He(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){Wn.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=Nt.retina?2:1;ze(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",Nt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){Wn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[r(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,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[r(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,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i<n.length;i++){if(e=Number(n[i]),isNaN(e))return;o.push(e)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||C(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new B,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(h.beginPath(),i=0;i<a;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],h[n?"lineTo":"moveTo"](s.x,s.y);e&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!==o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!==o&&i.restore(),this._fillStroke(i,t)}},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&("click"!==t.type&&"preclick"!==t.type||!this._map._draggableMoved(e))&&(i=e);this._fireEvent(!!i&&[i],t)},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(we(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var i,n,s=this._drawFirst;s;s=s.next)(i=s.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(xe(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(o(function(){this._mouseHoverThrottled=!1},this),32)}}
vendor: 19,939 bytes, line 1
1,_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;i&&(i.prev=n,n?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;n&&(n.next=i,i?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function qn(t){return Nt.canvas?new Vn(t):null}var Kn=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Yn={_initContainer:function(){this._container=me("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Wn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=Kn("shape");xe(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=Kn("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[r(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;fe(e),t.removeInteractiveTarget(e),delete this._layers[r(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=Kn("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=g(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=Kn("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ve(t._container)},_bringToBack:function(t){ye(t._container)}},Xn=Nt.vml?Kn:J,Jn=Wn.extend({_initContainer:function(){this._container=Xn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Xn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){fe(this._container),He(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Wn.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),ze(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Xn("path");t.options.className&&xe(e,t.options.className),t.options.interactive&&xe(e,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){fe(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,$(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ve(t._path)},_bringToBack:function(t){ye(t._path)}});function $n(t){return Nt.svg||Nt.vml?new Jn(t):null}Nt.vml&&Jn.include(Yn),oi.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&&qn(t)||$n(t)}});var Qn=dn.extend({initialize:function(t,e){dn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=R(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function to(t,e){return new Qn(t,e)}Jn.create=Xn,Jn.pointsToPath=$,pn.geometryToLayer=mn,pn.coordsToLatLng=gn,pn.coordsToLatLngs=vn,pn.latLngToCoords=yn,pn.latLngsToCoords=Ln,pn.getFeature=xn,pn.asFeature=wn,oi.mergeOptions({boxZoom:!0});var eo=gi.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(){Re(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){He(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){fe(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(),se(),Ze(),this._startPoint=this._map.mouseEventToContainerPoint(t),Re(document,{contextmenu:Xe,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=me("div","leaflet-zoom-box",this._container),xe(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),i=e.getSize();ze(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(fe(this._box),we(this._container,"leaflet-crosshair")),re(),Ee(),He(document,{contextmenu:Xe,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(o(this._resetState,this),0);var e=new N(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(),this._clearDeferredResetState(),this._resetState())}});oi.addInitHook("addHandler","boxZoom",eo),oi.mergeOptions({doubleClickZoom:!0});var io=gi.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,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});oi.addInitHook("addHandler","doubleClickZoom",io),oi.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var no=gi.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Li(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))}xe(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){we(this._map._container,"leaflet-grab"),we(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=R(this._map.options.maxBounds);this._offsetLimit=D(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,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),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.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.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),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)<Math.abs(s+i)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var e=this._map,i=e.options,n=!i.inertia||t.noInertia||this._times.length<2;if(e.fire("dragend",t),n)e.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=i.easeLinearity,a=o.multiplyBy(r/s),h=a.distanceTo([0,0]),l=Math.min(i.inertiaMaxSpeed,h),u=a.multiplyBy(l/h),c=l/(i.inertiaDeceleration*r),d=u.multiplyBy(-c/2).round();d.x||d.y?(d=e._limitOffset(d,e.options.maxBounds),C(function(){e.panBy(d,{duration:c,easeLinearity:r,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}});oi.addInitHook("addHandler","dragging",no),oi.mergeOptions({keyboard:!0,keyboardPanDelta:80});var oo=gi.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Re(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),He(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,i=t.scrollTop||e.scrollTop,n=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){Re(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){He(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys){if(!n._panAnim||!n._panAnim._inProgress)if(e=this._panKeys[i],t.shiftKey&&(e=I(e).multiplyBy(3)),n.options.maxBounds&&(e=n._limitOffset(I(e),n.options.maxBounds)),n.options.worldCopyJump){var o=n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(e)));n.panTo(o)}else n.panBy(e)}else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Xe(t)}}});oi.addInitHook("addHandler","keyboard",oo),oi.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var so=gi.extend({addHooks:function(){Re(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){He(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=ti(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(o(this._performZoom,this),n),Xe(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=i?Math.ceil(o/i)*i:o,r=t._limitZoom(e+(this._delta>0?s:-s))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});oi.addInitHook("addHandler","scrollWheelZoom",so);var ro=600;oi.mergeOptions({tapHold:Nt.touchNative&&Nt.safari&&Nt.mobile,tapTolerance:15});var ao=gi.extend({addHooks:function(){Re(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){He(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),1===t.touches.length){var e=t.touches[0];this._startPos=this._newPos=new E(e.clientX,e.clientY),this._holdTimeout=setTimeout(o(function(){this._cancel(),this._isTapValid()&&(Re(document,"touchend",Ye),Re(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),ro),Re(document,"touchend touchcancel contextmenu",this._cancel,this),Re(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){He(document,"touchend",Ye),He(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),He(document,"touchend touchcancel contextmenu",this._cancel,this),He(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new E(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});oi.addInitHook("addHandler","tapHold",ao),oi.mergeOptions({touchZoom:Nt.touch,bounceAtZoomLimits:!0});var ho=gi.extend({addHooks:function(){xe(this._map._container,"leaflet-touch-zoom"),Re(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){we(this._map._container,"leaflet-touch-zoom"),He(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 i=e.mouseEventToContainerPoint(t.touches[0]),n=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(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Re(document,"touchmove",this._onTouchMove,this),Re(document,"touchend touchcancel",this._onTouchEnd,this),Ye(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),s=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&s<1||this._zoom>e.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),k(this._animRequest);var a=o(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=C(a,this,!0),Ye(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,k(this._animRequest),He(document,"touchmove",this._onTouchMove,this),He(document,"touchend touchcancel",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}});oi.addInitHook("addHandler","touchZoom",ho),oi.BoxZoom=eo,oi.DoubleClickZoom=io,oi.Drag=no,oi.Keyboard=oo,oi.ScrollWheelZoom=so,oi.TapHold=ao,oi.TouchZoom=ho,t.Bounds=B,t.Browser=Nt,t.CRS=F,t.Canvas=Vn,t.Circle=hn,t.CircleMarker=rn,t.Class=z,t.Control=ri,t.DivIcon=Dn,t.DivOverlay=Zn,t.DomEvent=ii,t.DomUtil=Ne,t.Draggable=Li,t.Evented=Z,t.FeatureGroup=Xi,t.GeoJSON=pn,t.GridLayer=Rn,t.Handler=gi,t.Icon=$i,t.ImageOverlay=Cn,t.LatLng=j,t.LatLngBounds=N,t.Layer=qi,t.LayerGroup=Ki,t.LineUtil=ji,t.Map=oi,t.Marker=nn,t.Mixin=vi,t.Path=sn,t.Point=E,t.PolyUtil=Mi,t.Polygon=dn,t.Polyline=un,t.Popup=En,t.PosAnimation=ni,t.Projection=Fi,t.Rectangle=Qn,t.Renderer=Wn,t.SVG=Jn,t.SVGOverlay=Sn,t.TileLayer=Hn,t.Tooltip=In,t.Transformation=q,t.Util=T,t.VideoOverlay=Tn,t.bind=o,t.bounds=D,t.canvas=qn,t.circle=ln,t.circleMarker=an,t.control=ai,t.divIcon=Nn,t.extend=i,t.featureGroup=Ji,t.geoJSON=Pn,t.geoJson=Mn,t.gridLayer=jn,t.icon=Qi,t.imageOverlay=kn,t.latLng=H,t.latLngBounds=R,t.layerGroup=Yi,t.map=si,t.marker=on,t.point=I,t.polygon=_n,t.polyline=cn,t.popup=An,t.rectangle=to,t.setOptions=_,t.stamp=r,t.svg=$n,t.svgOverlay=On,t.tileLayer=Un,t.tooltip=Bn,t.transformation=K,t.version=e,t.videoOverlay=zn;var lo=window.L;t.noConflict=function(){return window.L=lo,this},window.L=t}(e)},191:function(t,e){!function(t){"use strict";var e
vendor: 13,084 bytes, line 1
1={ar:{touch:"استخدÙ
إصبعÙÙ ÙØªØØ±ÙÙ Ø§ÙØ®Ø±Ùطة",scroll:"âØ§Ø³ØªØ®Ø¯Ù
ctrl + scroll ÙØªØµØºÙر/ØªÙØ¨Ùر Ø§ÙØ®Ø±Ùطة",scrollMac:"ÙÙ
ÙÙ٠استخداÙ
â + Ø§ÙØªÙ
Ø±ÙØ± ÙØªÙØ¨ÙØ±/ØªØµØºÙØ± Ø§ÙØ®Ø±Ùطة"},bg:{touch:"ÐзползвайÑе два пÑÑÑÑа, за да пÑемеÑÑиÑе каÑÑаÑа",scroll:"ÐадÑÑжÑе бÑÑона Ctrl наÑиÑнаÑ, докаÑо пÑевÑÑÑаÑе, за да пÑомениÑе маÑаба на каÑÑаÑа",scrollMac:"ÐадÑÑжÑе бÑÑона â наÑиÑнаÑ, докаÑо пÑевÑÑÑаÑе, за да пÑомениÑе маÑаба на каÑÑаÑа"},bn:{touch:"মানà¦à¦¿à¦¤à§à¦°à¦à¦¿à¦à§ সরাতৠদà§à¦à¦¿ à¦à¦à§à¦à§à¦² বà§à¦¯à¦¬à¦¹à¦¾à¦° à¦à¦°à§à¦¨",scroll:"মà§à¦¯à¦¾à¦ª à¦à§à¦® à¦à¦°à¦¤à§ ctrl + scroll বà§à¦¯à¦¬à¦¹à¦¾à¦° à¦à¦°à§à¦¨",scrollMac:"মà§à¦¯à¦¾à¦ªà§ à¦à§à¦® à¦à¦°à¦¤à§ â বà§à¦¤à¦¾à¦® à¦à¦¿à¦ªà§ সà§à¦à§à¦°à¦² à¦à¦°à§à¦¨"},ca:{touch:"Fes servir dos dits per moure el mapa",scroll:"Prem la tecla Control mentre et desplaces per apropar i allunyar el mapa",scrollMac:"Prem la tecla â mentre et desplaces per apropar i allunyar el mapa"},cs:{touch:"K posunutà mapy použijte dva prsty",scroll:"Velikost zobrazenà mapy zmÄÅte podrženÃm klávesy Ctrl a posouvánÃm koleÄka myÅ¡i",scrollMac:"Velikost zobrazenà mapy zmÄnÃte podrženÃm klávesy â a posunutÃm koleÄka myÅ¡i / touchpadu"},da:{touch:"Brug to fingre til at flytte kortet",scroll:"Brug ctrl + rullefunktionen til at zoome ind og ud pÃ¥ kortet",scrollMac:"Brug â + rullefunktionen til at zoome ind og ud pÃ¥ kortet"},de:{touch:"Verschieben der Karte mit zwei Fingern",scroll:"Verwende Strg+Scrollen zum Zoomen der Karte",scrollMac:"â"},el:{touch:"ΧÏηÏιμοÏοιήÏÏε δÏο δάÏÏÏ
λα για μεÏακίνηÏη ÏÏον ÏάÏÏη",scroll:"ΧÏηÏιμοÏοιήÏÏε Ïο ÏλήκÏÏο Ctrl και κÏλιÏη, για να μεγεθÏνεÏε Ïον ÏάÏÏη",scrollMac:"ΧÏηÏιμοÏοιήÏÏε Ïο ÏλήκÏÏο â + κÏλιÏη για εÏÏίαÏη ÏÏον ÏάÏÏη"},en:{touch:"Use two fingers to move the map",scroll:"Use ctrl + scroll to zoom the map",scrollMac:"Use â + scroll to zoom the map"},"en-AU":{touch:"Use two fingers to move the map",scroll:"Use ctrl + scroll to zoom the map",scrollMac:"Use â + scroll to zoom the map"},"en-GB":{touch:"Use two fingers to move the map",scroll:"Use ctrl + scroll to zoom the map",scrollMac:"Use â + scroll to zoom the map"},es:{touch:"Para mover el mapa, utiliza dos dedos",scroll:"Mantén pulsada la tecla Ctrl mientras te desplazas para acercar o alejar el mapa",scrollMac:"Mantén pulsada la tecla â mientras te desplazas para acercar o alejar el mapa"},eu:{touch:"Erabili bi hatz mapa mugitzeko",scroll:"Mapan zooma aplikatzeko, sakatu Ktrl eta egin gora edo behera",scrollMac:"Eduki sakatuta â eta egin gora eta behera mapa handitu eta txikitzeko"},fa:{touch:"Ø¨Ø±Ø§Û ØØ±Ú©Øª داد٠ÙÙØ´Ù از د٠اÙگشت Ø§Ø³ØªÙØ§Ø¯Ù Ú©ÙÛØ¯.",scroll:"âØ¨Ø±Ø§Û Ø¨Ø²Ø±Ú¯âÙÙ
اÛÛ ÙÙØ´Ù از ctrl + scroll Ø§Ø³ØªÙØ§Ø¯Ù Ú©ÙÛØ¯",scrollMac:"Ø¨Ø±Ø§Û Ø¨Ø²Ø±Ú¯âÙÙ
اÛÛ ÙÙØ´ÙØ Ø§Ø² â + Ù¾ÛÙ
Ø§ÛØ´ Ø§Ø³ØªÙØ§Ø¯Ù Ú©ÙÛØ¯."},fi:{touch:"Siirrä karttaa kahdella sormella.",scroll:"Zoomaa karttaa painamalla Ctrl-painiketta ja vierittämällä.",scrollMac:"Zoomaa karttaa pitämällä painike â painettuna ja vierittämällä."},fil:{touch:"Gumamit ng dalawang daliri upang iusog ang mapa",scroll:"Gamitin ang ctrl + scroll upang i-zoom ang mapa",scrollMac:"Gamitin ang â + scroll upang i-zoom ang mapa"},fr:{touch:"Utilisez deux doigts pour déplacer la carte",scroll:"Vous pouvez zoomer sur la carte à l'aide de CTRL+Molette de défilement",scrollMac:"Vous pouvez zoomer sur la carte à l'aide de â+Molette de défilement"},gl:{touch:"Utiliza dous dedos para mover o mapa",scroll:"Preme Ctrl mentres te desprazas para ampliar o mapa",scrollMac:"Preme â e desprázate para ampliar o mapa"},gu:{touch:"નàªàª¶à« àªàª¸à«àª¡àªµàª¾ બૠàªàªàªàª³à«àªàª¨à« àªàªªàª¯à«àª àªàª°à«",scroll:"નàªàª¶àª¾àª¨à« àªà«àª® àªàª°àªµàª¾ માàªà« ctrl + સà«àªà«àª°à«àª²àª¨à« àªàªªàª¯à«àª àªàª°à«",scrollMac:"નàªàª¶àª¾àª¨à« àªà«àª® àªàª°àªµàª¾ â + સà«àªà«àª°à«àª²àª¨à« àªàªªàª¯à«àª àªàª°à«"},hi:{touch:"मà¥à¤ª à¤à¤ à¤à¤à¤¹ सॠदà¥à¤¸à¤°à¥ à¤à¤à¤¹ लॠà¤à¤¾à¤¨à¥ à¤à¥ लिठदॠà¤à¤à¤à¤²à¤¿à¤¯à¥à¤ à¤à¤¾ à¤à¤¸à¥à¤¤à¥à¤®à¤¾à¤² à¤à¤°à¥à¤",scroll:"मà¥à¤ª à¤à¥ à¤à¤¼à¥à¤® à¤à¤°à¤¨à¥ à¤à¥ लिठctrl + सà¥à¤à¥à¤°à¥à¤² à¤à¤¾ à¤à¤ªà¤¯à¥à¤ à¤à¤°à¥à¤",scrollMac:"मà¥à¤ª à¤à¥ à¤à¤¼à¥à¤® à¤à¤°à¤¨à¥ à¤à¥ लिठâ + सà¥à¤à¥à¤°à¥à¤² à¤à¤¾ à¤à¤ªà¤¯à¥à¤ à¤à¤°à¥à¤"},hr:{touch:"PomiÄite kartu pomoÄu dva prsta",scroll:"Upotrijebite Ctrl i klizaÄ miÅ¡a da biste zumirali kartu",scrollMac:"Upotrijebite gumb â dok se pomiÄete za zumiranje karte"},hu:{touch:"Két ujjal mozgassa a térképet",scroll:"A térkép a ctrl + görgetés használatával nagyÃtható",scrollMac:"A térkép a â + görgetés használatával nagyÃtható"},id:{touch:"Gunakan dua jari untuk menggerakkan peta",scroll:"Gunakan ctrl + scroll untuk memperbesar atau memperkecil peta",scrollMac:"Gunakan â + scroll untuk memperbesar atau memperkecil peta"},it:{touch:"Utilizza due dita per spostare la mappa",scroll:"Utilizza CTRL + scorrimento per eseguire lo zoom della mappa",scrollMac:"Utilizza â + scorrimento per eseguire lo zoom della mappa"},iw:{touch:"××× ×ת ×××¤× ×××צע×ת ×©×ª× ×צ××¢×ת",scroll:"â×פשר ××©× ×ת ×ת ×ר××§ ×תצ××× ×××¤× ×××צע×ת ×קש ctrl ××××××",scrollMac:"×פשר ××©× ×ת ×ת ×ר××§ ×תצ××× ×××¤× ×××צע×ת ×קש â ××××××"},ja:{touch:"å°å³ãç§»åãããã«ã¯æ 2 æ¬ã§æä½ãã¾ã",scroll:"å°å³ããºã¼ã ããã«ã¯ãCtrl ãã¼ãæ¼ããªããã¹ã¯ãã¼ã«ãã¦ãã ãã",scrollMac:"å°å³ããºã¼ã ããã«ã¯ãâ ãã¼ãæ¼ããªããã¹ã¯ãã¼ã«ãã¦ãã ãã"},kn:{touch:"Use two fingers to move the map",scroll:"Use Ctrl + scroll to zoom the map",scrollMac:"Use â + scroll to zoom the map"},ko:{touch:"ì§ë를 ìì§ì´ë ¤ë©´ ë ìê°ë½ì ì¬ì©íì¸ì.",scroll:"ì§ë를 íë/ì¶ìíë ¤ë©´ Ctrlì ë른 ì± ì¤í¬ë¡¤íì¸ì.",scrollMac:"ì§ë를 íëíë ¤ë©´ â + ì¤í¬ë¡¤ ì¬ì©"},lt:{touch:"Perkelkite žemÄlapį dviem pirÅ¡tais",scroll:"Slinkite nuspaudÄ klaviÅ¡Ä
âCtrlâ, kad pakeistumÄte žemÄlapio mastelį",scrollMac:"Paspauskite klaviÅ¡Ä
â ir slinkite, kad priartintumÄte žemÄlapį"},lv:{touch:"Lai pÄrvietotu karti, bÄ«diet to ar diviem pirkstiem",scroll:"Kartes tÄlummaiÅai izmantojiet ctrl + ritinÄÅ¡anu",scrollMac:"Lai veiktu kartes tÄlummaiÅu, izmantojiet â + ritinÄÅ¡anu"},ml:{touch:"മാപàµà´ªàµ à´¨àµà´àµà´à´¾àµ» à´°à´£àµà´àµ വിരലàµà´àµ¾ à´à´ªà´¯àµà´à´¿à´àµà´àµà´",scroll:"à´àµºà´àµà´°àµàµ¾ + à´¸àµâà´àµà´°àµàµ¾ à´à´ªà´¯àµà´à´¿à´àµà´àµ âമാപàµà´ªàµ âà´¸àµà´ à´àµà´¯àµà´¯àµà´",scrollMac:"â + à´¸àµâà´àµà´°àµàµ¾ à´à´ªà´¯àµà´à´¿à´àµà´àµ âമാപàµà´ªàµ âà´¸àµà´ à´àµà´¯àµà´¯àµà´"},mr:{touch:"नà¤à¤¾à¤¶à¤¾ हलविणà¥à¤¯à¤¾à¤¸à¤¾à¤ ॠदà¥à¤¨ बà¥à¤à¥ वापरा",scroll:"नà¤à¤¾à¤¶à¤¾ à¤à¥à¤® à¤à¤°à¤£à¥à¤¯à¤¾à¤¸à¤¾à¤ ॠctrl + scroll वापरा",scrollMac:"नà¤à¤¾à¤¶à¤¾à¤µà¤° à¤à¥à¤® à¤à¤°à¤£à¥à¤¯à¤¾à¤¸à¤¾à¤ ॠâ + सà¥à¤à¥à¤°à¥à¤² वापरा"},nl:{touch:"Gebruik twee vingers om de kaart te verplaatsen",scroll:"Gebruik Ctrl + scrollen om in- en uit te zoomen op de kaart",scrollMac:"Gebruik â + scrollen om in en uit te zoomen op de kaart"},no:{touch:"Bruk to fingre for Ã¥ flytte kartet",scroll:"Hold ctrl-tasten inne og rull for Ã¥ zoome pÃ¥ kartet",scrollMac:"Hold inne â-tasten og rull for Ã¥ zoome pÃ¥ kartet"},pl:{touch:"PrzesuÅ mapÄ dwoma palcami",scroll:"NaciÅnij CTRL i przewiÅ, by przybliżyÄ mapÄ",scrollMac:"NaciÅnij â i przewiÅ, by przybliżyÄ mapÄ"},pt:{touch:"Use dois dedos para mover o mapa",scroll:"Pressione Ctrl e role a tela simultaneamente para aplicar zoom no mapa",scrollMac:"Use â e role a tela simultaneamente para aplicar zoom no mapa"},"pt-BR":{touch:"Use dois dedos para mover o mapa",scroll:"Pressione Ctrl e role a tela simultaneamente para aplicar zoom no mapa",scrollMac:"Use â e role a tela simultaneamente para aplicar zoom no mapa"},"pt-PT":{touch:"Utilize dois dedos para mover o mapa",scroll:"Utilizar ctrl + deslocar para aumentar/diminuir zoom do mapa",scrollMac:"Utilize â + deslocar para aumentar/diminuir o zoom do mapa"},ro:{touch:"FolosiÈi douÄ degete pentru a deplasa harta",scroll:"ApÄsaÈi tasta ctrl Èi derulaÈi simultan pentru a mÄri harta",scrollMac:"FolosiÈi â Èi derulaÈi pentru a mÄri/micÈora harta"},ru:{touch:"ЧÑÐ¾Ð±Ñ Ð¿ÐµÑемеÑÑиÑÑ ÐºÐ°ÑÑÑ, пÑоведиÑе по ней двÑÐ¼Ñ Ð¿Ð°Ð»ÑÑами",scroll:"ЧÑÐ¾Ð±Ñ Ð¸Ð·Ð¼ÐµÐ½Ð¸ÑÑ Ð¼Ð°ÑÑÑаб, пÑокÑÑÑивайÑе каÑÑÑ, ÑдеÑÐ¶Ð¸Ð²Ð°Ñ ÐºÐ»Ð°Ð²Ð¸ÑÑ Ctrl.",scrollMac:"ЧÑÐ¾Ð±Ñ Ð¸Ð·Ð¼ÐµÐ½Ð¸ÑÑ Ð¼Ð°ÑÑÑаб, нажмиÑе â + пÑокÑÑÑка"},sk:{touch:"Mapu môžete posunúť dvoma prstami",scroll:"Ak chcete priblÞiÅ¥ mapu, stlaÄte kláves ctrl a posúvajte",scrollMac:"Ak chcete priblÞiÅ¥ mapu, stlaÄte kláves â a posúvajte kolieskom myÅ¡i"},sl:{touch:"Premaknite zemljevid z dvema prstoma",scroll:"Zemljevid poveÄate tako, da držite tipko Ctrl in vrtite kolesce na miÅ¡ki",scrollMac:"Uporabite â + funkcijo pomika, da poveÄate ali pomanjÅ¡ate zemljevid"},sr:{touch:"ÐÐ°Ð¿Ñ Ð¿Ð¾Ð¼ÐµÑаÑÑе помоÑÑ Ð´Ð²Ð° пÑÑÑа",scroll:"ÐÑиÑиÑниÑе ctrl ÑаÑÑÐµÑ Ð´Ð¾Ðº помеÑаÑе да биÑÑе зÑмиÑали мапÑ",scrollMac:"ÐÑиÑиÑниÑе ÑаÑÑÐµÑ â док помеÑаÑе да биÑÑе зÑмиÑали мапÑ"},sv:{touch:"Använd tvÃ¥ fingrar för att flytta kartan",scroll:"Använd ctrl + rulla för att zooma kartan",scrollMac:"Använd â + rulla för att zooma pÃ¥ kartan"},ta:{touch:"à®®à¯à®ªà¯à®ªà¯ நà®à®°à¯à®¤à¯à®¤ à®à®°à®£à¯à®à¯ விரலà¯à®à®³à¯à®ªà¯ பயனà¯à®ªà®à¯à®¤à¯à®¤à®µà¯à®®à¯",scroll:"à®®à¯à®ªà¯à®ªà¯ பà¯à®°à®¿à®¤à®¾à®à¯à®à®¿/à®à®¿à®±à®¿à®¤à®¾à®à¯à®à®¿à®ªà¯ பாரà¯à®à¯à®, ctrl பà®à¯à®à®©à¯à®ªà¯ பிà®à®¿à®¤à¯à®¤à®ªà®à®¿, à®®à¯à®²à¯/à®à¯à®´à¯ ஸà¯à®à¯à®°à®¾à®²à¯ à®à¯à®¯à¯à®¯à®µà¯à®®à¯",scrollMac:"à®®à¯à®ªà¯à®ªà¯ பà¯à®°à®¿à®¤à®¾à®à¯à®à®¿/à®à®¿à®±à®¿à®¤à®¾à®à¯à®à®¿à®ªà¯ பாரà¯à®à¯à®, â பà®à¯à®à®©à¯à®ªà¯ பிà®à®¿à®¤à¯à®¤à®ªà®à®¿, à®®à¯à®²à¯/à®à¯à®´à¯ ஸà¯à®à¯à®°à®¾à®²à¯ à®à¯à®¯à¯à®¯à®µà¯à®®à¯"},te:{touch:"à°®à±à°¯à°¾à°ªà±âని తరలిà°à°à°¡à° à°à±à°¸à° à°°à±à°à°¡à± à°µà±à°³à±à°²à°¨à± à°à°ªà°¯à±à°à°¿à°à°à°à°¡à°¿",scroll:"à°®à±à°¯à°¾à°ªà±âని à°à±à°®à± à°à±à°¯à°¡à°¾à°¨à°¿à°à°¿ ctrl à°¬à°à°¨à±âనౠనà±à°à±à°à°¿ à°à°à°à°¿, à°¸à±à°à±à°°à±à°²à± à°à±à°¯à°à°¡à°¿",scrollMac:"à°®à±à°¯à°¾à°ªà± à°à±à°®à± à°à±à°¯à°¾à°²à°à°à± â + à°¸à±à°à±à°°à±à°²à± à°à°ªà°¯à±à°à°¿à°à°à°à°¡à°¿"},th:{touch:"à¹à¸à¹ 2 à¸à¸´à¹à¸§à¹à¸à¸·à¹à¸à¹à¸¥à¸·à¹à¸à¸à¹à¸à¸à¸à¸µà¹",scroll:"à¸à¸ Ctrl à¸à¹à¸²à¸à¹à¸§à¹ à¹à¸¥à¹à¸§à¹à¸¥à¸·à¹à¸à¸à¸«à¸à¹à¸²à¸à¸à¹à¸à¸·à¹à¸à¸à¸¹à¸¡à¹à¸à¸à¸à¸µà¹",scrollMac:"à¸à¸ â à¹à¸¥à¹à¸§à¹à¸¥à¸·à¹à¸à¸à¸«à¸à¹à¸²à¸à¸à¹à¸à¸·à¹à¸à¸à¸¹à¸¡à¹à¸à¸à¸à¸µà¹"},tl:{touch:"Gumamit ng dalawang daliri upang iusog ang mapa",scroll:"Gamitin ang ctrl + scroll upang i-zoom ang mapa",scrollMac:"Gamitin ang â + scroll upang i-zoom ang mapa"},tr:{touch:"Haritada gezinmek için iki parmaÄınızı kullanın",scroll:"Haritayı yakınlaÅtırmak için ctrl + kaydırma kombinasyonunu kullanın",scrollMac:"Haritayı yakınlaÅtırmak için â tuÅuna basıp ekranı kaydırın"},uk:{touch:"ÐеÑемÑÑÑйÑе каÑÑÑ Ð´Ð²Ð¾Ð¼Ð° палÑÑÑми",scroll:"Щоб змÑнÑваÑи маÑÑÑаб каÑÑи, пÑокÑÑÑÑйÑе колÑÑаÑко миÑÑ, ÑÑÑимÑÑÑи клавÑÑÑ Ctrl",scrollMac:"Щоб змÑниÑи маÑÑÑаб каÑÑи, викоÑиÑÑовÑйÑе â + пÑокÑÑÑÑваннÑ"},vi:{touch:"Sá» dụng hai ngón tay Äá» di chuyá»n bản Äá»",scroll:"Sá» dụng ctrl + cuá»n Äá» thu phóng bản Äá»",scrollMac:"Sá» dụng â + cuá»n Äá» thu phóng bản Äá»"},"zh-CN":{touch:"使ç¨åæç§»å¨å°å¾",scroll:"æä½ Ctrl å¹¶æ»å¨é¼ æ æ»è½®æå¯ç¼©æ¾å°å¾",scrollMac:"æä½ â å¹¶æ»å¨é¼ æ æ»è½®æå¯ç¼©æ¾å°å¾"},"zh-TW":{touch:"åæä»¥å
©æç§»åå°å",scroll:"æä½ ctrl éµå 䏿²åæ»é¼ å¯ä»¥ç¸®æ¾å°å",scrollMac:"æ â å 䏿»¾åæ²è»¸å¯ä»¥ç¸®æ¾å°å"}};
vendor: 4,322 bytes, line 1
1L.Map.mergeOptions({gestureHandlingOptions:{text:{},duration:1e3}});var i=!1,n=L.Handler.extend({addHooks:function(){this._handleTouch=this._handleTouch.bind(this),this._setupPluginOptions(),this._setLanguageContent(),this._disableInteractions(),this._map._container.addEventListener("touchstart",this._handleTouch),this._map._container.addEventListener("touchmove",this._handleTouch),this._map._container.addEventListener("touchend",this._handleTouch),this._map._container.addEventListener("touchcancel",this._handleTouch),this._map._container.addEventListener("click",this._handleTouch),L.DomEvent.on(this._map._container,"wheel",this._handleScroll,this),L.DomEvent.on(this._map,"mouseover",this._handleMouseOver,this),L.DomEvent.on(this._map,"mouseout",this._handleMouseOut,this),L.DomEvent.on(this._map,"movestart",this._handleDragging,this),L.DomEvent.on(this._map,"move",this._handleDragging,this),L.DomEvent.on(this._map,"moveend",this._handleDragging,this)},removeHooks:function(){this._enableInteractions(),this._map._container.removeEventListener("touchstart",this._handleTouch),this._map._container.removeEventListener("touchmove",this._handleTouch),this._map._container.removeEventListener("touchend",this._handleTouch),this._map._container.removeEventListener("touchcancel",this._handleTouch),this._map._container.removeEventListener("click",this._handleTouch),L.DomEvent.off(this._map._container,"wheel",this._handleScroll,this),L.DomEvent.off(this._map,"mouseover",this._handleMouseOver,this),L.DomEvent.off(this._map,"mouseout",this._handleMouseOut,this),L.DomEvent.off(this._map,"movestart",this._handleDragging,this),L.DomEvent.off(this._map,"move",this._handleDragging,this),L.DomEvent.off(this._map,"moveend",this._handleDragging,this)},_handleDragging:function(t){"movestart"==t.type||"move"==t.type?i=!0:"moveend"==t.type&&(i=!1)},_disableInteractions:function(){this._map.dragging.disable(),this._map.scrollWheelZoom.disable(),this._map.tap&&this._map.tap.disable()},_enableInteractions:function(){this._map.dragging.enable(),this._map.scrollWheelZoom.enable(),this._map.tap&&this._map.tap.enable()},_setupPluginOptions:function(){this._map.options.gestureHandlingText&&(this._map.options.gestureHandlingOptions.text=this._map.options.gestureHandlingText)},_setLanguageContent:function(){var t;if(this._map.options.gestureHandlingOptions&&this._map.options.gestureHandlingOptions.text&&this._map.options.gestureHandlingOptions.text.touch&&this._map.options.gestureHandlingOptions.text.scroll&&this._map.options.gestureHandlingOptions.text.scrollMac)t=this._map.options.gestureHandlingOptions.text;else{var i=this._getUserLanguage();i||(i="en"),e[i]&&(t=e[i]),t||-1===i.indexOf("-")||(i=i.split("-")[0],t=e[i]),t||(t=e[i="en"])}var n=!1;0<=navigator.platform.toUpperCase().indexOf("MAC")&&(n=!0);var o=t.scroll;n&&(o=t.scrollMac),this._map._container.setAttribute("data-gesture-handling-touch-content",t.touch),this._map._container.setAttribute("data-gesture-handling-scroll-content",o)},_getUserLanguage:function(){return navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage},_handleTouch:function(t){for(var e=["leaflet-control-minimap","leaflet-interactive","leaflet-popup-content","leaflet-popup-content-wrapper","leaflet-popup-close-button","leaflet-control-zoom-in","leaflet-control-zoom-out"],i=!1,n=0;n<e.length;n++)L.DomUtil.hasClass(t.target,e[n])&&(i=!0);i?L.DomUtil.hasClass(t.target,"leaflet-interactive")&&"touchmove"===t.type&&1===t.touches.length?(L.DomUtil.addClass(this._map._container,"leaflet-gesture-handling-touch-warning"),this._disableInteractions()):L.DomUtil.removeClass(this._map._container,"leaflet-gesture-handling-touch-warning"):"touchmove"===t.type||"touchstart"===t.type?1===t.touches.length?(L.DomUtil.addClass(this._map._container,"leaflet-gesture-handling-touch-warning"),this._disableInteractions()):(t.preventDefault(),this._enableInteractions(),L.DomUtil.removeClass(this._map._container,"leaflet-gesture-handling-touch-warning")):L.DomUtil.removeClass(this._map._container,"leaflet-gesture-handling-touch-warning")},_isScrolling:!1,_handleScroll:function(t){t.metaKey||t.ctrlKey?(t.preventDefault(),L.DomUtil.removeClass(this._map._container,"leaflet-gesture-handling-scroll-warning"),this._map.scrollWheelZoom.enable()):(L.Dom
1Util.addClass(this._map._container,"leaflet-gesture-handling-scroll-warning"),this._map.scrollWheelZoom.disable(),clearTimeout(this._isScrolling),this._isScrolling=setTimeout(function(){for(var t=document.getElementsByClassName("leaflet-gesture-handling-scroll-warning"),e=0;e<t.length;e++)L.DomUtil.removeClass(t[e],"leaflet-gesture-handling-scroll-warning")},this._map.options.gestureHandlingOptions.duration))},_handleMouseOver:function(t){this._enableInteractions()},_handleMouseOut:function(t){i||this._disableInteractions()}});L.Map.addInitHook("addHandler","gestureHandling",n),t.GestureHandling=n,t.default=n,Object.defineProperty(t,"__esModule",{value:!0})}(e)},537:t=>{"use strict";t.exports=window.Hotelwize},572:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MapMarkerIcon=e.MapMarkerIconData=void 0;e.MapMarkerIconData=class{constructor(t,e,i){this.url=t,this.width=e,this.height=i}};e.MapMarkerIcon=class{getUrl(){return this.url||""}setUrl(t){this.url=t}getWidth(){return"string"==typeof this.width?parseInt(this.width,10):this.width||0}getHeight(){return"string"==typeof this.height?parseInt(this.height,10):this.height||0}setWidth(t){this.width=t}setHeight(t){this.height=t}isValid(){var t=this.getWidth(),e=this.getHeight(),i=this.getUrl();return null!=i&&""!==i&&t>0&&e>0}constructor(t,e,i){this.url="",this.width=0,this.height=0,this.setUrl(t),this.setWidth(e),this.setHeight(i)}}},623:function(t,e,i){"use strict";var n,o=this&&this.__createBinding||(Object.create?function(t,e,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(e,i);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,n,o)}:function(t,e,i,n){void 0===n&&(n=i),t[n]=e[i]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),r=this&&this.__importStar||(n=function(t){return n=Object.getOwnPropertyNames||function(t){var e=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[e.length]=i);return e},n(t)},function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i=n(t),r=0;r<i.length;r++)"default"!==i[r]&&o(e,t,i[r]);return s(e,t),e}),a=this&&this.__awaiter||function(t,e,i,n){return new(i||(i=Promise))(function(o,s){function r(t){try{h(n.next(t))}catch(t){s(t)}}function a(t){try{h(n.throw(t))}catch(t){s(t)}}function h(t){var e;t.done?o(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(r,a)}h((n=n.apply(t,e||[])).next())})},h=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.MapProvider=e.MapMarker=e.GestureHandling=e.Leaflet=void 0;const l=r(i(537)),u=h(i(93)),c=i(191);i(12);const d=i(32),_=i(572);e.Leaflet=r(i(93));var p=i(191);Object.defineProperty(e,"GestureHandling",{enumerable:!0,get:function(){return p.GestureHandling}});var m=i(32);Object.defineProperty(e,"MapMarker",{enumerable:!0,get:function(){return m.MapMarker}});class f extends l.Plugins.Plugin{init(){return a(this,void 0,void 0,function*(){this.initMap(),this.initEvents()})}constructor(t){super(t),this.defaults={lat:0,lng:0,zoom:13,zoomControl:!1,zoomControlsPosition:"bottomleft",defaultMarkerIcon:new _.MapMarkerIconData(l.Support.StringHelpers.trimTrailingSlash(window.HotelwizeApp.Configuration.publishUrl)+"/assets/img/marker-icon-2x.png",25,41),mainLocationImage:null},this.generalOptions=Object.assign(Object.assign(Object.assign({},this.defaults),this.configuration),window.map_theme_options),this.mapMarkers=[]}getMap(){return this.map}getMapOptions(){return this.generalOptions}getLayerStyle(){return window.OpenStreetMapLayerStyle||u.default.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'© <a href="https://www.openstreetmap.org/copyright" rel="noopener noreferrer" target="_blank">OpenStreetMap</a> contributors'})}initMap(){if(u.default.Map.addInitHook("addHandler","gestureHandling",c.GestureHandling),this.mapContainer=document.querySelectorAll("[data-map-container]").item(0),this.mapContainer){let t=parseFloat(this.mapContainer.getAttribute("data-lat"))||this.defaults.lat,e=parseFloat(this.mapContainer.getAttribute("data-lng"))||this.defaults.lng,i={layers:[this.getLayerStyle()],center:[t,e],zoom:this.generalOptions.zoom,zoomControl:!1,preferCanvas:!0,gestureHandling:!0,attributionControl:!0};this.map=u.default.map(this.mapContainer,i),this.map.attributionControl.setPrefix(!1),this.generalOptions.zoomControl&&u.default.control.zoom({position:this.generalOptions.zoomControlsPosition}).addTo(this.map),this.setUpMarkers()}}initEvents(){document.querySelectorAll("[data-marker-id]").forEach(t=>{t.addEventListener("click",t=>{var e;if(t.currentTarget){let i=t.currentTarget.getAttribute("data-marker-id");const n=this.mapMarkers.filter(t=>t.id===i);1===n.length&&(null===(e=this.map)||void 0===e||e.flyTo(new u.default.LatLng(n[0].getLat(),n[0].getLng()),18))}})})}setUpMarkers(){if(this.map)if(window.map_locations.forEach(t=>{let e=new d.MapMarker;e.parseData(t),this.mapMarkers.push(e)}),1==this.mapMarkers.length){const t=this.getLeafletMarker(this.mapMarkers[0]);t.addTo(this.map);let e=`${t.getLatLng().lat},${t.getLatLng().lng}`;
1if(""===this.mapMarkers[0].content){let i=this.mapMarkers[0].url;""===i||i||(i=`https://maps.google.com/maps?q=${e}`),t.on("click",()=>{window.open(i,"_blank")})}this.map.setView(t.getLatLng(),this.generalOptions.zoom)}else if(this.mapMarkers.length>1){const t=u.default.latLngBounds(),e=u.default.markerClusterGroup();this.mapMarkers.forEach(i=>{const n=this.getLeafletMarker(i);i.excludeFromCluster?n.addTo(this.map):null==e||e.addLayer(n),t.extend(n.getLatLng())}),this.map.addLayer(e),this.map.fitBounds(t,{animate:!1});const i=this.map.getBoundsZoom(t);this.map.setZoom(i-1,{animate:!1})}}getLeafletMarker(t){const e=t.id,i=t.getLat(),n=t.getLng(),o=this.getLeafletMarkerIcon(t.icon);let s=u.default.marker([i,n],{icon:o,id:e});const r=this.getPopupContent(e);return r&&s.bindPopup(r),s}getLeafletMarkerIcon(t){let e="",i=0,n=0;return null!=t&&t.isValid()||(t=new _.MapMarkerIcon(this.generalOptions.defaultMarkerIcon.url,this.generalOptions.defaultMarkerIcon.width,this.generalOptions.defaultMarkerIcon.height)),e=t.getUrl(),i=t.getWidth(),n=t.getHeight(),u.default.icon({iconUrl:e,iconSize:[i,n],iconAnchor:[i/2,n],popupAnchor:[0,-(n+5)]})}getPopupContent(t){let e="";const i=window.map_locations.filter(e=>e.id===t);if(0===i.length)return e;const n=i[0].content;return n&&(e=n),this.htmlDecode(e)}htmlDecode(t){const e=document.createElement("textarea");return e.innerHTML=t,0===e.childNodes.length?"":e.childNodes[0].nodeValue}}e.MapProvider=f}},e={};var i=function i(n){var o=e[n];if(void 0!==o)return o.exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,i),s.exports}(623);self["Hotelwize.Plugins.MapProvider"]=i})(); window.OpenStreetMapLayerStyle = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}', { attribution: 'Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012' }); let mapProvider = new globalThis['Hotelwize.Plugins.MapProvider'].MapProvider({ "id": 35, "instanceId": "351ba7c2-a563-4839-8374-4b507ba4fb65", "instanceOrder": 0, "type": "mapProvider", "isTypeDefault": false, "name": "OpenStreet Map", "assemblyName": "Hotelwize.Plugins.MapProvider.OpenStreetMap", "assemblyVersion": "1.3.19.57285", "configuration": { "localeCode": "en-US", "defaultMarkerIcon": { "url": "https://assets.builderassets.com/site-media/110/admin-ajax.png?format=png\u0026quality=80", "width": 60, "height": 60 }, "mapStyle": "vivid-colors", "zoom": 13, "zoomControl": true }, "trackers": [], "clientSettings": [], "clientSettingsLifetime": 2592000, "cookies": [] }); HotelwizeApp.registerPlugin(mapProvider, true); } </script>
1 </body> </html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.