@geotrekce/geotrek-rando-widget 0.4.4 → 0.4.6
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/geotrek-rando-widget.cjs.js +1 -1
- 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/grw-app.cjs.entry.js +77 -53
- 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 +21 -14
- 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 -1
- package/dist/cjs/{grw-filters_12.cjs.entry.js → grw-filters_16.cjs.entry.js} +867 -376
- package/dist/cjs/grw-filters_16.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filters_16.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filters_16.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js +66 -47
- 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 -1
- package/dist/cjs/{i18n-a5ad3083.js → i18n-25e8e038.js} +13 -3
- package/dist/cjs/i18n-25e8e038.js.br +0 -0
- package/dist/cjs/i18n-25e8e038.js.gz +0 -0
- package/dist/cjs/i18n-25e8e038.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.br +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/utils-aafb9447.js +505 -0
- package/dist/cjs/utils-aafb9447.js.br +0 -0
- package/dist/cjs/utils-aafb9447.js.gz +0 -0
- package/dist/cjs/utils-aafb9447.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/grw-app/grw-app.css +8 -1
- 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 +29 -4
- 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.js +9 -1
- package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
- package/dist/collection/components/grw-filters/grw-filters.css +2 -1
- 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 +17 -2
- 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 -1
- package/dist/collection/components/grw-map/grw-map.css +61 -16
- 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 +297 -18
- 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 +4 -1
- 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-touristic-event/grw-touristic-event-card.css +48 -5
- 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 +122 -23
- 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 -1
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css +8 -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 +1 -1
- 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 -1
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css +43 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.br +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.gz +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js +220 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.br +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.gz +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.map +1 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js +7 -7
- 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 +8 -3
- 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 +2 -2
- 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/i18n/i18n.js +12 -2
- 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-contents-provider.js +0 -18
- 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 -1
- package/dist/collection/store/grw-touristic-event-provider.js +2 -2
- 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 -1
- package/dist/collection/store/grw-touristic-events-provider.js +211 -0
- package/dist/collection/store/grw-touristic-events-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-events-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-events-provider.js.map +1 -0
- package/dist/collection/store/grw-trek-provider.js +8 -2
- 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 +4 -0
- 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/types/types.js.map +1 -1
- package/dist/collection/utils/utils.js +74 -0
- 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/geotrek-rando-widget.js +1 -1
- package/dist/esm/geotrek-rando-widget.js.br +0 -0
- package/dist/esm/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm/grw-app.entry.js +31 -7
- 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 +9 -2
- 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 -1
- package/dist/esm/{grw-filters_12.entry.js → grw-filters_16.entry.js} +522 -35
- package/dist/esm/grw-filters_16.entry.js.br +0 -0
- package/dist/esm/grw-filters_16.entry.js.gz +0 -0
- package/dist/esm/grw-filters_16.entry.js.map +1 -0
- package/dist/esm/grw-information-desk_6.entry.js +50 -31
- 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 -1
- package/dist/esm/{i18n-e6325e81.js → i18n-c18b35f3.js} +13 -3
- package/dist/esm/i18n-c18b35f3.js.br +0 -0
- package/dist/esm/i18n-c18b35f3.js.gz +0 -0
- package/dist/esm/i18n-c18b35f3.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/utils-6441a08a.js +492 -0
- package/dist/esm/utils-6441a08a.js.br +0 -0
- package/dist/esm/utils-6441a08a.js.gz +0 -0
- package/dist/esm/utils-6441a08a.js.map +1 -0
- 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 +2 -2
- 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 -1
- package/dist/esm-es5/{grw-filters_12.entry.js → grw-filters_16.entry.js} +4 -4
- package/dist/esm-es5/grw-filters_16.entry.js.br +0 -0
- package/dist/esm-es5/grw-filters_16.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filters_16.entry.js.map +1 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js +1 -1
- 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 -1
- package/dist/esm-es5/i18n-c18b35f3.js +2 -0
- package/dist/esm-es5/i18n-c18b35f3.js.br +0 -0
- package/dist/esm-es5/i18n-c18b35f3.js.gz +0 -0
- package/dist/esm-es5/i18n-c18b35f3.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/utils-6441a08a.js +2 -0
- package/dist/esm-es5/utils-6441a08a.js.br +0 -0
- package/dist/esm-es5/utils-6441a08a.js.gz +0 -0
- package/dist/esm-es5/utils-6441a08a.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/p-01f5ed45.system.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-01f5ed45.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-01f5ed45.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-01f5ed45.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-fccc2cf2.entry.js → p-06412985.entry.js} +3 -3
- package/dist/geotrek-rando-widget/p-06412985.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-06412985.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-06412985.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-0955858f.system.js +2 -0
- package/dist/geotrek-rando-widget/p-0955858f.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0955858f.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0955858f.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-0d8a3c86.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-0d8a3c86.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0d8a3c86.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0d8a3c86.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-1cfb837f.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-1cfb837f.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1cfb837f.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1cfb837f.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-6f7916db.system.js +2 -0
- package/dist/geotrek-rando-widget/p-6f7916db.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6f7916db.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6f7916db.system.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-bf8d8171.system.entry.js → p-73278096.system.entry.js} +3 -3
- package/dist/geotrek-rando-widget/p-73278096.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/{p-bf8d8171.system.entry.js.gz → p-73278096.system.entry.js.gz} +0 -0
- package/dist/geotrek-rando-widget/{p-fccc2cf2.entry.js.map → p-73278096.system.entry.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-bcac98e0.js +2 -0
- package/dist/geotrek-rando-widget/p-bcac98e0.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bcac98e0.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bcac98e0.js.map +1 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +1 -1
- 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 -1
- package/dist/geotrek-rando-widget/p-e16d970b.js +2 -0
- package/dist/geotrek-rando-widget/p-e16d970b.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e16d970b.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e16d970b.js.map +1 -0
- package/dist/geotrek-rando-widget/p-e9caba62.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-e9caba62.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e9caba62.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e9caba62.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-ebadf1e2.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-ebadf1e2.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ebadf1e2.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ebadf1e2.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-ff607e4b.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-ff607e4b.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ff607e4b.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ff607e4b.entry.js.map +1 -0
- package/dist/types/components/grw-filters/grw-filters.d.ts +2 -0
- package/dist/types/components/grw-map/grw-map.d.ts +13 -0
- package/dist/types/components/grw-touristic-event/grw-touristic-event-card.d.ts +6 -0
- package/dist/types/components/grw-touristic-events-list/grw-touristic-events-list.d.ts +20 -0
- package/dist/types/components.d.ts +82 -21
- package/dist/types/i18n/i18n.d.ts +5 -0
- package/dist/types/store/grw-touristic-contents-provider.d.ts +0 -1
- package/dist/types/store/grw-touristic-events-provider.d.ts +17 -0
- package/dist/types/store/store.d.ts +9 -1
- package/dist/types/types/types.d.ts +18 -1
- package/dist/types/utils/utils.d.ts +3 -1
- package/package.json +1 -1
- 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 +0 -1
- package/dist/cjs/grw-select-language.cjs.entry.js +0 -28
- 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 +0 -1
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js +0 -63
- 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 +0 -1
- package/dist/cjs/i18n-a5ad3083.js.br +0 -0
- package/dist/cjs/i18n-a5ad3083.js.gz +0 -0
- package/dist/cjs/i18n-a5ad3083.js.map +0 -1
- package/dist/cjs/store-d20ae78f.js +0 -250
- 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 +0 -1
- package/dist/cjs/utils-332e41b3.js +0 -181
- 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 +0 -1
- 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 +0 -1
- package/dist/esm/grw-select-language.entry.js +0 -24
- 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 +0 -1
- package/dist/esm/grw-touristic-event-card-provider.entry.js +0 -59
- 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 +0 -1
- package/dist/esm/i18n-e6325e81.js.br +0 -0
- package/dist/esm/i18n-e6325e81.js.gz +0 -0
- package/dist/esm/i18n-e6325e81.js.map +0 -1
- package/dist/esm/store-032ab1f5.js +0 -246
- 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 +0 -1
- package/dist/esm/utils-b09ac7c9.js +0 -173
- 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 +0 -1
- 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 +0 -1
- package/dist/esm-es5/grw-select-language.entry.js +0 -2
- 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 +0 -1
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js +0 -2
- 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 +0 -1
- package/dist/esm-es5/i18n-e6325e81.js +0 -2
- package/dist/esm-es5/i18n-e6325e81.js.br +0 -0
- package/dist/esm-es5/i18n-e6325e81.js.gz +0 -0
- package/dist/esm-es5/i18n-e6325e81.js.map +0 -1
- package/dist/esm-es5/store-032ab1f5.js +0 -2
- 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 +0 -1
- package/dist/esm-es5/utils-b09ac7c9.js +0 -2
- 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 +0 -1
- package/dist/geotrek-rando-widget/p-048b3a1e.js +0 -2
- 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 +0 -1
- package/dist/geotrek-rando-widget/p-0f47847d.system.js +0 -2
- package/dist/geotrek-rando-widget/p-0f47847d.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0f47847d.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0f47847d.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js +0 -2
- 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 +0 -1
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js +0 -2
- 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 +0 -1
- package/dist/geotrek-rando-widget/p-1f8e7e57.js +0 -2
- 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 +0 -1
- package/dist/geotrek-rando-widget/p-2c4abcd9.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-2c4abcd9.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2c4abcd9.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-2c4abcd9.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-3bbe169c.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-3bbe169c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3bbe169c.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-3bbe169c.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-42ee320d.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-42ee320d.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-42ee320d.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-42ee320d.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-5e7ed046.js +0 -2
- package/dist/geotrek-rando-widget/p-5e7ed046.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5e7ed046.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5e7ed046.js.map +0 -1
- package/dist/geotrek-rando-widget/p-638b7451.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-638b7451.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-638b7451.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-638b7451.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-689557e0.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-689557e0.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-689557e0.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-689557e0.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js +0 -2
- 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 +0 -1
- package/dist/geotrek-rando-widget/p-b40c2ea8.system.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-b40c2ea8.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b40c2ea8.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b40c2ea8.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-ba971c93.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-ba971c93.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ba971c93.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ba971c93.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-c63228e8.system.js +0 -2
- 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 +0 -1
- package/dist/geotrek-rando-widget/p-ea78e5f0.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-ea78e5f0.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ea78e5f0.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ea78e5f0.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.gz +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["appendToMap","map","propName","value","items","get","set","includes","push","debounce","fn","ms","timeoutId","args","_i","arguments","length","clearTimeout","setTimeout","apply","isConnected","maybeElement","cleanupElements","_b","keys","key","filter","stencilSubscription","getRenderingRef","elmsToUpdate","Map","dispose","clear","elm","elements","forceUpdate","reset","forEach","elms","unwrap","val","createObservableMap","defaultState","shouldUpdate","a","b","unwrappedState","states","Object","entries","handlers","_a","cb","oldValue","state","Proxy","_","ownKeys","Array","from","getOwnPropertyDescriptor","enumerable","configurable","has","on","eventName","callback","removeFromArray","onChange","unSet","newValue","unReset","use","subscriptions","unsubs","reduce","subscription","unsub","array","item","index","indexOf","createStore","mode","api","languages","language","treks","currentTreks","treksWithinBounds","currentMapBounds","difficulties","routes","practices","themes","cities","durations","lengths","elevations","currentSensitiveAreas","labels","districts","sources","ratings","accessibilities","accessibilitiesLevel","poiTypes","currentTrek","currentPois","currentInformationDesks","treksNetworkError","trekNetworkError","searchValue","selectedActivitiesFilters","selectedThemesFilters","selectedLocationFilters","selectedTrekId","parentTrekId","parentTrek","currentTrekSteps","selectedStepId","trekTouristicContents","touristicContents","currentTouristicContents","touristicContentsWithinBounds","touristicContentCategories","currentTouristicContent","touristicEvents","currentTouristicEvents","touristicEventsWithinBounds","touristicEventTypes","currentTouristicEvent","selectedTouristicContentId","selectedTouristicEventId","formatDuration","duration","formattedDuration","concat","Math","floor","round","formatLength","formatAscent","ascent","treksFilters","property","trekProperty","trekPropertyIsArray","type","segment","touristicContentsFilters","touristicContentProperty","touristicContentPropertyIsArray","touristicEventsFilters","touristicEventProperty","touristicEventPropertyIsArray","handleTreksFiltersAndSearch","isUsingFilter","filtersTreks","currentFiltersId","currentFilter","selected","id","__spreadArray","trek","some","currentFilterId","find","minValue","maxValue","currentFiltersId_2","minValue_1","maxValue_1","isNaN","currentFiltersId_1","treksFilters_1","searchTreks","Boolean","name","toLowerCase","handleTouristicContentsFiltersAndSearch","filtersTouristicContents","touristicContent","currentFiltersId_4","minValue_2","maxValue_2","currentFiltersId_3","touristicContentsFilters_1","searchTouristicContents","handleTouristicEventsFiltersAndSearch","filtersTouristicEvents","currentFiltersId_6","minValue_3","maxValue_3","currentFiltersId_5","touristicEvent","touristicEventsFilters_1","searchTouristicEvents"],"sources":["node_modules/@stencil/store/dist/index.mjs","src/store/store.ts","src/utils/utils.ts"],"sourcesContent":["import { getRenderingRef, forceUpdate } from '@stencil/core';\n\nconst appendToMap = (map, propName, value) => {\n const items = map.get(propName);\n if (!items) {\n map.set(propName, [value]);\n }\n else if (!items.includes(value)) {\n items.push(value);\n }\n};\nconst debounce = (fn, ms) => {\n let timeoutId;\n return (...args) => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = 0;\n fn(...args);\n }, ms);\n };\n};\n\n/**\n * Check if a possible element isConnected.\n * The property might not be there, so we check for it.\n *\n * We want it to return true if isConnected is not a property,\n * otherwise we would remove these elements and would not update.\n *\n * Better leak in Edge than to be useless.\n */\nconst isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;\nconst cleanupElements = debounce((map) => {\n for (let key of map.keys()) {\n map.set(key, map.get(key).filter(isConnected));\n }\n}, 2000);\nconst stencilSubscription = () => {\n if (typeof getRenderingRef !== 'function') {\n // If we are not in a stencil project, we do nothing.\n // This function is not really exported by @stencil/core.\n return {};\n }\n const elmsToUpdate = new Map();\n return {\n dispose: () => elmsToUpdate.clear(),\n get: (propName) => {\n const elm = getRenderingRef();\n if (elm) {\n appendToMap(elmsToUpdate, propName, elm);\n }\n },\n set: (propName) => {\n const elements = elmsToUpdate.get(propName);\n if (elements) {\n elmsToUpdate.set(propName, elements.filter(forceUpdate));\n }\n cleanupElements(elmsToUpdate);\n },\n reset: () => {\n elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));\n cleanupElements(elmsToUpdate);\n },\n };\n};\n\nconst unwrap = (val) => (typeof val === 'function' ? val() : val);\nconst createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {\n const unwrappedState = unwrap(defaultState);\n let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));\n const handlers = {\n dispose: [],\n get: [],\n set: [],\n reset: [],\n };\n const reset = () => {\n var _a;\n // When resetting the state, the default state may be a function - unwrap it to invoke it.\n // otherwise, the state won't be properly reset\n states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));\n handlers.reset.forEach((cb) => cb());\n };\n const dispose = () => {\n // Call first dispose as resetting the state would\n // cause less updates ;)\n handlers.dispose.forEach((cb) => cb());\n reset();\n };\n const get = (propName) => {\n handlers.get.forEach((cb) => cb(propName));\n return states.get(propName);\n };\n const set = (propName, value) => {\n const oldValue = states.get(propName);\n if (shouldUpdate(value, oldValue, propName)) {\n states.set(propName, value);\n handlers.set.forEach((cb) => cb(propName, value, oldValue));\n }\n };\n const state = (typeof Proxy === 'undefined'\n ? {}\n : new Proxy(unwrappedState, {\n get(_, propName) {\n return get(propName);\n },\n ownKeys(_) {\n return Array.from(states.keys());\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true,\n };\n },\n has(_, propName) {\n return states.has(propName);\n },\n set(_, propName, value) {\n set(propName, value);\n return true;\n },\n }));\n const on = (eventName, callback) => {\n handlers[eventName].push(callback);\n return () => {\n removeFromArray(handlers[eventName], callback);\n };\n };\n const onChange = (propName, cb) => {\n const unSet = on('set', (key, newValue) => {\n if (key === propName) {\n cb(newValue);\n }\n });\n // We need to unwrap the defaultState because it might be a function.\n // Otherwise we might not be sending the right reset value.\n const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));\n return () => {\n unSet();\n unReset();\n };\n };\n const use = (...subscriptions) => {\n const unsubs = subscriptions.reduce((unsubs, subscription) => {\n if (subscription.set) {\n unsubs.push(on('set', subscription.set));\n }\n if (subscription.get) {\n unsubs.push(on('get', subscription.get));\n }\n if (subscription.reset) {\n unsubs.push(on('reset', subscription.reset));\n }\n if (subscription.dispose) {\n unsubs.push(on('dispose', subscription.dispose));\n }\n return unsubs;\n }, []);\n return () => unsubs.forEach((unsub) => unsub());\n };\n const forceUpdate = (key) => {\n const oldValue = states.get(key);\n handlers.set.forEach((cb) => cb(key, oldValue, oldValue));\n };\n return {\n state,\n get,\n set,\n on,\n onChange,\n use,\n dispose,\n reset,\n forceUpdate,\n };\n};\nconst removeFromArray = (array, item) => {\n const index = array.indexOf(item);\n if (index >= 0) {\n array[index] = array[array.length - 1];\n array.length--;\n }\n};\n\nconst createStore = (defaultState, shouldUpdate) => {\n const map = createObservableMap(defaultState, shouldUpdate);\n map.use(stencilSubscription());\n return map;\n};\n\nexport { createObservableMap, createStore };\n","import { createStore } from '@stencil/store';\nimport { LatLngBounds } from 'leaflet';\nimport {\n Accessibilities,\n accessibilitiesLevel,\n Difficulties,\n Durations,\n InformationDesks,\n Labels,\n Pois,\n PoiTypes,\n Practices,\n Routes,\n SensitiveAreas,\n Sources,\n Themes,\n Cities,\n Trek,\n Treks,\n Lengths,\n Elevations,\n Districts,\n TouristicContents,\n TouristicContentCategories,\n TouristicContent,\n TouristicEvents,\n TouristicEventTypes,\n TouristicEvent,\n Ratings,\n} from 'types/types';\n\nconst { state, onChange, reset } = createStore<{\n mode: string;\n api: string;\n languages: string[];\n language: string;\n treks: Treks;\n treksWithinBounds: Treks;\n currentMapBounds: LatLngBounds;\n currentTreks: Treks;\n difficulties: Difficulties;\n routes: Routes;\n practices: Practices;\n themes: Themes;\n cities: Cities;\n durations: Durations;\n lengths: Lengths;\n elevations: Elevations;\n labels: Labels;\n districts: Districts;\n sources: Sources;\n ratings: Ratings;\n accessibilities: Accessibilities;\n accessibilitiesLevel: accessibilitiesLevel;\n poiTypes: PoiTypes;\n currentTrek: Trek;\n currentSensitiveAreas: SensitiveAreas;\n currentPois: Pois;\n currentInformationDesks: InformationDesks;\n treksNetworkError: boolean;\n trekNetworkError: boolean;\n searchValue: string;\n selectedActivitiesFilters: number;\n selectedThemesFilters: number;\n selectedLocationFilters: number;\n selectedTrekId: number;\n parentTrekId: number;\n parentTrek: Trek;\n currentTrekSteps: Treks;\n selectedStepId: number;\n trekTouristicContents: TouristicContents;\n touristicContents: TouristicContents;\n currentTouristicContents: TouristicContents;\n touristicContentsWithinBounds: TouristicContents;\n touristicContentCategories: TouristicContentCategories;\n currentTouristicContent: TouristicContent;\n touristicEvents: TouristicEvents;\n currentTouristicEvents: TouristicEvents;\n touristicEventsWithinBounds: TouristicEvents;\n touristicEventTypes: TouristicEventTypes;\n currentTouristicEvent: TouristicEvent;\n selectedTouristicContentId: number;\n selectedTouristicEventId: number;\n}>({\n mode: null,\n api: null,\n languages: null,\n language: null,\n treks: null,\n currentTreks: null,\n treksWithinBounds: null,\n currentMapBounds: null,\n difficulties: null,\n routes: null,\n practices: null,\n themes: null,\n cities: null,\n durations: null,\n lengths: null,\n elevations: null,\n currentSensitiveAreas: null,\n labels: null,\n districts: null,\n sources: null,\n ratings: null,\n accessibilities: null,\n accessibilitiesLevel: null,\n poiTypes: null,\n currentTrek: null,\n currentPois: null,\n currentInformationDesks: null,\n treksNetworkError: false,\n trekNetworkError: false,\n searchValue: null,\n selectedActivitiesFilters: 0,\n selectedThemesFilters: 0,\n selectedLocationFilters: 0,\n selectedTrekId: null,\n parentTrekId: null,\n parentTrek: null,\n currentTrekSteps: null,\n selectedStepId: null,\n trekTouristicContents: null,\n touristicContents: null,\n currentTouristicContents: null,\n touristicContentsWithinBounds: null,\n touristicContentCategories: null,\n currentTouristicContent: null,\n touristicEvents: null,\n currentTouristicEvents: null,\n touristicEventsWithinBounds: null,\n touristicEventTypes: null,\n currentTouristicEvent: null,\n selectedTouristicContentId: null,\n selectedTouristicEventId: null,\n});\n\nexport { onChange, reset };\n\nexport default state;\n","import state from 'store/store';\nimport { TouristicContents, TouristicContentsFilters, TouristicEvents, TouristicEventsFilters, TrekFilters, Treks } from 'types/types';\n\nexport function formatDuration(duration: number) {\n let formattedDuration;\n if (duration < 24) {\n formattedDuration = `${Math.floor(duration)}h`;\n if (duration % 1 > 0) {\n formattedDuration += `${Math.round(60 * (duration % 1))}min`;\n }\n } else {\n formattedDuration = `${duration / 24}j`;\n }\n return formattedDuration;\n}\n\nexport function formatLength(length: number) {\n return `${Math.round(length / 1000)}km`;\n}\n\nexport function formatAscent(ascent: number) {\n return `${ascent}m`;\n}\n\nexport const treksFilters: TrekFilters = [\n { property: 'practices', trekProperty: 'practice', trekPropertyIsArray: false, type: 'include', segment: 'selectedActivitiesFilters' },\n { property: 'difficulties', trekProperty: 'difficulty', trekPropertyIsArray: false, type: 'include', segment: 'selectedActivitiesFilters' },\n { property: 'durations', trekProperty: 'duration', trekPropertyIsArray: false, type: 'interval', segment: 'selectedActivitiesFilters' },\n { property: 'lengths', trekProperty: 'length_2d', trekPropertyIsArray: false, type: 'interval', segment: 'selectedActivitiesFilters' },\n { property: 'elevations', trekProperty: 'ascent', trekPropertyIsArray: false, type: 'interval', segment: 'selectedActivitiesFilters' },\n { property: 'routes', trekProperty: 'route', trekPropertyIsArray: false, type: 'include', segment: 'selectedActivitiesFilters' },\n { property: 'accessibilities', trekProperty: 'accessibilities', trekPropertyIsArray: true, type: 'include', segment: 'selectedActivitiesFilters' },\n { property: 'labels', trekProperty: 'labels', trekPropertyIsArray: true, type: 'include', segment: 'selectedActivitiesFilters' },\n { property: 'themes', trekProperty: 'themes', trekPropertyIsArray: true, type: 'include', segment: 'selectedThemesFilters' },\n { property: 'cities', trekProperty: 'cities', trekPropertyIsArray: true, type: 'include', segment: 'selectedLocationFilters' },\n { property: 'districts', trekProperty: 'districts', trekPropertyIsArray: true, type: 'include', segment: 'selectedLocationFilters' },\n];\n\nexport const touristicContentsFilters: TouristicContentsFilters = [\n { property: 'touristicContentCategories', touristicContentProperty: 'category', touristicContentPropertyIsArray: false, type: 'include', segment: 'selectedActivitiesFilters' },\n { property: 'cities', touristicContentProperty: 'cities', touristicContentPropertyIsArray: true, type: 'include', segment: 'selectedLocationFilters' },\n { property: 'districts', touristicContentProperty: 'districts', touristicContentPropertyIsArray: true, type: 'include', segment: 'selectedLocationFilters' },\n];\n\nexport const touristicEventsFilters: TouristicEventsFilters = [\n { property: 'touristicEventTypes', touristicEventProperty: 'type', touristicEventPropertyIsArray: false, type: 'include', segment: 'selectedActivitiesFilters' },\n { property: 'cities', touristicEventProperty: 'cities', touristicEventPropertyIsArray: true, type: 'include', segment: 'selectedLocationFilters' },\n { property: 'districts', touristicEventProperty: 'districts', touristicEventPropertyIsArray: true, type: 'include', segment: 'selectedLocationFilters' },\n];\n\nexport function handleTreksFiltersAndSearch(): Treks {\n let isUsingFilter = false;\n let filtersTreks = [];\n for (const filter of treksFilters) {\n const currentFiltersId: number[] = state[filter.property].filter(currentFilter => currentFilter.selected).map(currentFilter => currentFilter.id);\n if (currentFiltersId.length > 0) {\n if (filtersTreks.length > 0) {\n if (filter.type === 'include') {\n if (filter.trekPropertyIsArray) {\n filtersTreks = [...filtersTreks.filter(trek => trek[filter.trekProperty].some(trekProperty => currentFiltersId.includes(trekProperty)))];\n } else {\n filtersTreks = [...filtersTreks.filter(trek => currentFiltersId.includes(trek[filter.trekProperty]))];\n }\n } else if (filter.type === 'interval') {\n filtersTreks = [\n ...filtersTreks.filter(trek => {\n for (const currentFilterId of currentFiltersId) {\n const currentFilter = state[filter.property].find(property => property.id === currentFilterId);\n if (trek[filter.trekProperty] >= currentFilter.minValue && trek[filter.trekProperty] <= currentFilter.maxValue) {\n return true;\n }\n }\n return false;\n }),\n ];\n }\n } else {\n if (!isUsingFilter) {\n isUsingFilter = true;\n }\n if (filter.type === 'include') {\n if (filter.trekPropertyIsArray) {\n filtersTreks = [...state.treks.filter(trek => trek[filter.trekProperty].some(trekProperty => currentFiltersId.includes(trekProperty)))];\n } else {\n filtersTreks = [...state.treks.filter(trek => currentFiltersId.includes(trek[filter.trekProperty]))];\n }\n } else if (filter.type === 'interval') {\n let minValue: number;\n let maxValue: number;\n for (const currentFilterId of currentFiltersId) {\n const currentFilter = state[filter.property].find(property => property.id === currentFilterId);\n if (isNaN(minValue) || currentFilter.minValue < minValue) {\n minValue = currentFilter.minValue;\n }\n if (isNaN(maxValue) || currentFilter.maxValue > maxValue) {\n maxValue = currentFilter.maxValue;\n }\n }\n filtersTreks = [...state.treks.filter(trek => trek[filter.trekProperty] >= minValue && trek[filter.trekProperty] <= maxValue)];\n }\n }\n }\n }\n\n const searchTreks = isUsingFilter ? filtersTreks : state.treks;\n return Boolean(state.searchValue) ? searchTreks.filter(currentTrek => currentTrek.name.toLowerCase().includes(state.searchValue.toLowerCase())) : searchTreks;\n}\n\nexport function handleTouristicContentsFiltersAndSearch(): TouristicContents {\n let isUsingFilter = false;\n let filtersTouristicContents = [];\n for (const filter of touristicContentsFilters) {\n const currentFiltersId: number[] = state[filter.property].filter(currentFilter => currentFilter.selected).map(currentFilter => currentFilter.id);\n\n if (currentFiltersId.length > 0) {\n if (filtersTouristicContents.length > 0) {\n if (filter.type === 'include') {\n if (filter.touristicContentPropertyIsArray) {\n filtersTouristicContents = [\n ...filtersTouristicContents.filter(touristicContent =>\n touristicContent[filter.touristicContentProperty].some(touristicContentProperty => currentFiltersId.includes(touristicContentProperty)),\n ),\n ];\n } else {\n filtersTouristicContents = [...filtersTouristicContents.filter(touristicContent => currentFiltersId.includes(touristicContent[filter.touristicContentProperty]))];\n }\n } else if (filter.type === 'interval') {\n filtersTouristicContents = [\n ...filtersTouristicContents.filter(touristicContent => {\n for (const currentFilterId of currentFiltersId) {\n const currentFilter = state[filter.property].find(property => property.id === currentFilterId);\n if (touristicContent[filter.touristicContentProperty] >= currentFilter.minValue && touristicContent[filter.touristicContentProperty] <= currentFilter.maxValue) {\n return true;\n }\n }\n return false;\n }),\n ];\n }\n } else {\n if (!isUsingFilter) {\n isUsingFilter = true;\n }\n if (filter.type === 'include') {\n if (filter.touristicContentPropertyIsArray) {\n filtersTouristicContents = [\n ...state.touristicContents.filter(touristicContent =>\n touristicContent[filter.touristicContentProperty].some(touristicContentProperty => currentFiltersId.includes(touristicContentProperty)),\n ),\n ];\n } else {\n filtersTouristicContents = [...state.touristicContents.filter(touristicContent => currentFiltersId.includes(touristicContent[filter.touristicContentProperty]))];\n }\n } else if (filter.type === 'interval') {\n let minValue: number;\n let maxValue: number;\n for (const currentFilterId of currentFiltersId) {\n const currentFilter = state[filter.property].find(property => property.id === currentFilterId);\n if (isNaN(minValue) || currentFilter.minValue < minValue) {\n minValue = currentFilter.minValue;\n }\n if (isNaN(maxValue) || currentFilter.maxValue > maxValue) {\n maxValue = currentFilter.maxValue;\n }\n }\n filtersTouristicContents = [\n ...state.touristicContents.filter(\n touristicContent => touristicContent[filter.touristicContentProperty] >= minValue && touristicContent[filter.touristicContentProperty] <= maxValue,\n ),\n ];\n }\n }\n }\n }\n const searchTouristicContents = isUsingFilter ? filtersTouristicContents : state.touristicContents;\n\n return Boolean(state.searchValue)\n ? searchTouristicContents.filter(currentTouristicContents => currentTouristicContents.name.toLowerCase().includes(state.searchValue.toLowerCase()))\n : searchTouristicContents;\n}\n\nexport function handleTouristicEventsFiltersAndSearch(): TouristicEvents {\n let isUsingFilter = false;\n let filtersTouristicEvents = [];\n for (const filter of touristicEventsFilters) {\n const currentFiltersId: number[] = state[filter.property].filter(currentFilter => currentFilter.selected).map(currentFilter => currentFilter.id);\n\n if (currentFiltersId.length > 0) {\n if (filtersTouristicEvents.length > 0) {\n if (filter.type === 'include') {\n if (filter.touristicEventPropertyIsArray) {\n filtersTouristicEvents = [\n ...filtersTouristicEvents.filter(touristicContent =>\n touristicContent[filter.touristicEventProperty].some(touristicContentProperty => currentFiltersId.includes(touristicContentProperty)),\n ),\n ];\n } else {\n filtersTouristicEvents = [...filtersTouristicEvents.filter(touristicContent => currentFiltersId.includes(touristicContent[filter.touristicEventProperty]))];\n }\n } else if (filter.type === 'interval') {\n filtersTouristicEvents = [\n ...filtersTouristicEvents.filter(touristicContent => {\n for (const currentFilterId of currentFiltersId) {\n const currentFilter = state[filter.property].find(property => property.id === currentFilterId);\n if (touristicContent[filter.touristicEventProperty] >= currentFilter.minValue && touristicContent[filter.touristicEventProperty] <= currentFilter.maxValue) {\n return true;\n }\n }\n return false;\n }),\n ];\n }\n } else {\n if (!isUsingFilter) {\n isUsingFilter = true;\n }\n if (filter.type === 'include') {\n if (filter.touristicEventPropertyIsArray) {\n filtersTouristicEvents = [\n ...state.touristicContents.filter(touristicContent =>\n touristicContent[filter.touristicEventProperty].some(touristicContentProperty => currentFiltersId.includes(touristicContentProperty)),\n ),\n ];\n } else {\n filtersTouristicEvents = [...state.touristicEvents.filter(touristicContent => currentFiltersId.includes(touristicContent[filter.touristicEventProperty]))];\n }\n } else if (filter.type === 'interval') {\n let minValue: number;\n let maxValue: number;\n for (const currentFilterId of currentFiltersId) {\n const currentFilter = state[filter.property].find(property => property.id === currentFilterId);\n if (isNaN(minValue) || currentFilter.minValue < minValue) {\n minValue = currentFilter.minValue;\n }\n if (isNaN(maxValue) || currentFilter.maxValue > maxValue) {\n maxValue = currentFilter.maxValue;\n }\n }\n filtersTouristicEvents = [\n ...state.touristicEvents.filter(\n touristicEvent => touristicEvent[filter.touristicEventProperty] >= minValue && touristicEvent[filter.touristicEventProperty] <= maxValue,\n ),\n ];\n }\n }\n }\n }\n const searchTouristicEvents = isUsingFilter ? filtersTouristicEvents : state.touristicEvents;\n return Boolean(state.searchValue)\n ? searchTouristicEvents.filter(currentTouristicEvent => currentTouristicEvent.name.toLowerCase().includes(state.searchValue.toLowerCase()))\n : searchTouristicEvents;\n}\n"],"mappings":"yTAEA,IAAMA,YAAc,SAACC,EAAKC,EAAUC,GAChC,IAAMC,EAAQH,EAAII,IAAIH,GACtB,IAAKE,EAAO,CACRH,EAAIK,IAAIJ,EAAU,CAACC,G,MAElB,IAAKC,EAAMG,SAASJ,GAAQ,CAC7BC,EAAMI,KAAKL,E,CAEnB,EACA,IAAMM,SAAW,SAACC,EAAIC,GAClB,IAAIC,EACJ,OAAO,WAAC,IAAAC,EAAA,G,IAAA,IAAAC,EAAA,EAAAA,EAAAC,UAAAC,OAAAF,IAAO,CAAPD,EAAAC,GAAAC,UAAAD,E,CACJ,GAAIF,EAAW,CACXK,aAAaL,E,CAEjBA,EAAYM,YAAW,WACnBN,EAAY,EACZF,EAAES,WAAA,EAAIN,EAClB,GAAWF,EACX,CACA,EAWA,IAAMS,YAAc,SAACC,GAAiB,QAAE,gBAAiBA,IAAiBA,EAAaD,WAAjD,EACtC,IAAME,gBAAkBb,UAAS,SAACR,GAC9B,IAAgB,IAAAa,EAAA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B,OAAAA,EAAsB+C,KAAKC,cAAc5K,SAAS+C,MAAM0D,YAAYmE,cAApE,IACtDkB,CACN,Q"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as r,w as o,d as e,N as n,a as i,b as t}from"./p-0c07a3f0.js";export{s as setNonce}from"./p-0c07a3f0.js";function c(r){var o,e,n;return(n=(e=(o=r.head)===null||o===void 0?void 0:o.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&n!==void 0?n:undefined}const a=r=>`__sc_import_${r.replace(/\s|-/g,"_")}`;const l=()=>{{r.o=o.__cssshim}const t=Array.from(e.querySelectorAll("script")).find((r=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(r.src)||r.getAttribute("data-stencil-namespace")===n));const c=(t||{})["data-opts"]||{};if("onbeforeload"in t&&!history.scrollRestoration){return{then(){}}}{c.resourcesUrl=new URL(".",new URL(t.getAttribute("data-resources-url")||t.src,o.location.href)).href;{p(c.resourcesUrl,t)}if(!o.customElements){return __sc_import_geotrek_rando_widget("./p-00cfef9b.js").then((()=>c))}}return i(c)};const p=(i,t)=>{const s=a(n);try{o[s]=new Function("w",`return import(w);//${Math.random()}`)}catch(l){const n=new Map;o[s]=a=>{var l;const p=new URL(a,i).href;let u=n.get(p);if(!u){const i=e.createElement("script");i.type="module";i.crossOrigin=t.crossOrigin;i.src=URL.createObjectURL(new Blob([`import * as m from '${p}'; window.${s}.m = m;`],{type:"application/javascript"}));const a=(l=r.i)!==null&&l!==void 0?l:c(e);if(a!=null){i.setAttribute("nonce",a)}u=new Promise((r=>{i.onload=()=>{r(o[s].m);i.remove()}}));n.set(p,u);e.head.appendChild(i)}return u}}};l().then((r=>t([["p-ba971c93",[[0,"grw-app",{appWidth:[1,"app-width"],appHeight:[1,"app-height"],api:[1],languages:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1],center:[1],zoom:[2],nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],weather:[4],colorPrimaryApp:[1,"color-primary-app"],colorOnPrimary:[1,"color-on-primary"],colorSurface:[1,"color-surface"],colorOnSurface:[1,"color-on-surface"],colorSurfaceVariant:[1,"color-surface-variant"],colorOnSurfaceVariant:[1,"color-on-surface-variant"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorBackground:[1,"color-background"],colorSurfaceContainerHigh:[1,"color-surface-container-high"],colorSurfaceContainerLow:[1,"color-surface-container-low"],fabBackgroundColor:[1,"fab-background-color"],fabColor:[1,"fab-color"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],treks:[4],touristicContents:[4,"touristic-contents"],touristicEvents:[4,"touristic-events"],showTrek:[32],showTouristicContent:[32],showTouristicEvent:[32],showHomeMap:[32],showTrekMap:[32],showTouristicContentMap:[32],showTouristicEventMap:[32],showFilters:[32],isLargeView:[32],currentTrekId:[32],currentTouristicContentId:[32],currentTouristicEventId:[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]]]]],["p-1a0c7f72",[[1,"grw-select-language"]]],["p-42ee320d",[[1,"grw-touristic-event-card-provider",{languages:[1],api:[1],touristicEventId:[1,"touristic-event-id"],portals:[1]}]]],["p-fccc2cf2",[[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterPlaceholder:[1,"filter-placeholder"],filterNameProperty:[1,"filter-name-property"],segment:[1]},[[8,"resetFilter","onResetFilter"]]]]],["p-689557e0",[[1,"grw-information-desk",{informationDesk:[16],displayShortDescription:[32]}],[1,"grw-poi",{poi:[16],displayShortDescription:[32],displayFullscreen:[32]}],[1,"grw-sensitive-area-detail",{sensitiveArea:[16]}],[1,"grw-touristic-event-card",{touristicEvent:[16],displayFullscreen:[32]}],[1,"grw-touristic-content-card",{touristicContent:[16],isLargeView:[4,"is-large-view"],isInsideHorizontalList:[4,"is-inside-horizontal-list"],displayFullscreen:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-trek-card",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isStep:[4,"is-step"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],departureCity:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-3bbe169c",[[1,"grw-trek-detail",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],weather:[4],isLargeView:[4,"is-large-view"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],labels:[32],sources:[32],accessibilities:[32],accessibilityLevel:[32],displayFullscreen:[32],cities:[32],options:[32]}],[1,"grw-filters",{handleFilters:[16],selectedSegment:[32]}],[1,"grw-touristic-contents-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],touristicContentsToDisplay:[32]}],[1,"grw-treks-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],treksToDisplay:[32]}],[1,"grw-map",{nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],center:[1],zoom:[2],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorBackground:[1,"color-background"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isLargeView:[4,"is-large-view"],mapIsReady:[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationDeskIsInViewport","onInformationDesksIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"]]],[1,"grw-search"],[1,"grw-touristic-content-detail",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],isLargeView:[4,"is-large-view"],displayFullscreen:[32]}],[1,"grw-touristic-content-provider",{languages:[1],api:[1],touristicContentId:[1,"touristic-content-id"],portals:[1]}],[1,"grw-touristic-contents-provider",{languages:[1],api:[1],touristicContentId:[1,"touristic-content-id"],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1]}],[1,"grw-touristic-event-detail",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],isLargeView:[4,"is-large-view"],displayFullscreen:[32]}],[1,"grw-trek-provider",{languages:[1],api:[1],trekId:[1,"trek-id"],portals:[1]}],[1,"grw-treks-provider",{languages:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1]}]]]],r)));
|
|
1
|
+
import{p as r,w as o,d as e,N as n,a as i,b as t}from"./p-0c07a3f0.js";export{s as setNonce}from"./p-0c07a3f0.js";function a(r){var o,e,n;return(n=(e=(o=r.head)===null||o===void 0?void 0:o.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&n!==void 0?n:undefined}const c=r=>`__sc_import_${r.replace(/\s|-/g,"_")}`;const l=()=>{{r.o=o.__cssshim}const t=Array.from(e.querySelectorAll("script")).find((r=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(r.src)||r.getAttribute("data-stencil-namespace")===n));const a=(t||{})["data-opts"]||{};if("onbeforeload"in t&&!history.scrollRestoration){return{then(){}}}{a.resourcesUrl=new URL(".",new URL(t.getAttribute("data-resources-url")||t.src,o.location.href)).href;{u(a.resourcesUrl,t)}if(!o.customElements){return __sc_import_geotrek_rando_widget("./p-00cfef9b.js").then((()=>a))}}return i(a)};const u=(i,t)=>{const s=c(n);try{o[s]=new Function("w",`return import(w);//${Math.random()}`)}catch(l){const n=new Map;o[s]=c=>{var l;const u=new URL(c,i).href;let p=n.get(u);if(!p){const i=e.createElement("script");i.type="module";i.crossOrigin=t.crossOrigin;i.src=URL.createObjectURL(new Blob([`import * as m from '${u}'; window.${s}.m = m;`],{type:"application/javascript"}));const c=(l=r.i)!==null&&l!==void 0?l:a(e);if(c!=null){i.setAttribute("nonce",c)}p=new Promise((r=>{i.onload=()=>{r(o[s].m);i.remove()}}));n.set(u,p);e.head.appendChild(i)}return p}}};l().then((r=>t([["p-06412985",[[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterPlaceholder:[1,"filter-placeholder"],filterNameProperty:[1,"filter-name-property"],segment:[1]},[[8,"resetFilter","onResetFilter"]]]]],["p-ff607e4b",[[1,"grw-information-desk",{informationDesk:[16],displayShortDescription:[32]}],[1,"grw-poi",{poi:[16],displayShortDescription:[32],displayFullscreen:[32]}],[1,"grw-sensitive-area-detail",{sensitiveArea:[16]}],[1,"grw-touristic-content-card",{touristicContent:[16],isLargeView:[4,"is-large-view"],isInsideHorizontalList:[4,"is-inside-horizontal-list"],displayFullscreen:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-event-card",{touristicEvent:[16],isLargeView:[4,"is-large-view"],isInsideHorizontalList:[4,"is-inside-horizontal-list"],displayFullscreen:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-trek-card",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isStep:[4,"is-step"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],departureCity:[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["p-e9caba62",[[1,"grw-trek-detail",{trek:[16],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],weather:[4],isLargeView:[4,"is-large-view"],currentTrek:[32],difficulty:[32],route:[32],practice:[32],themes:[32],labels:[32],sources:[32],accessibilities:[32],accessibilityLevel:[32],displayFullscreen:[32],cities:[32],options:[32]}],[1,"grw-filters",{handleFilters:[16],selectedSegment:[32]}],[1,"grw-touristic-contents-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],touristicContentsToDisplay:[32]}],[1,"grw-touristic-events-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],touristicEventsToDisplay:[32]}],[1,"grw-treks-list",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],isLargeView:[4,"is-large-view"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],treksToDisplay:[32]}],[1,"grw-map",{nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],center:[1],zoom:[2],colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorBackground:[1,"color-background"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],resetStoreOnDisconnected:[4,"reset-store-on-disconnected"],isLargeView:[4,"is-large-view"],mapIsReady:[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationDeskIsInViewport","onInformationDesksIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"],[8,"cardTouristicEventMouseOver","onTouristicEventMouseOver"],[8,"cardTouristicEventMouseLeave","onTouristicEventMouseLeave"]]],[1,"grw-search"],[1,"grw-select-language"],[1,"grw-touristic-content-detail",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],isLargeView:[4,"is-large-view"],displayFullscreen:[32]}],[1,"grw-touristic-content-provider",{languages:[1],api:[1],touristicContentId:[1,"touristic-content-id"],portals:[1]}],[1,"grw-touristic-contents-provider",{languages:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1]}],[1,"grw-touristic-event-detail",{colorPrimaryApp:[1,"color-primary-app"],colorOnSurface:[1,"color-on-surface"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorSurfaceContainerLow:[1,"color-surface-container-low"],colorBackground:[1,"color-background"],isLargeView:[4,"is-large-view"],displayFullscreen:[32]}],[1,"grw-touristic-event-provider",{languages:[1],api:[1],touristicEventId:[1,"touristic-event-id"],portals:[1]}],[1,"grw-touristic-events-provider",{languages:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1]}],[1,"grw-trek-provider",{languages:[1],api:[1],trekId:[1,"trek-id"],portals:[1]}],[1,"grw-treks-provider",{languages:[1],api:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1]}]]],["p-1cfb837f",[[0,"grw-app",{appWidth:[1,"app-width"],appHeight:[1,"app-height"],api:[1],languages:[1],inBbox:[1,"in-bbox"],cities:[1],districts:[1],structures:[1],themes:[1],portals:[1],routes:[1],practices:[1],center:[1],zoom:[2],nameLayer:[1,"name-layer"],urlLayer:[1,"url-layer"],attributionLayer:[1,"attribution-layer"],weather:[4],colorPrimaryApp:[1,"color-primary-app"],colorOnPrimary:[1,"color-on-primary"],colorSurface:[1,"color-surface"],colorOnSurface:[1,"color-on-surface"],colorSurfaceVariant:[1,"color-surface-variant"],colorOnSurfaceVariant:[1,"color-on-surface-variant"],colorPrimaryContainer:[1,"color-primary-container"],colorOnPrimaryContainer:[1,"color-on-primary-container"],colorSecondaryContainer:[1,"color-secondary-container"],colorOnSecondaryContainer:[1,"color-on-secondary-container"],colorBackground:[1,"color-background"],colorSurfaceContainerHigh:[1,"color-surface-container-high"],colorSurfaceContainerLow:[1,"color-surface-container-low"],fabBackgroundColor:[1,"fab-background-color"],fabColor:[1,"fab-color"],colorTrekLine:[1,"color-trek-line"],colorSensitiveArea:[1,"color-sensitive-area"],colorPoiIcon:[1,"color-poi-icon"],useGradient:[4,"use-gradient"],treks:[4],touristicContents:[4,"touristic-contents"],touristicEvents:[4,"touristic-events"],showTrek:[32],showTouristicContent:[32],showTouristicEvent:[32],showHomeMap:[32],showTrekMap:[32],showTouristicContentMap:[32],showTouristicEventMap:[32],showFilters:[32],isLargeView:[32],currentTrekId:[32],currentTouristicContentId:[32],currentTouristicEventId:[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]]]]]],r)));
|
|
2
2
|
//# sourceMappingURL=geotrek-rando-widget.esm.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["queryNonceMetaTagContent","doc","_a","_b","_c","head","querySelector","getAttribute","undefined","getDynamicImportFunction","namespace","replace","patchBrowser","plt","$cssShim$","win","__cssshim","scriptElm","Array","from","querySelectorAll","find","s","RegExp","NAMESPACE","test","src","opts","history","scrollRestoration","then","resourcesUrl","URL","location","href","patchDynamicImport","customElements","__sc_import_geotrek_rando_widget","promiseResolve","base","orgScriptElm","importFunctionName","Function","Math","random","e","moduleMap","Map","url","mod","get","script","createElement","type","crossOrigin","createObjectURL","Blob","nonce","$nonce$","setAttribute","Promise","resolve","onload","m","remove","set","appendChild","options","bootstrapLazy","appWidth","appHeight","api","languages","inBbox","cities","districts","structures","themes","portals","routes","practices","center","zoom","nameLayer","urlLayer","attributionLayer","weather","colorPrimaryApp","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","treks","touristicContents","touristicEvents","showTrek","showTouristicContent","showTouristicEvent","showHomeMap","showTrekMap","showTouristicContentMap","showTouristicEventMap","showFilters","isLargeView","currentTrekId","currentTouristicContentId","currentTouristicEventId","touristicEventId","filterType","filterName","filterPlaceholder","filterNameProperty","segment","informationDesk","displayShortDescription","poi","displayFullscreen","sensitiveArea","touristicEvent","touristicContent","isInsideHorizontalList","trek","resetStoreOnDisconnected","isStep","currentTrek","difficulty","route","practice","departureCity","labels","sources","accessibilities","accessibilityLevel","handleFilters","selectedSegment","touristicContentsToDisplay","treksToDisplay","mapIsReady","touristicContentId","trekId"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.4.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"kHAaA,SAASA,EAAyBC,GAC9B,IAAIC,EAAIC,EAAIC,EACZ,OAAQA,GAAMD,GAAMD,EAAKD,EAAII,QAAU,MAAQH,SAAY,OAAS,EAAIA,EAAGI,cAAc,6BAA+B,MAAQ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AA,uBAAAK,cAAA,sBAAAC,mBAAA,2BAAAC,aAAA,qBAAAC,YAAA,mBAAA+B,yBAAA,kCAAAnB,YAAA,oBAAAkC,WAAA,kwBAAAhE,gBAAA,wBAAAG,eAAA,uBAAAG,sBAAA,8BAAAC,wBAAA,iCAAAC,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAF,gBAAA,uBAAAoB,YAAA,oBAAAa,kBAAA,4CAAA1D,UAAA,IAAAD,IAAA,IAAAiF,mBAAA,2BAAA1E,QAAA,4CAAAN,UAAA,IAAAD,IAAA,IAAAiF,mBAAA,2BAAA/E,OAAA,cAAAC,OAAA,IAAAC,UAAA,IAAAC,WAAA,IAAAC,OAAA,IAAAC,QAAA,uCAAAS,gBAAA,wBAAAG,eAAA,uBAAAG,sBAAA,8BAAAC,wBAAA,iCAAAC,wBAAA,gCAAAC,0BAAA,mCAAAG,yBAAA,kCAAAF,gBAAA,uBAAAoB,YAAA,oBAAAa,kBAAA,+BAAA1D,UAAA,IAAAD,IAAA,IAAAkF,OAAA,cAAA3E,QAAA,+BAAAN,UAAA,IAAAD,IAAA,IAAAE,OAAA,cAAAC,OAAA,IAAAC,UAAA,IAAAC,WAAA,IAAAC,OAAA,IAAAC,QAAA,IAAAC,OAAA,IAAAC,UAAA,SAAAb"}
|
|
1
|
+
{"version":3,"names":["queryNonceMetaTagContent","doc","_a","_b","_c","head","querySelector","getAttribute","undefined","getDynamicImportFunction","namespace","replace","patchBrowser","plt","$cssShim$","win","__cssshim","scriptElm","Array","from","querySelectorAll","find","s","RegExp","NAMESPACE","test","src","opts","history","scrollRestoration","then","resourcesUrl","URL","location","href","patchDynamicImport","customElements","__sc_import_geotrek_rando_widget","promiseResolve","base","orgScriptElm","importFunctionName","Function","Math","random","e","moduleMap","Map","url","mod","get","script","createElement","type","crossOrigin","createObjectURL","Blob","nonce","$nonce$","setAttribute","Promise","resolve","onload","m","remove","set","appendChild","options","bootstrapLazy","filterType","filterName","filterPlaceholder","filterNameProperty","segment","informationDesk","displayShortDescription","poi","displayFullscreen","sensitiveArea","touristicContent","isLargeView","isInsideHorizontalList","touristicEvent","trek","colorPrimaryApp","colorOnSurface","colorSecondaryContainer","colorOnSecondaryContainer","colorSurfaceContainerLow","resetStoreOnDisconnected","isStep","currentTrek","difficulty","route","practice","themes","departureCity","colorPrimaryContainer","colorOnPrimaryContainer","colorBackground","weather","labels","sources","accessibilities","accessibilityLevel","cities","handleFilters","selectedSegment","touristicContentsToDisplay","touristicEventsToDisplay","treksToDisplay","nameLayer","urlLayer","attributionLayer","center","zoom","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","mapIsReady","languages","api","touristicContentId","portals","inBbox","districts","structures","touristicEventId","trekId","routes","practices","appWidth","appHeight","colorOnPrimary","colorSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorSurfaceContainerHigh","fabBackgroundColor","fabColor","treks","touristicContents","touristicEvents","showTrek","showTouristicContent","showTouristicEvent","showHomeMap","showTrekMap","showTouristicContentMap","showTouristicEventMap","showFilters","currentTrekId","currentTouristicContentId","currentTouristicEventId"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.4.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"kHAaA,SAASA,EAAyBC,GAC9B,IAAIC,EAAIC,EAAIC,EACZ,OAAQA,GAAMD,GAAMD,EAAKD,EAAII,QAAU,MAAQH,SAAY,OAAS,EAAIA,EAAGI,cAAc,6BAA+B,MAAQH,SAAY,OAAS,EAAIA,EAAGI,aAAa,cAAgB,MAAQH,SAAY,EAAIA,EAAKI,SAC1N,CAEA,MAAMC,EAA4BC,GAAc,eAAeA,EAAUC,QAAQ,QAAS,OAC1F,MAAMC,EAAe,KAMK,CAGlBC,EAAIC,EAAYC,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