@geotrekce/geotrek-rando-widget 0.24.2 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/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 +1 -1
- 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-common-button_23.cjs.entry.js +241 -205
- package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-details-modal_8.cjs.entry.js +1 -1
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js +1 -1
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js +1 -1
- package/dist/cjs/grw-poi_3.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js +1 -1
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js +1 -1
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.gz +0 -0
- package/dist/cjs/{i18n-ceda6815.js → i18n-d757c0bf.js} +61 -1
- package/dist/cjs/i18n-d757c0bf.js.br +0 -0
- package/dist/cjs/i18n-d757c0bf.js.gz +0 -0
- package/dist/cjs/i18n-d757c0bf.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/{treks.service-829e772f.js → treks.service-3e1c0220.js} +2 -2
- package/dist/cjs/treks.service-3e1c0220.js.br +0 -0
- package/dist/cjs/treks.service-3e1c0220.js.gz +0 -0
- package/dist/cjs/{treks.service-829e772f.js.map → treks.service-3e1c0220.js.map} +1 -1
- package/dist/collection/components/grw-map/grw-map.css +14 -0
- 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 +5 -5
- 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-offline-confirm-modal/grw-offline-confirm-modal.js +36 -7
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.br +0 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.gz +0 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.map +1 -1
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js +87 -47
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.br +0 -0
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.map +1 -1
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +179 -139
- 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 +60 -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/services/treks.service.js +1 -1
- package/dist/collection/services/treks.service.js.br +0 -0
- package/dist/collection/services/treks.service.js.gz +0 -0
- package/dist/collection/services/treks.service.js.map +1 -1
- package/dist/collection/store/grw-trek-provider.js +2 -4
- 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/esm/geotrek-rando-widget.js +1 -1
- package/dist/esm/geotrek-rando-widget.js.br +0 -0
- package/dist/esm/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm/grw-app.entry.js +1 -1
- package/dist/esm/grw-app.entry.js.br +0 -0
- package/dist/esm/grw-app.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_23.entry.js +241 -205
- package/dist/esm/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm/grw-details-modal_8.entry.js +1 -1
- package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
- package/dist/esm/grw-outdoor-courses-provider.entry.js +1 -1
- package/dist/esm/grw-outdoor-courses-provider.entry.js.br +0 -0
- package/dist/esm/grw-outdoor-courses-provider.entry.js.gz +0 -0
- package/dist/esm/grw-poi_3.entry.js +1 -1
- package/dist/esm/grw-poi_3.entry.js.br +0 -0
- package/dist/esm/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm/grw-sensitive-area-detail_2.entry.js +1 -1
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.br +0 -0
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.gz +0 -0
- package/dist/esm/grw-toggle-slot-visibility.entry.js +1 -1
- package/dist/esm/grw-toggle-slot-visibility.entry.js.br +0 -0
- package/dist/esm/grw-toggle-slot-visibility.entry.js.gz +0 -0
- package/dist/esm/{i18n-4ec6fb16.js → i18n-d4785001.js} +61 -1
- package/dist/esm/i18n-d4785001.js.br +0 -0
- package/dist/esm/i18n-d4785001.js.gz +0 -0
- package/dist/esm/i18n-d4785001.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/{treks.service-a59a05d5.js → treks.service-53203dbb.js} +2 -2
- package/dist/esm/treks.service-53203dbb.js.br +0 -0
- package/dist/esm/treks.service-53203dbb.js.gz +0 -0
- package/dist/esm/{treks.service-a59a05d5.js.map → treks.service-53203dbb.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-common-button_23.entry.js +2 -2
- package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
- package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js +1 -1
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.br +0 -0
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.gz +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js +1 -1
- package/dist/esm-es5/grw-poi_3.entry.js.br +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js +1 -1
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.br +0 -0
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.gz +0 -0
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js +1 -1
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.br +0 -0
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.gz +0 -0
- package/dist/esm-es5/i18n-d4785001.js +2 -0
- package/dist/esm-es5/i18n-d4785001.js.br +0 -0
- package/dist/esm-es5/i18n-d4785001.js.gz +0 -0
- package/dist/esm-es5/i18n-d4785001.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/{treks.service-a59a05d5.js → treks.service-53203dbb.js} +2 -2
- package/dist/esm-es5/treks.service-53203dbb.js.br +0 -0
- package/dist/esm-es5/treks.service-53203dbb.js.gz +0 -0
- package/dist/{geotrek-rando-widget/p-d64a208b.system.js.map → esm-es5/treks.service-53203dbb.js.map} +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/{p-94f1ea91.system.entry.js → p-1ecac760.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-1ecac760.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1ecac760.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1f5afac7.js +2 -0
- package/dist/geotrek-rando-widget/p-1f5afac7.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1f5afac7.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1f5afac7.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-a0027314.system.entry.js → p-24e8475f.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-24e8475f.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-24e8475f.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-20a73813.entry.js → p-2990b91c.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-2990b91c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2990b91c.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-3208ccea.system.js +2 -0
- package/dist/geotrek-rando-widget/p-3208ccea.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3208ccea.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-3208ccea.system.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-033910ba.system.entry.js → p-34a34d74.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-34a34d74.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-34a34d74.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-a9f81664.system.entry.js → p-3566b43b.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-3566b43b.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3566b43b.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-3c53fc59.system.js +1 -1
- package/dist/geotrek-rando-widget/p-3c53fc59.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3c53fc59.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-3c53fc59.system.js.map +1 -1
- package/dist/geotrek-rando-widget/{p-805e2ba0.js → p-4cf52b6c.js} +2 -2
- package/dist/geotrek-rando-widget/p-4cf52b6c.js.br +0 -0
- package/dist/geotrek-rando-widget/p-4cf52b6c.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-805e2ba0.js.map → p-4cf52b6c.js.map} +1 -1
- package/dist/geotrek-rando-widget/{p-9844030a.entry.js → p-5a073c3e.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-5a073c3e.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5a073c3e.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-d64a208b.system.js → p-7d139984.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-7d139984.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7d139984.system.js.gz +0 -0
- package/dist/{esm-es5/treks.service-a59a05d5.js.map → geotrek-rando-widget/p-7d139984.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-862c76ff.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-862c76ff.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-862c76ff.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-862c76ff.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-422bb6de.entry.js → p-87558980.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-87558980.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-87558980.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-45f46d33.entry.js → p-875e71d3.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-875e71d3.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-875e71d3.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-2a4d46f7.entry.js → p-87eb3dcc.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-87eb3dcc.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-87eb3dcc.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-90ee8d15.system.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-90ee8d15.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-90ee8d15.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-90ee8d15.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-aa1ff056.system.entry.js → p-9bcb7645.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-9bcb7645.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9bcb7645.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-75f7d534.system.entry.js → p-d47a130a.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-d47a130a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d47a130a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-beba3e06.entry.js → p-d92ca7f1.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-d92ca7f1.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d92ca7f1.entry.js.gz +0 -0
- package/dist/types/components/grw-offline-confirm-modal/grw-offline-confirm-modal.d.ts +3 -0
- package/dist/types/components/grw-outdoor-site-detail/grw-outdoor-site-detail.d.ts +2 -0
- package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +2 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/i18n/i18n.d.ts +20 -0
- package/package.json +1 -1
- package/readme.md +75 -29
- package/dist/cjs/i18n-ceda6815.js.br +0 -0
- package/dist/cjs/i18n-ceda6815.js.gz +0 -0
- package/dist/cjs/i18n-ceda6815.js.map +0 -1
- package/dist/cjs/treks.service-829e772f.js.br +0 -0
- package/dist/cjs/treks.service-829e772f.js.gz +0 -0
- package/dist/esm/i18n-4ec6fb16.js.br +0 -0
- package/dist/esm/i18n-4ec6fb16.js.gz +0 -0
- package/dist/esm/i18n-4ec6fb16.js.map +0 -1
- package/dist/esm/treks.service-a59a05d5.js.br +0 -0
- package/dist/esm/treks.service-a59a05d5.js.gz +0 -0
- package/dist/esm-es5/i18n-4ec6fb16.js +0 -2
- package/dist/esm-es5/i18n-4ec6fb16.js.br +0 -0
- package/dist/esm-es5/i18n-4ec6fb16.js.gz +0 -0
- package/dist/esm-es5/i18n-4ec6fb16.js.map +0 -1
- package/dist/esm-es5/treks.service-a59a05d5.js.br +0 -0
- package/dist/esm-es5/treks.service-a59a05d5.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-033910ba.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-033910ba.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-046d4502.system.js +0 -2
- package/dist/geotrek-rando-widget/p-046d4502.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-046d4502.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-046d4502.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-0a3fc934.js +0 -2
- package/dist/geotrek-rando-widget/p-0a3fc934.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0a3fc934.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0a3fc934.js.map +0 -1
- package/dist/geotrek-rando-widget/p-20a73813.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-20a73813.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-2a4d46f7.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2a4d46f7.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-422bb6de.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-422bb6de.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-45f46d33.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-45f46d33.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-75f7d534.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-75f7d534.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-805e2ba0.js.br +0 -0
- package/dist/geotrek-rando-widget/p-805e2ba0.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-94f1ea91.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-94f1ea91.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-9844030a.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9844030a.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a0027314.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a0027314.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a9f81664.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a9f81664.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-aa1ff056.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-aa1ff056.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-beba3e06.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-beba3e06.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d64a208b.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d64a208b.system.js.gz +0 -0
- /package/dist/geotrek-rando-widget/{p-94f1ea91.system.entry.js.map → p-1ecac760.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-a0027314.system.entry.js.map → p-24e8475f.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-20a73813.entry.js.map → p-2990b91c.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-033910ba.system.entry.js.map → p-34a34d74.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-a9f81664.system.entry.js.map → p-3566b43b.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-9844030a.entry.js.map → p-5a073c3e.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-422bb6de.entry.js.map → p-87558980.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-45f46d33.entry.js.map → p-875e71d3.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-2a4d46f7.entry.js.map → p-87eb3dcc.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-aa1ff056.system.entry.js.map → p-9bcb7645.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-75f7d534.system.entry.js.map → p-d47a130a.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-beba3e06.entry.js.map → p-d92ca7f1.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(o,r,e,i){function n(o){return o instanceof e?o:new e((function(r){r(o)}))}return new(e||(e=Promise))((function(e,a){function t(o){try{l(i.next(o))}catch(o){a(o)}}function c(o){try{l(i["throw"](o))}catch(o){a(o)}}function l(o){o.done?e(o.value):n(o.value).then(t,c)}l((i=i.apply(o,r||[])).next())}))};var __generator=this&&this.__generator||function(o,r){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,t;return t={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function c(o){return function(r){return l([o,r])}}function l(c){if(i)throw new TypeError("Generator is already executing.");while(t&&(t=0,c[0]&&(e=0)),e)try{if(i=1,n&&(a=c[0]&2?n["return"]:c[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;if(n=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;n=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){e.label=c[1];break}if(c[0]===6&&e.label<a[1]){e.label=a[1];a=c;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(c);break}if(a[2])e.ops.pop();e.trys.pop();continue}c=r.call(o,e)}catch(o){c=[6,o];n=0}finally{i=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{p as promiseResolve,d as doc,N as NAMESPACE,b as bootstrapLazy}from"./index-aa01b6a8.js";export{s as setNonce}from"./index-aa01b6a8.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var o=Array.from(doc.querySelectorAll("script")).find((function(o){return new RegExp("/".concat(NAMESPACE,"(\\.esm)?\\.js($|\\?|#)")).test(o.src)||o.getAttribute("data-stencil-namespace")===NAMESPACE}));var r=import.meta.url;var e=(o||{})["data-opts"]||{};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(o){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,globalScripts()];case 1:r.sent();return[2,bootstrapLazy(JSON.parse('[["grw-app",[[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],"labels":[1],"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"weather":[4],"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorPrimary":[1,"color-primary"],"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"],"rounded":[4],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"mainMarkerSize":[2,"main-marker-size"],"selectedMainMarkerSize":[2,"selected-main-marker-size"],"mainClusterSize":[2,"main-cluster-size"],"commonMarkerSize":[2,"common-marker-size"],"departureArrivalMarkerSize":[2,"departure-arrival-marker-size"],"pointReferenceMarkerSize":[2,"point-reference-marker-size"],"largeViewSize":[2,"large-view-size"],"elevationHeight":[2,"elevation-height"],"mobileElevationHeight":[2,"mobile-elevation-height"],"signages":[4],"showTrek":[32],"showTouristicContent":[32],"showTouristicEvent":[32],"showOutdoorSite":[32],"showOutdoorCourse":[32],"showOutdoorSiteMap":[32],"showOutdoorCourseMap":[32],"showHomeMap":[32],"showTrekMap":[32],"showTouristicContentMap":[32],"showTouristicEventMap":[32],"showFilters":[32],"isLargeView":[32],"currentTrekId":[32],"currentTouristicContentId":[32],"currentTouristicEventId":[32],"currentOutdoorSiteId":[32],"currentOutdoorCourseId":[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"outdoorSiteCardPress","onOutdoorSiteCardPress"],[8,"outdoorCourseCardPress","onOutdoorCourseCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]],{"isLargeView":["watchPropHandler"]}]]],["grw-toggle-slot-visibility",[[4,"grw-toggle-slot-visibility",{"largeViewSize":[2,"large-view-size"],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"slotEndHeight":[1,"slot-end-height"],"isLargeView":[32],"showStartSlot":[32],"showEndSlot":[32]},[[9,"resize","onWindowResize"]]]]],["grw-outdoor-courses-provider",[[1,"grw-outdoor-courses-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}]]],["grw-extended-fab",[[1,"grw-extended-fab",{"action":[16],"icon":[16],"name":[16],"display":[1],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"]}]]],["grw-fab",[[1,"grw-fab",{"action":[16],"icon":[16],"showTitle":[1,"show-title"],"hideTitle":[1,"hide-title"],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"]}]]],["grw-filter",[[1,"grw-filter",{"fontFamily":[1,"font-family"],"filterType":[1,"filter-type"],"filterName":[1,"filter-name"],"filterPlaceholder":[1,"filter-placeholder"],"filterNameProperty":[1,"filter-name-property"],"segment":[1]},[[8,"resetFilter","onResetFilter"]]]]],["grw-sensitive-area-detail_2",[[1,"grw-sensitive-area-detail",{"sensitiveArea":[16]}],[1,"grw-trek-card",{"trek":[16],"fontFamily":[1,"font-family"],"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"],"isStep":[4,"is-step"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"departureCity":[32],"isAvailableOffline":[32],"showDefaultImage":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-poi_3",[[1,"grw-poi",{"poi":[16],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayShortDescription":[32],"showPoiDescriptionButton":[32],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"]]],[1,"grw-touristic-content-card",{"fontFamily":[1,"font-family"],"touristicContent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-event-card",{"fontFamily":[1,"font-family"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"touristicEvent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-details-modal_8",[[1,"grw-outdoor-course-card",{"outdoorCourse":[16],"fontFamily":[1,"font-family"],"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"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[4,"grw-details-modal",{"fontFamily":[1,"font-family"],"colorBackground":[1,"color-background"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"rounded":[4]}],[1,"grw-information-desk",{"informationDesk":[16],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayShortDescription":[32],"showInformationDeskDescriptionButton":[32],"offline":[32],"showDefaultImage":[32]}],[1,"grw-outdoor-site-card",{"outdoorSite":[16],"fontFamily":[1,"font-family"],"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"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-content-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-content-provider",{"languages":[1],"api":[1],"touristicContentId":[2,"touristic-content-id"],"portals":[1]}],[1,"grw-touristic-event-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-event-provider",{"languages":[1],"api":[1],"touristicEventId":[2,"touristic-event-id"],"portals":[1]}]]],["grw-common-button_23",[[1,"grw-outdoor-site-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"enableOffline":[4,"enable-offline"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"rounded":[4],"offline":[32],"displayFullscreen":[32],"currentOutdoorSite":[32],"sources":[32],"showTouristicContentDetailsModal":[32],"showTouristicEventDetailsModal":[32],"modalDetailsId":[32]},[[8,"closeDetailsModal","onCloseDetailsModal"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-trek-detail",{"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"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"],"rounded":[4],"weather":[4],"isLargeView":[4,"is-large-view"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"labels":[32],"sources":[32],"accessibilities":[32],"accessibilityLevel":[32],"displayFullscreen":[32],"cities":[32],"options":[32],"offline":[32],"showTouristicContentDetailsModal":[32],"showTouristicEventDetailsModal":[32],"modalDetailsId":[32]},[[8,"closeDetailsModal","onCloseDetailsModal"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-outdoor-course-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"currentOutdoorCourse":[32],"offline":[32]}],[1,"grw-filters",{"handleFilters":[16],"fontFamily":[1,"font-family"],"selectedSegment":[32]}],[1,"grw-map",{"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"fontFamily":[1,"font-family"],"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"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"mainMarkerSize":[2,"main-marker-size"],"selectedMainMarkerSize":[2,"selected-main-marker-size"],"mainClusterSize":[2,"main-cluster-size"],"commonMarkerSize":[2,"common-marker-size"],"departureArrivalMarkerSize":[2,"departure-arrival-marker-size"],"pointReferenceMarkerSize":[2,"point-reference-marker-size"],"elevationHeight":[2,"elevation-height"],"mobileElevationHeight":[2,"mobile-elevation-height"],"largeViewSize":[2,"large-view-size"],"elevationDefaultState":[1,"elevation-default-state"],"isLargeView":[4,"is-large-view"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"mapIsReady":[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationPlacesIsInViewport","onInformationPlacesIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"sitesIsInViewport","sitesIsInViewport"],[8,"coursesIsInViewport","coursesIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"],[8,"cardTouristicEventMouseOver","onTouristicEventMouseOver"],[8,"cardTouristicEventMouseLeave","onTouristicEventMouseLeave"],[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[8,"cardOutdoorSiteMouseOver","onOutdoorSiteMouseOver"],[8,"cardOutdoorSiteMouseLeave","onOutdoorSiteMouseLeave"],[9,"resize","onWindowResize"]]],[1,"grw-outdoor-sites-list",{"fontFamily":[1,"font-family"],"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"],"outdoorSitesToDisplay":[32]}],[1,"grw-touristic-contents-list",{"fontFamily":[1,"font-family"],"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"],"touristicContentsToDisplay":[32]}],[1,"grw-touristic-events-list",{"fontFamily":[1,"font-family"],"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"],"touristicEventsToDisplay":[32]}],[1,"grw-treks-list",{"fontFamily":[1,"font-family"],"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"],"displayOnlyOfflineTreks":[4,"display-only-offline-treks"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"treksToDisplay":[32]}],[1,"grw-common-button",{"action":[16],"icon":[1],"name":[1],"fontFamily":[1,"font-family"]}],[1,"grw-loader",{"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"]}],[1,"grw-offline-confirm-modal",{"mode":[1],"showOfflineModal":[32],"showConfirmModal":[32],"showLoaderModal":[32],"showSuccessModal":[32],"showConfirmDeleteModal":[32],"showDeletingMessage":[32],"showDeleteSuccessMessage":[32]},[[8,"downloadConfirm","onDownloadConfirm"],[8,"downloadedSuccessConfirm","onDownloadedSuccessConfirm"],[8,"deleteConfirm","onDeleteConfirm"],[8,"deleteSuccessConfirm","onDeleteSuccessConfirm"]]],[1,"grw-outdoor-course-provider",{"languages":[1],"api":[1],"outdoorCourseId":[2,"outdoor-course-id"],"portals":[1]}],[1,"grw-outdoor-site-provider",{"languages":[1],"api":[1],"outdoorSiteId":[2,"outdoor-site-id"],"portals":[1]}],[1,"grw-outdoor-sites-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"offline":[4]}],[1,"grw-search",{"fontFamily":[1,"font-family"]}],[1,"grw-segmented-segment",{"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"fontFamily":[1,"font-family"]}],[1,"grw-select-language"],[1,"grw-switch",{"action":[16],"fontFamily":[1,"font-family"],"checked":[4]}],[1,"grw-touristic-contents-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-touristic-events-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-trek-provider",{"languages":[1],"api":[1],"trekId":[2,"trek-id"],"portals":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"routes":[1],"practices":[1],"labels":[1],"signages":[4]}],[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],"labels":[1],"offline":[4]}]]]]'),o)]}}))}))}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(o,r,e,i){function n(o){return o instanceof e?o:new e((function(r){r(o)}))}return new(e||(e=Promise))((function(e,a){function t(o){try{l(i.next(o))}catch(o){a(o)}}function c(o){try{l(i["throw"](o))}catch(o){a(o)}}function l(o){o.done?e(o.value):n(o.value).then(t,c)}l((i=i.apply(o,r||[])).next())}))};var __generator=this&&this.__generator||function(o,r){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,t;return t={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function c(o){return function(r){return l([o,r])}}function l(c){if(i)throw new TypeError("Generator is already executing.");while(t&&(t=0,c[0]&&(e=0)),e)try{if(i=1,n&&(a=c[0]&2?n["return"]:c[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;if(n=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;n=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){e.label=c[1];break}if(c[0]===6&&e.label<a[1]){e.label=a[1];a=c;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(c);break}if(a[2])e.ops.pop();e.trys.pop();continue}c=r.call(o,e)}catch(o){c=[6,o];n=0}finally{i=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{p as promiseResolve,d as doc,N as NAMESPACE,b as bootstrapLazy}from"./index-aa01b6a8.js";export{s as setNonce}from"./index-aa01b6a8.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchBrowser=function(){var o=Array.from(doc.querySelectorAll("script")).find((function(o){return new RegExp("/".concat(NAMESPACE,"(\\.esm)?\\.js($|\\?|#)")).test(o.src)||o.getAttribute("data-stencil-namespace")===NAMESPACE}));var r=import.meta.url;var e=(o||{})["data-opts"]||{};if(r!==""){e.resourcesUrl=new URL(".",r).href}return promiseResolve(e)};patchBrowser().then((function(o){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return[4,globalScripts()];case 1:r.sent();return[2,bootstrapLazy(JSON.parse('[["grw-app",[[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],"labels":[1],"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"weather":[4],"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorPrimary":[1,"color-primary"],"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"],"rounded":[4],"colorTrekLine":[1,"color-trek-line"],"colorSensitiveArea":[1,"color-sensitive-area"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"mainMarkerSize":[2,"main-marker-size"],"selectedMainMarkerSize":[2,"selected-main-marker-size"],"mainClusterSize":[2,"main-cluster-size"],"commonMarkerSize":[2,"common-marker-size"],"departureArrivalMarkerSize":[2,"departure-arrival-marker-size"],"pointReferenceMarkerSize":[2,"point-reference-marker-size"],"largeViewSize":[2,"large-view-size"],"elevationHeight":[2,"elevation-height"],"mobileElevationHeight":[2,"mobile-elevation-height"],"signages":[4],"showTrek":[32],"showTouristicContent":[32],"showTouristicEvent":[32],"showOutdoorSite":[32],"showOutdoorCourse":[32],"showOutdoorSiteMap":[32],"showOutdoorCourseMap":[32],"showHomeMap":[32],"showTrekMap":[32],"showTouristicContentMap":[32],"showTouristicEventMap":[32],"showFilters":[32],"isLargeView":[32],"currentTrekId":[32],"currentTouristicContentId":[32],"currentTouristicEventId":[32],"currentOutdoorSiteId":[32],"currentOutdoorCourseId":[32]},[[8,"trekCardPress","onTrekCardPress"],[8,"parentTrekPress","onParentTrekPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"outdoorSiteCardPress","onOutdoorSiteCardPress"],[8,"outdoorCourseCardPress","onOutdoorCourseCardPress"],[9,"resize","onWindowResize"],[8,"centerOnMap","onCenterOnMap"]],{"isLargeView":["watchPropHandler"]}]]],["grw-toggle-slot-visibility",[[4,"grw-toggle-slot-visibility",{"largeViewSize":[2,"large-view-size"],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"slotEndHeight":[1,"slot-end-height"],"isLargeView":[32],"showStartSlot":[32],"showEndSlot":[32]},[[9,"resize","onWindowResize"]]]]],["grw-outdoor-courses-provider",[[1,"grw-outdoor-courses-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}]]],["grw-extended-fab",[[1,"grw-extended-fab",{"action":[16],"icon":[16],"name":[16],"display":[1],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"]}]]],["grw-fab",[[1,"grw-fab",{"action":[16],"icon":[16],"showTitle":[1,"show-title"],"hideTitle":[1,"hide-title"],"fontFamily":[1,"font-family"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"]}]]],["grw-filter",[[1,"grw-filter",{"fontFamily":[1,"font-family"],"filterType":[1,"filter-type"],"filterName":[1,"filter-name"],"filterPlaceholder":[1,"filter-placeholder"],"filterNameProperty":[1,"filter-name-property"],"segment":[1]},[[8,"resetFilter","onResetFilter"]]]]],["grw-sensitive-area-detail_2",[[1,"grw-sensitive-area-detail",{"sensitiveArea":[16]}],[1,"grw-trek-card",{"trek":[16],"fontFamily":[1,"font-family"],"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"],"isStep":[4,"is-step"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"departureCity":[32],"isAvailableOffline":[32],"showDefaultImage":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-poi_3",[[1,"grw-poi",{"poi":[16],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayShortDescription":[32],"showPoiDescriptionButton":[32],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"]]],[1,"grw-touristic-content-card",{"fontFamily":[1,"font-family"],"touristicContent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-event-card",{"fontFamily":[1,"font-family"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"touristicEvent":[16],"isLargeView":[4,"is-large-view"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"displayFullscreen":[32],"offline":[32]},[[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]]]],["grw-details-modal_8",[[1,"grw-outdoor-course-card",{"outdoorCourse":[16],"fontFamily":[1,"font-family"],"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"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[4,"grw-details-modal",{"fontFamily":[1,"font-family"],"colorBackground":[1,"color-background"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"rounded":[4]}],[1,"grw-information-desk",{"informationDesk":[16],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"displayShortDescription":[32],"showInformationDeskDescriptionButton":[32],"offline":[32],"showDefaultImage":[32]}],[1,"grw-outdoor-site-card",{"outdoorSite":[16],"fontFamily":[1,"font-family"],"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"],"isInsideHorizontalList":[4,"is-inside-horizontal-list"],"offline":[32]},[[1,"mouseover","handleMouseOver"],[1,"mouseleave","handleMouseLeave"]]],[1,"grw-touristic-content-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-content-provider",{"languages":[1],"api":[1],"touristicContentId":[2,"touristic-content-id"],"portals":[1]}],[1,"grw-touristic-event-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"offline":[32]}],[1,"grw-touristic-event-provider",{"languages":[1],"api":[1],"touristicEventId":[2,"touristic-event-id"],"portals":[1]}]]],["grw-common-button_23",[[1,"grw-outdoor-site-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"enableOffline":[4,"enable-offline"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"rounded":[4],"offline":[32],"displayFullscreen":[32],"currentOutdoorSite":[32],"sources":[32],"showTouristicContentDetailsModal":[32],"showTouristicEventDetailsModal":[32],"modalDetailsId":[32]},[[8,"closeDetailsModal","onCloseDetailsModal"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-trek-detail",{"emergencyNumber":[2,"emergency-number"],"fontFamily":[1,"font-family"],"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"],"rounded":[4],"weather":[4],"isLargeView":[4,"is-large-view"],"defaultBackgroundLayerUrl":[8,"default-background-layer-url"],"defaultBackgroundLayerAttribution":[8,"default-background-layer-attribution"],"enableOffline":[4,"enable-offline"],"globalTilesMinZoomOffline":[2,"global-tiles-min-zoom-offline"],"globalTilesMaxZoomOffline":[2,"global-tiles-max-zoom-offline"],"tilesMinZoomOffline":[2,"tiles-min-zoom-offline"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"currentTrek":[32],"difficulty":[32],"route":[32],"practice":[32],"themes":[32],"labels":[32],"sources":[32],"accessibilities":[32],"accessibilityLevel":[32],"displayFullscreen":[32],"cities":[32],"options":[32],"offline":[32],"showTouristicContentDetailsModal":[32],"showTouristicEventDetailsModal":[32],"modalDetailsId":[32]},[[8,"closeDetailsModal","onCloseDetailsModal"],[8,"touristicEventCardPress","onTouristiceEventCardPress"],[8,"touristicContentCardPress","onTouristicContentCardPress"],[8,"downloadPress","onDownloadPress"],[8,"deletePress","onDeletePress"]]],[1,"grw-outdoor-course-detail",{"fontFamily":[1,"font-family"],"colorPrimaryApp":[1,"color-primary-app"],"colorOnSurface":[1,"color-on-surface"],"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"],"colorSecondaryContainer":[1,"color-secondary-container"],"colorOnSecondaryContainer":[1,"color-on-secondary-container"],"colorSurfaceContainerLow":[1,"color-surface-container-low"],"colorBackground":[1,"color-background"],"isLargeView":[4,"is-large-view"],"weather":[4],"grwApp":[4,"grw-app"],"displayFullscreen":[32],"currentOutdoorCourse":[32],"offline":[32]}],[1,"grw-filters",{"handleFilters":[16],"fontFamily":[1,"font-family"],"selectedSegment":[32]}],[1,"grw-map",{"nameLayer":[1,"name-layer"],"urlLayer":[1,"url-layer"],"attributionLayer":[1,"attribution-layer"],"fontFamily":[1,"font-family"],"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"],"colorMarkers":[8,"color-markers"],"colorClusters":[8,"color-clusters"],"colorOutdoorArea":[1,"color-outdoor-area"],"tilesMaxZoomOffline":[2,"tiles-max-zoom-offline"],"grwApp":[4,"grw-app"],"mainMarkerSize":[2,"main-marker-size"],"selectedMainMarkerSize":[2,"selected-main-marker-size"],"mainClusterSize":[2,"main-cluster-size"],"commonMarkerSize":[2,"common-marker-size"],"departureArrivalMarkerSize":[2,"departure-arrival-marker-size"],"pointReferenceMarkerSize":[2,"point-reference-marker-size"],"elevationHeight":[2,"elevation-height"],"mobileElevationHeight":[2,"mobile-elevation-height"],"largeViewSize":[2,"large-view-size"],"elevationDefaultState":[1,"elevation-default-state"],"isLargeView":[4,"is-large-view"],"fabBackgroundColor":[1,"fab-background-color"],"fabColor":[1,"fab-color"],"mapIsReady":[32]},[[8,"centerOnMap","onCenterOnMap"],[8,"stepsIsInViewport","stepsIsInViewport"],[8,"descriptionIsInViewport","descriptionIsInViewport"],[8,"parkingIsInViewport","parkingIsInViewport"],[8,"informationPlacesIsInViewport","onInformationPlacesIsInViewport"],[8,"sensitiveAreaIsInViewport","sensitiveAreaIsInViewport"],[8,"poiIsInViewport","poiIsInViewport"],[8,"touristicContentsIsInViewport","touristicContentsIsInViewport"],[8,"touristicEventsIsInViewport","touristicEventsIsInViewport"],[8,"sitesIsInViewport","sitesIsInViewport"],[8,"coursesIsInViewport","coursesIsInViewport"],[8,"cardTrekMouseOver","onCardTrekMouseOver"],[8,"cardTrekMouseLeave","onCardTrekMouseLeave"],[8,"cardTouristicContentMouseOver","onTouristicContentMouseOver"],[8,"cardTouristicContentMouseLeave","onTouristicContentMouseLeave"],[8,"cardTouristicEventMouseOver","onTouristicEventMouseOver"],[8,"cardTouristicEventMouseLeave","onTouristicEventMouseLeave"],[8,"trekDownloadedSuccessConfirm","onTrekDownloadedSuccessConfirm"],[8,"trekDeleteSuccessConfirm","onTrekDeleteSuccessConfirm"],[8,"cardOutdoorSiteMouseOver","onOutdoorSiteMouseOver"],[8,"cardOutdoorSiteMouseLeave","onOutdoorSiteMouseLeave"],[9,"resize","onWindowResize"]]],[1,"grw-outdoor-sites-list",{"fontFamily":[1,"font-family"],"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"],"outdoorSitesToDisplay":[32]}],[1,"grw-touristic-contents-list",{"fontFamily":[1,"font-family"],"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"],"touristicContentsToDisplay":[32]}],[1,"grw-touristic-events-list",{"fontFamily":[1,"font-family"],"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"],"touristicEventsToDisplay":[32]}],[1,"grw-treks-list",{"fontFamily":[1,"font-family"],"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"],"displayOnlyOfflineTreks":[4,"display-only-offline-treks"],"isLargeView":[4,"is-large-view"],"grwApp":[4,"grw-app"],"treksToDisplay":[32]}],[1,"grw-common-button",{"action":[16],"icon":[1],"name":[1],"fontFamily":[1,"font-family"]}],[1,"grw-loader",{"colorPrimaryContainer":[1,"color-primary-container"],"colorOnPrimaryContainer":[1,"color-on-primary-container"]}],[1,"grw-offline-confirm-modal",{"mode":[1],"showOfflineModal":[32],"showConfirmModal":[32],"showLoaderModal":[32],"showSuccessModal":[32],"showErrorModal":[32],"showConfirmDeleteModal":[32],"showDeletingMessage":[32],"showDeleteSuccessMessage":[32]},[[8,"downloadConfirm","onDownloadConfirm"],[8,"downloadedSuccessConfirm","onDownloadedSuccessConfirm"],[8,"downloadedErrorConfirm","downloadedErrorConfirm"],[8,"deleteConfirm","onDeleteConfirm"],[8,"deleteSuccessConfirm","onDeleteSuccessConfirm"],[8,"deleteErrorConfirm","deleteErrorConfirm"]]],[1,"grw-outdoor-course-provider",{"languages":[1],"api":[1],"outdoorCourseId":[2,"outdoor-course-id"],"portals":[1]}],[1,"grw-outdoor-site-provider",{"languages":[1],"api":[1],"outdoorSiteId":[2,"outdoor-site-id"],"portals":[1]}],[1,"grw-outdoor-sites-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1],"offline":[4]}],[1,"grw-search",{"fontFamily":[1,"font-family"]}],[1,"grw-segmented-segment",{"treks":[4],"touristicContents":[4,"touristic-contents"],"touristicEvents":[4,"touristic-events"],"outdoor":[4],"fontFamily":[1,"font-family"]}],[1,"grw-select-language"],[1,"grw-switch",{"action":[16],"fontFamily":[1,"font-family"],"checked":[4]}],[1,"grw-touristic-contents-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-touristic-events-provider",{"languages":[1],"api":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"portals":[1]}],[1,"grw-trek-provider",{"languages":[1],"api":[1],"trekId":[2,"trek-id"],"portals":[1],"inBbox":[1,"in-bbox"],"cities":[1],"districts":[1],"structures":[1],"themes":[1],"routes":[1],"practices":[1],"labels":[1],"signages":[4]}],[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],"labels":[1],"offline":[4]}]]]]'),o)]}}))}))}));
|
|
2
2
|
//# sourceMappingURL=geotrek-rando-widget.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","scriptElm","Array","from","doc","querySelectorAll","find","s","RegExp","concat","NAMESPACE","test","src","getAttribute","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","__awaiter","globalScripts","_a","sent","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\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 if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\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(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"upDAKA,IAAMA,aAAe,WASjB,IAAMC,EACAC,MAAMC,KAAKC,IAAIC,iBAAiB,WAAWC,MAAK,SAACC,GAAM,WAAIC,OAAO,IAAAC,OAAKC,UAAS,4BAA2BC,KAAKJ,EAAEK,MAChHL,EAAEM,aAAa,4BAA8BH,SADQ,IAG7D,IAAMI,cAAyBC,IAC/B,IAAMC,GAA+Bf,GAAa,IAAI,cAAgB,GACtE,GAAIa,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,eAAeJ,EAC1B,ECpBAhB,eAAeqB,MAAK,SAAOC,GAAO,OAAAC,eAAA,4B,4DAChC,SAAMC,iB,OAANC,EAAAC,OACA,SAAOC,cAAcC,KAAAC,MAAA,
|
|
1
|
+
{"version":3,"names":["patchBrowser","scriptElm","Array","from","doc","querySelectorAll","find","s","RegExp","concat","NAMESPACE","test","src","getAttribute","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","__awaiter","globalScripts","_a","sent","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\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 if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\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(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"upDAKA,IAAMA,aAAe,WASjB,IAAMC,EACAC,MAAMC,KAAKC,IAAIC,iBAAiB,WAAWC,MAAK,SAACC,GAAM,WAAIC,OAAO,IAAAC,OAAKC,UAAS,4BAA2BC,KAAKJ,EAAEK,MAChHL,EAAEM,aAAa,4BAA8BH,SADQ,IAG7D,IAAMI,cAAyBC,IAC/B,IAAMC,GAA+Bf,GAAa,IAAI,cAAgB,GACtE,GAAIa,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,eAAeJ,EAC1B,ECpBAhB,eAAeqB,MAAK,SAAOC,GAAO,OAAAC,eAAA,4B,4DAChC,SAAMC,iB,OAANC,EAAAC,OACA,SAAOC,cAAcC,KAAAC,MAAA,ilmBAAuCP,I"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as registerInstance,h,F as Fragment,H as Host,g as getElement}from"./index-aa01b6a8.js";import{C as Capacitor,r as revokeObjectURL,h as handleTreksFiltersAndSearch,a as handleOutdoorSitesFiltersAndSearch,i as imagesRegExp}from"./utils-ce860bbd.js";import{t as translate}from"./i18n-4ec6fb16.js";import{s as state,r as reset}from"./store-0831ce30.js";var ArrowBackIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>';var grwAppCss="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:calc(var(--header-height) + var(--header-with-offline) + var(--header-with-languages))}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-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}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;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)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-languages) - var(--header-with-offline))}.grw-content-trek{height:calc(100% - var(--header-height) - var(--header-with-languages))}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-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;pointer-events:none}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100% - 48px)}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail{position:relative;max-height:100%}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";var GrwAppStyle0=grwAppCss;var GrwApp=function(){function t(t){registerInstance(this,t);this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showOutdoorSite=false;this.showOutdoorCourse=false;this.showOutdoorSiteMap=false;this.showOutdoorCourseMap=false;this.showHomeMap=false;this.showTrekMap=false;this.showTouristicContentMap=false;this.showTouristicEventMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.currentTouristicContentId=undefined;this.currentTouristicEventId=undefined;this.currentOutdoorSiteId=undefined;this.currentOutdoorCourseId=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.labels=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.emergencyNumber=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6750a4";this.colorPrimary="#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.rounded=true;this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorMarkers=null;this.colorClusters=null;this.colorOutdoorArea="#ffb700";this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.outdoor=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.tilesMinZoomOffline=12;this.tilesMaxZoomOffline=16;this.mainMarkerSize=32;this.selectedMainMarkerSize=48;this.mainClusterSize=48;this.commonMarkerSize=48;this.departureArrivalMarkerSize=14;this.pointReferenceMarkerSize=24;this.largeViewSize=1024;this.elevationHeight=280;this.mobileElevationHeight=280;this.signages=false}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;state.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;state.currentTouristicEvent=null;var i=state.parentTrekId?state.parentTrekId:state.currentTrekSteps?this.currentTrekId:null;state.currentTrek=null;this.currentTrekId=t.detail;state.mode="treks";this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());if(state.currentTrekSteps){e.searchParams.set("parenttrek",i.toString())}window.history.pushState({},"",e)};t.prototype.onParentTrekPress=function(t){state.currentTrek=null;this.currentTrekId=t.detail;state.mode="treks";this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());i.searchParams.delete("parenttrek");window.history.pushState({},"",i)};t.prototype.onTouristicContentCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;state.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",i)};t.prototype.onTouristiceEventCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;state.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",i)};t.prototype.onOutdoorSiteCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;state.mode="outdoor";state.currentOutdoorSite=null;state.currentRelatedOutdoorSites=null;state.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=t.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;var i=new URL(window.location.toString());i.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",i)};t.prototype.onOutdoorCourseCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;state.mode="outdoor";state.currentOutdoorSite=null;state.currentOutdoorCourse=null;state.currentRelatedOutdoorSites=null;state.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=t.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;var i=new URL(window.location.toString());i.searchParams.delete("outdoorsite");i.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",i)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){state.mode="treks"}else if(this.touristicContents){state.mode="touristicContents"}else if(this.touristicEvents){state.mode="touristicEvents"}else if(this.outdoor){state.mode="outdoor"}var t=new URL(window.location.toString());var i=t.searchParams.get("trek");var e=t.searchParams.get("parenttrek");var s=t.searchParams.get("touristiccontent");var r=t.searchParams.get("touristicevent");var a=t.searchParams.get("outdoorsite");var o=t.searchParams.get("outdoorcourse");if(i){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);state.parentTrekId=e?Number(e):null;this.currentTrekId=Number(i);state.mode="treks";this.showTrek=true}else if(s){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(s);state.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(r);state.mode="touristicEvents";this.showTouristicEvent=true}else if(a){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorSiteId=Number(a);state.mode="outdoor";this.showOutdoorSite=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorCourseId=Number(o);state.mode="outdoor";this.showOutdoorCourse=true}};t.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){if(state.mode==="treks"){this.showTrek=false;this.showTrekMap=false;state.currentTrek=null;state.currentTrekSteps=null;state.parentTrekId=null;this.currentTrekId=null}else if(state.mode==="touristicContents"){state.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(state.mode==="touristicEvents"){state.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(state.mode==="outdoor"){state.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;state.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=false}};t.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};t.prototype.handleFilters=function(){this.showFilters=!this.showFilters};t.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){if(state.currentTrek&&state.currentTrek.offline&&!Capacitor.isNativePlatform()){revokeObjectURL(state.currentPois,imagesRegExp,["url"]);revokeObjectURL(state.trekTouristicEvents,imagesRegExp,["url"]);revokeObjectURL(state.trekTouristicContents,imagesRegExp,["url"]);revokeObjectURL(state.currentInformationDesks,imagesRegExp);revokeObjectURL(state.currentTrek,imagesRegExp,["url"])}this.onDetailsClose();var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");t.searchParams.delete("outdoorsite");t.searchParams.delete("outdoorcourse");window.history.pushState({},"",t)}else{window.history.back()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var i=Number(t.searchParams.get("trek"));var e=t.searchParams.get("touristiccontent");var s=t.searchParams.get("touristicevent");var r=Number(t.searchParams.get("outdoorsite"));if(i&&this.currentTrekId!==i){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;state.currentTouristicContent=null;state.currentTouristicEvent=null;state.currentTrek=null;this.currentTrekId=i;state.mode="treks";this.showTrek=true}else if(r&&this.currentOutdoorSiteId!==r){this.currentOutdoorSiteId=r;state.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!i&&!e&&!s&&!r){this.onDetailsClose()}};t.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}else{this.showHomeMap=!this.showHomeMap}};t.prototype.getMapVisibilityIconButton=function(){var t;if(this.showTrek){t=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){t=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){t=this.showTouristicEventMap?"summarize":"map"}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(state.language){if(this.showTrek){t=this.showTrekMap?translate[state.language].showDetails:translate[state.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?translate[state.language].showDetails:translate[state.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?translate[state.language].showDetails:translate[state.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap?translate[state.language].showDetails:translate[state.language].showMap}else{t=this.showHomeMap?translate[state.language].showList:translate[state.language].showMap}}return t};t.prototype.reload=function(){window.location.reload()};t.prototype.disconnectedCallback=function(){reset();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.handleOffline=function(){if(state.mode==="treks"){state.offlineTreks=!state.offlineTreks;state.currentTreks=handleTreksFiltersAndSearch()}else{state.offlineOutdoorSites=!state.offlineOutdoorSites;state.currentOutdoorSites=handleOutdoorSitesFiltersAndSearch()}};t.prototype.getFiltersName=function(){var t=state.selectedActivitiesFilters+state.selectedLocationFilters+state.selectedThemesFilters;return"".concat(translate[state.language].filter).concat(t>0?" ("+t+")":"")};t.prototype.render=function(){var t=this;return h(Host,{key:"d498e6d9b5245d95f6b8bec24c2b01bca3921d4c",style:{"--font-family":this.fontFamily,"--color-primary-app":this.colorPrimaryApp,"--color-primary":this.colorPrimary,"--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,"--color-sensitive-area":this.colorSensitiveArea,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":this.showTrek&&this.showTouristicContent&&this.showTouristicEvent?"116px":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1?"148px":"64px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--header-with-offline":this.enableOffline?"48px":"0px","--border-radius":this.rounded?"":"0px"}},!state.currentTreks&&!state.currentTrek&&!state.currentTouristicContent&&!state.currentTouristicEvent&&!state.currentTouristicContents&&!state.currentTouristicEvents&&!state.currentOutdoorSites&&!state.currentOutdoorSite&&!state.currentOutdoorCourses&&!state.currentOutdoorCourse&&h("div",{class:"grw-init-loader-container"},h("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&state.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!state.currentTreks&&h("grw-treks-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTrek&&this.currentTrekId&&!state.currentTrek&&h("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels,signages:this.signages}),this.showTouristicContent&&this.currentTouristicContentId&&h("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&h("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!state.currentOutdoorSite&&h("grw-outdoor-site-provider",{api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!state.currentOutdoorCourse&&h("grw-outdoor-course-provider",{api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&state.mode==="touristicContents"&&!state.currentTouristicContents&&!this.showTouristicContent&&h("grw-touristic-contents-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}),this.touristicEvents&&state.mode==="touristicEvents"&&!state.currentTouristicEvents&&!this.showTouristicEvent&&h("grw-touristic-events-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}),this.outdoor&&state.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!state.outdoorSites&&h("grw-outdoor-sites-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes}),(state.currentTreks||state.currentTrek||state.touristicContents||state.touristicEvents||state.currentTouristicContent||state.currentTouristicEvent||state.currentOutdoorSites||state.currentOutdoorSite||state.currentOutdoorCourses||state.currentOutdoorCourse||state.networkError)&&h("div",{class:"grw-app-container"},state.languages&&state.languages.length>1&&h("div",{class:"grw-languages-container"},h("grw-select-language",null)),h("div",{class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?" grw-header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse&&h("grw-segmented-segment",{"font-family":this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents,outdoor:this.outdoor}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse?h(Fragment,null,h("div",{class:"grw-handle-search-filters-container"},h("div",{class:"grw-handle-search-container"},h("grw-search",{"font-family":this.fontFamily})),h("div",{class:"grw-handle-filters-container"},h("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleFilters()},icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&(state.mode==="treks"||state.mode==="outdoor")&&h("div",{part:"grw-offline-container",class:"grw-offline-container"},h("div",{class:"grw-offline-label"},state.mode==="treks"?translate[state.language].onlyOfflineTreks:translate[state.language].onlyOfflineOutdoor),h("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleOffline()},checked:state.mode==="treks"?state.offlineTreks:state.offlineOutdoorSites}))):h("div",{class:"grw-arrow-back-container"},h("button",{onClick:function(){return t.handleBackButton()},class:"grw-arrow-back-icon"},h("span",{part:"icon",class:"icon",innerHTML:ArrowBackIcon})))),h("div",{class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks")},state.networkError&&h("div",{class:"grw-error-container"},"Une erreur est survenue.",h("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return t.reload()}})),(state.mode==="treks"&&this.treks&&state.treks||state.mode==="touristicContents"&&this.touristicContents&&state.touristicContents||state.mode==="touristicEvents"&&this.touristicEvents&&state.touristicEvents||state.mode==="outdoor"&&this.outdoor&&state.outdoorSites)&&h("div",{class:this.isLargeView?"grw-large-view-app-list-container":"grw-app-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"none":"flex",position:this.showTrek?"absolute":"relative"}},state.mode==="treks"&&this.treks&&state.treks&&h("grw-treks-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"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,"grw-app":true}),state.mode==="touristicContents"&&this.touristicContents&&state.touristicContents&&h("grw-touristic-contents-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"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}),state.mode==="touristicEvents"&&this.touristicEvents&&state.touristicEvents&&h("grw-touristic-events-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"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}),state.mode==="outdoor"&&this.outdoor&&state.outdoorSites&&h("grw-outdoor-sites-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"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&&!state.currentTrek||this.showTouristicContent&&!state.currentTouristicContent||this.showTouristicEvent&&!state.currentTouristicEvent||this.showOutdoorSite&&!state.currentOutdoorSite||this.showOutdoorCourse&&!state.currentOutdoorCourse||!state.treks&&state.mode==="treks"&&!this.showTrek||!state.touristicContents&&state.mode==="touristicContents"&&!this.showTouristicContent||!state.touristicEvents&&state.mode==="touristicEvents"&&!this.showTouristicEvent||!state.outdoorSites&&state.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&h("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},h("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&state.currentTrek&&h("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},h("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"font-family":this.fontFamily,"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,"emergency-number":this.emergencyNumber,"default-background-layer-url":this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"tiles-min-zoom-offline":this.tilesMinZoomOffline,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true,rounded:this.rounded}),h("grw-offline-confirm-modal",{mode:"treks"})),this.showTouristicContent&&state.currentTouristicContent&&h("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},h("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap&&this.showTouristicContent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"font-family":this.fontFamily,"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,"is-large-view":this.isLargeView,"grw-app":true})),this.showTouristicEvent&&state.currentTouristicEvent&&h("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},h("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"font-family":this.fontFamily,"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,"is-large-view":this.isLargeView,"grw-app":true})),this.showOutdoorSite&&state.currentOutdoorSite&&h("div",{class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},h("grw-outdoor-site-detail",{style:{visibility:!this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorSiteMap?"1":"0"},"font-family":this.fontFamily,"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,"is-large-view":this.isLargeView,weather:this.weather,"default-background-layer-url":this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"grw-app":true}),h("grw-offline-confirm-modal",{mode:"treks"})),this.showOutdoorCourse&&state.currentOutdoorCourse&&h("div",{class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},h("grw-outdoor-course-detail",{style:{visibility:!this.showOutdoorCourseMap&&this.showOutdoorCourse||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorCourseMap?"1":"0"},"font-family":this.fontFamily,"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,"is-large-view":this.isLargeView,"grw-app":true})),!state.networkError&&h("grw-map",{exportparts:"map,elevation,map-bottom-space,map-loader-container,loader",class:this.isLargeView?"grw-large-view-app-map-container":"grw-app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap||this.showOutdoorSiteMap?"1":"0"},"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"font-family":this.fontFamily,"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-markers":this.colorMarkers?this.colorMarkers:this.colorPrimaryApp,"color-clusters":this.colorClusters?this.colorClusters:this.colorPrimaryApp,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true,"main-marker-size":this.mainMarkerSize,"selected-main-marker-size":this.selectedMainMarkerSize,"main-cluster-size":this.mainClusterSize,"common-marker-size":this.commonMarkerSize,"departure-arrival-marker-size":this.departureArrivalMarkerSize,"point-reference-marker-size":this.pointReferenceMarkerSize,"elevation-height":this.elevationHeight,"mobile-elevation-height":this.mobileElevationHeight,"large-view-size":this.largeViewSize,"is-large-view":this.isLargeView})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&state.currentTrek||this.showTouristicContent&&state.currentTouristicContent||this.showTouristicEvent&&state.currentTouristicEvent||this.showOutdoorSite&&state.currentOutdoorSite)&&h("div",{class:"grw-map-visibility-button-container"},h("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:function(){return t.handleShowMap()},icon:function(){return t.getMapVisibilityIconButton()},name:function(){return t.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&h("grw-filters",{"font-family":this.fontFamily,handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}();GrwApp.style=GrwAppStyle0;export{GrwApp as grw_app};
|
|
1
|
+
import{r as registerInstance,h,F as Fragment,H as Host,g as getElement}from"./index-aa01b6a8.js";import{C as Capacitor,r as revokeObjectURL,h as handleTreksFiltersAndSearch,a as handleOutdoorSitesFiltersAndSearch,i as imagesRegExp}from"./utils-ce860bbd.js";import{t as translate}from"./i18n-d4785001.js";import{s as state,r as reset}from"./store-0831ce30.js";var ArrowBackIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>';var grwAppCss="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:calc(var(--header-height) + var(--header-with-offline) + var(--header-with-languages))}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-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}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;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)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-languages) - var(--header-with-offline))}.grw-content-trek{height:calc(100% - var(--header-height) - var(--header-with-languages))}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-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;pointer-events:none}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100% - 48px)}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail{position:relative;max-height:100%}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";var GrwAppStyle0=grwAppCss;var GrwApp=function(){function t(t){registerInstance(this,t);this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showOutdoorSite=false;this.showOutdoorCourse=false;this.showOutdoorSiteMap=false;this.showOutdoorCourseMap=false;this.showHomeMap=false;this.showTrekMap=false;this.showTouristicContentMap=false;this.showTouristicEventMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.currentTouristicContentId=undefined;this.currentTouristicEventId=undefined;this.currentOutdoorSiteId=undefined;this.currentOutdoorCourseId=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.labels=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.emergencyNumber=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6750a4";this.colorPrimary="#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.rounded=true;this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorMarkers=null;this.colorClusters=null;this.colorOutdoorArea="#ffb700";this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.outdoor=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.tilesMinZoomOffline=12;this.tilesMaxZoomOffline=16;this.mainMarkerSize=32;this.selectedMainMarkerSize=48;this.mainClusterSize=48;this.commonMarkerSize=48;this.departureArrivalMarkerSize=14;this.pointReferenceMarkerSize=24;this.largeViewSize=1024;this.elevationHeight=280;this.mobileElevationHeight=280;this.signages=false}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;state.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;state.currentTouristicEvent=null;var i=state.parentTrekId?state.parentTrekId:state.currentTrekSteps?this.currentTrekId:null;state.currentTrek=null;this.currentTrekId=t.detail;state.mode="treks";this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());if(state.currentTrekSteps){e.searchParams.set("parenttrek",i.toString())}window.history.pushState({},"",e)};t.prototype.onParentTrekPress=function(t){state.currentTrek=null;this.currentTrekId=t.detail;state.mode="treks";this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());i.searchParams.delete("parenttrek");window.history.pushState({},"",i)};t.prototype.onTouristicContentCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;state.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",i)};t.prototype.onTouristiceEventCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;state.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",i)};t.prototype.onOutdoorSiteCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;state.mode="outdoor";state.currentOutdoorSite=null;state.currentRelatedOutdoorSites=null;state.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=t.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;var i=new URL(window.location.toString());i.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",i)};t.prototype.onOutdoorCourseCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;state.mode="outdoor";state.currentOutdoorSite=null;state.currentOutdoorCourse=null;state.currentRelatedOutdoorSites=null;state.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=t.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;var i=new URL(window.location.toString());i.searchParams.delete("outdoorsite");i.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",i)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){state.mode="treks"}else if(this.touristicContents){state.mode="touristicContents"}else if(this.touristicEvents){state.mode="touristicEvents"}else if(this.outdoor){state.mode="outdoor"}var t=new URL(window.location.toString());var i=t.searchParams.get("trek");var e=t.searchParams.get("parenttrek");var s=t.searchParams.get("touristiccontent");var r=t.searchParams.get("touristicevent");var a=t.searchParams.get("outdoorsite");var o=t.searchParams.get("outdoorcourse");if(i){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);state.parentTrekId=e?Number(e):null;this.currentTrekId=Number(i);state.mode="treks";this.showTrek=true}else if(s){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(s);state.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(r);state.mode="touristicEvents";this.showTouristicEvent=true}else if(a){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorSiteId=Number(a);state.mode="outdoor";this.showOutdoorSite=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorCourseId=Number(o);state.mode="outdoor";this.showOutdoorCourse=true}};t.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){if(state.mode==="treks"){this.showTrek=false;this.showTrekMap=false;state.currentTrek=null;state.currentTrekSteps=null;state.parentTrekId=null;this.currentTrekId=null}else if(state.mode==="touristicContents"){state.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(state.mode==="touristicEvents"){state.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(state.mode==="outdoor"){state.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;state.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=false}};t.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};t.prototype.handleFilters=function(){this.showFilters=!this.showFilters};t.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){if(state.currentTrek&&state.currentTrek.offline&&!Capacitor.isNativePlatform()){revokeObjectURL(state.currentPois,imagesRegExp,["url"]);revokeObjectURL(state.trekTouristicEvents,imagesRegExp,["url"]);revokeObjectURL(state.trekTouristicContents,imagesRegExp,["url"]);revokeObjectURL(state.currentInformationDesks,imagesRegExp);revokeObjectURL(state.currentTrek,imagesRegExp,["url"])}this.onDetailsClose();var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");t.searchParams.delete("outdoorsite");t.searchParams.delete("outdoorcourse");window.history.pushState({},"",t)}else{window.history.back()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var i=Number(t.searchParams.get("trek"));var e=t.searchParams.get("touristiccontent");var s=t.searchParams.get("touristicevent");var r=Number(t.searchParams.get("outdoorsite"));if(i&&this.currentTrekId!==i){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;state.currentTouristicContent=null;state.currentTouristicEvent=null;state.currentTrek=null;this.currentTrekId=i;state.mode="treks";this.showTrek=true}else if(r&&this.currentOutdoorSiteId!==r){this.currentOutdoorSiteId=r;state.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!i&&!e&&!s&&!r){this.onDetailsClose()}};t.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}else{this.showHomeMap=!this.showHomeMap}};t.prototype.getMapVisibilityIconButton=function(){var t;if(this.showTrek){t=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){t=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){t=this.showTouristicEventMap?"summarize":"map"}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(state.language){if(this.showTrek){t=this.showTrekMap?translate[state.language].showDetails:translate[state.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?translate[state.language].showDetails:translate[state.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?translate[state.language].showDetails:translate[state.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap?translate[state.language].showDetails:translate[state.language].showMap}else{t=this.showHomeMap?translate[state.language].showList:translate[state.language].showMap}}return t};t.prototype.reload=function(){window.location.reload()};t.prototype.disconnectedCallback=function(){reset();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.handleOffline=function(){if(state.mode==="treks"){state.offlineTreks=!state.offlineTreks;state.currentTreks=handleTreksFiltersAndSearch()}else{state.offlineOutdoorSites=!state.offlineOutdoorSites;state.currentOutdoorSites=handleOutdoorSitesFiltersAndSearch()}};t.prototype.getFiltersName=function(){var t=state.selectedActivitiesFilters+state.selectedLocationFilters+state.selectedThemesFilters;return"".concat(translate[state.language].filter).concat(t>0?" ("+t+")":"")};t.prototype.render=function(){var t=this;return h(Host,{key:"d498e6d9b5245d95f6b8bec24c2b01bca3921d4c",style:{"--font-family":this.fontFamily,"--color-primary-app":this.colorPrimaryApp,"--color-primary":this.colorPrimary,"--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,"--color-sensitive-area":this.colorSensitiveArea,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":this.showTrek&&this.showTouristicContent&&this.showTouristicEvent?"116px":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1?"148px":"64px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--header-with-offline":this.enableOffline?"48px":"0px","--border-radius":this.rounded?"":"0px"}},!state.currentTreks&&!state.currentTrek&&!state.currentTouristicContent&&!state.currentTouristicEvent&&!state.currentTouristicContents&&!state.currentTouristicEvents&&!state.currentOutdoorSites&&!state.currentOutdoorSite&&!state.currentOutdoorCourses&&!state.currentOutdoorCourse&&h("div",{class:"grw-init-loader-container"},h("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&state.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!state.currentTreks&&h("grw-treks-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTrek&&this.currentTrekId&&!state.currentTrek&&h("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels,signages:this.signages}),this.showTouristicContent&&this.currentTouristicContentId&&h("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&h("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!state.currentOutdoorSite&&h("grw-outdoor-site-provider",{api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!state.currentOutdoorCourse&&h("grw-outdoor-course-provider",{api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&state.mode==="touristicContents"&&!state.currentTouristicContents&&!this.showTouristicContent&&h("grw-touristic-contents-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}),this.touristicEvents&&state.mode==="touristicEvents"&&!state.currentTouristicEvents&&!this.showTouristicEvent&&h("grw-touristic-events-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}),this.outdoor&&state.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!state.outdoorSites&&h("grw-outdoor-sites-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes}),(state.currentTreks||state.currentTrek||state.touristicContents||state.touristicEvents||state.currentTouristicContent||state.currentTouristicEvent||state.currentOutdoorSites||state.currentOutdoorSite||state.currentOutdoorCourses||state.currentOutdoorCourse||state.networkError)&&h("div",{class:"grw-app-container"},state.languages&&state.languages.length>1&&h("div",{class:"grw-languages-container"},h("grw-select-language",null)),h("div",{class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?" grw-header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse&&h("grw-segmented-segment",{"font-family":this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents,outdoor:this.outdoor}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse?h(Fragment,null,h("div",{class:"grw-handle-search-filters-container"},h("div",{class:"grw-handle-search-container"},h("grw-search",{"font-family":this.fontFamily})),h("div",{class:"grw-handle-filters-container"},h("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleFilters()},icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&(state.mode==="treks"||state.mode==="outdoor")&&h("div",{part:"grw-offline-container",class:"grw-offline-container"},h("div",{class:"grw-offline-label"},state.mode==="treks"?translate[state.language].onlyOfflineTreks:translate[state.language].onlyOfflineOutdoor),h("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleOffline()},checked:state.mode==="treks"?state.offlineTreks:state.offlineOutdoorSites}))):h("div",{class:"grw-arrow-back-container"},h("button",{onClick:function(){return t.handleBackButton()},class:"grw-arrow-back-icon"},h("span",{part:"icon",class:"icon",innerHTML:ArrowBackIcon})))),h("div",{class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks")},state.networkError&&h("div",{class:"grw-error-container"},"Une erreur est survenue.",h("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return t.reload()}})),(state.mode==="treks"&&this.treks&&state.treks||state.mode==="touristicContents"&&this.touristicContents&&state.touristicContents||state.mode==="touristicEvents"&&this.touristicEvents&&state.touristicEvents||state.mode==="outdoor"&&this.outdoor&&state.outdoorSites)&&h("div",{class:this.isLargeView?"grw-large-view-app-list-container":"grw-app-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"none":"flex",position:this.showTrek?"absolute":"relative"}},state.mode==="treks"&&this.treks&&state.treks&&h("grw-treks-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"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,"grw-app":true}),state.mode==="touristicContents"&&this.touristicContents&&state.touristicContents&&h("grw-touristic-contents-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"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}),state.mode==="touristicEvents"&&this.touristicEvents&&state.touristicEvents&&h("grw-touristic-events-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"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}),state.mode==="outdoor"&&this.outdoor&&state.outdoorSites&&h("grw-outdoor-sites-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"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&&!state.currentTrek||this.showTouristicContent&&!state.currentTouristicContent||this.showTouristicEvent&&!state.currentTouristicEvent||this.showOutdoorSite&&!state.currentOutdoorSite||this.showOutdoorCourse&&!state.currentOutdoorCourse||!state.treks&&state.mode==="treks"&&!this.showTrek||!state.touristicContents&&state.mode==="touristicContents"&&!this.showTouristicContent||!state.touristicEvents&&state.mode==="touristicEvents"&&!this.showTouristicEvent||!state.outdoorSites&&state.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&h("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},h("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&state.currentTrek&&h("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},h("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"font-family":this.fontFamily,"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,"emergency-number":this.emergencyNumber,"default-background-layer-url":this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"tiles-min-zoom-offline":this.tilesMinZoomOffline,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true,rounded:this.rounded}),h("grw-offline-confirm-modal",{mode:"treks"})),this.showTouristicContent&&state.currentTouristicContent&&h("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},h("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap&&this.showTouristicContent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"font-family":this.fontFamily,"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,"is-large-view":this.isLargeView,"grw-app":true})),this.showTouristicEvent&&state.currentTouristicEvent&&h("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},h("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"font-family":this.fontFamily,"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,"is-large-view":this.isLargeView,"grw-app":true})),this.showOutdoorSite&&state.currentOutdoorSite&&h("div",{class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},h("grw-outdoor-site-detail",{style:{visibility:!this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorSiteMap?"1":"0"},"font-family":this.fontFamily,"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,"is-large-view":this.isLargeView,weather:this.weather,"default-background-layer-url":this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"grw-app":true}),h("grw-offline-confirm-modal",{mode:"treks"})),this.showOutdoorCourse&&state.currentOutdoorCourse&&h("div",{class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},h("grw-outdoor-course-detail",{style:{visibility:!this.showOutdoorCourseMap&&this.showOutdoorCourse||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorCourseMap?"1":"0"},"font-family":this.fontFamily,"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,"is-large-view":this.isLargeView,"grw-app":true})),!state.networkError&&h("grw-map",{exportparts:"map,elevation,map-bottom-space,map-loader-container,loader",class:this.isLargeView?"grw-large-view-app-map-container":"grw-app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap||this.showOutdoorSiteMap?"1":"0"},"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"font-family":this.fontFamily,"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-markers":this.colorMarkers?this.colorMarkers:this.colorPrimaryApp,"color-clusters":this.colorClusters?this.colorClusters:this.colorPrimaryApp,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true,"main-marker-size":this.mainMarkerSize,"selected-main-marker-size":this.selectedMainMarkerSize,"main-cluster-size":this.mainClusterSize,"common-marker-size":this.commonMarkerSize,"departure-arrival-marker-size":this.departureArrivalMarkerSize,"point-reference-marker-size":this.pointReferenceMarkerSize,"elevation-height":this.elevationHeight,"mobile-elevation-height":this.mobileElevationHeight,"large-view-size":this.largeViewSize,"is-large-view":this.isLargeView})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&state.currentTrek||this.showTouristicContent&&state.currentTouristicContent||this.showTouristicEvent&&state.currentTouristicEvent||this.showOutdoorSite&&state.currentOutdoorSite)&&h("div",{class:"grw-map-visibility-button-container"},h("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:function(){return t.handleShowMap()},icon:function(){return t.getMapVisibilityIconButton()},name:function(){return t.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&h("grw-filters",{"font-family":this.fontFamily,handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}();GrwApp.style=GrwAppStyle0;export{GrwApp as grw_app};
|
|
2
2
|
//# sourceMappingURL=grw-app.entry.js.map
|
|
Binary file
|
|
Binary file
|