@geotrekce/geotrek-rando-widget 0.24.0 → 0.24.2
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/{call-33dc7f76.js → call-95649b96.js} +1 -10
- package/dist/cjs/call-95649b96.js.br +0 -0
- package/dist/cjs/call-95649b96.js.gz +0 -0
- package/dist/cjs/call-95649b96.js.map +1 -0
- 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 +7 -8
- package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-common-button_23.cjs.entry.js +91 -10
- 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 +105 -190
- 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-details-modal_8.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js +208 -0
- 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-sensitive-area-detail_2.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js +3 -2
- 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/grw-toggle-slot-visibility.cjs.entry.js.map +1 -1
- 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/moving-6504a9b0.js +13 -0
- package/dist/cjs/moving-6504a9b0.js.br +0 -0
- package/dist/cjs/moving-6504a9b0.js.gz +0 -0
- package/dist/cjs/moving-6504a9b0.js.map +1 -0
- package/dist/collection/components/grw-app/grw-app.css +2 -2
- package/dist/collection/components/grw-app/grw-app.css.br +0 -0
- package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js +6 -7
- package/dist/collection/components/grw-app/grw-app.js.br +0 -0
- package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js.map +1 -1
- package/dist/collection/components/grw-map/grw-map.css +39 -1
- 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 +8 -3
- 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-outdoor-site-detail/grw-outdoor-site-detail.js +117 -4
- 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-toggle-slot-visibility/grw-toggle-slot-visibility.js +3 -2
- package/dist/collection/components/grw-toggle-slot-visibility/grw-toggle-slot-visibility.js.br +0 -0
- package/dist/collection/components/grw-toggle-slot-visibility/grw-toggle-slot-visibility.js.gz +0 -0
- package/dist/collection/components/grw-toggle-slot-visibility/grw-toggle-slot-visibility.js.map +1 -1
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +2 -1
- 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/esm/{call-27710efe.js → call-e3a89b7c.js} +2 -8
- package/dist/esm/call-e3a89b7c.js.br +0 -0
- package/dist/esm/call-e3a89b7c.js.gz +0 -0
- package/dist/esm/call-e3a89b7c.js.map +1 -0
- 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 +7 -8
- package/dist/esm/grw-app.entry.js.br +0 -0
- package/dist/esm/grw-app.entry.js.gz +0 -0
- package/dist/esm/grw-app.entry.js.map +1 -1
- package/dist/esm/grw-common-button_23.entry.js +89 -8
- 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 +107 -192
- 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-details-modal_8.entry.js.map +1 -1
- package/dist/esm/grw-sensitive-area-detail_2.entry.js +203 -0
- 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-sensitive-area-detail_2.entry.js.map +1 -0
- package/dist/esm/grw-toggle-slot-visibility.entry.js +3 -2
- 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/grw-toggle-slot-visibility.entry.js.map +1 -1
- 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/moving-c644d077.js +9 -0
- package/dist/esm/moving-c644d077.js.br +0 -0
- package/dist/esm/moving-c644d077.js.gz +0 -0
- package/dist/esm/moving-c644d077.js.map +1 -0
- package/dist/esm-es5/call-e3a89b7c.js +2 -0
- package/dist/esm-es5/call-e3a89b7c.js.br +0 -0
- package/dist/esm-es5/call-e3a89b7c.js.gz +0 -0
- package/dist/esm-es5/{call-27710efe.js.map → call-e3a89b7c.js.map} +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
- package/dist/esm-es5/grw-app.entry.js +1 -1
- package/dist/esm-es5/grw-app.entry.js.br +0 -0
- package/dist/esm-es5/grw-app.entry.js.gz +0 -0
- package/dist/esm-es5/grw-app.entry.js.map +1 -1
- package/dist/esm-es5/grw-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-details-modal_8.entry.js.map +1 -1
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js +2 -0
- 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-sensitive-area-detail_2.entry.js.map +1 -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/grw-toggle-slot-visibility.entry.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/moving-c644d077.js +2 -0
- package/dist/esm-es5/moving-c644d077.js.br +0 -0
- package/dist/esm-es5/moving-c644d077.js.gz +0 -0
- package/dist/esm-es5/moving-c644d077.js.map +1 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/p-06880c0d.system.js +2 -0
- package/dist/geotrek-rando-widget/p-06880c0d.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-06880c0d.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-fbcc2505.system.js.map → p-06880c0d.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js +4 -0
- 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 +1 -0
- package/dist/geotrek-rando-widget/p-20a73813.entry.js +2 -0
- 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-20a73813.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-2a4d46f7.entry.js +2 -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-2a4d46f7.entry.js.map +1 -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-422bb6de.entry.js +2 -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-422bb6de.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-4270930c.js +2 -0
- package/dist/geotrek-rando-widget/p-4270930c.js.br +0 -0
- package/dist/geotrek-rando-widget/p-4270930c.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-efe17341.js.map → p-4270930c.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-45f46d33.entry.js +2 -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-45f46d33.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-5f0cf716.system.js +2 -0
- package/dist/geotrek-rando-widget/p-5f0cf716.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5f0cf716.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5f0cf716.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-75f7d534.system.entry.js +2 -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-75f7d534.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js +4 -0
- 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 +1 -0
- package/dist/geotrek-rando-widget/p-94f1ea91.system.entry.js +2 -0
- 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-94f1ea91.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-a9f81664.system.entry.js +2 -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-a9f81664.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-aa1ff056.system.entry.js +2 -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-aa1ff056.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-d1c11cf1.js +2 -0
- package/dist/geotrek-rando-widget/p-d1c11cf1.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d1c11cf1.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d1c11cf1.js.map +1 -0
- package/dist/types/components/grw-outdoor-site-detail/grw-outdoor-site-detail.d.ts +8 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cjs/call-33dc7f76.js.br +0 -0
- package/dist/cjs/call-33dc7f76.js.gz +0 -0
- package/dist/cjs/call-33dc7f76.js.map +0 -1
- package/dist/cjs/grw-outdoor-course-card_2.cjs.entry.js +0 -123
- package/dist/cjs/grw-outdoor-course-card_2.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-outdoor-course-card_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-outdoor-course-card_2.cjs.entry.js.map +0 -1
- package/dist/esm/call-27710efe.js.br +0 -0
- package/dist/esm/call-27710efe.js.gz +0 -0
- package/dist/esm/call-27710efe.js.map +0 -1
- package/dist/esm/grw-outdoor-course-card_2.entry.js +0 -118
- package/dist/esm/grw-outdoor-course-card_2.entry.js.br +0 -0
- package/dist/esm/grw-outdoor-course-card_2.entry.js.gz +0 -0
- package/dist/esm/grw-outdoor-course-card_2.entry.js.map +0 -1
- package/dist/esm-es5/call-27710efe.js +0 -2
- package/dist/esm-es5/call-27710efe.js.br +0 -0
- package/dist/esm-es5/call-27710efe.js.gz +0 -0
- package/dist/esm-es5/grw-outdoor-course-card_2.entry.js +0 -2
- package/dist/esm-es5/grw-outdoor-course-card_2.entry.js.br +0 -0
- package/dist/esm-es5/grw-outdoor-course-card_2.entry.js.gz +0 -0
- package/dist/esm-es5/grw-outdoor-course-card_2.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-08c9303c.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-08c9303c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-08c9303c.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-08c9303c.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-353b6204.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-353b6204.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-353b6204.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-353b6204.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-52925171.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-52925171.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-52925171.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-52925171.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-5675bafa.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-5675bafa.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5675bafa.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5675bafa.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-8ae34722.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-8ae34722.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-8ae34722.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-8ae34722.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-9fafd15a.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-9fafd15a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9fafd15a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-9fafd15a.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-b8dcf0de.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-b8dcf0de.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b8dcf0de.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b8dcf0de.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-ca719247.system.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-ca719247.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ca719247.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ca719247.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-e210e5b3.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-e210e5b3.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e210e5b3.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e210e5b3.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-efe17341.js +0 -2
- package/dist/geotrek-rando-widget/p-efe17341.js.br +0 -0
- package/dist/geotrek-rando-widget/p-efe17341.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f7643fd8.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-f7643fd8.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f7643fd8.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f7643fd8.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-fbcc2505.system.js +0 -2
- package/dist/geotrek-rando-widget/p-fbcc2505.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fbcc2505.system.js.gz +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["grwDetailsModalCss","GrwDetailsModalStyle0","GrwDetailsModal","handleCloseButton","this","closeDetailsModal","emit","render","h","Host","key","style","fontFamily","colorBackground","colorPrimaryContainer","colorOnPrimaryContainer","rounded","part","class","onClick","innerHTML","CloseIcon","grwInformationDeskCss","GrwInformationDeskStyle0","GrwInformationDeskDetail","componentDidLoad","handleOffline","descriptionRef","showInformationDeskDescriptionButton","clientHeight","scrollHeight","handleInformationDeskDescription","displayShortDescription","handleCenterOnMap","centerOnMap","latitude","informationDesk","longitude","state","currentTrek","trekInStore","getDataInStore","id","offline","informationDeskInStore","Boolean","currentOutdoorSite","outdoorSiteInStore","defaultImageSrc","getAssetPath","colorSurfaceContainerLow","photo_url","src","alt","name","loading","onerror","event","target","LocationSearchingIcon","translate","language","postal_code","municipality","street","phone","CallIcon","href","email","MailIcon","website","LinkIcon","description","ref","el","readMore","readLess","grwSensitiveAreaDetailCss","GrwSensitiveAreaDetailStyle0","GrwSensitiveAreaDetail","sensitiveArea","practices","length","map","sensitiveAreaPractice","index","practice","find","statePractice","toUpperCase","period","month","Date","toLocaleDateString","slice","contact","grwTouristicContentDetailCss","GrwTouristicContentDetailStyle0","GrwTouristicContentDetail","handleSwipers","swiperImagesRef","swiperImages","Swiper","modules","Navigation","Pagination","Keyboard","FreeMode","Mousewheel","navigation","prevEl","prevElImagesRef","nextEl","nextElImagesRef","pagination","paginationElImagesRef","allowTouchMove","keyboard","loop","onfullscreenchange","displayFullscreen","enable","disable","componentDidUpdate","currentTouristicContent","handleFullscreen","close","attachments","url","requestFullscreen","document","exitFullscreen","touristicContentCategory","touristicContentCategories","category","cities","currentCity","_a","city","displayPaginationAndNavigation","filter","attachment","type","colorPrimaryApp","colorOnSurface","colorSecondaryContainer","colorOnSecondaryContainer","isLargeView","languages","touristicContentDetailContainerRef","presentationRef","legend","author","join","thumbnail","display","visibility","pictogram","label","download","pdf","rel","DownloadIcon","description_teaser","practical_info","usefulInformation","grwApp","GrwTouristicContentProvider","controller","AbortController","signal","init","cache","connectedCallback","api","split","handleTouristicContent","touristicContentInStore","touristicContentId","handleOfflineTouristicContent","handleOnlineTouristicContent","touristicContent","getAllDataInStore","requests","push","fetch","Response","portals","concat","Promise","all","getTouristicContent","then","responses","response","json","networkError","results","error","code","DOMException","ABORT_ERR","disconnectedCallback","abort","grwTouristicEventDetailCss","GrwTouristicEventDetailStyle0","GrwTouristicEventDetail","currentTouristicEvent","touristicEventType","touristicEventTypes","touristicEventCategory","touristicEventDetailContainerRef","begin_date","end_date","date","startDate","endDate","GrwTouristicEventProvider","handleTouristicEvent","touristicEventInStore","touristicEventId","handleOfflineTouristicEvent","handleOnlineTouristicEvent","touristicEvent","getTouristicEvent","root","factory","module","exports","charMap","JSON","parse","locales","replace","string","options","Error","replacement","locale","undefined","trim","slug","normalize","reduce","result","ch","appendChar","remove","strict","lower","toLowerCase","extend","customMap","Object","assign","grwTrekCardCss","GrwTrekCardStyle0","GrwTrekCard","onTrekDownloadedSuccessConfirm","isAvailableOffline","onTrekDeleteSuccessConfirm","trek","difficulty","difficulties","route","routes","themes","theme","includes","departureCity","departure_city","onChange","trekId","trekIsAvailableOffline","handleMouseOver","cardTrekMouseOver","handleMouseLeave","cardTrekMouseLeave","width","isStep","selectedStepId","selectedTrekId","trekCardPress","window","location","slugify","OfflinePinIcon","className","TimelapseIcon","formatDuration","duration","OpenInFullIcon","formatLength","length_2d","MovingIcon","formatAscent","ascent","Fragment","_b","_c","_d","_e"],"sources":["src/components/grw-details-modal/grw-details-modal.scss?tag=grw-details-modal","src/components/grw-details-modal/grw-details-modal.tsx","src/components/grw-information-desk/grw-information-desk.scss?tag=grw-information-desk&encapsulation=shadow","src/components/grw-information-desk/grw-information-desk.tsx","src/components/grw-sensitive-area-detail/grw-sensitive-area-detail.scss?tag=grw-sensitive-area-detail&encapsulation=shadow","src/components/grw-sensitive-area-detail/grw-sensitive-area-detail.tsx","src/components/grw-touristic-content-detail/grw-touristic-content-detail.scss?tag=grw-touristic-content-detail&encapsulation=shadow","src/components/grw-touristic-content-detail/grw-touristic-content-detail.tsx","src/store/grw-touristic-content-provider.tsx","src/components/grw-touristic-event-detail/grw-touristic-event-detail.scss?tag=grw-touristic-event-detail&encapsulation=shadow","src/components/grw-touristic-event-detail/grw-touristic-event-detail.tsx","src/store/grw-touristic-event-provider.tsx","node_modules/slugify/slugify.js","src/components/grw-trek-card/grw-trek-card.scss?tag=grw-trek-card&encapsulation=shadow","src/components/grw-trek-card/grw-trek-card.tsx"],"sourcesContent":[".modal-container {\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0px;\n left: 0px;\n width: 100vw;\n height: 100vh;\n z-index: 40000;\n font-family: var(--font-family);\n background-color: rgba(0, 0, 0, 0.6);\n .grw-details-modal {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background-color: var(--color-background);\n }\n .grw-content-modal {\n overflow-y: hidden;\n padding-bottom: 24px;\n background-color: var(--color-background);\n }\n .grw-arrow-back-container {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n background-color: var(--color-primary-container);\n .grw-arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-primary);\n border: none;\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n background-color: transparent;\n margin-left: 4px;\n padding: 0px;\n display: flex;\n justify-content: center;\n align-items: center;\n .icon {\n height: 24px;\n width: 24px;\n }\n }\n }\n}\n\n@media (min-width: 1024px) {\n .modal-container {\n .grw-details-modal {\n width: 60%;\n height: 80%;\n border-radius: var(--border-radius, 8px);\n }\n }\n}\n","import { Component, Host, h, Event, EventEmitter, Prop } from '@stencil/core';\nimport CloseIcon from '../../assets/close.svg';\n\n@Component({\n tag: 'grw-details-modal',\n styleUrl: 'grw-details-modal.scss',\n shadow: false,\n})\nexport class GrwDetailsModal {\n @Event() closeDetailsModal: EventEmitter<number>;\n @Prop() fontFamily = 'Roboto';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#49454e';\n @Prop() rounded = true;\n\n handleCloseButton() {\n this.closeDetailsModal.emit();\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-background': this.colorBackground,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n <div part=\"modal-container\" class=\"modal-container\">\n <div part=\"details-modal\" class=\"grw-details-modal\">\n <div part=\"arrow-back-container\" class=\"grw-arrow-back-container\">\n <button part=\"arrow-back-icon\" onClick={() => this.handleCloseButton()} class=\"grw-arrow-back-icon\">\n <span part=\"icon\" class=\"icon\" innerHTML={CloseIcon}></span>\n </button>\n </div>\n <div part=\"content-modal\" class=\"grw-content-modal\">\n <slot></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n",":host {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border: 1px solid gray;\n border-radius: var(--border-radius, 12px);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n}\n\n.information-desk-img-container {\n position: relative;\n .information-desk-img {\n width: 100%;\n height: 200px;\n object-fit: cover;\n }\n}\n\n.information-desk-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n}\n\n.information-desk-sub-container-short {\n max-height: 200px;\n overflow: hidden;\n}\n\n.information-desk-name {\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n}\n\n.information-desk-description {\n font-size: 14px;\n line-height: 20px;\n}\n\n.handle-information-desk-description {\n cursor: pointer;\n color: var(--color-primary-app);\n text-decoration: underline;\n margin-top: 12px;\n}\n\n.phone-container,\n.mail-container,\n.link-container {\n display: flex;\n align-items: center;\n .icon {\n display: flex;\n font-size: 16px;\n margin-right: 8px;\n }\n}\n\n.center-on-map-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 4px 8px;\n box-shadow: var(--elevation-1);\n min-height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n margin: 12px auto;\n &:hover {\n box-shadow: var(--elevation-2);\n }\n .icon {\n display: flex;\n }\n}\n","import { Component, Host, h, Prop, State, Event, EventEmitter, getAssetPath, Build } from '@stencil/core';\nimport state from 'store/store';\nimport { translate } from 'i18n/i18n';\nimport { InformationDesk, OutdoorSite, Trek } from 'types/types';\nimport { getDataInStore } from 'services/grw-db.service';\nimport LocationSearchingIcon from '../../assets/location_searching.svg';\nimport CallIcon from '../../assets/call.svg';\nimport MailIcon from '../../assets/mail.svg';\nimport LinkIcon from '../../assets/link.svg';\n\n@Component({\n tag: 'grw-information-desk',\n styleUrl: 'grw-information-desk.scss',\n shadow: true,\n})\nexport class GrwInformationDeskDetail {\n descriptionRef?: HTMLDivElement;\n @Event() centerOnMap: EventEmitter<{ latitude: number; longitude: number }>;\n @State() displayShortDescription = true;\n @State() showInformationDeskDescriptionButton = false;\n @Prop() informationDesk: InformationDesk;\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n\n @State() offline = false;\n @State() showDefaultImage = false;\n\n componentDidLoad() {\n this.handleOffline();\n if (this.descriptionRef) {\n this.showInformationDeskDescriptionButton = this.descriptionRef.clientHeight < this.descriptionRef.scrollHeight;\n }\n }\n\n handleInformationDeskDescription() {\n this.displayShortDescription = !this.displayShortDescription;\n }\n\n handleCenterOnMap() {\n this.centerOnMap.emit({ latitude: this.informationDesk.latitude, longitude: this.informationDesk.longitude });\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n if (trekInStore && trekInStore.offline) {\n const informationDeskInStore: InformationDesk = await getDataInStore('informationDesks', this.informationDesk.id);\n this.offline = Boolean(informationDeskInStore);\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const informationDeskInStore: InformationDesk = await getDataInStore('informationDesks', this.informationDesk.id);\n this.offline = Boolean(informationDeskInStore);\n }\n }\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n\n return (\n <Host style={{ '--color-surface-container-low': this.colorSurfaceContainerLow }}>\n {this.informationDesk.photo_url && (\n <div part=\"information-desk-img-container\" class=\"information-desk-img-container\">\n <img\n part=\"information-desk-img\"\n class=\"information-desk-img\"\n src={this.informationDesk.photo_url}\n alt={this.informationDesk.name}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.src = defaultImageSrc;\n }}\n />\n </div>\n )}\n <div part=\"information-desk-sub-container\" class=\"information-desk-sub-container\">\n <div class={this.displayShortDescription ? 'information-desk-sub-container-short' : ''}>\n {this.informationDesk.name && (\n <div part=\"information-desk-name\" class=\"information-desk-name\">\n {this.informationDesk.name}\n </div>\n )}\n {this.informationDesk.latitude && this.informationDesk.longitude && (\n <button part=\"center-on-map-button\" class=\"center-on-map-button\" onClick={() => this.handleCenterOnMap()}>\n <span part=\"icon\" class=\"icon\" innerHTML={LocationSearchingIcon}></span>\n <span part=\"label\">{translate[state.language].centerOnMap}</span>\n </button>\n )}\n {(this.informationDesk.postal_code || this.informationDesk.municipality || this.informationDesk.street) && (\n <div part=\"information-desk-informations\" class=\"information-desk-informations\">\n {this.informationDesk.postal_code && this.informationDesk.postal_code}\n {this.informationDesk.municipality && ` ${this.informationDesk.municipality}`}\n {this.informationDesk.street && ` ${this.informationDesk.street}`}\n </div>\n )}\n {this.informationDesk.phone && (\n <div class=\"phone-container\">\n <span part=\"icon\" class=\"icon\" innerHTML={CallIcon}></span>\n <a part=\"label\" class=\"label\" href={`tel:${this.informationDesk.phone}`}>\n {this.informationDesk.phone}\n </a>\n </div>\n )}\n {this.informationDesk.email && (\n <div part=\"mail-container\" class=\"mail-container\">\n <span part=\"icon\" class=\"icon\" innerHTML={MailIcon}></span>\n <a part=\"label\" class=\"label\" href={`mailto:${this.informationDesk.email}`}>\n {this.informationDesk.email}\n </a>\n </div>\n )}\n {this.informationDesk.website && (\n <div part=\"link-container\" class=\"link-container\">\n <span part=\"icon\" class=\"icon\" innerHTML={LinkIcon}></span>\n <a part=\"label\" class=\"label\" href={`${this.informationDesk.website}`}>\n {this.informationDesk.website}\n </a>\n </div>\n )}\n {this.informationDesk.description && (\n <div part=\"information-desk-description-container\" class=\"information-desk-description-container\">\n <div\n part=\"information-desk-description\"\n class=\"information-desk-description\"\n innerHTML={this.informationDesk.description}\n ref={el => (this.descriptionRef = el)}\n ></div>\n </div>\n )}\n </div>\n {this.informationDesk.description && (\n <div part=\"handle-information-desk-description\" class=\"handle-information-desk-description\" onClick={() => this.handleInformationDeskDescription()}>\n {this.displayShortDescription ? translate[state.language].readMore : translate[state.language].readLess}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n",":host {\n display: flex;\n flex-direction: column;\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n}\n\n.sensitive-area-title-container {\n display: flex;\n align-items: center;\n .sensitive-area-color-container {\n width: 20px;\n height: 20px;\n margin-right: 8px;\n border: 3px solid var(--color-sensitive-area);\n position: relative;\n &:before {\n content: '';\n width: 20px;\n height: 20px;\n background-color: var(--color-sensitive-area);\n opacity: 0.2;\n position: absolute;\n }\n }\n .sensitive-area-title {\n font-size: 20px;\n line-height: 28px;\n padding: 12px 0px;\n font-weight: 600;\n }\n}\n\n.sensitive-area-description {\n font-size: 16px;\n line-height: 24px;\n p:first-child {\n margin-top: 0;\n }\n}\n\n.sensitive-area-period-container,\n.sensitive-area-practice-container,\n.sensitive-area-contact-container {\n .sensitive-area-period-title,\n .sensitive-area-practice-title,\n .sensitive-area-contact-title {\n font-size: 18px;\n line-height: 24px;\n padding: 12px 0px;\n font-weight: 600;\n }\n .sensitive-area-periods,\n .sensitive-area-practices {\n display: flex;\n flex-wrap: wrap;\n }\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\nimport state from 'store/store';\nimport { SensitiveArea } from 'types/types';\n\n@Component({\n tag: 'grw-sensitive-area-detail',\n styleUrl: 'grw-sensitive-area-detail.scss',\n shadow: true,\n})\nexport class GrwSensitiveAreaDetail {\n @Prop() sensitiveArea: SensitiveArea;\n\n render() {\n return (\n <Host>\n <div part=\"sensitive-area-title-container\" class=\"sensitive-area-title-container\">\n <div part=\"sensitive-area-color-container\" class=\"sensitive-area-color-container\"></div>\n <div part=\"sensitive-area-title\" class=\"sensitive-area-title\">\n {this.sensitiveArea.name}\n </div>\n </div>\n\n <div part=\"sensitive-area-description\" class=\"sensitive-area-description\" innerHTML={this.sensitiveArea.description}></div>\n {this.sensitiveArea.practices && this.sensitiveArea.practices.length > 0 && (\n <div part=\"sensitive-area-practice-container\" class=\"sensitive-area-practice-container\">\n <div part=\"sensitive-area-practice-title\" class=\"sensitive-area-practice-title\">\n Domaines d'activités concernés\n </div>\n <div part=\"sensitive-area-practices\" class=\"sensitive-area-practices\">\n {this.sensitiveArea.practices.map((sensitiveAreaPractice, index) => {\n const practice = state.practices.find(statePractice => statePractice.id === sensitiveAreaPractice);\n if (practice) {\n return (\n <div\n part=\"sensitive-area-practice\"\n class=\"sensitive-area-practice\"\n innerHTML={`${practice.name.toUpperCase()}${index + 1 !== this.sensitiveArea.practices.length ? ' - ' : ''}`}\n ></div>\n );\n }\n })}\n </div>\n </div>\n )}\n {this.sensitiveArea.period && this.sensitiveArea.period.length > 0 && (\n <div part=\"sensitive-area-period-container\" class=\"sensitive-area-period-container\">\n <div part=\"sensitive-area-period-title\" class=\"sensitive-area-period-title\">\n Périodes de sensibilité\n </div>\n <div part=\"sensitive-area-periods\" class=\"sensitive-area-periods\">\n {this.sensitiveArea.period.map((month, index) => {\n if (month) {\n return (\n <div\n part=\"sensitive-area-period\"\n class=\"sensitive-area-period\"\n innerHTML={`${new Date(0, index + 1, 0).toLocaleDateString('fr', { month: 'long' }).toUpperCase()}${\n this.sensitiveArea.period.slice(index + 1).find(month => month) ? ' - ' : ''\n }`}\n ></div>\n );\n }\n })}\n </div>\n </div>\n )}\n <div part=\"sensitive-area-contact-container\" class=\"sensitive-area-contact-container\">\n <div part=\"sensitive-area-contact-title\" class=\"sensitive-area-contact-title\">\n Contact\n </div>\n <div part=\"sensitive-area-contact-value\" class=\"sensitive-area-contact-value\" innerHTML={this.sensitiveArea.contact}></div>\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\ngrw-touristic-content-detail {\n overflow: hidden;\n}\n\n.touristic-content-detail-container {\n font-family: var(--font-family);\n color: var(--color-on-surface);\n display: flex;\n flex-direction: column;\n height: 100%;\n max-height: 100%;\n overflow-y: auto;\n padding-bottom: 24px;\n .touristic-content-category-container {\n display: flex;\n align-items: center;\n padding: 0px 24px;\n margin: 8px 0px;\n .touristic-content-category-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .name {\n color: var(--color-on-surface);\n font-size: 22px;\n line-height: 28px;\n font-weight: 400;\n padding: 0px 24px;\n margin: 8px 0px;\n }\n .image,\n .default-poi-img {\n cursor: pointer;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .default-poi-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .description-teaser,\n .description-container,\n .useful-information-container,\n .contact-container {\n padding: 0px 24px 0px 24px;\n }\n .description-container,\n .useful-information-container,\n .contact-container {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n a {\n color: var(--color-primary-app);\n }\n }\n .description-title,\n .useful-information-title,\n .contact-title {\n color: var(--color-on-surface);\n font-size: 22px;\n line-height: 28px;\n font-weight: 400;\n font-weight: bold;\n margin-bottom: 16px;\n }\n}\n\n.detail-bottom-space {\n min-height: var(--detail-bottom-space-height);\n height: var(--detail-bottom-space-height);\n width: 100%;\n background-color: var(--color-background);\n}\n\n.images-container {\n display: flex;\n max-width: 100%;\n max-height: 400px;\n}\n\n.divider {\n margin: 16px;\n border-top: 1px solid var(--color-outline);\n}\n\n.cities-container {\n display: flex;\n align-items: center;\n padding: 24px 24px 0px 24px;\n .cities-title {\n color: var(--color-on-surface);\n font-weight: bold;\n white-space: nowrap;\n margin-right: 8px;\n }\n}\n\n.downloads-container {\n padding: 0px 24px 0px 24px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n .download-title {\n color: var(--color-on-surface);\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n }\n .links-container {\n display: flex;\n flex-wrap: wrap;\n a {\n margin-top: 8px;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n text-decoration: none;\n &:nth-child(2) {\n margin: 8px 12px 0px 12px;\n }\n &:hover {\n box-shadow: var(--elevation-2);\n }\n .icon {\n display: flex;\n }\n }\n }\n}\n\n.email-container,\n.website-container {\n display: flex;\n flex-wrap: wrap;\n}\n\n.legend-container {\n position: absolute;\n top: 16px;\n font-size: 12px;\n color: #ffffff;\n width: 100%;\n text-align: center;\n}\n\n.close-fullscreen-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n z-index: 40;\n top: 16px;\n right: 16px;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n cursor: pointer;\n}\n\n.touristic-content-category-img {\n border-radius: 100%;\n padding: 2px;\n max-height: 20px;\n max-width: 20px;\n}\n","import { Build, Component, Host, Prop, State, getAssetPath, h } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state from 'store/store';\nimport Swiper, { FreeMode, Keyboard, Mousewheel, Navigation, Pagination } from 'swiper';\nimport CloseIcon from '../../assets/close.svg';\nimport DownloadIcon from '../../assets/download.svg';\n\n@Component({\n tag: 'grw-touristic-content-detail',\n styleUrl: 'grw-touristic-content-detail.scss',\n shadow: true,\n})\nexport class GrwTouristicContentDetail {\n swiperImages?: Swiper;\n swiperImagesRef?: HTMLDivElement;\n prevElImagesRef?: HTMLDivElement;\n nextElImagesRef?: HTMLDivElement;\n paginationElImagesRef?: HTMLDivElement;\n presentationRef?: HTMLDivElement;\n\n @State() displayFullscreen = false;\n @State() offline = false;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6b0030';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() colorBackground = '#fef7ff';\n @Prop() isLargeView = false;\n @Prop() grwApp = false;\n\n descriptionRef?: HTMLDivElement;\n touristicContentDetailContainerRef?: HTMLElement;\n\n handleSwipers() {\n if (this.swiperImagesRef && !this.swiperImages) {\n this.swiperImages = new Swiper(this.swiperImagesRef, {\n modules: [Navigation, Pagination, Keyboard, FreeMode, Mousewheel],\n navigation: {\n prevEl: this.prevElImagesRef,\n nextEl: this.nextElImagesRef,\n },\n pagination: { el: this.paginationElImagesRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperImagesRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen;\n this.displayFullscreen && !this.offline ? this.swiperImages.keyboard.enable() : this.swiperImages.keyboard.disable();\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.offline = state.currentTouristicContent && state.currentTouristicContent.offline;\n this.handleSwipers();\n }\n\n handleFullscreen(close: boolean = false) {\n if (!close) {\n if (state.currentTouristicContent.attachments && state.currentTouristicContent.attachments[0] && state.currentTouristicContent.attachments[0].url) {\n this.swiperImagesRef.requestFullscreen();\n }\n } else {\n (document as any).exitFullscreen();\n }\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicContentCategory =\n state.touristicContentCategories &&\n state.currentTouristicContent &&\n state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === state.currentTouristicContent.category);\n const cities = state.currentTouristicContent && state.currentTouristicContent.cities.map(currentCity => state.cities.find(city => city.id === currentCity)?.name);\n const displayPaginationAndNavigation =\n (state.currentTouristicContent && state.currentTouristicContent.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-surface': this.colorOnSurface,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--detail-bottom-space-height': this.isLargeView\n ? state.languages && state.languages.length > 1\n ? '44px'\n : '12px'\n : state.languages && state.languages.length > 1\n ? '164px'\n : '124px',\n }}\n >\n {state.currentTouristicContent && (\n <div part=\"touristic-content-detail-container\" class=\"touristic-content-detail-container\" ref={el => (this.touristicContentDetailContainerRef = el)}>\n <div part=\"images-container\" class=\"images-container\" ref={el => (this.presentationRef = el)}>\n <div part=\"swiper-images\" class=\"swiper swiper-images\" ref={el => (this.swiperImagesRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {state.currentTouristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n state.currentTouristicContent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => {\n const legend = [attachment.legend, attachment.author].filter(Boolean).join(' - ');\n return (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n {this.displayFullscreen && (\n <div part=\"close-fullscreen-button\" class=\"close-fullscreen-button\" onClick={() => this.handleFullscreen(true)}>\n <span part=\"icon\" class=\"icon\" innerHTML={CloseIcon}></span>\n </div>\n )}\n <div part=\"legend-container\" class=\"legend-container\">\n {legend}\n </div>\n <img\n part=\"image\"\n class=\"image\"\n src={this.offline && attachment.thumbnail !== '' ? attachment.thumbnail : attachment.url}\n loading=\"lazy\"\n onClick={() => this.handleFullscreen()}\n alt={attachment.legend}\n />\n </div>\n );\n })\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-poi-img\" class=\"default-poi-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElImagesRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElImagesRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElImagesRef = el)}\n ></div>\n </div>\n </div>\n <div part=\"touristic-content-category-container\" class=\"touristic-content-category-container\">\n <img\n part=\"touristic-content-category-img\"\n class=\"touristic-content-category-img\"\n /* @ts-ignore */\n\n src={touristicContentCategory.pictogram}\n alt=\"\"\n />\n <div part=\"touristic-content-category-name\" class=\"touristic-content-category-name\">\n {touristicContentCategory.label}\n </div>\n </div>\n <div part=\"name\" class=\"name\">\n {state.currentTouristicContent.name}\n </div>\n <div part=\"divider\" class=\"divider\"></div>\n <div part=\"downloads-container\" class=\"downloads-container\">\n <div part=\"download-title\" class=\"download-title\">\n {translate[state.language].download}\n </div>\n <div part=\"links-container\" class=\"links-container\">\n <a part=\"link-container\" class=\"link-container\" href={`${state.currentTouristicContent.pdf}`} target=\"_blank\" rel=\"noopener noreferrer\">\n <span part=\"icon\" class=\"icon\" innerHTML={DownloadIcon}></span>\n <span part=\"label\" class=\"\">\n PDF\n </span>\n </a>\n </div>\n </div>\n {state.currentTouristicContent.description_teaser && (\n <div>\n <div part=\"divider\" class=\"divider\"></div>\n <div part=\"description-teaser\" class=\"description-teaser\" innerHTML={state.currentTouristicContent.description_teaser}></div>\n </div>\n )}\n <div part=\"divider\" class=\"divider\"></div>\n {state.currentTouristicContent.practical_info && (\n <div part=\"description-container\" class=\"description-container\" ref={el => (this.descriptionRef = el)}>\n <div part=\"description-title\" class=\"description-title\">\n {translate[state.language].description}\n </div>\n <div part=\"description\" class=\"description\" innerHTML={state.currentTouristicContent.description}></div>\n </div>\n )}\n {cities && cities.length > 0 && (\n <div part=\"cities-container\" class=\"cities-container\">\n <div part=\"cities-title\" class=\"cities-title\">\n {translate[state.language].city} : \n </div>\n <div part=\"cities\" class=\"cities\" innerHTML={cities.join(', ')}></div>\n </div>\n )}\n {state.currentTouristicContent.practical_info && (\n <div>\n <div part=\"divider\" class=\"divider\"></div>\n <div part=\"useful-information-container\" class=\"useful-information-container\">\n <div part=\"useful-information-title\" class=\"useful-information-title\">\n {translate[state.language].usefulInformation} : \n </div>\n <div part=\"useful-information\" innerHTML={state.currentTouristicContent.practical_info}></div>\n </div>\n </div>\n )}\n {(state.currentTouristicContent.contact || state.currentTouristicContent.email || state.currentTouristicContent.website) && (\n <div>\n <div part=\"divider\" class=\"divider\"></div>\n <div part=\"contact-container\" class=\"contact-container\">\n <div part=\"contact-title\" class=\"contact-title\">\n {translate[state.language].contact} : \n </div>\n {state.currentTouristicContent.contact && <div part=\"contact\" class=\"contact\" innerHTML={state.currentTouristicContent.contact}></div>}\n {state.currentTouristicContent.email && (\n <div part=\"email-container\" class=\"email-container\">\n <div part=\"email-title\" class=\"email-title\">\n {translate[state.language].email} : \n </div>\n <a href={'mailto:' + state.currentTouristicContent.email} part=\"email\" class=\"email\" innerHTML={state.currentTouristicContent.email}></a>\n </div>\n )}\n {state.currentTouristicContent.website && (\n <div part=\"website-container\" class=\"website-container\">\n <div part=\"website-title\" class=\"website-title\">\n {translate[state.language].website} : \n </div>\n <a href={state.currentTouristicContent.website} part=\"website\" class=\"website\" innerHTML={state.currentTouristicContent.website}></a>\n </div>\n )}\n </div>\n </div>\n )}\n {this.grwApp && <div part=\"detail-bottom-space\" class=\"detail-bottom-space\"></div>}\n </div>\n )}\n </Host>\n );\n }\n}\n","import { Build, Component, h, Host, Prop } from '@stencil/core';\nimport { getAllDataInStore, getDataInStore } from 'services/grw-db.service';\nimport { getTouristicContent } from 'services/touristic-contents.service';\nimport state from 'store/store';\nimport { TouristicContent } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-content-provider',\n shadow: true,\n})\nexport class GrwTouristicContentProvider {\n @Prop() languages = 'fr';\n @Prop() api: string;\n @Prop() touristicContentId: number;\n @Prop() portals: string;\n\n controller = new AbortController();\n signal = this.controller.signal;\n init: RequestInit = { cache: Build.isDev ? 'force-cache' : 'default', signal: this.signal };\n\n connectedCallback() {\n if (!state.api) {\n state.api = this.api;\n state.languages = this.languages.split(',');\n state.language = state.languages[0];\n }\n this.handleTouristicContent();\n }\n\n async handleTouristicContent() {\n const touristicContentInStore: TouristicContent = await getDataInStore('touristicContents', this.touristicContentId);\n if (touristicContentInStore && touristicContentInStore.offline) {\n this.handleOfflineTouristicContent(touristicContentInStore);\n } else {\n this.handleOnlineTouristicContent();\n }\n }\n\n async handleOfflineTouristicContent(touristicContent: TouristicContent) {\n if (!state.cities) {\n state.cities = await getAllDataInStore('cities');\n }\n if (!state.touristicContentCategories) {\n state.touristicContentCategories = await getAllDataInStore('touristicContentCategories');\n }\n state.currentTouristicContent = touristicContent;\n }\n\n handleOnlineTouristicContent() {\n const requests = [];\n requests.push(!state.cities ? fetch(`${state.api}city/?language=${state.language}&fields=id,name&published=true&page_size=999`, this.init) : new Response('null'));\n requests.push(\n !state.touristicContentCategories\n ? fetch(\n `${state.api}touristiccontent_category/?language=${state.language}${\n this.portals ? '&portals='.concat(this.portals) : ''\n }&published=true&fields=id,label,pictogram&page_size=999`,\n this.init,\n )\n : new Response('null'),\n );\n try {\n Promise.all([...requests, getTouristicContent(state.api, state.language, this.touristicContentId, this.init)])\n .then(responses => Promise.all(responses.map(response => response.json())))\n .then(([cities, touristicContentCategory, touristicContent]) => {\n state.networkError = false;\n\n if (cities) {\n state.cities = cities.results;\n }\n if (touristicContentCategory) {\n state.touristicContentCategories = touristicContentCategory.results;\n }\n state.currentTouristicContent = touristicContent;\n });\n } catch (error) {\n if (!(error.code === DOMException.ABORT_ERR)) {\n state.networkError = true;\n }\n }\n }\n\n disconnectedCallback() {\n this.controller.abort();\n state.networkError = false;\n }\n\n render() {\n return <Host></Host>;\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\ngrw-touristic-event-detail {\n overflow: hidden;\n}\n\n.touristic-event-detail-container {\n font-family: var(--font-family);\n color: var(--color-on-surface);\n display: flex;\n flex-direction: column;\n height: 100%;\n max-height: 100%;\n overflow-y: auto;\n padding-bottom: 24px;\n .touristic-event-category-container {\n display: flex;\n align-items: center;\n padding: 0px 24px;\n margin: 8px 0px;\n .touristic-event-category-name {\n display: -webkit-box;\n line-clamp: 1;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .name {\n color: var(--color-on-surface);\n font-size: 22px;\n line-height: 28px;\n font-weight: 400;\n padding: 0px 24px;\n margin: 8px 0px;\n }\n .touristic-event-date-container {\n color: var(--color-on-surface);\n font-size: 16px;\n line-height: 28px;\n font-weight: 400;\n padding: 0px 24px;\n margin: 8px 0px;\n }\n .image,\n .default-poi-img {\n cursor: pointer;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .default-poi-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .description-teaser,\n .description-container,\n .useful-information-container,\n .contact-container {\n padding: 0px 24px 0px 24px;\n }\n .description-container,\n .useful-information-container,\n .contact-container {\n font-size: 16px;\n line-height: 24px;\n font-weight: 400;\n a {\n color: var(--color-primary-app);\n }\n }\n .description-title,\n .useful-information-title,\n .contact-title {\n color: var(--color-on-surface);\n font-size: 22px;\n line-height: 28px;\n font-weight: 400;\n font-weight: bold;\n margin-bottom: 16px;\n }\n}\n\n.detail-bottom-space {\n min-height: var(--detail-bottom-space-height);\n height: var(--detail-bottom-space-height);\n width: 100%;\n background-color: var(--color-background);\n}\n\n.images-container {\n display: flex;\n max-width: 100%;\n max-height: 400px;\n}\n\n.divider {\n margin: 16px;\n border-top: 1px solid var(--color-outline);\n}\n\n.cities-container {\n display: flex;\n align-items: center;\n padding: 24px 24px 0px 24px;\n .cities-title {\n color: var(--color-on-surface);\n font-weight: bold;\n white-space: nowrap;\n margin-right: 8px;\n }\n}\n\n.downloads-container {\n padding: 0px 24px 0px 24px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n .download-title {\n color: var(--color-on-surface);\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n }\n .links-container {\n display: flex;\n flex-wrap: wrap;\n a {\n margin-top: 8px;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n text-decoration: none;\n &:nth-child(2) {\n margin: 8px 12px 0px 12px;\n }\n &:hover {\n box-shadow: var(--elevation-2);\n }\n .icon {\n display: flex;\n }\n }\n }\n}\n\n.email-container,\n.website-container {\n display: flex;\n flex-wrap: wrap;\n}\n\n.legend-container {\n position: absolute;\n top: 16px;\n font-size: 12px;\n color: #ffffff;\n width: 100%;\n text-align: center;\n}\n\n.close-fullscreen-button {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n z-index: 40;\n top: 16px;\n right: 16px;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n cursor: pointer;\n}\n","import { Build, Component, Host, Prop, State, getAssetPath, h } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state from 'store/store';\nimport Swiper, { FreeMode, Keyboard, Mousewheel, Navigation, Pagination } from 'swiper';\nimport CloseIcon from '../../assets/close.svg';\nimport DownloadIcon from '../../assets/download.svg';\n\n@Component({\n tag: 'grw-touristic-event-detail',\n styleUrl: 'grw-touristic-event-detail.scss',\n shadow: true,\n})\nexport class GrwTouristicEventDetail {\n swiperImages?: Swiper;\n swiperImagesRef?: HTMLDivElement;\n prevElImagesRef?: HTMLDivElement;\n nextElImagesRef?: HTMLDivElement;\n paginationElImagesRef?: HTMLDivElement;\n presentationRef?: HTMLDivElement;\n\n @State() displayFullscreen = false;\n @State() offline = false;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6b0030';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() colorBackground = '#fef7ff';\n @Prop() isLargeView = false;\n @Prop() grwApp = false;\n\n descriptionRef?: HTMLDivElement;\n touristicEventDetailContainerRef?: HTMLElement;\n\n handleSwipers() {\n if (this.swiperImagesRef && !this.swiperImages) {\n this.swiperImages = new Swiper(this.swiperImagesRef, {\n modules: [Navigation, Pagination, Keyboard, FreeMode, Mousewheel],\n navigation: {\n prevEl: this.prevElImagesRef,\n nextEl: this.nextElImagesRef,\n },\n pagination: { el: this.paginationElImagesRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperImagesRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen;\n this.displayFullscreen && !this.offline ? this.swiperImages.keyboard.enable() : this.swiperImages.keyboard.disable();\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.offline = state.currentTouristicEvent && state.currentTouristicEvent.offline;\n this.handleSwipers();\n }\n\n handleFullscreen(close: boolean = false) {\n if (!close) {\n if (state.currentTouristicEvent.attachments && state.currentTouristicEvent.attachments[0] && state.currentTouristicEvent.attachments[0].url) {\n this.swiperImagesRef.requestFullscreen();\n }\n } else {\n (document as any).exitFullscreen();\n }\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n\n const touristicEventType =\n state.touristicEventTypes &&\n state.currentTouristicEvent &&\n state.touristicEventTypes.find(touristicEventCategory => touristicEventCategory.id === state.currentTouristicEvent.type);\n const cities = state.currentTouristicEvent && state.currentTouristicEvent.cities.map(currentCity => state.cities.find(city => city.id === currentCity)?.name);\n const displayPaginationAndNavigation =\n (state.currentTouristicEvent && state.currentTouristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;\n\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-surface': this.colorOnSurface,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--detail-bottom-space-height': this.isLargeView\n ? state.languages && state.languages.length > 1\n ? '44px'\n : '12px'\n : state.languages && state.languages.length > 1\n ? '164px'\n : '124px',\n }}\n >\n {state.currentTouristicEvent && (\n <div part=\"touristic-event-detail-container\" class=\"touristic-event-detail-container\" ref={el => (this.touristicEventDetailContainerRef = el)}>\n <div part=\"images-container\" class=\"images-container\" ref={el => (this.presentationRef = el)}>\n <div part=\"swiper-images\" class=\"swiper swiper-images\" ref={el => (this.swiperImagesRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {state.currentTouristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n state.currentTouristicEvent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => {\n const legend = [attachment.legend, attachment.author].filter(Boolean).join(' - ');\n return (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n {this.displayFullscreen && (\n <div part=\"close-fullscreen-button\" class=\"close-fullscreen-button\" onClick={() => this.handleFullscreen(true)}>\n <span part=\"icon\" class=\"icon\" innerHTML={CloseIcon}></span>\n </div>\n )}\n <div part=\"legend-container\" class=\"legend-container\">\n {legend}\n </div>\n <img\n part=\"image\"\n class=\"image\"\n src={this.offline && attachment.thumbnail !== '' ? attachment.thumbnail : attachment.url}\n loading=\"lazy\"\n onClick={() => this.handleFullscreen()}\n alt={attachment.legend}\n />\n </div>\n );\n })\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"default-poi-img\"\n class=\"default-poi-img\"\n /* @ts-ignore */\n src={defaultImageSrc}\n loading=\"lazy\"\n />\n </div>\n )}\n </div>\n <div\n style={{ display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElImagesRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElImagesRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElImagesRef = el)}\n ></div>\n </div>\n </div>\n <div part=\"touristic-event-category-container\" class=\"touristic-event-category-container\">\n {touristicEventType && touristicEventType.pictogram && (\n <img part=\"touristic-event-category-img\" class=\"touristic-event-category-img\" src={touristicEventType.pictogram} />\n )}\n {touristicEventType && touristicEventType.type && (\n <div part=\"touristic-event-category-name\" class=\"touristic-event-category-name\">\n {touristicEventType.type}\n </div>\n )}\n </div>\n <div part=\"name\" class=\"name\">\n {state.currentTouristicEvent.name}\n </div>\n {(state.currentTouristicEvent.begin_date || state.currentTouristicEvent.end_date) && (\n <div part=\"touristic-event-date-container\" class=\"touristic-event-date-container\">\n {state.currentTouristicEvent.begin_date === state.currentTouristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].date} : {state.currentTouristicEvent.begin_date}\n </div>\n )}\n {state.currentTouristicEvent.begin_date && state.currentTouristicEvent.begin_date !== state.currentTouristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].startDate} : {state.currentTouristicEvent.begin_date}\n </div>\n )}\n {state.currentTouristicEvent.end_date && state.currentTouristicEvent.begin_date !== state.currentTouristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].endDate} : {state.currentTouristicEvent.end_date}\n </div>\n )}\n </div>\n )}\n <div part=\"divider\" class=\"divider\"></div>\n <div part=\"downloads-container\" class=\"downloads-container\">\n <div part=\"download-title\" class=\"download-title\">\n {translate[state.language].download}\n </div>\n <div part=\"links-container\" class=\"links-container\">\n <a part=\"link\" class=\"link\" href={`${state.currentTouristicEvent.pdf}`} target=\"_blank\" rel=\"noopener noreferrer\">\n <span part=\"icon\" class=\"icon\" innerHTML={DownloadIcon}></span>\n <span part=\"label\" class=\"label\">\n PDF\n </span>\n </a>\n </div>\n </div>\n {state.currentTouristicEvent.description_teaser && (\n <div>\n <div part=\"divider\" class=\"divider\"></div>\n <div part=\"description-teaser\" class=\"description-teaser\" innerHTML={state.currentTouristicEvent.description_teaser}></div>\n </div>\n )}\n <div part=\"divider\" class=\"divider\"></div>\n {state.currentTouristicEvent.practical_info && (\n <div part=\"description-container\" class=\"description-container\" ref={el => (this.descriptionRef = el)}>\n <div part=\"description-title\" class=\"description-title\">\n {translate[state.language].description}\n </div>\n <div part=\"description\" class=\"description\" innerHTML={state.currentTouristicEvent.description}></div>\n </div>\n )}\n {cities && cities.length > 0 && (\n <div part=\"cities-container\" class=\"cities-container\">\n <div part=\"cities-title\" class=\"cities-title\">\n {translate[state.language].city} : \n </div>\n <div part=\"cities\" class=\"cities\" innerHTML={cities.join(', ')}></div>\n </div>\n )}\n {state.currentTouristicEvent.practical_info && (\n <div>\n <div part=\"divider\" class=\"divider\"></div>\n <div part=\"useful-information-container\" class=\"useful-information-container\">\n <div part=\"useful-information-title\" class=\"useful-information-title\">\n {translate[state.language].usefulInformation} : \n </div>\n <div part=\"useful-information\" class=\"useful-information\" innerHTML={state.currentTouristicEvent.practical_info}></div>\n </div>\n </div>\n )}\n {(state.currentTouristicEvent.contact || state.currentTouristicEvent.email || state.currentTouristicEvent.website) && (\n <div>\n <div part=\"divider\" class=\"divider\"></div>\n <div part=\"contact-container\" class=\"contact-container\">\n <div part=\"contact-title\" class=\"contact-title\">\n {translate[state.language].contact} : \n </div>\n {state.currentTouristicEvent.contact && <div part=\"contact\" class=\"contact\" innerHTML={state.currentTouristicEvent.contact}></div>}\n {state.currentTouristicEvent.email && (\n <div part=\"email-container\" class=\"email-container\">\n <div part=\"email-title\" class=\"email-title\">\n {translate[state.language].email} : \n </div>\n <a href={'mailto:' + state.currentTouristicEvent.email} part=\"email\" class=\"email\" innerHTML={state.currentTouristicEvent.email}></a>\n </div>\n )}\n {state.currentTouristicEvent.website && (\n <div part=\"website-container\" class=\"website-container\">\n <div part=\"website-title\" class=\"website-title\">\n {translate[state.language].website} : \n </div>\n <a href={state.currentTouristicEvent.website} part=\"website\" class=\"website\" innerHTML={state.currentTouristicEvent.website}></a>\n </div>\n )}\n </div>\n </div>\n )}\n {this.grwApp && <div part=\"detail-bottom-space\" class=\"detail-bottom-space\"></div>}\n </div>\n )}\n </Host>\n );\n }\n}\n","import { Build, Component, h, Host, Prop } from '@stencil/core';\nimport { TouristicEvent } from 'components';\nimport { getAllDataInStore, getDataInStore } from 'services/grw-db.service';\nimport { getTouristicEvent } from 'services/touristic-events.service';\nimport state from 'store/store';\n\n@Component({\n tag: 'grw-touristic-event-provider',\n shadow: true,\n})\nexport class GrwTouristicEventProvider {\n @Prop() languages = 'fr';\n @Prop() api: string;\n @Prop() touristicEventId: number;\n @Prop() portals: string;\n\n controller = new AbortController();\n signal = this.controller.signal;\n init: RequestInit = { cache: Build.isDev ? 'force-cache' : 'default', signal: this.signal };\n\n connectedCallback() {\n if (!state.api) {\n state.api = this.api;\n state.languages = this.languages.split(',');\n state.language = state.languages[0];\n }\n this.handleTouristicEvent();\n }\n\n async handleTouristicEvent() {\n const touristicEventInStore: TouristicEvent = await getDataInStore('touristicEvents', this.touristicEventId);\n if (touristicEventInStore && touristicEventInStore.offline) {\n this.handleOfflineTouristicEvent(touristicEventInStore);\n } else {\n this.handleOnlineTouristicEvent();\n }\n }\n\n async handleOfflineTouristicEvent(touristicEvent: TouristicEvent) {\n if (!state.cities) {\n state.cities = await getAllDataInStore('cities');\n }\n if (!state.touristicEventTypes) {\n state.touristicEventTypes = await getAllDataInStore('touristicEventTypes');\n }\n state.currentTouristicEvent = touristicEvent;\n }\n\n handleOnlineTouristicEvent() {\n const requests = [];\n requests.push(!state.cities ? fetch(`${state.api}city/?language=${state.language}&fields=id,name&published=true&page_size=999`, this.init) : new Response('null'));\n requests.push(\n !state.touristicEventTypes\n ? fetch(\n `${state.api}touristicevent_type/?language=${state.language}${\n this.portals ? '&portals='.concat(this.portals) : ''\n }&published=true&fields=id,type,pictogram&page_size=999`,\n this.init,\n )\n : new Response('null'),\n );\n\n try {\n Promise.all([...requests, getTouristicEvent(state.api, state.language, this.touristicEventId, this.init)])\n .then(responses => Promise.all(responses.map(response => response.json())))\n .then(([cities, touristicEventTypes, touristicEvent]) => {\n state.networkError = false;\n if (cities) {\n state.cities = cities.results;\n }\n if (touristicEventTypes) {\n state.touristicEventTypes = touristicEventTypes.results;\n }\n state.currentTouristicEvent = touristicEvent;\n });\n } catch (error) {\n if (!(error.code === DOMException.ABORT_ERR)) {\n state.networkError = true;\n }\n }\n }\n\n disconnectedCallback() {\n this.controller.abort();\n state.networkError = false;\n }\n\n render() {\n return <Host></Host>;\n }\n}\n","\n;(function (name, root, factory) {\n if (typeof exports === 'object') {\n module.exports = factory()\n module.exports['default'] = factory()\n }\n /* istanbul ignore next */\n else if (typeof define === 'function' && define.amd) {\n define(factory)\n }\n else {\n root[name] = factory()\n }\n}('slugify', this, function () {\n var charMap = JSON.parse('{\"$\":\"dollar\",\"%\":\"percent\",\"&\":\"and\",\"<\":\"less\",\">\":\"greater\",\"|\":\"or\",\"¢\":\"cent\",\"£\":\"pound\",\"¤\":\"currency\",\"¥\":\"yen\",\"©\":\"(c)\",\"ª\":\"a\",\"®\":\"(r)\",\"º\":\"o\",\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"Æ\":\"AE\",\"Ç\":\"C\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"Ð\":\"D\",\"Ñ\":\"N\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"Ý\":\"Y\",\"Þ\":\"TH\",\"ß\":\"ss\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"æ\":\"ae\",\"ç\":\"c\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"ð\":\"d\",\"ñ\":\"n\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"ý\":\"y\",\"þ\":\"th\",\"ÿ\":\"y\",\"Ā\":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":\"z\",\"Ž\":\"Z\",\"ž\":\"z\",\"Ə\":\"E\",\"ƒ\":\"f\",\"Ơ\":\"O\",\"ơ\":\"o\",\"Ư\":\"U\",\"ư\":\"u\",\"Lj\":\"LJ\",\"lj\":\"lj\",\"Nj\":\"NJ\",\"nj\":\"nj\",\"Ș\":\"S\",\"ș\":\"s\",\"Ț\":\"T\",\"ț\":\"t\",\"ə\":\"e\",\"˚\":\"o\",\"Ά\":\"A\",\"Έ\":\"E\",\"Ή\":\"H\",\"Ί\":\"I\",\"Ό\":\"O\",\"Ύ\":\"Y\",\"Ώ\":\"W\",\"ΐ\":\"i\",\"Α\":\"A\",\"Β\":\"B\",\"Γ\":\"G\",\"Δ\":\"D\",\"Ε\":\"E\",\"Ζ\":\"Z\",\"Η\":\"H\",\"Θ\":\"8\",\"Ι\":\"I\",\"Κ\":\"K\",\"Λ\":\"L\",\"Μ\":\"M\",\"Ν\":\"N\",\"Ξ\":\"3\",\"Ο\":\"O\",\"Π\":\"P\",\"Ρ\":\"R\",\"Σ\":\"S\",\"Τ\":\"T\",\"Υ\":\"Y\",\"Φ\":\"F\",\"Χ\":\"X\",\"Ψ\":\"PS\",\"Ω\":\"W\",\"Ϊ\":\"I\",\"Ϋ\":\"Y\",\"ά\":\"a\",\"έ\":\"e\",\"ή\":\"h\",\"ί\":\"i\",\"ΰ\":\"y\",\"α\":\"a\",\"β\":\"b\",\"γ\":\"g\",\"δ\":\"d\",\"ε\":\"e\",\"ζ\":\"z\",\"η\":\"h\",\"θ\":\"8\",\"ι\":\"i\",\"κ\":\"k\",\"λ\":\"l\",\"μ\":\"m\",\"ν\":\"n\",\"ξ\":\"3\",\"ο\":\"o\",\"π\":\"p\",\"ρ\":\"r\",\"ς\":\"s\",\"σ\":\"s\",\"τ\":\"t\",\"υ\":\"y\",\"φ\":\"f\",\"χ\":\"x\",\"ψ\":\"ps\",\"ω\":\"w\",\"ϊ\":\"i\",\"ϋ\":\"y\",\"ό\":\"o\",\"ύ\":\"y\",\"ώ\":\"w\",\"Ё\":\"Yo\",\"Ђ\":\"DJ\",\"Є\":\"Ye\",\"І\":\"I\",\"Ї\":\"Yi\",\"Ј\":\"J\",\"Љ\":\"LJ\",\"Њ\":\"NJ\",\"Ћ\":\"C\",\"Џ\":\"DZ\",\"А\":\"A\",\"Б\":\"B\",\"В\":\"V\",\"Г\":\"G\",\"Д\":\"D\",\"Е\":\"E\",\"Ж\":\"Zh\",\"З\":\"Z\",\"И\":\"I\",\"Й\":\"J\",\"К\":\"K\",\"Л\":\"L\",\"М\":\"M\",\"Н\":\"N\",\"О\":\"O\",\"П\":\"P\",\"Р\":\"R\",\"С\":\"S\",\"Т\":\"T\",\"У\":\"U\",\"Ф\":\"F\",\"Х\":\"H\",\"Ц\":\"C\",\"Ч\":\"Ch\",\"Ш\":\"Sh\",\"Щ\":\"Sh\",\"Ъ\":\"U\",\"Ы\":\"Y\",\"Ь\":\"\",\"Э\":\"E\",\"Ю\":\"Yu\",\"Я\":\"Ya\",\"а\":\"a\",\"б\":\"b\",\"в\":\"v\",\"г\":\"g\",\"д\":\"d\",\"е\":\"e\",\"ж\":\"zh\",\"з\":\"z\",\"и\":\"i\",\"й\":\"j\",\"к\":\"k\",\"л\":\"l\",\"м\":\"m\",\"н\":\"n\",\"о\":\"o\",\"п\":\"p\",\"р\":\"r\",\"с\":\"s\",\"т\":\"t\",\"у\":\"u\",\"ф\":\"f\",\"х\":\"h\",\"ц\":\"c\",\"ч\":\"ch\",\"ш\":\"sh\",\"щ\":\"sh\",\"ъ\":\"u\",\"ы\":\"y\",\"ь\":\"\",\"э\":\"e\",\"ю\":\"yu\",\"я\":\"ya\",\"ё\":\"yo\",\"ђ\":\"dj\",\"є\":\"ye\",\"і\":\"i\",\"ї\":\"yi\",\"ј\":\"j\",\"љ\":\"lj\",\"њ\":\"nj\",\"ћ\":\"c\",\"ѝ\":\"u\",\"џ\":\"dz\",\"Ґ\":\"G\",\"ґ\":\"g\",\"Ғ\":\"GH\",\"ғ\":\"gh\",\"Қ\":\"KH\",\"қ\":\"kh\",\"Ң\":\"NG\",\"ң\":\"ng\",\"Ү\":\"UE\",\"ү\":\"ue\",\"Ұ\":\"U\",\"ұ\":\"u\",\"Һ\":\"H\",\"һ\":\"h\",\"Ә\":\"AE\",\"ә\":\"ae\",\"Ө\":\"OE\",\"ө\":\"oe\",\"Ա\":\"A\",\"Բ\":\"B\",\"Գ\":\"G\",\"Դ\":\"D\",\"Ե\":\"E\",\"Զ\":\"Z\",\"Է\":\"E\\'\",\"Ը\":\"Y\\'\",\"Թ\":\"T\\'\",\"Ժ\":\"JH\",\"Ի\":\"I\",\"Լ\":\"L\",\"Խ\":\"X\",\"Ծ\":\"C\\'\",\"Կ\":\"K\",\"Հ\":\"H\",\"Ձ\":\"D\\'\",\"Ղ\":\"GH\",\"Ճ\":\"TW\",\"Մ\":\"M\",\"Յ\":\"Y\",\"Ն\":\"N\",\"Շ\":\"SH\",\"Չ\":\"CH\",\"Պ\":\"P\",\"Ջ\":\"J\",\"Ռ\":\"R\\'\",\"Ս\":\"S\",\"Վ\":\"V\",\"Տ\":\"T\",\"Ր\":\"R\",\"Ց\":\"C\",\"Փ\":\"P\\'\",\"Ք\":\"Q\\'\",\"Օ\":\"O\\'\\'\",\"Ֆ\":\"F\",\"և\":\"EV\",\"ء\":\"a\",\"آ\":\"aa\",\"أ\":\"a\",\"ؤ\":\"u\",\"إ\":\"i\",\"ئ\":\"e\",\"ا\":\"a\",\"ب\":\"b\",\"ة\":\"h\",\"ت\":\"t\",\"ث\":\"th\",\"ج\":\"j\",\"ح\":\"h\",\"خ\":\"kh\",\"د\":\"d\",\"ذ\":\"th\",\"ر\":\"r\",\"ز\":\"z\",\"س\":\"s\",\"ش\":\"sh\",\"ص\":\"s\",\"ض\":\"dh\",\"ط\":\"t\",\"ظ\":\"z\",\"ع\":\"a\",\"غ\":\"gh\",\"ف\":\"f\",\"ق\":\"q\",\"ك\":\"k\",\"ل\":\"l\",\"م\":\"m\",\"ن\":\"n\",\"ه\":\"h\",\"و\":\"w\",\"ى\":\"a\",\"ي\":\"y\",\"ً\":\"an\",\"ٌ\":\"on\",\"ٍ\":\"en\",\"َ\":\"a\",\"ُ\":\"u\",\"ِ\":\"e\",\"ْ\":\"\",\"٠\":\"0\",\"١\":\"1\",\"٢\":\"2\",\"٣\":\"3\",\"٤\":\"4\",\"٥\":\"5\",\"٦\":\"6\",\"٧\":\"7\",\"٨\":\"8\",\"٩\":\"9\",\"پ\":\"p\",\"چ\":\"ch\",\"ژ\":\"zh\",\"ک\":\"k\",\"گ\":\"g\",\"ی\":\"y\",\"۰\":\"0\",\"۱\":\"1\",\"۲\":\"2\",\"۳\":\"3\",\"۴\":\"4\",\"۵\":\"5\",\"۶\":\"6\",\"۷\":\"7\",\"۸\":\"8\",\"۹\":\"9\",\"฿\":\"baht\",\"ა\":\"a\",\"ბ\":\"b\",\"გ\":\"g\",\"დ\":\"d\",\"ე\":\"e\",\"ვ\":\"v\",\"ზ\":\"z\",\"თ\":\"t\",\"ი\":\"i\",\"კ\":\"k\",\"ლ\":\"l\",\"მ\":\"m\",\"ნ\":\"n\",\"ო\":\"o\",\"პ\":\"p\",\"ჟ\":\"zh\",\"რ\":\"r\",\"ს\":\"s\",\"ტ\":\"t\",\"უ\":\"u\",\"ფ\":\"f\",\"ქ\":\"k\",\"ღ\":\"gh\",\"ყ\":\"q\",\"შ\":\"sh\",\"ჩ\":\"ch\",\"ც\":\"ts\",\"ძ\":\"dz\",\"წ\":\"ts\",\"ჭ\":\"ch\",\"ხ\":\"kh\",\"ჯ\":\"j\",\"ჰ\":\"h\",\"Ṣ\":\"S\",\"ṣ\":\"s\",\"Ẁ\":\"W\",\"ẁ\":\"w\",\"Ẃ\":\"W\",\"ẃ\":\"w\",\"Ẅ\":\"W\",\"ẅ\":\"w\",\"ẞ\":\"SS\",\"Ạ\":\"A\",\"ạ\":\"a\",\"Ả\":\"A\",\"ả\":\"a\",\"Ấ\":\"A\",\"ấ\":\"a\",\"Ầ\":\"A\",\"ầ\":\"a\",\"Ẩ\":\"A\",\"ẩ\":\"a\",\"Ẫ\":\"A\",\"ẫ\":\"a\",\"Ậ\":\"A\",\"ậ\":\"a\",\"Ắ\":\"A\",\"ắ\":\"a\",\"Ằ\":\"A\",\"ằ\":\"a\",\"Ẳ\":\"A\",\"ẳ\":\"a\",\"Ẵ\":\"A\",\"ẵ\":\"a\",\"Ặ\":\"A\",\"ặ\":\"a\",\"Ẹ\":\"E\",\"ẹ\":\"e\",\"Ẻ\":\"E\",\"ẻ\":\"e\",\"Ẽ\":\"E\",\"ẽ\":\"e\",\"Ế\":\"E\",\"ế\":\"e\",\"Ề\":\"E\",\"ề\":\"e\",\"Ể\":\"E\",\"ể\":\"e\",\"Ễ\":\"E\",\"ễ\":\"e\",\"Ệ\":\"E\",\"ệ\":\"e\",\"Ỉ\":\"I\",\"ỉ\":\"i\",\"Ị\":\"I\",\"ị\":\"i\",\"Ọ\":\"O\",\"ọ\":\"o\",\"Ỏ\":\"O\",\"ỏ\":\"o\",\"Ố\":\"O\",\"ố\":\"o\",\"Ồ\":\"O\",\"ồ\":\"o\",\"Ổ\":\"O\",\"ổ\":\"o\",\"Ỗ\":\"O\",\"ỗ\":\"o\",\"Ộ\":\"O\",\"ộ\":\"o\",\"Ớ\":\"O\",\"ớ\":\"o\",\"Ờ\":\"O\",\"ờ\":\"o\",\"Ở\":\"O\",\"ở\":\"o\",\"Ỡ\":\"O\",\"ỡ\":\"o\",\"Ợ\":\"O\",\"ợ\":\"o\",\"Ụ\":\"U\",\"ụ\":\"u\",\"Ủ\":\"U\",\"ủ\":\"u\",\"Ứ\":\"U\",\"ứ\":\"u\",\"Ừ\":\"U\",\"ừ\":\"u\",\"Ử\":\"U\",\"ử\":\"u\",\"Ữ\":\"U\",\"ữ\":\"u\",\"Ự\":\"U\",\"ự\":\"u\",\"Ỳ\":\"Y\",\"ỳ\":\"y\",\"Ỵ\":\"Y\",\"ỵ\":\"y\",\"Ỷ\":\"Y\",\"ỷ\":\"y\",\"Ỹ\":\"Y\",\"ỹ\":\"y\",\"–\":\"-\",\"‘\":\"\\'\",\"’\":\"\\'\",\"“\":\"\\\\\\\"\",\"”\":\"\\\\\\\"\",\"„\":\"\\\\\\\"\",\"†\":\"+\",\"•\":\"*\",\"…\":\"...\",\"₠\":\"ecu\",\"₢\":\"cruzeiro\",\"₣\":\"french franc\",\"₤\":\"lira\",\"₥\":\"mill\",\"₦\":\"naira\",\"₧\":\"peseta\",\"₨\":\"rupee\",\"₩\":\"won\",\"₪\":\"new shequel\",\"₫\":\"dong\",\"€\":\"euro\",\"₭\":\"kip\",\"₮\":\"tugrik\",\"₯\":\"drachma\",\"₰\":\"penny\",\"₱\":\"peso\",\"₲\":\"guarani\",\"₳\":\"austral\",\"₴\":\"hryvnia\",\"₵\":\"cedi\",\"₸\":\"kazakhstani tenge\",\"₹\":\"indian rupee\",\"₺\":\"turkish lira\",\"₽\":\"russian ruble\",\"₿\":\"bitcoin\",\"℠\":\"sm\",\"™\":\"tm\",\"∂\":\"d\",\"∆\":\"delta\",\"∑\":\"sum\",\"∞\":\"infinity\",\"♥\":\"love\",\"元\":\"yuan\",\"円\":\"yen\",\"﷼\":\"rial\",\"ﻵ\":\"laa\",\"ﻷ\":\"laa\",\"ﻹ\":\"lai\",\"ﻻ\":\"la\"}')\n var locales = JSON.parse('{\"bg\":{\"Й\":\"Y\",\"Ц\":\"Ts\",\"Щ\":\"Sht\",\"Ъ\":\"A\",\"Ь\":\"Y\",\"й\":\"y\",\"ц\":\"ts\",\"щ\":\"sht\",\"ъ\":\"a\",\"ь\":\"y\"},\"de\":{\"Ä\":\"AE\",\"ä\":\"ae\",\"Ö\":\"OE\",\"ö\":\"oe\",\"Ü\":\"UE\",\"ü\":\"ue\",\"ß\":\"ss\",\"%\":\"prozent\",\"&\":\"und\",\"|\":\"oder\",\"∑\":\"summe\",\"∞\":\"unendlich\",\"♥\":\"liebe\"},\"es\":{\"%\":\"por ciento\",\"&\":\"y\",\"<\":\"menor que\",\">\":\"mayor que\",\"|\":\"o\",\"¢\":\"centavos\",\"£\":\"libras\",\"¤\":\"moneda\",\"₣\":\"francos\",\"∑\":\"suma\",\"∞\":\"infinito\",\"♥\":\"amor\"},\"fr\":{\"%\":\"pourcent\",\"&\":\"et\",\"<\":\"plus petit\",\">\":\"plus grand\",\"|\":\"ou\",\"¢\":\"centime\",\"£\":\"livre\",\"¤\":\"devise\",\"₣\":\"franc\",\"∑\":\"somme\",\"∞\":\"infini\",\"♥\":\"amour\"},\"pt\":{\"%\":\"porcento\",\"&\":\"e\",\"<\":\"menor\",\">\":\"maior\",\"|\":\"ou\",\"¢\":\"centavo\",\"∑\":\"soma\",\"£\":\"libra\",\"∞\":\"infinito\",\"♥\":\"amor\"},\"uk\":{\"И\":\"Y\",\"и\":\"y\",\"Й\":\"Y\",\"й\":\"y\",\"Ц\":\"Ts\",\"ц\":\"ts\",\"Х\":\"Kh\",\"х\":\"kh\",\"Щ\":\"Shch\",\"щ\":\"shch\",\"Г\":\"H\",\"г\":\"h\"},\"vi\":{\"Đ\":\"D\",\"đ\":\"d\"},\"da\":{\"Ø\":\"OE\",\"ø\":\"oe\",\"Å\":\"AA\",\"å\":\"aa\",\"%\":\"procent\",\"&\":\"og\",\"|\":\"eller\",\"$\":\"dollar\",\"<\":\"mindre end\",\">\":\"større end\"},\"nb\":{\"&\":\"og\",\"Å\":\"AA\",\"Æ\":\"AE\",\"Ø\":\"OE\",\"å\":\"aa\",\"æ\":\"ae\",\"ø\":\"oe\"},\"it\":{\"&\":\"e\"},\"nl\":{\"&\":\"en\"},\"sv\":{\"&\":\"och\",\"Å\":\"AA\",\"Ä\":\"AE\",\"Ö\":\"OE\",\"å\":\"aa\",\"ä\":\"ae\",\"ö\":\"oe\"}}')\n\n function replace (string, options) {\n if (typeof string !== 'string') {\n throw new Error('slugify: string argument expected')\n }\n\n options = (typeof options === 'string')\n ? {replacement: options}\n : options || {}\n\n var locale = locales[options.locale] || {}\n\n var replacement = options.replacement === undefined ? '-' : options.replacement\n\n var trim = options.trim === undefined ? true : options.trim\n\n var slug = string.normalize().split('')\n // replace characters based on charMap\n .reduce(function (result, ch) {\n var appendChar = locale[ch];\n if (appendChar === undefined) appendChar = charMap[ch];\n if (appendChar === undefined) appendChar = ch;\n if (appendChar === replacement) appendChar = ' ';\n return result + appendChar\n // remove not allowed characters\n .replace(options.remove || /[^\\w\\s$*_+~.()'\"!\\-:@]+/g, '')\n }, '');\n\n if (options.strict) {\n slug = slug.replace(/[^A-Za-z0-9\\s]/g, '');\n }\n\n if (trim) {\n slug = slug.trim()\n }\n\n // Replace spaces with replacement character, treating multiple consecutive\n // spaces as a single space.\n slug = slug.replace(/\\s+/g, replacement);\n\n if (options.lower) {\n slug = slug.toLowerCase()\n }\n\n return slug\n }\n\n replace.extend = function (customMap) {\n Object.assign(charMap, customMap)\n }\n\n return replace\n}))\n",".trek-card-container,\n.trek-card-large-view-container {\n cursor: pointer;\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n .trek-img {\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n .default-trek-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .trek-sub-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 8px 16px;\n .trek-name {\n color: var(--color-primary-app);\n font-size: 22px;\n line-height: 28px;\n font-weight: 400;\n margin-bottom: 8px;\n }\n .trek-departure {\n color: var(--color-on-surface);\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n margin-bottom: 4px;\n }\n .trek-themes-container {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n .trek-theme {\n background-color: var(--color-secondary-container);\n color: var(--color-on-secondary-container);\n border-radius: var(--border-radius, 40px);\n padding: 8px 16px;\n margin: 0px 8px 8px 0px;\n box-shadow: var(--elevation-0);\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n }\n }\n .trek-icons-labels-container {\n padding: 0px 0px 8px 0px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n gap: 16px;\n .trek-icon-label {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n width: calc((100% / 2) - 16px);\n .trek-icon {\n display: flex;\n font-size: 24px;\n width: 24px;\n height: 24px;\n color: var(--color-primary-app);\n margin-right: 8px;\n }\n .network {\n &:not(:last-child) {\n margin-right: 16px;\n }\n }\n .trek-label {\n text-overflow: ellipsis;\n overflow: hidden;\n }\n }\n .practice {\n img {\n background-color: var(--color-primary-app);\n }\n }\n }\n }\n}\n\n.selected-trek-card {\n box-shadow: var(--elevation-2);\n}\n\n.trek-card-container {\n width: 100%;\n max-width: 350px;\n .trek-img-container {\n height: 200px;\n .trek-img {\n width: 100%;\n height: 100%;\n }\n }\n}\n\n.trek-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .trek-img-container {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n .trek-img {\n width: 250px;\n height: inherit;\n border-bottom-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 0px);\n }\n }\n}\n\n.trek-step-card {\n width: auto;\n}\n\n.trek-card-container .trek-sub-container .trek-departure {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 56px;\n}\n\n.trek-card-container .trek-sub-container .trek-name {\n height: 56px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n}\n\n.is-current-step {\n background-color: var(--color-surface-variant);\n}\n\n.practice {\n .trek-icon {\n border-radius: 100%;\n padding: 2px;\n max-height: 20px;\n max-width: 20px;\n }\n}\n\n.trek-img-container {\n position: relative;\n .offline-indicator {\n display: flex;\n background: #ffffff;\n border-radius: 24px;\n height: 24px;\n width: 24px;\n top: 16px;\n right: 16px;\n position: absolute;\n color: var(--color-on-surface);\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, State, Listen, Fragment, getAssetPath, Build } from '@stencil/core';\nimport { trekIsAvailableOffline } from 'services/treks.service';\nimport state, { onChange } from 'store/store';\nimport { City, Difficulty, Practice, Route, Themes, Trek } from 'types/types';\nimport { formatDuration, formatLength, formatAscent } from 'utils/utils';\nimport OfflinePinIcon from '../../assets/offline_pin.svg';\nimport TimelapseIcon from '../../assets/timelapse.svg';\nimport OpenInFullIcon from '../../assets/open_in_full.svg';\nimport MovingIcon from '../../assets/moving.svg';\nimport slugify from 'slugify';\n\n@Component({\n tag: 'grw-trek-card',\n styleUrl: 'grw-trek-card.scss',\n shadow: true,\n})\nexport class GrwTrekCard {\n @Event() trekCardPress: EventEmitter<number>;\n @State() currentTrek: Trek;\n @State() difficulty: Difficulty;\n @State() route: Route;\n @State() practice: Practice;\n @State() themes: Themes;\n @State() departureCity: City;\n @Prop() trek: Trek;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6b0030';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() isLargeView = false;\n @Prop() isStep: false;\n\n @Event() cardTrekMouseOver: EventEmitter<number>;\n @Event() cardTrekMouseLeave: EventEmitter;\n\n @State() isAvailableOffline = false;\n @State() showDefaultImage = false;\n\n @Prop() grwApp = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n this.isAvailableOffline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.isAvailableOffline = false;\n }\n\n connectedCallback() {\n this.currentTrek = this.trek ? this.trek : state.currentTrek;\n if (this.currentTrek) {\n this.difficulty = state.difficulties.find(difficulty => difficulty.id === this.currentTrek.difficulty);\n this.route = state.routes.find(route => route.id === this.currentTrek.route);\n this.practice = state.practices.find(practice => practice.id === this.currentTrek.practice);\n this.themes = state.themes.filter(theme => this.currentTrek.themes.includes(theme.id));\n this.departureCity = state.cities.find(city => city.id === this.currentTrek.departure_city);\n this.handleOffline(this.currentTrek.id);\n }\n onChange('currentTrek', () => {\n this.currentTrek = this.trek ? this.trek : state.currentTrek;\n if (this.currentTrek) {\n this.difficulty = this.currentTrek.difficulty && state.difficulties ? state.difficulties.find(difficulty => difficulty.id === this.currentTrek.difficulty) : null;\n this.route = this.currentTrek.route && state.routes ? state.routes.find(route => route.id === this.currentTrek.route) : null;\n this.practice = this.currentTrek.practice && state.practices ? state.practices.find(practice => practice.id === this.currentTrek.practice) : null;\n this.themes = this.currentTrek.themes && state.themes ? state.themes.filter(theme => this.currentTrek.themes.includes(theme.id)) : null;\n this.departureCity = this.currentTrek.departure_city && state.cities ? state.cities.find(city => city.id === this.currentTrek.departure_city) : null;\n this.handleOffline(this.currentTrek.id);\n }\n });\n }\n\n async handleOffline(trekId) {\n this.isAvailableOffline = await trekIsAvailableOffline(trekId);\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTrekMouseOver.emit(this.currentTrek.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTrekMouseLeave.emit();\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-surface': this.colorOnSurface,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n }}\n >\n {this.currentTrek && (\n <div\n part=\"trek-card\"\n class={\n this.isStep\n ? `trek-card trek-card-container trek-step-card${state.selectedStepId === this.currentTrek.id ? ' selected-trek-card' : ''} ${\n state.currentTrek && state.currentTrek.id === this.currentTrek.id ? 'is-current-step' : ''\n }`\n : this.isLargeView\n ? `trek-card trek-card-large-view-container${state.selectedTrekId === this.currentTrek.id ? ' selected-trek-card' : ''}`\n : `trek-card trek-card-container${state.selectedTrekId === this.currentTrek.id ? ' selected-trek-card' : ''}`\n }\n onClick={() => {\n if (this.grwApp) {\n this.trekCardPress.emit(this.currentTrek.id);\n } else {\n window.location.href = slugify(`${this.currentTrek.name}`);\n }\n }}\n >\n <div part=\"trek-img-container\" class=\"trek-img-container\">\n {this.isAvailableOffline && (\n <div part=\"offline-indicator\" class=\"offline-indicator\">\n <span part=\"icon\" class=\"icon\" innerHTML={OfflinePinIcon}></span>\n </div>\n )}\n {this.currentTrek.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n part=\"trek-img\"\n class=\"trek-img\"\n src={`${\n this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail !== ''\n ? this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail\n : this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].url\n }`}\n alt={`${this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].legend}`}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'trek-img default-trek-img';\n event.target.src = defaultImageSrc;\n }}\n />\n ) : (\n <img part=\"trek-img\" class=\"trek-img default-trek-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n )}\n </div>\n <div part=\"trek-sub-container\" class=\"trek-sub-container\">\n {this.departureCity && (\n <div part=\"trek-departure\" class=\"trek-departure\">\n {this.departureCity.name}\n </div>\n )}\n <div part=\"trek-name\" class=\"trek-name\">\n {this.currentTrek?.name}\n </div>\n {!this.isStep && this.themes && (\n <div part=\"trek-themes-container\" class=\"trek-themes-container\">\n {this.themes.map(theme => (\n <div part=\"trek-theme\" class=\"trek-theme\">\n {theme.label}\n </div>\n ))}\n </div>\n )}\n <div part=\"trek-icons-labels-container\" class=\"trek-icons-labels-container\">\n {this.difficulty && (\n <div part=\"trek-icon-label\" class=\"trek-icon-label difficulty\">\n {this.difficulty.pictogram && <img part=\"trek-icon\" class=\"trek-icon\" src={this.difficulty.pictogram} alt=\"\" />}\n <span part=\"trek-label\" class=\"trek-label\">\n {this.difficulty.label}\n </span>\n </div>\n )}\n <div part=\"trek-icon-label\" class=\"trek-icon-label duration\">\n <span part=\"trek-icon\" class=\"trek-icon\" innerHTML={TimelapseIcon}></span>\n <span part=\"trek-label\" class=\"trek-label\">\n {formatDuration(this.currentTrek.duration)}\n </span>\n </div>\n <div part=\"trek-icon-label\" class=\"trek-icon-label length\">\n <span part=\"trek-icon\" class=\"trek-icon\" innerHTML={OpenInFullIcon}></span>\n <span part=\"trek-label\" class=\"trek-label\">\n {formatLength(this.currentTrek.length_2d)}\n </span>\n </div>\n <div part=\"trek-icon-label\" class=\"trek-icon-label ascent\">\n <span part=\"trek-icon\" class=\"trek-icon\" innerHTML={MovingIcon}></span>\n <span part=\"trek-label\" class=\"trek-label\">\n {formatAscent(this.currentTrek.ascent)}\n </span>\n </div>\n {!this.isStep && (\n <Fragment>\n <div part=\"trek-icon-label\" class=\"trek-icon-label route\">\n {this.route?.pictogram && <img part=\"trek-icon\" class=\"trek-icon\" src={this.route.pictogram} alt=\"\" />}\n <span part=\"trek-label\" class=\"trek-label\">\n {this.route?.route}\n </span>\n </div>\n <div part=\"trek-icon-label\" class=\"trek-icon-label practice\">\n {this.practice?.pictogram && <img part=\"trek-icon\" class=\"trek-icon\" src={this.practice.pictogram} alt=\"\" />}\n <span part=\"trek-label\" class=\"trek-label\">\n {this.practice?.name}\n </span>\n </div>\n </Fragment>\n )}\n </div>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"0bAAA,MAAMA,EAAqB,03CAC3B,MAAAC,EAAeD,E,MCOFE,EAAe,M,8FAEL,S,qBACK,U,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