@geotrekce/geotrek-rando-widget 0.0.21 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{css-shim-4e479c1a.js → css-shim-541cb78a.js} +2 -2
- package/dist/cjs/css-shim-541cb78a.js.br +0 -0
- package/dist/cjs/css-shim-541cb78a.js.gz +0 -0
- package/dist/cjs/{css-shim-4e479c1a.js.map → css-shim-541cb78a.js.map} +1 -1
- package/dist/cjs/{dom-52c0133a.js → dom-7f26de17.js} +2 -2
- package/dist/cjs/dom-7f26de17.js.br +0 -0
- package/dist/cjs/dom-7f26de17.js.gz +0 -0
- package/dist/cjs/{dom-52c0133a.js.map → dom-7f26de17.js.map} +1 -1
- package/dist/cjs/geotrek-rando-widget.cjs.js +4 -4
- package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.map +1 -1
- package/dist/cjs/grw-app.cjs.entry.js +61 -17
- package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
- package/dist/cjs/{grw-filter_6.cjs.entry.js → grw-filter_7.cjs.entry.js} +5554 -257
- package/dist/cjs/grw-filter_7.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filter_7.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filter_7.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-information-desk-detail_3.cjs.entry.js +51 -9
- package/dist/cjs/grw-information-desk-detail_3.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk-detail_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk-detail_3.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-trek-card.cjs.entry.js +17 -10
- package/dist/cjs/grw-trek-card.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-trek-card.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-trek-card.cjs.entry.js.map +1 -1
- package/dist/cjs/i18n-67fd458f.js +108 -0
- package/dist/cjs/i18n-67fd458f.js.br +0 -0
- package/dist/cjs/i18n-67fd458f.js.gz +0 -0
- package/dist/cjs/i18n-67fd458f.js.map +1 -0
- package/dist/cjs/{index-5c1a15c7.js → index-965985fa.js} +486 -30
- package/dist/cjs/index-965985fa.js.br +0 -0
- package/dist/cjs/index-965985fa.js.gz +0 -0
- package/dist/cjs/index-965985fa.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js.br +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/pagination-149c2052.js +4655 -0
- package/dist/cjs/pagination-149c2052.js.br +0 -0
- package/dist/cjs/pagination-149c2052.js.gz +0 -0
- package/dist/cjs/pagination-149c2052.js.map +1 -0
- package/dist/cjs/{shadow-css-388a8a25.js → shadow-css-2e025b8c.js} +2 -2
- package/dist/cjs/shadow-css-2e025b8c.js.br +0 -0
- package/dist/cjs/shadow-css-2e025b8c.js.gz +0 -0
- package/dist/cjs/{shadow-css-388a8a25.js.map → shadow-css-2e025b8c.js.map} +1 -1
- package/dist/cjs/{store-a027262c.js → store-002456b2.js} +11 -9
- package/dist/cjs/store-002456b2.js.br +0 -0
- package/dist/cjs/store-002456b2.js.gz +0 -0
- package/dist/cjs/store-002456b2.js.map +1 -0
- package/dist/collection/assets/default-image.svg +1 -0
- package/dist/collection/assets/default-image.svg.br +1 -0
- package/dist/collection/assets/default-image.svg.gz +0 -0
- package/dist/collection/assets/layers.svg +1 -0
- package/dist/collection/assets/layers.svg.br +0 -0
- package/dist/collection/assets/layers.svg.gz +0 -0
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/grw-app/grw-app.css +121 -73
- package/dist/collection/components/grw-app/grw-app.css.br +0 -0
- package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js +332 -49
- package/dist/collection/components/grw-app/grw-app.js.br +0 -0
- package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js.map +1 -1
- package/dist/collection/components/grw-filter/grw-filter.css +39 -10
- package/dist/collection/components/grw-filter/grw-filter.css.br +0 -0
- package/dist/collection/components/grw-filter/grw-filter.css.gz +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js +1 -1
- package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.css +74 -8
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.css.br +0 -0
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.css.gz +0 -0
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js +32 -4
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.br +0 -0
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.gz +0 -0
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.map +1 -1
- package/dist/collection/components/grw-map/grw-map.css +1214 -672
- package/dist/collection/components/grw-map/grw-map.css.br +0 -0
- package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js +269 -59
- package/dist/collection/components/grw-map/grw-map.js.br +0 -0
- package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js.map +1 -1
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.css +564 -11
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.css.br +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.css.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.js +45 -2
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.br +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.map +1 -1
- package/dist/collection/components/grw-select-language/grw-select-language.css +8 -0
- package/dist/collection/components/grw-select-language/grw-select-language.css.br +0 -0
- package/dist/collection/components/grw-select-language/grw-select-language.css.gz +0 -0
- package/dist/collection/components/grw-select-language/grw-select-language.js +26 -0
- package/dist/collection/components/grw-select-language/grw-select-language.js.br +0 -0
- package/dist/collection/components/grw-select-language/grw-select-language.js.gz +0 -0
- package/dist/collection/components/grw-select-language/grw-select-language.js.map +1 -0
- package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.css +10 -6
- package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.css.br +0 -0
- package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.css.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css +40 -16
- package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js +75 -14
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.br +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.map +1 -1
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +808 -53
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.br +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.gz +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +419 -25
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.css +8 -2
- package/dist/collection/components/grw-treks-list/grw-treks-list.css.br +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.css.gz +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js +66 -9
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.map +1 -1
- package/dist/collection/i18n/i18n.js +103 -0
- package/dist/collection/i18n/i18n.js.br +0 -0
- package/dist/collection/i18n/i18n.js.gz +0 -0
- package/dist/collection/i18n/i18n.js.map +1 -0
- package/dist/collection/store/grw-trek-provider.js +29 -20
- package/dist/collection/store/grw-trek-provider.js.br +0 -0
- package/dist/collection/store/grw-trek-provider.js.gz +0 -0
- package/dist/collection/store/grw-trek-provider.js.map +1 -1
- package/dist/collection/store/grw-treks-provider.js +24 -16
- package/dist/collection/store/grw-treks-provider.js.br +0 -0
- package/dist/collection/store/grw-treks-provider.js.gz +0 -0
- package/dist/collection/store/grw-treks-provider.js.map +1 -1
- package/dist/collection/store/store.js +9 -7
- package/dist/collection/store/store.js.br +0 -0
- package/dist/collection/store/store.js.gz +0 -0
- package/dist/collection/store/store.js.map +1 -1
- package/dist/collection/stories/App.js +30 -6
- package/dist/collection/stories/App.js.br +0 -0
- package/dist/collection/stories/App.js.gz +0 -0
- package/dist/collection/stories/App.stories.js +16 -4
- package/dist/collection/stories/App.stories.js.br +0 -0
- package/dist/collection/stories/App.stories.js.gz +0 -0
- package/dist/collection/stories/TrekCard.js +6 -3
- package/dist/collection/stories/TrekCard.js.br +0 -0
- package/dist/collection/stories/TrekCard.js.gz +0 -0
- package/dist/collection/stories/TrekCard.stories.js +6 -3
- package/dist/collection/stories/TrekCard.stories.js.br +0 -0
- package/dist/collection/stories/TrekCard.stories.js.gz +0 -0
- package/dist/collection/stories/TrekDetail.js +19 -4
- package/dist/collection/stories/TrekDetail.js.br +0 -0
- package/dist/collection/stories/TrekDetail.js.gz +0 -0
- package/dist/collection/stories/TrekDetail.stories.js +8 -4
- package/dist/collection/stories/TrekDetail.stories.js.br +0 -0
- package/dist/collection/stories/TrekDetail.stories.js.gz +0 -0
- package/dist/collection/stories/TrekMap.js +23 -1
- package/dist/collection/stories/TrekMap.js.br +0 -0
- package/dist/collection/stories/TrekMap.js.gz +0 -0
- package/dist/collection/stories/TrekMap.stories.js +6 -1
- package/dist/collection/stories/TrekMap.stories.js.br +0 -0
- package/dist/collection/stories/TrekMap.stories.js.gz +0 -0
- package/dist/collection/stories/TreksList.js +22 -3
- package/dist/collection/stories/TreksList.js.br +0 -0
- package/dist/collection/stories/TreksList.js.gz +0 -0
- package/dist/collection/stories/TreksList.stories.js +6 -3
- package/dist/collection/stories/TreksList.stories.js.br +0 -0
- package/dist/collection/stories/TreksList.stories.js.gz +0 -0
- package/dist/collection/stories/TreksMap.js +6 -3
- package/dist/collection/stories/TreksMap.js.br +0 -0
- package/dist/collection/stories/TreksMap.js.gz +0 -0
- package/dist/collection/stories/TreksMap.stories.js +6 -3
- package/dist/collection/stories/TreksMap.stories.js.br +0 -0
- package/dist/collection/stories/TreksMap.stories.js.gz +0 -0
- package/dist/collection/types/types.js.map +1 -1
- package/dist/esm/{css-shim-cfbf2cf5.js → css-shim-8cc70a22.js} +2 -2
- package/dist/esm/css-shim-8cc70a22.js.br +0 -0
- package/dist/esm/css-shim-8cc70a22.js.gz +0 -0
- package/dist/esm/{css-shim-cfbf2cf5.js.map → css-shim-8cc70a22.js.map} +1 -1
- package/dist/esm/{dom-c0f8af80.js → dom-60e3e2ad.js} +2 -2
- package/dist/esm/dom-60e3e2ad.js.br +0 -0
- package/dist/esm/dom-60e3e2ad.js.gz +0 -0
- package/dist/esm/{dom-c0f8af80.js.map → dom-60e3e2ad.js.map} +1 -1
- package/dist/esm/geotrek-rando-widget.js +5 -5
- package/dist/esm/geotrek-rando-widget.js.br +0 -0
- package/dist/esm/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm/geotrek-rando-widget.js.map +1 -1
- package/dist/esm/grw-app.entry.js +61 -17
- package/dist/esm/grw-app.entry.js.br +0 -0
- package/dist/esm/grw-app.entry.js.gz +0 -0
- package/dist/esm/grw-app.entry.js.map +1 -1
- package/dist/esm/{grw-filter_6.entry.js → grw-filter_7.entry.js} +5539 -263
- package/dist/esm/grw-filter_7.entry.js.br +0 -0
- package/dist/esm/grw-filter_7.entry.js.gz +0 -0
- package/dist/esm/grw-filter_7.entry.js.map +1 -0
- package/dist/esm/grw-information-desk-detail_3.entry.js +51 -9
- package/dist/esm/grw-information-desk-detail_3.entry.js.br +0 -0
- package/dist/esm/grw-information-desk-detail_3.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk-detail_3.entry.js.map +1 -1
- package/dist/esm/grw-trek-card.entry.js +17 -10
- package/dist/esm/grw-trek-card.entry.js.br +0 -0
- package/dist/esm/grw-trek-card.entry.js.gz +0 -0
- package/dist/esm/grw-trek-card.entry.js.map +1 -1
- package/dist/esm/i18n-b25e6b48.js +106 -0
- package/dist/esm/i18n-b25e6b48.js.br +0 -0
- package/dist/esm/i18n-b25e6b48.js.gz +0 -0
- package/dist/esm/i18n-b25e6b48.js.map +1 -0
- package/dist/esm/{index-e862524f.js → index-57c9193c.js} +487 -31
- package/dist/esm/index-57c9193c.js.br +0 -0
- package/dist/esm/index-57c9193c.js.gz +0 -0
- package/dist/esm/index-57c9193c.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/pagination-24051620.js +4646 -0
- package/dist/esm/pagination-24051620.js.br +0 -0
- package/dist/esm/pagination-24051620.js.gz +0 -0
- package/dist/esm/pagination-24051620.js.map +1 -0
- package/dist/esm/{shadow-css-12b9a099.js → shadow-css-19be24ee.js} +2 -2
- package/dist/esm/shadow-css-19be24ee.js.br +0 -0
- package/dist/esm/shadow-css-19be24ee.js.gz +0 -0
- package/dist/esm/{shadow-css-12b9a099.js.map → shadow-css-19be24ee.js.map} +1 -1
- package/dist/esm/{store-5565fa38.js → store-b2d579d9.js} +11 -9
- package/dist/esm/store-b2d579d9.js.br +0 -0
- package/dist/esm/store-b2d579d9.js.gz +0 -0
- package/dist/esm/store-b2d579d9.js.map +1 -0
- package/dist/esm-es5/{css-shim-cfbf2cf5.js → css-shim-8cc70a22.js} +1 -1
- package/dist/esm-es5/css-shim-8cc70a22.js.br +0 -0
- package/dist/esm-es5/css-shim-8cc70a22.js.gz +0 -0
- package/dist/esm-es5/{css-shim-cfbf2cf5.js.map → css-shim-8cc70a22.js.map} +1 -1
- package/dist/esm-es5/{dom-c0f8af80.js → dom-60e3e2ad.js} +1 -1
- package/dist/esm-es5/dom-60e3e2ad.js.br +0 -0
- package/dist/esm-es5/dom-60e3e2ad.js.gz +0 -0
- package/dist/esm-es5/{dom-c0f8af80.js.map → dom-60e3e2ad.js.map} +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
- package/dist/esm-es5/grw-app.entry.js +1 -1
- package/dist/esm-es5/grw-app.entry.js.br +0 -0
- package/dist/esm-es5/grw-app.entry.js.gz +0 -0
- package/dist/esm-es5/grw-app.entry.js.map +1 -1
- package/dist/esm-es5/grw-filter_7.entry.js +14 -0
- package/dist/esm-es5/grw-filter_7.entry.js.br +0 -0
- package/dist/esm-es5/grw-filter_7.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filter_7.entry.js.map +1 -0
- package/dist/esm-es5/grw-information-desk-detail_3.entry.js +1 -1
- package/dist/esm-es5/grw-information-desk-detail_3.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk-detail_3.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk-detail_3.entry.js.map +1 -1
- package/dist/esm-es5/grw-trek-card.entry.js +1 -1
- package/dist/esm-es5/grw-trek-card.entry.js.br +0 -0
- package/dist/esm-es5/grw-trek-card.entry.js.gz +0 -0
- package/dist/esm-es5/grw-trek-card.entry.js.map +1 -1
- package/dist/esm-es5/i18n-b25e6b48.js +2 -0
- package/dist/esm-es5/i18n-b25e6b48.js.br +0 -0
- package/dist/esm-es5/i18n-b25e6b48.js.gz +0 -0
- package/dist/esm-es5/i18n-b25e6b48.js.map +1 -0
- package/dist/esm-es5/index-57c9193c.js +3 -0
- package/dist/esm-es5/index-57c9193c.js.br +0 -0
- package/dist/esm-es5/index-57c9193c.js.gz +0 -0
- package/dist/esm-es5/index-57c9193c.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/pagination-24051620.js +2 -0
- package/dist/esm-es5/pagination-24051620.js.br +0 -0
- package/dist/esm-es5/pagination-24051620.js.gz +0 -0
- package/dist/esm-es5/pagination-24051620.js.map +1 -0
- package/dist/esm-es5/{shadow-css-12b9a099.js → shadow-css-19be24ee.js} +1 -1
- package/dist/esm-es5/shadow-css-19be24ee.js.br +0 -0
- package/dist/esm-es5/shadow-css-19be24ee.js.gz +0 -0
- package/dist/esm-es5/{shadow-css-12b9a099.js.map → shadow-css-19be24ee.js.map} +1 -1
- package/dist/esm-es5/{store-5565fa38.js → store-b2d579d9.js} +2 -2
- package/dist/esm-es5/store-b2d579d9.js.br +0 -0
- package/dist/esm-es5/store-b2d579d9.js.gz +0 -0
- package/dist/esm-es5/store-b2d579d9.js.map +1 -0
- package/dist/geotrek-rando-widget/assets/default-image.svg +1 -0
- package/dist/geotrek-rando-widget/assets/default-image.svg.br +1 -0
- package/dist/geotrek-rando-widget/assets/default-image.svg.gz +0 -0
- package/dist/geotrek-rando-widget/assets/layers.svg +1 -0
- package/dist/geotrek-rando-widget/assets/layers.svg.br +0 -0
- package/dist/geotrek-rando-widget/assets/layers.svg.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.css +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.css.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.css.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0773c38f.js +2 -0
- package/dist/geotrek-rando-widget/p-0773c38f.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0773c38f.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0773c38f.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-3eb96982.js → p-0f28420f.js} +1 -1
- package/dist/geotrek-rando-widget/p-0f28420f.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0f28420f.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-3eb96982.js.map → p-0f28420f.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-12132148.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-12132148.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-12132148.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-12132148.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-1eb5bb96.js → p-15fed795.js} +1 -1
- package/dist/geotrek-rando-widget/p-15fed795.js.br +0 -0
- package/dist/geotrek-rando-widget/p-15fed795.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-1eb5bb96.js.map → p-15fed795.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-1945d1c1.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-1945d1c1.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1945d1c1.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1945d1c1.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-2092e60d.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-2092e60d.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2092e60d.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-2092e60d.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-e6f85aed.system.js → p-2a99981a.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-2a99981a.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2a99981a.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-e6f85aed.system.js.map → p-2a99981a.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-360241fa.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-360241fa.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-360241fa.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-360241fa.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-4f746b28.js +3 -0
- package/dist/geotrek-rando-widget/p-4f746b28.js.br +0 -0
- package/dist/geotrek-rando-widget/p-4f746b28.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-4f746b28.js.map +1 -0
- package/dist/geotrek-rando-widget/p-58cf0dd0.js +2 -0
- package/dist/geotrek-rando-widget/p-58cf0dd0.js.br +0 -0
- package/dist/geotrek-rando-widget/p-58cf0dd0.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-58cf0dd0.js.map +1 -0
- package/dist/geotrek-rando-widget/p-59c35d04.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-59c35d04.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-59c35d04.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-59c35d04.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-66d490d8.system.js → p-634eaa8f.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-634eaa8f.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-634eaa8f.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-66d490d8.system.js.map → p-634eaa8f.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/{p-a9a35a44.system.js → p-63e651bf.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-63e651bf.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-63e651bf.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-a9a35a44.system.js.map → p-63e651bf.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-758bdb7e.system.js +2 -0
- package/dist/geotrek-rando-widget/p-758bdb7e.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-758bdb7e.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-758bdb7e.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-8872ebd8.system.js +2 -0
- package/dist/geotrek-rando-widget/p-8872ebd8.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-8872ebd8.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-8872ebd8.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-8e38db57.system.js +2 -0
- package/dist/geotrek-rando-widget/p-8e38db57.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-8e38db57.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-8e38db57.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-a06aacd4.js +2 -0
- package/dist/geotrek-rando-widget/p-a06aacd4.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a06aacd4.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a06aacd4.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-88c3a6bd.js → p-b5fc5b41.js} +1 -1
- package/dist/geotrek-rando-widget/p-b5fc5b41.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b5fc5b41.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-88c3a6bd.js.map → p-b5fc5b41.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-d5094323.system.js +3 -0
- package/dist/geotrek-rando-widget/p-d5094323.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d5094323.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d5094323.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-da631d19.system.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-da631d19.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-da631d19.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-da631d19.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-dc91249a.system.js +2 -0
- package/dist/geotrek-rando-widget/p-dc91249a.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-dc91249a.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-dc91249a.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-e2660a2c.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-e2660a2c.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e2660a2c.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e2660a2c.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-ebbb300d.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-ebbb300d.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ebbb300d.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ebbb300d.system.entry.js.map +1 -0
- package/dist/types/components/grw-app/grw-app.d.ts +20 -6
- package/dist/types/components/grw-information-desk-detail/grw-information-desk-detail.d.ts +8 -0
- package/dist/types/components/grw-map/grw-map.d.ts +28 -6
- package/dist/types/components/grw-poi-detail/grw-poi-detail.d.ts +11 -0
- package/dist/types/components/grw-select-language/grw-select-language.d.ts +4 -0
- package/dist/types/components/grw-trek-card/grw-trek-card.d.ts +5 -2
- package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +74 -4
- package/dist/types/components/grw-treks-list/grw-treks-list.d.ts +6 -3
- package/dist/types/components.d.ts +115 -30
- package/dist/types/i18n/i18n.d.ts +56 -0
- package/dist/types/stencil-public-runtime.d.ts +3 -0
- package/dist/types/store/grw-trek-provider.d.ts +3 -1
- package/dist/types/store/grw-treks-provider.d.ts +3 -1
- package/dist/types/store/store.d.ts +4 -0
- package/dist/types/types/types.d.ts +17 -3
- package/loader/index.d.ts +1 -1
- package/package.json +17 -14
- package/readme.md +4 -2
- package/dist/cjs/css-shim-4e479c1a.js.br +0 -0
- package/dist/cjs/css-shim-4e479c1a.js.gz +0 -0
- package/dist/cjs/dom-52c0133a.js.br +0 -0
- package/dist/cjs/dom-52c0133a.js.gz +0 -0
- package/dist/cjs/grw-filter_6.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filter_6.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filter_6.cjs.entry.js.map +0 -1
- package/dist/cjs/index-5c1a15c7.js.br +0 -0
- package/dist/cjs/index-5c1a15c7.js.gz +0 -0
- package/dist/cjs/index-5c1a15c7.js.map +0 -1
- package/dist/cjs/shadow-css-388a8a25.js.br +0 -0
- package/dist/cjs/shadow-css-388a8a25.js.gz +0 -0
- package/dist/cjs/store-a027262c.js.br +0 -0
- package/dist/cjs/store-a027262c.js.gz +0 -0
- package/dist/cjs/store-a027262c.js.map +0 -1
- package/dist/collection/assets/arrow-back.svg +0 -1
- package/dist/collection/assets/arrow-back.svg.br +0 -0
- package/dist/collection/assets/arrow-back.svg.gz +0 -0
- package/dist/collection/assets/ascent.svg +0 -1
- package/dist/collection/assets/ascent.svg.br +0 -0
- package/dist/collection/assets/ascent.svg.gz +0 -0
- package/dist/collection/assets/duration.svg +0 -1
- package/dist/collection/assets/duration.svg.br +0 -0
- package/dist/collection/assets/duration.svg.gz +0 -0
- package/dist/collection/assets/length.svg +0 -1
- package/dist/collection/assets/length.svg.br +0 -4
- package/dist/collection/assets/length.svg.gz +0 -0
- package/dist/esm/css-shim-cfbf2cf5.js.br +0 -0
- package/dist/esm/css-shim-cfbf2cf5.js.gz +0 -0
- package/dist/esm/dom-c0f8af80.js.br +0 -0
- package/dist/esm/dom-c0f8af80.js.gz +0 -0
- package/dist/esm/grw-filter_6.entry.js.br +0 -0
- package/dist/esm/grw-filter_6.entry.js.gz +0 -0
- package/dist/esm/grw-filter_6.entry.js.map +0 -1
- package/dist/esm/index-e862524f.js.br +0 -0
- package/dist/esm/index-e862524f.js.gz +0 -0
- package/dist/esm/index-e862524f.js.map +0 -1
- package/dist/esm/shadow-css-12b9a099.js.br +0 -0
- package/dist/esm/shadow-css-12b9a099.js.gz +0 -0
- package/dist/esm/store-5565fa38.js.br +0 -0
- package/dist/esm/store-5565fa38.js.gz +0 -0
- package/dist/esm/store-5565fa38.js.map +0 -1
- package/dist/esm-es5/css-shim-cfbf2cf5.js.br +0 -0
- package/dist/esm-es5/css-shim-cfbf2cf5.js.gz +0 -0
- package/dist/esm-es5/dom-c0f8af80.js.br +0 -0
- package/dist/esm-es5/dom-c0f8af80.js.gz +0 -0
- package/dist/esm-es5/grw-filter_6.entry.js +0 -7
- package/dist/esm-es5/grw-filter_6.entry.js.br +0 -0
- package/dist/esm-es5/grw-filter_6.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filter_6.entry.js.map +0 -1
- package/dist/esm-es5/index-e862524f.js +0 -3
- package/dist/esm-es5/index-e862524f.js.br +0 -0
- package/dist/esm-es5/index-e862524f.js.gz +0 -0
- package/dist/esm-es5/index-e862524f.js.map +0 -1
- package/dist/esm-es5/shadow-css-12b9a099.js.br +0 -0
- package/dist/esm-es5/shadow-css-12b9a099.js.gz +0 -0
- package/dist/esm-es5/store-5565fa38.js.br +0 -0
- package/dist/esm-es5/store-5565fa38.js.gz +0 -0
- package/dist/esm-es5/store-5565fa38.js.map +0 -1
- package/dist/geotrek-rando-widget/assets/arrow-back.svg +0 -1
- package/dist/geotrek-rando-widget/assets/arrow-back.svg.br +0 -0
- package/dist/geotrek-rando-widget/assets/arrow-back.svg.gz +0 -0
- package/dist/geotrek-rando-widget/assets/ascent.svg +0 -1
- package/dist/geotrek-rando-widget/assets/ascent.svg.br +0 -0
- package/dist/geotrek-rando-widget/assets/ascent.svg.gz +0 -0
- package/dist/geotrek-rando-widget/assets/duration.svg +0 -1
- package/dist/geotrek-rando-widget/assets/duration.svg.br +0 -0
- package/dist/geotrek-rando-widget/assets/duration.svg.gz +0 -0
- package/dist/geotrek-rando-widget/assets/length.svg +0 -1
- package/dist/geotrek-rando-widget/assets/length.svg.br +0 -4
- package/dist/geotrek-rando-widget/assets/length.svg.gz +0 -0
- package/dist/geotrek-rando-widget/p-199359a3.system.js +0 -2
- package/dist/geotrek-rando-widget/p-199359a3.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-199359a3.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-199359a3.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-19d69e2f.system.js +0 -3
- package/dist/geotrek-rando-widget/p-19d69e2f.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-19d69e2f.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-19d69e2f.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-1eb5bb96.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1eb5bb96.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-24c3dfb6.entry.js +0 -7
- package/dist/geotrek-rando-widget/p-24c3dfb6.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-24c3dfb6.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-24c3dfb6.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-3eb96982.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3eb96982.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-504d151b.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-504d151b.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-504d151b.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-504d151b.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-52c83c69.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-52c83c69.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-52c83c69.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-52c83c69.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-66d490d8.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-66d490d8.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7262406c.js +0 -2
- package/dist/geotrek-rando-widget/p-7262406c.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7262406c.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7262406c.js.map +0 -1
- package/dist/geotrek-rando-widget/p-88c3a6bd.js.br +0 -0
- package/dist/geotrek-rando-widget/p-88c3a6bd.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-921dc146.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-921dc146.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-921dc146.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-921dc146.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-99c86553.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-99c86553.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-99c86553.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-99c86553.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-a96ced47.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-a96ced47.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a96ced47.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a96ced47.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-a9a35a44.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a9a35a44.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b00cf3cc.system.js +0 -2
- package/dist/geotrek-rando-widget/p-b00cf3cc.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b00cf3cc.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b00cf3cc.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-c0687c5e.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-c0687c5e.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c0687c5e.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c0687c5e.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-d8bdcfaf.js +0 -3
- package/dist/geotrek-rando-widget/p-d8bdcfaf.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d8bdcfaf.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d8bdcfaf.js.map +0 -1
- package/dist/geotrek-rando-widget/p-e6f85aed.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e6f85aed.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ee15d9b3.system.entry.js +0 -7
- package/dist/geotrek-rando-widget/p-ee15d9b3.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ee15d9b3.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ee15d9b3.system.entry.js.map +0 -1
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as e,i as n,g as s,c as r}from"./p-d8bdcfaf.js";import{s as o,o as a,r as h}from"./p-7262406c.js";import{f as l,a as f,b as u}from"./p-2d3ac9a0.js";const c=".filter-name{margin-left:8px;color:var(--color-primary);font-size:24px;font-weight:bold}.filter-button-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.filter-button-container .filter-button,.filter-button-container .selected-filter-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:1px var(--color-primary) solid;border-radius:8px;margin:8px 0px 0px 8px;padding:8px}.filter-button-container .filter-button{color:var(--color-primary);background-color:#ffffff}.filter-button-container .selected-filter-button{color:#ffffff;background-color:var(--color-primary)}";const d=class{constructor(i){t(this,i);this.filters=[{property:"practices",trekProperty:"practice",type:"include"},{property:"difficulties",trekProperty:"difficulty",type:"include"},{property:"durations",trekProperty:"duration",type:"interval"}];this.filterType=undefined;this.filterName=undefined;this.filterNameProperty=undefined}handleFilter(t,i){const e=[...o[this.filterType]];e.find((t=>t.id===i.id)).selected=!e.find((t=>t.id===i.id)).selected;o[this.filterType]=e;let n=false;let s=[];for(const r of this.filters){const t=o[r.property].filter((t=>t.selected)).map((t=>t.id));if(t.length>0){if(s.length>0){if(r.type==="include"){s=[...s.filter((i=>t.includes(i[r.trekProperty])))]}else if(r.type==="interval"){s=[...s.filter((i=>{for(const e of t){const t=o[r.property].find((t=>t.id===e));if(i[r.trekProperty]>=t.minValue&&i[r.trekProperty]<=t.maxValue){return true}}return false}))]}}else{if(!n){n=true}if(r.type==="include"){s=[...o.treks.filter((i=>t.includes(i[r.trekProperty])))]}else if(r.type==="interval"){let i;let e;for(const n of t){const t=o[r.property].find((t=>t.id===n));if(isNaN(i)||t.minValue<i){i=t.minValue}if(isNaN(e)||t.maxValue>e){e=t.maxValue}}s=[...o.treks.filter((t=>t[r.trekProperty]>=i&&t[r.trekProperty]<=e))]}}}}o.currentTreks=n?s:o.treks}render(){return i(e,null,i("div",{class:"filter-name"},this.filterName),i("div",{class:"filter-button-container"},o[this.filterType].map((t=>i("div",{onClick:i=>this.handleFilter(i,t),class:t.selected?"selected-filter-button":"filter-button"},t[this.filterNameProperty])))))}};d.style=c;var p=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function v(t,i,e){return e={path:i,exports:{},require:function(t,i){return m()}},t(e,e.exports),e.exports}function m(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var g=v((function(t,i){
|
|
2
|
-
/* @preserve
|
|
3
|
-
* Leaflet 1.9.3, a JS library for interactive maps. https://leafletjs.com
|
|
4
|
-
* (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
|
5
|
-
*/
|
|
6
|
-
(function(t,e){e(i)})(p,(function(t){var i="1.9.3";function e(t){var i,e,n,s;for(e=1,n=arguments.length;e<n;e++){s=arguments[e];for(i in s){t[i]=s[i]}}return t}var n=Object.create||function(){function t(){}return function(i){t.prototype=i;return new t}}();function s(t,i){var e=Array.prototype.slice;if(t.bind){return t.bind.apply(t,e.call(arguments,1))}var n=e.call(arguments,2);return function(){return t.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}var r=0;function o(t){if(!("_leaflet_id"in t)){t["_leaflet_id"]=++r}return t._leaflet_id}function a(t,i,e){var n,s,r,o;o=function(){n=false;if(s){r.apply(e,s);s=false}};r=function(){if(n){s=arguments}else{t.apply(e,arguments);setTimeout(o,i);n=true}};return r}function h(t,i,e){var n=i[1],s=i[0],r=n-s;return t===n&&e?t:((t-s)%r+r)%r+s}function l(){return false}function f(t,i){if(i===false){return t}var e=Math.pow(10,i===undefined?6:i);return Math.round(t*e)/e}function u(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function c(t){return u(t).split(/\s+/)}function d(t,i){if(!Object.prototype.hasOwnProperty.call(t,"options")){t.options=t.options?n(t.options):{}}for(var e in i){t.options[e]=i[e]}return t.options}function p(t,i,e){var n=[];for(var s in t){n.push(encodeURIComponent(e?s.toUpperCase():s)+"="+encodeURIComponent(t[s]))}return(!i||i.indexOf("?")===-1?"?":"&")+n.join("&")}var v=/\{ *([\w_ -]+) *\}/g;function m(t,i){return t.replace(v,(function(t,e){var n=i[e];if(n===undefined){throw new Error("No value provided for variable "+t)}else if(typeof n==="function"){n=n(i)}return n}))}var g=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function b(t,i){for(var e=0;e<t.length;e++){if(t[e]===i){return e}}return-1}var w="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function x(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var y=0;function k(t){var i=+new Date,e=Math.max(0,16-(i-y));y=i+e;return window.setTimeout(t,e)}var _=window.requestAnimationFrame||x("RequestAnimationFrame")||k;var M=window.cancelAnimationFrame||x("CancelAnimationFrame")||x("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function z(t,i,e){if(e&&_===k){t.call(i)}else{return _.call(window,s(t,i))}}function T(t){if(t){M.call(window,t)}}var P={__proto__:null,extend:e,create:n,bind:s,get lastId(){return r},stamp:o,throttle:a,wrapNum:h,falseFn:l,formatNum:f,trim:u,splitWords:c,setOptions:d,getParamString:p,template:m,isArray:g,indexOf:b,emptyImageUrl:w,requestFn:_,cancelFn:M,requestAnimFrame:z,cancelAnimFrame:T};function C(){}C.extend=function(t){var i=function(){d(this);if(this.initialize){this.initialize.apply(this,arguments)}this.callInitHooks()};var s=i.__super__=this.prototype;var r=n(s);r.constructor=i;i.prototype=r;for(var o in this){if(Object.prototype.hasOwnProperty.call(this,o)&&o!=="prototype"&&o!=="__super__"){i[o]=this[o]}}if(t.statics){e(i,t.statics)}if(t.includes){S(t.includes);e.apply(null,[r].concat(t.includes))}e(r,t);delete r.statics;delete r.includes;if(r.options){r.options=s.options?n(s.options):{};e(r.options,t.options)}r._initHooks=[];r.callInitHooks=function(){if(this._initHooksCalled){return}if(s.callInitHooks){s.callInitHooks.call(this)}this._initHooksCalled=true;for(var t=0,i=r._initHooks.length;t<i;t++){r._initHooks[t].call(this)}};return i};C.include=function(t){var i=this.prototype.options;e(this.prototype,t);if(t.options){this.prototype.options=i;this.mergeOptions(t.options)}return this};C.mergeOptions=function(t){e(this.prototype.options,t);return this};C.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1);var e=typeof t==="function"?t:function(){this[t].apply(this,i)};this.prototype._initHooks=this.prototype._initHooks||[];this.prototype._initHooks.push(e);return this};function S(t){if(typeof L==="undefined"||!L||!L.Mixin){return}t=g(t)?t:[t];for(var i=0;i<t.length;i++){if(t[i]===L.Mixin.Events){console.warn("Deprecated include of L.Mixin.Events: "+"this property will be removed in future releases, "+"please inherit from L.Evented instead.",(new Error).stack)}}}var A={on:function(t,i,e){if(typeof t==="object"){for(var n in t){this._on(n,t[n],i)}}else{t=c(t);for(var s=0,r=t.length;s<r;s++){this._on(t[s],i,e)}}return this},off:function(t,i,e){if(!arguments.length){delete this._events}else if(typeof t==="object"){for(var n in t){this._off(n,t[n],i)}}else{t=c(t);var s=arguments.length===1;for(var r=0,o=t.length;r<o;r++){if(s){this._off(t[r])}else{this._off(t[r],i,e)}}}return this},_on:function(t,i,e,n){if(typeof i!=="function"){console.warn("wrong listener type: "+typeof i);return}if(this._listens(t,i,e)!==false){return}if(e===this){e=undefined}var s={fn:i,ctx:e};if(n){s.once=true}this._events=this._events||{};this._events[t]=this._events[t]||[];this._events[t].push(s)},_off:function(t,i,e){var n,s,r;if(!this._events){return}n=this._events[t];if(!n){return}if(arguments.length===1){if(this._firingCount){for(s=0,r=n.length;s<r;s++){n[s].fn=l}}delete this._events[t];return}if(typeof i!=="function"){console.warn("wrong listener type: "+typeof i);return}var o=this._listens(t,i,e);if(o!==false){var a=n[o];if(this._firingCount){a.fn=l;this._events[t]=n=n.slice()}n.splice(o,1)}},fire:function(t,i,n){if(!this.listens(t,n)){return this}var s=e({},i,{type:t,target:this,sourceTarget:i&&i.sourceTarget||this});if(this._events){var r=this._events[t];if(r){this._firingCount=this._firingCount+1||1;for(var o=0,a=r.length;o<a;o++){var h=r[o];var l=h.fn;if(h.once){this.off(t,l,h.ctx)}l.call(h.ctx||this,s)}this._firingCount--}}if(n){this._propagateEvent(s)}return this},listens:function(t,i,e,n){if(typeof t!=="string"){console.warn('"string" type argument expected')}var s=i;if(typeof i!=="function"){n=!!i;s=undefined;e=undefined}var r=this._events&&this._events[t];if(r&&r.length){if(this._listens(t,s,e)!==false){return true}}if(n){for(var o in this._eventParents){if(this._eventParents[o].listens(t,i,e,n)){return true}}}return false},_listens:function(t,i,e){if(!this._events){return false}var n=this._events[t]||[];if(!i){return!!n.length}if(e===this){e=undefined}for(var s=0,r=n.length;s<r;s++){if(n[s].fn===i&&n[s].ctx===e){return s}}return false},once:function(t,i,e){if(typeof t==="object"){for(var n in t){this._on(n,t[n],i,true)}}else{t=c(t);for(var s=0,r=t.length;s<r;s++){this._on(t[s],i,e,true)}}return this},addEventParent:function(t){this._eventParents=this._eventParents||{};this._eventParents[o(t)]=t;return this},removeEventParent:function(t){if(this._eventParents){delete this._eventParents[o(t)]}return this},_propagateEvent:function(t){for(var i in this._eventParents){this._eventParents[i].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),true)}}};A.addEventListener=A.on;A.removeEventListener=A.clearAllEventListeners=A.off;A.addOneTimeEventListener=A.once;A.fireEvent=A.fire;A.hasEventListeners=A.listens;var E=C.extend(A);function O(t,i,e){this.x=e?Math.round(t):t;this.y=e?Math.round(i):i}var I=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};O.prototype={clone:function(){return new O(this.x,this.y)},add:function(t){return this.clone()._add(B(t))},_add:function(t){this.x+=t.x;this.y+=t.y;return this},subtract:function(t){return this.clone()._subtract(B(t))},_subtract:function(t){this.x-=t.x;this.y-=t.y;return this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){this.x/=t;this.y/=t;return this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){this.x*=t;this.y*=t;return this},scaleBy:function(t){return new O(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new O(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this},floor:function(){return this.clone()._floor()},_floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this},ceil:function(){return this.clone()._ceil()},_ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this},trunc:function(){return this.clone()._trunc()},_trunc:function(){this.x=I(this.x);this.y=I(this.y);return this},distanceTo:function(t){t=B(t);var i=t.x-this.x,e=t.y-this.y;return Math.sqrt(i*i+e*e)},equals:function(t){t=B(t);return t.x===this.x&&t.y===this.y},contains:function(t){t=B(t);return Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+f(this.x)+", "+f(this.y)+")"}};function B(t,i,e){if(t instanceof O){return t}if(g(t)){return new O(t[0],t[1])}if(t===undefined||t===null){return t}if(typeof t==="object"&&"x"in t&&"y"in t){return new O(t.x,t.y)}return new O(t,i,e)}function F(t,i){if(!t){return}var e=i?[t,i]:t;for(var n=0,s=e.length;n<s;n++){this.extend(e[n])}}F.prototype={extend:function(t){var i,e;if(!t){return this}if(t instanceof O||typeof t[0]==="number"||"x"in t){i=e=B(t)}else{t=j(t);i=t.min;e=t.max;if(!i||!e){return this}}if(!this.min&&!this.max){this.min=i.clone();this.max=e.clone()}else{this.min.x=Math.min(i.x,this.min.x);this.max.x=Math.max(e.x,this.max.x);this.min.y=Math.min(i.y,this.min.y);this.max.y=Math.max(e.y,this.max.y)}return this},getCenter:function(t){return B((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return B(this.min.x,this.max.y)},getTopRight:function(){return B(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 i,e;if(typeof t[0]==="number"||t instanceof O){t=B(t)}else{t=j(t)}if(t instanceof F){i=t.min;e=t.max}else{i=e=t}return i.x>=this.min.x&&e.x<=this.max.x&&i.y>=this.min.y&&e.y<=this.max.y},intersects:function(t){t=j(t);var i=this.min,e=this.max,n=t.min,s=t.max,r=s.x>=i.x&&n.x<=e.x,o=s.y>=i.y&&n.y<=e.y;return r&&o},overlaps:function(t){t=j(t);var i=this.min,e=this.max,n=t.min,s=t.max,r=s.x>i.x&&n.x<e.x,o=s.y>i.y&&n.y<e.y;return r&&o},isValid:function(){return!!(this.min&&this.max)},pad:function(t){var i=this.min,e=this.max,n=Math.abs(i.x-e.x)*t,s=Math.abs(i.y-e.y)*t;return j(B(i.x-n,i.y-s),B(e.x+n,e.y+s))},equals:function(t){if(!t){return false}t=j(t);return this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight())}};function j(t,i){if(!t||t instanceof F){return t}return new F(t,i)}function R(t,i){if(!t){return}var e=i?[t,i]:t;for(var n=0,s=e.length;n<s;n++){this.extend(e[n])}}R.prototype={extend:function(t){var i=this._southWest,e=this._northEast,n,s;if(t instanceof D){n=t;s=t}else if(t instanceof R){n=t._southWest;s=t._northEast;if(!n||!s){return this}}else{return t?this.extend(Z(t)||N(t)):this}if(!i&&!e){this._southWest=new D(n.lat,n.lng);this._northEast=new D(s.lat,s.lng)}else{i.lat=Math.min(n.lat,i.lat);i.lng=Math.min(n.lng,i.lng);e.lat=Math.max(s.lat,e.lat);e.lng=Math.max(s.lng,e.lng)}return this},pad:function(t){var i=this._southWest,e=this._northEast,n=Math.abs(i.lat-e.lat)*t,s=Math.abs(i.lng-e.lng)*t;return new R(new D(i.lat-n,i.lng-s),new D(e.lat+n,e.lng+s))},getCenter:function(){return new D((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 D(this.getNorth(),this.getWest())},getSouthEast:function(){return new D(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){if(typeof t[0]==="number"||t instanceof D||"lat"in t){t=Z(t)}else{t=N(t)}var i=this._southWest,e=this._northEast,n,s;if(t instanceof R){n=t.getSouthWest();s=t.getNorthEast()}else{n=s=t}return n.lat>=i.lat&&s.lat<=e.lat&&n.lng>=i.lng&&s.lng<=e.lng},intersects:function(t){t=N(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),s=t.getNorthEast(),r=s.lat>=i.lat&&n.lat<=e.lat,o=s.lng>=i.lng&&n.lng<=e.lng;return r&&o},overlaps:function(t){t=N(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),s=t.getNorthEast(),r=s.lat>i.lat&&n.lat<e.lat,o=s.lng>i.lng&&n.lng<e.lng;return r&&o},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,i){if(!t){return false}t=N(t);return this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i)},isValid:function(){return!!(this._southWest&&this._northEast)}};function N(t,i){if(t instanceof R){return t}return new R(t,i)}function D(t,i,e){if(isNaN(t)||isNaN(i)){throw new Error("Invalid LatLng object: ("+t+", "+i+")")}this.lat=+t;this.lng=+i;if(e!==undefined){this.alt=+e}}D.prototype={equals:function(t,i){if(!t){return false}t=Z(t);var e=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return e<=(i===undefined?1e-9:i)},toString:function(t){return"LatLng("+f(this.lat,t)+", "+f(this.lng,t)+")"},distanceTo:function(t){return H.distance(this,Z(t))},wrap:function(){return H.wrapLatLng(this)},toBounds:function(t){var i=180*t/40075017,e=i/Math.cos(Math.PI/180*this.lat);return N([this.lat-i,this.lng-e],[this.lat+i,this.lng+e])},clone:function(){return new D(this.lat,this.lng,this.alt)}};function Z(t,i,e){if(t instanceof D){return t}if(g(t)&&typeof t[0]!=="object"){if(t.length===3){return new D(t[0],t[1],t[2])}if(t.length===2){return new D(t[0],t[1])}return null}if(t===undefined||t===null){return t}if(typeof t==="object"&&"lat"in t){return new D(t.lat,"lng"in t?t.lng:t.lon,t.alt)}if(i===undefined){return null}return new D(t,i,e)}var $={latLngToPoint:function(t,i){var e=this.projection.project(t),n=this.scale(i);return this.transformation._transform(e,n)},pointToLatLng:function(t,i){var e=this.scale(i),n=this.transformation.untransform(t,e);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 i=this.projection.bounds,e=this.scale(t),n=this.transformation.transform(i.min,e),s=this.transformation.transform(i.max,e);return new F(n,s)},infinite:false,wrapLatLng:function(t){var i=this.wrapLng?h(t.lng,this.wrapLng,true):t.lng,e=this.wrapLat?h(t.lat,this.wrapLat,true):t.lat,n=t.alt;return new D(e,i,n)},wrapLatLngBounds:function(t){var i=t.getCenter(),e=this.wrapLatLng(i),n=i.lat-e.lat,s=i.lng-e.lng;if(n===0&&s===0){return t}var r=t.getSouthWest(),o=t.getNorthEast(),a=new D(r.lat-n,r.lng-s),h=new D(o.lat-n,o.lng-s);return new R(a,h)}};var H=e({},$,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var e=Math.PI/180,n=t.lat*e,s=i.lat*e,r=Math.sin((i.lat-t.lat)*e/2),o=Math.sin((i.lng-t.lng)*e/2),a=r*r+Math.cos(n)*Math.cos(s)*o*o,h=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*h}});var U=6378137;var W={R:U,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,e=this.MAX_LATITUDE,n=Math.max(Math.min(e,t.lat),-e),s=Math.sin(n*i);return new O(this.R*t.lng*i,this.R*Math.log((1+s)/(1-s))/2)},unproject:function(t){var i=180/Math.PI;return new D((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:function(){var t=U*Math.PI;return new F([-t,-t],[t,t])}()};function G(t,i,e,n){if(g(t)){this._a=t[0];this._b=t[1];this._c=t[2];this._d=t[3];return}this._a=t;this._b=i;this._c=e;this._d=n}G.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){i=i||1;t.x=i*(this._a*t.x+this._b);t.y=i*(this._c*t.y+this._d);return t},untransform:function(t,i){i=i||1;return new O((t.x/i-this._b)/this._a,(t.y/i-this._d)/this._c)}};function V(t,i,e,n){return new G(t,i,e,n)}var q=e({},H,{code:"EPSG:3857",projection:W,transformation:function(){var t=.5/(Math.PI*W.R);return V(t,.5,-t,.5)}()});var X=e({},q,{code:"EPSG:900913"});function J(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function K(t,i){var e="",n,s,r,o,a,h;for(n=0,r=t.length;n<r;n++){a=t[n];for(s=0,o=a.length;s<o;s++){h=a[s];e+=(s?"L":"M")+h.x+" "+h.y}e+=i?Ft.svg?"z":"x":""}return e||"M0 0"}var Q=document.documentElement.style;var Y="ActiveXObject"in window;var tt=Y&&!document.addEventListener;var it="msLaunchUri"in navigator&&!("documentMode"in document);var et=Bt("webkit");var nt=Bt("android");var st=Bt("android 2")||Bt("android 3");var rt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10);var ot=nt&&Bt("Google")&&rt<537&&!("AudioNode"in window);var at=!!window.opera;var ht=!it&&Bt("chrome");var lt=Bt("gecko")&&!et&&!at&&!Y;var ft=!ht&&Bt("safari");var ut=Bt("phantom");var ct="OTransition"in Q;var dt=navigator.platform.indexOf("Win")===0;var pt=Y&&"transition"in Q;var vt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!st;var mt="MozPerspective"in Q;var gt=!window.L_DISABLE_3D&&(pt||vt||mt)&&!ct&&!ut;var bt=typeof orientation!=="undefined"||Bt("mobile");var wt=bt&&et;var xt=bt&&vt;var yt=!window.PointerEvent&&window.MSPointerEvent;var kt=!!(window.PointerEvent||yt);var _t="ontouchstart"in window||!!window.TouchEvent;var Mt=!window.L_NO_TOUCH&&(_t||kt);var zt=bt&&at;var Tt=bt&<var Pt=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1;var Lt=function(){var t=false;try{var i=Object.defineProperty({},"passive",{get:function(){t=true}});window.addEventListener("testPassiveEventSupport",l,i);window.removeEventListener("testPassiveEventSupport",l,i)}catch(e){}return t}();var Ct=function(){return!!document.createElement("canvas").getContext}();var St=!!(document.createElementNS&&J("svg").createSVGRect);var At=!!St&&function(){var t=document.createElement("div");t.innerHTML="<svg/>";return(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}();var Et=!St&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;i.style.behavior="url(#default#VML)";return i&&typeof i.adj==="object"}catch(e){return false}}();var Ot=navigator.platform.indexOf("Mac")===0;var It=navigator.platform.indexOf("Linux")===0;function Bt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Ft={ie:Y,ielt9:tt,edge:it,webkit:et,android:nt,android23:st,androidStock:ot,opera:at,chrome:ht,gecko:lt,safari:ft,phantom:ut,opera12:ct,win:dt,ie3d:pt,webkit3d:vt,gecko3d:mt,any3d:gt,mobile:bt,mobileWebkit:wt,mobileWebkit3d:xt,msPointer:yt,pointer:kt,touch:Mt,touchNative:_t,mobileOpera:zt,mobileGecko:Tt,retina:Pt,passiveEvents:Lt,canvas:Ct,svg:St,vml:Et,inlineSvg:At,mac:Ot,linux:It};var jt=Ft.msPointer?"MSPointerDown":"pointerdown";var Rt=Ft.msPointer?"MSPointerMove":"pointermove";var Nt=Ft.msPointer?"MSPointerUp":"pointerup";var Dt=Ft.msPointer?"MSPointerCancel":"pointercancel";var Zt={touchstart:jt,touchmove:Rt,touchend:Nt,touchcancel:Dt};var $t={touchstart:Qt,touchmove:Kt,touchend:Kt,touchcancel:Kt};var Ht={};var Ut=false;function Wt(t,i,e){if(i==="touchstart"){Jt()}if(!$t[i]){console.warn("wrong event specified:",i);return l}e=$t[i].bind(this,e);t.addEventListener(Zt[i],e,false);return e}function Gt(t,i,e){if(!Zt[i]){console.warn("wrong event specified:",i);return}t.removeEventListener(Zt[i],e,false)}function Vt(t){Ht[t.pointerId]=t}function qt(t){if(Ht[t.pointerId]){Ht[t.pointerId]=t}}function Xt(t){delete Ht[t.pointerId]}function Jt(){if(!Ut){document.addEventListener(jt,Vt,true);document.addEventListener(Rt,qt,true);document.addEventListener(Nt,Xt,true);document.addEventListener(Dt,Xt,true);Ut=true}}function Kt(t,i){if(i.pointerType===(i.MSPOINTER_TYPE_MOUSE||"mouse")){return}i.touches=[];for(var e in Ht){i.touches.push(Ht[e])}i.changedTouches=[i];t(i)}function Qt(t,i){if(i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH){Vi(i)}Kt(t,i)}function Yt(t){var i={},e,n;for(n in t){e=t[n];i[n]=e&&e.bind?e.bind(t):e}t=i;i.type="dblclick";i.detail=2;i.isTrusted=false;i._simulated=true;return i}var ti=200;function ii(t,i){t.addEventListener("dblclick",i);var e=0,n;function s(t){if(t.detail!==1){n=t.detail;return}if(t.pointerType==="mouse"||t.sourceCapabilities&&!t.sourceCapabilities.firesTouchEvents){return}var s=Xi(t);if(s.some((function(t){return t instanceof HTMLLabelElement&&t.attributes.for}))&&!s.some((function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement}))){return}var r=Date.now();if(r-e<=ti){n++;if(n===2){i(Yt(t))}}else{n=1}e=r}t.addEventListener("click",s);return{dblclick:i,simDblclick:s}}function ei(t,i){t.removeEventListener("dblclick",i.dblclick);t.removeEventListener("click",i.simDblclick)}var ni=xi(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);var si=xi(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);var ri=si==="webkitTransition"||si==="OTransition"?si+"End":"transitionend";function oi(t){return typeof t==="string"?document.getElementById(t):t}function ai(t,i){var e=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!e||e==="auto")&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);e=n?n[i]:null}return e==="auto"?null:e}function hi(t,i,e){var n=document.createElement(t);n.className=i||"";if(e){e.appendChild(n)}return n}function li(t){var i=t.parentNode;if(i){i.removeChild(t)}}function fi(t){while(t.firstChild){t.removeChild(t.firstChild)}}function ui(t){var i=t.parentNode;if(i&&i.lastChild!==t){i.appendChild(t)}}function ci(t){var i=t.parentNode;if(i&&i.firstChild!==t){i.insertBefore(t,i.firstChild)}}function di(t,i){if(t.classList!==undefined){return t.classList.contains(i)}var e=gi(t);return e.length>0&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(e)}function pi(t,i){if(t.classList!==undefined){var e=c(i);for(var n=0,s=e.length;n<s;n++){t.classList.add(e[n])}}else if(!di(t,i)){var r=gi(t);mi(t,(r?r+" ":"")+i)}}function vi(t,i){if(t.classList!==undefined){t.classList.remove(i)}else{mi(t,u((" "+gi(t)+" ").replace(" "+i+" "," ")))}}function mi(t,i){if(t.className.baseVal===undefined){t.className=i}else{t.className.baseVal=i}}function gi(t){if(t.correspondingElement){t=t.correspondingElement}return t.className.baseVal===undefined?t.className:t.className.baseVal}function bi(t,i){if("opacity"in t.style){t.style.opacity=i}else if("filter"in t.style){wi(t,i)}}function wi(t,i){var e=false,n="DXImageTransform.Microsoft.Alpha";try{e=t.filters.item(n)}catch(s){if(i===1){return}}i=Math.round(i*100);if(e){e.Enabled=i!==100;e.Opacity=i}else{t.style.filter+=" progid:"+n+"(opacity="+i+")"}}function xi(t){var i=document.documentElement.style;for(var e=0;e<t.length;e++){if(t[e]in i){return t[e]}}return false}function yi(t,i,e){var n=i||new O(0,0);t.style[ni]=(Ft.ie3d?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(e?" scale("+e+")":"")}function ki(t,i){t._leaflet_pos=i;if(Ft.any3d){yi(t,i)}else{t.style.left=i.x+"px";t.style.top=i.y+"px"}}function _i(t){return t._leaflet_pos||new O(0,0)}var Mi;var zi;var Ti;if("onselectstart"in document){Mi=function(){ji(window,"selectstart",Vi)};zi=function(){Ni(window,"selectstart",Vi)}}else{var Pi=xi(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Mi=function(){if(Pi){var t=document.documentElement.style;Ti=t[Pi];t[Pi]="none"}};zi=function(){if(Pi){document.documentElement.style[Pi]=Ti;Ti=undefined}}}function Li(){ji(window,"dragstart",Vi)}function Ci(){Ni(window,"dragstart",Vi)}var Si,Ai;function Ei(t){while(t.tabIndex===-1){t=t.parentNode}if(!t.style){return}Oi();Si=t;Ai=t.style.outline;t.style.outline="none";ji(window,"keydown",Oi)}function Oi(){if(!Si){return}Si.style.outline=Ai;Si=undefined;Ai=undefined;Ni(window,"keydown",Oi)}function Ii(t){do{t=t.parentNode}while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function Bi(t){var i=t.getBoundingClientRect();return{x:i.width/t.offsetWidth||1,y:i.height/t.offsetHeight||1,boundingClientRect:i}}var Fi={__proto__:null,TRANSFORM:ni,TRANSITION:si,TRANSITION_END:ri,get:oi,getStyle:ai,create:hi,remove:li,empty:fi,toFront:ui,toBack:ci,hasClass:di,addClass:pi,removeClass:vi,setClass:mi,getClass:gi,setOpacity:bi,testProp:xi,setTransform:yi,setPosition:ki,getPosition:_i,get disableTextSelection(){return Mi},get enableTextSelection(){return zi},disableImageDrag:Li,enableImageDrag:Ci,preventOutline:Ei,restoreOutline:Oi,getSizedParentNode:Ii,getScale:Bi};function ji(t,i,e,n){if(i&&typeof i==="object"){for(var s in i){$i(t,s,i[s],e)}}else{i=c(i);for(var r=0,o=i.length;r<o;r++){$i(t,i[r],e,n)}}return this}var Ri="_leaflet_events";function Ni(t,i,e,n){if(arguments.length===1){Di(t);delete t[Ri]}else if(i&&typeof i==="object"){for(var s in i){Hi(t,s,i[s],e)}}else{i=c(i);if(arguments.length===2){Di(t,(function(t){return b(i,t)!==-1}))}else{for(var r=0,o=i.length;r<o;r++){Hi(t,i[r],e,n)}}}return this}function Di(t,i){for(var e in t[Ri]){var n=e.split(/\d/)[0];if(!i||i(n)){Hi(t,n,null,null,e)}}}var Zi={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function $i(t,i,e,n){var s=i+o(e)+(n?"_"+o(n):"");if(t[Ri]&&t[Ri][s]){return this}var r=function(i){return e.call(n||t,i||window.event)};var a=r;if(!Ft.touchNative&&Ft.pointer&&i.indexOf("touch")===0){r=Wt(t,i,r)}else if(Ft.touch&&i==="dblclick"){r=ii(t,r)}else if("addEventListener"in t){if(i==="touchstart"||i==="touchmove"||i==="wheel"||i==="mousewheel"){t.addEventListener(Zi[i]||i,r,Ft.passiveEvents?{passive:false}:false)}else if(i==="mouseenter"||i==="mouseleave"){r=function(i){i=i||window.event;if(Yi(t,i)){a(i)}};t.addEventListener(Zi[i],r,false)}else{t.addEventListener(i,a,false)}}else{t.attachEvent("on"+i,r)}t[Ri]=t[Ri]||{};t[Ri][s]=r}function Hi(t,i,e,n,s){s=s||i+o(e)+(n?"_"+o(n):"");var r=t[Ri]&&t[Ri][s];if(!r){return this}if(!Ft.touchNative&&Ft.pointer&&i.indexOf("touch")===0){Gt(t,i,r)}else if(Ft.touch&&i==="dblclick"){ei(t,r)}else if("removeEventListener"in t){t.removeEventListener(Zi[i]||i,r,false)}else{t.detachEvent("on"+i,r)}t[Ri][s]=null}function Ui(t){if(t.stopPropagation){t.stopPropagation()}else if(t.originalEvent){t.originalEvent._stopped=true}else{t.cancelBubble=true}return this}function Wi(t){$i(t,"wheel",Ui);return this}function Gi(t){ji(t,"mousedown touchstart dblclick contextmenu",Ui);t["_leaflet_disable_click"]=true;return this}function Vi(t){if(t.preventDefault){t.preventDefault()}else{t.returnValue=false}return this}function qi(t){Vi(t);Ui(t);return this}function Xi(t){if(t.composedPath){return t.composedPath()}var i=[];var e=t.target;while(e){i.push(e);e=e.parentNode}return i}function Ji(t,i){if(!i){return new O(t.clientX,t.clientY)}var e=Bi(i),n=e.boundingClientRect;return new O((t.clientX-n.left)/e.x-i.clientLeft,(t.clientY-n.top)/e.y-i.clientTop)}var Ki=Ft.linux&&Ft.chrome?window.devicePixelRatio:Ft.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Qi(t){return Ft.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/Ki:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function Yi(t,i){var e=i.relatedTarget;if(!e){return true}try{while(e&&e!==t){e=e.parentNode}}catch(n){return false}return e!==t}var te={__proto__:null,on:ji,off:Ni,stopPropagation:Ui,disableScrollPropagation:Wi,disableClickPropagation:Gi,preventDefault:Vi,stop:qi,getPropagationPath:Xi,getMousePosition:Ji,getWheelDelta:Qi,isExternalTarget:Yi,addListener:ji,removeListener:Ni};var ie=E.extend({run:function(t,i,e,n){this.stop();this._el=t;this._inProgress=true;this._duration=e||.25;this._easeOutPower=1/Math.max(n||.5,.2);this._startPos=_i(t);this._offset=i.subtract(this._startPos);this._startTime=+new Date;this.fire("start");this._animate()},stop:function(){if(!this._inProgress){return}this._step(true);this._complete()},_animate:function(){this._animId=z(this._animate,this);this._step()},_step:function(t){var i=+new Date-this._startTime,e=this._duration*1e3;if(i<e){this._runFrame(this._easeOut(i/e),t)}else{this._runFrame(1);this._complete()}},_runFrame:function(t,i){var e=this._startPos.add(this._offset.multiplyBy(t));if(i){e._round()}ki(this._el,e);this.fire("step")},_complete:function(){T(this._animId);this._inProgress=false;this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}});var ee=E.extend({options:{crs:q,center:undefined,zoom:undefined,minZoom:undefined,maxZoom:undefined,layers:[],maxBounds:undefined,renderer:undefined,zoomAnimation:true,zoomAnimationThreshold:4,fadeAnimation:true,markerZoomAnimation:true,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:true},initialize:function(t,i){i=d(this,i);this._handlers=[];this._layers={};this._zoomBoundLayers={};this._sizeChanged=true;this._initContainer(t);this._initLayout();this._onResize=s(this._onResize,this);this._initEvents();if(i.maxBounds){this.setMaxBounds(i.maxBounds)}if(i.zoom!==undefined){this._zoom=this._limitZoom(i.zoom)}if(i.center&&i.zoom!==undefined){this.setView(Z(i.center),i.zoom,{reset:true})}this.callInitHooks();this._zoomAnimated=si&&Ft.any3d&&!Ft.mobileOpera&&this.options.zoomAnimation;if(this._zoomAnimated){this._createAnimProxy();ji(this._proxy,ri,this._catchTransitionEnd,this)}this._addLayers(this.options.layers)},setView:function(t,i,n){i=i===undefined?this._zoom:this._limitZoom(i);t=this._limitCenter(Z(t),i,this.options.maxBounds);n=n||{};this._stop();if(this._loaded&&!n.reset&&n!==true){if(n.animate!==undefined){n.zoom=e({animate:n.animate},n.zoom);n.pan=e({animate:n.animate,duration:n.duration},n.pan)}var s=this._zoom!==i?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,i,n.zoom):this._tryAnimatedPan(t,n.pan);if(s){clearTimeout(this._sizeTimer);return this}}this._resetView(t,i,n.pan&&n.pan.noMoveStart);return this},setZoom:function(t,i){if(!this._loaded){this._zoom=t;return this}return this.setView(this.getCenter(),t,{zoom:i})},zoomIn:function(t,i){t=t||(Ft.any3d?this.options.zoomDelta:1);return this.setZoom(this._zoom+t,i)},zoomOut:function(t,i){t=t||(Ft.any3d?this.options.zoomDelta:1);return this.setZoom(this._zoom-t,i)},setZoomAround:function(t,i,e){var n=this.getZoomScale(i),s=this.getSize().divideBy(2),r=t instanceof O?t:this.latLngToContainerPoint(t),o=r.subtract(s).multiplyBy(1-1/n),a=this.containerPointToLatLng(s.add(o));return this.setView(a,i,{zoom:e})},_getBoundsCenterZoom:function(t,i){i=i||{};t=t.getBounds?t.getBounds():N(t);var e=B(i.paddingTopLeft||i.padding||[0,0]),n=B(i.paddingBottomRight||i.padding||[0,0]),s=this.getBoundsZoom(t,false,e.add(n));s=typeof i.maxZoom==="number"?Math.min(i.maxZoom,s):s;if(s===Infinity){return{center:t.getCenter(),zoom:s}}var r=n.subtract(e).divideBy(2),o=this.project(t.getSouthWest(),s),a=this.project(t.getNorthEast(),s),h=this.unproject(o.add(a).divideBy(2).add(r),s);return{center:h,zoom:s}},fitBounds:function(t,i){t=N(t);if(!t.isValid()){throw new Error("Bounds are not valid.")}var e=this._getBoundsCenterZoom(t,i);return this.setView(e.center,e.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){t=B(t).round();i=i||{};if(!t.x&&!t.y){return this.fire("moveend")}if(i.animate!==true&&!this.getSize().contains(t)){this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom());return this}if(!this._panAnim){this._panAnim=new ie;this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)}if(!i.noMoveStart){this.fire("movestart")}if(i.animate!==false){pi(this._mapPane,"leaflet-pan-anim");var e=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,e,i.duration||.25,i.easeLinearity)}else{this._rawPanBy(t);this.fire("move").fire("moveend")}return this},flyTo:function(t,i,e){e=e||{};if(e.animate===false||!Ft.any3d){return this.setView(t,i,e)}this._stop();var n=this.project(this.getCenter()),s=this.project(t),r=this.getSize(),o=this._zoom;t=Z(t);i=i===undefined?o:i;var a=Math.max(r.x,r.y),h=a*this.getZoomScale(o,i),l=s.distanceTo(n)||1,f=1.42,u=f*f;function c(t){var i=t?-1:1,e=t?h:a,n=h*h-a*a+i*u*u*l*l,s=2*e*u*l,r=n/s,o=Math.sqrt(r*r+1)-r;var f=o<1e-9?-18:Math.log(o);return f}function d(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}function v(t){return d(t)/p(t)}var m=c(0);function g(t){return a*(p(m)/p(m+f*t))}function b(t){return a*(p(m)*v(m+f*t)-d(m))/u}function w(t){return 1-Math.pow(1-t,1.5)}var x=Date.now(),y=(c(1)-m)/f,k=e.duration?1e3*e.duration:1e3*y*.8;function _(){var e=(Date.now()-x)/k,r=w(e)*y;if(e<=1){this._flyToFrame=z(_,this);this._move(this.unproject(n.add(s.subtract(n).multiplyBy(b(r)/l)),o),this.getScaleZoom(a/g(r),o),{flyTo:true})}else{this._move(t,i)._moveEnd(true)}}this._moveStart(true,e.noMoveStart);_.call(this);return this},flyToBounds:function(t,i){var e=this._getBoundsCenterZoom(t,i);return this.flyTo(e.center,e.zoom,i)},setMaxBounds:function(t){t=N(t);if(this.listens("moveend",this._panInsideMaxBounds)){this.off("moveend",this._panInsideMaxBounds)}if(!t.isValid()){this.options.maxBounds=null;return this}this.options.maxBounds=t;if(this._loaded){this._panInsideMaxBounds()}return this.on("moveend",this._panInsideMaxBounds)},setMinZoom:function(t){var i=this.options.minZoom;this.options.minZoom=t;if(this._loaded&&i!==t){this.fire("zoomlevelschange");if(this.getZoom()<this.options.minZoom){return this.setZoom(t)}}return this},setMaxZoom:function(t){var i=this.options.maxZoom;this.options.maxZoom=t;if(this._loaded&&i!==t){this.fire("zoomlevelschange");if(this.getZoom()>this.options.maxZoom){return this.setZoom(t)}}return this},panInsideBounds:function(t,i){this._enforcingBounds=true;var e=this.getCenter(),n=this._limitCenter(e,this._zoom,N(t));if(!e.equals(n)){this.panTo(n,i)}this._enforcingBounds=false;return this},panInside:function(t,i){i=i||{};var e=B(i.paddingTopLeft||i.padding||[0,0]),n=B(i.paddingBottomRight||i.padding||[0,0]),s=this.project(this.getCenter()),r=this.project(t),o=this.getPixelBounds(),a=j([o.min.add(e),o.max.subtract(n)]),h=a.getSize();if(!a.contains(r)){this._enforcingBounds=true;var l=r.subtract(a.getCenter());var f=a.extend(r).getSize().subtract(h);s.x+=l.x<0?-f.x:f.x;s.y+=l.y<0?-f.y:f.y;this.panTo(this.unproject(s),i);this._enforcingBounds=false}return this},invalidateSize:function(t){if(!this._loaded){return this}t=e({animate:false,pan:true},t===true?{animate:true}:t);var i=this.getSize();this._sizeChanged=true;this._lastCenter=null;var n=this.getSize(),r=i.divideBy(2).round(),o=n.divideBy(2).round(),a=r.subtract(o);if(!a.x&&!a.y){return this}if(t.animate&&t.pan){this.panBy(a)}else{if(t.pan){this._rawPanBy(a)}this.fire("move");if(t.debounceMoveend){clearTimeout(this._sizeTimer);this._sizeTimer=setTimeout(s(this.fire,this,"moveend"),200)}else{this.fire("moveend")}}return this.fire("resize",{oldSize:i,newSize:n})},stop:function(){this.setZoom(this._limitZoom(this._zoom));if(!this.options.zoomSnap){this.fire("viewreset")}return this._stop()},locate:function(t){t=this._locateOptions=e({timeout:1e4,watch:false},t);if(!("geolocation"in navigator)){this._handleGeolocationError({code:0,message:"Geolocation not supported."});return this}var i=s(this._handleGeolocationResponse,this),n=s(this._handleGeolocationError,this);if(t.watch){this._locationWatchId=navigator.geolocation.watchPosition(i,n,t)}else{navigator.geolocation.getCurrentPosition(i,n,t)}return this},stopLocate:function(){if(navigator.geolocation&&navigator.geolocation.clearWatch){navigator.geolocation.clearWatch(this._locationWatchId)}if(this._locateOptions){this._locateOptions.setView=false}return this},_handleGeolocationError:function(t){if(!this._container._leaflet_id){return}var i=t.code,e=t.message||(i===1?"permission denied":i===2?"position unavailable":"timeout");if(this._locateOptions.setView&&!this._loaded){this.fitWorld()}this.fire("locationerror",{code:i,message:"Geolocation error: "+e+"."})},_handleGeolocationResponse:function(t){if(!this._container._leaflet_id){return}var i=t.coords.latitude,e=t.coords.longitude,n=new D(i,e),s=n.toBounds(t.coords.accuracy*2),r=this._locateOptions;if(r.setView){var o=this.getBoundsZoom(s);this.setView(n,r.maxZoom?Math.min(o,r.maxZoom):o)}var a={latlng:n,bounds:s,timestamp:t.timestamp};for(var h in t.coords){if(typeof t.coords[h]==="number"){a[h]=t.coords[h]}}this.fire("locationfound",a)},addHandler:function(t,i){if(!i){return this}var e=this[t]=new i(this);this._handlers.push(e);if(this.options[t]){e.enable()}return this},remove:function(){this._initEvents(true);if(this.options.maxBounds){this.off("moveend",this._panInsideMaxBounds)}if(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(i){this._container._leaflet_id=undefined;this._containerId=undefined}if(this._locationWatchId!==undefined){this.stopLocate()}this._stop();li(this._mapPane);if(this._clearControlPos){this._clearControlPos()}if(this._resizeRequest){T(this._resizeRequest);this._resizeRequest=null}this._clearHandlers();if(this._loaded){this.fire("unload")}var t;for(t in this._layers){this._layers[t].remove()}for(t in this._panes){li(this._panes[t])}this._layers=[];this._panes=[];delete this._mapPane;delete this._renderer;return this},createPane:function(t,i){var e="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),n=hi("div",e,i||this._mapPane);if(t){this._panes[t]=n}return n},getCenter:function(){this._checkIfLoaded();if(this._lastCenter&&!this._moved()){return this._lastCenter.clone()}return this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),i=this.unproject(t.getBottomLeft()),e=this.unproject(t.getTopRight());return new R(i,e)},getMinZoom:function(){return this.options.minZoom===undefined?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===undefined?this._layersMaxZoom===undefined?Infinity:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,e){t=N(t);e=B(e||[0,0]);var n=this.getZoom()||0,s=this.getMinZoom(),r=this.getMaxZoom(),o=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(e),l=j(this.project(a,n),this.project(o,n)).getSize(),f=Ft.any3d?this.options.zoomSnap:1,u=h.x/l.x,c=h.y/l.y,d=i?Math.max(u,c):Math.min(u,c);n=this.getScaleZoom(d,n);if(f){n=Math.round(n/(f/100))*(f/100);n=i?Math.ceil(n/f)*f:Math.floor(n/f)*f}return Math.max(s,Math.min(r,n))},getSize:function(){if(!this._size||this._sizeChanged){this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0);this._sizeChanged=false}return this._size.clone()},getPixelBounds:function(t,i){var e=this._getTopLeftPoint(t,i);return new F(e,e.add(this.getSize()))},getPixelOrigin:function(){this._checkIfLoaded();return this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===undefined?this.getZoom():t)},getPane:function(t){return typeof t==="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var e=this.options.crs;i=i===undefined?this._zoom:i;return e.scale(t)/e.scale(i)},getScaleZoom:function(t,i){var e=this.options.crs;i=i===undefined?this._zoom:i;var n=e.zoom(t*e.scale(i));return isNaN(n)?Infinity:n},project:function(t,i){i=i===undefined?this._zoom:i;return this.options.crs.latLngToPoint(Z(t),i)},unproject:function(t,i){i=i===undefined?this._zoom:i;return this.options.crs.pointToLatLng(B(t),i)},layerPointToLatLng:function(t){var i=B(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){var i=this.project(Z(t))._round();return i._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(Z(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(N(t))},distance:function(t,i){return this.options.crs.distance(Z(t),Z(i))},containerPointToLayerPoint:function(t){return B(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return B(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(B(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(Z(t)))},mouseEventToContainerPoint:function(t){return Ji(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 i=this._container=oi(t);if(!i){throw new Error("Map container not found.")}else if(i._leaflet_id){throw new Error("Map container is already initialized.")}ji(i,"scroll",this._onScroll,this);this._containerId=o(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ft.any3d;pi(t,"leaflet-container"+(Ft.touch?" leaflet-touch":"")+(Ft.retina?" leaflet-retina":"")+(Ft.ielt9?" leaflet-oldie":"")+(Ft.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var i=ai(t,"position");if(i!=="absolute"&&i!=="relative"&&i!=="fixed"&&i!=="sticky"){t.style.position="relative"}this._initPanes();if(this._initControlPos){this._initControlPos()}},_initPanes:function(){var t=this._panes={};this._paneRenderers={};this._mapPane=this.createPane("mapPane",this._container);ki(this._mapPane,new O(0,0));this.createPane("tilePane");this.createPane("overlayPane");this.createPane("shadowPane");this.createPane("markerPane");this.createPane("tooltipPane");this.createPane("popupPane");if(!this.options.markerZoomAnimation){pi(t.markerPane,"leaflet-zoom-hide");pi(t.shadowPane,"leaflet-zoom-hide")}},_resetView:function(t,i,e){ki(this._mapPane,new O(0,0));var n=!this._loaded;this._loaded=true;i=this._limitZoom(i);this.fire("viewprereset");var s=this._zoom!==i;this._moveStart(s,e)._move(t,i)._moveEnd(s);this.fire("viewreset");if(n){this.fire("load")}},_moveStart:function(t,i){if(t){this.fire("zoomstart")}if(!i){this.fire("movestart")}return this},_move:function(t,i,e,n){if(i===undefined){i=this._zoom}var s=this._zoom!==i;this._zoom=i;this._lastCenter=t;this._pixelOrigin=this._getNewPixelOrigin(t);if(!n){if(s||e&&e.pinch){this.fire("zoom",e)}this.fire("move",e)}else if(e&&e.pinch){this.fire("zoom",e)}return this},_moveEnd:function(t){if(t){this.fire("zoomend")}return this.fire("moveend")},_stop:function(){T(this._flyToFrame);if(this._panAnim){this._panAnim.stop()}return this},_rawPanBy:function(t){ki(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){if(!this._enforcingBounds){this.panInsideBounds(this.options.maxBounds)}},_checkIfLoaded:function(){if(!this._loaded){throw new Error("Set map center and zoom first.")}},_initEvents:function(t){this._targets={};this._targets[o(this._container)]=this;var i=t?Ni:ji;i(this._container,"click dblclick mousedown mouseup "+"mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this);if(this.options.trackResize){i(window,"resize",this._onResize,this)}if(Ft.any3d&&this.options.transform3DLimit){(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)}},_onResize:function(){T(this._resizeRequest);this._resizeRequest=z((function(){this.invalidateSize({debounceMoveend:true})}),this)},_onScroll:function(){this._container.scrollTop=0;this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();if(Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit){this._resetView(this.getCenter(),this.getZoom())}},_findEventTargets:function(t,i){var e=[],n,s=i==="mouseout"||i==="mouseover",r=t.target||t.srcElement,a=false;while(r){n=this._targets[o(r)];if(n&&(i==="click"||i==="preclick")&&this._draggableMoved(n)){a=true;break}if(n&&n.listens(i,true)){if(s&&!Yi(r,t)){break}e.push(n);if(s){break}}if(r===this._container){break}r=r.parentNode}if(!e.length&&!a&&!s&&this.listens(i,true)){e=[this]}return e},_isClickDisabled:function(t){while(t&&t!==this._container){if(t["_leaflet_disable_click"]){return true}t=t.parentNode}},_handleDOMEvent:function(t){var i=t.target||t.srcElement;if(!this._loaded||i["_leaflet_disable_events"]||t.type==="click"&&this._isClickDisabled(i)){return}var e=t.type;if(e==="mousedown"){Ei(i)}this._fireDOMEvent(t,e)},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,i,n){if(t.type==="click"){var s=e({},t);s.type="preclick";this._fireDOMEvent(s,s.type,n)}var r=this._findEventTargets(t,i);if(n){var o=[];for(var a=0;a<n.length;a++){if(n[a].listens(i,true)){o.push(n[a])}}r=o.concat(r)}if(!r.length){return}if(i==="contextmenu"){Vi(t)}var h=r[0];var l={originalEvent:t};if(t.type!=="keypress"&&t.type!=="keydown"&&t.type!=="keyup"){var f=h.getLatLng&&(!h._radius||h._radius<=10);l.containerPoint=f?this.latLngToContainerPoint(h.getLatLng()):this.mouseEventToContainerPoint(t);l.layerPoint=this.containerPointToLayerPoint(l.containerPoint);l.latlng=f?h.getLatLng():this.layerPointToLatLng(l.layerPoint)}for(a=0;a<r.length;a++){r[a].fire(i,l,true);if(l.originalEvent._stopped||r[a].options.bubblingMouseEvents===false&&b(this._mouseEvents,i)!==-1){return}}},_draggableMoved:function(t){t=t.dragging&&t.dragging.enabled()?t:this;return t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t<i;t++){this._handlers[t].disable()}},whenReady:function(t,i){if(this._loaded){t.call(i||this,{target:this})}else{this.on("load",t,i)}return this},_getMapPanePos:function(){return _i(this._mapPane)||new O(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){var e=t&&i!==undefined?this._getNewPixelOrigin(t,i):this.getPixelOrigin();return e.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var e=this.getSize()._divideBy(2);return this.project(t,i)._subtract(e)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return this.project(t,i)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return j([this.project(t.getSouthWest(),i)._subtract(n),this.project(t.getNorthWest(),i)._subtract(n),this.project(t.getSouthEast(),i)._subtract(n),this.project(t.getNorthEast(),i)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,e){if(!e){return t}var n=this.project(t,i),s=this.getSize().divideBy(2),r=new F(n.subtract(s),n.add(s)),o=this._getBoundsOffset(r,e,i);if(Math.abs(o.x)<=1&&Math.abs(o.y)<=1){return t}return this.unproject(n.add(o),i)},_limitOffset:function(t,i){if(!i){return t}var e=this.getPixelBounds(),n=new F(e.min.add(t),e.max.add(t));return t.add(this._getBoundsOffset(n,i))},_getBoundsOffset:function(t,i,e){var n=j(this.project(i.getNorthEast(),e),this.project(i.getSouthWest(),e)),s=n.min.subtract(t.min),r=n.max.subtract(t.max),o=this._rebound(s.x,-r.x),a=this._rebound(s.y,-r.y);return new O(o,a)},_rebound:function(t,i){return t+i>0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),e=this.getMaxZoom(),n=Ft.any3d?this.options.zoomSnap:1;if(n){t=Math.round(t/n)*n}return Math.max(i,Math.min(e,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){vi(this._mapPane,"leaflet-pan-anim");this.fire("moveend")},_tryAnimatedPan:function(t,i){var e=this._getCenterOffset(t)._trunc();if((i&&i.animate)!==true&&!this.getSize().contains(e)){return false}this.panBy(e,i);return true},_createAnimProxy:function(){var t=this._proxy=hi("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t);this.on("zoomanim",(function(t){var i=ni,e=this._proxy.style[i];yi(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1));if(e===this._proxy.style[i]&&this._animatingZoom){this._onZoomTransitionEnd()}}),this);this.on("load moveend",this._animMoveEnd,this);this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){li(this._proxy);this.off("load moveend",this._animMoveEnd,this);delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),i=this.getZoom();yi(this._proxy,this.project(t,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(t){if(this._animatingZoom&&t.propertyName.indexOf("transform")>=0){this._onZoomTransitionEnd()}},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,i,e){if(this._animatingZoom){return true}e=e||{};if(!this._zoomAnimated||e.animate===false||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold){return false}var n=this.getZoomScale(i),s=this._getCenterOffset(t)._divideBy(1-1/n);if(e.animate!==true&&!this.getSize().contains(s)){return false}z((function(){this._moveStart(true,false)._animateZoom(t,i,true)}),this);return true},_animateZoom:function(t,i,e,n){if(!this._mapPane){return}if(e){this._animatingZoom=true;this._animateToCenter=t;this._animateToZoom=i;pi(this._mapPane,"leaflet-zoom-anim")}this.fire("zoomanim",{center:t,zoom:i,noUpdate:n});if(!this._tempFireZoomEvent){this._tempFireZoomEvent=this._zoom!==this._animateToZoom}this._move(this._animateToCenter,this._animateToZoom,undefined,true);setTimeout(s(this._onZoomTransitionEnd,this),250)},_onZoomTransitionEnd:function(){if(!this._animatingZoom){return}if(this._mapPane){vi(this._mapPane,"leaflet-zoom-anim")}this._animatingZoom=false;this._move(this._animateToCenter,this._animateToZoom,undefined,true);if(this._tempFireZoomEvent){this.fire("zoom")}delete this._tempFireZoomEvent;this.fire("move");this._moveEnd(true)}});function ne(t,i){return new ee(t,i)}var se=C.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;if(i){i.removeControl(this)}this.options.position=t;if(i){i.addControl(this)}return this},getContainer:function(){return this._container},addTo:function(t){this.remove();this._map=t;var i=this._container=this.onAdd(t),e=this.getPosition(),n=t._controlCorners[e];pi(i,"leaflet-control");if(e.indexOf("bottom")!==-1){n.insertBefore(i,n.firstChild)}else{n.appendChild(i)}this._map.on("unload",this.remove,this);return this},remove:function(){if(!this._map){return this}li(this._container);if(this.onRemove){this.onRemove(this._map)}this._map.off("unload",this.remove,this);this._map=null;return this},_refocusOnMap:function(t){if(this._map&&t&&t.screenX>0&&t.screenY>0){this._map.getContainer().focus()}}});var re=function(t){return new se(t)};ee.include({addControl:function(t){t.addTo(this);return this},removeControl:function(t){t.remove();return this},_initControlPos:function(){var t=this._controlCorners={},i="leaflet-",e=this._controlContainer=hi("div",i+"control-container",this._container);function n(n,s){var r=i+n+" "+i+s;t[n+s]=hi("div",r,e)}n("top","left");n("top","right");n("bottom","left");n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners){li(this._controlCorners[t])}li(this._controlContainer);delete this._controlCorners;delete this._controlContainer}});var oe=se.extend({options:{collapsed:true,position:"topright",autoZIndex:true,hideSingleBase:false,sortLayers:false,sortFunction:function(t,i,e,n){return e<n?-1:n<e?1:0}},initialize:function(t,i,e){d(this,e);this._layerControlInputs=[];this._layers=[];this._lastZIndex=0;this._handlingClick=false;for(var n in t){this._addLayer(t[n],n)}for(n in i){this._addLayer(i[n],n,true)}},onAdd:function(t){this._initLayout();this._update();this._map=t;t.on("zoomend",this._checkDisabledLayers,this);for(var i=0;i<this._layers.length;i++){this._layers[i].layer.on("add remove",this._onLayerChange,this)}return this._container},addTo:function(t){se.prototype.addTo.call(this,t);return 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,i){this._addLayer(t,i);return this._map?this._update():this},addOverlay:function(t,i){this._addLayer(t,i,true);return this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var i=this._getLayer(o(t));if(i){this._layers.splice(this._layers.indexOf(i),1)}return this._map?this._update():this},expand:function(){pi(this._container,"leaflet-control-layers-expanded");this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);if(t<this._section.clientHeight){pi(this._section,"leaflet-control-layers-scrollbar");this._section.style.height=t+"px"}else{vi(this._section,"leaflet-control-layers-scrollbar")}this._checkDisabledLayers();return this},collapse:function(){vi(this._container,"leaflet-control-layers-expanded");return this},_initLayout:function(){var t="leaflet-control-layers",i=this._container=hi("div",t),e=this.options.collapsed;i.setAttribute("aria-haspopup",true);Gi(i);Wi(i);var n=this._section=hi("section",t+"-list");if(e){this._map.on("click",this.collapse,this);ji(i,{mouseenter:this._expandSafely,mouseleave:this.collapse},this)}var s=this._layersLink=hi("a",t+"-toggle",i);s.href="#";s.title="Layers";s.setAttribute("role","button");ji(s,{keydown:function(t){if(t.keyCode===13){this._expandSafely()}},click:function(t){Vi(t);this._expandSafely()}},this);if(!e){this.expand()}this._baseLayersList=hi("div",t+"-base",n);this._separator=hi("div",t+"-separator",n);this._overlaysList=hi("div",t+"-overlays",n);i.appendChild(n)},_getLayer:function(t){for(var i=0;i<this._layers.length;i++){if(this._layers[i]&&o(this._layers[i].layer)===t){return this._layers[i]}}},_addLayer:function(t,i,e){if(this._map){t.on("add remove",this._onLayerChange,this)}this._layers.push({layer:t,name:i,overlay:e});if(this.options.sortLayers){this._layers.sort(s((function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)}),this))}if(this.options.autoZIndex&&t.setZIndex){this._lastZIndex++;t.setZIndex(this._lastZIndex)}this._expandIfNotCollapsed()},_update:function(){if(!this._container){return this}fi(this._baseLayersList);fi(this._overlaysList);this._layerControlInputs=[];var t,i,e,n,s=0;for(e=0;e<this._layers.length;e++){n=this._layers[e];this._addItem(n);i=i||n.overlay;t=t||!n.overlay;s+=!n.overlay?1:0}if(this.options.hideSingleBase){t=t&&s>1;this._baseLayersList.style.display=t?"":"none"}this._separator.style.display=i&&t?"":"none";return this},_onLayerChange:function(t){if(!this._handlingClick){this._update()}var i=this._getLayer(o(t.target));var e=i.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;if(e){this._map.fire(e,i)}},_createRadioElement:function(t,i){var e='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>";var n=document.createElement("div");n.innerHTML=e;return n.firstChild},_addItem:function(t){var i=document.createElement("label"),e=this._map.hasLayer(t.layer),n;if(t.overlay){n=document.createElement("input");n.type="checkbox";n.className="leaflet-control-layers-selector";n.defaultChecked=e}else{n=this._createRadioElement("leaflet-base-layers_"+o(this),e)}this._layerControlInputs.push(n);n.layerId=o(t.layer);ji(n,"click",this._onInputClick,this);var s=document.createElement("span");s.innerHTML=" "+t.name;var r=document.createElement("span");i.appendChild(r);r.appendChild(n);r.appendChild(s);var a=t.overlay?this._overlaysList:this._baseLayersList;a.appendChild(i);this._checkDisabledLayers();return i},_onInputClick:function(){var t=this._layerControlInputs,i,e;var n=[],s=[];this._handlingClick=true;for(var r=t.length-1;r>=0;r--){i=t[r];e=this._getLayer(i.layerId).layer;if(i.checked){n.push(e)}else if(!i.checked){s.push(e)}}for(r=0;r<s.length;r++){if(this._map.hasLayer(s[r])){this._map.removeLayer(s[r])}}for(r=0;r<n.length;r++){if(!this._map.hasLayer(n[r])){this._map.addLayer(n[r])}}this._handlingClick=false;this._refocusOnMap()},_checkDisabledLayers:function(){var t=this._layerControlInputs,i,e,n=this._map.getZoom();for(var s=t.length-1;s>=0;s--){i=t[s];e=this._getLayer(i.layerId).layer;i.disabled=e.options.minZoom!==undefined&&n<e.options.minZoom||e.options.maxZoom!==undefined&&n>e.options.maxZoom}},_expandIfNotCollapsed:function(){if(this._map&&!this.options.collapsed){this.expand()}return this},_expandSafely:function(){var t=this._section;ji(t,"click",Vi);this.expand();setTimeout((function(){Ni(t,"click",Vi)}))}});var ae=function(t,i,e){return new oe(t,i,e)};var he=se.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 i="leaflet-control-zoom",e=hi("div",i+" leaflet-bar"),n=this.options;this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,i+"-in",e,this._zoomIn);this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,i+"-out",e,this._zoomOut);this._updateDisabled();t.on("zoomend zoomlevelschange",this._updateDisabled,this);return e},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){this._disabled=true;this._updateDisabled();return this},enable:function(){this._disabled=false;this._updateDisabled();return this},_zoomIn:function(t){if(!this._disabled&&this._map._zoom<this._map.getMaxZoom()){this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))}},_zoomOut:function(t){if(!this._disabled&&this._map._zoom>this._map.getMinZoom()){this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))}},_createButton:function(t,i,e,n,s){var r=hi("a",e,n);r.innerHTML=t;r.href="#";r.title=i;r.setAttribute("role","button");r.setAttribute("aria-label",i);Gi(r);ji(r,"click",qi);ji(r,"click",s,this);ji(r,"click",this._refocusOnMap,this);return r},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";vi(this._zoomInButton,i);vi(this._zoomOutButton,i);this._zoomInButton.setAttribute("aria-disabled","false");this._zoomOutButton.setAttribute("aria-disabled","false");if(this._disabled||t._zoom===t.getMinZoom()){pi(this._zoomOutButton,i);this._zoomOutButton.setAttribute("aria-disabled","true")}if(this._disabled||t._zoom===t.getMaxZoom()){pi(this._zoomInButton,i);this._zoomInButton.setAttribute("aria-disabled","true")}}});ee.mergeOptions({zoomControl:true});ee.addInitHook((function(){if(this.options.zoomControl){this.zoomControl=new he;this.addControl(this.zoomControl)}}));var le=function(t){return new he(t)};var fe=se.extend({options:{position:"bottomleft",maxWidth:100,metric:true,imperial:true},onAdd:function(t){var i="leaflet-control-scale",e=hi("div",i),n=this.options;this._addScales(n,i+"-line",e);t.on(n.updateWhenIdle?"moveend":"move",this._update,this);t.whenReady(this._update,this);return e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,e){if(t.metric){this._mScale=hi("div",i,e)}if(t.imperial){this._iScale=hi("div",i,e)}},_update:function(){var t=this._map,i=t.getSize().y/2;var e=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(e)},_updateScales:function(t){if(this.options.metric&&t){this._updateMetric(t)}if(this.options.imperial&&t){this._updateImperial(t)}},_updateMetric:function(t){var i=this._getRoundNum(t),e=i<1e3?i+" m":i/1e3+" km";this._updateScale(this._mScale,e,i/t)},_updateImperial:function(t){var i=t*3.2808399,e,n,s;if(i>5280){e=i/5280;n=this._getRoundNum(e);this._updateScale(this._iScale,n+" mi",n/e)}else{s=this._getRoundNum(i);this._updateScale(this._iScale,s+" ft",s/i)}},_updateScale:function(t,i,e){t.style.width=Math.round(this.options.maxWidth*e)+"px";t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1),e=t/i;e=e>=10?10:e>=5?5:e>=3?3:e>=2?2:1;return i*e}});var ue=function(t){return new fe(t)};var ce='<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>';var de=se.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Ft.inlineSvg?ce+" ":"")+"Leaflet</a>"},initialize:function(t){d(this,t);this._attributions={}},onAdd:function(t){t.attributionControl=this;this._container=hi("div","leaflet-control-attribution");Gi(this._container);for(var i in t._layers){if(t._layers[i].getAttribution){this.addAttribution(t._layers[i].getAttribution())}}this._update();t.on("layeradd",this._addAttribution,this);return this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){if(t.layer.getAttribution){this.addAttribution(t.layer.getAttribution());t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this)}},setPrefix:function(t){this.options.prefix=t;this._update();return this},addAttribution:function(t){if(!t){return this}if(!this._attributions[t]){this._attributions[t]=0}this._attributions[t]++;this._update();return this},removeAttribution:function(t){if(!t){return this}if(this._attributions[t]){this._attributions[t]--;this._update()}return this},_update:function(){if(!this._map){return}var t=[];for(var i in this._attributions){if(this._attributions[i]){t.push(i)}}var e=[];if(this.options.prefix){e.push(this.options.prefix)}if(t.length){e.push(t.join(", "))}this._container.innerHTML=e.join(' <span aria-hidden="true">|</span> ')}});ee.mergeOptions({attributionControl:true});ee.addInitHook((function(){if(this.options.attributionControl){(new de).addTo(this)}}));var pe=function(t){return new de(t)};se.Layers=oe;se.Zoom=he;se.Scale=fe;se.Attribution=de;re.layers=ae;re.zoom=le;re.scale=ue;re.attribution=pe;var ve=C.extend({initialize:function(t){this._map=t},enable:function(){if(this._enabled){return this}this._enabled=true;this.addHooks();return this},disable:function(){if(!this._enabled){return this}this._enabled=false;this.removeHooks();return this},enabled:function(){return!!this._enabled}});ve.addTo=function(t,i){t.addHandler(i,this);return this};var me={Events:A};var ge=Ft.touch?"touchstart mousedown":"mousedown";var be=E.extend({options:{clickTolerance:3},initialize:function(t,i,e,n){d(this,n);this._element=t;this._dragStartTarget=i||t;this._preventOutline=e},enable:function(){if(this._enabled){return}ji(this._dragStartTarget,ge,this._onDown,this);this._enabled=true},disable:function(){if(!this._enabled){return}if(be._dragging===this){this.finishDrag(true)}Ni(this._dragStartTarget,ge,this._onDown,this);this._enabled=false;this._moved=false},_onDown:function(t){if(!this._enabled){return}this._moved=false;if(di(this._element,"leaflet-zoom-anim")){return}if(t.touches&&t.touches.length!==1){if(be._dragging===this){this.finishDrag()}return}if(be._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches){return}be._dragging=this;if(this._preventOutline){Ei(this._element)}Li();Mi();if(this._moving){return}this.fire("down");var i=t.touches?t.touches[0]:t,e=Ii(this._element);this._startPoint=new O(i.clientX,i.clientY);this._startPos=_i(this._element);this._parentScale=Bi(e);var n=t.type==="mousedown";ji(document,n?"mousemove":"touchmove",this._onMove,this);ji(document,n?"mouseup":"touchend touchcancel",this._onUp,this)},_onMove:function(t){if(!this._enabled){return}if(t.touches&&t.touches.length>1){this._moved=true;return}var i=t.touches&&t.touches.length===1?t.touches[0]:t,e=new O(i.clientX,i.clientY)._subtract(this._startPoint);if(!e.x&&!e.y){return}if(Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance){return}e.x/=this._parentScale.x;e.y/=this._parentScale.y;Vi(t);if(!this._moved){this.fire("dragstart");this._moved=true;pi(document.body,"leaflet-dragging");this._lastTarget=t.target||t.srcElement;if(window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance){this._lastTarget=this._lastTarget.correspondingUseElement}pi(this._lastTarget,"leaflet-drag-target")}this._newPos=this._startPos.add(e);this._moving=true;this._lastEvent=t;this._updatePosition()},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t);ki(this._element,this._newPos);this.fire("drag",t)},_onUp:function(){if(!this._enabled){return}this.finishDrag()},finishDrag:function(t){vi(document.body,"leaflet-dragging");if(this._lastTarget){vi(this._lastTarget,"leaflet-drag-target");this._lastTarget=null}Ni(document,"mousemove touchmove",this._onMove,this);Ni(document,"mouseup touchend touchcancel",this._onUp,this);Ci();zi();if(this._moved&&this._moving){this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}this._moving=false;be._dragging=false}});function we(t,i){if(!i||!t.length){return t.slice()}var e=i*i;t=Me(t,e);t=ke(t,e);return t}function xe(t,i,e){return Math.sqrt(Se(t,i,e,true))}function ye(t,i,e){return Se(t,i,e)}function ke(t,i){var e=t.length,n=typeof Uint8Array!==undefined+""?Uint8Array:Array,s=new n(e);s[0]=s[e-1]=1;_e(t,s,i,0,e-1);var r,o=[];for(r=0;r<e;r++){if(s[r]){o.push(t[r])}}return o}function _e(t,i,e,n,s){var r=0,o,a,h;for(a=n+1;a<=s-1;a++){h=Se(t[a],t[n],t[s],true);if(h>r){o=a;r=h}}if(r>e){i[o]=1;_e(t,i,e,n,o);_e(t,i,e,o,s)}}function Me(t,i){var e=[t[0]];for(var n=1,s=0,r=t.length;n<r;n++){if(Ce(t[n],t[s])>i){e.push(t[n]);s=n}}if(s<r-1){e.push(t[r-1])}return e}var ze;function Te(t,i,e,n,s){var r=n?ze:Le(t,e),o=Le(i,e),a,h,l;ze=o;while(true){if(!(r|o)){return[t,i]}if(r&o){return false}a=r||o;h=Pe(t,i,a,e,s);l=Le(h,e);if(a===r){t=h;r=l}else{i=h;o=l}}}function Pe(t,i,e,n,s){var r=i.x-t.x,o=i.y-t.y,a=n.min,h=n.max,l,f;if(e&8){l=t.x+r*(h.y-t.y)/o;f=h.y}else if(e&4){l=t.x+r*(a.y-t.y)/o;f=a.y}else if(e&2){l=h.x;f=t.y+o*(h.x-t.x)/r}else if(e&1){l=a.x;f=t.y+o*(a.x-t.x)/r}return new O(l,f,s)}function Le(t,i){var e=0;if(t.x<i.min.x){e|=1}else if(t.x>i.max.x){e|=2}if(t.y<i.min.y){e|=4}else if(t.y>i.max.y){e|=8}return e}function Ce(t,i){var e=i.x-t.x,n=i.y-t.y;return e*e+n*n}function Se(t,i,e,n){var s=i.x,r=i.y,o=e.x-s,a=e.y-r,h=o*o+a*a,l;if(h>0){l=((t.x-s)*o+(t.y-r)*a)/h;if(l>1){s=e.x;r=e.y}else if(l>0){s+=o*l;r+=a*l}}o=t.x-s;a=t.y-r;return n?o*o+a*a:new O(s,r)}function Ae(t){return!g(t[0])||typeof t[0][0]!=="object"&&typeof t[0][0]!=="undefined"}function Ee(t){console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead.");return Ae(t)}function Oe(t,i){var e,n,s,r,o,a,h,l;if(!t||t.length===0){throw new Error("latlngs not passed")}if(!Ae(t)){console.warn("latlngs are not flat! Only the first ring will be used");t=t[0]}var f=[];for(var u in t){f.push(i.project(Z(t[u])))}var c=f.length;for(e=0,n=0;e<c-1;e++){n+=f[e].distanceTo(f[e+1])/2}if(n===0){l=f[0]}else{for(e=0,r=0;e<c-1;e++){o=f[e];a=f[e+1];s=o.distanceTo(a);r+=s;if(r>n){h=(r-n)/s;l=[a.x-h*(a.x-o.x),a.y-h*(a.y-o.y)];break}}}return i.unproject(B(l))}var Ie={__proto__:null,simplify:we,pointToSegmentDistance:xe,closestPointOnSegment:ye,clipSegment:Te,_getEdgeIntersection:Pe,_getBitCode:Le,_sqClosestPointOnSegment:Se,isFlat:Ae,_flat:Ee,polylineCenter:Oe};function Be(t,i,e){var n,s=[1,4,2,8],r,o,a,h,l,f,u,c;for(r=0,f=t.length;r<f;r++){t[r]._code=Le(t[r],i)}for(a=0;a<4;a++){u=s[a];n=[];for(r=0,f=t.length,o=f-1;r<f;o=r++){h=t[r];l=t[o];if(!(h._code&u)){if(l._code&u){c=Pe(l,h,u,i,e);c._code=Le(c,i);n.push(c)}n.push(h)}else if(!(l._code&u)){c=Pe(l,h,u,i,e);c._code=Le(c,i);n.push(c)}}t=n}return t}function Fe(t,i){var e,n,s,r,o,a,h,l,f;if(!t||t.length===0){throw new Error("latlngs not passed")}if(!Ae(t)){console.warn("latlngs are not flat! Only the first ring will be used");t=t[0]}var u=[];for(var c in t){u.push(i.project(Z(t[c])))}var d=u.length;a=h=l=0;for(e=0,n=d-1;e<d;n=e++){s=u[e];r=u[n];o=s.y*r.x-r.y*s.x;h+=(s.x+r.x)*o;l+=(s.y+r.y)*o;a+=o*3}if(a===0){f=u[0]}else{f=[h/a,l/a]}return i.unproject(B(f))}var je={__proto__:null,clipPolygon:Be,polygonCenter:Fe};var Re={project:function(t){return new O(t.lng,t.lat)},unproject:function(t){return new D(t.y,t.x)},bounds:new F([-180,-90],[180,90])};var Ne={R:6378137,R_MINOR:6356752.314245179,bounds:new F([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,e=this.R,n=t.lat*i,s=this.R_MINOR/e,r=Math.sqrt(1-s*s),o=r*Math.sin(n);var a=Math.tan(Math.PI/4-n/2)/Math.pow((1-o)/(1+o),r/2);n=-e*Math.log(Math.max(a,1e-10));return new O(t.lng*i*e,n)},unproject:function(t){var i=180/Math.PI,e=this.R,n=this.R_MINOR/e,s=Math.sqrt(1-n*n),r=Math.exp(-t.y/e),o=Math.PI/2-2*Math.atan(r);for(var a=0,h=.1,l;a<15&&Math.abs(h)>1e-7;a++){l=s*Math.sin(o);l=Math.pow((1-l)/(1+l),s/2);h=Math.PI/2-2*Math.atan(r*l)-o;o+=h}return new D(o*i,t.x*i/e)}};var De={__proto__:null,LonLat:Re,Mercator:Ne,SphericalMercator:W};var Ze=e({},H,{code:"EPSG:3395",projection:Ne,transformation:function(){var t=.5/(Math.PI*Ne.R);return V(t,.5,-t,.5)}()});var $e=e({},H,{code:"EPSG:4326",projection:Re,transformation:V(1/180,1,-1/180,.5)});var He=e({},$,{projection:Re,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var e=i.lng-t.lng,n=i.lat-t.lat;return Math.sqrt(e*e+n*n)},infinite:true});$.Earth=H;$.EPSG3395=Ze;$.EPSG3857=q;$.EPSG900913=X;$.EPSG4326=$e;$.Simple=He;var Ue=E.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:true},addTo:function(t){t.addLayer(this);return this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){if(t){t.removeLayer(this)}return this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){this._map._targets[o(t)]=this;return this},removeInteractiveTarget:function(t){delete this._map._targets[o(t)];return this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(!i.hasLayer(this)){return}this._map=i;this._zoomAnimated=i._zoomAnimated;if(this.getEvents){var e=this.getEvents();i.on(e,this);this.once("remove",(function(){i.off(e,this)}),this)}this.onAdd(i);this.fire("add");i.fire("layeradd",{layer:this})}});ee.include({addLayer:function(t){if(!t._layerAdd){throw new Error("The provided object is not a Layer.")}var i=o(t);if(this._layers[i]){return this}this._layers[i]=t;t._mapToAdd=this;if(t.beforeAdd){t.beforeAdd(this)}this.whenReady(t._layerAdd,t);return this},removeLayer:function(t){var i=o(t);if(!this._layers[i]){return this}if(this._loaded){t.onRemove(this)}delete this._layers[i];if(this._loaded){this.fire("layerremove",{layer:t});t.fire("remove")}t._map=t._mapToAdd=null;return this},hasLayer:function(t){return o(t)in this._layers},eachLayer:function(t,i){for(var e in this._layers){t.call(i,this._layers[e])}return this},_addLayers:function(t){t=t?g(t)?t:[t]:[];for(var i=0,e=t.length;i<e;i++){this.addLayer(t[i])}},_addZoomLimit:function(t){if(!isNaN(t.options.maxZoom)||!isNaN(t.options.minZoom)){this._zoomBoundLayers[o(t)]=t;this._updateZoomLevels()}},_removeZoomLimit:function(t){var i=o(t);if(this._zoomBoundLayers[i]){delete this._zoomBoundLayers[i];this._updateZoomLevels()}},_updateZoomLevels:function(){var t=Infinity,i=-Infinity,e=this._getZoomSpan();for(var n in this._zoomBoundLayers){var s=this._zoomBoundLayers[n].options;t=s.minZoom===undefined?t:Math.min(t,s.minZoom);i=s.maxZoom===undefined?i:Math.max(i,s.maxZoom)}this._layersMaxZoom=i===-Infinity?undefined:i;this._layersMinZoom=t===Infinity?undefined:t;if(e!==this._getZoomSpan()){this.fire("zoomlevelschange")}if(this.options.maxZoom===undefined&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom){this.setZoom(this._layersMaxZoom)}if(this.options.minZoom===undefined&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom){this.setZoom(this._layersMinZoom)}}});var We=Ue.extend({initialize:function(t,i){d(this,i);this._layers={};var e,n;if(t){for(e=0,n=t.length;e<n;e++){this.addLayer(t[e])}}},addLayer:function(t){var i=this.getLayerId(t);this._layers[i]=t;if(this._map){this._map.addLayer(t)}return this},removeLayer:function(t){var i=t in this._layers?t:this.getLayerId(t);if(this._map&&this._layers[i]){this._map.removeLayer(this._layers[i])}delete this._layers[i];return this},hasLayer:function(t){var i=typeof t==="number"?t:this.getLayerId(t);return i in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i=Array.prototype.slice.call(arguments,1),e,n;for(e in this._layers){n=this._layers[e];if(n[t]){n[t].apply(n,i)}}return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var e in this._layers){t.call(i,this._layers[e])}return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];this.eachLayer(t.push,t);return t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return o(t)}});var Ge=function(t,i){return new We(t,i)};var Ve=We.extend({addLayer:function(t){if(this.hasLayer(t)){return this}t.addEventParent(this);We.prototype.addLayer.call(this,t);return this.fire("layeradd",{layer:t})},removeLayer:function(t){if(!this.hasLayer(t)){return this}if(t in this._layers){t=this._layers[t]}t.removeEventParent(this);We.prototype.removeLayer.call(this,t);return this.fire("layerremove",{layer:t})},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 R;for(var i in this._layers){var e=this._layers[i];t.extend(e.getBounds?e.getBounds():e.getLatLng())}return t}});var qe=function(t,i){return new Ve(t,i)};var Xe=C.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:false},initialize:function(t){d(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,i){var e=this._getIconUrl(t);if(!e){if(t==="icon"){throw new Error("iconUrl not set in Icon options (see the docs).")}return null}var n=this._createImg(e,i&&i.tagName==="IMG"?i:null);this._setIconStyles(n,t);if(this.options.crossOrigin||this.options.crossOrigin===""){n.crossOrigin=this.options.crossOrigin===true?"":this.options.crossOrigin}return n},_setIconStyles:function(t,i){var e=this.options;var n=e[i+"Size"];if(typeof n==="number"){n=[n,n]}var s=B(n),r=B(i==="shadow"&&e.shadowAnchor||e.iconAnchor||s&&s.divideBy(2,true));t.className="leaflet-marker-"+i+" "+(e.className||"");if(r){t.style.marginLeft=-r.x+"px";t.style.marginTop=-r.y+"px"}if(s){t.style.width=s.x+"px";t.style.height=s.y+"px"}},_createImg:function(t,i){i=i||document.createElement("img");i.src=t;return i},_getIconUrl:function(t){return Ft.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function Je(t){return new Xe(t)}var Ke=Xe.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){if(typeof Ke.imagePath!=="string"){Ke.imagePath=this._detectIconPath()}return(this.options.imagePath||Ke.imagePath)+Xe.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var i=function(t,i,e){var n=i.exec(t);return n&&n[e]};t=i(t,/^url\((['"])?(.+)\1\)$/,2);return t&&i(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=hi("div","leaflet-default-icon-path",document.body);var i=ai(t,"background-image")||ai(t,"backgroundImage");document.body.removeChild(t);i=this._stripUrl(i);if(i){return i}var e=document.querySelector('link[href$="leaflet.css"]');if(!e){return""}return e.href.substring(0,e.href.length-"leaflet.css".length-1)}});var Qe=ve.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;if(!this._draggable){this._draggable=new be(t,t,true)}this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable();pi(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable();if(this._marker._icon){vi(this._marker._icon,"leaflet-marker-draggable")}},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,e=i._map,n=this._marker.options.autoPanSpeed,s=this._marker.options.autoPanPadding,r=_i(i._icon),o=e.getPixelBounds(),a=e.getPixelOrigin();var h=j(o.min._subtract(a).add(s),o.max._subtract(a).subtract(s));if(!h.contains(r)){var l=B((Math.max(h.max.x,r.x)-h.max.x)/(o.max.x-h.max.x)-(Math.min(h.min.x,r.x)-h.min.x)/(o.min.x-h.min.x),(Math.max(h.max.y,r.y)-h.max.y)/(o.max.y-h.max.y)-(Math.min(h.min.y,r.y)-h.min.y)/(o.min.y-h.min.y)).multiplyBy(n);e.panBy(l,{animate:false});this._draggable._newPos._add(l);this._draggable._startPos._add(l);ki(i._icon,this._draggable._newPos);this._onDrag(t);this._panRequest=z(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){if(this._marker.options.autoPan){T(this._panRequest);this._panRequest=z(this._adjustPan.bind(this,t))}},_onDrag:function(t){var i=this._marker,e=i._shadow,n=_i(i._icon),s=i._map.layerPointToLatLng(n);if(e){ki(e,n)}i._latlng=s;t.latlng=s;t.oldLatLng=this._oldLatLng;i.fire("move",t).fire("drag",t)},_onDragEnd:function(t){T(this._panRequest);delete this._oldLatLng;this._marker.fire("moveend").fire("dragend",t)}});var Ye=Ue.extend({options:{icon:new Ke,interactive:true,keyboard:true,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:false,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:false,autoPanOnFocus:true,draggable:false,autoPan:false,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,i){d(this,i);this._latlng=Z(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation;if(this._zoomAnimated){t.on("zoomanim",this._animateZoom,this)}this._initIcon();this.update()},onRemove:function(t){if(this.dragging&&this.dragging.enabled()){this.options.draggable=true;this.dragging.removeHooks()}delete this.dragging;if(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 i=this._latlng;this._latlng=Z(t);this.update();return this.fire("move",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){this.options.zIndexOffset=t;return this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){this.options.icon=t;if(this._map){this._initIcon();this.update()}if(this._popup){this.bindPopup(this._popup,this._popup.options)}return 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,i="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");var e=t.icon.createIcon(this._icon),n=false;if(e!==this._icon){if(this._icon){this._removeIcon()}n=true;if(t.title){e.title=t.title}if(e.tagName==="IMG"){e.alt=t.alt||""}}pi(e,i);if(t.keyboard){e.tabIndex="0";e.setAttribute("role","button")}this._icon=e;if(t.riseOnHover){this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex})}if(this.options.autoPanOnFocus){ji(e,"focus",this._panOnFocus,this)}var s=t.icon.createShadow(this._shadow),r=false;if(s!==this._shadow){this._removeShadow();r=true}if(s){pi(s,i);s.alt=""}this._shadow=s;if(t.opacity<1){this._updateOpacity()}if(n){this.getPane().appendChild(this._icon)}this._initInteraction();if(s&&r){this.getPane(t.shadowPane).appendChild(this._shadow)}},_removeIcon:function(){if(this.options.riseOnHover){this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex})}if(this.options.autoPanOnFocus){Ni(this._icon,"focus",this._panOnFocus,this)}li(this._icon);this.removeInteractiveTarget(this._icon);this._icon=null},_removeShadow:function(){if(this._shadow){li(this._shadow)}this._shadow=null},_setPos:function(t){if(this._icon){ki(this._icon,t)}if(this._shadow){ki(this._shadow,t)}this._zIndex=t.y+this.options.zIndexOffset;this._resetZIndex()},_updateZIndex:function(t){if(this._icon){this._icon.style.zIndex=this._zIndex+t}},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(i)},_initInteraction:function(){if(!this.options.interactive){return}pi(this._icon,"leaflet-interactive");this.addInteractiveTarget(this._icon);if(Qe){var t=this.options.draggable;if(this.dragging){t=this.dragging.enabled();this.dragging.disable()}this.dragging=new Qe(this);if(t){this.dragging.enable()}}},setOpacity:function(t){this.options.opacity=t;if(this._map){this._updateOpacity()}return this},_updateOpacity:function(){var t=this.options.opacity;if(this._icon){bi(this._icon,t)}if(this._shadow){bi(this._shadow,t)}},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(!t){return}var i=this.options.icon.options;var e=i.iconSize?B(i.iconSize):B(0,0);var n=i.iconAnchor?B(i.iconAnchor):B(0,0);t.panInside(this._latlng,{paddingTopLeft:n,paddingBottomRight:e.subtract(n)})},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function tn(t,i){return new Ye(t,i)}var en=Ue.extend({options:{stroke:true,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:false,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:true,bubblingMouseEvents:true},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(){if(this._map){this._renderer._updatePath(this)}return this},setStyle:function(t){d(this,t);if(this._renderer){this._renderer._updateStyle(this);if(this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")){this._updateBounds()}}return this},bringToFront:function(){if(this._renderer){this._renderer._bringToFront(this)}return this},bringToBack:function(){if(this._renderer){this._renderer._bringToBack(this)}return 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)}});var nn=en.extend({options:{fill:true,radius:10},initialize:function(t,i){d(this,i);this._latlng=Z(t);this._radius=this.options.radius},setLatLng:function(t){var i=this._latlng;this._latlng=Z(t);this.redraw();return this.fire("move",{oldLatLng:i,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){this.options.radius=this._radius=t;return this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;en.prototype.setStyle.call(this,t);this.setRadius(i);return this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng);this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,e=this._clickTolerance(),n=[t+e,i+e];this._pxBounds=new F(this._point.subtract(n),this._point.add(n))},_update:function(){if(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 sn(t,i){return new nn(t,i)}var rn=nn.extend({initialize:function(t,i,n){if(typeof i==="number"){i=e({},n,{radius:i})}d(this,i);this._latlng=Z(t);if(isNaN(this.options.radius)){throw new Error("Circle radius cannot be NaN")}this._mRadius=this.options.radius},setRadius:function(t){this._mRadius=t;return this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:en.prototype.setStyle,_project:function(){var t=this._latlng.lng,i=this._latlng.lat,e=this._map,n=e.options.crs;if(n.distance===H.distance){var s=Math.PI/180,r=this._mRadius/H.R/s,o=e.project([i+r,t]),a=e.project([i-r,t]),h=o.add(a).divideBy(2),l=e.unproject(h).lat,f=Math.acos((Math.cos(r*s)-Math.sin(i*s)*Math.sin(l*s))/(Math.cos(i*s)*Math.cos(l*s)))/s;if(isNaN(f)||f===0){f=r/Math.cos(Math.PI/180*i)}this._point=h.subtract(e.getPixelOrigin());this._radius=isNaN(f)?0:h.x-e.project([l,t-f]).x;this._radiusY=h.y-o.y}else{var u=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=e.latLngToLayerPoint(this._latlng);this._radius=this._point.x-e.latLngToLayerPoint(u).x}this._updateBounds()}});function on(t,i,e){return new rn(t,i,e)}var an=en.extend({options:{smoothFactor:1,noClip:false},initialize:function(t,i){d(this,i);this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){this._setLatLngs(t);return this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){var i=Infinity,e=null,n=Se,s,r;for(var o=0,a=this._parts.length;o<a;o++){var h=this._parts[o];for(var l=1,f=h.length;l<f;l++){s=h[l-1];r=h[l];var u=n(t,s,r,true);if(u<i){i=u;e=n(t,s,r)}}}if(e){e.distance=Math.sqrt(i)}return e},getCenter:function(){if(!this._map){throw new Error("Must add layer to map before using getCenter()")}return Oe(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,i){i=i||this._defaultShape();t=Z(t);i.push(t);this._bounds.extend(t);return this.redraw()},_setLatLngs:function(t){this._bounds=new R;this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Ae(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){var i=[],e=Ae(t);for(var n=0,s=t.length;n<s;n++){if(e){i[n]=Z(t[n]);this._bounds.extend(i[n])}else{i[n]=this._convertLatLngs(t[n])}}return i},_project:function(){var t=new F;this._rings=[];this._projectLatlngs(this._latlngs,this._rings,t);if(this._bounds.isValid()&&t.isValid()){this._rawPxBounds=t;this._updateBounds()}},_updateBounds:function(){var t=this._clickTolerance(),i=new O(t,t);if(!this._rawPxBounds){return}this._pxBounds=new F([this._rawPxBounds.min.subtract(i),this._rawPxBounds.max.add(i)])},_projectLatlngs:function(t,i,e){var n=t[0]instanceof D,s=t.length,r,o;if(n){o=[];for(r=0;r<s;r++){o[r]=this._map.latLngToLayerPoint(t[r]);e.extend(o[r])}i.push(o)}else{for(r=0;r<s;r++){this._projectLatlngs(t[r],i,e)}}},_clipPoints:function(){var t=this._renderer._bounds;this._parts=[];if(!this._pxBounds||!this._pxBounds.intersects(t)){return}if(this.options.noClip){this._parts=this._rings;return}var i=this._parts,e,n,s,r,o,a,h;for(e=0,s=0,r=this._rings.length;e<r;e++){h=this._rings[e];for(n=0,o=h.length;n<o-1;n++){a=Te(h[n],h[n+1],t,n,true);if(!a){continue}i[s]=i[s]||[];i[s].push(a[0]);if(a[1]!==h[n+1]||n===o-2){i[s].push(a[1]);s++}}}},_simplifyPoints:function(){var t=this._parts,i=this.options.smoothFactor;for(var e=0,n=t.length;e<n;e++){t[e]=we(t[e],i)}},_update:function(){if(!this._map){return}this._clipPoints();this._simplifyPoints();this._updatePath()},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var e,n,s,r,o,a,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t)){return false}for(e=0,r=this._parts.length;e<r;e++){a=this._parts[e];for(n=0,o=a.length,s=o-1;n<o;s=n++){if(!i&&n===0){continue}if(xe(t,a[s],a[n])<=h){return true}}}return false}});function hn(t,i){return new an(t,i)}an._flat=Ee;var ln=an.extend({options:{fill:true},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 Fe(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var i=an.prototype._convertLatLngs.call(this,t),e=i.length;if(e>=2&&i[0]instanceof D&&i[0].equals(i[e-1])){i.pop()}return i},_setLatLngs:function(t){an.prototype._setLatLngs.call(this,t);if(Ae(this._latlngs)){this._latlngs=[this._latlngs]}},_defaultShape:function(){return Ae(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,e=new O(i,i);t=new F(t.min.subtract(e),t.max.add(e));this._parts=[];if(!this._pxBounds||!this._pxBounds.intersects(t)){return}if(this.options.noClip){this._parts=this._rings;return}for(var n=0,s=this._rings.length,r;n<s;n++){r=Be(this._rings[n],t,true);if(r.length){this._parts.push(r)}}},_updatePath:function(){this._renderer._updatePoly(this,true)},_containsPoint:function(t){var i=false,e,n,s,r,o,a,h,l;if(!this._pxBounds||!this._pxBounds.contains(t)){return false}for(r=0,h=this._parts.length;r<h;r++){e=this._parts[r];for(o=0,l=e.length,a=l-1;o<l;a=o++){n=e[o];s=e[a];if(n.y>t.y!==s.y>t.y&&t.x<(s.x-n.x)*(t.y-n.y)/(s.y-n.y)+n.x){i=!i}}}return i||an.prototype._containsPoint.call(this,t,true)}});function fn(t,i){return new ln(t,i)}var un=Ve.extend({initialize:function(t,i){d(this,i);this._layers={};if(t){this.addData(t)}},addData:function(t){var i=g(t)?t:t.features,e,n,s;if(i){for(e=0,n=i.length;e<n;e++){s=i[e];if(s.geometries||s.geometry||s.features||s.coordinates){this.addData(s)}}return this}var r=this.options;if(r.filter&&!r.filter(t)){return this}var o=cn(t,r);if(!o){return this}o.feature=wn(t);o.defaultOptions=o.options;this.resetStyle(o);if(r.onEachFeature){r.onEachFeature(t,o)}return this.addLayer(o)},resetStyle:function(t){if(t===undefined){return this.eachLayer(this.resetStyle,this)}t.options=e({},t.defaultOptions);this._setLayerStyle(t,this.options.style);return this},setStyle:function(t){return this.eachLayer((function(i){this._setLayerStyle(i,t)}),this)},_setLayerStyle:function(t,i){if(t.setStyle){if(typeof i==="function"){i=i(t.feature)}t.setStyle(i)}}});function cn(t,i){var e=t.type==="Feature"?t.geometry:t,n=e?e.coordinates:null,s=[],r=i&&i.pointToLayer,o=i&&i.coordsToLatLng||pn,a,h,l,f;if(!n&&!e){return null}switch(e.type){case"Point":a=o(n);return dn(r,t,a,i);case"MultiPoint":for(l=0,f=n.length;l<f;l++){a=o(n[l]);s.push(dn(r,t,a,i))}return new Ve(s);case"LineString":case"MultiLineString":h=vn(n,e.type==="LineString"?0:1,o);return new an(h,i);case"Polygon":case"MultiPolygon":h=vn(n,e.type==="Polygon"?1:2,o);return new ln(h,i);case"GeometryCollection":for(l=0,f=e.geometries.length;l<f;l++){var u=cn({geometry:e.geometries[l],type:"Feature",properties:t.properties},i);if(u){s.push(u)}}return new Ve(s);case"FeatureCollection":for(l=0,f=e.features.length;l<f;l++){var c=cn(e.features[l],i);if(c){s.push(c)}}return new Ve(s);default:throw new Error("Invalid GeoJSON object.")}}function dn(t,i,e,n){return t?t(i,e):new Ye(e,n&&n.markersInheritOptions&&n)}function pn(t){return new D(t[1],t[0],t[2])}function vn(t,i,e){var n=[];for(var s=0,r=t.length,o;s<r;s++){o=i?vn(t[s],i-1,e):(e||pn)(t[s]);n.push(o)}return n}function mn(t,i){t=Z(t);return t.alt!==undefined?[f(t.lng,i),f(t.lat,i),f(t.alt,i)]:[f(t.lng,i),f(t.lat,i)]}function gn(t,i,e,n){var s=[];for(var r=0,o=t.length;r<o;r++){s.push(i?gn(t[r],Ae(t[r])?0:i-1,e,n):mn(t[r],n))}if(!i&&e){s.push(s[0].slice())}return s}function bn(t,i){return t.feature?e({},t.feature,{geometry:i}):wn(i)}function wn(t){if(t.type==="Feature"||t.type==="FeatureCollection"){return t}return{type:"Feature",properties:{},geometry:t}}var xn={toGeoJSON:function(t){return bn(this,{type:"Point",coordinates:mn(this.getLatLng(),t)})}};Ye.include(xn);rn.include(xn);nn.include(xn);an.include({toGeoJSON:function(t){var i=!Ae(this._latlngs);var e=gn(this._latlngs,i?1:0,false,t);return bn(this,{type:(i?"Multi":"")+"LineString",coordinates:e})}});ln.include({toGeoJSON:function(t){var i=!Ae(this._latlngs),e=i&&!Ae(this._latlngs[0]);var n=gn(this._latlngs,e?2:i?1:0,true,t);if(!i){n=[n]}return bn(this,{type:(e?"Multi":"")+"Polygon",coordinates:n})}});We.include({toMultiPoint:function(t){var i=[];this.eachLayer((function(e){i.push(e.toGeoJSON(t).geometry.coordinates)}));return bn(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(i==="MultiPoint"){return this.toMultiPoint(t)}var e=i==="GeometryCollection",n=[];this.eachLayer((function(i){if(i.toGeoJSON){var s=i.toGeoJSON(t);if(e){n.push(s.geometry)}else{var r=wn(s);if(r.type==="FeatureCollection"){n.push.apply(n,r.features)}else{n.push(r)}}}}));if(e){return bn(this,{geometries:n,type:"GeometryCollection"})}return{type:"FeatureCollection",features:n}}});function yn(t,i){return new un(t,i)}var kn=yn;var _n=Ue.extend({options:{opacity:1,alt:"",interactive:false,crossOrigin:false,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,e){this._url=t;this._bounds=N(i);d(this,e)},onAdd:function(){if(!this._image){this._initImage();if(this.options.opacity<1){this._updateOpacity()}}if(this.options.interactive){pi(this._image,"leaflet-interactive");this.addInteractiveTarget(this._image)}this.getPane().appendChild(this._image);this._reset()},onRemove:function(){li(this._image);if(this.options.interactive){this.removeInteractiveTarget(this._image)}},setOpacity:function(t){this.options.opacity=t;if(this._image){this._updateOpacity()}return this},setStyle:function(t){if(t.opacity){this.setOpacity(t.opacity)}return this},bringToFront:function(){if(this._map){ui(this._image)}return this},bringToBack:function(){if(this._map){ci(this._image)}return this},setUrl:function(t){this._url=t;if(this._image){this._image.src=t}return this},setBounds:function(t){this._bounds=N(t);if(this._map){this._reset()}return this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};if(this._zoomAnimated){t.zoomanim=this._animateZoom}return t},setZIndex:function(t){this.options.zIndex=t;this._updateZIndex();return this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._url.tagName==="IMG";var i=this._image=t?this._url:hi("img");pi(i,"leaflet-image-layer");if(this._zoomAnimated){pi(i,"leaflet-zoom-animated")}if(this.options.className){pi(i,this.options.className)}i.onselectstart=l;i.onmousemove=l;i.onload=s(this.fire,this,"load");i.onerror=s(this._overlayOnError,this,"error");if(this.options.crossOrigin||this.options.crossOrigin===""){i.crossOrigin=this.options.crossOrigin===true?"":this.options.crossOrigin}if(this.options.zIndex){this._updateZIndex()}if(t){this._url=i.src;return}i.src=this._url;i.alt=this.options.alt},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),e=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;yi(this._image,e,i)},_reset:function(){var t=this._image,i=new F(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),e=i.getSize();ki(t,i.min);t.style.width=e.x+"px";t.style.height=e.y+"px"},_updateOpacity:function(){bi(this._image,this.options.opacity)},_updateZIndex:function(){if(this._image&&this.options.zIndex!==undefined&&this.options.zIndex!==null){this._image.style.zIndex=this.options.zIndex}},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;if(t&&this._url!==t){this._url=t;this._image.src=t}},getCenter:function(){return this._bounds.getCenter()}});var Mn=function(t,i,e){return new _n(t,i,e)};var zn=_n.extend({options:{autoplay:true,loop:true,keepAspectRatio:true,muted:false,playsInline:true},_initImage:function(){var t=this._url.tagName==="VIDEO";var i=this._image=t?this._url:hi("video");pi(i,"leaflet-image-layer");if(this._zoomAnimated){pi(i,"leaflet-zoom-animated")}if(this.options.className){pi(i,this.options.className)}i.onselectstart=l;i.onmousemove=l;i.onloadeddata=s(this.fire,this,"load");if(t){var e=i.getElementsByTagName("source");var n=[];for(var r=0;r<e.length;r++){n.push(e[r].src)}this._url=e.length>0?n:[i.src];return}if(!g(this._url)){this._url=[this._url]}if(!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")){i.style["objectFit"]="fill"}i.autoplay=!!this.options.autoplay;i.loop=!!this.options.loop;i.muted=!!this.options.muted;i.playsInline=!!this.options.playsInline;for(var o=0;o<this._url.length;o++){var a=hi("source");a.src=this._url[o];i.appendChild(a)}}});function Tn(t,i,e){return new zn(t,i,e)}var Pn=_n.extend({_initImage:function(){var t=this._image=this._url;pi(t,"leaflet-image-layer");if(this._zoomAnimated){pi(t,"leaflet-zoom-animated")}if(this.options.className){pi(t,this.options.className)}t.onselectstart=l;t.onmousemove=l}});function Ln(t,i,e){return new Pn(t,i,e)}var Cn=Ue.extend({options:{interactive:false,offset:[0,0],className:"",pane:undefined,content:""},initialize:function(t,i){if(t&&(t instanceof D||g(t))){this._latlng=Z(t);d(this,i)}else{d(this,t);this._source=i}if(this.options.content){this._content=this.options.content}},openOn:function(t){t=arguments.length?t:this._source._map;if(!t.hasLayer(this)){t.addLayer(this)}return this},close:function(){if(this._map){this._map.removeLayer(this)}return this},toggle:function(t){if(this._map){this.close()}else{if(arguments.length){this._source=t}else{t=this._source}this._prepareOpen();this.openOn(t._map)}return this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated;if(!this._container){this._initLayout()}if(t._fadeAnimated){bi(this._container,0)}clearTimeout(this._removeTimeout);this.getPane().appendChild(this._container);this.update();if(t._fadeAnimated){bi(this._container,1)}this.bringToFront();if(this.options.interactive){pi(this._container,"leaflet-interactive");this.addInteractiveTarget(this._container)}},onRemove:function(t){if(t._fadeAnimated){bi(this._container,0);this._removeTimeout=setTimeout(s(li,undefined,this._container),200)}else{li(this._container)}if(this.options.interactive){vi(this._container,"leaflet-interactive");this.removeInteractiveTarget(this._container)}},getLatLng:function(){return this._latlng},setLatLng:function(t){this._latlng=Z(t);if(this._map){this._updatePosition();this._adjustPan()}return this},getContent:function(){return this._content},setContent:function(t){this._content=t;this.update();return this},getElement:function(){return this._container},update:function(){if(!this._map){return}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};if(this._zoomAnimated){t.zoomanim=this._animateZoom}return t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){if(this._map){ui(this._container)}return this},bringToBack:function(){if(this._map){ci(this._container)}return this},_prepareOpen:function(t){var i=this._source;if(!i._map){return false}if(i instanceof Ve){i=null;var e=this._source._layers;for(var n in e){if(e[n]._map){i=e[n];break}}if(!i){return false}this._source=i}if(!t){if(i.getCenter){t=i.getCenter()}else if(i.getLatLng){t=i.getLatLng()}else if(i.getBounds){t=i.getBounds().getCenter()}else{throw new Error("Unable to get source layer LatLng.")}}this.setLatLng(t);if(this._map){this.update()}return true},_updateContent:function(){if(!this._content){return}var t=this._contentNode;var i=typeof this._content==="function"?this._content(this._source||this):this._content;if(typeof i==="string"){t.innerHTML=i}else{while(t.hasChildNodes()){t.removeChild(t.firstChild)}t.appendChild(i)}this.fire("contentupdate")},_updatePosition:function(){if(!this._map){return}var t=this._map.latLngToLayerPoint(this._latlng),i=B(this.options.offset),e=this._getAnchor();if(this._zoomAnimated){ki(this._container,t.add(e))}else{i=i.add(t).add(e)}var n=this._containerBottom=-i.y,s=this._containerLeft=-Math.round(this._containerWidth/2)+i.x;this._container.style.bottom=n+"px";this._container.style.left=s+"px"},_getAnchor:function(){return[0,0]}});ee.include({_initOverlay:function(t,i,e,n){var s=i;if(!(s instanceof t)){s=new t(n).setContent(i)}if(e){s.setLatLng(e)}return s}});Ue.include({_initOverlay:function(t,i,e,n){var s=e;if(s instanceof t){d(s,n);s._source=this}else{s=i&&!n?i:new t(n,this);s.setContent(e)}return s}});var Sn=Cn.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:true,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:false,closeButton:true,autoClose:true,closeOnEscapeKey:true,className:""},openOn:function(t){t=arguments.length?t:this._source._map;if(!t.hasLayer(this)&&t._popup&&t._popup.options.autoClose){t.removeLayer(t._popup)}t._popup=this;return Cn.prototype.openOn.call(this,t)},onAdd:function(t){Cn.prototype.onAdd.call(this,t);t.fire("popupopen",{popup:this});if(this._source){this._source.fire("popupopen",{popup:this},true);if(!(this._source instanceof en)){this._source.on("preclick",Ui)}}},onRemove:function(t){Cn.prototype.onRemove.call(this,t);t.fire("popupclose",{popup:this});if(this._source){this._source.fire("popupclose",{popup:this},true);if(!(this._source instanceof en)){this._source.off("preclick",Ui)}}},getEvents:function(){var t=Cn.prototype.getEvents.call(this);if(this.options.closeOnClick!==undefined?this.options.closeOnClick:this._map.options.closePopupOnClick){t.preclick=this.close}if(this.options.keepInView){t.moveend=this._adjustPan}return t},_initLayout:function(){var t="leaflet-popup",i=this._container=hi("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated");var e=this._wrapper=hi("div",t+"-content-wrapper",i);this._contentNode=hi("div",t+"-content",e);Gi(i);Wi(this._contentNode);ji(i,"contextmenu",Ui);this._tipContainer=hi("div",t+"-tip-container",i);this._tip=hi("div",t+"-tip",this._tipContainer);if(this.options.closeButton){var n=this._closeButton=hi("a",t+"-close-button",i);n.setAttribute("role","button");n.setAttribute("aria-label","Close popup");n.href="#close";n.innerHTML='<span aria-hidden="true">×</span>';ji(n,"click",(function(t){Vi(t);this.close()}),this)}},_updateLayout:function(){var t=this._contentNode,i=t.style;i.width="";i.whiteSpace="nowrap";var e=t.offsetWidth;e=Math.min(e,this.options.maxWidth);e=Math.max(e,this.options.minWidth);i.width=e+1+"px";i.whiteSpace="";i.height="";var n=t.offsetHeight,s=this.options.maxHeight,r="leaflet-popup-scrolled";if(s&&n>s){i.height=s+"px";pi(t,r)}else{vi(t,r)}this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();ki(this._container,i.add(e))},_adjustPan:function(){if(!this.options.autoPan){return}if(this._map._panAnim){this._map._panAnim.stop()}if(this._autopanning){this._autopanning=false;return}var t=this._map,i=parseInt(ai(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+i,n=this._containerWidth,s=new O(this._containerLeft,-e-this._containerBottom);s._add(_i(this._container));var r=t.layerPointToContainerPoint(s),o=B(this.options.autoPanPadding),a=B(this.options.autoPanPaddingTopLeft||o),h=B(this.options.autoPanPaddingBottomRight||o),l=t.getSize(),f=0,u=0;if(r.x+n+h.x>l.x){f=r.x+n-l.x+h.x}if(r.x-f-a.x<0){f=r.x-a.x}if(r.y+e+h.y>l.y){u=r.y+e-l.y+h.y}if(r.y-u-a.y<0){u=r.y-a.y}if(f||u){if(this.options.keepInView){this._autopanning=true}t.fire("autopanstart").panBy([f,u])}},_getAnchor:function(){return B(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});var An=function(t,i){return new Sn(t,i)};ee.mergeOptions({closePopupOnClick:true});ee.include({openPopup:function(t,i,e){this._initOverlay(Sn,t,i,e).openOn(this);return this},closePopup:function(t){t=arguments.length?t:this._popup;if(t){t.close()}return this}});Ue.include({bindPopup:function(t,i){this._popup=this._initOverlay(Sn,this._popup,t,i);if(!this._popupHandlersAdded){this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup});this._popupHandlersAdded=true}return this},unbindPopup:function(){if(this._popup){this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup});this._popupHandlersAdded=false;this._popup=null}return this},openPopup:function(t){if(this._popup){if(!(this instanceof Ve)){this._popup._source=this}if(this._popup._prepareOpen(t||this._latlng)){this._popup.openOn(this._map)}}return this},closePopup:function(){if(this._popup){this._popup.close()}return this},togglePopup:function(){if(this._popup){this._popup.toggle(this)}return this},isPopupOpen:function(){return this._popup?this._popup.isOpen():false},setPopupContent:function(t){if(this._popup){this._popup.setContent(t)}return this},getPopup:function(){return this._popup},_openPopup:function(t){if(!this._popup||!this._map){return}qi(t);var i=t.layer||t.target;if(this._popup._source===i&&!(i instanceof en)){if(this._map.hasLayer(this._popup)){this.closePopup()}else{this.openPopup(t.latlng)}return}this._popup._source=i;this.openPopup(t.latlng)},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){if(t.originalEvent.keyCode===13){this._openPopup(t)}}});var En=Cn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:false,sticky:false,opacity:.9},onAdd:function(t){Cn.prototype.onAdd.call(this,t);this.setOpacity(this.options.opacity);t.fire("tooltipopen",{tooltip:this});if(this._source){this.addEventParent(this._source);this._source.fire("tooltipopen",{tooltip:this},true)}},onRemove:function(t){Cn.prototype.onRemove.call(this,t);t.fire("tooltipclose",{tooltip:this});if(this._source){this.removeEventParent(this._source);this._source.fire("tooltipclose",{tooltip:this},true)}},getEvents:function(){var t=Cn.prototype.getEvents.call(this);if(!this.options.permanent){t.preclick=this.close}return t},_initLayout:function(){var t="leaflet-tooltip",i=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=hi("div",i);this._container.setAttribute("role","tooltip");this._container.setAttribute("id","leaflet-tooltip-"+o(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i,e,n=this._map,s=this._container,r=n.latLngToContainerPoint(n.getCenter()),o=n.layerPointToContainerPoint(t),a=this.options.direction,h=s.offsetWidth,l=s.offsetHeight,f=B(this.options.offset),u=this._getAnchor();if(a==="top"){i=h/2;e=l}else if(a==="bottom"){i=h/2;e=0}else if(a==="center"){i=h/2;e=l/2}else if(a==="right"){i=0;e=l/2}else if(a==="left"){i=h;e=l/2}else if(o.x<r.x){a="right";i=0;e=l/2}else{a="left";i=h+(f.x+u.x)*2;e=l/2}t=t.subtract(B(i,e,true)).add(f).add(u);vi(s,"leaflet-tooltip-right");vi(s,"leaflet-tooltip-left");vi(s,"leaflet-tooltip-top");vi(s,"leaflet-tooltip-bottom");pi(s,"leaflet-tooltip-"+a);ki(s,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t;if(this._container){bi(this._container,t)}},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(i)},_getAnchor:function(){return B(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});var On=function(t,i){return new En(t,i)};ee.include({openTooltip:function(t,i,e){this._initOverlay(En,t,i,e).openOn(this);return this},closeTooltip:function(t){t.close();return this}});Ue.include({bindTooltip:function(t,i){if(this._tooltip&&this.isTooltipOpen()){this.unbindTooltip()}this._tooltip=this._initOverlay(En,this._tooltip,t,i);this._initTooltipInteractions();if(this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)){this.openTooltip()}return this},unbindTooltip:function(){if(this._tooltip){this._initTooltipInteractions(true);this.closeTooltip();this._tooltip=null}return this},_initTooltipInteractions:function(t){if(!t&&this._tooltipHandlersAdded){return}var i=t?"off":"on",e={remove:this.closeTooltip,move:this._moveTooltip};if(!this._tooltip.options.permanent){e.mouseover=this._openTooltip;e.mouseout=this.closeTooltip;e.click=this._openTooltip;if(this._map){this._addFocusListeners()}else{e.add=this._addFocusListeners}}else{e.add=this._openTooltip}if(this._tooltip.options.sticky){e.mousemove=this._moveTooltip}this[i](e);this._tooltipHandlersAdded=!t},openTooltip:function(t){if(this._tooltip){if(!(this instanceof Ve)){this._tooltip._source=this}if(this._tooltip._prepareOpen(t)){this._tooltip.openOn(this._map);if(this.getElement){this._setAriaDescribedByOnLayer(this)}else if(this.eachLayer){this.eachLayer(this._setAriaDescribedByOnLayer,this)}}}return this},closeTooltip:function(){if(this._tooltip){return this._tooltip.close()}},toggleTooltip:function(){if(this._tooltip){this._tooltip.toggle(this)}return this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){if(this._tooltip){this._tooltip.setContent(t)}return this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){if(this.getElement){this._addFocusListenersOnLayer(this)}else if(this.eachLayer){this.eachLayer(this._addFocusListenersOnLayer,this)}},_addFocusListenersOnLayer:function(t){var i=t.getElement();if(i){ji(i,"focus",(function(){this._tooltip._source=t;this.openTooltip()}),this);ji(i,"blur",this.closeTooltip,this)}},_setAriaDescribedByOnLayer:function(t){var i=t.getElement();if(i){i.setAttribute("aria-describedby",this._tooltip._container.id)}},_openTooltip:function(t){if(!this._tooltip||!this._map||this._map.dragging&&this._map.dragging.moving()){return}this._tooltip._source=t.layer||t.target;this.openTooltip(this._tooltip.options.sticky?t.latlng:undefined)},_moveTooltip:function(t){var i=t.latlng,e,n;if(this._tooltip.options.sticky&&t.originalEvent){e=this._map.mouseEventToContainerPoint(t.originalEvent);n=this._map.containerPointToLayerPoint(e);i=this._map.layerPointToLatLng(n)}this._tooltip.setLatLng(i)}});var In=Xe.extend({options:{iconSize:[12,12],html:false,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var i=t&&t.tagName==="DIV"?t:document.createElement("div"),e=this.options;if(e.html instanceof Element){fi(i);i.appendChild(e.html)}else{i.innerHTML=e.html!==false?e.html:""}if(e.bgPos){var n=B(e.bgPos);i.style.backgroundPosition=-n.x+"px "+-n.y+"px"}this._setIconStyles(i,"icon");return i},createShadow:function(){return null}});function Bn(t){return new In(t)}Xe.Default=Ke;var Fn=Ue.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ft.mobile,updateWhenZooming:true,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:undefined,maxNativeZoom:undefined,minNativeZoom:undefined,noWrap:false,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){d(this,t)},onAdd:function(){this._initContainer();this._levels={};this._tiles={};this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles();li(this._container);t._removeZoomLimit(this);this._container=null;this._tileZoom=undefined},bringToFront:function(){if(this._map){ui(this._container);this._setAutoZIndex(Math.max)}return this},bringToBack:function(){if(this._map){ci(this._container);this._setAutoZIndex(Math.min)}return this},getContainer:function(){return this._container},setOpacity:function(t){this.options.opacity=t;this._updateOpacity();return this},setZIndex:function(t){this.options.zIndex=t;this._updateZIndex();return this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());if(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};if(!this.options.updateWhenIdle){if(!this._onMove){this._onMove=a(this._onMoveEnd,this.options.updateInterval,this)}t.move=this._onMove}if(this._zoomAnimated){t.zoomanim=this._animateZoom}return t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof O?t:new O(t,t)},_updateZIndex:function(){if(this._container&&this.options.zIndex!==undefined&&this.options.zIndex!==null){this._container.style.zIndex=this.options.zIndex}},_setAutoZIndex:function(t){var i=this.getPane().children,e=-t(-Infinity,Infinity);for(var n=0,s=i.length,r;n<s;n++){r=i[n].style.zIndex;if(i[n]!==this._container&&r){e=t(e,+r)}}if(isFinite(e)){this.options.zIndex=e+t(-1,1);this._updateZIndex()}},_updateOpacity:function(){if(!this._map){return}if(Ft.ielt9){return}bi(this._container,this.options.opacity);var t=+new Date,i=false,e=false;for(var n in this._tiles){var s=this._tiles[n];if(!s.current||!s.loaded){continue}var r=Math.min(1,(t-s.loaded)/200);bi(s.el,r);if(r<1){i=true}else{if(s.active){e=true}else{this._onOpaqueTile(s)}s.active=true}}if(e&&!this._noPrune){this._pruneTiles()}if(i){T(this._fadeFrame);this._fadeFrame=z(this._updateOpacity,this)}},_onOpaqueTile:l,_initContainer:function(){if(this._container){return}this._container=hi("div","leaflet-layer "+(this.options.className||""));this._updateZIndex();if(this.options.opacity<1){this._updateOpacity()}this.getPane().appendChild(this._container)},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(t===undefined){return undefined}for(var e in this._levels){e=Number(e);if(this._levels[e].el.children.length||e===t){this._levels[e].el.style.zIndex=i-Math.abs(t-e);this._onUpdateLevel(e)}else{li(this._levels[e].el);this._removeTilesAtZoom(e);this._onRemoveLevel(e);delete this._levels[e]}}var n=this._levels[t],s=this._map;if(!n){n=this._levels[t]={};n.el=hi("div","leaflet-tile-container leaflet-zoom-animated",this._container);n.el.style.zIndex=i;n.origin=s.project(s.unproject(s.getPixelOrigin()),t).round();n.zoom=t;this._setZoomTransform(n,s.getCenter(),s.getZoom());this._onCreateLevel(n)}this._level=n;return n},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(!this._map){return}var t,i;var e=this._map.getZoom();if(e>this.options.maxZoom||e<this.options.minZoom){this._removeAllTiles();return}for(t in this._tiles){i=this._tiles[t];i.retain=i.current}for(t in this._tiles){i=this._tiles[t];if(i.current&&!i.active){var n=i.coords;if(!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){if(!this._tiles[t].retain){this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles){if(this._tiles[i].coords.z!==t){continue}this._removeTile(i)}},_removeAllTiles:function(){for(var t in this._tiles){this._removeTile(t)}},_invalidateAll:function(){for(var t in this._levels){li(this._levels[t].el);this._onRemoveLevel(Number(t));delete this._levels[t]}this._removeAllTiles();this._tileZoom=undefined},_retainParent:function(t,i,e,n){var s=Math.floor(t/2),r=Math.floor(i/2),o=e-1,a=new O(+s,+r);a.z=+o;var h=this._tileCoordsToKey(a),l=this._tiles[h];if(l&&l.active){l.retain=true;return true}else if(l&&l.loaded){l.retain=true}if(o>n){return this._retainParent(s,r,o,n)}return false},_retainChildren:function(t,i,e,n){for(var s=2*t;s<2*t+2;s++){for(var r=2*i;r<2*i+2;r++){var o=new O(s,r);o.z=e+1;var a=this._tileCoordsToKey(o),h=this._tiles[a];if(h&&h.active){h.retain=true;continue}else if(h&&h.loaded){h.retain=true}if(e+1<n){this._retainChildren(s,r,e+1,n)}}}},_resetView:function(t){var i=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),i,i)},_animateZoom:function(t){this._setView(t.center,t.zoom,true,t.noUpdate)},_clampZoom:function(t){var i=this.options;if(undefined!==i.minNativeZoom&&t<i.minNativeZoom){return i.minNativeZoom}if(undefined!==i.maxNativeZoom&&i.maxNativeZoom<t){return i.maxNativeZoom}return t},_setView:function(t,i,e,n){var s=Math.round(i);if(this.options.maxZoom!==undefined&&s>this.options.maxZoom||this.options.minZoom!==undefined&&s<this.options.minZoom){s=undefined}else{s=this._clampZoom(s)}var r=this.options.updateWhenZooming&&s!==this._tileZoom;if(!n||r){this._tileZoom=s;if(this._abortLoading){this._abortLoading()}this._updateLevels();this._resetGrid();if(s!==undefined){this._update(t)}if(!e){this._pruneTiles()}this._noPrune=!!e}this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var e in this._levels){this._setZoomTransform(this._levels[e],t,i)}},_setZoomTransform:function(t,i,e){var n=this._map.getZoomScale(e,t.zoom),s=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(i,e)).round();if(Ft.any3d){yi(t.el,s,n)}else{ki(t.el,s)}},_resetGrid:function(){var t=this._map,i=t.options.crs,e=this._tileSize=this.getTileSize(),n=this._tileZoom;var s=this._map.getPixelWorldBounds(this._tileZoom);if(s){this._globalTileRange=this._pxBoundsToTileRange(s)}this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],n).x/e.x),Math.ceil(t.project([0,i.wrapLng[1]],n).x/e.y)];this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],n).y/e.x),Math.ceil(t.project([i.wrapLat[1],0],n).y/e.y)]},_onMoveEnd:function(){if(!this._map||this._map._animatingZoom){return}this._update()},_getTiledPixelBounds:function(t){var i=this._map,e=i._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),n=i.getZoomScale(e,this._tileZoom),s=i.project(t,this._tileZoom).floor(),r=i.getSize().divideBy(n*2);return new F(s.subtract(r),s.add(r))},_update:function(t){var i=this._map;if(!i){return}var e=this._clampZoom(i.getZoom());if(t===undefined){t=i.getCenter()}if(this._tileZoom===undefined){return}var n=this._getTiledPixelBounds(t),s=this._pxBoundsToTileRange(n),r=s.getCenter(),o=[],a=this.options.keepBuffer,h=new F(s.getBottomLeft().subtract([a,-a]),s.getTopRight().add([a,-a]));if(!(isFinite(s.min.x)&&isFinite(s.min.y)&&isFinite(s.max.x)&&isFinite(s.max.y))){throw new Error("Attempted to load an infinite number of tiles")}for(var l in this._tiles){var f=this._tiles[l].coords;if(f.z!==this._tileZoom||!h.contains(new O(f.x,f.y))){this._tiles[l].current=false}}if(Math.abs(e-this._tileZoom)>1){this._setView(t,e);return}for(var u=s.min.y;u<=s.max.y;u++){for(var c=s.min.x;c<=s.max.x;c++){var d=new O(c,u);d.z=this._tileZoom;if(!this._isValidTile(d)){continue}var p=this._tiles[this._tileCoordsToKey(d)];if(p){p.current=true}else{o.push(d)}}}o.sort((function(t,i){return t.distanceTo(r)-i.distanceTo(r)}));if(o.length!==0){if(!this._loading){this._loading=true;this.fire("loading")}var v=document.createDocumentFragment();for(c=0;c<o.length;c++){this._addTile(o[c],v)}this._level.el.appendChild(v)}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var e=this._globalTileRange;if(!i.wrapLng&&(t.x<e.min.x||t.x>e.max.x)||!i.wrapLat&&(t.y<e.min.y||t.y>e.max.y)){return false}}if(!this.options.bounds){return true}var n=this._tileCoordsToBounds(t);return N(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,e=this.getTileSize(),n=t.scaleBy(e),s=n.add(e),r=i.unproject(n,t.z),o=i.unproject(s,t.z);return[r,o]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),e=new R(i[0],i[1]);if(!this.options.noWrap){e=this._map.wrapLatLngBounds(e)}return e},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=t.split(":"),e=new O(+i[0],+i[1]);e.z=+i[2];return e},_removeTile:function(t){var i=this._tiles[t];if(!i){return}li(i.el);delete this._tiles[t];this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)})},_initTile:function(t){pi(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px";t.style.height=i.y+"px";t.onselectstart=l;t.onmousemove=l;if(Ft.ielt9&&this.options.opacity<1){bi(t,this.options.opacity)}},_addTile:function(t,i){var e=this._getTilePos(t),n=this._tileCoordsToKey(t);var r=this.createTile(this._wrapCoords(t),s(this._tileReady,this,t));this._initTile(r);if(this.createTile.length<2){z(s(this._tileReady,this,t,null,r))}ki(r,e);this._tiles[n]={el:r,coords:t,current:true};i.appendChild(r);this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,i,e){if(i){this.fire("tileerror",{error:i,tile:e,coords:t})}var n=this._tileCoordsToKey(t);e=this._tiles[n];if(!e){return}e.loaded=+new Date;if(this._map._fadeAnimated){bi(e.el,0);T(this._fadeFrame);this._fadeFrame=z(this._updateOpacity,this)}else{e.active=true;this._pruneTiles()}if(!i){pi(e.el,"leaflet-tile-loaded");this.fire("tileload",{tile:e.el,coords:t})}if(this._noTilesToLoad()){this._loading=false;this.fire("load");if(Ft.ielt9||!this._map._fadeAnimated){z(this._pruneTiles,this)}else{setTimeout(s(this._pruneTiles,this),250)}}},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new O(this._wrapX?h(t.x,this._wrapX):t.x,this._wrapY?h(t.y,this._wrapY):t.y);i.z=t.z;return i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new F(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles){if(!this._tiles[t].loaded){return false}}return true}});function jn(t){return new Fn(t)}var Rn=Fn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:false,zoomReverse:false,detectRetina:false,crossOrigin:false,referrerPolicy:false},initialize:function(t,i){this._url=t;i=d(this,i);if(i.detectRetina&&Ft.retina&&i.maxZoom>0){i.tileSize=Math.floor(i.tileSize/2);if(!i.zoomReverse){i.zoomOffset++;i.maxZoom=Math.max(i.minZoom,i.maxZoom-1)}else{i.zoomOffset--;i.minZoom=Math.min(i.maxZoom,i.minZoom+1)}i.minZoom=Math.max(0,i.minZoom)}else if(!i.zoomReverse){i.maxZoom=Math.max(i.minZoom,i.maxZoom)}else{i.minZoom=Math.min(i.maxZoom,i.minZoom)}if(typeof i.subdomains==="string"){i.subdomains=i.subdomains.split("")}this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){if(this._url===t&&i===undefined){i=true}this._url=t;if(!i){this.redraw()}return this},createTile:function(t,i){var e=document.createElement("img");ji(e,"load",s(this._tileOnLoad,this,i,e));ji(e,"error",s(this._tileOnError,this,i,e));if(this.options.crossOrigin||this.options.crossOrigin===""){e.crossOrigin=this.options.crossOrigin===true?"":this.options.crossOrigin}if(typeof this.options.referrerPolicy==="string"){e.referrerPolicy=this.options.referrerPolicy}e.alt="";e.src=this.getTileUrl(t);return e},getTileUrl:function(t){var i={r:Ft.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;if(this.options.tms){i["y"]=n}i["-y"]=n}return m(this._url,e(i,this.options))},_tileOnLoad:function(t,i){if(Ft.ielt9){setTimeout(s(t,this,null,i),0)}else{t(null,i)}},_tileOnError:function(t,i,e){var n=this.options.errorTileUrl;if(n&&i.getAttribute("src")!==n){i.src=n}t(e,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,e=this.options.zoomReverse,n=this.options.zoomOffset;if(e){t=i-t}return t+n},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles){if(this._tiles[t].coords.z!==this._tileZoom){i=this._tiles[t].el;i.onload=l;i.onerror=l;if(!i.complete){i.src=w;var e=this._tiles[t].coords;li(i);delete this._tiles[t];this.fire("tileabort",{tile:i,coords:e})}}}},_removeTile:function(t){var i=this._tiles[t];if(!i){return}i.el.setAttribute("src",w);return Fn.prototype._removeTile.call(this,t)},_tileReady:function(t,i,e){if(!this._map||e&&e.getAttribute("src")===w){return}return Fn.prototype._tileReady.call(this,t,i,e)}});function Nn(t,i){return new Rn(t,i)}var Dn=Rn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:false,version:"1.1.1"},options:{crs:null,uppercase:false},initialize:function(t,i){this._url=t;var n=e({},this.defaultWmsParams);for(var s in i){if(!(s in this.options)){n[s]=i[s]}}i=d(this,i);var r=i.detectRetina&&Ft.retina?2:1;var o=this.getTileSize();n.width=o.x*r;n.height=o.y*r;this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs;this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[i]=this._crs.code;Rn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),e=this._crs,n=j(e.project(i[0]),e.project(i[1])),s=n.min,r=n.max,o=(this._wmsVersion>=1.3&&this._crs===$e?[s.y,s.x,r.y,r.x]:[s.x,s.y,r.x,r.y]).join(","),a=Rn.prototype.getTileUrl.call(this,t);return a+p(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,i){e(this.wmsParams,t);if(!i){this.redraw()}return this}});function Zn(t,i){return new Dn(t,i)}Rn.WMS=Dn;Nn.wms=Zn;var $n=Ue.extend({options:{padding:.1},initialize:function(t){d(this,t);o(this);this._layers=this._layers||{}},onAdd:function(){if(!this._container){this._initContainer();if(this._zoomAnimated){pi(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};if(this._zoomAnimated){t.zoomanim=this._onAnimZoom}return t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var e=this._map.getZoomScale(i,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,i),r=n.multiplyBy(-e).add(s).subtract(this._map._getNewPixelOrigin(t,i));if(Ft.any3d){yi(this._container,r,e)}else{ki(this._container,r)}},_reset:function(){this._update();this._updateTransform(this._center,this._zoom);for(var t in 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,i=this._map.getSize(),e=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new F(e,e.add(i.multiplyBy(1+t*2)).round());this._center=this._map.getCenter();this._zoom=this._map.getZoom()}});var Hn=$n.extend({options:{tolerance:0},getEvents:function(){var t=$n.prototype.getEvents.call(this);t.viewprereset=this._onViewPreReset;return t},_onViewPreReset:function(){this._postponeUpdatePaths=true},onAdd:function(){$n.prototype.onAdd.call(this);this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ji(t,"mousemove",this._onMouseMove,this);ji(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this);ji(t,"mouseout",this._handleMouseOut,this);t["_leaflet_disable_events"]=true;this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest);delete this._ctx;li(this._container);Ni(this._container);delete this._container},_updatePaths:function(){if(this._postponeUpdatePaths){return}var t;this._redrawBounds=null;for(var i in this._layers){t=this._layers[i];t._update()}this._redraw()},_update:function(){if(this._map._animatingZoom&&this._bounds){return}$n.prototype._update.call(this);var t=this._bounds,i=this._container,e=t.getSize(),n=Ft.retina?2:1;ki(i,t.min);i.width=n*e.x;i.height=n*e.y;i.style.width=e.x+"px";i.style.height=e.y+"px";if(Ft.retina){this._ctx.scale(2,2)}this._ctx.translate(-t.min.x,-t.min.y);this.fire("update")},_reset:function(){$n.prototype._reset.call(this);if(this._postponeUpdatePaths){this._postponeUpdatePaths=false;this._updatePaths()}},_initPath:function(t){this._updateDashArray(t);this._layers[o(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};if(this._drawLast){this._drawLast.next=i}this._drawLast=i;this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order;var e=i.next;var n=i.prev;if(e){e.prev=n}else{this._drawLast=n}if(n){n.next=e}else{this._drawFirst=e}delete t._order;delete this._layers[o(t)];this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t);t._project();t._update();this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t);this._requestRedraw(t)},_updateDashArray:function(t){if(typeof t.options.dashArray==="string"){var i=t.options.dashArray.split(/[, ]+/),e=[],n,s;for(s=0;s<i.length;s++){n=Number(i[s]);if(isNaN(n)){return}e.push(n)}t.options._dashArray=e}else{t.options._dashArray=t.options.dashArray}},_requestRedraw:function(t){if(!this._map){return}this._extendRedrawBounds(t);this._redrawRequest=this._redrawRequest||z(this._redraw,this)},_extendRedrawBounds:function(t){if(t._pxBounds){var i=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new F;this._redrawBounds.extend(t._pxBounds.min.subtract([i,i]));this._redrawBounds.extend(t._pxBounds.max.add([i,i]))}},_redraw:function(){this._redrawRequest=null;if(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 i=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,i.x,i.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,i=this._redrawBounds;this._ctx.save();if(i){var e=i.getSize();this._ctx.beginPath();this._ctx.rect(i.min.x,i.min.y,e.x,e.y);this._ctx.clip()}this._drawing=true;for(var n=this._drawFirst;n;n=n.next){t=n.layer;if(!i||t._pxBounds&&t._pxBounds.intersects(i)){t._updatePath()}}this._drawing=false;this._ctx.restore()},_updatePoly:function(t,i){if(!this._drawing){return}var e,n,s,r,o=t._parts,a=o.length,h=this._ctx;if(!a){return}h.beginPath();for(e=0;e<a;e++){for(n=0,s=o[e].length;n<s;n++){r=o[e][n];h[n?"lineTo":"moveTo"](r.x,r.y)}if(i){h.closePath()}}this._fillStroke(h,t)},_updateCircle:function(t){if(!this._drawing||t._empty()){return}var i=t._point,e=this._ctx,n=Math.max(Math.round(t._radius),1),s=(Math.max(Math.round(t._radiusY),1)||n)/n;if(s!==1){e.save();e.scale(1,s)}e.beginPath();e.arc(i.x,i.y/s,n,0,Math.PI*2,false);if(s!==1){e.restore()}this._fillStroke(e,t)},_fillStroke:function(t,i){var e=i.options;if(e.fill){t.globalAlpha=e.fillOpacity;t.fillStyle=e.fillColor||e.color;t.fill(e.fillRule||"evenodd")}if(e.stroke&&e.weight!==0){if(t.setLineDash){t.setLineDash(i.options&&i.options._dashArray||[])}t.globalAlpha=e.opacity;t.lineWidth=e.weight;t.strokeStyle=e.color;t.lineCap=e.lineCap;t.lineJoin=e.lineJoin;t.stroke()}},_onClick:function(t){var i=this._map.mouseEventToLayerPoint(t),e,n;for(var s=this._drawFirst;s;s=s.next){e=s.layer;if(e.options.interactive&&e._containsPoint(i)){if(!(t.type==="click"||t.type==="preclick")||!this._map._draggableMoved(e)){n=e}}}this._fireEvent(n?[n]:false,t)},_onMouseMove:function(t){if(!this._map||this._map.dragging.moving()||this._map._animatingZoom){return}var i=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,i)},_handleMouseOut:function(t){var i=this._hoveredLayer;if(i){vi(this._container,"leaflet-interactive");this._fireEvent([i],t,"mouseout");this._hoveredLayer=null;this._mouseHoverThrottled=false}},_handleMouseHover:function(t,i){if(this._mouseHoverThrottled){return}var e,n;for(var r=this._drawFirst;r;r=r.next){e=r.layer;if(e.options.interactive&&e._containsPoint(i)){n=e}}if(n!==this._hoveredLayer){this._handleMouseOut(t);if(n){pi(this._container,"leaflet-interactive");this._fireEvent([n],t,"mouseover");this._hoveredLayer=n}}this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:false,t);this._mouseHoverThrottled=true;setTimeout(s((function(){this._mouseHoverThrottled=false}),this),32)},_fireEvent:function(t,i,e){this._map._fireDOMEvent(i,e||i.type,t)},_bringToFront:function(t){var i=t._order;if(!i){return}var e=i.next;var n=i.prev;if(e){e.prev=n}else{return}if(n){n.next=e}else if(e){this._drawFirst=e}i.prev=this._drawLast;this._drawLast.next=i;i.next=null;this._drawLast=i;this._requestRedraw(t)},_bringToBack:function(t){var i=t._order;if(!i){return}var e=i.next;var n=i.prev;if(n){n.next=e}else{return}if(e){e.prev=n}else if(n){this._drawLast=n}i.prev=null;i.next=this._drawFirst;this._drawFirst.prev=i;this._drawFirst=i;this._requestRedraw(t)}});function Un(t){return Ft.canvas?new Hn(t):null}var Wn=function(){try{document.namespaces.add("lvml","urn:schemas-microsoft-com:vml");return 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">')}}();var Gn={_initContainer:function(){this._container=hi("div","leaflet-vml-container")},_update:function(){if(this._map._animatingZoom){return}$n.prototype._update.call(this);this.fire("update")},_initPath:function(t){var i=t._container=Wn("shape");pi(i,"leaflet-vml-shape "+(this.options.className||""));i.coordsize="1 1";t._path=Wn("path");i.appendChild(t._path);this._updateStyle(t);this._layers[o(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i);if(t.options.interactive){t.addInteractiveTarget(i)}},_removePath:function(t){var i=t._container;li(i);t.removeInteractiveTarget(i);delete this._layers[o(t)]},_updateStyle:function(t){var i=t._stroke,e=t._fill,n=t.options,s=t._container;s.stroked=!!n.stroke;s.filled=!!n.fill;if(n.stroke){if(!i){i=t._stroke=Wn("stroke")}s.appendChild(i);i.weight=n.weight+"px";i.color=n.color;i.opacity=n.opacity;if(n.dashArray){i.dashStyle=g(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," ")}else{i.dashStyle=""}i.endcap=n.lineCap.replace("butt","flat");i.joinstyle=n.lineJoin}else if(i){s.removeChild(i);t._stroke=null}if(n.fill){if(!e){e=t._fill=Wn("fill")}s.appendChild(e);e.color=n.fillColor||n.color;e.opacity=n.fillOpacity}else if(e){s.removeChild(e);t._fill=null}},_updateCircle:function(t){var i=t._point.round(),e=Math.round(t._radius),n=Math.round(t._radiusY||e);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+e+","+n+" 0,"+65535*360)},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){ui(t._container)},_bringToBack:function(t){ci(t._container)}};var Vn=Ft.vml?Wn:J;var qn=$n.extend({_initContainer:function(){this._container=Vn("svg");this._container.setAttribute("pointer-events","none");this._rootGroup=Vn("g");this._container.appendChild(this._rootGroup)},_destroyContainer:function(){li(this._container);Ni(this._container);delete this._container;delete this._rootGroup;delete this._svgSize},_update:function(){if(this._map._animatingZoom&&this._bounds){return}$n.prototype._update.call(this);var t=this._bounds,i=t.getSize(),e=this._container;if(!this._svgSize||!this._svgSize.equals(i)){this._svgSize=i;e.setAttribute("width",i.x);e.setAttribute("height",i.y)}ki(e,t.min);e.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" "));this.fire("update")},_initPath:function(t){var i=t._path=Vn("path");if(t.options.className){pi(i,t.options.className)}if(t.options.interactive){pi(i,"leaflet-interactive")}this._updateStyle(t);this._layers[o(t)]=t},_addPath:function(t){if(!this._rootGroup){this._initContainer()}this._rootGroup.appendChild(t._path);t.addInteractiveTarget(t._path)},_removePath:function(t){li(t._path);t.removeInteractiveTarget(t._path);delete this._layers[o(t)]},_updatePath:function(t){t._project();t._update()},_updateStyle:function(t){var i=t._path,e=t.options;if(!i){return}if(e.stroke){i.setAttribute("stroke",e.color);i.setAttribute("stroke-opacity",e.opacity);i.setAttribute("stroke-width",e.weight);i.setAttribute("stroke-linecap",e.lineCap);i.setAttribute("stroke-linejoin",e.lineJoin);if(e.dashArray){i.setAttribute("stroke-dasharray",e.dashArray)}else{i.removeAttribute("stroke-dasharray")}if(e.dashOffset){i.setAttribute("stroke-dashoffset",e.dashOffset)}else{i.removeAttribute("stroke-dashoffset")}}else{i.setAttribute("stroke","none")}if(e.fill){i.setAttribute("fill",e.fillColor||e.color);i.setAttribute("fill-opacity",e.fillOpacity);i.setAttribute("fill-rule",e.fillRule||"evenodd")}else{i.setAttribute("fill","none")}},_updatePoly:function(t,i){this._setPath(t,K(t._parts,i))},_updateCircle:function(t){var i=t._point,e=Math.max(Math.round(t._radius),1),n=Math.max(Math.round(t._radiusY),1)||e,s="a"+e+","+n+" 0 1,0 ";var r=t._empty()?"M0 0":"M"+(i.x-e)+","+i.y+s+e*2+",0 "+s+-e*2+",0 ";this._setPath(t,r)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){ui(t._path)},_bringToBack:function(t){ci(t._path)}});if(Ft.vml){qn.include(Gn)}function Xn(t){return Ft.svg||Ft.vml?new qn(t):null}ee.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;if(!i){i=this._renderer=this._createRenderer()}if(!this.hasLayer(i)){this.addLayer(i)}return i},_getPaneRenderer:function(t){if(t==="overlayPane"||t===undefined){return false}var i=this._paneRenderers[t];if(i===undefined){i=this._createRenderer({pane:t});this._paneRenderers[t]=i}return i},_createRenderer:function(t){return this.options.preferCanvas&&Un(t)||Xn(t)}});var Jn=ln.extend({initialize:function(t,i){ln.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){t=N(t);return[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function Kn(t,i){return new Jn(t,i)}qn.create=Vn;qn.pointsToPath=K;un.geometryToLayer=cn;un.coordsToLatLng=pn;un.coordsToLatLngs=vn;un.latLngToCoords=mn;un.latLngsToCoords=gn;un.getFeature=bn;un.asFeature=wn;ee.mergeOptions({boxZoom:true});var Qn=ve.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(){ji(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ni(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){li(this._pane);delete this._pane},_resetState:function(){this._resetStateTimeout=0;this._moved=false},_clearDeferredResetState:function(){if(this._resetStateTimeout!==0){clearTimeout(this._resetStateTimeout);this._resetStateTimeout=0}},_onMouseDown:function(t){if(!t.shiftKey||t.which!==1&&t.button!==1){return false}this._clearDeferredResetState();this._resetState();Mi();Li();this._startPoint=this._map.mouseEventToContainerPoint(t);ji(document,{contextmenu:qi,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){if(!this._moved){this._moved=true;this._box=hi("div","leaflet-zoom-box",this._container);pi(this._container,"leaflet-crosshair");this._map.fire("boxzoomstart")}this._point=this._map.mouseEventToContainerPoint(t);var i=new F(this._point,this._startPoint),e=i.getSize();ki(this._box,i.min);this._box.style.width=e.x+"px";this._box.style.height=e.y+"px"},_finish:function(){if(this._moved){li(this._box);vi(this._container,"leaflet-crosshair")}zi();Ci();Ni(document,{contextmenu:qi,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(t.which!==1&&t.button!==1){return}this._finish();if(!this._moved){return}this._clearDeferredResetState();this._resetStateTimeout=setTimeout(s(this._resetState,this),0);var i=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire("boxzoomend",{boxZoomBounds:i})},_onKeyDown:function(t){if(t.keyCode===27){this._finish();this._clearDeferredResetState();this._resetState()}}});ee.addInitHook("addHandler","boxZoom",Qn);ee.mergeOptions({doubleClickZoom:true});var Yn=ve.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,e=i.getZoom(),n=i.options.zoomDelta,s=t.originalEvent.shiftKey?e-n:e+n;if(i.options.doubleClickZoom==="center"){i.setZoom(s)}else{i.setZoomAround(t.containerPoint,s)}}});ee.addInitHook("addHandler","doubleClickZoom",Yn);ee.mergeOptions({dragging:true,inertia:true,inertiaDeceleration:3400,inertiaMaxSpeed:Infinity,easeLinearity:.2,worldCopyJump:false,maxBoundsViscosity:0});var ts=ve.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new be(t._mapPane,t._container);this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this);this._draggable.on("predrag",this._onPreDragLimit,this);if(t.options.worldCopyJump){this._draggable.on("predrag",this._onPreDragWrap,this);t.on("zoomend",this._onZoomEnd,this);t.whenReady(this._onZoomEnd,this)}}pi(this._map._container,"leaflet-grab leaflet-touch-drag");this._draggable.enable();this._positions=[];this._times=[]},removeHooks:function(){vi(this._map._container,"leaflet-grab");vi(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;t._stop();if(this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=N(this._map.options.maxBounds);this._offsetLimit=j(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.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");if(t.options.inertia){this._positions=[];this._times=[]}},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,e=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(e);this._times.push(i);this._prunePositions(i)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){while(this._positions.length>1&&t-this._times[0]>50){this._positions.shift();this._times.shift()}},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x;this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(!this._viscosity||!this._offsetLimit){return}var t=this._draggable._newPos.subtract(this._draggable._startPos);var i=this._offsetLimit;if(t.x<i.min.x){t.x=this._viscousLimit(t.x,i.min.x)}if(t.y<i.min.y){t.y=this._viscousLimit(t.y,i.min.y)}if(t.x>i.max.x){t.x=this._viscousLimit(t.x,i.max.x)}if(t.y>i.max.y){t.y=this._viscousLimit(t.y,i.max.y)}this._draggable._newPos=this._draggable._startPos.add(t)},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),e=this._initialWorldOffset,n=this._draggable._newPos.x,s=(n-i+e)%t+i-e,r=(n+i+e)%t-i-e,o=Math.abs(s+e)<Math.abs(r+e)?s:r;this._draggable._absPos=this._draggable._newPos.clone();this._draggable._newPos.x=o},_onDragEnd:function(t){var i=this._map,e=i.options,n=!e.inertia||t.noInertia||this._times.length<2;i.fire("dragend",t);if(n){i.fire("moveend")}else{this._prunePositions(+new Date);var s=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,o=e.easeLinearity,a=s.multiplyBy(o/r),h=a.distanceTo([0,0]),l=Math.min(e.inertiaMaxSpeed,h),f=a.multiplyBy(l/h),u=l/(e.inertiaDeceleration*o),c=f.multiplyBy(-u/2).round();if(!c.x&&!c.y){i.fire("moveend")}else{c=i._limitOffset(c,i.options.maxBounds);z((function(){i.panBy(c,{duration:u,easeLinearity:o,noMoveStart:true,animate:true})}))}}}});ee.addInitHook("addHandler","dragging",ts);ee.mergeOptions({keyboard:true,keyboardPanDelta:80});var is=ve.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;if(t.tabIndex<=0){t.tabIndex="0"}ji(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();Ni(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){return}var t=document.body,i=document.documentElement,e=t.scrollTop||i.scrollTop,n=t.scrollLeft||i.scrollLeft;this._map._container.focus();window.scrollTo(n,e)},_onFocus:function(){this._focused=true;this._map.fire("focus")},_onBlur:function(){this._focused=false;this._map.fire("blur")},_setPanDelta:function(t){var i=this._panKeys={},e=this.keyCodes,n,s;for(n=0,s=e.left.length;n<s;n++){i[e.left[n]]=[-1*t,0]}for(n=0,s=e.right.length;n<s;n++){i[e.right[n]]=[t,0]}for(n=0,s=e.down.length;n<s;n++){i[e.down[n]]=[0,t]}for(n=0,s=e.up.length;n<s;n++){i[e.up[n]]=[0,-1*t]}},_setZoomDelta:function(t){var i=this._zoomKeys={},e=this.keyCodes,n,s;for(n=0,s=e.zoomIn.length;n<s;n++){i[e.zoomIn[n]]=t}for(n=0,s=e.zoomOut.length;n<s;n++){i[e.zoomOut[n]]=-t}},_addHooks:function(){ji(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Ni(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(t.altKey||t.ctrlKey||t.metaKey){return}var i=t.keyCode,e=this._map,n;if(i in this._panKeys){if(!e._panAnim||!e._panAnim._inProgress){n=this._panKeys[i];if(t.shiftKey){n=B(n).multiplyBy(3)}if(e.options.maxBounds){n=e._limitOffset(B(n),e.options.maxBounds)}if(e.options.worldCopyJump){var s=e.wrapLatLng(e.unproject(e.project(e.getCenter()).add(n)));e.panTo(s)}else{e.panBy(n)}}}else if(i in this._zoomKeys){e.setZoom(e.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i])}else if(i===27&&e._popup&&e._popup.options.closeOnEscapeKey){e.closePopup()}else{return}qi(t)}});ee.addInitHook("addHandler","keyboard",is);ee.mergeOptions({scrollWheelZoom:true,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var es=ve.extend({addHooks:function(){ji(this._map._container,"wheel",this._onWheelScroll,this);this._delta=0},removeHooks:function(){Ni(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=Qi(t);var e=this._map.options.wheelDebounceTime;this._delta+=i;this._lastMousePos=this._map.mouseEventToContainerPoint(t);if(!this._startTime){this._startTime=+new Date}var n=Math.max(e-(+new Date-this._startTime),0);clearTimeout(this._timer);this._timer=setTimeout(s(this._performZoom,this),n);qi(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),e=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(this._map.options.wheelPxPerZoomLevel*4),s=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,r=e?Math.ceil(s/e)*e:s,o=t._limitZoom(i+(this._delta>0?r:-r))-i;this._delta=0;this._startTime=null;if(!o){return}if(t.options.scrollWheelZoom==="center"){t.setZoom(i+o)}else{t.setZoomAround(this._lastMousePos,i+o)}}});ee.addInitHook("addHandler","scrollWheelZoom",es);var ns=600;ee.mergeOptions({tapHold:Ft.touchNative&&Ft.safari&&Ft.mobile,tapTolerance:15});var ss=ve.extend({addHooks:function(){ji(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ni(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){clearTimeout(this._holdTimeout);if(t.touches.length!==1){return}var i=t.touches[0];this._startPos=this._newPos=new O(i.clientX,i.clientY);this._holdTimeout=setTimeout(s((function(){this._cancel();if(!this._isTapValid()){return}ji(document,"touchend",Vi);ji(document,"touchend touchcancel",this._cancelClickPrevent);this._simulateEvent("contextmenu",i)}),this),ns);ji(document,"touchend touchcancel contextmenu",this._cancel,this);ji(document,"touchmove",this._onMove,this)},_cancelClickPrevent:function t(){Ni(document,"touchend",Vi);Ni(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout);Ni(document,"touchend touchcancel contextmenu",this._cancel,this);Ni(document,"touchmove",this._onMove,this)},_onMove:function(t){var i=t.touches[0];this._newPos=new O(i.clientX,i.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,i){var e=new MouseEvent(t,{bubbles:true,cancelable:true,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY});e._simulated=true;i.target.dispatchEvent(e)}});ee.addInitHook("addHandler","tapHold",ss);ee.mergeOptions({touchZoom:Ft.touch,bounceAtZoomLimits:true});var rs=ve.extend({addHooks:function(){pi(this._map._container,"leaflet-touch-zoom");ji(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){vi(this._map._container,"leaflet-touch-zoom");Ni(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(!t.touches||t.touches.length!==2||i._animatingZoom||this._zooming){return}var e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2);this._startLatLng=i.containerPointToLatLng(this._centerPoint);if(i.options.touchZoom!=="center"){this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))}this._startDist=e.distanceTo(n);this._startZoom=i.getZoom();this._moved=false;this._zooming=true;i._stop();ji(document,"touchmove",this._onTouchMove,this);ji(document,"touchend touchcancel",this._onTouchEnd,this);Vi(t)},_onTouchMove:function(t){if(!t.touches||t.touches.length!==2||!this._zooming){return}var i=this._map,e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]),r=e.distanceTo(n)/this._startDist;this._zoom=i.getScaleZoom(r,this._startZoom);if(!i.options.bounceAtZoomLimits&&(this._zoom<i.getMinZoom()&&r<1||this._zoom>i.getMaxZoom()&&r>1)){this._zoom=i._limitZoom(this._zoom)}if(i.options.touchZoom==="center"){this._center=this._startLatLng;if(r===1){return}}else{var o=e._add(n)._divideBy(2)._subtract(this._centerPoint);if(r===1&&o.x===0&&o.y===0){return}this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}if(!this._moved){i._moveStart(true,false);this._moved=true}T(this._animRequest);var a=s(i._move,i,this._center,this._zoom,{pinch:true,round:false},undefined);this._animRequest=z(a,this,true);Vi(t)},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=false;return}this._zooming=false;T(this._animRequest);Ni(document,"touchmove",this._onTouchMove,this);Ni(document,"touchend touchcancel",this._onTouchEnd,this);if(this._map.options.zoomAnimation){this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),true,this._map.options.zoomSnap)}else{this._map._resetView(this._center,this._map._limitZoom(this._zoom))}}});ee.addInitHook("addHandler","touchZoom",rs);ee.BoxZoom=Qn;ee.DoubleClickZoom=Yn;ee.Drag=ts;ee.Keyboard=is;ee.ScrollWheelZoom=es;ee.TapHold=ss;ee.TouchZoom=rs;t.Bounds=F;t.Browser=Ft;t.CRS=$;t.Canvas=Hn;t.Circle=rn;t.CircleMarker=nn;t.Class=C;t.Control=se;t.DivIcon=In;t.DivOverlay=Cn;t.DomEvent=te;t.DomUtil=Fi;t.Draggable=be;t.Evented=E;t.FeatureGroup=Ve;t.GeoJSON=un;t.GridLayer=Fn;t.Handler=ve;t.Icon=Xe;t.ImageOverlay=_n;t.LatLng=D;t.LatLngBounds=R;t.Layer=Ue;t.LayerGroup=We;t.LineUtil=Ie;t.Map=ee;t.Marker=Ye;t.Mixin=me;t.Path=en;t.Point=O;t.PolyUtil=je;t.Polygon=ln;t.Polyline=an;t.Popup=Sn;t.PosAnimation=ie;t.Projection=De;t.Rectangle=Jn;t.Renderer=$n;t.SVG=qn;t.SVGOverlay=Pn;t.TileLayer=Rn;t.Tooltip=En;t.Transformation=G;t.Util=P;t.VideoOverlay=zn;t.bind=s;t.bounds=j;t.canvas=Un;t.circle=on;t.circleMarker=sn;t.control=re;t.divIcon=Bn;t.extend=e;t.featureGroup=qe;t.geoJSON=yn;t.geoJson=kn;t.gridLayer=jn;t.icon=Je;t.imageOverlay=Mn;t.latLng=Z;t.latLngBounds=N;t.layerGroup=Ge;t.map=ne;t.marker=tn;t.point=B;t.polygon=fn;t.polyline=hn;t.popup=An;t.rectangle=Kn;t.setOptions=d;t.stamp=o;t.svg=Xn;t.svgOverlay=Ln;t.tileLayer=Nn;t.tooltip=On;t.transformation=V;t.version=i;t.videoOverlay=Tn;var os=window.L;t.noConflict=function(){window.L=os;return this};window.L=t}))}));const b='.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none !important;max-height:none !important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none !important;max-height:none !important;width:auto;padding:0}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51, 181, 229, 0.4)}.leaflet-tile{-webkit-filter:inherit;filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity 0.2s linear;-moz-transition:opacity 0.2s linear;transition:opacity 0.2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform 0.25s cubic-bezier(0,0,0.25,1);-moz-transition:-moz-transform 0.25s cubic-bezier(0,0,0.25,1);transition:-webkit-transform 0.25s cubic-bezier(0,0,0.25,1);transition:transform 0.25s cubic-bezier(0,0,0.25,1);transition:transform 0.25s cubic-bezier(0,0,0.25,1), -webkit-transform 0.25s cubic-bezier(0,0,0.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078A8}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,0.5)}.leaflet-container{font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;font-size:12px;font-size:0.75rem;line-height:1.5}.leaflet-bar{-webkit-box-shadow:0 1px 5px rgba(0,0,0,0.65);box-shadow:0 1px 5px rgba(0,0,0,0.65);border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:black}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:bold 18px \'Lucida Console\', Monaco, monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{-webkit-box-shadow:0 1px 5px rgba(0,0,0,0.4);box-shadow:0 1px 5px rgba(0,0,0,0.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(images/layers.png);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(images/layers-2x.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(images/marker-icon.png)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255, 255, 255, 0.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline !important;vertical-align:baseline !important;width:1em;height:0.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;background:rgba(255, 255, 255, 0.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{-webkit-box-shadow:none;box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,0.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:17px 0;margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;-webkit-box-shadow:0 3px 14px rgba(0,0,0,0.4);box-shadow:0 3px 14px rgba(0,0,0,0.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma, Verdana, sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.4);box-shadow:0 1px 3px rgba(0,0,0,0.4)}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}grw-map{font-family:"Roboto";display:block;height:100%;max-height:100vh}.departure-icon img,.arrival-icon img{width:48px;height:48px}.departure-icon img path,.arrival-icon img path{fill:currentColor;stroke:currentColor}.departure-icon{color:var(--color-departure-icon)}.arrival-icon{color:var(--color-arrival-icon)}.trek-marker{background-color:var(--color-primary);border-radius:50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.trek-marker img{width:36px !important}.map-loader-container{position:absolute;z-index:500;width:100%;height:100%;background:rgba(255, 255, 255, 0.5);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.map-loader-container .loader{width:48px;height:48px;border:5px solid var(--color-primary-tint);border-bottom-color:var(--color-primary);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.leaflet-popup-content{width:144px;margin:0}.trek-departure-popup{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100px;height:auto;padding:24px}.trek-departure-popup img{border-radius:8px;-webkit-box-shadow:4px 8px 24px rgba(0, 0, 0, 0.25);box-shadow:4px 8px 24px rgba(0, 0, 0, 0.25)}.trek-departure-popup .trek-name{color:var(--color-primary);font-weight:bold;font-size:12px}.trek-departure-popup .trek-name-margin-top{margin-top:12px}.poi-tooltip .poi-name,.poi-tooltip .information-desks-name,.poi-tooltip .sensitive-area-name,.information-desks-tooltip .poi-name,.information-desks-tooltip .information-desks-name,.information-desks-tooltip .sensitive-area-name,.sensitive-area-tooltip .poi-name,.sensitive-area-tooltip .information-desks-name,.sensitive-area-tooltip .sensitive-area-name{color:var(--color-primary);font-weight:bold;font-size:12px}.sensitiveAreasCheckboxContainer{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:#ffffff;padding:8px;border-radius:8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sensitiveAreasCheckboxContainer input,.sensitiveAreasCheckboxContainer label{cursor:pointer}.sensitiveAreasCheckboxContainer input{margin:0}.sensitiveAreasCheckboxContainer label{padding-left:8px}.poi-icon,.information-desks-icon{background-color:var(--color-poi-icon);border-radius:50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.poi-icon img,.information-desks-icon img{width:36px !important}.parking-icon{background-color:#0000ff;border-radius:50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:48px;height:48px;font-size:24px;color:#ffffff}.point-reference-icon{background-color:#ff0000;border:1px solid #ffffff;border-radius:50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:24px;height:24px;font-size:18px;color:#ffffff}';const w=class{constructor(i){t(this,i);this.trekCardPress=n(this,"trekCardPress",7);this.handleTreksWithinBoundsBind=this.handleTreksWithinBounds.bind(this);this.mapIsReady=false;this.urlLayer=undefined;this.attribution=undefined;this.center="1, 1";this.zoom=10;this.colorPrimary="#6b0030";this.colorPrimaryTint="#974c6e";this.colorTrekLine="#6b0030";this.colorDepartureIcon="#006b3b";this.colorArrivalIcon="#85003b";this.colorSensitiveArea="\t#4974a5";this.colorPoiIcon="#974c6e";this.resetStoreOnDisconnected=true}componentDidLoad(){this.map=g.map(this.element,{center:this.center.split(",").map(Number),zoom:this.zoom});g.control.scale().addTo(this.map);g.tileLayer(this.urlLayer,{maxZoom:19,attribution:this.attribution}).addTo(this.map);if(o.currentTrek){this.addTrek()}else if(o.currentTreks){this.addTreks()}a("currentTreks",(()=>{if(o.currentTrek){this.removeTreks();this.addTrek()}else if(o.currentTreks){this.removeTrek();this.addTreks()}}));a("currentTrek",(()=>{if(o.currentTrek){this.removeTreks();this.addTrek()}else{this.removeTrek();this.addTreks()}}))}addTreks(){var t;const i=[];const e={type:"FeatureCollection",features:[]};if(o.currentTreks){for(const n of o.currentTreks){i.push(n.departure_geom);e.features.push({type:"Feature",geometry:{type:"Point",coordinates:n.departure_geom},properties:{id:n.id,name:n.name,practice:(t=o.practices.find((t=>t.id===n.practice)))===null||t===void 0?void 0:t.pictogram,imgSrc:n.attachments&&n.attachments.length>0&&n.attachments[0].thumbnail}})}}if(!this.treksLayer){if(i.length>0&&!o.currentMapTreksBounds){const t=g.latLngBounds(i.map((t=>[t[1],t[0]])));this.map.fitBounds(t)}else{if(o.currentMapTreksBounds){this.map.fitBounds(o.currentMapTreksBounds)}}this.treksLayer=g.geoJSON(e,{pointToLayer:(t,i)=>g.marker(i,{icon:g.divIcon({html:t.properties.practice?`<img src=${t.properties.practice} />`:`<img />`,className:"trek-marker",iconSize:48}),autoPanOnFocus:false}),onEachFeature:(t,i)=>{i.once("click",(()=>{const e=g.DomUtil.create("div");e.className="trek-departure-popup";e.onclick=()=>this.trekCardPress.emit(t.properties.id);const n=g.DomUtil.create("div");n.innerHTML=t.properties.name;n.className="trek-name";if(t.properties.imgSrc){n.className+=" trek-name-margin-top";const i=g.DomUtil.create("img");i.src=t.properties.imgSrc;e.appendChild(i)}e.appendChild(n);i.bindPopup(e,{interactive:true,autoPan:false,closeButton:false}).openPopup()}))}}).addTo(this.map)}else{if(i.length>0){const t=g.latLngBounds(i.map((t=>[t[1],t[0]])));this.map.fitBounds(t)}else{this.map.fire("moveend")}this.treksLayer.clearLayers();this.treksLayer.addData(e)}!this.mapIsReady&&(this.mapIsReady=!this.mapIsReady);this.map.on("moveend",this.handleTreksWithinBoundsBind)}removeTreks(){if(this.treksLayer){o.currentMapTreksBounds=this.map.getBounds();this.map.removeLayer(this.treksLayer);this.treksLayer=null;this.map.off("moveend",this.handleTreksWithinBoundsBind)}}handleTreksWithinBounds(){if(o.currentTreks&&!o.currentMapTreksBounds||o.currentTreks&&o.currentMapTreksBounds&&o.currentMapTreksBounds.toBBoxString()!==this.map.getBounds().toBBoxString()){o.treksWithinBounds=o.currentTreks.filter((t=>this.map.getBounds().contains(g.latLng(t.departure_geom[1],t.departure_geom[0]))))}}addTrek(){var t;const i=s(`assets/departure-arrival.svg`);const e={type:"Feature",geometry:o.currentTrek.geometry,properties:{}};this.currentTrekLayer=g.geoJSON(e,{style:()=>({color:this.colorTrekLine}),interactive:false}).addTo(this.map);const n=g.latLngBounds(o.currentTrek.geometry.coordinates.map((t=>[t[1],t[0]])));this.map.fitBounds(n);const r=[o.currentTrek.geometry.coordinates.at(0)[0],o.currentTrek.geometry.coordinates.at(0)[1]];const a=[o.currentTrek.geometry.coordinates.at(-1)[0],o.currentTrek.geometry.coordinates.at(-1)[1]];const h={type:"FeatureCollection",features:[{type:"Feature",properties:{type:"departure"},geometry:{type:"Point",coordinates:r}}]};if(r[0]!==a[0]||r[1]!==a[1]){h.features.push({type:"Feature",properties:{type:"arrival"},geometry:{type:"Point",coordinates:a}})}this.currentDepartureArrivalLayer=g.geoJSON(h,{pointToLayer:(t,e)=>g.marker(e,{icon:g.divIcon({html:`<img src=${i}>`,className:t.properties.type==="departure"?"departure-icon":"arrival-icon",iconSize:48,iconAnchor:[0,48]}),autoPanOnFocus:false,interactive:false})}).addTo(this.map);if(o.currentTrek.parking_location){const t={type:"Feature",properties:{},geometry:{type:"Point",coordinates:o.currentTrek.parking_location}};this.currentParkingLayer=g.geoJSON(t,{pointToLayer:(t,i)=>g.marker(i,{icon:g.divIcon({html:"<div>P</div>",className:"parking-icon",iconSize:48,iconAnchor:[0,48]}),autoPanOnFocus:false,interactive:false})}).addTo(this.map)}if(o.currentSensitiveAreas&&o.currentSensitiveAreas.length>0){const t={type:"FeatureCollection",features:[]};for(const i of o.currentSensitiveAreas){t.features.push({type:"Feature",properties:{name:i.name},geometry:i.geometry})}this.currentSensitiveAreasLayer=g.geoJSON(t,{onEachFeature:(t,i)=>{i.once("mouseover",(()=>{const e=g.DomUtil.create("div");e.className="sensitive-area-tooltip";const n=g.DomUtil.create("div");n.innerHTML=t.properties.name;n.className="sensitive-area-name";e.appendChild(n);i.bindTooltip(e).openTooltip()}))},style:()=>({color:this.colorSensitiveArea})}).addTo(this.map);g.Control.SensitiveAreasCheckboxContainer=g.Control.extend({onAdd:()=>{const i=g.DomUtil.create("div");i.className="sensitiveAreasCheckboxContainer";const e=g.DomUtil.create("input");e.setAttribute("id","sensitiveAreasCheckbox");e.setAttribute("type","checkbox");e.setAttribute("checked","true");e.onclick=t=>t.composedPath()[0].checked?this.map.addLayer(this.currentSensitiveAreasLayer):this.map.removeLayer(this.currentSensitiveAreasLayer);const n=g.DomUtil.create("label");n.setAttribute("for","sensitiveAreasCheckbox");n.innerHTML=t.features.length>1||t.features[0].geometry.type==="MultiPolygon"?"Afficher les zones sensibles":"Afficher la zone sensible";i.appendChild(e);i.appendChild(n);return i}});g.control.sensitiveAreasCheckboxContainer=()=>new g.Control.SensitiveAreasCheckboxContainer;this.sensitiveAreasControl=g.control.sensitiveAreasCheckboxContainer({position:"topright"}).addTo(this.map)}if(o.currentPois&&o.currentPois.length>0){const i={type:"FeatureCollection",features:[]};for(const e of o.currentPois){i.features.push({type:"Feature",properties:{name:e.name,type_pictogram:(t=o.poiTypes.find((t=>t.id===e.type)))===null||t===void 0?void 0:t.pictogram},geometry:e.geometry})}this.currentPoisLayer=g.geoJSON(i,{pointToLayer:(t,i)=>g.marker(i,{icon:g.divIcon({html:t.properties.type_pictogram?`<img src=${t.properties.type_pictogram} />`:`<img />`,className:"poi-icon",iconSize:48}),autoPanOnFocus:false}),onEachFeature:(t,i)=>{i.once("mouseover",(()=>{const e=g.DomUtil.create("div");e.className="poi-tooltip";const n=g.DomUtil.create("div");n.innerHTML=t.properties.name;n.className="poi-name";e.appendChild(n);i.bindTooltip(e).openTooltip()}))}}).addTo(this.map)}if(o.currentInformationDesks&&o.currentInformationDesks.length>0){const t={type:"FeatureCollection",features:[]};for(const i of o.currentInformationDesks){t.features.push({type:"Feature",properties:{name:i.name,type_pictogram:i.type.pictogram},geometry:{type:"Point",coordinates:[Number(i.longitude),Number(i.latitude)]}})}this.currentInformationDesksLayer=g.geoJSON(t,{pointToLayer:(t,i)=>g.marker(i,{icon:g.divIcon({html:t.properties.type_pictogram?`<img src=${t.properties.type_pictogram} />`:`<img />`,className:"information-desks-icon",iconSize:48}),autoPanOnFocus:false}),onEachFeature:(t,i)=>{i.once("mouseover",(()=>{const e=g.DomUtil.create("div");e.className="information-desks-tooltip";const n=g.DomUtil.create("div");n.innerHTML=t.properties.name;n.className="information-desks-name";e.appendChild(n);i.bindTooltip(e).openTooltip()}))}}).addTo(this.map)}if(o.currentTrek.points_reference){const t={type:"FeatureCollection",features:[]};t.features.push({type:"Feature",properties:{},geometry:o.currentTrek.points_reference});let i=0;this.currentPointsReferenceLayer=g.geoJSON(t,{pointToLayer:(t,e)=>{i+=1;return g.marker(e,{icon:g.divIcon({html:i,className:"point-reference-icon",iconSize:24}),autoPanOnFocus:false,interactive:false})}}).addTo(this.map)}!this.mapIsReady&&(this.mapIsReady=!this.mapIsReady)}removeTrek(){if(this.currentTrekLayer){this.map.removeLayer(this.currentTrekLayer);this.currentTrekLayer=null}if(this.currentDepartureArrivalLayer){this.map.removeLayer(this.currentDepartureArrivalLayer);this.currentDepartureArrivalLayer=null}if(this.currentParkingLayer){this.map.removeLayer(this.currentParkingLayer);this.currentParkingLayer=null}if(this.currentSensitiveAreasLayer){this.map.removeLayer(this.currentSensitiveAreasLayer);this.currentSensitiveAreasLayer=null;this.map.removeControl(this.sensitiveAreasControl);this.sensitiveAreasControl=null}if(this.currentPoisLayer){this.map.removeLayer(this.currentPoisLayer);this.currentPoisLayer=null}if(this.currentInformationDesksLayer){this.map.removeLayer(this.currentInformationDesksLayer);this.currentInformationDesksLayer=null}if(this.currentPointsReferenceLayer){this.map.removeLayer(this.currentPointsReferenceLayer);this.currentPointsReferenceLayer=null}}disconnectedCallback(){if(this.resetStoreOnDisconnected){h()}}render(){return i(e,{style:{"--color-primary":this.colorPrimary,"--color-primary-tint":this.colorPrimaryTint,"--color-departure-icon":this.colorDepartureIcon,"--color-arrival-icon":this.colorArrivalIcon,"--color-poi-icon":this.colorPoiIcon}},!this.mapIsReady&&i("div",{class:"map-loader-container"},i("span",{class:"loader"})))}get element(){return r(this)}};w.style=b;const x='grw-sensitive-area-detail,grw-information-desk-detail,grw-poi-detail{margin-top:12px}.trek-detail-container{font-family:"Roboto";display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;overflow-y:auto}.trek-detail-container .name{color:var(--color-primary);font-size:48px;font-weight:bold;padding:24px}.trek-detail-container .image{border-radius:8px;-ms-flex-item-align:center;align-self:center;width:100%;max-width:700px;height:auto;-webkit-box-shadow:4px 8px 24px rgba(0, 0, 0, 0.25);box-shadow:4px 8px 24px rgba(0, 0, 0, 0.25)}.trek-detail-container .sub-container{padding:24px}.trek-detail-container .sub-container .icons-labels-container{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.trek-detail-container .sub-container .icons-labels-container .row{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;width:100%}.trek-detail-container .sub-container .icons-labels-container .row:not(:last-child){margin-bottom:24px}.trek-detail-container .sub-container .icons-labels-container .row .icon-label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:33.3333333333%}.trek-detail-container .sub-container .icons-labels-container .row .icon-label:nth-child(2){margin:0px 8px}.trek-detail-container .sub-container .icons-labels-container .row .icon-label img{width:24px;height:auto;margin-right:24px}.trek-detail-container .sub-container .icons-labels-container .row .practice img{background-color:var(--color-primary)}.trek-detail-container .downloads-container{padding:0px 24px 24px 24px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.trek-detail-container .downloads-container .download-title{color:var(--color-primary);font-size:18px;margin-bottom:12px}.trek-detail-container .downloads-container .links-container{display:-ms-flexbox;display:flex}.trek-detail-container .downloads-container .links-container a{background-color:var(--color-primary);padding:8px;color:#ffffff;text-decoration:none;border-radius:8px}.trek-detail-container .downloads-container .links-container a:nth-child(2){margin:0px 12px}.trek-detail-container .downloads-container .links-container a:hover{background-color:var(--color-primary-shade)}.trek-detail-container .themes-container{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0px 24px 24px 24px}.trek-detail-container .themes-container .theme{background-color:var(--color-primary-tint);color:#ffffff;border-radius:8px;padding:8px;margin:0px 8px 8px 0px}.trek-detail-container .ambiance,.trek-detail-container .description-teaser,.trek-detail-container .description-container,.trek-detail-container .altimetric-profile-container,.trek-detail-container .access-container,.trek-detail-container .public-transport-container,.trek-detail-container .advice-container,.trek-detail-container .advised-parking-container,.trek-detail-container .gear-container,.trek-detail-container .pois-container,.trek-detail-container .sensitive-areas-container,.trek-detail-container .information-desks-container,.trek-detail-container .source-container,.trek-detail-container .accessibilities-container{padding:0px 24px 24px 24px}.trek-detail-container .ambiance a,.trek-detail-container .description-teaser a,.trek-detail-container .description-container a,.trek-detail-container .altimetric-profile-container a,.trek-detail-container .access-container a,.trek-detail-container .public-transport-container a,.trek-detail-container .advice-container a,.trek-detail-container .advised-parking-container a,.trek-detail-container .gear-container a,.trek-detail-container .pois-container a,.trek-detail-container .sensitive-areas-container a,.trek-detail-container .information-desks-container a,.trek-detail-container .source-container a,.trek-detail-container .accessibilities-container a{color:var(--color-primary)}.trek-detail-container .description-title,.trek-detail-container .altimetric-profile-title,.trek-detail-container .access-title,.trek-detail-container .public-transport-title,.trek-detail-container .advice-title,.trek-detail-container .advised-parking-title,.trek-detail-container .gear-title,.trek-detail-container .pois-title,.trek-detail-container .sensitive-areas-title,.trek-detail-container .information-desks-title,.trek-detail-container .source-title,.trek-detail-container .accessibilities-title{color:var(--color-primary);font-size:36px;font-weight:bold;margin:12px 0px}.label-container .label-sub-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.label-container .label-sub-container img{width:26px;margin-right:16px}.label-container .label-sub-container .label-name{color:var(--color-primary);font-size:24px;font-weight:bold;padding:12px 0px}.source-container .source-sub-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.source-container .source-sub-container img{width:26px;margin-right:16px}.source-container .source-sub-container .source-name{color:var(--color-primary);font-size:24px;font-weight:bold;padding:12px 0px}.departure-container,.arrival-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0px 24px 24px 24px}.departure-container .departure-title,.departure-container .arrival-title,.arrival-container .departure-title,.arrival-container .arrival-title{color:var(--color-primary);font-weight:bold}.accessibilities-container .accessibilities-content-container{padding:12px 0px 0px 0px;display:-ms-flexbox;display:flex}.accessibilities-container .accessibilities-content-container .accessibility-content-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 8px 8px 0px}.accessibilities-container .accessibilities-content-container .accessibility-content-container img{margin-right:16px;width:26px}.accessibilities-container .accessibility-level-title,.accessibilities-container .accessibility-slope-title,.accessibilities-container .accessibility-width-title,.accessibilities-container .accessibility-signage-title,.accessibilities-container .accessibility-covering-title,.accessibilities-container .accessibility-exposure-title,.accessibilities-container .accessibility-advice-title{color:var(--color-primary);font-size:24px;padding:12px 0px}';const y=class{constructor(i){t(this,i);this.currentTrek=undefined;this.difficulty=undefined;this.route=undefined;this.practice=undefined;this.themes=undefined;this.labels=undefined;this.sources=undefined;this.accessibilities=undefined;this.accessibilityLevel=undefined;this.trek=undefined;this.colorPrimary="#6b0030";this.colorPrimaryShade="#4a0021";this.colorPrimaryTint="#974c6e";this.resetStoreOnDisconnected=true}connectedCallback(){this.currentTrek=this.trek?this.trek:o.currentTrek;if(this.currentTrek){this.difficulty=o.difficulties.find((t=>t.id===this.currentTrek.difficulty));this.route=o.routes.find((t=>t.id===this.currentTrek.route));this.practice=o.practices.find((t=>t.id===this.currentTrek.practice));this.themes=o.themes.filter((t=>this.currentTrek.themes.includes(t.id)));this.labels=o.labels.filter((t=>this.currentTrek.labels.includes(t.id)));this.sources=o.sources.filter((t=>this.currentTrek.source.includes(t.id)));this.accessibilities=o.accessibilities.filter((t=>this.currentTrek.accessibilities.includes(t.id)));if(o.accessibilitiesLevel){this.accessibilityLevel=o.accessibilitiesLevel.find((t=>this.currentTrek.accessibility_level===t.id))}}a("currentTrek",(()=>{this.currentTrek=this.trek?this.trek:o.currentTrek;if(this.currentTrek){this.difficulty=o.difficulties.find((t=>t.id===this.currentTrek.difficulty));this.route=o.routes.find((t=>t.id===this.currentTrek.route));this.practice=o.practices.find((t=>t.id===this.currentTrek.practice));this.themes=o.themes.filter((t=>this.currentTrek.themes.includes(t.id)));this.labels=o.labels.filter((t=>this.currentTrek.labels.includes(t.id)));this.sources=o.sources.filter((t=>this.currentTrek.source.includes(t.id)));this.accessibilities=o.accessibilities.filter((t=>this.currentTrek.accessibilities.includes(t.id)));if(o.accessibilitiesLevel){this.accessibilityLevel=o.accessibilitiesLevel.find((t=>this.currentTrek.accessibility_level===t.id))}}}))}disconnectedCallback(){if(this.resetStoreOnDisconnected){h()}}render(){var t,n,r,a,h,c,d;const p=s(`assets/duration.svg`);const v=s(`assets/length.svg`);const m=s(`assets/ascent.svg`);return i(e,{style:{"--color-primary":this.colorPrimary,"--color-primary-shade":this.colorPrimaryShade,"--color-primary-tint":this.colorPrimaryTint}},this.currentTrek&&i("div",{class:"trek-detail-container"},i("div",{class:"name"},this.currentTrek.name),this.currentTrek.attachments&&this.currentTrek.attachments[0]&&this.currentTrek.attachments[0].url&&i("img",{class:"image",src:this.currentTrek.attachments[0].url,loading:"lazy"}),i("div",{class:"sub-container"},i("div",{class:"icons-labels-container"},i("div",{class:"row"},i("div",{class:"icon-label difficulty"},((t=this.difficulty)===null||t===void 0?void 0:t.pictogram)&&i("img",{src:this.difficulty.pictogram}),(n=this.difficulty)===null||n===void 0?void 0:n.label),i("div",{class:"icon-label duration"},i("img",{src:p}),l((r=this.currentTrek)===null||r===void 0?void 0:r.duration)),i("div",{class:"icon-label route"},((a=this.route)===null||a===void 0?void 0:a.pictogram)&&i("img",{src:this.route.pictogram}),(h=this.route)===null||h===void 0?void 0:h.route)),i("div",{class:"row"},i("div",{class:"icon-label length"},i("img",{src:v}),f(this.currentTrek.length_2d)),i("div",{class:"icon-label ascent"},i("img",{src:m}),u(this.currentTrek.ascent)),i("div",{class:"icon-label practice"},((c=this.practice)===null||c===void 0?void 0:c.pictogram)&&i("img",{src:this.practice.pictogram}),(d=this.practice)===null||d===void 0?void 0:d.name)))),i("div",{class:"downloads-container"},i("div",{class:"download-title"},"Téléchargements"),i("div",{class:"links-container"},i("a",{href:`${this.currentTrek.gpx}`},"GPX"),i("a",{href:`${this.currentTrek.kml}`},"KML"),i("a",{href:`${this.currentTrek.pdf}`},"PDF"))),this.themes.length>0&&i("div",{class:"themes-container"},this.themes.map((t=>i("div",{class:"theme"},t.label)))),this.currentTrek.description_teaser&&i("div",{class:"description-teaser",innerHTML:this.currentTrek.description_teaser}),this.currentTrek.ambiance&&i("div",{class:"ambiance",innerHTML:this.currentTrek.ambiance}),this.currentTrek.description&&i("div",{class:"description-container"},i("div",{class:"description-title"},"Description"),i("div",{class:"description",innerHTML:this.currentTrek.description})),this.currentTrek.departure&&i("div",{class:"departure-container"},i("div",{class:"departure-title"},"Départ : "),i("div",{innerHTML:this.currentTrek.departure})),this.currentTrek.arrival&&i("div",{class:"arrival-container"},i("div",{class:"arrival-title"},"Arrivée : "),i("div",{innerHTML:this.currentTrek.arrival})),this.currentTrek.altimetric_profile&&i("div",{class:"altimetric-profile-container"},i("div",{class:"altimetric-profile-title"},"Profil altimétrique"),i("img",{src:this.currentTrek.altimetric_profile.endsWith(".json")?this.currentTrek.altimetric_profile.replace(".json",".svg"):`${this.currentTrek.altimetric_profile}?format=svg`})),this.currentTrek.access&&i("div",{class:"access-container"},i("div",{class:"access-title"},"Accès routier"),i("div",{class:"access",innerHTML:this.currentTrek.access})),this.currentTrek.public_transport&&i("div",{class:"public-transport-container"},i("div",{class:"public-transport-title"},"Transport"),i("div",{class:"public-transport",innerHTML:this.currentTrek.public_transport})),(this.currentTrek.advice||this.labels.length>0)&&i("div",{class:"advice-container"},i("div",{class:"advice-title"},"Recommandations"),this.currentTrek.advice&&i("div",{class:"advice",innerHTML:this.currentTrek.advice}),this.labels.map((t=>i("div",{class:"label-container"},i("div",{class:"label-sub-container"},t.pictogram&&i("img",{src:t.pictogram}),i("div",{class:"label-name",innerHTML:t.name})),i("div",{class:"label-advice",innerHTML:t.advice}))))),this.currentTrek.advised_parking&&i("div",{class:"advised-parking-container"},i("div",{class:"advised-parking-title"},"Parking conseillé"),i("div",{class:"advised_parking",innerHTML:this.currentTrek.advised_parking})),this.currentTrek.gear&&i("div",{class:"gear-container"},i("div",{class:"gear-title"},"Équipements"),i("div",{class:"gear",innerHTML:this.currentTrek.gear})),o.currentSensitiveAreas&&o.currentSensitiveAreas.length>0&&i("div",{class:"sensitive-areas-container"},i("div",{class:"sensitive-areas-title"},"Zones de sensibilité environnementale"),o.currentSensitiveAreas.map((t=>i("grw-sensitive-area-detail",{sensitiveArea:t})))),o.currentInformationDesks&&o.currentInformationDesks.length>0&&i("div",{class:"information-desks-container"},i("div",{class:"information-desks-title"},"Lieux de renseignement"),o.currentInformationDesks.map((t=>i("grw-information-desk-detail",{informationDesk:t})))),(this.currentTrek.disabled_infrastructure||this.accessibilities&&this.accessibilities.length>0||this.currentTrek.accessibility_level||this.currentTrek.accessibility_slope||this.currentTrek.accessibility_width||this.currentTrek.accessibility_signage||this.currentTrek.accessibility_covering||this.currentTrek.accessibility_exposure||this.currentTrek.accessibility_advice)&&i("div",{class:"accessibilities-container"},i("div",{class:"accessibilities-title"},"Accessibilité"),this.currentTrek.disabled_infrastructure&&i("div",{innerHTML:this.currentTrek.disabled_infrastructure}),i("div",{class:"accessibilities-content-container"},this.accessibilities.map((t=>i("div",{class:"accessibility-content-container"},i("img",{src:t.pictogram}),i("div",{innerHTML:t.name}))))),this.currentTrek.accessibility_level&&i("div",{class:"accessibility-level-container"},i("div",{class:"accessibility-level-title"},"Niveau d'accessibilité"),i("div",{innerHTML:this.accessibilityLevel.name})),this.currentTrek.accessibility_slope&&i("div",{class:"accessibility-slope-container"},i("div",{class:"accessibility-slope-title"},"Pente"),i("div",{innerHTML:this.currentTrek.accessibility_slope})),this.currentTrek.accessibility_width&&i("div",{class:"accessibility-width-container"},i("div",{class:"accessibility-width-title"},"Largeur"),i("div",{innerHTML:this.currentTrek.accessibility_width})),this.currentTrek.accessibility_signage&&i("div",{class:"accessibility-signage-container"},i("div",{class:"accessibility-signage-title"},"Pente"),i("div",{innerHTML:this.currentTrek.accessibility_signage})),this.currentTrek.accessibility_covering&&i("div",{class:"accessibility-covering-container"},i("div",{class:"accessibility-covering-title"},"Revêtement"),i("div",{innerHTML:this.currentTrek.accessibility_covering})),this.currentTrek.accessibility_exposure&&i("div",{class:"accessibility-exposure-container"},i("div",{class:"accessibility-exposure-title"},"Exposition"),i("div",{innerHTML:this.currentTrek.accessibility_exposure})),this.currentTrek.accessibility_advice&&i("div",{class:"accessibility-advice-container"},i("div",{class:"accessibility-advice-title"},"Conseils"),i("div",{innerHTML:this.currentTrek.accessibility_advice}))),o.currentPois&&o.currentPois.length>0&&i("div",{class:"pois-container"},i("div",{class:"pois-title"},"Points d'intérêts"),o.currentPois.map((t=>i("grw-poi-detail",{poi:t})))),this.currentTrek.source&&this.currentTrek.source.length>0&&i("div",{class:"source-container"},i("div",{class:"source-title"},"Sources"),this.sources.map((t=>i("div",{class:"source-sub-container"},t.pictogram&&i("img",{src:t.pictogram}),i("div",null,i("div",{class:"source-name",innerHTML:t.name}),i("a",{class:"source-advice",href:t.website,innerHTML:t.website}))))))))}};y.style=x;const k=class{constructor(i){t(this,i);this.controller=new AbortController;this.signal=this.controller.signal;this.language="fr";this.api=undefined;this.trekId=undefined}connectedCallback(){o.api=this.api;const t=[];t.push(!o.difficulties?fetch(`${this.api}trek_difficulty/?language=${this.language}&fields=id,label,pictogram`,{signal:this.signal}):new Response("null"));t.push(!o.routes?fetch(`${this.api}trek_route/?language=${this.language}&fields=id,route,pictogram`,{signal:this.signal}):new Response("null"));t.push(!o.practices?fetch(`${this.api}trek_practice/?language=${this.language}&fields=id,name,pictogram`,{signal:this.signal}):new Response("null"));t.push(!o.themes?fetch(`${this.api}theme/?language=${this.language}&fields=id,label,pictogram`,{signal:this.signal}):new Response("null"));t.push(!o.cities?fetch(`${this.api}city/?language=${this.language}&fields=id,name&published=true`,{signal:this.signal}):new Response("null"));Promise.all([...t,fetch(`${this.api}sensitivearea/?language=${this.language}&published=true&trek=${this.trekId}&fields=id,geometry,name,description,contact,info_url,period,practices`,{signal:this.signal}).catch((()=>new Response("null"))),fetch(`${this.api}label/?language=${this.language}&fields=id,name,advice,pictogram`,{signal:this.signal}),fetch(`${this.api}source/?language=${this.language}&fields=id,name,website,pictogram`,{signal:this.signal}),fetch(`${this.api}trek_accessibility/?language=${this.language}&fields=id,name,pictogram`,{signal:this.signal}),fetch(`${this.api}trek_accessibility_level/?language=${this.language}&fields=id,name`,{signal:this.signal}).catch((()=>new Response("null"))),fetch(`${this.api}poi/?language=${this.language}&trek=${this.trekId}&published=true&fields=id,name,description,attachments,type,geometry&page_size=999`,{signal:this.signal}),fetch(`${this.api}poi_type/?language=${this.language}&fields=id,pictogram`,{signal:this.signal}),fetch(`${this.api}informationdesk/?language=${this.language}&near_trek=${this.trekId}&fields=id,name,description,type,phone,email,website,municipality,postal_code,street,photo_url,latitude,longitude&page_size=999`,{signal:this.signal}),fetch(`${this.api}trek/${this.trekId}/?language=${this.language}&published=true&fields=id,name,attachments,description,description_teaser,difficulty,duration,ascent,length_2d,practice,themes,route,geometry,gpx,kml,pdf,parking_location,departure,departure_city,arrival,altimetric_profile,ambiance,access,public_transport,advice,advised_parking,gear,labels,source,points_reference,disabled_infrastructure,accessibility_level,accessibility_slope,accessibility_width,accessibility_signage,accessibility_covering,accessibility_exposure,accessibility_advice,accessibilities`,{signal:this.signal})]).then((t=>Promise.all(t.map((t=>t.json()))))).then((([t,i,e,n,s,r,a,h,l,f,u,c,d,p])=>{o.trekNetworkError=false;if(t){o.difficulties=t.results}if(i){o.routes=i.results}if(e){o.practices=e.results.map((t=>Object.assign(Object.assign({},t),{selected:false})))}if(n){o.themes=n.results}if(s){o.cities=s.results}if(r){o.currentSensitiveAreas=r.results}o.labels=a.results;o.sources=h.results;o.accessibilities=l.results;if(f){o.accessibilitiesLevel=f.results}o.currentPois=u.results;o.poiTypes=c.results;o.currentInformationDesks=d.results;o.currentTrek=p})).catch((()=>{o.trekNetworkError=true}))}disconnectedCallback(){this.controller.abort();o.currentTrek=null;o.trekNetworkError=false}render(){return i(e,null)}};const _=':host{font-family:"Roboto";width:100%;height:100%;max-height:100vh;overflow-y:auto;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}grw-trek-card{margin:6px}';const M=class{constructor(i){t(this,i);this.step=10;this.handleInfiniteScrollBind=this.handleInfiniteScroll.bind(this);this.shouldAddInfiniteScrollEvent=true;this.treksToDisplay=[];this.colorPrimary="#6b0030";this.colorPrimaryTint="#974c6e";this.isLargeView=false;this.resetStoreOnDisconnected=true}connectedCallback(){this.handleInfiniteScrollEvent(true);if(o.currentTreks){this.treksToDisplay=[...o.currentTreks.slice(0,this.step)]}a("currentTreks",(()=>{this.handleInfiniteScrollEvent(true);this.element.scroll({top:0});if(o.currentTreks){this.treksToDisplay=[...o.currentTreks.slice(0,this.step)]}}));a("treksWithinBounds",(()=>{this.handleInfiniteScrollEvent(true);this.element.scroll({top:0});if(o.treksWithinBounds){this.treksToDisplay=[...o.treksWithinBounds.slice(0,this.step)]}}))}handleInfiniteScroll(t){if(t.composedPath()[0].scrollTop+t.composedPath()[0].scrollHeight/2>=t.composedPath()[0].scrollHeight){if(this.treksToDisplay.length<o.treksWithinBounds.length){this.treksToDisplay=o.treksWithinBounds.slice(0,this.treksToDisplay.length+this.step>=o.treksWithinBounds.length?o.treksWithinBounds.length:this.treksToDisplay.length+this.step)}else{this.handleInfiniteScrollEvent(false)}}}handleInfiniteScrollEvent(t){if(t){if(this.shouldAddInfiniteScrollEvent){this.element.addEventListener("scroll",this.handleInfiniteScrollBind);this.shouldAddInfiniteScrollEvent=!t}}else{this.element.removeEventListener("scroll",this.handleInfiniteScrollBind);this.shouldAddInfiniteScrollEvent=!t}}disconnectedCallback(){if(this.resetStoreOnDisconnected){h()}this.handleInfiniteScrollEvent(false)}render(){return i(e,{style:{"--color-primary":this.colorPrimary,"--color-primary-tint":this.colorPrimaryTint}},this.treksToDisplay.map((t=>i("grw-trek-card",{"reset-store-on-disconnected":"false",key:`trek-${t.id}`,trek:t,"is-large-view":this.isLargeView,"color-primary":this.colorPrimary,"color-primary-tint":this.colorPrimaryTint}))))}get element(){return r(this)}};M.style=_;const z=class{constructor(i){t(this,i);this.controller=new AbortController;this.signal=this.controller.signal;this.language="fr";this.api=undefined;this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined}connectedCallback(){o.api=this.api;let t=`${this.api}trek/?language=${this.language}&published=true`;this.inBbox&&(t+=`&in_bbox=${this.inBbox}`);this.cities&&(t+=`&cities=${this.cities}`);this.districts&&(t+=`&districts=${this.districts}`);this.structures&&(t+=`&structures=${this.structures}`);this.themes&&(t+=`&themes=${this.themes}`);this.portals&&(t+=`&portals=${this.portals}`);this.routes&&(t+=`&routes=${this.routes}`);this.practices&&(t+=`&practices=${this.practices}`);t+=`&fields=id,name,attachments,description_teaser,difficulty,duration,ascent,length_2d,practice,themes,route,departure,departure_city,departure_geom&page_size=999`;Promise.all([fetch(`${this.api}trek_difficulty/?language=${this.language}&fields=id,label,pictogram`,{signal:this.signal}),fetch(`${this.api}trek_route/?language=${this.language}&fields=id,route,pictogram`,{signal:this.signal}),fetch(`${this.api}trek_practice/?language=${this.language}&fields=id,name,pictogram`,{signal:this.signal}),fetch(`${this.api}theme/?language=${this.language}&fields=id,label,pictogram`,{signal:this.signal}),fetch(`${this.api}city/?language=${this.language}&fields=id,name&published=true`,{signal:this.signal}),fetch(t,{signal:this.signal})]).then((t=>Promise.all(t.map((t=>t.json()))))).then((([t,i,e,n,s,r])=>{o.treksNetworkError=false;o.difficulties=t.results;o.routes=i.results;o.practices=e.results.map((t=>Object.assign(Object.assign({},t),{selected:false})));o.themes=n.results;o.cities=s.results;o.durations=[{id:1,name:"0 - 1h",minValue:0,maxValue:1,selected:false},{id:2,name:"1 - 2h",minValue:1,maxValue:2,selected:false},{id:3,name:"2 - 5h",minValue:2,maxValue:5,selected:false},{id:4,name:"5 - 10h",minValue:5,maxValue:10,selected:false}];o.currentTreks=r.results;o.treksWithinBounds=r.results;o.treks=r.results})).catch((()=>o.treksNetworkError=true))}disconnectedCallback(){this.controller.abort();o.treksNetworkError=false}render(){return i(e,null)}};export{d as grw_filter,w as grw_map,y as grw_trek_detail,k as grw_trek_provider,M as grw_treks_list,z as grw_treks_provider};
|
|
7
|
-
//# sourceMappingURL=p-24c3dfb6.entry.js.map
|
|
Binary file
|
|
Binary file
|