@geotrekce/geotrek-rando-widget 0.3.5 → 0.4.0
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-541cb78a.js → css-shim-68410b74.js} +2 -2
- package/dist/cjs/css-shim-68410b74.js.br +0 -0
- package/dist/cjs/css-shim-68410b74.js.gz +0 -0
- package/dist/cjs/{css-shim-541cb78a.js.map → css-shim-68410b74.js.map} +1 -1
- package/dist/cjs/{dom-7f26de17.js → dom-225fc508.js} +2 -2
- package/dist/cjs/dom-225fc508.js.br +0 -0
- package/dist/cjs/dom-225fc508.js.gz +0 -0
- package/dist/cjs/{dom-7f26de17.js.map → dom-225fc508.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 +175 -50
- 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.cjs.entry.js +95 -0
- package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/{grw-filter_7.cjs.entry.js → grw-filters_12.cjs.entry.js} +855 -74
- package/dist/cjs/grw-filters_12.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filters_12.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filters_12.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js +294 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-select-language.cjs.entry.js +3 -3
- package/dist/cjs/grw-select-language.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-select-language.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-select-language.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js +62 -0
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.map +1 -0
- package/dist/cjs/{i18n-691abc83.js → i18n-cfc000c9.js} +51 -9
- package/dist/cjs/i18n-cfc000c9.js.br +0 -0
- package/dist/cjs/i18n-cfc000c9.js.gz +0 -0
- package/dist/cjs/i18n-cfc000c9.js.map +1 -0
- package/dist/cjs/{index-37f5c77b.js → index-9e4fe3f0.js} +2 -2
- package/dist/cjs/index-9e4fe3f0.js.br +0 -0
- package/dist/cjs/index-9e4fe3f0.js.gz +0 -0
- package/dist/cjs/{index-37f5c77b.js.map → index-9e4fe3f0.js.map} +1 -1
- 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/{shadow-css-2e025b8c.js → shadow-css-3c339190.js} +2 -2
- package/dist/cjs/shadow-css-3c339190.js.br +0 -0
- package/dist/cjs/shadow-css-3c339190.js.gz +0 -0
- package/dist/cjs/{shadow-css-2e025b8c.js.map → shadow-css-3c339190.js.map} +1 -1
- package/dist/cjs/{store-a36efc0f.js → store-d20ae78f.js} +12 -3
- package/dist/cjs/store-d20ae78f.js.br +0 -0
- package/dist/cjs/store-d20ae78f.js.gz +0 -0
- package/dist/cjs/store-d20ae78f.js.map +1 -0
- package/dist/cjs/{utils-151d3b05.js → utils-332e41b3.js} +83 -7
- package/dist/cjs/utils-332e41b3.js.br +0 -0
- package/dist/cjs/utils-332e41b3.js.gz +0 -0
- package/dist/cjs/utils-332e41b3.js.map +1 -0
- package/dist/collection/collection-manifest.json +10 -2
- package/dist/collection/components/grw-app/grw-app.css +48 -110
- 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 +245 -66
- 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 +75 -0
- 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 +73 -8
- 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-filters/grw-filters.css +123 -0
- package/dist/collection/components/grw-filters/grw-filters.css.br +0 -0
- package/dist/collection/components/grw-filters/grw-filters.css.gz +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js +108 -0
- package/dist/collection/components/grw-filters/grw-filters.js.br +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js.gz +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js.map +1 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js +1 -1
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.br +0 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.gz +0 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.map +1 -1
- package/dist/collection/components/grw-map/grw-map.css +142 -14
- 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 +474 -30
- 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-search/grw-search.js +8 -3
- package/dist/collection/components/grw-search/grw-search.js.br +0 -0
- package/dist/collection/components/grw-search/grw-search.js.gz +0 -0
- package/dist/collection/components/grw-search/grw-search.js.map +1 -1
- package/dist/collection/components/grw-select-language/grw-select-language.js +1 -1
- 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 -1
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css +671 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js +201 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.map +1 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css +691 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.br +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +244 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css +43 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.br +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.gz +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +220 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.br +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.gz +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.map +1 -0
- package/dist/collection/components/{grw-touristic-content/grw-touristic-content.css → grw-touristic-event/grw-touristic-event-card.css} +43 -12
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js +102 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.map +1 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css +691 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.br +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.gz +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +242 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css +1 -0
- 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 +1 -1
- 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 +20 -6
- 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 +52 -7
- 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 +7 -0
- 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 +1 -1
- 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 +50 -8
- 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 -1
- package/dist/collection/store/grw-touristic-content-provider.js +111 -0
- package/dist/collection/store/grw-touristic-content-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js.map +1 -0
- package/dist/collection/store/grw-touristic-contents-provider.js +117 -0
- package/dist/collection/store/grw-touristic-contents-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-contents-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-contents-provider.js.map +1 -0
- package/dist/collection/store/grw-touristic-event-provider.js +111 -0
- package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-event-provider.js.map +1 -0
- package/dist/collection/store/grw-trek-provider.js +11 -3
- 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/store.js +10 -1
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/collection/stories/TrekDetail.stories.js.br +0 -0
- package/dist/collection/stories/TrekDetail.stories.js.gz +0 -0
- package/dist/collection/stories/TreksList.js +2 -2
- 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 +1 -1
- package/dist/collection/stories/TreksList.stories.js.br +0 -0
- package/dist/collection/stories/TreksList.stories.js.gz +0 -0
- package/dist/collection/types/types.js.map +1 -1
- package/dist/collection/utils/utils.js +77 -3
- package/dist/collection/utils/utils.js.br +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/esm/{css-shim-8cc70a22.js → css-shim-fa54d62f.js} +2 -2
- package/dist/esm/css-shim-fa54d62f.js.br +0 -0
- package/dist/esm/css-shim-fa54d62f.js.gz +0 -0
- package/dist/esm/{css-shim-8cc70a22.js.map → css-shim-fa54d62f.js.map} +1 -1
- package/dist/esm/{dom-60e3e2ad.js → dom-8de30773.js} +2 -2
- package/dist/esm/dom-8de30773.js.br +0 -0
- package/dist/esm/dom-8de30773.js.gz +0 -0
- package/dist/esm/{dom-60e3e2ad.js.map → dom-8de30773.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 +175 -50
- 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.entry.js +91 -0
- package/dist/esm/grw-filter.entry.js.br +0 -0
- package/dist/esm/grw-filter.entry.js.gz +0 -0
- package/dist/esm/grw-filter.entry.js.map +1 -0
- package/dist/esm/{grw-filter_7.entry.js → grw-filters_12.entry.js} +850 -74
- package/dist/esm/grw-filters_12.entry.js.br +0 -0
- package/dist/esm/grw-filters_12.entry.js.gz +0 -0
- package/dist/esm/grw-filters_12.entry.js.map +1 -0
- package/dist/esm/grw-information-desk_6.entry.js +285 -0
- package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
- package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk_6.entry.js.map +1 -0
- package/dist/esm/grw-select-language.entry.js +3 -3
- package/dist/esm/grw-select-language.entry.js.br +0 -0
- package/dist/esm/grw-select-language.entry.js.gz +0 -0
- package/dist/esm/grw-select-language.entry.js.map +1 -1
- package/dist/esm/grw-touristic-event-card-provider.entry.js +58 -0
- package/dist/esm/grw-touristic-event-card-provider.entry.js.br +0 -0
- package/dist/esm/grw-touristic-event-card-provider.entry.js.gz +0 -0
- package/dist/esm/grw-touristic-event-card-provider.entry.js.map +1 -0
- package/dist/esm/{i18n-16a29f6f.js → i18n-60e9fdd3.js} +51 -9
- package/dist/esm/i18n-60e9fdd3.js.br +0 -0
- package/dist/esm/i18n-60e9fdd3.js.gz +0 -0
- package/dist/esm/i18n-60e9fdd3.js.map +1 -0
- package/dist/esm/{index-82644551.js → index-d5cacae4.js} +3 -3
- package/dist/esm/index-d5cacae4.js.br +0 -0
- package/dist/esm/index-d5cacae4.js.gz +0 -0
- package/dist/esm/{index-82644551.js.map → index-d5cacae4.js.map} +1 -1
- 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/{shadow-css-19be24ee.js → shadow-css-af2290df.js} +2 -2
- package/dist/esm/shadow-css-af2290df.js.br +0 -0
- package/dist/esm/shadow-css-af2290df.js.gz +0 -0
- package/dist/esm/{shadow-css-19be24ee.js.map → shadow-css-af2290df.js.map} +1 -1
- package/dist/esm/{store-6101ed72.js → store-032ab1f5.js} +12 -3
- package/dist/esm/store-032ab1f5.js.br +0 -0
- package/dist/esm/store-032ab1f5.js.gz +0 -0
- package/dist/esm/store-032ab1f5.js.map +1 -0
- package/dist/esm/{utils-83029b76.js → utils-b09ac7c9.js} +80 -6
- package/dist/esm/utils-b09ac7c9.js.br +0 -0
- package/dist/esm/utils-b09ac7c9.js.gz +0 -0
- package/dist/esm/utils-b09ac7c9.js.map +1 -0
- package/dist/esm-es5/{css-shim-8cc70a22.js → css-shim-fa54d62f.js} +1 -1
- package/dist/esm-es5/css-shim-fa54d62f.js.br +0 -0
- package/dist/esm-es5/css-shim-fa54d62f.js.gz +0 -0
- package/dist/esm-es5/{css-shim-8cc70a22.js.map → css-shim-fa54d62f.js.map} +1 -1
- package/dist/esm-es5/{dom-60e3e2ad.js → dom-8de30773.js} +1 -1
- package/dist/esm-es5/dom-8de30773.js.br +0 -0
- package/dist/esm-es5/dom-8de30773.js.gz +0 -0
- package/dist/esm-es5/{dom-60e3e2ad.js.map → dom-8de30773.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.entry.js +3 -0
- package/dist/esm-es5/grw-filter.entry.js.br +0 -0
- package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filter.entry.js.map +1 -0
- package/dist/esm-es5/{grw-filter_7.entry.js → grw-filters_12.entry.js} +4 -4
- package/dist/esm-es5/grw-filters_12.entry.js.br +0 -0
- package/dist/esm-es5/grw-filters_12.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filters_12.entry.js.map +1 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js +2 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.map +1 -0
- package/dist/esm-es5/grw-select-language.entry.js +1 -1
- package/dist/esm-es5/grw-select-language.entry.js.br +0 -0
- package/dist/esm-es5/grw-select-language.entry.js.gz +0 -0
- package/dist/esm-es5/grw-select-language.entry.js.map +1 -1
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js +2 -0
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.br +0 -0
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.gz +0 -0
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.map +1 -0
- package/dist/esm-es5/i18n-60e9fdd3.js +2 -0
- package/dist/esm-es5/i18n-60e9fdd3.js.br +0 -0
- package/dist/esm-es5/i18n-60e9fdd3.js.gz +0 -0
- package/dist/esm-es5/i18n-60e9fdd3.js.map +1 -0
- package/dist/esm-es5/{index-82644551.js → index-d5cacae4.js} +3 -3
- package/dist/esm-es5/index-d5cacae4.js.br +0 -0
- package/dist/esm-es5/index-d5cacae4.js.gz +0 -0
- package/dist/esm-es5/{index-82644551.js.map → index-d5cacae4.js.map} +1 -1
- 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/{shadow-css-19be24ee.js → shadow-css-af2290df.js} +1 -1
- package/dist/esm-es5/shadow-css-af2290df.js.br +0 -0
- package/dist/esm-es5/shadow-css-af2290df.js.gz +0 -0
- package/dist/esm-es5/{shadow-css-19be24ee.js.map → shadow-css-af2290df.js.map} +1 -1
- package/dist/esm-es5/store-032ab1f5.js +2 -0
- package/dist/esm-es5/store-032ab1f5.js.br +0 -0
- package/dist/esm-es5/store-032ab1f5.js.gz +0 -0
- package/dist/esm-es5/store-032ab1f5.js.map +1 -0
- package/dist/esm-es5/utils-b09ac7c9.js +2 -0
- package/dist/esm-es5/utils-b09ac7c9.js.br +0 -0
- package/dist/esm-es5/utils-b09ac7c9.js.gz +0 -0
- package/dist/esm-es5/utils-b09ac7c9.js.map +1 -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-b5fc5b41.js → p-00cfef9b.js} +1 -1
- package/dist/geotrek-rando-widget/p-00cfef9b.js.br +0 -0
- package/dist/geotrek-rando-widget/p-00cfef9b.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-b5fc5b41.js.map → p-00cfef9b.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-048b3a1e.js +2 -0
- package/dist/geotrek-rando-widget/p-048b3a1e.js.br +0 -0
- package/dist/geotrek-rando-widget/p-048b3a1e.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-048b3a1e.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-b4e1f9ae.js → p-0c07a3f0.js} +3 -3
- package/dist/geotrek-rando-widget/p-0c07a3f0.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0c07a3f0.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-b4e1f9ae.js.map → p-0c07a3f0.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js +2 -0
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-1f8e7e57.js +2 -0
- package/dist/geotrek-rando-widget/p-1f8e7e57.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1f8e7e57.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1f8e7e57.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-15fed795.js → p-298a51a3.js} +1 -1
- package/dist/geotrek-rando-widget/p-298a51a3.js.br +0 -0
- package/dist/geotrek-rando-widget/p-298a51a3.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-15fed795.js.map → p-298a51a3.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-388ecec9.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-388ecec9.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-388ecec9.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-388ecec9.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-0f28420f.js → p-50daca95.js} +1 -1
- package/dist/geotrek-rando-widget/p-50daca95.js.br +0 -0
- package/dist/geotrek-rando-widget/p-50daca95.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-0f28420f.js.map → p-50daca95.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-790f5a62.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-790f5a62.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-790f5a62.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-790f5a62.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-7eca502d.js +2 -0
- package/dist/geotrek-rando-widget/p-7eca502d.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7eca502d.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7eca502d.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-42a3c374.system.entry.js → p-8d2cad32.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-634eaa8f.system.js → p-9f1ebb62.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-9f1ebb62.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9f1ebb62.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-634eaa8f.system.js.map → p-9f1ebb62.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-b92fdd4e.system.js +2 -0
- package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-c63228e8.system.js +2 -0
- package/dist/geotrek-rando-widget/p-c63228e8.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c63228e8.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c63228e8.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +2 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-ccf92c36.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-266b2cee.system.js → p-d2c035bc.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-d2c035bc.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d2c035bc.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-266b2cee.system.js.map → p-d2c035bc.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-da75716b.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-63e651bf.system.js → p-f949c1ba.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-f949c1ba.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f949c1ba.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-63e651bf.system.js.map → p-f949c1ba.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js +3 -0
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-2a99981a.system.js → p-fe22d872.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-fe22d872.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fe22d872.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-2a99981a.system.js.map → p-fe22d872.system.js.map} +1 -1
- package/dist/types/components/grw-app/grw-app.d.ts +17 -9
- package/dist/types/components/grw-filter/grw-filter.d.ts +6 -0
- package/dist/types/components/grw-filters/grw-filters.d.ts +13 -0
- package/dist/types/components/grw-map/grw-map.d.ts +24 -2
- package/dist/types/components/grw-touristic-content/{grw-touristic-content.d.ts → grw-touristic-content-card.d.ts} +9 -1
- package/dist/types/components/grw-touristic-content-detail/grw-touristic-content-detail.d.ts +24 -0
- package/dist/types/components/grw-touristic-contents-list/grw-touristic-contents-list.d.ts +20 -0
- package/dist/types/components/grw-touristic-event/grw-touristic-event-card.d.ts +16 -0
- package/dist/types/components/grw-touristic-event-detail/grw-touristic-event-detail.d.ts +24 -0
- package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +10 -1
- package/dist/types/components.d.ts +216 -14
- package/dist/types/i18n/i18n.d.ts +23 -2
- package/dist/types/store/grw-touristic-content-provider.d.ts +12 -0
- package/dist/types/store/grw-touristic-contents-provider.d.ts +12 -0
- package/dist/types/store/grw-touristic-event-provider.d.ts +12 -0
- package/dist/types/store/store.d.ts +21 -3
- package/dist/types/types/types.d.ts +50 -9
- package/dist/types/utils/utils.d.ts +5 -3
- package/package.json +2 -1
- package/dist/cjs/css-shim-541cb78a.js.br +0 -0
- package/dist/cjs/css-shim-541cb78a.js.gz +0 -0
- package/dist/cjs/dom-7f26de17.js.br +0 -0
- package/dist/cjs/dom-7f26de17.js.gz +0 -0
- 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 +0 -1
- package/dist/cjs/grw-information-desk_5.cjs.entry.js +0 -227
- package/dist/cjs/grw-information-desk_5.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk_5.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk_5.cjs.entry.js.map +0 -1
- package/dist/cjs/i18n-691abc83.js.br +0 -0
- package/dist/cjs/i18n-691abc83.js.gz +0 -0
- package/dist/cjs/i18n-691abc83.js.map +0 -1
- package/dist/cjs/index-37f5c77b.js.br +0 -0
- package/dist/cjs/index-37f5c77b.js.gz +0 -0
- package/dist/cjs/shadow-css-2e025b8c.js.br +0 -0
- package/dist/cjs/shadow-css-2e025b8c.js.gz +0 -0
- package/dist/cjs/store-a36efc0f.js.br +0 -0
- package/dist/cjs/store-a36efc0f.js.gz +0 -0
- package/dist/cjs/store-a36efc0f.js.map +0 -1
- package/dist/cjs/utils-151d3b05.js.br +0 -0
- package/dist/cjs/utils-151d3b05.js.gz +0 -0
- package/dist/cjs/utils-151d3b05.js.map +0 -1
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.css.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.js +0 -84
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.map +0 -1
- package/dist/esm/css-shim-8cc70a22.js.br +0 -0
- package/dist/esm/css-shim-8cc70a22.js.gz +0 -0
- package/dist/esm/dom-60e3e2ad.js.br +0 -0
- package/dist/esm/dom-60e3e2ad.js.gz +0 -0
- 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 +0 -1
- package/dist/esm/grw-information-desk_5.entry.js +0 -219
- package/dist/esm/grw-information-desk_5.entry.js.br +0 -0
- package/dist/esm/grw-information-desk_5.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk_5.entry.js.map +0 -1
- package/dist/esm/i18n-16a29f6f.js.br +0 -0
- package/dist/esm/i18n-16a29f6f.js.gz +0 -0
- package/dist/esm/i18n-16a29f6f.js.map +0 -1
- package/dist/esm/index-82644551.js.br +0 -0
- package/dist/esm/index-82644551.js.gz +0 -0
- package/dist/esm/shadow-css-19be24ee.js.br +0 -0
- package/dist/esm/shadow-css-19be24ee.js.gz +0 -0
- package/dist/esm/store-6101ed72.js.br +0 -0
- package/dist/esm/store-6101ed72.js.gz +0 -0
- package/dist/esm/store-6101ed72.js.map +0 -1
- package/dist/esm/utils-83029b76.js.br +0 -0
- package/dist/esm/utils-83029b76.js.gz +0 -0
- package/dist/esm/utils-83029b76.js.map +0 -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/dom-60e3e2ad.js.br +0 -0
- package/dist/esm-es5/dom-60e3e2ad.js.gz +0 -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 +0 -1
- package/dist/esm-es5/grw-information-desk_5.entry.js +0 -2
- package/dist/esm-es5/grw-information-desk_5.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk_5.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk_5.entry.js.map +0 -1
- package/dist/esm-es5/i18n-16a29f6f.js +0 -2
- package/dist/esm-es5/i18n-16a29f6f.js.br +0 -0
- package/dist/esm-es5/i18n-16a29f6f.js.gz +0 -0
- package/dist/esm-es5/i18n-16a29f6f.js.map +0 -1
- package/dist/esm-es5/index-82644551.js.br +0 -0
- package/dist/esm-es5/index-82644551.js.gz +0 -0
- 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/store-6101ed72.js +0 -2
- package/dist/esm-es5/store-6101ed72.js.br +0 -0
- package/dist/esm-es5/store-6101ed72.js.gz +0 -0
- package/dist/esm-es5/store-6101ed72.js.map +0 -1
- package/dist/esm-es5/utils-83029b76.js +0 -2
- package/dist/esm-es5/utils-83029b76.js.br +0 -0
- package/dist/esm-es5/utils-83029b76.js.gz +0 -0
- package/dist/esm-es5/utils-83029b76.js.map +0 -1
- package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.map +0 -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-1266b9a7.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-148f5f1d.system.js +0 -2
- package/dist/geotrek-rando-widget/p-148f5f1d.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-148f5f1d.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-148f5f1d.system.js.map +0 -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-266b2cee.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-266b2cee.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-291b7192.system.js +0 -2
- package/dist/geotrek-rando-widget/p-291b7192.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-291b7192.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-291b7192.system.js.map +0 -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-370f741f.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-370f741f.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-370f741f.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-370f741f.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-5a6577cd.js +0 -2
- package/dist/geotrek-rando-widget/p-5a6577cd.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5a6577cd.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5a6577cd.js.map +0 -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-63e651bf.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-63e651bf.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6d738828.system.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-6fe69455.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-6fe69455.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6fe69455.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6fe69455.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-703802d9.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-703802d9.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-703802d9.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-703802d9.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-b4e1f9ae.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b4e1f9ae.js.gz +0 -0
- 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-bacd6952.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-bacd6952.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bacd6952.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bacd6952.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-d0083a9b.js +0 -2
- package/dist/geotrek-rando-widget/p-d0083a9b.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d0083a9b.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d0083a9b.js.map +0 -1
- package/dist/geotrek-rando-widget/p-e653caed.js +0 -2
- package/dist/geotrek-rando-widget/p-e653caed.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e653caed.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e653caed.js.map +0 -1
- package/dist/geotrek-rando-widget/p-fe1917d3.system.js +0 -2
- package/dist/geotrek-rando-widget/p-fe1917d3.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fe1917d3.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-fe1917d3.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-ff9cac04.system.js +0 -2
- package/dist/geotrek-rando-widget/p-ff9cac04.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ff9cac04.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ff9cac04.system.js.map +0 -1
|
@@ -1,43 +1,59 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, H as Host, i as getAssetPath, g as getElement } from './index-d5cacae4.js';
|
|
2
|
+
import { t as translate } from './i18n-60e9fdd3.js';
|
|
3
|
+
import { s as state, o as onChange, r as reset } from './store-032ab1f5.js';
|
|
4
|
+
import { t as treksFilters, h as handleTreksFiltersAndSearch, a as touristicContentsFilters, b as handleTouristicContentsFiltersAndSearch, f as formatDuration, c as formatLength, d as formatAscent } from './utils-b09ac7c9.js';
|
|
5
5
|
import { g as getWindow, n as nextTick, a as now, e as elementTransitionEnd, S as Swiper, N as Navigation, P as Pagination, K as Keyboard } from './pagination-24051620.js';
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const grwFiltersCss = ".options-container{height:100%;position:absolute;width:100%;z-index:1100;top:0px}.filters-container{background-color:var(--color-background);position:relative;width:100%;height:100%;z-index:1100}.filters-container .filters-treks-container,.filters-container .filters-touristic-contents-container{height:100%}.filters-container .segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.filters-container .segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.filters-container .segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.filters-container .segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.filters-container .segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.filters-container .segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}.filters-segment-container{overflow-y:visible;height:100%;max-height:calc(100% - 64px - 42px - 32px)}.back-filters-container{background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%;position:absolute;z-index:1099}.divider{margin:16px;border-top:1px solid var(--color-outline)}.filters-options-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;margin:0px 16px}.filters-options-container .filters-options-buttons-container{display:-ms-flexbox;display:flex}.filters-options-container .filters-options-buttons-container .filter-option-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;margin:8px 0px 0px 8px;padding:8px 16px;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary);background-color:transparent}.segment-container{overflow:scroll;height:100%}.filter-container:not(:last-child)::after{content:\"\";display:block;margin:16px;border-top:1px solid var(--color-outline)}.filter-container:last-child{margin-bottom:16px}";
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const GrwFilters = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
registerInstance(this, hostRef);
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
15
|
-
this.segment = undefined;
|
|
12
|
+
this.resetFilter = createEvent(this, "resetFilter", 7);
|
|
13
|
+
this.selectedSegment = 'selectedActivitiesFilters';
|
|
14
|
+
this.handleFilters = undefined;
|
|
16
15
|
}
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
handleEraseTreksFilters() {
|
|
17
|
+
treksFilters.forEach(filter => {
|
|
18
|
+
state[filter.property].forEach(currentFilter => (currentFilter.selected = false));
|
|
19
|
+
});
|
|
20
|
+
state.selectedActivitiesFilters = 0;
|
|
21
|
+
state.selectedThemesFilters = 0;
|
|
22
|
+
state.selectedLocationFilters = 0;
|
|
23
|
+
state.currentTreks = handleTreksFiltersAndSearch();
|
|
24
|
+
this.resetFilter.emit();
|
|
25
|
+
}
|
|
26
|
+
handleOkTreksFilters() {
|
|
27
|
+
this.handleFilters();
|
|
28
|
+
}
|
|
29
|
+
handleSelectedSegment(selectedSegment) {
|
|
30
|
+
this.selectedSegment = selectedSegment;
|
|
31
|
+
}
|
|
32
|
+
handleSegment(segment) {
|
|
33
|
+
if (state.mode === 'treks') {
|
|
34
|
+
return treksFilters.filter(filter => filter.segment === segment).some(filter => state[filter.property] && state[filter.property].length > 0);
|
|
35
|
+
}
|
|
36
|
+
else if (state.mode === 'touristicContents') {
|
|
37
|
+
return touristicContentsFilters.filter(filter => filter.segment === segment).some(filter => state[filter.property] && state[filter.property].length > 0);
|
|
38
|
+
}
|
|
19
39
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.selected;
|
|
24
|
-
state[this.filterType] = filterFromState;
|
|
25
|
-
state[this.segment] = 0;
|
|
26
|
-
filters
|
|
27
|
-
.filter(filter => filter.segment === this.segment)
|
|
28
|
-
.forEach(filter => {
|
|
29
|
-
state[this.segment] += state[filter.property].filter(filter => filter.selected).length;
|
|
40
|
+
handleEraseTouristicContentsFilters() {
|
|
41
|
+
touristicContentsFilters.forEach(filter => {
|
|
42
|
+
state[filter.property].forEach(currentFilter => (currentFilter.selected = false));
|
|
30
43
|
});
|
|
31
|
-
state.
|
|
44
|
+
state.selectedActivitiesFilters = 0;
|
|
45
|
+
state.selectedLocationFilters = 0;
|
|
46
|
+
state.currentTouristicContents = handleTouristicContentsFiltersAndSearch();
|
|
47
|
+
this.resetFilter.emit();
|
|
32
48
|
}
|
|
33
|
-
|
|
34
|
-
|
|
49
|
+
handleOkTouristicContentsFilters() {
|
|
50
|
+
this.handleFilters();
|
|
35
51
|
}
|
|
36
52
|
render() {
|
|
37
|
-
return (h(Host, {
|
|
53
|
+
return (h(Host, null, h("div", { class: "options-container" }, h("div", { class: "filters-container" }, state.mode === 'treks' && (h("div", { class: "filters-treks-container" }, h("div", { class: "filters-options-container" }, state.treksWithinBounds && (h("div", { class: "current-treks-within-bounds-length" }, `${state.treksWithinBounds.length} ${state.treksWithinBounds.length > 1 ? translate[state.language].treks : translate[state.language].trek}`)), h("div", { class: "filters-options-buttons-container" }, h("button", { class: "filter-option-button", onClick: () => this.handleEraseTreksFilters() }, translate[state.language].erase), h("button", { class: "filter-option-button", onClick: () => this.handleOkTreksFilters() }, translate[state.language].ok))), h("div", { class: "segmented-buttons-container" }, this.handleSegment('selectedActivitiesFilters') && (h("label", { class: `segment${this.selectedSegment === 'selectedActivitiesFilters' ? ' selected-segment' : ''}`, onClick: () => this.handleSelectedSegment('selectedActivitiesFilters') }, translate[state.language].activities, " ", state.selectedActivitiesFilters !== 0 && `(${state.selectedActivitiesFilters})`)), this.handleSegment('selectedThemesFilters') && (h("label", { class: `segment${this.selectedSegment === 'selectedThemesFilters' ? ' selected-segment' : ''}`, onClick: () => this.handleSelectedSegment('selectedThemesFilters') }, translate[state.language].themes, " ", state.selectedThemesFilters !== 0 && `(${state.selectedThemesFilters})`)), this.handleSegment('selectedLocationFilters') && (h("label", { class: `segment${this.selectedSegment === 'selectedLocationFilters' ? ' selected-segment' : ''}`, onClick: () => this.handleSelectedSegment('selectedLocationFilters') }, translate[state.language].location, " ", state.selectedLocationFilters !== 0 && `(${state.selectedLocationFilters})`))), h("div", { class: "filters-segment-container" }, this.selectedSegment === 'selectedActivitiesFilters' && (h("div", { key: "treks-activities-segment-container", class: "segment-container" }, state['practices'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].practice, filterType: "practices", filterNameProperty: "name", segment: "selectedActivitiesFilters" }))), state['difficulties'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].difficulty, filterType: "difficulties", filterNameProperty: "label", segment: "selectedActivitiesFilters" }))), state['durations'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].duration, filterType: "durations", filterNameProperty: "name", segment: "selectedActivitiesFilters" }))), state['lengths'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].length, filterType: "lengths", filterNameProperty: "name", segment: "selectedActivitiesFilters" }))), state['elevations'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].elevation, filterType: "elevations", filterNameProperty: "name", segment: "selectedActivitiesFilters" }))), state['routes'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].routes, filterType: "routes", filterNameProperty: "route", segment: "selectedActivitiesFilters" }))), state['accessibilities'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].accessibility, filterType: "accessibilities", filterNameProperty: "name", segment: "selectedActivitiesFilters" }))), state['labels'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].activities, filterType: "labels", filterNameProperty: "name", segment: "selectedActivitiesFilters" }))))), this.selectedSegment === 'selectedThemesFilters' && (h("div", { key: "treks-themes-segment-container", class: "segment-container" }, state['themes'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].themes, filterPlaceholder: translate[state.language].placeholderThemes, filterType: "themes", filterNameProperty: "label", segment: "selectedThemesFilters" }))))), this.selectedSegment === 'selectedLocationFilters' && (h("div", { key: "treks-location-segment-container", class: "segment-container" }, state['districts'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].districts, filterType: "districts", filterNameProperty: "name", segment: "selectedLocationFilters" }))), state['cities'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].crossedCities, filterPlaceholder: translate[state.language].placeholderCrossedCities, filterType: "cities", filterNameProperty: "name", segment: "selectedLocationFilters" })))))))), state.mode === 'touristicContents' && (h("div", { class: "filters-touristic-contents-container" }, h("div", { class: "filters-options-container" }, state.touristicContentsWithinBounds && (h("div", { class: "current-treks-within-bounds-length" }, `${state.touristicContentsWithinBounds.length} ${state.touristicContentsWithinBounds.length > 1 ? translate[state.language].home.touristicContents : translate[state.language].home.touristicContent}`)), h("div", { class: "filters-options-buttons-container" }, h("button", { class: "filter-option-button", onClick: () => this.handleEraseTouristicContentsFilters() }, translate[state.language].erase), h("button", { class: "filter-option-button", onClick: () => this.handleOkTouristicContentsFilters() }, translate[state.language].ok))), h("div", { class: "segmented-buttons-container" }, this.handleSegment('selectedActivitiesFilters') && (h("label", { class: `segment${this.selectedSegment === 'selectedActivitiesFilters' ? ' selected-segment' : ''}`, onClick: () => this.handleSelectedSegment('selectedActivitiesFilters') }, translate[state.language].services, " ", state.selectedActivitiesFilters !== 0 && `(${state.selectedActivitiesFilters})`)), this.handleSegment('selectedLocationFilters') && (h("label", { class: `segment${this.selectedSegment === 'selectedLocationFilters' ? ' selected-segment' : ''}`, onClick: () => this.handleSelectedSegment('selectedLocationFilters') }, translate[state.language].location, " ", state.selectedLocationFilters !== 0 && `(${state.selectedLocationFilters})`))), h("div", { class: "filters-segment-container" }, this.selectedSegment === 'selectedActivitiesFilters' && (h("div", { key: "touristic-contents-activities-segment-container", class: "segment-container" }, state['touristicContentCategories'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].category, filterType: "touristicContentCategories", filterNameProperty: "label", segment: "selectedActivitiesFilters" }))))), this.selectedSegment === 'selectedLocationFilters' && (h("div", { key: "touristic-contents-location-segment-container", class: "segment-container" }, state['districts'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].districts, filterType: "districts", filterNameProperty: "name", segment: "selectedLocationFilters" }))), state['cities'].length > 0 && (h("div", { class: "filter-container" }, h("grw-filter", { filterName: translate[state.language].crossedCities, filterPlaceholder: translate[state.language].placeholderCrossedCities, filterType: "cities", filterNameProperty: "name", segment: "selectedLocationFilters" }))))))))), h("div", { onClick: () => this.handleFilters(), class: "back-filters-container" }))));
|
|
38
54
|
}
|
|
39
55
|
};
|
|
40
|
-
|
|
56
|
+
GrwFilters.style = grwFiltersCss;
|
|
41
57
|
|
|
42
58
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
43
59
|
|
|
@@ -18826,15 +18842,18 @@ function getTrekGeometry(id) {
|
|
|
18826
18842
|
return fetch(`${state.api}trek/${id}/?language=${state.language}&published=true&fields=geometry`, { cache: 'default' }).then(response => response.json());
|
|
18827
18843
|
}
|
|
18828
18844
|
|
|
18829
|
-
const grwMapCss = "@charset \"UTF-8\";.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 img.leaflet-tile{mix-blend-mode:plus-lighter}.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}}.leaflet-control-locate a{cursor:pointer}.leaflet-control-locate a .leaflet-control-locate-location-arrow{display:inline-block;width:16px;height:16px;margin:7px;background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"black\" d=\"M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z\"/></svg>')}.leaflet-control-locate a .leaflet-control-locate-spinner{display:inline-block;width:16px;height:16px;margin:7px;background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"black\" d=\"M304 48a48 48 0 1 1-96 0 48 48 0 0 1 96 0zm-48 368a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm208-208a48 48 0 1 0 0 96 48 48 0 0 0 0-96zM96 256a48 48 0 1 0-96 0 48 48 0 0 0 96 0zm13 99a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm294 0a48 48 0 1 0 0 96 48 48 0 0 0 0-96zM109 61a48 48 0 1 0 0 96 48 48 0 0 0 0-96z\"/></svg>');-webkit-animation:leaflet-control-locate-spin 2s linear infinite;animation:leaflet-control-locate-spin 2s linear infinite}.leaflet-control-locate.active a .leaflet-control-locate-location-arrow{background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"rgb(32, 116, 182)\" d=\"M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z\"/></svg>')}.leaflet-control-locate.following a .leaflet-control-locate-location-arrow{background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"rgb(252, 132, 40)\" d=\"M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z\"/></svg>')}.leaflet-touch .leaflet-bar .leaflet-locate-text-active{width:100%;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 10px}.leaflet-touch .leaflet-bar .leaflet-locate-text-active .leaflet-locate-icon{padding:0 5px 0 0}.leaflet-control-locate-location circle{-webkit-animation:leaflet-control-locate-throb 4s ease infinite;animation:leaflet-control-locate-throb 4s ease infinite}@-webkit-keyframes leaflet-control-locate-throb{0%{stroke-width:1}50%{stroke-width:3;-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}100%{stroke-width:1}}@keyframes leaflet-control-locate-throb{0%{stroke-width:1}50%{stroke-width:3;-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}100%{stroke-width:1}}@-webkit-keyframes leaflet-control-locate-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes leaflet-control-locate-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.leaflet-hidden{visibility:hidden}.legend{cursor:pointer}.leaflet-container{z-index:0}.elevation-control .background{background-color:var(--ele-bg, rgba(70, 130, 180, 0.2));border-radius:5px;display:block;max-width:100%;overflow:visible;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.elevation-control .area>foreignObject,.elevation-control .axis,.elevation-control .grid,.elevation-control .tooltip,.height-focus.line{pointer-events:none}.elevation-control .axis line,.elevation-control .axis path{stroke:var(--ele-axis, #2d1130);stroke-width:1;fill:none}.elevation-control .grid .tick line{stroke:var(--ele-grid, #eee);stroke-width:1px;shape-rendering:crispEdges}.elevation-control .grid path{stroke-width:0}.elevation-control .axis text,.elevation-control .legend text,.elevation-control .point text{fill:#000;stroke:#fff;stroke-width:2px;font-weight:700;paint-order:stroke fill}.elevation-control .y.axis text{text-anchor:end}.elevation-control .area{fill:var(--ele-area, #4682b4);stroke:var(--ele-stroke, #000);stroke-width:1.2;paint-order:stroke fill}.elevation-control .horizontal-drag-line{stroke:transparent;stroke-dasharray:5;stroke-width:1.1;cursor:row-resize}.elevation-control .active .horizontal-drag-line{stroke:#000}.elevation-control .horizontal-drag-label{fill:#000;stroke:#fff;stroke-width:2px;font-weight:700;paint-order:stroke}.elevation-control .ruler{color:#000;cursor:row-resize}.elevation-control .mouse-focus-line{stroke:#000;stroke-width:1}.elevation-control .mouse-focus-label-rect{fill:#000;fill-opacity:0.75;stroke-width:1;stroke:#444}.elevation-control .mouse-focus-label-text{fill:#fff;font-size:10px}.elevation-control .brush .overlay{cursor:unset}.elevation-control .brush .selection{fill:var(--ele-brush, rgba(23, 74, 117, 0.4));stroke:none;fill-opacity:unset}.elevation-summary{font-family:Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif;font-size:12px;margin:var(--ele-sum-margin, 0 auto);text-shadow:var(--ele-sum-shadow, 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff)}.elevation-summary>span:not(:last-child):after{content:var(--ele-sum-sep, \"\")}.multiline-summary>span{display:block}.multiline-summary .download{float:right;font-size:1.2em;font-weight:700;margin-right:2em;margin-top:-3em}.elevation-summary .summaryvalue{font-weight:700}.elevation-toggle-icon{background-color:#fff;border-radius:5px;-webkit-box-shadow:0 1px 7px rgba(0, 0, 0, 0.4);box-shadow:0 1px 7px rgba(0, 0, 0, 0.4);cursor:pointer;display:inline-block;height:var(--ele-toggle-size, 36px);position:var(--ele-toggle-pos, relative);right:5px;top:5px;width:var(--ele-toggle-size, 36px)}.elevation-toggle-icon:before{color:#000;content:\"✖\";display:var(--ele-close-btn, none);font-size:15px;font-weight:700;line-height:20px;text-align:center;width:100%}.leaflet-elevation-pane .height-focus,.leaflet-overlay-pane .height-focus{stroke:#000;fill:var(--ele-circle, var(--ele-area, #fff))}.leaflet-elevation-pane .height-focus.line,.leaflet-overlay-pane .height-focus.line{stroke-width:2}.leaflet-elevation-pane .height-focus-label,.leaflet-overlay-pane .height-focus-label{fill:#000;stroke:#fff;stroke-width:2px;font-size:12px;font-weight:600;paint-order:stroke}.elevation-position-icon:before,.elevation-waypoint-icon:before{background:var(--ele-marker) no-repeat center center/contain;content:\"\";display:inline-block;height:100%;width:100%}.elevation-polyline{stroke:var(--ele-poly, var(--ele-area, #000));-webkit-filter:drop-shadow(1px 1px 0 #FFF) drop-shadow(-1px -1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(-1px 1px 0 #FFF);filter:drop-shadow(1px 1px 0 #FFF) drop-shadow(-1px -1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(-1px 1px 0 #FFF)}.elevation-detached{font:12px/1.5 Helvetica Neue, Arial, Helvetica, sans-serif;height:auto;position:relative;width:100%;z-index:0}.elevation-detached .area{fill-opacity:var(--ele-alpha, 0.8)}.elevation-detached.elevation-collapsed .elevation-summary{display:block}.elevation-detached.elevation-collapsed .elevation-toggle-icon{bottom:5px;margin:auto;right:9px;top:5px}.elevation-control.elevation-collapsed>*{display:none}.elevation-control.elevation-collapsed>.elevation-toggle-icon{display:inline-block}.elevation-detached{--ele-sum-margin:12px 35px;--ele-sum-shadow:none;--ele-toggle-pos:absolute}.elevation-expanded{--ele-close-btn:inline-block;--ele-toggle-bg:none;--ele-toggle-pos:absolute;--ele-toggle-size:20px}.inline-summary{--ele-sum-sep:\" — \"}.elevation-waypoint-icon{--ele-marker:url(../images/elevation-pushpin.svg)}.elevation-position-icon{--ele-marker:url(../images/elevation-position.svg)}.lime-theme{--ele-bg:rgba(156,194,34,.2);--ele-axis:#566b13;--ele-area:#9cc222;--ele-grid:#ccc;--ele-brush:rgba(99,126,11,.4);--ele-poly:#566b13;--ele-line:#70ab00}.steelblue-theme{--ele-axis:#0d1821;--ele-area:#4682b4;--ele-brush:rgba(23,74,117,.4);--ele-line:#174a75}.purple-theme{--ele-bg:rgba(115,44,123,.2);--ele-area:#732c7b;--ele-brush:rgba(74,14,80,.4);--ele-line:#732c7b}.yellow-theme{--ele-area:#ff0}.red-theme{--ele-area:red}.magenta-theme{--ele-bg:hsla(0,0%,100%,.47);--ele-area:#ff005e}.lightblue-theme{--ele-area:#36c;--ele-alpha:0.45;--ele-stroke:#4682b4;--ele-circle:#fff;--ele-line:#000}.elevation-detached.lightblue-theme .area{stroke:#36c}.dist-marker{background:#fff;border:1px solid #777;border-radius:10px;color:#000;font-size:0.5rem;text-align:center}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform 0.3s ease-out, opacity 0.3s ease-in;-moz-transition:-moz-transform 0.3s ease-out, opacity 0.3s ease-in;-o-transition:-o-transform 0.3s ease-out, opacity 0.3s ease-in;-webkit-transition:opacity 0.3s ease-in, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-in, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-in;transition:transform 0.3s ease-out, opacity 0.3s ease-in, -webkit-transform 0.3s ease-out}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;-moz-transition:-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;-o-transition:-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;-webkit-transition:stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;transition:stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}#map{position:relative;font-family:\"Roboto\";display:block}.leaflet-retina .leaflet-control-layers-toggle{background-image:var(--layers-image-src)}.treks-map{height:100%}.trek-map{height:calc(100% - 250px - var(--map-bottom-space-height))}#elevation{position:relative;background-color:#ffffff}.elevation-control .background{border-radius:0px}.custom-theme.elevation-control .axis text{fill:var(--color-on-surface)}.custom-theme.elevation-control .axis line,.custom-theme.elevation-control .axis path{stroke:var(--color-on-surface)}.custom-theme.elevation-control .mouse-focus-label-rect{fill:var(--color-primary-container);stroke:var(--color-on-primary-container)}.custom-theme.elevation-control .mouse-focus-label-text{fill:var(--color-on-primary-container)}.custom-theme.elevation-control .background{background-color:var(--color-background)}.custom-theme.elevation-control .mouse-focus-line{stroke:var(--color-on-surface)}.use-theme-color.elevation-control .area path.altitude,.use-theme-color .legend-altitude rect.area{fill:var(--color-primary-app);stroke:var(--color-trek-line)}.custom-theme.height-focus.circle-lower{fill:#ffffff;stroke:var(--color-on-surface)}.custom-theme.elevation-polyline{stroke:var(--color-trek-line)}.custom-theme.height-focus.line,.custom-theme.height-focus-label{display:none}.treks-marker-cluster-group-icon{background-color:var(--color-primary-app);border-radius:50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:var(--color-on-primary);font-size:16px}.trek-marker .trek-marker-container,.trek-marker .step-marker-container,.step-marker .trek-marker-container,.step-marker .step-marker-container,.selected-trek-marker .trek-marker-container,.selected-trek-marker .step-marker-container,.selected-step-marker .trek-marker-container,.selected-step-marker .step-marker-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:50% 50% 50% 0;border:2px solid #ffffff;width:32px;height:32px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.trek-marker .trek-marker-container img,.trek-marker .trek-marker-container .step-number,.trek-marker .step-marker-container img,.trek-marker .step-marker-container .step-number,.step-marker .trek-marker-container img,.step-marker .trek-marker-container .step-number,.step-marker .step-marker-container img,.step-marker .step-marker-container .step-number,.selected-trek-marker .trek-marker-container img,.selected-trek-marker .trek-marker-container .step-number,.selected-trek-marker .step-marker-container img,.selected-trek-marker .step-marker-container .step-number,.selected-step-marker .trek-marker-container img,.selected-step-marker .trek-marker-container .step-number,.selected-step-marker .step-marker-container img,.selected-step-marker .step-marker-container .step-number{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;z-index:20;width:24px !important}.trek-marker .trek-marker-container,.step-marker .trek-marker-container,.selected-trek-marker .trek-marker-container,.selected-step-marker .trek-marker-container{background-color:var(--color-surface)}.trek-marker .step-marker-container,.step-marker .step-marker-container,.selected-trek-marker .step-marker-container,.selected-step-marker .step-marker-container{background-color:var(--color-surface-variant)}.selected-trek-marker .trek-marker-container,.selected-trek-marker .step-marker-container,.selected-step-marker .trek-marker-container,.selected-step-marker .step-marker-container{width:64px;height:64px}.selected-trek-marker .trek-marker-container img,.selected-trek-marker .trek-marker-container .step-number,.selected-trek-marker .step-marker-container img,.selected-trek-marker .step-marker-container .step-number,.selected-step-marker .trek-marker-container img,.selected-step-marker .trek-marker-container .step-number,.selected-step-marker .step-marker-container img,.selected-step-marker .step-marker-container .step-number{width:48px !important}.step-marker,.selected-step-marker{color:var(--color-on-surface-variant)}.map-loader-container{position:absolute;z-index:500;width:100%;height:100%;background-color:var(--color-background);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-container);border-bottom-color:var(--color-on-primary-container);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}.trek-departure-popup img{border-top-left-radius:8px;border-top-right-radius:8px}.trek-departure-popup .trek-name{font-weight:400;font-size:16px;line-height:24px;padding:8px}.trek-departure-popup .trek-button{margin:0px 8px 8px 8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.poi-tooltip .poi-name,.poi-tooltip .information-desks-name,.poi-tooltip .sensitive-area-name,.poi-tooltip .touristic-content-name,.information-desks-tooltip .poi-name,.information-desks-tooltip .information-desks-name,.information-desks-tooltip .sensitive-area-name,.information-desks-tooltip .touristic-content-name,.sensitive-area-tooltip .poi-name,.sensitive-area-tooltip .information-desks-name,.sensitive-area-tooltip .sensitive-area-name,.sensitive-area-tooltip .touristic-content-name{color:var(--color-primary-app);font-weight:400;font-size:16px;line-height:24px}.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,.touristic-content-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,.touristic-content-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:48px;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:24px;color:#ffffff}.map-bottom-space{min-height:var(--map-bottom-space-height);height:var(--map-bottom-space-height);width:100%;background-color:var(--color-background)}.leaflet-popup-content-wrapper{cursor:default;padding:0px;background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}";
|
|
18845
|
+
const grwMapCss = "@charset \"UTF-8\";.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 img.leaflet-tile{mix-blend-mode:plus-lighter}.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}}.leaflet-control-locate a{cursor:pointer}.leaflet-control-locate a .leaflet-control-locate-location-arrow{display:inline-block;width:16px;height:16px;margin:7px;background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"black\" d=\"M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z\"/></svg>')}.leaflet-control-locate a .leaflet-control-locate-spinner{display:inline-block;width:16px;height:16px;margin:7px;background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"black\" d=\"M304 48a48 48 0 1 1-96 0 48 48 0 0 1 96 0zm-48 368a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm208-208a48 48 0 1 0 0 96 48 48 0 0 0 0-96zM96 256a48 48 0 1 0-96 0 48 48 0 0 0 96 0zm13 99a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm294 0a48 48 0 1 0 0 96 48 48 0 0 0 0-96zM109 61a48 48 0 1 0 0 96 48 48 0 0 0 0-96z\"/></svg>');-webkit-animation:leaflet-control-locate-spin 2s linear infinite;animation:leaflet-control-locate-spin 2s linear infinite}.leaflet-control-locate.active a .leaflet-control-locate-location-arrow{background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"rgb(32, 116, 182)\" d=\"M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z\"/></svg>')}.leaflet-control-locate.following a .leaflet-control-locate-location-arrow{background-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"rgb(252, 132, 40)\" d=\"M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z\"/></svg>')}.leaflet-touch .leaflet-bar .leaflet-locate-text-active{width:100%;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 10px}.leaflet-touch .leaflet-bar .leaflet-locate-text-active .leaflet-locate-icon{padding:0 5px 0 0}.leaflet-control-locate-location circle{-webkit-animation:leaflet-control-locate-throb 4s ease infinite;animation:leaflet-control-locate-throb 4s ease infinite}@-webkit-keyframes leaflet-control-locate-throb{0%{stroke-width:1}50%{stroke-width:3;-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}100%{stroke-width:1}}@keyframes leaflet-control-locate-throb{0%{stroke-width:1}50%{stroke-width:3;-webkit-transform:scale(0.8, 0.8);transform:scale(0.8, 0.8)}100%{stroke-width:1}}@-webkit-keyframes leaflet-control-locate-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes leaflet-control-locate-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.leaflet-hidden{visibility:hidden}.legend{cursor:pointer}.leaflet-container{z-index:0}.elevation-control .background{background-color:var(--ele-bg, rgba(70, 130, 180, 0.2));border-radius:5px;display:block;max-width:100%;overflow:visible;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.elevation-control .area>foreignObject,.elevation-control .axis,.elevation-control .grid,.elevation-control .tooltip,.height-focus.line{pointer-events:none}.elevation-control .axis line,.elevation-control .axis path{stroke:var(--ele-axis, #2d1130);stroke-width:1;fill:none}.elevation-control .grid .tick line{stroke:var(--ele-grid, #eee);stroke-width:1px;shape-rendering:crispEdges}.elevation-control .grid path{stroke-width:0}.elevation-control .axis text,.elevation-control .legend text,.elevation-control .point text{fill:#000;stroke:#fff;stroke-width:2px;font-weight:700;paint-order:stroke fill}.elevation-control .y.axis text{text-anchor:end}.elevation-control .area{fill:var(--ele-area, #4682b4);stroke:var(--ele-stroke, #000);stroke-width:1.2;paint-order:stroke fill}.elevation-control .horizontal-drag-line{stroke:transparent;stroke-dasharray:5;stroke-width:1.1;cursor:row-resize}.elevation-control .active .horizontal-drag-line{stroke:#000}.elevation-control .horizontal-drag-label{fill:#000;stroke:#fff;stroke-width:2px;font-weight:700;paint-order:stroke}.elevation-control .ruler{color:#000;cursor:row-resize}.elevation-control .mouse-focus-line{stroke:#000;stroke-width:1}.elevation-control .mouse-focus-label-rect{fill:#000;fill-opacity:0.75;stroke-width:1;stroke:#444}.elevation-control .mouse-focus-label-text{fill:#fff;font-size:10px}.elevation-control .brush .overlay{cursor:unset}.elevation-control .brush .selection{fill:var(--ele-brush, rgba(23, 74, 117, 0.4));stroke:none;fill-opacity:unset}.elevation-summary{font-family:Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif;font-size:12px;margin:var(--ele-sum-margin, 0 auto);text-shadow:var(--ele-sum-shadow, 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff)}.elevation-summary>span:not(:last-child):after{content:var(--ele-sum-sep, \"\")}.multiline-summary>span{display:block}.multiline-summary .download{float:right;font-size:1.2em;font-weight:700;margin-right:2em;margin-top:-3em}.elevation-summary .summaryvalue{font-weight:700}.elevation-toggle-icon{background-color:#fff;border-radius:5px;-webkit-box-shadow:0 1px 7px rgba(0, 0, 0, 0.4);box-shadow:0 1px 7px rgba(0, 0, 0, 0.4);cursor:pointer;display:inline-block;height:var(--ele-toggle-size, 36px);position:var(--ele-toggle-pos, relative);right:5px;top:5px;width:var(--ele-toggle-size, 36px)}.elevation-toggle-icon:before{color:#000;content:\"✖\";display:var(--ele-close-btn, none);font-size:15px;font-weight:700;line-height:20px;text-align:center;width:100%}.leaflet-elevation-pane .height-focus,.leaflet-overlay-pane .height-focus{stroke:#000;fill:var(--ele-circle, var(--ele-area, #fff))}.leaflet-elevation-pane .height-focus.line,.leaflet-overlay-pane .height-focus.line{stroke-width:2}.leaflet-elevation-pane .height-focus-label,.leaflet-overlay-pane .height-focus-label{fill:#000;stroke:#fff;stroke-width:2px;font-size:12px;font-weight:600;paint-order:stroke}.elevation-position-icon:before,.elevation-waypoint-icon:before{background:var(--ele-marker) no-repeat center center/contain;content:\"\";display:inline-block;height:100%;width:100%}.elevation-polyline{stroke:var(--ele-poly, var(--ele-area, #000));-webkit-filter:drop-shadow(1px 1px 0 #FFF) drop-shadow(-1px -1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(-1px 1px 0 #FFF);filter:drop-shadow(1px 1px 0 #FFF) drop-shadow(-1px -1px 0 #FFF) drop-shadow(1px -1px 0 #FFF) drop-shadow(-1px 1px 0 #FFF)}.elevation-detached{font:12px/1.5 Helvetica Neue, Arial, Helvetica, sans-serif;height:auto;position:relative;width:100%;z-index:0}.elevation-detached .area{fill-opacity:var(--ele-alpha, 0.8)}.elevation-detached.elevation-collapsed .elevation-summary{display:block}.elevation-detached.elevation-collapsed .elevation-toggle-icon{bottom:5px;margin:auto;right:9px;top:5px}.elevation-control.elevation-collapsed>*{display:none}.elevation-control.elevation-collapsed>.elevation-toggle-icon{display:inline-block}.elevation-detached{--ele-sum-margin:12px 35px;--ele-sum-shadow:none;--ele-toggle-pos:absolute}.elevation-expanded{--ele-close-btn:inline-block;--ele-toggle-bg:none;--ele-toggle-pos:absolute;--ele-toggle-size:20px}.inline-summary{--ele-sum-sep:\" — \"}.elevation-waypoint-icon{--ele-marker:url(../images/elevation-pushpin.svg)}.elevation-position-icon{--ele-marker:url(../images/elevation-position.svg)}.lime-theme{--ele-bg:rgba(156,194,34,.2);--ele-axis:#566b13;--ele-area:#9cc222;--ele-grid:#ccc;--ele-brush:rgba(99,126,11,.4);--ele-poly:#566b13;--ele-line:#70ab00}.steelblue-theme{--ele-axis:#0d1821;--ele-area:#4682b4;--ele-brush:rgba(23,74,117,.4);--ele-line:#174a75}.purple-theme{--ele-bg:rgba(115,44,123,.2);--ele-area:#732c7b;--ele-brush:rgba(74,14,80,.4);--ele-line:#732c7b}.yellow-theme{--ele-area:#ff0}.red-theme{--ele-area:red}.magenta-theme{--ele-bg:hsla(0,0%,100%,.47);--ele-area:#ff005e}.lightblue-theme{--ele-area:#36c;--ele-alpha:0.45;--ele-stroke:#4682b4;--ele-circle:#fff;--ele-line:#000}.elevation-detached.lightblue-theme .area{stroke:#36c}.dist-marker{background:#fff;border:1px solid #777;border-radius:10px;color:#000;font-size:0.5rem;text-align:center}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{-webkit-transition:-webkit-transform 0.3s ease-out, opacity 0.3s ease-in;-moz-transition:-moz-transform 0.3s ease-out, opacity 0.3s ease-in;-o-transition:-o-transform 0.3s ease-out, opacity 0.3s ease-in;-webkit-transition:opacity 0.3s ease-in, -webkit-transform 0.3s ease-out;transition:opacity 0.3s ease-in, -webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out, opacity 0.3s ease-in;transition:transform 0.3s ease-out, opacity 0.3s ease-in, -webkit-transform 0.3s ease-out}.leaflet-cluster-spider-leg{-webkit-transition:-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;-moz-transition:-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;-o-transition:-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;-webkit-transition:stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;transition:stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}#map{position:relative;font-family:\"Roboto\";display:block}.leaflet-retina .leaflet-control-layers-toggle{background-image:var(--layers-image-src)}.treks-map{height:100%}.trek-map{height:calc(100% - 250px - var(--map-bottom-space-height))}#elevation{position:relative;background-color:#ffffff}.elevation-control .background{border-radius:0px}.custom-theme.elevation-control .axis text{fill:var(--color-on-surface)}.custom-theme.elevation-control .axis line,.custom-theme.elevation-control .axis path{stroke:var(--color-on-surface)}.custom-theme.elevation-control .mouse-focus-label-rect{fill:var(--color-primary-container);stroke:var(--color-on-primary-container)}.custom-theme.elevation-control .mouse-focus-label-text{fill:var(--color-on-primary-container)}.custom-theme.elevation-control .background{background-color:var(--color-background)}.custom-theme.elevation-control .mouse-focus-line{stroke:var(--color-on-surface)}.use-theme-color.elevation-control .area path.altitude,.use-theme-color .legend-altitude rect.area{fill:var(--color-primary-app);stroke:var(--color-trek-line)}.custom-theme.height-focus.circle-lower{fill:#ffffff;stroke:var(--color-on-surface)}.custom-theme.elevation-polyline{stroke:var(--color-trek-line)}.custom-theme.height-focus.line,.custom-theme.height-focus-label{display:none}.treks-marker-cluster-group-icon,.touristic-content-marker-cluster-group-icon{background-color:var(--color-primary-app);border-radius:50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:var(--color-on-primary);font-size:16px}.trek-marker .trek-marker-container,.trek-marker .step-marker-container,.trek-marker .touristic-content-marker-container,.trek-marker .touristic-event-marker-container,.step-marker .trek-marker-container,.step-marker .step-marker-container,.step-marker .touristic-content-marker-container,.step-marker .touristic-event-marker-container,.touristic-content-marker .trek-marker-container,.touristic-content-marker .step-marker-container,.touristic-content-marker .touristic-content-marker-container,.touristic-content-marker .touristic-event-marker-container,.touristic-event-marker .trek-marker-container,.touristic-event-marker .step-marker-container,.touristic-event-marker .touristic-content-marker-container,.touristic-event-marker .touristic-event-marker-container,.selected-trek-marker .trek-marker-container,.selected-trek-marker .step-marker-container,.selected-trek-marker .touristic-content-marker-container,.selected-trek-marker .touristic-event-marker-container,.selected-step-marker .trek-marker-container,.selected-step-marker .step-marker-container,.selected-step-marker .touristic-content-marker-container,.selected-step-marker .touristic-event-marker-container,.selected-touristic-content-marker .trek-marker-container,.selected-touristic-content-marker .step-marker-container,.selected-touristic-content-marker .touristic-content-marker-container,.selected-touristic-content-marker .touristic-event-marker-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:50% 50% 50% 0;border:2px solid #ffffff;width:32px;height:32px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.trek-marker .trek-marker-container img,.trek-marker .trek-marker-container .step-number,.trek-marker .step-marker-container img,.trek-marker .step-marker-container .step-number,.trek-marker .touristic-content-marker-container img,.trek-marker .touristic-content-marker-container .step-number,.trek-marker .touristic-event-marker-container img,.trek-marker .touristic-event-marker-container .step-number,.step-marker .trek-marker-container img,.step-marker .trek-marker-container .step-number,.step-marker .step-marker-container img,.step-marker .step-marker-container .step-number,.step-marker .touristic-content-marker-container img,.step-marker .touristic-content-marker-container .step-number,.step-marker .touristic-event-marker-container img,.step-marker .touristic-event-marker-container .step-number,.touristic-content-marker .trek-marker-container img,.touristic-content-marker .trek-marker-container .step-number,.touristic-content-marker .step-marker-container img,.touristic-content-marker .step-marker-container .step-number,.touristic-content-marker .touristic-content-marker-container img,.touristic-content-marker .touristic-content-marker-container .step-number,.touristic-content-marker .touristic-event-marker-container img,.touristic-content-marker .touristic-event-marker-container .step-number,.touristic-event-marker .trek-marker-container img,.touristic-event-marker .trek-marker-container .step-number,.touristic-event-marker .step-marker-container img,.touristic-event-marker .step-marker-container .step-number,.touristic-event-marker .touristic-content-marker-container img,.touristic-event-marker .touristic-content-marker-container .step-number,.touristic-event-marker .touristic-event-marker-container img,.touristic-event-marker .touristic-event-marker-container .step-number,.selected-trek-marker .trek-marker-container img,.selected-trek-marker .trek-marker-container .step-number,.selected-trek-marker .step-marker-container img,.selected-trek-marker .step-marker-container .step-number,.selected-trek-marker .touristic-content-marker-container img,.selected-trek-marker .touristic-content-marker-container .step-number,.selected-trek-marker .touristic-event-marker-container img,.selected-trek-marker .touristic-event-marker-container .step-number,.selected-step-marker .trek-marker-container img,.selected-step-marker .trek-marker-container .step-number,.selected-step-marker .step-marker-container img,.selected-step-marker .step-marker-container .step-number,.selected-step-marker .touristic-content-marker-container img,.selected-step-marker .touristic-content-marker-container .step-number,.selected-step-marker .touristic-event-marker-container img,.selected-step-marker .touristic-event-marker-container .step-number,.selected-touristic-content-marker .trek-marker-container img,.selected-touristic-content-marker .trek-marker-container .step-number,.selected-touristic-content-marker .step-marker-container img,.selected-touristic-content-marker .step-marker-container .step-number,.selected-touristic-content-marker .touristic-content-marker-container img,.selected-touristic-content-marker .touristic-content-marker-container .step-number,.selected-touristic-content-marker .touristic-event-marker-container img,.selected-touristic-content-marker .touristic-event-marker-container .step-number{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;z-index:20;width:24px !important}.trek-marker .trek-marker-container,.trek-marker .touristic-content-marker-container,.trek-marker .touristic-event-marker-container,.step-marker .trek-marker-container,.step-marker .touristic-content-marker-container,.step-marker .touristic-event-marker-container,.touristic-content-marker .trek-marker-container,.touristic-content-marker .touristic-content-marker-container,.touristic-content-marker .touristic-event-marker-container,.touristic-event-marker .trek-marker-container,.touristic-event-marker .touristic-content-marker-container,.touristic-event-marker .touristic-event-marker-container,.selected-trek-marker .trek-marker-container,.selected-trek-marker .touristic-content-marker-container,.selected-trek-marker .touristic-event-marker-container,.selected-step-marker .trek-marker-container,.selected-step-marker .touristic-content-marker-container,.selected-step-marker .touristic-event-marker-container,.selected-touristic-content-marker .trek-marker-container,.selected-touristic-content-marker .touristic-content-marker-container,.selected-touristic-content-marker .touristic-event-marker-container{background-color:var(--color-surface)}.trek-marker .step-marker-container,.step-marker .step-marker-container,.touristic-content-marker .step-marker-container,.touristic-event-marker .step-marker-container,.selected-trek-marker .step-marker-container,.selected-step-marker .step-marker-container,.selected-touristic-content-marker .step-marker-container{background-color:var(--color-surface-variant)}.selected-trek-marker .trek-marker-container,.selected-trek-marker .step-marker-container,.selected-trek-marker .touristic-content-marker-container,.selected-trek-marker .touristic-event-marker-container,.selected-step-marker .trek-marker-container,.selected-step-marker .step-marker-container,.selected-step-marker .touristic-content-marker-container,.selected-step-marker .touristic-event-marker-container,.selected-touristic-content-marker .trek-marker-container,.selected-touristic-content-marker .step-marker-container,.selected-touristic-content-marker .touristic-content-marker-container,.selected-touristic-content-marker .touristic-event-marker-container{width:64px;height:64px}.selected-trek-marker .trek-marker-container img,.selected-trek-marker .trek-marker-container .step-number,.selected-trek-marker .step-marker-container img,.selected-trek-marker .step-marker-container .step-number,.selected-trek-marker .touristic-content-marker-container img,.selected-trek-marker .touristic-content-marker-container .step-number,.selected-trek-marker .touristic-event-marker-container img,.selected-trek-marker .touristic-event-marker-container .step-number,.selected-step-marker .trek-marker-container img,.selected-step-marker .trek-marker-container .step-number,.selected-step-marker .step-marker-container img,.selected-step-marker .step-marker-container .step-number,.selected-step-marker .touristic-content-marker-container img,.selected-step-marker .touristic-content-marker-container .step-number,.selected-step-marker .touristic-event-marker-container img,.selected-step-marker .touristic-event-marker-container .step-number,.selected-touristic-content-marker .trek-marker-container img,.selected-touristic-content-marker .trek-marker-container .step-number,.selected-touristic-content-marker .step-marker-container img,.selected-touristic-content-marker .step-marker-container .step-number,.selected-touristic-content-marker .touristic-content-marker-container img,.selected-touristic-content-marker .touristic-content-marker-container .step-number,.selected-touristic-content-marker .touristic-event-marker-container img,.selected-touristic-content-marker .touristic-event-marker-container .step-number{width:48px !important}.step-marker,.selected-step-marker{color:var(--color-on-surface-variant)}.map-loader-container{position:absolute;z-index:500;width:100%;height:100%;background-color:var(--color-background);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-container);border-bottom-color:var(--color-on-primary-container);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,.touristic-content-coordinates-popup{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.trek-departure-popup img,.touristic-content-coordinates-popup img{border-top-left-radius:8px;border-top-right-radius:8px}.trek-departure-popup .trek-name,.trek-departure-popup .touristic-content-name,.touristic-content-coordinates-popup .trek-name,.touristic-content-coordinates-popup .touristic-content-name{font-weight:400;font-size:16px;line-height:24px;padding:8px}.trek-departure-popup .trek-button,.trek-departure-popup .touristic-content-button,.touristic-content-coordinates-popup .trek-button,.touristic-content-coordinates-popup .touristic-content-button{margin:0px 8px 8px 8px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.poi-tooltip .poi-name,.poi-tooltip .information-desks-name,.poi-tooltip .sensitive-area-name,.poi-tooltip .touristic-content-name,.poi-tooltip .touristic-event-name,.information-desks-tooltip .poi-name,.information-desks-tooltip .information-desks-name,.information-desks-tooltip .sensitive-area-name,.information-desks-tooltip .touristic-content-name,.information-desks-tooltip .touristic-event-name,.sensitive-area-tooltip .poi-name,.sensitive-area-tooltip .information-desks-name,.sensitive-area-tooltip .sensitive-area-name,.sensitive-area-tooltip .touristic-content-name,.sensitive-area-tooltip .touristic-event-name,.touristic-content-tooltip .poi-name,.touristic-content-tooltip .information-desks-name,.touristic-content-tooltip .sensitive-area-name,.touristic-content-tooltip .touristic-content-name,.touristic-content-tooltip .touristic-event-name,.touristic-event-tooltip .poi-name,.touristic-event-tooltip .information-desks-name,.touristic-event-tooltip .sensitive-area-name,.touristic-event-tooltip .touristic-content-name,.touristic-event-tooltip .touristic-event-name{color:var(--color-primary-app);font-weight:400;font-size:16px;line-height:24px}.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,.touristic-content-icon,.touristic-event-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,.touristic-content-icon img,.touristic-event-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:48px;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:24px;color:#ffffff}.map-bottom-space{min-height:var(--map-bottom-space-height);height:var(--map-bottom-space-height);width:100%;background-color:var(--color-background)}.leaflet-popup-content-wrapper{cursor:default;padding:0px;background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}";
|
|
18830
18846
|
|
|
18831
18847
|
const GrwMap = class {
|
|
18832
18848
|
constructor(hostRef) {
|
|
18833
18849
|
registerInstance(this, hostRef);
|
|
18834
18850
|
this.trekCardPress = createEvent(this, "trekCardPress", 7);
|
|
18851
|
+
this.touristicContentCardPress = createEvent(this, "touristicContentCardPress", 7);
|
|
18852
|
+
this.maxZoom = 19;
|
|
18835
18853
|
this.userLayersState = {};
|
|
18836
18854
|
this.tileLayer = [];
|
|
18837
18855
|
this.handleTreksWithinBoundsBind = this.handleTreksWithinBounds.bind(this);
|
|
18856
|
+
this.handleTouristicContentsWithinBoundsBind = this.handleTouristicContentsWithinBounds.bind(this);
|
|
18838
18857
|
this.mapIsReady = false;
|
|
18839
18858
|
this.nameLayer = undefined;
|
|
18840
18859
|
this.urlLayer = undefined;
|
|
@@ -18862,8 +18881,8 @@ const GrwMap = class {
|
|
|
18862
18881
|
}
|
|
18863
18882
|
}
|
|
18864
18883
|
descriptionIsInViewport(event) {
|
|
18865
|
-
if (this.
|
|
18866
|
-
this.handleLayerVisibility(event.detail, this.
|
|
18884
|
+
if (this.currentReferencePointsLayer) {
|
|
18885
|
+
this.handleLayerVisibility(event.detail, this.currentReferencePointsLayer);
|
|
18867
18886
|
}
|
|
18868
18887
|
}
|
|
18869
18888
|
parkingIsInViewport(event) {
|
|
@@ -18891,6 +18910,11 @@ const GrwMap = class {
|
|
|
18891
18910
|
this.handleLayerVisibility(event.detail, this.currentToutisticContentsLayer);
|
|
18892
18911
|
}
|
|
18893
18912
|
}
|
|
18913
|
+
touristicEventsIsInViewport(event) {
|
|
18914
|
+
if (this.currentToutisticEventsLayer) {
|
|
18915
|
+
this.handleLayerVisibility(event.detail, this.currentToutisticEventsLayer);
|
|
18916
|
+
}
|
|
18917
|
+
}
|
|
18894
18918
|
onCardTrekMouseOver(event) {
|
|
18895
18919
|
if (!state.parentTrek && (!state.selectedTrekId || state.selectedTrekId !== event.detail)) {
|
|
18896
18920
|
state.selectedTrekId = event.detail;
|
|
@@ -18904,7 +18928,7 @@ const GrwMap = class {
|
|
|
18904
18928
|
this.addSelectedCurrentStep(event.detail);
|
|
18905
18929
|
}
|
|
18906
18930
|
}
|
|
18907
|
-
|
|
18931
|
+
onCardTrekMouseLeave() {
|
|
18908
18932
|
if (!this.trekPopupIsOpen && state.selectedTrekId) {
|
|
18909
18933
|
this.trekPopupIsOpen = false;
|
|
18910
18934
|
state.selectedTrekId = null;
|
|
@@ -18916,6 +18940,15 @@ const GrwMap = class {
|
|
|
18916
18940
|
this.removeSelectedCurrentStep();
|
|
18917
18941
|
}
|
|
18918
18942
|
}
|
|
18943
|
+
onTouristicContentMouseOver(event) {
|
|
18944
|
+
this.touristicContentPopupIsOpen = false;
|
|
18945
|
+
state.selectedTouristicContentId = null;
|
|
18946
|
+
this.addSelectedTouristicContent(event.detail);
|
|
18947
|
+
}
|
|
18948
|
+
onTouristicContentMouseLeave() {
|
|
18949
|
+
state.selectedTouristicContentId = null;
|
|
18950
|
+
this.removeSelectedTouristicContent();
|
|
18951
|
+
}
|
|
18919
18952
|
componentDidLoad() {
|
|
18920
18953
|
this.map = leafletSrc.map(this.mapRef, {
|
|
18921
18954
|
center: this.center.split(',').map(Number),
|
|
@@ -18930,7 +18963,7 @@ const GrwMap = class {
|
|
|
18930
18963
|
this.tileLayer.push({
|
|
18931
18964
|
key: `${nameLayers[index]}`,
|
|
18932
18965
|
value: leafletSrc.tileLayer(urlLayer, {
|
|
18933
|
-
maxZoom:
|
|
18966
|
+
maxZoom: this.maxZoom,
|
|
18934
18967
|
attribution: `${attributionLayers[index] && attributionLayers[index] !== '' ? attributionLayers[index].concat(' | ') : ''}Powered by <a target="_blank" href="https://geotrek.fr/">Geotrek</a>`,
|
|
18935
18968
|
}),
|
|
18936
18969
|
});
|
|
@@ -18965,6 +18998,15 @@ const GrwMap = class {
|
|
|
18965
18998
|
else if (state.currentTreks) {
|
|
18966
18999
|
this.addTreks();
|
|
18967
19000
|
}
|
|
19001
|
+
else if (state.currentTouristicContent) {
|
|
19002
|
+
this.addTouristicContent();
|
|
19003
|
+
}
|
|
19004
|
+
else if (state.currentTouristicEvent) {
|
|
19005
|
+
this.addTouristicEvent();
|
|
19006
|
+
}
|
|
19007
|
+
else if (state.touristicContents) {
|
|
19008
|
+
this.addTouristicContents();
|
|
19009
|
+
}
|
|
18968
19010
|
onChange('currentTreks', () => {
|
|
18969
19011
|
if (state.currentTrek) {
|
|
18970
19012
|
this.removeTreks();
|
|
@@ -18972,6 +19014,8 @@ const GrwMap = class {
|
|
|
18972
19014
|
}
|
|
18973
19015
|
else if (state.currentTreks) {
|
|
18974
19016
|
this.removeTrek();
|
|
19017
|
+
this.removeTouristicContent();
|
|
19018
|
+
this.removeTouristicEvent();
|
|
18975
19019
|
this.addTreks();
|
|
18976
19020
|
}
|
|
18977
19021
|
});
|
|
@@ -18980,11 +19024,66 @@ const GrwMap = class {
|
|
|
18980
19024
|
this.removeTreks();
|
|
18981
19025
|
this.addTrek();
|
|
18982
19026
|
}
|
|
18983
|
-
else {
|
|
19027
|
+
else if (state.currentTreks) {
|
|
18984
19028
|
this.removeTrek();
|
|
19029
|
+
this.removeTouristicContent();
|
|
19030
|
+
this.removeTouristicEvent();
|
|
18985
19031
|
this.addTreks();
|
|
18986
19032
|
}
|
|
18987
19033
|
});
|
|
19034
|
+
onChange('currentTouristicContent', () => {
|
|
19035
|
+
if (state.currentTouristicContent) {
|
|
19036
|
+
this.removeTrek();
|
|
19037
|
+
this.removeTouristicContents();
|
|
19038
|
+
this.addTouristicContent();
|
|
19039
|
+
}
|
|
19040
|
+
else if (state.touristicContents) {
|
|
19041
|
+
this.removeTouristicContent();
|
|
19042
|
+
this.addTouristicContents();
|
|
19043
|
+
}
|
|
19044
|
+
else if (state.currentTrek) {
|
|
19045
|
+
this.removeTouristicContent();
|
|
19046
|
+
this.addTrek();
|
|
19047
|
+
}
|
|
19048
|
+
else if (state.currentTreks) {
|
|
19049
|
+
this.removeTouristicContent();
|
|
19050
|
+
this.addTreks();
|
|
19051
|
+
}
|
|
19052
|
+
});
|
|
19053
|
+
onChange('currentTouristicEvent', () => {
|
|
19054
|
+
if (state.currentTouristicEvent) {
|
|
19055
|
+
this.removeTrek();
|
|
19056
|
+
this.addTouristicEvent();
|
|
19057
|
+
}
|
|
19058
|
+
else if (state.currentTrek) {
|
|
19059
|
+
this.removeTouristicEvent();
|
|
19060
|
+
this.addTrek();
|
|
19061
|
+
}
|
|
19062
|
+
else if (state.currentTreks) {
|
|
19063
|
+
this.removeTouristicEvent();
|
|
19064
|
+
this.addTreks();
|
|
19065
|
+
}
|
|
19066
|
+
});
|
|
19067
|
+
onChange('currentTouristicContents', () => {
|
|
19068
|
+
if (state.currentTouristicContent) {
|
|
19069
|
+
this.removeTouristicContents();
|
|
19070
|
+
this.addTouristicContent();
|
|
19071
|
+
}
|
|
19072
|
+
else if (state.currentTouristicContents) {
|
|
19073
|
+
this.removeTouristicContent();
|
|
19074
|
+
this.addTouristicContents();
|
|
19075
|
+
}
|
|
19076
|
+
});
|
|
19077
|
+
onChange('mode', () => {
|
|
19078
|
+
if (state.mode === 'treks') {
|
|
19079
|
+
this.removeTouristicContents();
|
|
19080
|
+
this.addTreks();
|
|
19081
|
+
}
|
|
19082
|
+
else if (state.mode === 'touristicContents') {
|
|
19083
|
+
this.removeTreks();
|
|
19084
|
+
this.addTouristicContents();
|
|
19085
|
+
}
|
|
19086
|
+
});
|
|
18988
19087
|
}
|
|
18989
19088
|
handleLayerVisibility(visible, layer) {
|
|
18990
19089
|
if (visible && !this.map.hasLayer(layer)) {
|
|
@@ -18997,14 +19096,15 @@ const GrwMap = class {
|
|
|
18997
19096
|
}
|
|
18998
19097
|
addTreks() {
|
|
18999
19098
|
var _a;
|
|
19000
|
-
|
|
19099
|
+
state.treksWithinBounds = state.currentTreks;
|
|
19100
|
+
const treksCurrentDepartureCoordinates = [];
|
|
19001
19101
|
const treksFeatureCollection = {
|
|
19002
19102
|
type: 'FeatureCollection',
|
|
19003
19103
|
features: [],
|
|
19004
19104
|
};
|
|
19005
19105
|
if (state.currentTreks) {
|
|
19006
19106
|
for (const trek of state.currentTreks) {
|
|
19007
|
-
|
|
19107
|
+
treksCurrentDepartureCoordinates.push(trek.departure_geom);
|
|
19008
19108
|
treksFeatureCollection.features.push({
|
|
19009
19109
|
type: 'Feature',
|
|
19010
19110
|
geometry: { type: 'Point', coordinates: trek.departure_geom },
|
|
@@ -19018,12 +19118,12 @@ const GrwMap = class {
|
|
|
19018
19118
|
}
|
|
19019
19119
|
}
|
|
19020
19120
|
if (!this.treksLayer) {
|
|
19021
|
-
if (
|
|
19022
|
-
this.bounds = leafletSrc.latLngBounds(
|
|
19121
|
+
if (treksCurrentDepartureCoordinates.length > 0 && !state.currentMapBounds) {
|
|
19122
|
+
this.bounds = leafletSrc.latLngBounds(treksCurrentDepartureCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
19023
19123
|
}
|
|
19024
19124
|
else {
|
|
19025
|
-
if (state.
|
|
19026
|
-
this.bounds = state.
|
|
19125
|
+
if (state.currentMapBounds) {
|
|
19126
|
+
this.bounds = state.currentMapBounds;
|
|
19027
19127
|
}
|
|
19028
19128
|
}
|
|
19029
19129
|
this.treksLayer = leafletSrc.geoJSON(treksFeatureCollection, {
|
|
@@ -19076,8 +19176,8 @@ const GrwMap = class {
|
|
|
19076
19176
|
this.map.addLayer(this.treksMarkerClusterGroup);
|
|
19077
19177
|
}
|
|
19078
19178
|
else {
|
|
19079
|
-
if (
|
|
19080
|
-
this.bounds = leafletSrc.latLngBounds(
|
|
19179
|
+
if (treksCurrentDepartureCoordinates.length > 0) {
|
|
19180
|
+
this.bounds = leafletSrc.latLngBounds(treksCurrentDepartureCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
19081
19181
|
}
|
|
19082
19182
|
else {
|
|
19083
19183
|
this.map.fire('moveend');
|
|
@@ -19093,7 +19193,7 @@ const GrwMap = class {
|
|
|
19093
19193
|
}
|
|
19094
19194
|
removeTreks() {
|
|
19095
19195
|
if (this.treksLayer) {
|
|
19096
|
-
state.
|
|
19196
|
+
state.currentMapBounds = this.map.getBounds();
|
|
19097
19197
|
this.map.removeLayer(this.treksMarkerClusterGroup);
|
|
19098
19198
|
this.treksLayer = null;
|
|
19099
19199
|
this.treksMarkerClusterGroup = null;
|
|
@@ -19101,13 +19201,19 @@ const GrwMap = class {
|
|
|
19101
19201
|
}
|
|
19102
19202
|
}
|
|
19103
19203
|
handleTreksWithinBounds() {
|
|
19104
|
-
if ((state.currentTreks && !state.
|
|
19105
|
-
(state.currentTreks && state.
|
|
19204
|
+
if ((state.currentTreks && !state.currentMapBounds) ||
|
|
19205
|
+
(state.currentTreks && state.currentMapBounds && state.currentMapBounds.toBBoxString() !== this.map.getBounds().toBBoxString())) {
|
|
19106
19206
|
state.treksWithinBounds = state.currentTreks.filter(trek => this.map.getBounds().contains(leafletSrc.latLng(trek.departure_geom[1], trek.departure_geom[0])));
|
|
19107
19207
|
}
|
|
19108
19208
|
}
|
|
19209
|
+
handleTouristicContentsWithinBounds() {
|
|
19210
|
+
if ((state.currentTouristicContents && !state.currentMapBounds) ||
|
|
19211
|
+
(state.currentTouristicContents && state.currentMapBounds && state.currentMapBounds.toBBoxString() !== this.map.getBounds().toBBoxString())) {
|
|
19212
|
+
state.touristicContentsWithinBounds = state.currentTouristicContents.filter(touristicContent => this.map.getBounds().contains(leafletSrc.latLng(touristicContent.geometry.coordinates[1], touristicContent.geometry.coordinates[0])));
|
|
19213
|
+
}
|
|
19214
|
+
}
|
|
19109
19215
|
addTrek() {
|
|
19110
|
-
var _a, _b, _c;
|
|
19216
|
+
var _a, _b, _c, _d;
|
|
19111
19217
|
this.trekPopupIsOpen = false;
|
|
19112
19218
|
state.selectedTrekId = null;
|
|
19113
19219
|
this.hideTrekLine();
|
|
@@ -19203,12 +19309,12 @@ const GrwMap = class {
|
|
|
19203
19309
|
},
|
|
19204
19310
|
});
|
|
19205
19311
|
}
|
|
19206
|
-
if (state.
|
|
19312
|
+
if (state.trekTouristicContents && state.trekTouristicContents.length > 0) {
|
|
19207
19313
|
const currentTouristicContentsFeatureCollection = {
|
|
19208
19314
|
type: 'FeatureCollection',
|
|
19209
19315
|
features: [],
|
|
19210
19316
|
};
|
|
19211
|
-
for (const touristicContent of state.
|
|
19317
|
+
for (const touristicContent of state.trekTouristicContents) {
|
|
19212
19318
|
currentTouristicContentsFeatureCollection.features.push({
|
|
19213
19319
|
type: 'Feature',
|
|
19214
19320
|
properties: {
|
|
@@ -19230,7 +19336,7 @@ const GrwMap = class {
|
|
|
19230
19336
|
onEachFeature: (geoJsonPoint, layer) => {
|
|
19231
19337
|
layer.once('mouseover', () => {
|
|
19232
19338
|
const touristicContentTooltip = leafletSrc.DomUtil.create('div');
|
|
19233
|
-
touristicContentTooltip.className = '
|
|
19339
|
+
touristicContentTooltip.className = 'touristic-content-tooltip';
|
|
19234
19340
|
const touristicContentName = leafletSrc.DomUtil.create('div');
|
|
19235
19341
|
touristicContentName.innerHTML = geoJsonPoint.properties.name;
|
|
19236
19342
|
touristicContentName.className = 'touristic-content-name';
|
|
@@ -19240,6 +19346,43 @@ const GrwMap = class {
|
|
|
19240
19346
|
},
|
|
19241
19347
|
});
|
|
19242
19348
|
}
|
|
19349
|
+
if (state.touristicEvents && state.touristicEvents.length > 0) {
|
|
19350
|
+
const currentTouristicEventsFeatureCollection = {
|
|
19351
|
+
type: 'FeatureCollection',
|
|
19352
|
+
features: [],
|
|
19353
|
+
};
|
|
19354
|
+
for (const touristicEvent of state.touristicEvents) {
|
|
19355
|
+
currentTouristicEventsFeatureCollection.features.push({
|
|
19356
|
+
type: 'Feature',
|
|
19357
|
+
properties: {
|
|
19358
|
+
name: touristicEvent.name,
|
|
19359
|
+
type_pictogram: (_c = state.touristicEventTypes.find(touristicEventType => touristicEventType.id === touristicEvent.type)) === null || _c === void 0 ? void 0 : _c.pictogram,
|
|
19360
|
+
},
|
|
19361
|
+
geometry: touristicEvent.geometry,
|
|
19362
|
+
});
|
|
19363
|
+
}
|
|
19364
|
+
this.currentToutisticEventsLayer = leafletSrc.geoJSON(currentTouristicEventsFeatureCollection, {
|
|
19365
|
+
pointToLayer: (geoJsonPoint, latlng) => leafletSrc.marker(latlng, {
|
|
19366
|
+
icon: leafletSrc.divIcon({
|
|
19367
|
+
html: geoJsonPoint.properties.type_pictogram ? `<img src=${geoJsonPoint.properties.type_pictogram} />` : `<img />`,
|
|
19368
|
+
className: 'touristic-event-icon',
|
|
19369
|
+
iconSize: 48,
|
|
19370
|
+
}),
|
|
19371
|
+
autoPanOnFocus: false,
|
|
19372
|
+
}),
|
|
19373
|
+
onEachFeature: (geoJsonPoint, layer) => {
|
|
19374
|
+
layer.once('mouseover', () => {
|
|
19375
|
+
const touristicEventTooltip = leafletSrc.DomUtil.create('div');
|
|
19376
|
+
touristicEventTooltip.className = 'touristic-event-tooltip';
|
|
19377
|
+
const touristicEventName = leafletSrc.DomUtil.create('div');
|
|
19378
|
+
touristicEventName.innerHTML = geoJsonPoint.properties.name;
|
|
19379
|
+
touristicEventName.className = 'touristic-event-name';
|
|
19380
|
+
touristicEventTooltip.appendChild(touristicEventName);
|
|
19381
|
+
layer.bindTooltip(touristicEventTooltip).openTooltip();
|
|
19382
|
+
});
|
|
19383
|
+
},
|
|
19384
|
+
});
|
|
19385
|
+
}
|
|
19243
19386
|
if (state.currentInformationDesks && state.currentInformationDesks.length > 0) {
|
|
19244
19387
|
const currentInformationDesksFeatureCollection = {
|
|
19245
19388
|
type: 'FeatureCollection',
|
|
@@ -19277,17 +19420,17 @@ const GrwMap = class {
|
|
|
19277
19420
|
});
|
|
19278
19421
|
}
|
|
19279
19422
|
if (state.currentTrek.points_reference) {
|
|
19280
|
-
const
|
|
19423
|
+
const currentReferencePointsFeatureCollection = {
|
|
19281
19424
|
type: 'FeatureCollection',
|
|
19282
19425
|
features: [],
|
|
19283
19426
|
};
|
|
19284
|
-
|
|
19427
|
+
currentReferencePointsFeatureCollection.features.push({
|
|
19285
19428
|
type: 'Feature',
|
|
19286
19429
|
properties: {},
|
|
19287
19430
|
geometry: state.currentTrek.points_reference,
|
|
19288
19431
|
});
|
|
19289
19432
|
let index = 0;
|
|
19290
|
-
this.
|
|
19433
|
+
this.currentReferencePointsLayer = leafletSrc.geoJSON(currentReferencePointsFeatureCollection, {
|
|
19291
19434
|
pointToLayer: (_geoJsonPoint, latlng) => {
|
|
19292
19435
|
index += 1;
|
|
19293
19436
|
return leafletSrc.marker(latlng, {
|
|
@@ -19315,7 +19458,7 @@ const GrwMap = class {
|
|
|
19315
19458
|
properties: {
|
|
19316
19459
|
id: trek.id,
|
|
19317
19460
|
name: trek.name,
|
|
19318
|
-
practice: (
|
|
19461
|
+
practice: (_d = state.practices.find(practice => practice.id === trek.practice)) === null || _d === void 0 ? void 0 : _d.pictogram,
|
|
19319
19462
|
imgSrc: trek.attachments && trek.attachments.length > 0 && trek.attachments[0].thumbnail,
|
|
19320
19463
|
},
|
|
19321
19464
|
});
|
|
@@ -19412,8 +19555,8 @@ const GrwMap = class {
|
|
|
19412
19555
|
if (this.currentStepsLayer) {
|
|
19413
19556
|
overlays[translate[state.language].layers.steps] = this.currentStepsLayer;
|
|
19414
19557
|
}
|
|
19415
|
-
if (this.
|
|
19416
|
-
overlays[translate[state.language].layers.
|
|
19558
|
+
if (this.currentReferencePointsLayer) {
|
|
19559
|
+
overlays[translate[state.language].layers.referencePoints] = this.currentReferencePointsLayer;
|
|
19417
19560
|
}
|
|
19418
19561
|
if (this.currentParkingLayer) {
|
|
19419
19562
|
overlays[translate[state.language].layers.parking] = this.currentParkingLayer;
|
|
@@ -19430,6 +19573,9 @@ const GrwMap = class {
|
|
|
19430
19573
|
if (this.currentToutisticContentsLayer) {
|
|
19431
19574
|
overlays[translate[state.language].layers.touristicContents] = this.currentToutisticContentsLayer;
|
|
19432
19575
|
}
|
|
19576
|
+
if (this.currentToutisticEventsLayer) {
|
|
19577
|
+
overlays[translate[state.language].layers.touristicEvents] = this.currentToutisticEventsLayer;
|
|
19578
|
+
}
|
|
19433
19579
|
if (this.layersControl) {
|
|
19434
19580
|
Object.keys(overlays).forEach(key => {
|
|
19435
19581
|
this.layersControl.addOverlay(overlays[key], key);
|
|
@@ -19649,9 +19795,9 @@ const GrwMap = class {
|
|
|
19649
19795
|
this.map.removeLayer(this.currentInformationDesksLayer);
|
|
19650
19796
|
this.currentInformationDesksLayer = null;
|
|
19651
19797
|
}
|
|
19652
|
-
if (this.
|
|
19653
|
-
this.map.removeLayer(this.
|
|
19654
|
-
this.
|
|
19798
|
+
if (this.currentReferencePointsLayer) {
|
|
19799
|
+
this.map.removeLayer(this.currentReferencePointsLayer);
|
|
19800
|
+
this.currentReferencePointsLayer = null;
|
|
19655
19801
|
}
|
|
19656
19802
|
if (this.currentStepsLayer) {
|
|
19657
19803
|
this.map.removeLayer(this.currentStepsLayer);
|
|
@@ -19661,6 +19807,10 @@ const GrwMap = class {
|
|
|
19661
19807
|
this.map.removeLayer(this.currentToutisticContentsLayer);
|
|
19662
19808
|
this.currentToutisticContentsLayer = null;
|
|
19663
19809
|
}
|
|
19810
|
+
if (this.currentToutisticEventsLayer) {
|
|
19811
|
+
this.map.removeLayer(this.currentToutisticEventsLayer);
|
|
19812
|
+
this.currentToutisticEventsLayer = null;
|
|
19813
|
+
}
|
|
19664
19814
|
}
|
|
19665
19815
|
disconnectedCallback() {
|
|
19666
19816
|
if (this.resetStoreOnDisconnected) {
|
|
@@ -19688,6 +19838,284 @@ const GrwMap = class {
|
|
|
19688
19838
|
this.currentTrekLayer = null;
|
|
19689
19839
|
}
|
|
19690
19840
|
}
|
|
19841
|
+
addTouristicContent() {
|
|
19842
|
+
this.touristicContentPopupIsOpen = false;
|
|
19843
|
+
state.selectedTouristicContentId = null;
|
|
19844
|
+
this.removeSelectedTouristicContent();
|
|
19845
|
+
const touristicContentsFeatureCollection = {
|
|
19846
|
+
type: 'FeatureCollection',
|
|
19847
|
+
features: [],
|
|
19848
|
+
};
|
|
19849
|
+
if (state.currentTouristicContent) {
|
|
19850
|
+
touristicContentsFeatureCollection.features.push({
|
|
19851
|
+
type: 'Feature',
|
|
19852
|
+
geometry: { type: 'Point', coordinates: state.currentTouristicContent.geometry.coordinates },
|
|
19853
|
+
properties: {
|
|
19854
|
+
id: state.currentTouristicContent.id,
|
|
19855
|
+
name: state.currentTouristicContent.name,
|
|
19856
|
+
practice: state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === state.currentTouristicContent.category).pictogram,
|
|
19857
|
+
},
|
|
19858
|
+
});
|
|
19859
|
+
}
|
|
19860
|
+
if (!this.currentToutisticContentLayer) {
|
|
19861
|
+
this.currentToutisticContentLayer = leafletSrc.geoJSON(touristicContentsFeatureCollection, {
|
|
19862
|
+
pointToLayer: (geoJsonPoint, latlng) => leafletSrc.marker(latlng, {
|
|
19863
|
+
icon: leafletSrc.divIcon({
|
|
19864
|
+
html: geoJsonPoint.properties.practice
|
|
19865
|
+
? `<div class="touristic-content-marker-container"><img src=${geoJsonPoint.properties.practice} /></div>`
|
|
19866
|
+
: `<div class="touristic-content-marker-container"></div>`,
|
|
19867
|
+
className: 'touristic-content-marker',
|
|
19868
|
+
iconSize: 32,
|
|
19869
|
+
iconAnchor: [18, 0],
|
|
19870
|
+
}),
|
|
19871
|
+
autoPanOnFocus: false,
|
|
19872
|
+
}),
|
|
19873
|
+
});
|
|
19874
|
+
this.map.addLayer(this.currentToutisticContentLayer);
|
|
19875
|
+
}
|
|
19876
|
+
this.map.setView([state.currentTouristicContent.geometry.coordinates[1], state.currentTouristicContent.geometry.coordinates[0]], this.maxZoom);
|
|
19877
|
+
!this.mapIsReady && (this.mapIsReady = !this.mapIsReady);
|
|
19878
|
+
}
|
|
19879
|
+
removeTouristicContent() {
|
|
19880
|
+
if (this.currentToutisticContentLayer) {
|
|
19881
|
+
this.map.removeLayer(this.currentToutisticContentLayer);
|
|
19882
|
+
this.currentToutisticContentLayer = null;
|
|
19883
|
+
}
|
|
19884
|
+
}
|
|
19885
|
+
addTouristicContents() {
|
|
19886
|
+
state.touristicContentsWithinBounds = state.touristicContents;
|
|
19887
|
+
const touristicContentsCurrentCoordinates = [];
|
|
19888
|
+
const touristicContentsFeatureCollection = {
|
|
19889
|
+
type: 'FeatureCollection',
|
|
19890
|
+
features: [],
|
|
19891
|
+
};
|
|
19892
|
+
if (state.touristicContents) {
|
|
19893
|
+
if (touristicContentsCurrentCoordinates.length > 0 && !state.currentMapBounds) {
|
|
19894
|
+
this.bounds = leafletSrc.latLngBounds(touristicContentsCurrentCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
19895
|
+
}
|
|
19896
|
+
else {
|
|
19897
|
+
if (state.currentMapBounds) {
|
|
19898
|
+
this.bounds = state.currentMapBounds;
|
|
19899
|
+
}
|
|
19900
|
+
}
|
|
19901
|
+
for (const currentTouristicContent of state.currentTouristicContents) {
|
|
19902
|
+
touristicContentsCurrentCoordinates.push(currentTouristicContent.geometry.coordinates);
|
|
19903
|
+
touristicContentsFeatureCollection.features.push({
|
|
19904
|
+
type: 'Feature',
|
|
19905
|
+
geometry: { type: 'Point', coordinates: currentTouristicContent.geometry.coordinates },
|
|
19906
|
+
properties: {
|
|
19907
|
+
id: currentTouristicContent.id,
|
|
19908
|
+
name: currentTouristicContent.name,
|
|
19909
|
+
practice: state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === currentTouristicContent.category).pictogram,
|
|
19910
|
+
},
|
|
19911
|
+
});
|
|
19912
|
+
}
|
|
19913
|
+
}
|
|
19914
|
+
if (!this.toutisticContentsLayer) {
|
|
19915
|
+
if (touristicContentsCurrentCoordinates.length > 0 && !state.currentMapBounds) {
|
|
19916
|
+
this.bounds = leafletSrc.latLngBounds(touristicContentsCurrentCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
19917
|
+
}
|
|
19918
|
+
else {
|
|
19919
|
+
if (state.currentMapBounds) {
|
|
19920
|
+
this.bounds = state.currentMapBounds;
|
|
19921
|
+
}
|
|
19922
|
+
}
|
|
19923
|
+
this.toutisticContentsLayer = leafletSrc.geoJSON(touristicContentsFeatureCollection, {
|
|
19924
|
+
pointToLayer: (geoJsonPoint, latlng) => leafletSrc.marker(latlng, {
|
|
19925
|
+
icon: leafletSrc.divIcon({
|
|
19926
|
+
html: geoJsonPoint.properties.practice
|
|
19927
|
+
? `<div class="touristic-content-marker-container"><img src=${geoJsonPoint.properties.practice} /></div>`
|
|
19928
|
+
: `<div class="touristic-content-marker-container"></div>`,
|
|
19929
|
+
className: 'touristic-content-marker',
|
|
19930
|
+
iconSize: 32,
|
|
19931
|
+
iconAnchor: [18, 0],
|
|
19932
|
+
}),
|
|
19933
|
+
autoPanOnFocus: false,
|
|
19934
|
+
}),
|
|
19935
|
+
onEachFeature: (geoJsonPoint, layer) => {
|
|
19936
|
+
layer.once('click', () => {
|
|
19937
|
+
const touristicContentCoordinatesPopup = leafletSrc.DomUtil.create('div');
|
|
19938
|
+
touristicContentCoordinatesPopup.className = 'touristic-content-coordinates-popup';
|
|
19939
|
+
if (geoJsonPoint.properties.imgSrc) {
|
|
19940
|
+
const touristicCotentImg = leafletSrc.DomUtil.create('img');
|
|
19941
|
+
touristicCotentImg.src = geoJsonPoint.properties.imgSrc;
|
|
19942
|
+
touristicContentCoordinatesPopup.appendChild(touristicCotentImg);
|
|
19943
|
+
}
|
|
19944
|
+
const touristicContentName = leafletSrc.DomUtil.create('div');
|
|
19945
|
+
touristicContentName.innerHTML = geoJsonPoint.properties.name;
|
|
19946
|
+
touristicContentName.className = 'touristic-content-name';
|
|
19947
|
+
touristicContentCoordinatesPopup.appendChild(touristicContentName);
|
|
19948
|
+
const touristicContentButton = leafletSrc.DomUtil.create('button');
|
|
19949
|
+
touristicContentButton.innerHTML = 'Afficher le détail';
|
|
19950
|
+
touristicContentButton.className = 'touristic-content-button';
|
|
19951
|
+
touristicContentButton.onclick = () => this.touristicContentCardPress.emit(geoJsonPoint.properties.id);
|
|
19952
|
+
touristicContentCoordinatesPopup.appendChild(touristicContentButton);
|
|
19953
|
+
layer.bindPopup(touristicContentCoordinatesPopup, { interactive: true, autoPan: false, closeButton: false }).openPopup();
|
|
19954
|
+
});
|
|
19955
|
+
layer.on('mouseover', e => {
|
|
19956
|
+
this.addSelectedTouristicContent(geoJsonPoint.properties.id, e.latlng);
|
|
19957
|
+
});
|
|
19958
|
+
},
|
|
19959
|
+
});
|
|
19960
|
+
this.touristicContentsMarkerClusterGroup = leafletSrc.markerClusterGroup({
|
|
19961
|
+
showCoverageOnHover: false,
|
|
19962
|
+
removeOutsideVisibleBounds: false,
|
|
19963
|
+
iconCreateFunction: cluster => {
|
|
19964
|
+
return leafletSrc.divIcon({
|
|
19965
|
+
html: '<div>' + cluster.getChildCount() + '</div>',
|
|
19966
|
+
className: 'touristic-content-marker-cluster-group-icon',
|
|
19967
|
+
iconSize: 48,
|
|
19968
|
+
iconAnchor: [24, 24],
|
|
19969
|
+
});
|
|
19970
|
+
},
|
|
19971
|
+
});
|
|
19972
|
+
this.touristicContentsMarkerClusterGroup.addLayer(this.toutisticContentsLayer);
|
|
19973
|
+
this.map.addLayer(this.touristicContentsMarkerClusterGroup);
|
|
19974
|
+
}
|
|
19975
|
+
else {
|
|
19976
|
+
if (touristicContentsCurrentCoordinates.length > 0) {
|
|
19977
|
+
this.bounds = leafletSrc.latLngBounds(touristicContentsCurrentCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
19978
|
+
}
|
|
19979
|
+
else {
|
|
19980
|
+
this.map.fire('moveend');
|
|
19981
|
+
}
|
|
19982
|
+
this.toutisticContentsLayer.clearLayers();
|
|
19983
|
+
this.toutisticContentsLayer.addData(touristicContentsFeatureCollection);
|
|
19984
|
+
this.touristicContentsMarkerClusterGroup.clearLayers();
|
|
19985
|
+
this.touristicContentsMarkerClusterGroup.addLayer(this.toutisticContentsLayer);
|
|
19986
|
+
}
|
|
19987
|
+
this.bounds && this.map.fitBounds(this.bounds);
|
|
19988
|
+
!this.mapIsReady && (this.mapIsReady = !this.mapIsReady);
|
|
19989
|
+
this.map.on('moveend', this.handleTouristicContentsWithinBoundsBind);
|
|
19990
|
+
}
|
|
19991
|
+
removeTouristicContents() {
|
|
19992
|
+
if (this.toutisticContentsLayer) {
|
|
19993
|
+
state.currentMapBounds = this.map.getBounds();
|
|
19994
|
+
this.map.removeLayer(this.touristicContentsMarkerClusterGroup);
|
|
19995
|
+
this.toutisticContentsLayer = null;
|
|
19996
|
+
this.touristicContentsMarkerClusterGroup = null;
|
|
19997
|
+
this.map.off('moveend', this.handleTouristicContentsWithinBoundsBind);
|
|
19998
|
+
}
|
|
19999
|
+
}
|
|
20000
|
+
addTouristicEvent() {
|
|
20001
|
+
const touristicEventsFeatureCollection = {
|
|
20002
|
+
type: 'FeatureCollection',
|
|
20003
|
+
features: [],
|
|
20004
|
+
};
|
|
20005
|
+
if (state.currentTouristicEvent) {
|
|
20006
|
+
touristicEventsFeatureCollection.features.push({
|
|
20007
|
+
type: 'Feature',
|
|
20008
|
+
geometry: { type: 'Point', coordinates: state.currentTouristicEvent.geometry.coordinates },
|
|
20009
|
+
properties: {
|
|
20010
|
+
id: state.currentTouristicEvent.id,
|
|
20011
|
+
name: state.currentTouristicEvent.name,
|
|
20012
|
+
type: state.touristicEventTypes.find(touristicEventType => touristicEventType.id === state.currentTouristicEvent.type).pictogram,
|
|
20013
|
+
},
|
|
20014
|
+
});
|
|
20015
|
+
}
|
|
20016
|
+
if (!this.currentToutisticEventLayer) {
|
|
20017
|
+
this.currentToutisticEventLayer = leafletSrc.geoJSON(touristicEventsFeatureCollection, {
|
|
20018
|
+
pointToLayer: (geoJsonPoint, latlng) => leafletSrc.marker(latlng, {
|
|
20019
|
+
icon: leafletSrc.divIcon({
|
|
20020
|
+
html: geoJsonPoint.properties.type
|
|
20021
|
+
? `<div class="touristic-event-marker-container"><img src=${geoJsonPoint.properties.type} /></div>`
|
|
20022
|
+
: `<div class="touristic-event-marker-container"></div>`,
|
|
20023
|
+
className: 'touristic-event-marker',
|
|
20024
|
+
iconSize: 32,
|
|
20025
|
+
iconAnchor: [18, 0],
|
|
20026
|
+
}),
|
|
20027
|
+
autoPanOnFocus: false,
|
|
20028
|
+
}),
|
|
20029
|
+
});
|
|
20030
|
+
this.map.addLayer(this.currentToutisticEventLayer);
|
|
20031
|
+
}
|
|
20032
|
+
this.map.setView([state.currentTouristicEvent.geometry.coordinates[1], state.currentTouristicEvent.geometry.coordinates[0]], this.maxZoom);
|
|
20033
|
+
!this.mapIsReady && (this.mapIsReady = !this.mapIsReady);
|
|
20034
|
+
}
|
|
20035
|
+
removeTouristicEvent() {
|
|
20036
|
+
if (this.currentToutisticEventLayer) {
|
|
20037
|
+
this.map.removeLayer(this.currentToutisticEventLayer);
|
|
20038
|
+
this.currentToutisticEventLayer = null;
|
|
20039
|
+
}
|
|
20040
|
+
}
|
|
20041
|
+
addSelectedTouristicContent(id, customCoordinates) {
|
|
20042
|
+
var _a;
|
|
20043
|
+
const touristicContentFeatureCollection = {
|
|
20044
|
+
type: 'FeatureCollection',
|
|
20045
|
+
features: [],
|
|
20046
|
+
};
|
|
20047
|
+
if (state.touristicContents) {
|
|
20048
|
+
const touristicContent = state.touristicContents.find(touristicContent => touristicContent.id === id);
|
|
20049
|
+
touristicContentFeatureCollection.features.push({
|
|
20050
|
+
type: 'Feature',
|
|
20051
|
+
geometry: { type: 'Point', coordinates: customCoordinates ? [customCoordinates.lng, customCoordinates.lat] : touristicContent.geometry.coordinates },
|
|
20052
|
+
properties: {
|
|
20053
|
+
id: touristicContent.id,
|
|
20054
|
+
name: touristicContent.name,
|
|
20055
|
+
category: (_a = state.touristicContentCategories.find(practice => practice.id === touristicContent.category)) === null || _a === void 0 ? void 0 : _a.pictogram,
|
|
20056
|
+
imgSrc: touristicContent.attachments && touristicContent.attachments.length > 0 && touristicContent.attachments[0].thumbnail,
|
|
20057
|
+
},
|
|
20058
|
+
});
|
|
20059
|
+
}
|
|
20060
|
+
this.removeSelectedTouristicContent();
|
|
20061
|
+
state.selectedTouristicContentId = id;
|
|
20062
|
+
this.selectedTouristicContentLayer = leafletSrc.geoJSON(touristicContentFeatureCollection, {
|
|
20063
|
+
pointToLayer: (geoJsonPoint, latlng) => leafletSrc.marker(latlng, {
|
|
20064
|
+
zIndexOffset: 4000000,
|
|
20065
|
+
icon: leafletSrc.divIcon({
|
|
20066
|
+
html: geoJsonPoint.properties.category
|
|
20067
|
+
? `<div class="touristic-content-marker-container"><img src=${geoJsonPoint.properties.category} /></div>`
|
|
20068
|
+
: `<div class="touristic-content-trek-marker-container"></div>`,
|
|
20069
|
+
className: 'selected-touristic-content-marker',
|
|
20070
|
+
iconSize: 64,
|
|
20071
|
+
iconAnchor: [36, 36],
|
|
20072
|
+
}),
|
|
20073
|
+
autoPanOnFocus: false,
|
|
20074
|
+
}),
|
|
20075
|
+
onEachFeature: (geoJsonPoint, layer) => {
|
|
20076
|
+
layer.once('click', () => {
|
|
20077
|
+
const touristicContentDeparturePopup = leafletSrc.DomUtil.create('div');
|
|
20078
|
+
touristicContentDeparturePopup.className = 'touristic-content-coordinates-popup';
|
|
20079
|
+
if (geoJsonPoint.properties.imgSrc) {
|
|
20080
|
+
const touristicContentImg = leafletSrc.DomUtil.create('img');
|
|
20081
|
+
touristicContentImg.src = geoJsonPoint.properties.imgSrc;
|
|
20082
|
+
touristicContentDeparturePopup.appendChild(touristicContentImg);
|
|
20083
|
+
}
|
|
20084
|
+
const touristicContentName = leafletSrc.DomUtil.create('div');
|
|
20085
|
+
touristicContentName.innerHTML = geoJsonPoint.properties.name;
|
|
20086
|
+
touristicContentName.className = 'touristic-content-name';
|
|
20087
|
+
touristicContentDeparturePopup.appendChild(touristicContentName);
|
|
20088
|
+
const touristicContentButton = leafletSrc.DomUtil.create('button');
|
|
20089
|
+
touristicContentButton.innerHTML = 'Afficher le détail';
|
|
20090
|
+
touristicContentButton.className = 'touristic-content-button';
|
|
20091
|
+
touristicContentButton.onclick = () => this.touristicContentCardPress.emit(geoJsonPoint.properties.id);
|
|
20092
|
+
touristicContentDeparturePopup.appendChild(touristicContentButton);
|
|
20093
|
+
layer.bindPopup(touristicContentDeparturePopup, { interactive: true, autoPan: false, closeButton: false }).openPopup();
|
|
20094
|
+
});
|
|
20095
|
+
layer.on('mouseout', () => {
|
|
20096
|
+
if (!this.touristicContentPopupIsOpen) {
|
|
20097
|
+
state.selectedTouristicContentId = null;
|
|
20098
|
+
this.removeSelectedTouristicContent();
|
|
20099
|
+
}
|
|
20100
|
+
});
|
|
20101
|
+
layer.on('popupopen', () => {
|
|
20102
|
+
this.touristicContentPopupIsOpen = Boolean(state.selectedTouristicContentId);
|
|
20103
|
+
});
|
|
20104
|
+
layer.on('popupclose', () => {
|
|
20105
|
+
if (state.selectedTouristicContentId) {
|
|
20106
|
+
this.touristicContentPopupIsOpen = false;
|
|
20107
|
+
state.selectedTouristicContentId = null;
|
|
20108
|
+
this.removeSelectedTouristicContent();
|
|
20109
|
+
}
|
|
20110
|
+
});
|
|
20111
|
+
},
|
|
20112
|
+
}).addTo(this.map);
|
|
20113
|
+
}
|
|
20114
|
+
removeSelectedTouristicContent() {
|
|
20115
|
+
state.selectedTouristicContentId = null;
|
|
20116
|
+
this.selectedTouristicContentLayer && this.map.removeLayer(this.selectedTouristicContentLayer);
|
|
20117
|
+
this.selectedTouristicContentLayer = null;
|
|
20118
|
+
}
|
|
19691
20119
|
render() {
|
|
19692
20120
|
const layersImageSrc = getAssetPath(`${''}assets/layers.svg`);
|
|
19693
20121
|
const contractImageSrc = getAssetPath(`${''}assets/contract.svg`);
|
|
@@ -19715,14 +20143,71 @@ const GrwSearch = class {
|
|
|
19715
20143
|
}
|
|
19716
20144
|
onSearchChange(event) {
|
|
19717
20145
|
state.searchValue = event.target.value;
|
|
19718
|
-
state.
|
|
20146
|
+
if (state.mode === 'treks') {
|
|
20147
|
+
state.currentTreks = handleTreksFiltersAndSearch();
|
|
20148
|
+
}
|
|
20149
|
+
else if (state.mode === 'touristicContents') {
|
|
20150
|
+
state.currentTouristicContents = handleTouristicContentsFiltersAndSearch();
|
|
20151
|
+
}
|
|
19719
20152
|
}
|
|
19720
20153
|
render() {
|
|
19721
|
-
return (h(Host, null, h("span", { class: "material-symbols material-symbols-outlined" }, "search"), h("input", { onInput: e => this.onSearchChange(e), class: "search-input", type: "search", placeholder: "Rechercher", value: state.searchValue })));
|
|
20154
|
+
return (h(Host, null, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "search"), h("input", { onInput: e => this.onSearchChange(e), class: "search-input", type: "search", placeholder: "Rechercher", value: state.searchValue })));
|
|
19722
20155
|
}
|
|
19723
20156
|
};
|
|
19724
20157
|
GrwSearch.style = grwSearchCss;
|
|
19725
20158
|
|
|
20159
|
+
const GrwTouristicContentProvider = class {
|
|
20160
|
+
constructor(hostRef) {
|
|
20161
|
+
registerInstance(this, hostRef);
|
|
20162
|
+
this.controller = new AbortController();
|
|
20163
|
+
this.signal = this.controller.signal;
|
|
20164
|
+
this.init = { cache: 'default', signal: this.signal };
|
|
20165
|
+
this.languages = 'fr';
|
|
20166
|
+
this.api = undefined;
|
|
20167
|
+
this.touristicContentId = undefined;
|
|
20168
|
+
}
|
|
20169
|
+
connectedCallback() {
|
|
20170
|
+
if (!state.api) {
|
|
20171
|
+
state.api = this.api;
|
|
20172
|
+
state.languages = this.languages.split(',');
|
|
20173
|
+
state.language = state.languages[0];
|
|
20174
|
+
}
|
|
20175
|
+
this.handleTouristicContent();
|
|
20176
|
+
}
|
|
20177
|
+
handleTouristicContent() {
|
|
20178
|
+
const requests = [];
|
|
20179
|
+
requests.push(!state.cities ? fetch(`${state.api}city/?language=${state.language}&fields=id,name&published=true&page_size=999`, this.init) : new Response('null'));
|
|
20180
|
+
requests.push(!state.touristicContentCategories
|
|
20181
|
+
? fetch(`${state.api}touristiccontent_category/?language=${state.language}&published=true&fields=id,label,pictogram&page_size=999`, this.init)
|
|
20182
|
+
: new Response('null'));
|
|
20183
|
+
Promise.all([
|
|
20184
|
+
...requests,
|
|
20185
|
+
fetch(`${state.api}touristiccontent/${this.touristicContentId}/?language=${state.language}&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website`, this.init),
|
|
20186
|
+
])
|
|
20187
|
+
.then(responses => Promise.all(responses.map(response => response.json())))
|
|
20188
|
+
.then(([cities, touristicContentCategory, touristicContent]) => {
|
|
20189
|
+
state.trekNetworkError = false;
|
|
20190
|
+
if (cities) {
|
|
20191
|
+
state.cities = cities.results;
|
|
20192
|
+
}
|
|
20193
|
+
if (touristicContentCategory) {
|
|
20194
|
+
state.touristicContentCategories = touristicContentCategory.results;
|
|
20195
|
+
}
|
|
20196
|
+
state.currentTouristicContent = touristicContent;
|
|
20197
|
+
})
|
|
20198
|
+
.catch(() => {
|
|
20199
|
+
state.trekNetworkError = true;
|
|
20200
|
+
});
|
|
20201
|
+
}
|
|
20202
|
+
disconnectedCallback() {
|
|
20203
|
+
this.controller.abort();
|
|
20204
|
+
state.trekNetworkError = false;
|
|
20205
|
+
}
|
|
20206
|
+
render() {
|
|
20207
|
+
return h(Host, null);
|
|
20208
|
+
}
|
|
20209
|
+
};
|
|
20210
|
+
|
|
19726
20211
|
/* eslint-disable consistent-return */
|
|
19727
20212
|
function Mousewheel({
|
|
19728
20213
|
swiper,
|
|
@@ -20340,7 +20825,259 @@ function freeMode({
|
|
|
20340
20825
|
});
|
|
20341
20826
|
}
|
|
20342
20827
|
|
|
20343
|
-
const grwTrekDetailCss = "@font-face{font-family:\"swiper-icons\";src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide,swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:\"\";-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:\"prev\"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:\"next\"}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper{z-index:0}.material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}:host{--swiper-navigation-size:24px;--swiper-navigation-color:var(--color-on-primary-container);--swiper-pagination-color:var(--color-primary-container);--swiper-pagination-bullet-size:12px}:host .swiper-button-prev,:host .swiper-button-next{background-color:var(--color-primary-container);padding:4px;width:32px;height:32px;border-radius:32px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1)}:host .swiper-button-prev:hover,:host .swiper-button-next:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}grw-trek-detail{overflow:hidden}.trek-options{display:-ms-flexbox;display:flex;position:relative;width:100%;min-height:32px;padding:8px 0px;background-color:var(--color-background);overflow-x:auto}.trek-options::-webkit-scrollbar{display:none}.trek-options .trek-option{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-left:16px;font-size:22px;line-height:28px;font-weight:500;white-space:nowrap;text-decoration:none;color:var(--color-on-surface);-webkit-transition-property:color;transition-property:color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:0.3s;transition-duration:0.3s}.trek-options .trek-option:hover{color:var(--color-primary-app)}@media (hover: none){.trek-options .trek-option:not(.selected-trek-option):hover{color:inherit}}.trek-options .trek-option:last-of-type{margin-right:16px}.trek-options .selected-trek-option{color:var(--color-primary-app)}.trek-options .indicator-selected-trek-option{position:absolute;bottom:8px;height:2px;background-image:-webkit-gradient(linear, left top, left bottom, from(var(--color-primary-app)), to(var(--color-primary-app)));background-image:linear-gradient(var(--color-primary-app), var(--color-primary-app));background-repeat:no-repeat;-webkit-transition:background-size 0.5s ease 0.5s, -webkit-transform 0.5s ease;transition:background-size 0.5s ease 0.5s, -webkit-transform 0.5s ease;transition:transform 0.5s ease, background-size 0.5s ease 0.5s;transition:transform 0.5s ease, background-size 0.5s ease 0.5s, -webkit-transform 0.5s ease;margin-left:16px;background-position:center}.trek-options .presentation.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .steps.selected-trek-option~.indicator-selected-trek-option{width:160px;background-size:80px 100%}.trek-options .description.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .recommendations.selected-trek-option~.indicator-selected-trek-option{width:380px;background-size:190px 100%}.trek-options .sensitive-areas.selected-trek-option~.indicator-selected-trek-option{width:320px;background-size:160px 100%}.trek-options .information-places.selected-trek-option~.indicator-selected-trek-option{width:400px;background-size:200px 100%}.trek-options .pois.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .touristic-content.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .presentation{min-width:120px;width:120px}.trek-options .steps{min-width:80px;width:80px}.trek-options .description{min-width:120px;width:120px}.trek-options .recommendations{min-width:190px;width:190px}.trek-options .sensitive-areas{min-width:160px;width:160px}.trek-options .information-places{min-width:200px;width:200px}.trek-options .pois{min-width:120px;width:120px}.trek-options .touristic-content{min-width:120px;width:120px}.trek-detail-container{font-family:\"Roboto\";color:var(--color-on-surface);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;max-height:100%;overflow-y:auto}.trek-detail-container .name{color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400;padding:0px 24px;margin:8px 0px}.trek-detail-container .image{cursor:pointer;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.trek-detail-container .sub-container{padding:24px 24px 0px 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:start;justify-content:flex-start;-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,.trek-detail-container .sub-container .icons-labels-container .row .icon-label span{font-size:24px;width:24px;height:auto;margin-right:8px}.trek-detail-container .sub-container .icons-labels-container .row .practice img{background-color:var(--color-primary-app)}.trek-detail-container .downloads-container{padding:0px 24px 0px 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-on-surface);font-size:16px;line-height:24px;font-weight:500}.trek-detail-container .downloads-container .links-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.trek-detail-container .downloads-container .links-container a{margin-top:8px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:8px;padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;text-decoration:none}.trek-detail-container .downloads-container .links-container a:nth-child(2){margin:8px 12px 0px 12px}.trek-detail-container .downloads-container .links-container a:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.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 0px 24px}.trek-detail-container .themes-container .theme{background-color:var(--color-secondary-container);color:var(--color-on-secondary-container);border-radius:8px;padding:8px 16px;margin:0px 8px 8px 0px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:1px solid var(--color-outline);height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative}.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 .sensitive-areas-container,.trek-detail-container .source-container,.trek-detail-container .accessibilities-container,.trek-detail-container .parent-trek-container,.trek-detail-container .weather-container{padding:0px 24px 0px 24px}.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 .sensitive-areas-container,.trek-detail-container .information-desks-container,.trek-detail-container .pois-container,.trek-detail-container .source-container,.trek-detail-container .accessibilities-container,.trek-detail-container .weather-container,.trek-detail-container .parent-trek-container,.trek-detail-container .step-container,.trek-detail-container .touristic-content-container{font-size:16px;line-height:24px;font-weight:400}.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 .sensitive-areas-container a,.trek-detail-container .information-desks-container a,.trek-detail-container .pois-container a,.trek-detail-container .source-container a,.trek-detail-container .accessibilities-container a,.trek-detail-container .weather-container a,.trek-detail-container .parent-trek-container a,.trek-detail-container .step-container a,.trek-detail-container .touristic-content-container a{color:var(--color-primary-app)}.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 .sensitive-areas-title,.trek-detail-container .information-desks-title,.trek-detail-container .pois-title,.trek-detail-container .source-title,.trek-detail-container .accessibilities-title,.trek-detail-container .step-title,.trek-detail-container .parent-trek-title,.trek-detail-container .touristic-content-title{color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400;font-weight:bold}.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 .sensitive-areas-title,.trek-detail-container .information-desks-title,.trek-detail-container .pois-title,.trek-detail-container .source-title,.trek-detail-container .accessibilities-title,.trek-detail-container .parent-trek-title,.trek-detail-container .touristic-content-title{margin-bottom:16px}.trek-detail-container .step-title{margin-bottom:12px}.trek-detail-container .information-desks-title,.trek-detail-container .pois-title,.trek-detail-container .step-title,.trek-detail-container .touristic-content-title{padding:0px 24px 0px 24px}.trek-detail-container .parent-trek-title{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:500;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary);background-color:transparent}.trek-detail-container .parent-trek-title div{margin-right:4px}.description-container .description ol{position:relative;counter-reset:referencePoint}.description-container .description ol:before{content:\"\";position:absolute;width:4px;top:0px;bottom:0px;left:14px;background-color:var(--color-primary-app)}.description-container .description ol li{position:relative;list-style-type:none;counter-increment:referencePoint}.description-container .description ol li p{margin:0}.description-container .description ol li:not(:first-child){margin-top:12px}.description-container .description ol li:before{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;content:counter(referencePoint);width:24px;height:24px;background:#f04141;border-radius:12px;font-weight:bold;font-size:0.8em;color:white;margin-left:-36px;top:calc(50% - 12px)}.current-advice-container{display:-ms-flexbox;display:flex;padding:12px;border:2px solid var(--color-outline);border-radius:12px}.current-advice-container span{font-size:24px;width:26px;margin-right:8px}.label-container{margin-top:12px;padding:12px;border:2px solid var(--color-outline);border-radius:12px}.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-on-surface);font-size:16px;line-height:24px;font-weight:500;padding:12px 0px}.label-container .label-advice{color:var(--color-on-surface);font-size:16px;line-height:24px;font-weight:500}.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-on-surface);font-size:16px;line-height:20px;font-weight:500;padding:12px 0px}.departure-container,.arrival-container,.cities-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,.departure-container .cities-title,.arrival-container .departure-title,.arrival-container .arrival-title,.arrival-container .cities-title,.cities-container .departure-title,.cities-container .arrival-title,.cities-container .cities-title{color:var(--color-on-surface);font-weight:bold;white-space:nowrap;margin-right:8px}.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-on-surface);font-size:22px;line-height:28px;font-weight:400;padding:12px 0px}.weather-container #weather-widget{width:100%}.swiper-information-desks,.swiper-pois,.swiper-step,.swiper-touristic-content{padding-right:32px;padding-left:32px}.swiper-step{padding-bottom:4px}.swiper-step .swiper-wrapper .swiper-slide{counter-increment:stepPoint;padding-top:36px}.swiper-step .swiper-wrapper .swiper-slide:first-child:before{border-top-left-radius:8px;border-bottom-left-radius:8px}.swiper-step .swiper-wrapper .swiper-slide:before{content:\"\";position:absolute;top:6px;height:12px;width:calc(100% + 20px);background-color:var(--color-secondary-container)}.swiper-step .swiper-wrapper .swiper-slide:last-child:before{border-top-right-radius:8px;border-bottom-right-radius:8px;width:100%}.swiper-step .swiper-wrapper .swiper-slide:after{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;content:counter(stepPoint);width:24px;height:24px;background:var(--color-primary-app);border-radius:12px;font-weight:bold;font-size:0.8em;color:white;margin-left:calc(50% - 12px);top:0px}.divider{margin:16px;border-top:1px solid var(--color-outline)}.detail-bottom-space{min-height:var(--detail-bottom-space-height);height:var(--detail-bottom-space-height);width:100%;background-color:var(--color-background)}.images-container{display:-ms-flexbox;display:flex;max-width:100%;max-height:400px}";
|
|
20828
|
+
const grwTouristicContentDetailCss = "@font-face{font-family:\"swiper-icons\";src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide,swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:\"\";-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:\"prev\"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:\"next\"}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}.swiper{z-index:0}:host{--swiper-navigation-size:24px;--swiper-navigation-color:var(--color-on-primary-container);--swiper-pagination-color:var(--color-primary-container);--swiper-pagination-bullet-size:12px}:host .swiper-button-prev,:host .swiper-button-next{background-color:var(--color-primary-container);padding:4px;width:32px;height:32px;border-radius:32px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1)}:host .swiper-button-prev:hover,:host .swiper-button-next:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}grw-touristic-content-detail{overflow:hidden}.touristic-content-detail-container{font-family:\"Roboto\";color:var(--color-on-surface);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;max-height:100%;overflow-y:auto}.touristic-content-detail-container .touristic-content-category-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0px 24px;margin:8px 0px}.touristic-content-detail-container .touristic-content-category-container .touristic-content-category-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.touristic-content-detail-container .touristic-content-category-container img{font-size:24px;width:24px;height:24px;margin-right:8px;background-color:var(--color-primary-app)}.touristic-content-detail-container .name{color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400;padding:0px 24px;margin:8px 0px}.touristic-content-detail-container .image,.touristic-content-detail-container .default-poi-img{cursor:pointer;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.touristic-content-detail-container .default-poi-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.touristic-content-detail-container .description-teaser,.touristic-content-detail-container .description-container,.touristic-content-detail-container .useful-information-container,.touristic-content-detail-container .contact-container{padding:0px 24px 0px 24px}.touristic-content-detail-container .description-container,.touristic-content-detail-container .useful-information-container,.touristic-content-detail-container .contact-container{font-size:16px;line-height:24px;font-weight:400}.touristic-content-detail-container .description-container a,.touristic-content-detail-container .useful-information-container a,.touristic-content-detail-container .contact-container a{color:var(--color-primary-app)}.touristic-content-detail-container .description-title,.touristic-content-detail-container .useful-information-title,.touristic-content-detail-container .contact-title{color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400;font-weight:bold;margin-bottom:16px}.detail-bottom-space{min-height:var(--detail-bottom-space-height);height:var(--detail-bottom-space-height);width:100%;background-color:var(--color-background)}.images-container{display:-ms-flexbox;display:flex;max-width:100%;max-height:400px}.divider{margin:16px;border-top:1px solid var(--color-outline)}.cities-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:24px 24px 0px 24px}.cities-container .cities-title{color:var(--color-on-surface);font-weight:bold;white-space:nowrap;margin-right:8px}.downloads-container{padding:0px 24px 0px 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}.downloads-container .download-title{color:var(--color-on-surface);font-size:16px;line-height:24px;font-weight:500}.downloads-container .links-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.downloads-container .links-container a{margin-top:8px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:8px;padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;text-decoration:none}.downloads-container .links-container a:nth-child(2){margin:8px 12px 0px 12px}.downloads-container .links-container a:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.email-container,.website-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
20829
|
+
|
|
20830
|
+
const GrwTouristicContentDetail = class {
|
|
20831
|
+
constructor(hostRef) {
|
|
20832
|
+
registerInstance(this, hostRef);
|
|
20833
|
+
this.displayFullscreen = false;
|
|
20834
|
+
this.colorPrimaryApp = '#6b0030';
|
|
20835
|
+
this.colorOnSurface = '#49454e';
|
|
20836
|
+
this.colorPrimaryContainer = '#eaddff';
|
|
20837
|
+
this.colorOnPrimaryContainer = '#21005e';
|
|
20838
|
+
this.colorSecondaryContainer = '#e8def8';
|
|
20839
|
+
this.colorOnSecondaryContainer = '#1d192b';
|
|
20840
|
+
this.colorSurfaceContainerLow = '#f7f2fa';
|
|
20841
|
+
this.colorBackground = '#fef7ff';
|
|
20842
|
+
this.isLargeView = false;
|
|
20843
|
+
}
|
|
20844
|
+
componentDidLoad() {
|
|
20845
|
+
if (this.swiperImagesRef) {
|
|
20846
|
+
this.swiperImages = new Swiper(this.swiperImagesRef, {
|
|
20847
|
+
modules: [Navigation, Pagination, Keyboard, freeMode, Mousewheel],
|
|
20848
|
+
navigation: {
|
|
20849
|
+
prevEl: this.prevElImagesRef,
|
|
20850
|
+
nextEl: this.nextElImagesRef,
|
|
20851
|
+
},
|
|
20852
|
+
pagination: { el: this.paginationElImagesRef },
|
|
20853
|
+
allowTouchMove: false,
|
|
20854
|
+
keyboard: false,
|
|
20855
|
+
});
|
|
20856
|
+
this.swiperImagesRef.onfullscreenchange = () => {
|
|
20857
|
+
this.displayFullscreen = !this.displayFullscreen;
|
|
20858
|
+
this.displayFullscreen ? this.swiperImages.keyboard.enable() : this.swiperImages.keyboard.disable();
|
|
20859
|
+
};
|
|
20860
|
+
}
|
|
20861
|
+
}
|
|
20862
|
+
handleFullscreen() {
|
|
20863
|
+
if (state.currentTouristicContent.attachments && state.currentTouristicContent.attachments[0] && state.currentTouristicContent.attachments[0].url) {
|
|
20864
|
+
this.swiperImagesRef.requestFullscreen();
|
|
20865
|
+
}
|
|
20866
|
+
}
|
|
20867
|
+
render() {
|
|
20868
|
+
const defaultImageSrc = getAssetPath(`${''}assets/default-image.svg`);
|
|
20869
|
+
const touristicContentCategory = state.touristicContentCategories &&
|
|
20870
|
+
state.currentTouristicContent &&
|
|
20871
|
+
state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === state.currentTouristicContent.category);
|
|
20872
|
+
const cities = state.currentTouristicContent && state.currentTouristicContent.cities.map(currentCity => { var _a; return (_a = state.cities.find(city => city.id === currentCity)) === null || _a === void 0 ? void 0 : _a.name; });
|
|
20873
|
+
return (h(Host, { style: {
|
|
20874
|
+
'--color-primary-app': this.colorPrimaryApp,
|
|
20875
|
+
'--color-on-surface': this.colorOnSurface,
|
|
20876
|
+
'--color-primary-container': this.colorPrimaryContainer,
|
|
20877
|
+
'--color-on-primary-container': this.colorOnPrimaryContainer,
|
|
20878
|
+
'--color-secondary-container': this.colorSecondaryContainer,
|
|
20879
|
+
'--color-on-secondary-container': this.colorOnSecondaryContainer,
|
|
20880
|
+
'--color-background': this.colorBackground,
|
|
20881
|
+
'--detail-bottom-space-height': this.isLargeView ? '8px' : '104px',
|
|
20882
|
+
} }, state.currentTouristicContent && (h("div", { class: "touristic-content-detail-container", ref: el => (this.touristicContentDetailContainerRef = el) }, h("div", { class: "images-container", ref: el => (this.presentationRef = el) }, h("div", { class: "swiper swiper-images", ref: el => (this.swiperImagesRef = el) }, h("div", { class: "swiper-wrapper" }, state.currentTouristicContent.attachments.length > 0 ? (state.currentTouristicContent.attachments
|
|
20883
|
+
.filter(attachment => attachment.type === 'image')
|
|
20884
|
+
.map(attachment => (h("div", { class: "swiper-slide" }, h("img", { class: "image", src: attachment.url, loading: "lazy", onClick: () => this.handleFullscreen() }))))) : (h("div", { class: "swiper-slide" }, h("img", { class: "default-poi-img", src: defaultImageSrc, loading: "lazy" })))), h("div", { class: "swiper-pagination", ref: el => (this.paginationElImagesRef = el) }), h("div", { class: "swiper-button-prev", ref: el => (this.prevElImagesRef = el) }), h("div", { class: "swiper-button-next", ref: el => (this.nextElImagesRef = el) }))), h("div", { class: "touristic-content-category-container" }, h("img", { src: touristicContentCategory.pictogram }), h("div", { class: "touristic-content-category-name" }, touristicContentCategory.label)), h("div", { class: "name" }, state.currentTouristicContent.name), h("div", { class: "divider" }), h("div", { class: "downloads-container" }, h("div", { class: "download-title" }, translate[state.language].download), h("div", { class: "links-container" }, h("a", { href: `${state.currentTouristicContent.pdf}` }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "download"), "PDF"))), state.currentTouristicContent.description_teaser && (h("div", null, h("div", { class: "divider" }), h("div", { class: "description-teaser", innerHTML: state.currentTouristicContent.description_teaser }))), h("div", { class: "divider" }), state.currentTouristicContent.practical_info && (h("div", { class: "description-container", ref: el => (this.descriptionRef = el) }, h("div", { class: "description-title" }, translate[state.language].description), h("div", { class: "description", innerHTML: state.currentTouristicContent.description }))), cities && cities.length > 0 && (h("div", { class: "cities-container" }, h("div", { class: "cities-title" }, translate[state.language].city, " :\u00A0"), h("div", { innerHTML: cities.join(', ') }))), state.currentTouristicContent.practical_info && (h("div", null, h("div", { class: "divider" }), h("div", { class: "useful-information-container" }, h("div", { class: "useful-information-title" }, translate[state.language].usefulInformation, " :\u00A0"), h("div", { innerHTML: state.currentTouristicContent.practical_info })))), (state.currentTouristicContent.contact || state.currentTouristicContent.email || state.currentTouristicContent.website) && (h("div", null, h("div", { class: "divider" }), h("div", { class: "contact-container" }, h("div", { class: "contact-title" }, translate[state.language].contact, " :\u00A0"), state.currentTouristicContent.contact && h("div", { innerHTML: state.currentTouristicContent.contact }), state.currentTouristicContent.email && (h("div", { class: "email-container" }, h("div", null, translate[state.language].email, " :\u00A0"), h("div", { innerHTML: state.currentTouristicContent.email }))), state.currentTouristicContent.website && (h("div", { class: "website-container" }, h("div", null, translate[state.language].website, " :\u00A0"), h("div", { innerHTML: state.currentTouristicContent.website })))))), h("div", { class: "detail-bottom-space" })))));
|
|
20885
|
+
}
|
|
20886
|
+
};
|
|
20887
|
+
GrwTouristicContentDetail.style = grwTouristicContentDetailCss;
|
|
20888
|
+
|
|
20889
|
+
const GrwTouristicContentsProvider = class {
|
|
20890
|
+
constructor(hostRef) {
|
|
20891
|
+
registerInstance(this, hostRef);
|
|
20892
|
+
this.controller = new AbortController();
|
|
20893
|
+
this.signal = this.controller.signal;
|
|
20894
|
+
this.init = { cache: 'default', signal: this.signal };
|
|
20895
|
+
this.languages = 'fr';
|
|
20896
|
+
this.api = undefined;
|
|
20897
|
+
this.touristicContentId = undefined;
|
|
20898
|
+
}
|
|
20899
|
+
connectedCallback() {
|
|
20900
|
+
if (!state.api) {
|
|
20901
|
+
state.api = this.api;
|
|
20902
|
+
state.languages = this.languages.split(',');
|
|
20903
|
+
state.language = state.languages[0];
|
|
20904
|
+
}
|
|
20905
|
+
this.handleTouristicContents();
|
|
20906
|
+
}
|
|
20907
|
+
handleTouristicContents() {
|
|
20908
|
+
const requests = [];
|
|
20909
|
+
requests.push(!state.cities ? fetch(`${state.api}city/?language=${state.language}&fields=id,name&published=true&page_size=999`, this.init) : new Response('null'));
|
|
20910
|
+
requests.push(!state.districts ? fetch(`${state.api}district/?language=${state.language}&fields=id,name&published=true&page_size=999`, this.init) : new Response('null')),
|
|
20911
|
+
requests.push(!state.touristicContentCategories
|
|
20912
|
+
? fetch(`${state.api}touristiccontent_category/?language=${state.language}&published=true&fields=id,label,pictogram&page_size=999`, this.init)
|
|
20913
|
+
: new Response('null'));
|
|
20914
|
+
Promise.all([
|
|
20915
|
+
...requests,
|
|
20916
|
+
fetch(`${state.api}touristiccontent/?language=${state.language}&published=true&fields=id,name,attachments,category,geometry,cities,districts&page_size=999`, this.init),
|
|
20917
|
+
])
|
|
20918
|
+
.then(responses => Promise.all(responses.map(response => response.json())))
|
|
20919
|
+
.then(([cities, districts, touristicContentCategory, touristicContents]) => {
|
|
20920
|
+
state.trekNetworkError = false;
|
|
20921
|
+
if (cities) {
|
|
20922
|
+
state.cities = cities.results;
|
|
20923
|
+
}
|
|
20924
|
+
if (districts) {
|
|
20925
|
+
state.districts = districts.results;
|
|
20926
|
+
}
|
|
20927
|
+
if (touristicContentCategory) {
|
|
20928
|
+
state.touristicContentCategories = touristicContentCategory.results;
|
|
20929
|
+
}
|
|
20930
|
+
state.currentTouristicContents = touristicContents.results;
|
|
20931
|
+
state.touristicContentsWithinBounds = touristicContents.results;
|
|
20932
|
+
state.touristicContents = touristicContents.results;
|
|
20933
|
+
})
|
|
20934
|
+
.catch(() => {
|
|
20935
|
+
state.trekNetworkError = true;
|
|
20936
|
+
});
|
|
20937
|
+
}
|
|
20938
|
+
disconnectedCallback() {
|
|
20939
|
+
this.controller.abort();
|
|
20940
|
+
state.trekNetworkError = false;
|
|
20941
|
+
}
|
|
20942
|
+
render() {
|
|
20943
|
+
return h(Host, null);
|
|
20944
|
+
}
|
|
20945
|
+
};
|
|
20946
|
+
|
|
20947
|
+
const grwTouristicContentsListCss = ".material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}:host{font-family:\"Roboto\";width:100%;height:100%;overflow-y:auto;width:100%}grw-touristic-content-card{width:100% !important;margin:0px 8px 8px 8px}.list-bottom-space{min-height:104px;height:104px;width:100%}.current-touristic-contents-within-bounds-length{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:16px;color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400}.touristic-contents-list-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}";
|
|
20948
|
+
|
|
20949
|
+
const GrwTouristicContentsList = class {
|
|
20950
|
+
constructor(hostRef) {
|
|
20951
|
+
registerInstance(this, hostRef);
|
|
20952
|
+
this.step = 10;
|
|
20953
|
+
this.shouldAddInfiniteScrollEvent = true;
|
|
20954
|
+
this.handleInfiniteScrollBind = this.handleInfiniteScroll.bind(this);
|
|
20955
|
+
this.touristicContentsToDisplay = [];
|
|
20956
|
+
this.colorPrimaryApp = '#6b0030';
|
|
20957
|
+
this.colorOnSurface = '#49454e';
|
|
20958
|
+
this.colorSecondaryContainer = '#e8def8';
|
|
20959
|
+
this.colorOnSecondaryContainer = '#1d192b';
|
|
20960
|
+
this.colorSurfaceContainerLow = '#f7f2fa';
|
|
20961
|
+
this.isLargeView = false;
|
|
20962
|
+
this.resetStoreOnDisconnected = true;
|
|
20963
|
+
}
|
|
20964
|
+
connectedCallback() {
|
|
20965
|
+
this.handleInfiniteScrollEvent(true);
|
|
20966
|
+
if (state.currentTouristicContents) {
|
|
20967
|
+
this.touristicContentsToDisplay = [...state.currentTouristicContents.slice(0, this.step)];
|
|
20968
|
+
}
|
|
20969
|
+
onChange('currentTouristicContents', () => {
|
|
20970
|
+
this.handleInfiniteScrollEvent(true);
|
|
20971
|
+
this.element.scroll({ top: 0 });
|
|
20972
|
+
if (state.currentTouristicContents) {
|
|
20973
|
+
this.touristicContentsToDisplay = [...state.currentTouristicContents.slice(0, this.step)];
|
|
20974
|
+
}
|
|
20975
|
+
});
|
|
20976
|
+
onChange('touristicContentsWithinBounds', () => {
|
|
20977
|
+
this.handleInfiniteScrollEvent(true);
|
|
20978
|
+
this.element.scroll({ top: 0 });
|
|
20979
|
+
if (state.touristicContentsWithinBounds) {
|
|
20980
|
+
this.touristicContentsToDisplay = [...state.touristicContentsWithinBounds.slice(0, this.step)];
|
|
20981
|
+
}
|
|
20982
|
+
});
|
|
20983
|
+
}
|
|
20984
|
+
handleInfiniteScroll(event) {
|
|
20985
|
+
if (event.composedPath()[0].scrollTop + event.composedPath()[0].scrollHeight / 2 >= event.composedPath()[0].scrollHeight) {
|
|
20986
|
+
if (this.touristicContentsToDisplay.length < state.touristicContentsWithinBounds.length) {
|
|
20987
|
+
this.touristicContentsToDisplay = state.touristicContentsWithinBounds.slice(0, this.touristicContentsToDisplay.length + this.step >= state.touristicContentsWithinBounds.length
|
|
20988
|
+
? state.touristicContentsWithinBounds.length
|
|
20989
|
+
: this.touristicContentsToDisplay.length + this.step);
|
|
20990
|
+
}
|
|
20991
|
+
else {
|
|
20992
|
+
this.handleInfiniteScrollEvent(false);
|
|
20993
|
+
}
|
|
20994
|
+
}
|
|
20995
|
+
}
|
|
20996
|
+
handleInfiniteScrollEvent(shouldAddInfiniteScrollEvent) {
|
|
20997
|
+
if (shouldAddInfiniteScrollEvent) {
|
|
20998
|
+
if (this.shouldAddInfiniteScrollEvent) {
|
|
20999
|
+
this.element.addEventListener('scroll', this.handleInfiniteScrollBind);
|
|
21000
|
+
this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
|
|
21001
|
+
}
|
|
21002
|
+
}
|
|
21003
|
+
else {
|
|
21004
|
+
this.element.removeEventListener('scroll', this.handleInfiniteScrollBind);
|
|
21005
|
+
this.shouldAddInfiniteScrollEvent = !shouldAddInfiniteScrollEvent;
|
|
21006
|
+
}
|
|
21007
|
+
}
|
|
21008
|
+
disconnectedCallback() {
|
|
21009
|
+
if (this.resetStoreOnDisconnected) {
|
|
21010
|
+
reset();
|
|
21011
|
+
}
|
|
21012
|
+
this.handleInfiniteScrollEvent(false);
|
|
21013
|
+
}
|
|
21014
|
+
render() {
|
|
21015
|
+
return (h(Host, { style: { '--color-primary-app': this.colorPrimaryApp } }, state.touristicContentsWithinBounds && (h("div", { class: "current-touristic-contents-within-bounds-length" }, `${state.touristicContentsWithinBounds.length} ${state.touristicContentsWithinBounds.length > 1 ? translate[state.language].home.touristicContents : translate[state.language].home.touristicContent}`)), h("div", { class: "touristic-contents-list-container" }, this.touristicContentsToDisplay.map(touristicContent => (h("grw-touristic-content-card", { "reset-store-on-disconnected": "false", key: `touristic-content-${touristicContent.id}`, touristicContent: touristicContent, "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })))), !this.isLargeView && h("div", { class: "list-bottom-space" })));
|
|
21016
|
+
}
|
|
21017
|
+
get element() { return getElement(this); }
|
|
21018
|
+
};
|
|
21019
|
+
GrwTouristicContentsList.style = grwTouristicContentsListCss;
|
|
21020
|
+
|
|
21021
|
+
const grwTouristicEventDetailCss = "@font-face{font-family:\"swiper-icons\";src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide,swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:\"\";-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:\"prev\"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:\"next\"}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper{z-index:0}.material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}:host{--swiper-navigation-size:24px;--swiper-navigation-color:var(--color-on-primary-container);--swiper-pagination-color:var(--color-primary-container);--swiper-pagination-bullet-size:12px}:host .swiper-button-prev,:host .swiper-button-next{background-color:var(--color-primary-container);padding:4px;width:32px;height:32px;border-radius:32px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1)}:host .swiper-button-prev:hover,:host .swiper-button-next:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}grw-touristic-event-detail{overflow:hidden}.touristic-event-detail-container{font-family:\"Roboto\";color:var(--color-on-surface);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;max-height:100%;overflow-y:auto}.touristic-event-detail-container .touristic-event-category-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0px 24px;margin:8px 0px}.touristic-event-detail-container .touristic-event-category-container .touristic-event-category-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.touristic-event-detail-container .touristic-event-category-container img{font-size:24px;width:24px;height:24px;margin-right:8px;background-color:var(--color-primary-app)}.touristic-event-detail-container .name{color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400;padding:0px 24px;margin:8px 0px}.touristic-event-detail-container .image,.touristic-event-detail-container .default-poi-img{cursor:pointer;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.touristic-event-detail-container .default-poi-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.touristic-event-detail-container .description-teaser,.touristic-event-detail-container .description-container,.touristic-event-detail-container .useful-information-container,.touristic-event-detail-container .contact-container{padding:0px 24px 0px 24px}.touristic-event-detail-container .description-container,.touristic-event-detail-container .useful-information-container,.touristic-event-detail-container .contact-container{font-size:16px;line-height:24px;font-weight:400}.touristic-event-detail-container .description-container a,.touristic-event-detail-container .useful-information-container a,.touristic-event-detail-container .contact-container a{color:var(--color-primary-app)}.touristic-event-detail-container .description-title,.touristic-event-detail-container .useful-information-title,.touristic-event-detail-container .contact-title{color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400;font-weight:bold;margin-bottom:16px}.detail-bottom-space{min-height:var(--detail-bottom-space-height);height:var(--detail-bottom-space-height);width:100%;background-color:var(--color-background)}.images-container{display:-ms-flexbox;display:flex;max-width:100%;max-height:400px}.divider{margin:16px;border-top:1px solid var(--color-outline)}.cities-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:24px 24px 0px 24px}.cities-container .cities-title{color:var(--color-on-surface);font-weight:bold;white-space:nowrap;margin-right:8px}.downloads-container{padding:0px 24px 0px 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}.downloads-container .download-title{color:var(--color-on-surface);font-size:16px;line-height:24px;font-weight:500}.downloads-container .links-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.downloads-container .links-container a{margin-top:8px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:8px;padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;text-decoration:none}.downloads-container .links-container a:nth-child(2){margin:8px 12px 0px 12px}.downloads-container .links-container a:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.email-container,.website-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
21022
|
+
|
|
21023
|
+
const GrwTouristicEventDetail = class {
|
|
21024
|
+
constructor(hostRef) {
|
|
21025
|
+
registerInstance(this, hostRef);
|
|
21026
|
+
this.displayFullscreen = false;
|
|
21027
|
+
this.colorPrimaryApp = '#6b0030';
|
|
21028
|
+
this.colorOnSurface = '#49454e';
|
|
21029
|
+
this.colorPrimaryContainer = '#eaddff';
|
|
21030
|
+
this.colorOnPrimaryContainer = '#21005e';
|
|
21031
|
+
this.colorSecondaryContainer = '#e8def8';
|
|
21032
|
+
this.colorOnSecondaryContainer = '#1d192b';
|
|
21033
|
+
this.colorSurfaceContainerLow = '#f7f2fa';
|
|
21034
|
+
this.colorBackground = '#fef7ff';
|
|
21035
|
+
this.isLargeView = false;
|
|
21036
|
+
}
|
|
21037
|
+
componentDidLoad() {
|
|
21038
|
+
this.swiperImages = new Swiper(this.swiperImagesRef, {
|
|
21039
|
+
modules: [Navigation, Pagination, Keyboard, freeMode, Mousewheel],
|
|
21040
|
+
navigation: {
|
|
21041
|
+
prevEl: this.prevElImagesRef,
|
|
21042
|
+
nextEl: this.nextElImagesRef,
|
|
21043
|
+
},
|
|
21044
|
+
pagination: { el: this.paginationElImagesRef },
|
|
21045
|
+
allowTouchMove: false,
|
|
21046
|
+
keyboard: false,
|
|
21047
|
+
});
|
|
21048
|
+
this.swiperImagesRef.onfullscreenchange = () => {
|
|
21049
|
+
this.displayFullscreen = !this.displayFullscreen;
|
|
21050
|
+
this.displayFullscreen ? this.swiperImages.keyboard.enable() : this.swiperImages.keyboard.disable();
|
|
21051
|
+
};
|
|
21052
|
+
}
|
|
21053
|
+
handleFullscreen() {
|
|
21054
|
+
if (state.currentTouristicEvent.attachments && state.currentTouristicEvent.attachments[0] && state.currentTouristicEvent.attachments[0].url) {
|
|
21055
|
+
this.swiperImagesRef.requestFullscreen();
|
|
21056
|
+
}
|
|
21057
|
+
}
|
|
21058
|
+
render() {
|
|
21059
|
+
const defaultImageSrc = getAssetPath(`${''}assets/default-image.svg`);
|
|
21060
|
+
const touristicEventType = state.touristicEventTypes &&
|
|
21061
|
+
state.currentTouristicEvent &&
|
|
21062
|
+
state.touristicEventTypes.find(touristicEventCategory => touristicEventCategory.id === state.currentTouristicEvent.type);
|
|
21063
|
+
const cities = state.currentTouristicEvent && state.currentTouristicEvent.cities.map(currentCity => { var _a; return (_a = state.cities.find(city => city.id === currentCity)) === null || _a === void 0 ? void 0 : _a.name; });
|
|
21064
|
+
return (h(Host, { style: {
|
|
21065
|
+
'--color-primary-app': this.colorPrimaryApp,
|
|
21066
|
+
'--color-on-surface': this.colorOnSurface,
|
|
21067
|
+
'--color-primary-container': this.colorPrimaryContainer,
|
|
21068
|
+
'--color-on-primary-container': this.colorOnPrimaryContainer,
|
|
21069
|
+
'--color-secondary-container': this.colorSecondaryContainer,
|
|
21070
|
+
'--color-on-secondary-container': this.colorOnSecondaryContainer,
|
|
21071
|
+
'--color-background': this.colorBackground,
|
|
21072
|
+
'--detail-bottom-space-height': this.isLargeView ? '8px' : '104px',
|
|
21073
|
+
} }, state.currentTouristicEvent && (h("div", { class: "touristic-event-detail-container", ref: el => (this.touristicEventDetailContainerRef = el) }, h("div", { class: "images-container", ref: el => (this.presentationRef = el) }, h("div", { class: "swiper swiper-images", ref: el => (this.swiperImagesRef = el) }, h("div", { class: "swiper-wrapper" }, state.currentTouristicEvent.attachments.length > 0 ? (state.currentTouristicEvent.attachments
|
|
21074
|
+
.filter(attachment => attachment.type === 'image')
|
|
21075
|
+
.map(attachment => (h("div", { class: "swiper-slide" }, h("img", { class: "image", src: attachment.url, loading: "lazy", onClick: () => this.handleFullscreen() }))))) : (h("div", { class: "swiper-slide" }, h("img", { class: "default-poi-img", src: defaultImageSrc, loading: "lazy" })))), h("div", { class: "swiper-pagination", ref: el => (this.paginationElImagesRef = el) }), h("div", { class: "swiper-button-prev", ref: el => (this.prevElImagesRef = el) }), h("div", { class: "swiper-button-next", ref: el => (this.nextElImagesRef = el) }))), h("div", { class: "touristic-event-category-container" }, h("img", { src: touristicEventType.pictogram }), h("div", { class: "touristic-event-category-name" }, touristicEventType.type)), h("div", { class: "name" }, state.currentTouristicEvent.name), h("div", { class: "divider" }), h("div", { class: "downloads-container" }, h("div", { class: "download-title" }, translate[state.language].download), h("div", { class: "links-container" }, h("a", { href: `${state.currentTouristicEvent.pdf}` }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "download"), "PDF"))), state.currentTouristicEvent.description_teaser && (h("div", null, h("div", { class: "divider" }), h("div", { class: "description-teaser", innerHTML: state.currentTouristicEvent.description_teaser }))), h("div", { class: "divider" }), state.currentTouristicEvent.practical_info && (h("div", { class: "description-container", ref: el => (this.descriptionRef = el) }, h("div", { class: "description-title" }, translate[state.language].description), h("div", { class: "description", innerHTML: state.currentTouristicEvent.description }))), cities && cities.length > 0 && (h("div", { class: "cities-container" }, h("div", { class: "cities-title" }, translate[state.language].city, " :\u00A0"), h("div", { innerHTML: cities.join(', ') }))), state.currentTouristicEvent.practical_info && (h("div", null, h("div", { class: "divider" }), h("div", { class: "useful-information-container" }, h("div", { class: "useful-information-title" }, translate[state.language].usefulInformation, " :\u00A0"), h("div", { innerHTML: state.currentTouristicEvent.practical_info })))), (state.currentTouristicEvent.contact || state.currentTouristicEvent.email || state.currentTouristicEvent.website) && (h("div", null, h("div", { class: "divider" }), h("div", { class: "contact-container" }, h("div", { class: "contact-title" }, translate[state.language].contact, " :\u00A0"), state.currentTouristicEvent.contact && h("div", { innerHTML: state.currentTouristicEvent.contact }), state.currentTouristicEvent.email && (h("div", { class: "email-container" }, h("div", null, translate[state.language].email, " :\u00A0"), h("div", { innerHTML: state.currentTouristicEvent.email }))), state.currentTouristicEvent.website && (h("div", { class: "website-container" }, h("div", null, translate[state.language].website, " :\u00A0"), h("div", { innerHTML: state.currentTouristicEvent.website })))))), h("div", { class: "detail-bottom-space" })))));
|
|
21076
|
+
}
|
|
21077
|
+
};
|
|
21078
|
+
GrwTouristicEventDetail.style = grwTouristicEventDetailCss;
|
|
21079
|
+
|
|
21080
|
+
const grwTrekDetailCss = "@font-face{font-family:\"swiper-icons\";src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-slide,swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-backface-hidden .swiper-slide{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{-webkit-scroll-snap-type:none;-ms-scroll-snap-type:none;scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:\"\";-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:9999;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-start:var(--swiper-centered-offset-before);margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{-webkit-margin-before:var(--swiper-centered-offset-before);margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{-webkit-animation:swiper-preloader-spin 1s infinite linear;animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:\"prev\"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:\"next\"}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper{z-index:0}.material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}:host{--swiper-navigation-size:24px;--swiper-navigation-color:var(--color-on-primary-container);--swiper-pagination-color:var(--color-primary-container);--swiper-pagination-bullet-size:12px}:host .swiper-button-prev,:host .swiper-button-next{background-color:var(--color-primary-container);padding:4px;width:32px;height:32px;border-radius:32px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1)}:host .swiper-button-prev:hover,:host .swiper-button-next:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}grw-trek-detail{overflow:hidden}.trek-options{display:-ms-flexbox;display:flex;position:relative;width:100%;min-height:32px;padding:8px 0px;background-color:var(--color-background);overflow-x:auto}.trek-options::-webkit-scrollbar{display:none}.trek-options .trek-option{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-left:16px;font-size:22px;line-height:28px;font-weight:500;white-space:nowrap;text-decoration:none;color:var(--color-on-surface);-webkit-transition-property:color;transition-property:color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:0.3s;transition-duration:0.3s}.trek-options .trek-option:hover{color:var(--color-primary-app)}@media (hover: none){.trek-options .trek-option:not(.selected-trek-option):hover{color:inherit}}.trek-options .trek-option:last-of-type{margin-right:16px}.trek-options .selected-trek-option{color:var(--color-primary-app)}.trek-options .indicator-selected-trek-option{position:absolute;bottom:8px;height:2px;background-image:-webkit-gradient(linear, left top, left bottom, from(var(--color-primary-app)), to(var(--color-primary-app)));background-image:linear-gradient(var(--color-primary-app), var(--color-primary-app));background-repeat:no-repeat;-webkit-transition:background-size 0.5s ease 0.5s, -webkit-transform 0.5s ease;transition:background-size 0.5s ease 0.5s, -webkit-transform 0.5s ease;transition:transform 0.5s ease, background-size 0.5s ease 0.5s;transition:transform 0.5s ease, background-size 0.5s ease 0.5s, -webkit-transform 0.5s ease;margin-left:16px;background-position:center}.trek-options .presentation.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .steps.selected-trek-option~.indicator-selected-trek-option{width:160px;background-size:80px 100%}.trek-options .description.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .recommendations.selected-trek-option~.indicator-selected-trek-option{width:380px;background-size:190px 100%}.trek-options .sensitive-areas.selected-trek-option~.indicator-selected-trek-option{width:320px;background-size:160px 100%}.trek-options .information-places.selected-trek-option~.indicator-selected-trek-option{width:400px;background-size:200px 100%}.trek-options .pois.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .touristic-content.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .touristic-event.selected-trek-option~.indicator-selected-trek-option{width:240px;background-size:120px 100%}.trek-options .presentation{min-width:120px;width:120px}.trek-options .steps{min-width:80px;width:80px}.trek-options .description{min-width:120px;width:120px}.trek-options .recommendations{min-width:190px;width:190px}.trek-options .sensitive-areas{min-width:160px;width:160px}.trek-options .information-places{min-width:200px;width:200px}.trek-options .pois{min-width:120px;width:120px}.trek-options .touristic-content{min-width:120px;width:120px}.trek-options .touristic-event{min-width:120px;width:120px}.trek-detail-container{font-family:\"Roboto\";color:var(--color-on-surface);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;max-height:100%;overflow-y:auto}.trek-detail-container .name{color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400;padding:0px 24px;margin:8px 0px}.trek-detail-container .image{cursor:pointer;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.trek-detail-container .sub-container{padding:24px 24px 0px 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:start;justify-content:flex-start;-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,.trek-detail-container .sub-container .icons-labels-container .row .icon-label span{font-size:24px;width:24px;height:auto;margin-right:8px}.trek-detail-container .sub-container .icons-labels-container .row .practice img{background-color:var(--color-primary-app)}.trek-detail-container .downloads-container{padding:0px 24px 0px 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-on-surface);font-size:16px;line-height:24px;font-weight:500}.trek-detail-container .downloads-container .links-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.trek-detail-container .downloads-container .links-container a{margin-top:8px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);border-radius:8px;padding:8px 16px;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;text-decoration:none}.trek-detail-container .downloads-container .links-container a:nth-child(2){margin:8px 12px 0px 12px}.trek-detail-container .downloads-container .links-container a:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.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 0px 24px}.trek-detail-container .themes-container .theme{background-color:var(--color-secondary-container);color:var(--color-on-secondary-container);border-radius:8px;padding:8px 16px;margin:0px 8px 8px 0px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:1px solid var(--color-outline);height:32px;gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative}.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 .sensitive-areas-container,.trek-detail-container .source-container,.trek-detail-container .accessibilities-container,.trek-detail-container .parent-trek-container,.trek-detail-container .weather-container{padding:0px 24px 0px 24px}.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 .sensitive-areas-container,.trek-detail-container .information-desks-container,.trek-detail-container .pois-container,.trek-detail-container .source-container,.trek-detail-container .accessibilities-container,.trek-detail-container .weather-container,.trek-detail-container .parent-trek-container,.trek-detail-container .step-container,.trek-detail-container .touristic-content-container,.trek-detail-container .touristic-event-container{font-size:16px;line-height:24px;font-weight:400}.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 .sensitive-areas-container a,.trek-detail-container .information-desks-container a,.trek-detail-container .pois-container a,.trek-detail-container .source-container a,.trek-detail-container .accessibilities-container a,.trek-detail-container .weather-container a,.trek-detail-container .parent-trek-container a,.trek-detail-container .step-container a,.trek-detail-container .touristic-content-container a,.trek-detail-container .touristic-event-container a{color:var(--color-primary-app)}.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 .sensitive-areas-title,.trek-detail-container .information-desks-title,.trek-detail-container .pois-title,.trek-detail-container .source-title,.trek-detail-container .accessibilities-title,.trek-detail-container .step-title,.trek-detail-container .parent-trek-title,.trek-detail-container .touristic-content-title,.trek-detail-container .touristic-event-title{color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400;font-weight:bold}.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 .sensitive-areas-title,.trek-detail-container .information-desks-title,.trek-detail-container .pois-title,.trek-detail-container .source-title,.trek-detail-container .accessibilities-title,.trek-detail-container .parent-trek-title,.trek-detail-container .touristic-content-title,.trek-detail-container .touristic-event-title{margin-bottom:16px}.trek-detail-container .step-title{margin-bottom:12px}.trek-detail-container .information-desks-title,.trek-detail-container .pois-title,.trek-detail-container .step-title,.trek-detail-container .touristic-content-title,.trek-detail-container .touristic-event-title{padding:0px 24px 0px 24px}.trek-detail-container .parent-trek-title{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:500;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary);background-color:transparent}.trek-detail-container .parent-trek-title div{margin-right:4px}.description-container .description ol{position:relative;counter-reset:referencePoint}.description-container .description ol:before{content:\"\";position:absolute;width:4px;top:0px;bottom:0px;left:14px;background-color:var(--color-primary-app)}.description-container .description ol li{position:relative;list-style-type:none;counter-increment:referencePoint}.description-container .description ol li p{margin:0}.description-container .description ol li:not(:first-child){margin-top:12px}.description-container .description ol li:before{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;content:counter(referencePoint);width:24px;height:24px;background:#f04141;border-radius:12px;font-weight:bold;font-size:0.8em;color:white;margin-left:-36px;top:calc(50% - 12px)}.current-advice-container{display:-ms-flexbox;display:flex;padding:12px;border:2px solid var(--color-outline);border-radius:12px}.current-advice-container span{font-size:24px;width:26px;margin-right:8px}.label-container{margin-top:12px;padding:12px;border:2px solid var(--color-outline);border-radius:12px}.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-on-surface);font-size:16px;line-height:24px;font-weight:500;padding:12px 0px}.label-container .label-advice{color:var(--color-on-surface);font-size:16px;line-height:24px;font-weight:500}.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-on-surface);font-size:16px;line-height:20px;font-weight:500;padding:12px 0px}.departure-container,.arrival-container,.cities-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,.departure-container .cities-title,.arrival-container .departure-title,.arrival-container .arrival-title,.arrival-container .cities-title,.cities-container .departure-title,.cities-container .arrival-title,.cities-container .cities-title{color:var(--color-on-surface);font-weight:bold;white-space:nowrap;margin-right:8px}.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-on-surface);font-size:22px;line-height:28px;font-weight:400;padding:12px 0px}.weather-container #weather-widget{width:100%}.swiper-information-desks,.swiper-pois,.swiper-step,.swiper-touristic-content,.swiper-touristic-event{padding-right:32px;padding-left:32px}.swiper-step{padding-bottom:4px}.swiper-step .swiper-wrapper .swiper-slide{counter-increment:stepPoint;padding-top:36px}.swiper-step .swiper-wrapper .swiper-slide:first-child:before{border-top-left-radius:8px;border-bottom-left-radius:8px}.swiper-step .swiper-wrapper .swiper-slide:before{content:\"\";position:absolute;top:6px;height:12px;width:calc(100% + 20px);background-color:var(--color-secondary-container)}.swiper-step .swiper-wrapper .swiper-slide:last-child:before{border-top-right-radius:8px;border-bottom-right-radius:8px;width:100%}.swiper-step .swiper-wrapper .swiper-slide:after{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;content:counter(stepPoint);width:24px;height:24px;background:var(--color-primary-app);border-radius:12px;font-weight:bold;font-size:0.8em;color:white;margin-left:calc(50% - 12px);top:0px}.divider{margin:16px;border-top:1px solid var(--color-outline)}.detail-bottom-space{min-height:var(--detail-bottom-space-height);height:var(--detail-bottom-space-height);width:100%;background-color:var(--color-background)}.images-container{display:-ms-flexbox;display:flex;max-width:100%;max-height:400px}";
|
|
20344
21081
|
|
|
20345
21082
|
const presentation = {
|
|
20346
21083
|
visible: true,
|
|
@@ -20382,6 +21119,11 @@ const touristicContents = {
|
|
|
20382
21119
|
width: 120,
|
|
20383
21120
|
indicator: false,
|
|
20384
21121
|
};
|
|
21122
|
+
const touristicEvents = {
|
|
21123
|
+
visible: false,
|
|
21124
|
+
width: 120,
|
|
21125
|
+
indicator: false,
|
|
21126
|
+
};
|
|
20385
21127
|
const options = {
|
|
20386
21128
|
presentation,
|
|
20387
21129
|
steps,
|
|
@@ -20391,6 +21133,7 @@ const options = {
|
|
|
20391
21133
|
informationPlaces,
|
|
20392
21134
|
pois,
|
|
20393
21135
|
touristicContents,
|
|
21136
|
+
touristicEvents,
|
|
20394
21137
|
};
|
|
20395
21138
|
const GrwTrekDetail = class {
|
|
20396
21139
|
constructor(hostRef) {
|
|
@@ -20402,6 +21145,7 @@ const GrwTrekDetail = class {
|
|
|
20402
21145
|
this.poiIsInViewport = createEvent(this, "poiIsInViewport", 7);
|
|
20403
21146
|
this.stepsIsInViewport = createEvent(this, "stepsIsInViewport", 7);
|
|
20404
21147
|
this.touristicContentsIsInViewport = createEvent(this, "touristicContentsIsInViewport", 7);
|
|
21148
|
+
this.touristicEventsIsInViewport = createEvent(this, "touristicEventsIsInViewport", 7);
|
|
20405
21149
|
this.parentTrekPress = createEvent(this, "parentTrekPress", 7);
|
|
20406
21150
|
this.currentTrek = undefined;
|
|
20407
21151
|
this.difficulty = undefined;
|
|
@@ -20499,6 +21243,20 @@ const GrwTrekDetail = class {
|
|
|
20499
21243
|
},
|
|
20500
21244
|
},
|
|
20501
21245
|
});
|
|
21246
|
+
this.swiperTouristicEvents = new Swiper(this.swiperTouristicEventsRef, {
|
|
21247
|
+
modules: [freeMode, Mousewheel],
|
|
21248
|
+
slidesPerView: 1.5,
|
|
21249
|
+
spaceBetween: 20,
|
|
21250
|
+
grabCursor: true,
|
|
21251
|
+
freeMode: true,
|
|
21252
|
+
mousewheel: { forceToAxis: true },
|
|
21253
|
+
breakpointsBase: 'container',
|
|
21254
|
+
breakpoints: {
|
|
21255
|
+
'540': {
|
|
21256
|
+
slidesPerView: 2.5,
|
|
21257
|
+
},
|
|
21258
|
+
},
|
|
21259
|
+
});
|
|
20502
21260
|
if (this.presentationRef) {
|
|
20503
21261
|
const presentationObserver = new IntersectionObserver(entries => {
|
|
20504
21262
|
const isIntersecting = entries[0].isIntersecting;
|
|
@@ -20584,6 +21342,16 @@ const GrwTrekDetail = class {
|
|
|
20584
21342
|
});
|
|
20585
21343
|
touristicContentObserver.observe(this.touristicContentsRef);
|
|
20586
21344
|
}
|
|
21345
|
+
if (this.touristicEventsRef) {
|
|
21346
|
+
const touristicEventObserver = new IntersectionObserver(entries => {
|
|
21347
|
+
const isIntersecting = entries[0].isIntersecting;
|
|
21348
|
+
this.touristicEventsIsInViewport.emit(isIntersecting);
|
|
21349
|
+
if (isIntersecting) {
|
|
21350
|
+
this.options = Object.assign(Object.assign({}, this.defaultOptions), { touristicEvents: Object.assign(Object.assign({}, this.defaultOptions.touristicEvents), { indicator: isIntersecting }) });
|
|
21351
|
+
}
|
|
21352
|
+
});
|
|
21353
|
+
touristicEventObserver.observe(this.touristicContentsRef);
|
|
21354
|
+
}
|
|
20587
21355
|
}
|
|
20588
21356
|
connectedCallback() {
|
|
20589
21357
|
this.currentTrek = this.trek ? this.trek : state.currentTrek;
|
|
@@ -20630,7 +21398,7 @@ const GrwTrekDetail = class {
|
|
|
20630
21398
|
}
|
|
20631
21399
|
handleOptions() {
|
|
20632
21400
|
return Object.assign(Object.assign({}, options), { presentation: Object.assign({}, presentation), steps: Object.assign(Object.assign({}, steps), { visible: Boolean(state.parentTrek) }), description: Object.assign(Object.assign({}, description), { visible: Boolean(this.currentTrek.description) }), recommendations: Object.assign(Object.assign({}, recommendations), { visible: Boolean(this.currentTrek.advice || (this.labels && this.labels.length > 0)) }), sensitiveArea: Object.assign(Object.assign({}, sensitiveArea), { visible: Boolean(state.currentSensitiveAreas && state.currentSensitiveAreas.length > 0) }), informationPlaces: Object.assign(Object.assign({}, informationPlaces), { visible: Boolean(state.currentInformationDesks &&
|
|
20633
|
-
state.currentInformationDesks.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id)).length > 0) }), pois: Object.assign(Object.assign({}, pois), { visible: Boolean(state.currentPois && state.currentPois.length > 0) }), touristicContents: Object.assign(Object.assign({}, touristicContents), { visible: Boolean(state.
|
|
21401
|
+
state.currentInformationDesks.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id)).length > 0) }), pois: Object.assign(Object.assign({}, pois), { visible: Boolean(state.currentPois && state.currentPois.length > 0) }), touristicContents: Object.assign(Object.assign({}, touristicContents), { visible: Boolean(state.trekTouristicContents && state.trekTouristicContents.length > 0) }), touristicEvents: Object.assign(Object.assign({}, touristicEvents), { visible: Boolean(state.touristicEvents && state.touristicEvents.length > 0) }) });
|
|
20634
21402
|
}
|
|
20635
21403
|
handleFullscreen() {
|
|
20636
21404
|
if (this.currentTrek.attachments && this.currentTrek.attachments[0] && this.currentTrek.attachments[0].url) {
|
|
@@ -20671,15 +21439,15 @@ const GrwTrekDetail = class {
|
|
|
20671
21439
|
'--color-on-secondary-container': this.colorOnSecondaryContainer,
|
|
20672
21440
|
'--color-background': this.colorBackground,
|
|
20673
21441
|
'--detail-bottom-space-height': this.isLargeView ? '8px' : '104px',
|
|
20674
|
-
} }, this.currentTrek && (h("div", { class: "trek-options" }, h("a", { onClick: () => this.handleScrollTo(this.presentationRef), class: `presentation trek-option${this.options.presentation.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.presentation), this.options.steps.visible && (h("a", { onClick: () => this.handleScrollTo(this.stepsRef), class: `steps trek-option${this.options.steps.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.steps)), this.options.description.visible && (h("a", { onClick: () => this.handleScrollTo(this.descriptionRef), class: `description trek-option${this.options.description.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.description)), this.options.recommendations.visible && (h("a", { onClick: () => this.handleScrollTo(this.recommendationRef), class: `recommendations trek-option${this.options.recommendations.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.recommendations)), this.options.sensitiveArea.visible && (h("a", { onClick: () => this.handleScrollTo(this.sensitiveAreaRef), class: `sensitive-areas trek-option${this.options.sensitiveArea.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.environmentalSensitiveAreas)), this.options.informationPlaces.visible && (h("a", { onClick: () => this.handleScrollTo(this.informationDeskRef), class: `information-places trek-option${this.options.informationPlaces.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.informationPlaces)), this.options.pois.visible && (h("a", { onClick: () => this.handleScrollTo(this.poiRef), class: `pois trek-option${this.options.pois.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.pois)), this.options.touristicContents.visible && (h("a", { onClick: () => this.handleScrollTo(this.touristicContentsRef), class: `touristic-content trek-option${this.options.touristicContents.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.touristicContents)), h("span", { class: "indicator-selected-trek-option", style: { transform: `translateX(${this.handleIndicatorSelectedTrekOption()})` } }))), this.currentTrek && (h("div", { class: "trek-detail-container", ref: el => (this.trekDetailContainerRef = el) }, h("div", { class: "images-container", ref: el => (this.presentationRef = el) }, h("div", { class: "swiper swiper-images", ref: el => (this.swiperImagesRef = el) }, h("div", { class: "swiper-wrapper" }, this.currentTrek.attachments
|
|
21442
|
+
} }, this.currentTrek && (h("div", { class: "trek-options" }, h("a", { onClick: () => this.handleScrollTo(this.presentationRef), class: `presentation trek-option${this.options.presentation.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.presentation), this.options.steps.visible && (h("a", { onClick: () => this.handleScrollTo(this.stepsRef), class: `steps trek-option${this.options.steps.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.steps)), this.options.description.visible && (h("a", { onClick: () => this.handleScrollTo(this.descriptionRef), class: `description trek-option${this.options.description.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.description)), this.options.recommendations.visible && (h("a", { onClick: () => this.handleScrollTo(this.recommendationRef), class: `recommendations trek-option${this.options.recommendations.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.recommendations)), this.options.sensitiveArea.visible && (h("a", { onClick: () => this.handleScrollTo(this.sensitiveAreaRef), class: `sensitive-areas trek-option${this.options.sensitiveArea.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.environmentalSensitiveAreas)), this.options.informationPlaces.visible && (h("a", { onClick: () => this.handleScrollTo(this.informationDeskRef), class: `information-places trek-option${this.options.informationPlaces.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.informationPlaces)), this.options.pois.visible && (h("a", { onClick: () => this.handleScrollTo(this.poiRef), class: `pois trek-option${this.options.pois.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.pois)), this.options.touristicContents.visible && (h("a", { onClick: () => this.handleScrollTo(this.touristicContentsRef), class: `touristic-content trek-option${this.options.touristicContents.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.touristicContents)), this.options.touristicEvents.visible && (h("a", { onClick: () => this.handleScrollTo(this.touristicEventsRef), class: `touristic-event trek-option${this.options.touristicEvents.indicator ? ' selected-trek-option' : ''}` }, translate[state.language].options.touristicEvents)), h("span", { class: "indicator-selected-trek-option", style: { transform: `translateX(${this.handleIndicatorSelectedTrekOption()})` } }))), this.currentTrek && (h("div", { class: "trek-detail-container", ref: el => (this.trekDetailContainerRef = el) }, h("div", { class: "images-container", ref: el => (this.presentationRef = el) }, h("div", { class: "swiper swiper-images", ref: el => (this.swiperImagesRef = el) }, h("div", { class: "swiper-wrapper" }, this.currentTrek.attachments
|
|
20675
21443
|
.filter(attachment => attachment.type === 'image')
|
|
20676
21444
|
.map(attachment => (h("div", { class: "swiper-slide" }, h("img", { class: "image", src: attachment.url, loading: "lazy", onClick: () => this.handleFullscreen() }))))), h("div", { class: "swiper-pagination", ref: el => (this.paginationElImagesRef = el) }), h("div", { class: "swiper-button-prev", ref: el => (this.prevElImagesRef = el) }), h("div", { class: "swiper-button-next", ref: el => (this.nextElImagesRef = el) }))), h("div", { class: "name" }, this.currentTrek.name), this.themes.length > 0 && (h("div", { class: "themes-container" }, this.themes.map(theme => (h("div", { class: "theme" }, theme.label))))), h("div", { class: "sub-container" }, h("div", { class: "icons-labels-container" }, h("div", { class: "row" }, h("div", { class: "icon-label difficulty" }, ((_a = this.difficulty) === null || _a === void 0 ? void 0 : _a.pictogram) && h("img", { src: this.difficulty.pictogram }), (_b = this.difficulty) === null || _b === void 0 ? void 0 :
|
|
20677
|
-
_b.label), h("div", { class: "icon-label duration" }, h("span", { class: "material-symbols material-symbols-outlined" }, "timelapse"), formatDuration((_c = this.currentTrek) === null || _c === void 0 ? void 0 : _c.duration)), h("div", { class: "icon-label route" }, ((_d = this.route) === null || _d === void 0 ? void 0 : _d.pictogram) && h("img", { src: this.route.pictogram }), (_e = this.route) === null || _e === void 0 ? void 0 :
|
|
20678
|
-
_e.route)), h("div", { class: "row" }, h("div", { class: "icon-label length" }, h("span", { class: "material-symbols material-symbols-outlined" }, "open_in_full"), formatLength(this.currentTrek.length_2d)), h("div", { class: "icon-label ascent" }, h("span", { class: "material-symbols material-symbols-outlined" }, "moving"), formatAscent(this.currentTrek.ascent)), h("div", { class: "icon-label practice" }, ((_f = this.practice) === null || _f === void 0 ? void 0 : _f.pictogram) && h("img", { src: this.practice.pictogram }), (_g = this.practice) === null || _g === void 0 ? void 0 :
|
|
20679
|
-
_g.name)))), h("div", { class: "divider" }), h("div", { class: "downloads-container" }, h("div", { class: "download-title" }, translate[state.language].downloads), h("div", { class: "links-container" }, h("a", { href: `${this.currentTrek.gpx}` }, h("span", { class: "material-symbols material-symbols-outlined" }, "download"), "GPX"), h("a", { href: `${this.currentTrek.kml}` }, h("span", { class: "material-symbols material-symbols-outlined" }, "download"), "KML"), h("a", { href: `${this.currentTrek.pdf}` }, h("span", { class: "material-symbols material-symbols-outlined" }, "download"), "PDF"))), h("div", { class: "divider" }), this.currentTrek.description_teaser && h("div", { class: "description-teaser", innerHTML: this.currentTrek.description_teaser }), this.currentTrek.ambiance && h("div", { class: "ambiance", innerHTML: this.currentTrek.ambiance }),
|
|
21445
|
+
_b.label), h("div", { class: "icon-label duration" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "timelapse"), formatDuration((_c = this.currentTrek) === null || _c === void 0 ? void 0 : _c.duration)), h("div", { class: "icon-label route" }, ((_d = this.route) === null || _d === void 0 ? void 0 : _d.pictogram) && h("img", { src: this.route.pictogram }), (_e = this.route) === null || _e === void 0 ? void 0 :
|
|
21446
|
+
_e.route)), h("div", { class: "row" }, h("div", { class: "icon-label length" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "open_in_full"), formatLength(this.currentTrek.length_2d)), h("div", { class: "icon-label ascent" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "moving"), formatAscent(this.currentTrek.ascent)), h("div", { class: "icon-label practice" }, ((_f = this.practice) === null || _f === void 0 ? void 0 : _f.pictogram) && h("img", { src: this.practice.pictogram }), (_g = this.practice) === null || _g === void 0 ? void 0 :
|
|
21447
|
+
_g.name)))), h("div", { class: "divider" }), h("div", { class: "downloads-container" }, h("div", { class: "download-title" }, translate[state.language].downloads), h("div", { class: "links-container" }, h("a", { href: `${this.currentTrek.gpx}` }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "download"), "GPX"), h("a", { href: `${this.currentTrek.kml}` }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "download"), "KML"), h("a", { href: `${this.currentTrek.pdf}` }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "download"), "PDF"))), h("div", { class: "divider" }), this.currentTrek.description_teaser && h("div", { class: "description-teaser", innerHTML: this.currentTrek.description_teaser }), this.currentTrek.ambiance && h("div", { class: "ambiance", innerHTML: this.currentTrek.ambiance }), state.parentTrekId && state.parentTrek && this.currentTrek.id !== state.parentTrekId && (h("div", null, h("div", { class: "divider" }), h("div", { class: "parent-trek-container" }, h("button", { class: "parent-trek-title", onClick: () => this.parentTrekPress.emit(state.parentTrekId) }, h("div", null, "<"), state.parentTrek.name)))), state.currentTrekSteps && (h("div", { class: "step-container", ref: el => (this.stepsRef = el) }, h("div", { class: "step-title" }, `${state.currentTrekSteps.length} ${translate[state.language].steps}`), h("div", { class: "swiper swiper-step", ref: el => (this.swiperStepRef = el) }, h("div", { class: "swiper-wrapper" }, state.currentTrekSteps &&
|
|
20680
21448
|
state.currentTrekSteps.map(trek => {
|
|
20681
21449
|
return (h("div", { class: "swiper-slide" }, h("grw-trek-card", { "reset-store-on-disconnected": "false", key: `trek-${trek.id}`, trek: trek, "is-large-view": false, "is-step": true, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })));
|
|
20682
|
-
}))))), h("div", { class: "divider" }), this.currentTrek.description && (h("div", { class: "description-container", ref: el => (this.descriptionRef = el) }, h("div", { class: "description-title" }, translate[state.language].description), h("div", { class: "description", innerHTML: this.currentTrek.description }))), this.currentTrek.departure && (h("div", { class: "departure-container" }, h("div", { class: "departure-title" }, translate[state.language].departure, " :\u00A0"), h("div", { innerHTML: this.currentTrek.departure }))), this.currentTrek.arrival && (h("div", { class: "arrival-container" }, h("div", { class: "arrival-title" }, translate[state.language].arrival, " :\u00A0"), h("div", { innerHTML: this.currentTrek.arrival }))), this.currentTrek.cities && this.currentTrek.cities.length > 0 && (h("div", { class: "cities-container" }, h("div", { class: "cities-title" }, translate[state.language].
|
|
21450
|
+
}))))), h("div", { class: "divider" }), this.currentTrek.description && (h("div", { class: "description-container", ref: el => (this.descriptionRef = el) }, h("div", { class: "description-title" }, translate[state.language].description), h("div", { class: "description", innerHTML: this.currentTrek.description }))), this.currentTrek.departure && (h("div", { class: "departure-container" }, h("div", { class: "departure-title" }, translate[state.language].departure, " :\u00A0"), h("div", { innerHTML: this.currentTrek.departure }))), this.currentTrek.arrival && (h("div", { class: "arrival-container" }, h("div", { class: "arrival-title" }, translate[state.language].arrival, " :\u00A0"), h("div", { innerHTML: this.currentTrek.arrival }))), this.currentTrek.cities && this.currentTrek.cities.length > 0 && (h("div", { class: "cities-container" }, h("div", { class: "cities-title" }, translate[state.language].crossedCities, " :\u00A0"), h("div", { innerHTML: this.cities.join(', ') }))), this.weather && this.currentTrek.departure_city && (h("div", { class: "weather-container" }, h("iframe", { height: "150", frameborder: "0", src: `https://meteofrance.com/widget/prevision/${this.currentTrek.departure_city}0#${this.colorPrimaryApp}` }))), this.currentTrek.access && (h("div", null, h("div", { class: "divider" }), h("div", { class: "access-container" }, h("div", { class: "access-title" }, translate[state.language].roadAccess), h("div", { class: "access", innerHTML: this.currentTrek.access })))), this.currentTrek.public_transport && (h("div", null, h("div", { class: "divider" }), h("div", { class: "public-transport-container" }, h("div", { class: "public-transport-title" }, translate[state.language].transport), h("div", { class: "public-transport", innerHTML: this.currentTrek.public_transport })))), (this.currentTrek.advice || this.labels.length > 0) && (h("div", null, h("div", { class: "divider" }), h("div", { class: "advice-container", ref: el => (this.recommendationRef = el) }, h("div", { class: "advice-title" }, translate[state.language].recommendations), this.currentTrek.advice && (h("div", { class: "current-advice-container" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "warning"), h("div", { class: "advice", innerHTML: this.currentTrek.advice }))), this.labels.map(label => (h("div", { class: "label-container" }, h("div", { class: "label-sub-container" }, label.pictogram && h("img", { src: label.pictogram }), h("div", { class: "label-name", innerHTML: label.name })), h("div", { class: "label-advice", innerHTML: label.advice }))))))), this.currentTrek.advised_parking && (h("div", null, h("div", { class: "divider" }), h("div", { class: "advised-parking-container", ref: el => (this.parkingRef = el) }, h("div", { class: "advised-parking-title" }, translate[state.language].recommendedParking), h("div", { class: "advised-parking", innerHTML: this.currentTrek.advised_parking })))), this.currentTrek.gear && (h("div", null, h("div", { class: "divider" }), h("div", { class: "gear-container" }, h("div", { class: "gear-title" }, translate[state.language].equipments), h("div", { class: "gear", innerHTML: this.currentTrek.gear })))), state.currentSensitiveAreas && state.currentSensitiveAreas.length > 0 && (h("div", null, h("div", { class: "divider" }), h("div", { class: "sensitive-areas-container", ref: el => (this.sensitiveAreaRef = el) }, h("div", { class: "sensitive-areas-title" }, translate[state.language].environmentalSensitiveAreas), state.currentSensitiveAreas.map(sensitiveArea => (h("grw-sensitive-area-detail", { sensitiveArea: sensitiveArea })))))), state.currentInformationDesks &&
|
|
20683
21451
|
state.currentInformationDesks.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id)).length > 0 && (h("div", null, h("div", { class: "divider" }), h("div", { class: "information-desks-container", ref: el => (this.informationDeskRef = el) }, h("div", { class: "information-desks-title" }, translate[state.language].informationPlaces), h("div", { class: "swiper swiper-information-desks", ref: el => (this.swiperInformationDesksRef = el) }, h("div", { class: "swiper-wrapper" }, state.currentInformationDesks
|
|
20684
21452
|
.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id))
|
|
20685
21453
|
.map(informationDesk => (h("div", { class: "swiper-slide" }, h("grw-information-desk", { informationDesk: informationDesk }))))))))), (this.currentTrek.disabled_infrastructure ||
|
|
@@ -20690,7 +21458,7 @@ const GrwTrekDetail = class {
|
|
|
20690
21458
|
this.currentTrek.accessibility_signage ||
|
|
20691
21459
|
this.currentTrek.accessibility_covering ||
|
|
20692
21460
|
this.currentTrek.accessibility_exposure ||
|
|
20693
|
-
this.currentTrek.accessibility_advice) && (h("div", null, h("div", { class: "divider" }), h("div", { class: "accessibilities-container" }, h("div", { class: "accessibilities-title" }, translate[state.language].accessibility), this.currentTrek.disabled_infrastructure && h("div", { innerHTML: this.currentTrek.disabled_infrastructure }), h("div", { class: "accessibilities-content-container" }, this.accessibilities.map(accessibility => (h("div", { class: "accessibility-content-container" }, h("img", { src: accessibility.pictogram }), h("div", { innerHTML: accessibility.name }))))), this.currentTrek.accessibility_level && (h("div", { class: "accessibility-level-container" }, h("div", { class: "accessibility-level-title" }, translate[state.language].accessibilityLevel), h("div", { innerHTML: this.accessibilityLevel.name }))), this.currentTrek.accessibility_slope && (h("div", { class: "accessibility-slope-container" }, h("div", { class: "accessibility-slope-title" }, translate[state.language].accessibilitySlope), h("div", { innerHTML: this.currentTrek.accessibility_slope }))), this.currentTrek.accessibility_width && (h("div", { class: "accessibility-width-container" }, h("div", { class: "accessibility-width-title" }, translate[state.language].accessibilityWidth), h("div", { innerHTML: this.currentTrek.accessibility_width }))), this.currentTrek.accessibility_signage && (h("div", { class: "accessibility-signage-container" }, h("div", { class: "accessibility-signage-title" }, translate[state.language].accessibilitySignage), h("div", { innerHTML: this.currentTrek.accessibility_signage }))), this.currentTrek.accessibility_covering && (h("div", { class: "accessibility-covering-container" }, h("div", { class: "accessibility-covering-title" }, translate[state.language].accessibilityCovering), h("div", { innerHTML: this.currentTrek.accessibility_covering }))), this.currentTrek.accessibility_exposure && (h("div", { class: "accessibility-exposure-container" }, h("div", { class: "accessibility-exposure-title" }, translate[state.language].accessibilityExposure), h("div", { innerHTML: this.currentTrek.accessibility_exposure }))), this.currentTrek.accessibility_advice && (h("div", { class: "accessibility-advice-container" }, h("div", { class: "accessibility-advice-title" }, translate[state.language].accessibilityAdvices), h("div", { innerHTML: this.currentTrek.accessibility_advice })))))), state.currentPois && state.currentPois.length > 0 && (h("div", null, h("div", { class: "divider" }), h("div", { class: "pois-container", ref: el => (this.poiRef = el) }, h("div", { class: "pois-title" }, translate[state.language].pois(state.currentPois.length)), h("div", { class: "swiper swiper-pois", ref: el => (this.swiperPoisRef = el) }, h("div", { class: "swiper-wrapper" }, state.currentPois.map(poi => (h("div", { class: "swiper-slide" }, h("grw-poi", { poi: poi }))))))))), state.
|
|
21461
|
+
this.currentTrek.accessibility_advice) && (h("div", null, h("div", { class: "divider" }), h("div", { class: "accessibilities-container" }, h("div", { class: "accessibilities-title" }, translate[state.language].accessibility), this.currentTrek.disabled_infrastructure && h("div", { innerHTML: this.currentTrek.disabled_infrastructure }), h("div", { class: "accessibilities-content-container" }, this.accessibilities.map(accessibility => (h("div", { class: "accessibility-content-container" }, h("img", { src: accessibility.pictogram }), h("div", { innerHTML: accessibility.name }))))), this.currentTrek.accessibility_level && (h("div", { class: "accessibility-level-container" }, h("div", { class: "accessibility-level-title" }, translate[state.language].accessibilityLevel), h("div", { innerHTML: this.accessibilityLevel.name }))), this.currentTrek.accessibility_slope && (h("div", { class: "accessibility-slope-container" }, h("div", { class: "accessibility-slope-title" }, translate[state.language].accessibilitySlope), h("div", { innerHTML: this.currentTrek.accessibility_slope }))), this.currentTrek.accessibility_width && (h("div", { class: "accessibility-width-container" }, h("div", { class: "accessibility-width-title" }, translate[state.language].accessibilityWidth), h("div", { innerHTML: this.currentTrek.accessibility_width }))), this.currentTrek.accessibility_signage && (h("div", { class: "accessibility-signage-container" }, h("div", { class: "accessibility-signage-title" }, translate[state.language].accessibilitySignage), h("div", { innerHTML: this.currentTrek.accessibility_signage }))), this.currentTrek.accessibility_covering && (h("div", { class: "accessibility-covering-container" }, h("div", { class: "accessibility-covering-title" }, translate[state.language].accessibilityCovering), h("div", { innerHTML: this.currentTrek.accessibility_covering }))), this.currentTrek.accessibility_exposure && (h("div", { class: "accessibility-exposure-container" }, h("div", { class: "accessibility-exposure-title" }, translate[state.language].accessibilityExposure), h("div", { innerHTML: this.currentTrek.accessibility_exposure }))), this.currentTrek.accessibility_advice && (h("div", { class: "accessibility-advice-container" }, h("div", { class: "accessibility-advice-title" }, translate[state.language].accessibilityAdvices), h("div", { innerHTML: this.currentTrek.accessibility_advice })))))), state.currentPois && state.currentPois.length > 0 && (h("div", null, h("div", { class: "divider" }), h("div", { class: "pois-container", ref: el => (this.poiRef = el) }, h("div", { class: "pois-title" }, translate[state.language].pois(state.currentPois.length)), h("div", { class: "swiper swiper-pois", ref: el => (this.swiperPoisRef = el) }, h("div", { class: "swiper-wrapper" }, state.currentPois.map(poi => (h("div", { class: "swiper-slide" }, h("grw-poi", { poi: poi }))))))))), state.trekTouristicContents && state.trekTouristicContents.length > 0 && (h("div", null, h("div", { class: "divider" }), h("div", { class: "touristic-content-container", ref: el => (this.touristicContentsRef = el) }, h("div", { class: "touristic-content-title" }, translate[state.language].touristicContents(state.trekTouristicContents.length)), h("div", { class: "swiper swiper-touristic-content", ref: el => (this.swiperTouristicContentsRef = el) }, h("div", { class: "swiper-wrapper" }, state.trekTouristicContents.map(touristicContent => (h("div", { class: "swiper-slide" }, h("grw-touristic-content-card", { touristicContent: touristicContent, isInsideHorizontalList: true }))))))))), state.touristicEvents && state.touristicEvents.length > 0 && (h("div", null, h("div", { class: "divider" }), h("div", { class: "touristic-event-container", ref: el => (this.touristicEventsRef = el) }, h("div", { class: "touristic-event-title" }, translate[state.language].touristicEvents(state.touristicEvents.length)), h("div", { class: "swiper swiper-touristic-event", ref: el => (this.swiperTouristicEventsRef = el) }, h("div", { class: "swiper-wrapper" }, state.touristicEvents.map(touristicEvent => (h("div", { class: "swiper-slide" }, h("grw-touristic-event-card", { touristicEvent: touristicEvent }))))))))), this.currentTrek.source && this.currentTrek.source.length > 0 && (h("div", null, h("div", { class: "divider" }), h("div", { class: "source-container" }, h("div", { class: "source-title" }, translate[state.language].sources), this.sources.map(source => (h("div", { class: "source-sub-container" }, source.pictogram && h("img", { src: source.pictogram }), h("div", null, h("div", { class: "source-name", innerHTML: source.name }), h("a", { class: "source-advice", href: source.website, innerHTML: source.website })))))))), h("div", { class: "detail-bottom-space" })))));
|
|
20694
21462
|
}
|
|
20695
21463
|
};
|
|
20696
21464
|
GrwTrekDetail.style = grwTrekDetailCss;
|
|
@@ -20741,12 +21509,14 @@ const GrwTrekProvider = class {
|
|
|
20741
21509
|
fetch(`${state.api}poi/?language=${state.language}&trek=${this.trekId}&published=true&fields=id,name,description,attachments,type,geometry&page_size=999`, this.init),
|
|
20742
21510
|
fetch(`${state.api}poi_type/?language=${state.language}&fields=id,pictogram`, this.init),
|
|
20743
21511
|
fetch(`${state.api}informationdesk/?language=${state.language}&fields=id,name,description,type,phone,email,website,municipality,postal_code,street,photo_url,latitude,longitude&page_size=999`, this.init),
|
|
20744
|
-
fetch(`${state.api}touristiccontent/?language=${state.language}&near_trek=${this.trekId}&published=true&fields=id,name,attachments,
|
|
21512
|
+
fetch(`${state.api}touristiccontent/?language=${state.language}&near_trek=${this.trekId}&published=true&fields=id,name,attachments,category,geometry&page_size=999`, this.init),
|
|
20745
21513
|
fetch(`${state.api}touristiccontent_category/?language=${state.language}&published=true&fields=id,label,pictogram&page_size=999`, this.init),
|
|
21514
|
+
fetch(`${state.api}touristicevent/?language=${state.language}&near_trek=${this.trekId}&published=true&fields=id,name,attachments,type,geometry&page_size=999`, this.init),
|
|
21515
|
+
fetch(`${state.api}touristicevent_type/?language=${state.language}&published=true&fields=id,type,pictogram&page_size=999`, this.init),
|
|
20746
21516
|
fetch(`${state.api}trek/${this.trekId}/?language=${state.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,cities,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,information_desks,children`, this.init),
|
|
20747
21517
|
])
|
|
20748
21518
|
.then(responses => Promise.all(responses.map(response => response.json())))
|
|
20749
|
-
.then(async ([difficulties, routes, practices, themes, cities, accessibilities, sensitiveAreas, labels, sources, accessibilitiesLevel, pois, poiTypes, informationDesks, touristicContent, touristicContentCategory, trek,]) => {
|
|
21519
|
+
.then(async ([difficulties, routes, practices, themes, cities, accessibilities, sensitiveAreas, labels, sources, accessibilitiesLevel, pois, poiTypes, informationDesks, touristicContent, touristicContentCategory, touristicEvent, touristicEventType, trek,]) => {
|
|
20750
21520
|
state.trekNetworkError = false;
|
|
20751
21521
|
if (trek.children.length > 0 || state.parentTrekId) {
|
|
20752
21522
|
const steps = [];
|
|
@@ -20793,11 +21563,17 @@ const GrwTrekProvider = class {
|
|
|
20793
21563
|
state.accessibilitiesLevel = accessibilitiesLevel.results;
|
|
20794
21564
|
}
|
|
20795
21565
|
if (touristicContent) {
|
|
20796
|
-
state.
|
|
21566
|
+
state.trekTouristicContents = touristicContent.results;
|
|
20797
21567
|
}
|
|
20798
21568
|
if (touristicContentCategory) {
|
|
20799
21569
|
state.touristicContentCategories = touristicContentCategory.results;
|
|
20800
21570
|
}
|
|
21571
|
+
if (touristicEvent) {
|
|
21572
|
+
state.touristicEvents = touristicEvent.results;
|
|
21573
|
+
}
|
|
21574
|
+
if (touristicEventType) {
|
|
21575
|
+
state.touristicEventTypes = touristicEventType.results;
|
|
21576
|
+
}
|
|
20801
21577
|
state.currentPois = pois.results;
|
|
20802
21578
|
state.poiTypes = poiTypes.results;
|
|
20803
21579
|
state.currentInformationDesks = informationDesks.results;
|
|
@@ -20816,7 +21592,7 @@ const GrwTrekProvider = class {
|
|
|
20816
21592
|
}
|
|
20817
21593
|
};
|
|
20818
21594
|
|
|
20819
|
-
const grwTreksListCss = ".material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}:host{font-family:\"Roboto\";width:100%;height:100%;overflow-y:auto}grw-trek-card{margin:0px 8px 8px 8px}.list-bottom-space{min-height:104px;height:104px;width:100%}.current-treks-within-bounds-length{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:16px;color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400}.treks-list-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}";
|
|
21595
|
+
const grwTreksListCss = ".material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}:host{font-family:\"Roboto\";width:100%;height:100%;overflow-y:auto}grw-trek-card{width:100% !important;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0px 8px 8px 8px}.list-bottom-space{min-height:104px;height:104px;width:100%}.current-treks-within-bounds-length{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:16px;color:var(--color-on-surface);font-size:22px;line-height:28px;font-weight:400}.treks-list-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}";
|
|
20820
21596
|
|
|
20821
21597
|
const GrwTreksList = class {
|
|
20822
21598
|
constructor(hostRef) {
|
|
@@ -20882,7 +21658,7 @@ const GrwTreksList = class {
|
|
|
20882
21658
|
this.handleInfiniteScrollEvent(false);
|
|
20883
21659
|
}
|
|
20884
21660
|
render() {
|
|
20885
|
-
return (h(Host, { style: { '--color-primary-app': this.colorPrimaryApp } }, state.treksWithinBounds && (h("div", { class: "current-treks-within-bounds-length" }, `${state.treksWithinBounds.length} ${state.treksWithinBounds.length > 1 ? translate[state.language].treks : translate[state.language].trek}`)), h("div", { class: "treks-list-container" }, this.treksToDisplay.map(trek => (h("grw-trek-card", { "reset-store-on-disconnected": "false", key: `trek-${trek.id}`, trek: trek, "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })))), h("div", { class: "list-bottom-space" })));
|
|
21661
|
+
return (h(Host, { style: { '--color-primary-app': this.colorPrimaryApp } }, state.treksWithinBounds && (h("div", { class: "current-treks-within-bounds-length" }, `${state.treksWithinBounds.length} ${state.treksWithinBounds.length > 1 ? translate[state.language].treks : translate[state.language].trek}`)), h("div", { class: "treks-list-container" }, this.treksToDisplay.map(trek => (h("grw-trek-card", { "reset-store-on-disconnected": "false", key: `trek-${trek.id}`, trek: trek, "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })))), !this.isLargeView && h("div", { class: "list-bottom-space" })));
|
|
20886
21662
|
}
|
|
20887
21663
|
get element() { return getElement(this); }
|
|
20888
21664
|
};
|
|
@@ -20977,6 +21753,6 @@ const GrwTreksProvider = class {
|
|
|
20977
21753
|
}
|
|
20978
21754
|
};
|
|
20979
21755
|
|
|
20980
|
-
export {
|
|
21756
|
+
export { GrwFilters as grw_filters, GrwMap as grw_map, GrwSearch as grw_search, GrwTouristicContentProvider as grw_touristic_content_card_provider, GrwTouristicContentDetail as grw_touristic_content_detail, GrwTouristicContentsProvider as grw_touristic_content_provider, GrwTouristicContentsList as grw_touristic_contents_list, GrwTouristicEventDetail as grw_touristic_event_detail, GrwTrekDetail as grw_trek_detail, GrwTrekProvider as grw_trek_provider, GrwTreksList as grw_treks_list, GrwTreksProvider as grw_treks_provider };
|
|
20981
21757
|
|
|
20982
|
-
//# sourceMappingURL=grw-
|
|
21758
|
+
//# sourceMappingURL=grw-filters_12.entry.js.map
|