@geotrekce/geotrek-rando-widget 0.3.4 → 0.3.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 +16 -28
- 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 +46 -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_7.cjs.entry.js} +318 -51
- package/dist/cjs/grw-filters_7.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filters_7.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filters_7.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-information-desk_5.cjs.entry.js +227 -0
- 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 +1 -0
- package/dist/cjs/grw-select-language.cjs.entry.js +2 -2
- 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/{i18n-cb39db65.js → i18n-691abc83.js} +11 -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 +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/{store-73c3042b.js → store-a36efc0f.js} +4 -1
- 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 +1 -0
- package/dist/cjs/{utils-66fdd395.js → utils-151d3b05.js} +2 -2
- package/dist/cjs/utils-151d3b05.js.br +0 -0
- package/dist/cjs/utils-151d3b05.js.gz +0 -0
- package/dist/cjs/{utils-66fdd395.js.map → utils-151d3b05.js.map} +1 -1
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/grw-app/grw-app.css +2 -118
- 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 +19 -43
- 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 +1 -1
- package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
- package/dist/collection/components/grw-filters/grw-filters.css +115 -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 +91 -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-detail/grw-information-desk-detail.js → grw-information-desk/grw-information-desk.js} +5 -5
- 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 -0
- package/dist/collection/components/grw-map/grw-map.css +64 -10
- 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 +231 -8
- package/dist/collection/components/grw-map/grw-map.js.br +0 -0
- package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js.map +1 -1
- package/dist/collection/components/grw-poi-detail/{grw-poi-detail.js → grw-poi.js} +4 -4
- package/dist/collection/components/grw-poi-detail/grw-poi.js.br +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.js.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.js.map +1 -0
- package/dist/collection/components/grw-search/grw-search.js +1 -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-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.css +601 -0
- 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 +84 -0
- 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 +1 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css +1 -1
- 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 +4 -4
- 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 +81 -5
- 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 +105 -14
- 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 +10 -0
- package/dist/collection/i18n/i18n.js.br +0 -0
- package/dist/collection/i18n/i18n.js.gz +0 -0
- package/dist/collection/i18n/i18n.js.map +1 -1
- package/dist/collection/store/grw-trek-provider.js +9 -1
- 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 +3 -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/esm/geotrek-rando-widget.js +3 -3
- 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 +17 -29
- 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 +42 -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_7.entry.js} +319 -52
- package/dist/esm/grw-filters_7.entry.js.br +0 -0
- package/dist/esm/grw-filters_7.entry.js.gz +0 -0
- package/dist/esm/grw-filters_7.entry.js.map +1 -0
- package/dist/esm/grw-information-desk_5.entry.js +219 -0
- 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 +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/{i18n-a9d6ba05.js → i18n-16a29f6f.js} +11 -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 +1 -0
- package/dist/esm/{index-82644551.js → index-3bfebaa2.js} +2 -2
- package/dist/esm/index-3bfebaa2.js.br +0 -0
- package/dist/esm/index-3bfebaa2.js.gz +0 -0
- package/dist/esm/{index-82644551.js.map → index-3bfebaa2.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/{store-1a33237a.js → store-890ce35c.js} +5 -2
- package/dist/esm/store-890ce35c.js.br +0 -0
- package/dist/esm/store-890ce35c.js.gz +0 -0
- package/dist/esm/store-890ce35c.js.map +1 -0
- package/dist/esm/{utils-040e8a86.js → utils-ffae4b0b.js} +2 -2
- package/dist/esm/utils-ffae4b0b.js.br +0 -0
- package/dist/esm/utils-ffae4b0b.js.gz +0 -0
- package/dist/esm/{utils-040e8a86.js.map → utils-ffae4b0b.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 +2 -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_7.entry.js} +4 -4
- package/dist/esm-es5/grw-filters_7.entry.js.br +0 -0
- package/dist/esm-es5/grw-filters_7.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filters_7.entry.js.map +1 -0
- package/dist/esm-es5/grw-information-desk_5.entry.js +2 -0
- 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 +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/i18n-16a29f6f.js +2 -0
- 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 +1 -0
- package/dist/esm-es5/{index-82644551.js → index-3bfebaa2.js} +2 -2
- package/dist/esm-es5/index-3bfebaa2.js.br +0 -0
- package/dist/esm-es5/index-3bfebaa2.js.gz +0 -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/{store-1a33237a.js → store-890ce35c.js} +2 -2
- package/dist/esm-es5/store-890ce35c.js.br +0 -0
- package/dist/esm-es5/store-890ce35c.js.gz +0 -0
- package/dist/esm-es5/store-890ce35c.js.map +1 -0
- package/dist/esm-es5/{utils-040e8a86.js → utils-ffae4b0b.js} +2 -2
- package/dist/esm-es5/utils-ffae4b0b.js.br +0 -0
- package/dist/esm-es5/utils-ffae4b0b.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-b4e1f9ae.js → p-16f28b0e.js} +2 -2
- package/dist/geotrek-rando-widget/p-16f28b0e.js.br +0 -0
- package/dist/geotrek-rando-widget/p-16f28b0e.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-f83fba64.js → p-1db133d4.js} +2 -2
- package/dist/geotrek-rando-widget/p-1db133d4.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1db133d4.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-265b4eea.system.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-265b4eea.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-265b4eea.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-265b4eea.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-291b7192.system.js +2 -0
- 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 +1 -0
- package/dist/geotrek-rando-widget/{p-266b2cee.system.js → p-3eaed9f9.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-3eaed9f9.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3eaed9f9.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-47ba2866.js +2 -0
- package/dist/geotrek-rando-widget/p-47ba2866.js.br +0 -0
- package/dist/geotrek-rando-widget/p-47ba2866.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-47ba2866.js.map +1 -0
- package/dist/geotrek-rando-widget/p-6f514bac.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-6f514bac.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6f514bac.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6f514bac.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-737a036f.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-737a036f.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-737a036f.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-737a036f.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-73bf5fea.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-73bf5fea.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-73bf5fea.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-73bf5fea.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-7be13480.system.js +2 -0
- package/dist/geotrek-rando-widget/p-7be13480.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7be13480.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7be13480.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-7d5414a1.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-7d5414a1.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7d5414a1.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7d5414a1.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-953f1353.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-953f1353.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-953f1353.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-953f1353.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-a5cdfd75.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-a5cdfd75.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a5cdfd75.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a5cdfd75.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-1d5148b1.system.js → p-a7fa6233.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-a7fa6233.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a7fa6233.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bdaae91a.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-bdaae91a.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bdaae91a.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bdaae91a.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-ccc3be5e.system.js +2 -0
- package/dist/geotrek-rando-widget/p-ccc3be5e.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ccc3be5e.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ccc3be5e.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-cdf7523f.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-cdf7523f.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cdf7523f.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cdf7523f.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-d2da9a2e.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-d2da9a2e.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d2da9a2e.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d2da9a2e.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-e653caed.js +2 -0
- 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 +1 -0
- package/dist/types/components/grw-app/grw-app.d.ts +1 -7
- package/dist/types/components/grw-filters/grw-filters.d.ts +11 -0
- package/dist/types/components/grw-map/grw-map.d.ts +9 -2
- package/dist/types/components/grw-touristic-content/grw-touristic-content.d.ts +14 -0
- package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +18 -1
- package/dist/types/components.d.ts +60 -27
- package/dist/types/i18n/i18n.d.ts +5 -0
- package/dist/types/store/store.d.ts +7 -1
- package/dist/types/types/types.d.ts +17 -0
- package/package.json +3 -2
- package/readme.md +14 -6
- 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-detail_4.cjs.entry.js +0 -182
- package/dist/cjs/grw-information-desk-detail_4.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk-detail_4.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk-detail_4.cjs.entry.js.map +0 -1
- package/dist/cjs/i18n-cb39db65.js.br +0 -0
- package/dist/cjs/i18n-cb39db65.js.gz +0 -0
- package/dist/cjs/i18n-cb39db65.js.map +0 -1
- package/dist/cjs/store-73c3042b.js.br +0 -0
- package/dist/cjs/store-73c3042b.js.gz +0 -0
- package/dist/cjs/store-73c3042b.js.map +0 -1
- package/dist/cjs/utils-66fdd395.js.br +0 -0
- package/dist/cjs/utils-66fdd395.js.gz +0 -0
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.br +0 -0
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.gz +0 -0
- package/dist/collection/components/grw-information-desk-detail/grw-information-desk-detail.js.map +0 -1
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.br +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi-detail.js.map +0 -1
- 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-detail_4.entry.js +0 -175
- package/dist/esm/grw-information-desk-detail_4.entry.js.br +0 -0
- package/dist/esm/grw-information-desk-detail_4.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk-detail_4.entry.js.map +0 -1
- package/dist/esm/i18n-a9d6ba05.js.br +0 -0
- package/dist/esm/i18n-a9d6ba05.js.gz +0 -0
- package/dist/esm/i18n-a9d6ba05.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/store-1a33237a.js.br +0 -0
- package/dist/esm/store-1a33237a.js.gz +0 -0
- package/dist/esm/store-1a33237a.js.map +0 -1
- package/dist/esm/utils-040e8a86.js.br +0 -0
- package/dist/esm/utils-040e8a86.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-detail_4.entry.js +0 -2
- package/dist/esm-es5/grw-information-desk-detail_4.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk-detail_4.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk-detail_4.entry.js.map +0 -1
- package/dist/esm-es5/i18n-a9d6ba05.js +0 -2
- package/dist/esm-es5/i18n-a9d6ba05.js.br +0 -0
- package/dist/esm-es5/i18n-a9d6ba05.js.gz +0 -0
- package/dist/esm-es5/i18n-a9d6ba05.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/store-1a33237a.js.br +0 -0
- package/dist/esm-es5/store-1a33237a.js.gz +0 -0
- package/dist/esm-es5/store-1a33237a.js.map +0 -1
- package/dist/esm-es5/utils-040e8a86.js.br +0 -0
- package/dist/esm-es5/utils-040e8a86.js.gz +0 -0
- 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-1af71f11.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-1af71f11.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1af71f11.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1af71f11.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-1d5148b1.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1d5148b1.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-24e866b5.js +0 -2
- package/dist/geotrek-rando-widget/p-24e866b5.js.br +0 -0
- package/dist/geotrek-rando-widget/p-24e866b5.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-24e866b5.js.map +0 -1
- 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-5d5f6ab5.js +0 -2
- package/dist/geotrek-rando-widget/p-5d5f6ab5.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5d5f6ab5.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5d5f6ab5.js.map +0 -1
- package/dist/geotrek-rando-widget/p-72c0f5b2.system.js +0 -2
- package/dist/geotrek-rando-widget/p-72c0f5b2.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-72c0f5b2.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-72c0f5b2.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-731e7ba6.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-731e7ba6.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-731e7ba6.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-731e7ba6.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-78ff4400.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-78ff4400.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-78ff4400.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-78ff4400.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-92a1370c.system.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-92a1370c.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-92a1370c.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-92a1370c.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-93f67955.system.js +0 -2
- package/dist/geotrek-rando-widget/p-93f67955.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-93f67955.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-93f67955.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-ac94a30c.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-ac94a30c.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ac94a30c.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ac94a30c.system.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-dc691883.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-dc691883.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-dc691883.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-dc691883.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-e09d1fb4.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-e09d1fb4.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e09d1fb4.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e09d1fb4.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-f68b2287.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-f68b2287.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f68b2287.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f68b2287.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-f83fba64.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f83fba64.js.gz +0 -0
- /package/dist/collection/components/{grw-information-desk-detail/grw-information-desk-detail.css → grw-information-desk/grw-information-desk.css} +0 -0
- /package/dist/collection/components/{grw-information-desk-detail/grw-information-desk-detail.css.br → grw-information-desk/grw-information-desk.css.br} +0 -0
- /package/dist/collection/components/{grw-information-desk-detail/grw-information-desk-detail.css.gz → grw-information-desk/grw-information-desk.css.gz} +0 -0
- /package/dist/collection/components/grw-poi-detail/{grw-poi-detail.css → grw-poi.css} +0 -0
- /package/dist/collection/components/grw-poi-detail/{grw-poi-detail.css.br → grw-poi.css.br} +0 -0
- /package/dist/collection/components/grw-poi-detail/{grw-poi-detail.css.gz → grw-poi.css.gz} +0 -0
- /package/dist/esm-es5/{index-82644551.js.map → index-3bfebaa2.js.map} +0 -0
- /package/dist/esm-es5/{utils-040e8a86.js.map → utils-ffae4b0b.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-b4e1f9ae.js.map → p-16f28b0e.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-f83fba64.js.map → p-1db133d4.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-266b2cee.system.js.map → p-3eaed9f9.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-1d5148b1.system.js.map → p-a7fa6233.system.js.map} +0 -0
- /package/dist/types/components/{grw-information-desk-detail/grw-information-desk-detail.d.ts → grw-information-desk/grw-information-desk.d.ts} +0 -0
- /package/dist/types/components/grw-poi-detail/{grw-poi-detail.d.ts → grw-poi.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["grwSelectLanguageCss","GrwSelectLanguage","exports","class_1","prototype","handleSelect","event","state","treks","currentTreks","currentTrek","language","target","value","render","_this","this","h","Host","translate","class","onInput","name","id","languages","map","selected","toLocaleLowerCase","toLocaleUpperCase"],"sources":["src/components/grw-select-language/grw-select-language.scss?tag=grw-select-language&encapsulation=shadow","src/components/grw-select-language/grw-select-language.tsx"],"sourcesContent":[".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n display: flex;\n align-items: center;\n span {\n font-size: 18px;\n }\n #language-select {\n border: none;\n background-color: var(--color-background);\n &:focus-visible {\n outline: none;\n }\n }\n}\n","import { Component, Host, h } from '@stencil/core';\nimport state from 'store/store';\n\n@Component({\n tag: 'grw-select-language',\n styleUrl: 'grw-select-language.scss',\n shadow: true,\n})\nexport class GrwSelectLanguage {\n handleSelect(event) {\n state.treks = null;\n state.currentTreks = null;\n state.currentTrek = null;\n state.language = event.target.value;\n }\n\n render() {\n return (\n <Host>\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined margin-right-icon\">\n translate\n </span>\n <select onInput={event => this.handleSelect(event)} name=\"languages\" id=\"language-select\">\n {state.languages.map(language => (\n <option selected={language === state.language} value={language.toLocaleLowerCase()}>\n {language.toLocaleUpperCase()}\n </option>\n ))}\n </select>\n </Host>\n );\n }\n}\n"],"mappings":"gMAAA,IAAMA,EAAuB,kY,ICQhBC,EAAiBC,EAAA,iC,wBAC5BC,EAAAC,UAAAC,aAAA,SAAaC,GACXC,EAAMC,MAAQ,KACdD,EAAME,aAAe,KACrBF,EAAMG,YAAc,KACpBH,EAAMI,SAAWL,EAAMM,OAAOC,K,EAGhCV,EAAAC,UAAAU,OAAA,eAAAC,EAAAC,KACE,OACEC,EAACC,EAAI,KAEHD,EAAA,QAAME,UAAW,MAAOC,MAAM,gEAA8D,aAG5FH,EAAA,UAAQI,QAAS,SAAAf,GAAS,OAAAS,EAAKV,aAAaC,EAAlB,EAA0BgB,KAAK,YAAYC,GAAG,mBACrEhB,EAAMiB,UAAUC,KAAI,SAAAd,GAAQ,OAC3BM,EAAA,UAAQS,SAAUf,IAAaJ,EAAMI,SAAUE,MAAOF,EAASgB,qBAC5DhB,EAASiB,oBAFe,K,WAhBT,I"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};System.register(["./p-3eaed9f9.system.js","./p-7be13480.system.js","./p-a7fa6233.system.js"],(function(e){"use strict";var t,r,n,i,o,s,a;return{setters:[function(e){t=e.r;r=e.f;n=e.h;i=e.H},function(e){o=e.s},function(e){s=e.f;a=e.h}],execute:function(){var l='.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"}.filter-name{margin-left:8px;color:var(--color-on-surface);line-height:32px;letter-spacing:0px;font-size:24px;font-weight:400}.filter-button-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:16px}.filter-button-container .filter-button,.filter-button-container .selected-filter-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-1);box-shadow:var(--elevation-1);border:1px solid var(--color-outline);border-radius:8px;-webkit-tap-highlight-color:transparent;line-height:20px;-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;min-width:100px;white-space:nowrap}.filter-button-container .filter-button:hover,.filter-button-container .selected-filter-button:hover{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.filter-button-container .filter-button{color:var(--color-on-surface-variant);background-color:transparent}.filter-button-container .selected-filter-button{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}.filter-button-container .selected-filter-button span{font-size:24px;margin-right:8px;color:var(--color-on-secondary-container)}';var f=e("grw_filter",function(){function e(e){t(this,e);this.filterType=undefined;this.filterName=undefined;this.filterNameProperty=undefined;this.segment=undefined}e.prototype.onResetFilter=function(){this.resetFilter()};e.prototype.handleFilter=function(e,t){var r=this;var n=__spreadArray([],o[this.filterType],true);n.find((function(e){return e.id===t.id})).selected=!n.find((function(e){return e.id===t.id})).selected;o[this.filterType]=n;o[this.segment]=0;s.filter((function(e){return e.segment===r.segment})).forEach((function(e){o[r.segment]+=o[e.property].filter((function(e){return e.selected})).length}));o.currentTreks=a()};e.prototype.resetFilter=function(){r(this.filterRef)};e.prototype.render=function(){var e=this;return n(i,{ref:function(t){return e.filterRef=t}},n("div",{class:"filter-name display-large"},this.filterName),n("div",{class:"filter-button-container"},o[this.filterType].map((function(t){return n("button",{onClick:function(r){return e.handleFilter(r,t)},class:t.selected?"selected-filter-button":"filter-button"},t.selected&&n("span",{translate:false,class:"material-symbols material-symbols-outlined"},"check"),t[e.filterNameProperty])}))))};return e}());f.style=l}}}));
|
|
2
|
+
//# sourceMappingURL=p-953f1353.system.entry.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["grwFilterCss","GrwFilter","exports","class_1","prototype","onResetFilter","this","resetFilter","handleFilter","_event","filterToHandle","_this","filterFromState","__spreadArray","state","filterType","find","currentFilter","id","selected","segment","filters","filter","forEach","property","length","currentTreks","handleFiltersAndSearch","forceUpdate","filterRef","render","h","Host","ref","el","class","filterName","map","onClick","event","translate","filterNameProperty"],"sources":["src/components/grw-filter/grw-filter.scss?tag=grw-filter&encapsulation=shadow","src/components/grw-filter/grw-filter.tsx"],"sourcesContent":[".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n font-family: 'Roboto';\n}\n\n.filter-name {\n margin-left: 8px;\n color: var(--color-on-surface);\n line-height: 32px;\n letter-spacing: 0px;\n font-size: 24px;\n font-weight: 400;\n}\n.filter-button-container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n margin-right: 16px;\n .filter-button,\n .selected-filter-button {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n margin: 8px 0px 0px 8px;\n padding: 8px 16px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: var(--elevation-1);\n border: 1px solid var(--color-outline);\n border-radius: 8px;\n -webkit-tap-highlight-color: transparent;\n line-height: 20px;\n transition: box-shadow 0.2s ease-in-out 0s;\n min-width: 100px;\n white-space: nowrap;\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n .filter-button {\n color: var(--color-on-surface-variant);\n background-color: transparent;\n }\n .selected-filter-button {\n color: var(--color-on-secondary-container);\n background-color: var(--color-secondary-container);\n span {\n font-size: 24px;\n margin-right: 8px;\n color: var(--color-on-secondary-container);\n }\n }\n}\n","import { Component, Host, h, Prop, Listen, forceUpdate } from '@stencil/core';\nimport state from 'store/store';\nimport { filters, handleFiltersAndSearch } from 'utils/utils';\n\n@Component({\n tag: 'grw-filter',\n styleUrl: 'grw-filter.scss',\n shadow: true,\n})\nexport class GrwFilter {\n filterRef: HTMLElement;\n @Prop() filterType: string;\n @Prop() filterName: string;\n @Prop() filterNameProperty: string;\n @Prop() segment: string;\n @Listen('resetFilter', { target: 'window' })\n onResetFilter() {\n this.resetFilter();\n }\n\n handleFilter(_event: MouseEvent, filterToHandle: any) {\n const filterFromState = [...state[this.filterType]];\n filterFromState.find(currentFilter => currentFilter.id === filterToHandle.id).selected = !filterFromState.find(currentFilter => currentFilter.id === filterToHandle.id)\n .selected;\n state[this.filterType] = filterFromState;\n\n state[this.segment] = 0;\n filters\n .filter(filter => filter.segment === this.segment)\n .forEach(filter => {\n state[this.segment] += state[filter.property].filter(filter => filter.selected).length;\n });\n\n state.currentTreks = handleFiltersAndSearch();\n }\n\n resetFilter() {\n forceUpdate(this.filterRef);\n }\n\n render() {\n return (\n <Host ref={el => (this.filterRef = el)}>\n <div class=\"filter-name display-large\">{this.filterName}</div>\n <div class=\"filter-button-container\">\n {state[this.filterType].map(currentFilter => (\n <button onClick={event => this.handleFilter(event, currentFilter)} class={currentFilter.selected ? 'selected-filter-button' : 'filter-button'}>\n {/* @ts-ignore */}\n {currentFilter.selected && <span translate={false} class=\"material-symbols material-symbols-outlined\">check</span>}\n {currentFilter[this.filterNameProperty]}\n </button>\n ))}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"gfAAA,IAAMA,EAAe,kzD,ICSRC,EAASC,EAAA,wB,qIAOpBC,EAAAC,UAAAC,cAAA,WACEC,KAAKC,a,EAGPJ,EAAAC,UAAAI,aAAA,SAAaC,EAAoBC,GAAjC,IAAAC,EAAAL,KACE,IAAMM,EAAeC,cAAA,GAAOC,EAAMR,KAAKS,YAAW,MAClDH,EAAgBI,MAAK,SAAAC,GAAiB,OAAAA,EAAcC,KAAOR,EAAeQ,EAApC,IAAwCC,UAAYP,EAAgBI,MAAK,SAAAC,GAAiB,OAAAA,EAAcC,KAAOR,EAAeQ,EAApC,IAC7HC,SACHL,EAAMR,KAAKS,YAAcH,EAEzBE,EAAMR,KAAKc,SAAW,EACtBC,EACGC,QAAO,SAAAA,GAAU,OAAAA,EAAOF,UAAYT,EAAKS,OAAxB,IACjBG,SAAQ,SAAAD,GACPR,EAAMH,EAAKS,UAAYN,EAAMQ,EAAOE,UAAUF,QAAO,SAAAA,GAAU,OAAAA,EAAOH,QAAP,IAAiBM,M,IAGpFX,EAAMY,aAAeC,G,EAGvBxB,EAAAC,UAAAG,YAAA,WACEqB,EAAYtB,KAAKuB,U,EAGnB1B,EAAAC,UAAA0B,OAAA,eAAAnB,EAAAL,KACE,OACEyB,EAACC,EAAI,CAACC,IAAK,SAAAC,GAAE,OAAKvB,EAAKkB,UAAYK,CAAtB,GACXH,EAAA,OAAKI,MAAM,6BAA6B7B,KAAK8B,YAC7CL,EAAA,OAAKI,MAAM,2BACRrB,EAAMR,KAAKS,YAAYsB,KAAI,SAAApB,GAAa,OACvCc,EAAA,UAAQO,QAAS,SAAAC,GAAS,OAAA5B,EAAKH,aAAa+B,EAAOtB,EAAzB,EAAyCkB,MAAOlB,EAAcE,SAAW,yBAA2B,iBAE3HF,EAAcE,UAAYY,EAAA,QAAMS,UAAW,MAAOL,MAAM,8CAA4C,SACpGlB,EAAcN,EAAK8B,oBAJiB,K,WApC7B,I"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
System.register(["./p-3eaed9f9.system.js","./p-291b7192.system.js","./p-7be13480.system.js"],(function(e){"use strict";var r,t,i,o,a,n,s,l;return{setters:[function(e){r=e.r;t=e.h;i=e.H;o=e.g},function(e){a=e.t},function(e){n=e.s;s=e.o;l=e.r}],execute:function(){var c='.material-symbols{font-family:"Material Symbols Outlined"}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:"Roboto";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;width:100%;height:100%;overflow:hidden}.header-container,.large-view-header-container{background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2);height:64px}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-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}.handle-search-filters-container .handle-filters-button span{font-size:18px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.large-view-loader-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.init-loader-container .loader,.loader-container .loader,.large-view-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)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - 64px);background-color:var(--color-background)}.content-treks{height:calc(100% - 64px)}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list{max-height:calc(100vh - 64px)}grw-trek-detail{max-height:calc(100vh - 64px - 48px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}';var h=e("grw_app",function(){function e(e){r(this,e);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTreksMap=false;this.showTrekMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.center=undefined;this.zoom=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.colorPrimaryApp="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorPoiIcon="#974c6e";this.useGradient=false}e.prototype.onTrekCardPress=function(e){var r=n.parentTrekId?n.parentTrekId:n.currentTrekSteps?this.currentTrekId:null;n.currentTrek=null;this.currentTrekId=e.detail;this.showTrek=true;this.showTrekMap=false;var t=new URL(window.location.toString());t.searchParams.set("trek",this.currentTrekId.toString());if(n.currentTrekSteps){t.searchParams.set("parentTrek",r.toString())}window.history.pushState({},"",t)};e.prototype.onParentTrekPress=function(e){n.currentTrek=null;this.currentTrekId=e.detail;this.showTrek=true;this.showTrekMap=false;var r=new URL(window.location.toString());r.searchParams.set("trek",this.currentTrekId.toString());r.searchParams.delete("parentTrek");window.history.pushState({},"",r)};e.prototype.onWindowResize=function(){this.handleView()};e.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};e.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};e.prototype.componentWillLoad=function(){var e=new URL(window.location.toString());var r=e.searchParams.get("trek");var t=e.searchParams.get("parentTrek");if(r){window.history.replaceState({isInitialHistoryWithTrek:true},"",e);n.parentTrekId=t?Number(t):null;this.currentTrekId=Number(r);this.showTrek=!this.showTrek}};e.prototype.componentDidLoad=function(){var e=this;s("trekNetworkError",(function(){if(n.trekNetworkError){var r=new URL(window.location.toString());r.searchParams.delete("trek");r.searchParams.delete("parentTrek");window.history.replaceState({},"",r);e.onTrekDetailsClose()}}));window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};e.prototype.onTrekDetailsClose=function(){n.currentTrek=null;n.currentTrekSteps=null;n.parentTrekId=null;this.currentTrekId=null;this.showTrek=!this.showTrek};e.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showTreksMap=this.isLargeView;this.showTrekMap=this.isLargeView};e.prototype.handleFilters=function(){this.showFilters=!this.showFilters};e.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithTrek){this.onTrekDetailsClose();var e=new URL(window.location.toString());e.searchParams.delete("trek");window.history.pushState({},"",e)}else{window.history.back()}};e.prototype.handlePopState=function(){var e=new URL(window.location.toString());var r=Number(e.searchParams.get("trek"));if(r&&this.currentTrekId!==r){n.currentTrek=null;this.currentTrekId=r;this.showTrek=true}else if(!r){this.onTrekDetailsClose()}};e.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else{this.showTreksMap=!this.showTreksMap}};e.prototype.disconnectedCallback=function(){l();window.removeEventListener("popstate",this.handlePopStateBind)};e.prototype.render=function(){var e=this;return t(i,{style:{"--color-primary-app":this.colorPrimaryApp,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--app-width":this.appWidth,"--app-height":this.appHeight}},!n.currentTreks&&!n.currentTrek&&t("div",{class:"init-loader-container"},t("span",{class:"loader"})),!this.showTrek&&!n.treks&&t("grw-treks-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals,routes:this.routes,practices:this.practices}),this.showTrek&&this.currentTrekId&&!n.currentTrek&&t("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId}),(n.currentTreks||n.currentTrek)&&t("div",{class:"app-container"},t("div",{class:this.isLargeView?"large-view-header-container":"header-container"},!this.showTrek?t("div",{class:"handle-search-filters-container"},t("div",{class:"handle-search-container"},t("grw-search",null)),t("div",{class:"handle-filters-container"},t("button",{onClick:function(){return e.handleFilters()},class:"handle-filters-button"},t("span",{translate:false,class:"material-symbols material-symbols-outlined margin-right-icon"},"filter_list"),a[n.language].filter))):t("div",{class:"arrow-back-container"},t("button",{onClick:function(){return e.handleBackButton()},class:"arrow-back-icon"},t("span",{translate:false,class:"material-symbols material-symbols-outlined"},"arrow_back")))),t("div",{class:"content-container ".concat(this.showTrek?"content-trek":"content-treks")},t("div",{class:this.isLargeView?"large-view-app-treks-list-container":"app-treks-list-container",style:{display:this.showTrek?"none":"flex",position:this.showTrek?"absolute":"relative"}},t("grw-treks-list",{"reset-store-on-disconnected":"false","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.showTrek&&!n.currentTrek&&t("div",{class:this.isLargeView?"large-view-loader-container":"loader-container"},t("span",{class:"loader"})),n.currentTrek&&t("div",{class:this.isLargeView?"large-view-app-trek-detail-container":"app-trek-detail-container"},t("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"reset-store-on-disconnected":"false","color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView})),t("grw-map",{"reset-store-on-disconnected":"false",class:this.isLargeView?"large-view-app-map-container":"app-map-container",style:{visibility:this.showTreksMap&&!this.showTrek||this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:this.showTrekMap?"1":"0"},center:this.center,zoom:this.zoom,"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-poi-icon":this.colorPoiIcon,"is-large-view":this.isLargeView,"use-gradient":this.useGradient})),(!this.showTrek||this.showTrek&&n.currentTrek)&&t("div",{class:"map-visibility-button-container"},t("button",{onClick:function(){return e.handleShowMap()},class:"map-visibility-button",style:{display:this.isLargeView?"none":"flex"}},t("span",{translate:false,class:"material-symbols material-symbols-outlined"},this.showTrek?this.showTrekMap?"summarize":"map":this.showTreksMap?"list":"map"),this.showTrek?this.showTrekMap?a[n.language].showDetails:a[n.language].showRoute:this.showTreksMap?a[n.language].showList:a[n.language].showMap))),!this.showTrek&&this.showFilters&&t("grw-filters",{handleFilters:function(){return e.handleFilters()}}))};Object.defineProperty(e.prototype,"appElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return e}());h.style=c}}}));
|
|
2
|
+
//# sourceMappingURL=p-a5cdfd75.system.entry.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["grwAppCss","GrwApp","exports","this","largeViewSize","handlePopStateBind","handlePopState","bind","class_1","prototype","onTrekCardPress","event","parentTrek","state","parentTrekId","currentTrekSteps","currentTrekId","currentTrek","detail","showTrek","showTrekMap","url","URL","window","location","toString","searchParams","set","history","pushState","onParentTrekPress","delete","onWindowResize","handleView","onCenterOnMap","isLargeView","watchPropHandler","dispatchEvent","Event","componentWillLoad","trekParam","get","replaceState","isInitialHistoryWithTrek","Number","componentDidLoad","_this","onChange","trekNetworkError","urlRedirect","onTrekDetailsClose","addEventListener","appElement","getBoundingClientRect","width","showTreksMap","handleFilters","showFilters","handleBackButton","back","handleShowMap","disconnectedCallback","reset","removeEventListener","render","h","Host","style","colorPrimaryApp","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","appWidth","appHeight","currentTreks","class","treks","api","languages","inBbox","cities","districts","structures","themes","portals","routes","practices","onClick","translate","language","filter","concat","display","position","visibility","zIndex","weather","center","zoom","nameLayer","urlLayer","attributionLayer","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","showDetails","showRoute","showList","showMap"],"sources":["src/components/grw-app/grw-app.scss?tag=grw-app","src/components/grw-app/grw-app.tsx"],"sourcesContent":[".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\ngrw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n font-family: 'Roboto';\n color: var(--color-on-surface);\n overflow: hidden;\n line-height: initial;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.app-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.header-container,\n.large-view-header-container {\n background-color: var(--color-background);\n box-shadow: var(--elevation-2);\n height: 64px;\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: 50%;\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n\n .handle-filters-button {\n margin-left: 16px;\n user-select: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: var(--color-background);\n color: var(--color-on-surface);\n padding: 12px 24px;\n border-radius: 20px;\n box-sizing: border-box;\n position: relative;\n gap: 8px;\n white-space: nowrap;\n line-height: 20px;\n letter-spacing: 0.10000000149011612px;\n font-size: 14px;\n font-weight: 500;\n box-shadow: var(--elevation-1);\n transition: box-shadow 0.2s ease-in-out 0s;\n span {\n font-size: 18px;\n }\n }\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n .loader {\n width: 48px;\n height: 48px;\n border: 5px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n}\n\n.content-container {\n position: relative;\n display: flex;\n height: calc(100% - 64px);\n background-color: var(--color-background);\n}\n\n.content-treks {\n height: calc(100% - 64px);\n}\n\n.content-trek {\n height: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n .map-visibility-button {\n cursor: pointer;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n text-decoration: none;\n padding: 16px;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n box-shadow: var(--elevation-1);\n border-radius: 12px;\n height: 56px;\n font-size: 16px;\n width: unset;\n &:hover {\n box-shadow: var(--elevation-4);\n }\n span {\n font-size: 24px;\n margin-right: 8px;\n color: var(--color-on-primary-container);\n }\n }\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container {\n width: 100%;\n}\n\ngrw-treks-list {\n max-height: calc(100vh - 64px);\n}\n\ngrw-trek-detail {\n max-height: calc(100vh - 64px - 48px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { onChange, reset } from 'store/store';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTreksMap = false;\n @State() showTrekMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() center: string;\n @Prop() zoom: number;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parentTrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parentTrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parentTrek');\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithTrek: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = !this.showTrek;\n }\n }\n\n componentDidLoad() {\n onChange('trekNetworkError', () => {\n if (state.trekNetworkError) {\n const urlRedirect = new URL(window.location.toString());\n urlRedirect.searchParams.delete('trek');\n urlRedirect.searchParams.delete('parentTrek');\n window.history.replaceState({}, '', urlRedirect);\n this.onTrekDetailsClose();\n }\n });\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onTrekDetailsClose() {\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = !this.showTrek;\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showTreksMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithTrek) {\n this.onTrekDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n if (trekParam && this.currentTrekId !== trekParam) {\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n this.showTrek = true;\n } else if (!trekParam) {\n this.onTrekDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else {\n this.showTreksMap = !this.showTreksMap;\n }\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n render() {\n return (\n <Host\n style={{\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n }}\n >\n {!state.currentTreks && !state.currentTrek && (\n <div class=\"init-loader-container\">\n <span class=\"loader\"></span>\n </div>\n )}\n {!this.showTrek && !state.treks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider api={this.api} languages={this.languages} trek-id={this.currentTrekId}></grw-trek-provider>\n )}\n {(state.currentTreks || state.currentTrek) && (\n <div class=\"app-container\">\n <div class={this.isLargeView ? 'large-view-header-container' : 'header-container'}>\n {!this.showTrek ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <button onClick={() => this.handleFilters()} class=\"handle-filters-button\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined margin-right-icon\">\n filter_list\n </span>\n {translate[state.language].filter}\n </button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek ? 'content-trek' : 'content-treks'}`}>\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n <grw-treks-list\n reset-store-on-disconnected=\"false\"\n is-large-view={this.isLargeView}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-treks-list>\n </div>\n {this.showTrek && !state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <span class=\"loader\"></span>\n </div>\n )}\n {state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected=\"false\"\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n ></grw-trek-detail>\n </div>\n )}\n <grw-map\n reset-store-on-disconnected=\"false\"\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility: (this.showTreksMap && !this.showTrek) || (this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: this.showTrekMap ? '1' : '0',\n }}\n center={this.center}\n zoom={this.zoom}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-poi-icon={this.colorPoiIcon}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n ></grw-map>\n </div>\n {(!this.showTrek || (this.showTrek && state.currentTrek)) && (\n <div class=\"map-visibility-button-container\">\n <button onClick={() => this.handleShowMap()} class=\"map-visibility-button\" style={{ display: this.isLargeView ? 'none' : 'flex' }}>\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n {this.showTrek ? (this.showTrekMap ? 'summarize' : 'map') : this.showTreksMap ? 'list' : 'map'}\n </span>\n {this.showTrek\n ? this.showTrekMap\n ? translate[state.language].showDetails\n : translate[state.language].showRoute\n : this.showTreksMap\n ? translate[state.language].showList\n : translate[state.language].showMap}\n </button>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"mappings":"sQAAA,IAAMA,EAAY,s2K,ICSLC,EAAMC,EAAA,qB,wBAgDjBC,KAAAC,cAAgB,KAChBD,KAAAE,mBAA2CF,KAAKG,eAAeC,KAAKJ,M,cA/ChD,M,kBACI,M,iBACD,M,iBACA,M,iBACA,M,2CAEI,O,eACC,Q,kCAER,K,mUAcF,M,qBAEQ,U,oBACD,U,kBACF,U,oBACE,U,yBACK,U,2BACE,U,2BACA,U,6BACE,U,6BACA,U,+BACE,U,qBACV,U,+BACU,U,8BACD,U,wBACN,U,cACV,U,mBAEK,U,wBACK,U,kBACN,U,iBACD,K,CAMtBK,EAAAC,UAAAC,gBAAA,SAAgBC,GACd,IAAMC,EAAaC,EAAMC,aAAeD,EAAMC,aAAeD,EAAME,iBAAmBZ,KAAKa,cAAgB,KAC3GH,EAAMI,YAAc,KACpBd,KAAKa,cAAgBL,EAAMO,OAC3Bf,KAAKgB,SAAW,KAChBhB,KAAKiB,YAAc,MACnB,IAAMC,EAAM,IAAIC,IAAIC,OAAOC,SAASC,YACpCJ,EAAIK,aAAaC,IAAI,OAAQxB,KAAKa,cAAcS,YAChD,GAAIZ,EAAME,iBAAkB,CAC1BM,EAAIK,aAAaC,IAAI,aAAcf,EAAWa,W,CAEhDF,OAAOK,QAAQC,UAAU,GAAI,GAAIR,E,EAInCb,EAAAC,UAAAqB,kBAAA,SAAkBnB,GAChBE,EAAMI,YAAc,KACpBd,KAAKa,cAAgBL,EAAMO,OAC3Bf,KAAKgB,SAAW,KAChBhB,KAAKiB,YAAc,MACnB,IAAM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,YAAc,UAAY,SAC3HuE,OAAQvG,KAAKiB,YAAc,IAAM,KAEnCwF,OAAQzG,KAAKyG,OACbC,KAAM1G,KAAK0G,KAAI,aACH1G,KAAK2G,UAAS,YACf3G,KAAK4G,SAAQ,oBACL5G,KAAK6G,iBAAgB,oBACrB7G,KAAKiE,gBAAe,mBACrBjE,KAAKoE,eAAc,0BACZpE,KAAKuE,sBAAqB,6BACvBvE,KAAKwE,wBAAuB,mBACtCxE,KAAK2E,gBAAe,kBACrB3E,KAAK8G,cAAa,uBACb9G,KAAK+G,mBAAkB,iBAC7B/G,KAAKgH,aAAY,gBAClBhH,KAAKgC,YAAW,eACjBhC,KAAKiH,iBAGpBjH,KAAKgB,UAAahB,KAAKgB,UAAYN,EAAMI,cAC1CgD,EAAA,OAAKqB,MAAM,mCACTrB,EAAA,UAAQiC,QAAS,WAAM,OAAApD,EAAKc,eAAL,EAAsB0B,MAAM,wBAAwBnB,MAAO,CAAEoC,QAASpG,KAAKgC,YAAc,OAAS,SAEvH8B,EAAA,QAAMkC,UAAW,MAAOb,MAAM,8CAC3BnF,KAAKgB,SAAYhB,KAAKiB,YAAc,YAAc,MAASjB,KAAKoD,aAAe,OAAS,OAE1FpD,KAAKgB,SACFhB,KAAKiB,YACH+E,EAAUtF,EAAMuF,UAAUiB,YAC1BlB,EAAUtF,EAAMuF,UAAUkB,UAC5BnH,KAAKoD,aACL4C,EAAUtF,EAAMuF,UAAUmB,SAC1BpB,EAAUtF,EAAMuF,UAAUoB,YAMtCrH,KAAKgB,UAAYhB,KAAKsD,aAAeQ,EAAA,eAAaT,cAAe,WAAM,OAAAV,EAAKU,eAAL,I,iQA9U9D,I"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var i=0,n=r.length,s;i<n;i++){if(s||!(i in r)){if(!s)s=Array.prototype.slice.call(r,0,i);s[i]=r[i]}}return e.concat(s||Array.prototype.slice.call(r))};System.register(["./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var i=0,n=r.length,s;i<n;i++){if(s||!(i in r)){if(!s)s=Array.prototype.slice.call(r,0,i);s[i]=r[i]}}return e.concat(s||Array.prototype.slice.call(r))};System.register(["./p-7be13480.system.js"],(function(e){"use strict";var r;return{setters:[function(e){r=e.s}],execute:function(){e({a:t,b:i,c:n,h:a});function t(e){var r;if(e<24){r="".concat(Math.floor(e),"h");if(e%1>0){r+="".concat(Math.round(60*(e%1)),"min")}}else{r="".concat(e/24,"j")}return r}function i(e){return"".concat(Math.round(e/1e3),"km")}function n(e){return"".concat(e,"m")}var s=e("f",[{property:"practices",trekProperty:"practice",trekPropertyIsArray:false,type:"include",segment:"selectedActivitiesFilters"},{property:"difficulties",trekProperty:"difficulty",trekPropertyIsArray:false,type:"include",segment:"selectedActivitiesFilters"},{property:"durations",trekProperty:"duration",trekPropertyIsArray:false,type:"interval",segment:"selectedActivitiesFilters"},{property:"lengths",trekProperty:"length_2d",trekPropertyIsArray:false,type:"interval",segment:"selectedActivitiesFilters"},{property:"elevations",trekProperty:"ascent",trekPropertyIsArray:false,type:"interval",segment:"selectedActivitiesFilters"},{property:"routes",trekProperty:"route",trekPropertyIsArray:false,type:"include",segment:"selectedActivitiesFilters"},{property:"accessibilities",trekProperty:"accessibilities",trekPropertyIsArray:true,type:"include",segment:"selectedActivitiesFilters"},{property:"labels",trekProperty:"labels",trekPropertyIsArray:true,type:"include",segment:"selectedActivitiesFilters"},{property:"themes",trekProperty:"themes",trekPropertyIsArray:true,type:"include",segment:"selectedThemesFilters"},{property:"cities",trekProperty:"cities",trekPropertyIsArray:true,type:"include",segment:"selectedLocationFilters"},{property:"districts",trekProperty:"districts",trekPropertyIsArray:true,type:"include",segment:"selectedLocationFilters"}]);function a(){var e=false;var t=[];var i=function(i){var n=r[i.property].filter((function(e){return e.selected})).map((function(e){return e.id}));if(n.length>0){if(t.length>0){if(i.type==="include"){if(i.trekPropertyIsArray){t=__spreadArray([],t.filter((function(e){return e[i.trekProperty].some((function(e){return n.includes(e)}))})),true)}else{t=__spreadArray([],t.filter((function(e){return n.includes(e[i.trekProperty])})),true)}}else if(i.type==="interval"){t=__spreadArray([],t.filter((function(e){var t=function(t){var n=r[i.property].find((function(e){return e.id===t}));if(e[i.trekProperty]>=n.minValue&&e[i.trekProperty]<=n.maxValue){return{value:true}}};for(var s=0,a=n;s<a.length;s++){var o=a[s];var l=t(o);if(typeof l==="object")return l.value}return false})),true)}}else{if(!e){e=true}if(i.type==="include"){if(i.trekPropertyIsArray){t=__spreadArray([],r.treks.filter((function(e){return e[i.trekProperty].some((function(e){return n.includes(e)}))})),true)}else{t=__spreadArray([],r.treks.filter((function(e){return n.includes(e[i.trekProperty])})),true)}}else if(i.type==="interval"){var s;var a;var o=function(e){var t=r[i.property].find((function(r){return r.id===e}));if(isNaN(s)||t.minValue<s){s=t.minValue}if(isNaN(a)||t.maxValue>a){a=t.maxValue}};for(var l=0,c=n;l<c.length;l++){var u=c[l];o(u)}t=__spreadArray([],r.treks.filter((function(e){return e[i.trekProperty]>=s&&e[i.trekProperty]<=a})),true)}}}};for(var n=0,a=s;n<a.length;n++){var o=a[n];i(o)}var l=e?t:r.treks;return Boolean(r.searchValue)?l.filter((function(e){return e.name.toLowerCase().includes(r.searchValue.toLowerCase())})):l}}}}));
|
|
2
|
+
//# sourceMappingURL=p-a7fa6233.system.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as i,h as e,H as t,g as r}from"./p-16f28b0e.js";import{t as a}from"./p-e653caed.js";import{s as o,o as n,r as s}from"./p-47ba2866.js";const l='.material-symbols{font-family:"Material Symbols Outlined"}.material-symbols-outlined{font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:"Roboto";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;width:100%;height:100%;overflow:hidden}.header-container,.large-view-header-container{background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2);height:64px}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-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}.handle-search-filters-container .handle-filters-button span{font-size:18px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.large-view-loader-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.init-loader-container .loader,.loader-container .loader,.large-view-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)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - 64px);background-color:var(--color-background)}.content-treks{height:calc(100% - 64px)}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list{max-height:calc(100vh - 64px)}grw-trek-detail{max-height:calc(100vh - 64px - 48px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}';const c=class{constructor(e){i(this,e);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTreksMap=false;this.showTrekMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.center=undefined;this.zoom=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.colorPrimaryApp="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorPoiIcon="#974c6e";this.useGradient=false}onTrekCardPress(i){const e=o.parentTrekId?o.parentTrekId:o.currentTrekSteps?this.currentTrekId:null;o.currentTrek=null;this.currentTrekId=i.detail;this.showTrek=true;this.showTrekMap=false;const t=new URL(window.location.toString());t.searchParams.set("trek",this.currentTrekId.toString());if(o.currentTrekSteps){t.searchParams.set("parentTrek",e.toString())}window.history.pushState({},"",t)}onParentTrekPress(i){o.currentTrek=null;this.currentTrekId=i.detail;this.showTrek=true;this.showTrekMap=false;const e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());e.searchParams.delete("parentTrek");window.history.pushState({},"",e)}onWindowResize(){this.handleView()}onCenterOnMap(){if(!this.isLargeView){this.showTrekMap=true}}watchPropHandler(){window.dispatchEvent(new window.Event("resize"))}componentWillLoad(){const i=new URL(window.location.toString());const e=i.searchParams.get("trek");const t=i.searchParams.get("parentTrek");if(e){window.history.replaceState({isInitialHistoryWithTrek:true},"",i);o.parentTrekId=t?Number(t):null;this.currentTrekId=Number(e);this.showTrek=!this.showTrek}}componentDidLoad(){n("trekNetworkError",(()=>{if(o.trekNetworkError){const i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.delete("parentTrek");window.history.replaceState({},"",i);this.onTrekDetailsClose()}}));window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()}onTrekDetailsClose(){o.currentTrek=null;o.currentTrekSteps=null;o.parentTrekId=null;this.currentTrekId=null;this.showTrek=!this.showTrek}handleView(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showTreksMap=this.isLargeView;this.showTrekMap=this.isLargeView}handleFilters(){this.showFilters=!this.showFilters}handleBackButton(){if(window.history.state&&window.history.state.isInitialHistoryWithTrek){this.onTrekDetailsClose();const i=new URL(window.location.toString());i.searchParams.delete("trek");window.history.pushState({},"",i)}else{window.history.back()}}handlePopState(){const i=new URL(window.location.toString());const e=Number(i.searchParams.get("trek"));if(e&&this.currentTrekId!==e){o.currentTrek=null;this.currentTrekId=e;this.showTrek=true}else if(!e){this.onTrekDetailsClose()}}handleShowMap(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else{this.showTreksMap=!this.showTreksMap}}disconnectedCallback(){s();window.removeEventListener("popstate",this.handlePopStateBind)}render(){return e(t,{style:{"--color-primary-app":this.colorPrimaryApp,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--app-width":this.appWidth,"--app-height":this.appHeight}},!o.currentTreks&&!o.currentTrek&&e("div",{class:"init-loader-container"},e("span",{class:"loader"})),!this.showTrek&&!o.treks&&e("grw-treks-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals,routes:this.routes,practices:this.practices}),this.showTrek&&this.currentTrekId&&!o.currentTrek&&e("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId}),(o.currentTreks||o.currentTrek)&&e("div",{class:"app-container"},e("div",{class:this.isLargeView?"large-view-header-container":"header-container"},!this.showTrek?e("div",{class:"handle-search-filters-container"},e("div",{class:"handle-search-container"},e("grw-search",null)),e("div",{class:"handle-filters-container"},e("button",{onClick:()=>this.handleFilters(),class:"handle-filters-button"},e("span",{translate:false,class:"material-symbols material-symbols-outlined margin-right-icon"},"filter_list"),a[o.language].filter))):e("div",{class:"arrow-back-container"},e("button",{onClick:()=>this.handleBackButton(),class:"arrow-back-icon"},e("span",{translate:false,class:"material-symbols material-symbols-outlined"},"arrow_back")))),e("div",{class:`content-container ${this.showTrek?"content-trek":"content-treks"}`},e("div",{class:this.isLargeView?"large-view-app-treks-list-container":"app-treks-list-container",style:{display:this.showTrek?"none":"flex",position:this.showTrek?"absolute":"relative"}},e("grw-treks-list",{"reset-store-on-disconnected":"false","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.showTrek&&!o.currentTrek&&e("div",{class:this.isLargeView?"large-view-loader-container":"loader-container"},e("span",{class:"loader"})),o.currentTrek&&e("div",{class:this.isLargeView?"large-view-app-trek-detail-container":"app-trek-detail-container"},e("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"reset-store-on-disconnected":"false","color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView})),e("grw-map",{"reset-store-on-disconnected":"false",class:this.isLargeView?"large-view-app-map-container":"app-map-container",style:{visibility:this.showTreksMap&&!this.showTrek||this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:this.showTrekMap?"1":"0"},center:this.center,zoom:this.zoom,"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-poi-icon":this.colorPoiIcon,"is-large-view":this.isLargeView,"use-gradient":this.useGradient})),(!this.showTrek||this.showTrek&&o.currentTrek)&&e("div",{class:"map-visibility-button-container"},e("button",{onClick:()=>this.handleShowMap(),class:"map-visibility-button",style:{display:this.isLargeView?"none":"flex"}},e("span",{translate:false,class:"material-symbols material-symbols-outlined"},this.showTrek?this.showTrekMap?"summarize":"map":this.showTreksMap?"list":"map"),this.showTrek?this.showTrekMap?a[o.language].showDetails:a[o.language].showRoute:this.showTreksMap?a[o.language].showList:a[o.language].showMap))),!this.showTrek&&this.showFilters&&e("grw-filters",{handleFilters:()=>this.handleFilters()}))}get appElement(){return r(this)}static get watchers(){return{isLargeView:["watchPropHandler"]}}};c.style=l;export{c as grw_app};
|
|
2
|
+
//# sourceMappingURL=p-bdaae91a.entry.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["grwAppCss","GrwApp","this","largeViewSize","handlePopStateBind","handlePopState","bind","onTrekCardPress","event","parentTrek","state","parentTrekId","currentTrekSteps","currentTrekId","currentTrek","detail","showTrek","showTrekMap","url","URL","window","location","toString","searchParams","set","history","pushState","onParentTrekPress","delete","onWindowResize","handleView","onCenterOnMap","isLargeView","watchPropHandler","dispatchEvent","Event","componentWillLoad","trekParam","get","replaceState","isInitialHistoryWithTrek","Number","componentDidLoad","onChange","trekNetworkError","urlRedirect","onTrekDetailsClose","addEventListener","appElement","getBoundingClientRect","width","showTreksMap","handleFilters","showFilters","handleBackButton","back","handleShowMap","disconnectedCallback","reset","removeEventListener","render","h","Host","style","colorPrimaryApp","colorOnPrimary","colorSurface","colorOnSurface","colorSurfaceVariant","colorOnSurfaceVariant","colorPrimaryContainer","colorOnPrimaryContainer","colorSecondaryContainer","colorOnSecondaryContainer","colorBackground","colorSurfaceContainerHigh","colorSurfaceContainerLow","fabBackgroundColor","fabColor","appWidth","appHeight","currentTreks","class","treks","api","languages","inBbox","cities","districts","structures","themes","portals","routes","practices","onClick","translate","language","filter","display","position","visibility","zIndex","weather","center","zoom","nameLayer","urlLayer","attributionLayer","colorTrekLine","colorSensitiveArea","colorPoiIcon","useGradient","showDetails","showRoute","showList","showMap"],"sources":["./src/components/grw-app/grw-app.scss?tag=grw-app","./src/components/grw-app/grw-app.tsx"],"sourcesContent":[".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\ngrw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n font-family: 'Roboto';\n color: var(--color-on-surface);\n overflow: hidden;\n line-height: initial;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.app-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.header-container,\n.large-view-header-container {\n background-color: var(--color-background);\n box-shadow: var(--elevation-2);\n height: 64px;\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: 50%;\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n\n .handle-filters-button {\n margin-left: 16px;\n user-select: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: var(--color-background);\n color: var(--color-on-surface);\n padding: 12px 24px;\n border-radius: 20px;\n box-sizing: border-box;\n position: relative;\n gap: 8px;\n white-space: nowrap;\n line-height: 20px;\n letter-spacing: 0.10000000149011612px;\n font-size: 14px;\n font-weight: 500;\n box-shadow: var(--elevation-1);\n transition: box-shadow 0.2s ease-in-out 0s;\n span {\n font-size: 18px;\n }\n }\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n .loader {\n width: 48px;\n height: 48px;\n border: 5px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n}\n\n.content-container {\n position: relative;\n display: flex;\n height: calc(100% - 64px);\n background-color: var(--color-background);\n}\n\n.content-treks {\n height: calc(100% - 64px);\n}\n\n.content-trek {\n height: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n .map-visibility-button {\n cursor: pointer;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n text-decoration: none;\n padding: 16px;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n box-shadow: var(--elevation-1);\n border-radius: 12px;\n height: 56px;\n font-size: 16px;\n width: unset;\n &:hover {\n box-shadow: var(--elevation-4);\n }\n span {\n font-size: 24px;\n margin-right: 8px;\n color: var(--color-on-primary-container);\n }\n }\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container {\n width: 100%;\n}\n\ngrw-treks-list {\n max-height: calc(100vh - 64px);\n}\n\ngrw-trek-detail {\n max-height: calc(100vh - 64px - 48px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { onChange, reset } from 'store/store';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTreksMap = false;\n @State() showTrekMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() center: string;\n @Prop() zoom: number;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parentTrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parentTrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parentTrek');\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithTrek: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = !this.showTrek;\n }\n }\n\n componentDidLoad() {\n onChange('trekNetworkError', () => {\n if (state.trekNetworkError) {\n const urlRedirect = new URL(window.location.toString());\n urlRedirect.searchParams.delete('trek');\n urlRedirect.searchParams.delete('parentTrek');\n window.history.replaceState({}, '', urlRedirect);\n this.onTrekDetailsClose();\n }\n });\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onTrekDetailsClose() {\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = !this.showTrek;\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showTreksMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithTrek) {\n this.onTrekDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n if (trekParam && this.currentTrekId !== trekParam) {\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n this.showTrek = true;\n } else if (!trekParam) {\n this.onTrekDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else {\n this.showTreksMap = !this.showTreksMap;\n }\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n render() {\n return (\n <Host\n style={{\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n }}\n >\n {!state.currentTreks && !state.currentTrek && (\n <div class=\"init-loader-container\">\n <span class=\"loader\"></span>\n </div>\n )}\n {!this.showTrek && !state.treks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider api={this.api} languages={this.languages} trek-id={this.currentTrekId}></grw-trek-provider>\n )}\n {(state.currentTreks || state.currentTrek) && (\n <div class=\"app-container\">\n <div class={this.isLargeView ? 'large-view-header-container' : 'header-container'}>\n {!this.showTrek ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <button onClick={() => this.handleFilters()} class=\"handle-filters-button\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined margin-right-icon\">\n filter_list\n </span>\n {translate[state.language].filter}\n </button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek ? 'content-trek' : 'content-treks'}`}>\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n <grw-treks-list\n reset-store-on-disconnected=\"false\"\n is-large-view={this.isLargeView}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-treks-list>\n </div>\n {this.showTrek && !state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <span class=\"loader\"></span>\n </div>\n )}\n {state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected=\"false\"\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n ></grw-trek-detail>\n </div>\n )}\n <grw-map\n reset-store-on-disconnected=\"false\"\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility: (this.showTreksMap && !this.showTrek) || (this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: this.showTrekMap ? '1' : '0',\n }}\n center={this.center}\n zoom={this.zoom}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-poi-icon={this.colorPoiIcon}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n ></grw-map>\n </div>\n {(!this.showTrek || (this.showTrek && state.currentTrek)) && (\n <div class=\"map-visibility-button-container\">\n <button onClick={() => this.handleShowMap()} class=\"map-visibility-button\" style={{ display: this.isLargeView ? 'none' : 'flex' }}>\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n {this.showTrek ? (this.showTrekMap ? 'summarize' : 'map') : this.showTreksMap ? 'list' : 'map'}\n </span>\n {this.showTrek\n ? this.showTrekMap\n ? translate[state.language].showDetails\n : translate[state.language].showRoute\n : this.showTreksMap\n ? translate[state.language].showList\n : translate[state.language].showMap}\n </button>\n </div>\n )}\n </div>\n )}\n {!this.showTrek &&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W,MAAOb,MAAM,8CAC3BhF,KAAKc,SAAYd,KAAKe,YAAc,YAAc,MAASf,KAAKiD,aAAe,OAAS,OAE1FjD,KAAKc,SACFd,KAAKe,YACH8E,EAAUrF,EAAMsF,UAAUgB,YAC1BjB,EAAUrF,EAAMsF,UAAUiB,UAC5B/G,KAAKiD,aACL4C,EAAUrF,EAAMsF,UAAUkB,SAC1BnB,EAAUrF,EAAMsF,UAAUmB,YAMtCjH,KAAKc,UAAYd,KAAKmD,aAAeQ,EAAA,eAAaT,cAAe,IAAMlD,KAAKkD,kB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
System.register(["./p-3eaed9f9.system.js"],(function(r,e){"use strict";var o,n,t,a,i,c;return{setters:[function(e){o=e.p;n=e.w;t=e.d;a=e.N;i=e.a;c=e.b;r("setNonce",e.s)}],execute:function(){function r(r){var e,o,n;return(n=(o=(e=r.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||o===void 0?void 0:o.getAttribute("content"))!==null&&n!==void 0?n:undefined}var s=function(r){return"__sc_import_".concat(r.replace(/\s|-/g,"_"))};var l=function(){{o.$cssShim$=n.__cssshim}var r=Array.from(t.querySelectorAll("script")).find((function(r){return new RegExp("/".concat(a,"(\\.esm)?\\.js($|\\?|#)")).test(r.src)||r.getAttribute("data-stencil-namespace")===a}));var c=(r||{})["data-opts"]||{};if("onbeforeload"in r&&!history.scrollRestoration){return{then:function(){}}}{c.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,n.location.href)).href;{p(c.resourcesUrl,r)}if(!n.customElements){return e.import("./p-2a99981a.system.js").then((function(){return c}))}}return i(c)};var p=function(e,i){var c=s(a);try{n[c]=new Function("w","return import(w);//".concat(Math.random()))}catch(p){var l=new Map;n[c]=function(a){var s;var p=new URL(a,e).href;var u=l.get(p);if(!u){var d=t.createElement("script");d.type="module";d.crossOrigin=i.crossOrigin;d.src=URL.createObjectURL(new Blob(["import * as m from '".concat(p,"'; window.").concat(c,".m = m;")],{type:"application/javascript"}));var y=(s=o.$nonce$)!==null&&s!==void 0?s:r(t);if(y!=null){d.setAttribute("nonce",y)}u=new Promise((function(r){d.onload=function(){r(n[c].m);d.remove()}}));l.set(p,u);t.head.appendChild(d)}return u}}};l().then((function(r){return c([["p-a5cdfd75.system",[[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"],showTrek:[32],showTreksMap:[32],showTrekMap:[32],showFilters:[32],isLargeView:[32],currentTrekId:[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]]]]],["p-7d5414a1.system",[[1,"grw-select-language"]]],["p-953f1353.system",[[1,"grw-filter",{filterType:[1,"filter-type"],filterName:[1,"filter-name"],filterNameProperty:[1,"filter-name-property"],segment:[1]},[[8,"resetFilter","onResetFilter"]]]]],["p-d2da9a2e.system",[[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",{touristicContent:[16],displayFullscreen:[32]}],[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-265b4eea.system",[[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-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,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","oncardTrekMouseLeave"]]],[1,"grw-search"],[1,"grw-trek-provider",{languages:[1],api:[1],trekId:[1,"trek-id"]}],[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)}))}}}));
|
|
2
|
+
//# sourceMappingURL=p-ccc3be5e.system.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["queryNonceMetaTagContent","doc","_a","_b","_c","head","querySelector","getAttribute","undefined","getDynamicImportFunction","namespace","concat","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","module","import","promiseResolve","base","orgScriptElm","importFunctionName","Function","Math","random","e","moduleMap_1","Map","url","mod","get","script_1","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","showTrek","showTreksMap","showTrekMap","showFilters","isLargeView","currentTrekId","filterType","filterName","filterNameProperty","segment","informationDesk","displayShortDescription","poi","displayFullscreen","sensitiveArea","touristicContent","trek","resetStoreOnDisconnected","isStep","currentTrek","difficulty","route","practice","departureCity","labels","sources","accessibilities","accessibilityLevel","handleFilters","selectedSegment","treksToDisplay","mapIsReady","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.1 | 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":"8LAaA,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,IAAMC,EAA2B,SAACC,GAAc,qBAAAC,OAAeD,EAAUE,QAAQ,QAAS,KAA1C,EAChD,IAA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