@geotrekce/geotrek-rando-widget 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/geotrek-rando-widget.cjs.js +1 -1
- package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
- package/dist/cjs/grw-app.cjs.entry.js +5 -4
- 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_27.cjs.entry.js +14 -12
- package/dist/cjs/grw-common-button_27.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_27.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_27.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-information-desk_3.cjs.entry.js +1 -1
- package/dist/cjs/grw-information-desk_3.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js +1 -1
- package/dist/cjs/grw-poi_3.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/{i18n-6ca467ef.js → i18n-f3fb068e.js} +19 -19
- package/dist/cjs/i18n-f3fb068e.js.br +0 -0
- package/dist/cjs/i18n-f3fb068e.js.gz +0 -0
- package/dist/cjs/i18n-f3fb068e.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.br +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js +28 -9
- 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-filters/grw-filters.css +0 -1
- package/dist/collection/components/grw-filters/grw-filters.css.br +0 -0
- package/dist/collection/components/grw-filters/grw-filters.css.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.css +30 -13
- 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 +30 -10
- 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-sites-list/grw-outdoor-sites-list.css +1 -1
- package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.css.br +0 -0
- package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.css.gz +0 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js +1 -1
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.br +0 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.gz +0 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.map +1 -1
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css +1 -1
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.br +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.gz +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css +1 -1
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.br +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.gz +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.css +1 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.css.br +2 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.css.gz +0 -0
- package/dist/collection/i18n/i18n.js +18 -18
- package/dist/collection/i18n/i18n.js.br +0 -0
- package/dist/collection/i18n/i18n.js.gz +0 -0
- package/dist/collection/i18n/i18n.js.map +1 -1
- package/dist/collection/stories/App.js +1 -2
- package/dist/collection/stories/App.js.br +0 -0
- package/dist/collection/stories/App.js.gz +0 -0
- package/dist/collection/stories/App.stories.js +0 -1
- package/dist/collection/stories/App.stories.js.br +0 -0
- package/dist/collection/stories/App.stories.js.gz +0 -0
- package/dist/collection/stories/TrekMap.js +0 -2
- package/dist/collection/stories/TrekMap.js.br +0 -0
- package/dist/collection/stories/TrekMap.js.gz +0 -0
- package/dist/collection/stories/TrekMap.stories.js +0 -1
- package/dist/collection/stories/TrekMap.stories.js.br +0 -0
- package/dist/collection/stories/TrekMap.stories.js.gz +0 -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 +5 -4
- 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_27.entry.js +14 -12
- package/dist/esm/grw-common-button_27.entry.js.br +0 -0
- package/dist/esm/grw-common-button_27.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_27.entry.js.map +1 -1
- package/dist/esm/grw-information-desk_3.entry.js +1 -1
- package/dist/esm/grw-information-desk_3.entry.js.br +0 -0
- package/dist/esm/grw-information-desk_3.entry.js.gz +0 -0
- package/dist/esm/grw-poi_3.entry.js +1 -1
- package/dist/esm/grw-poi_3.entry.js.br +0 -0
- package/dist/esm/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm/{i18n-36bd9b96.js → i18n-7d108efc.js} +19 -19
- package/dist/esm/i18n-7d108efc.js.br +0 -0
- package/dist/esm/i18n-7d108efc.js.gz +0 -0
- package/dist/esm/i18n-7d108efc.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm-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_27.entry.js +3 -3
- package/dist/esm-es5/grw-common-button_27.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_27.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_27.entry.js.map +1 -1
- package/dist/esm-es5/grw-information-desk_3.entry.js +1 -1
- package/dist/esm-es5/grw-information-desk_3.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk_3.entry.js.gz +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js +1 -1
- package/dist/esm-es5/grw-poi_3.entry.js.br +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm-es5/i18n-7d108efc.js +2 -0
- package/dist/esm-es5/i18n-7d108efc.js.br +0 -0
- package/dist/esm-es5/i18n-7d108efc.js.gz +0 -0
- package/dist/esm-es5/i18n-7d108efc.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.css +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.css.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.css.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/p-16908b8a.system.js +1 -1
- package/dist/geotrek-rando-widget/p-16908b8a.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-16908b8a.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-16908b8a.system.js.map +1 -1
- package/dist/geotrek-rando-widget/p-2465f51a.entry.js +10 -0
- package/dist/geotrek-rando-widget/p-2465f51a.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2465f51a.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-2465f51a.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-64af17f8.entry.js → p-2c80b375.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-2c80b375.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2c80b375.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-5621a91a.system.entry.js → p-3a165a98.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-3a165a98.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3a165a98.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5503403c.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-5503403c.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5503403c.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5503403c.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-571717a3.system.js +2 -0
- package/dist/geotrek-rando-widget/p-571717a3.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-571717a3.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-571717a3.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-59e0e6c8.js +2 -0
- package/dist/geotrek-rando-widget/p-59e0e6c8.js.br +0 -0
- package/dist/geotrek-rando-widget/p-59e0e6c8.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-59e0e6c8.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-cb9201fe.system.entry.js → p-90aad5d0.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-90aad5d0.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-90aad5d0.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b78f9ed0.system.entry.js +10 -0
- package/dist/geotrek-rando-widget/p-b78f9ed0.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b78f9ed0.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b78f9ed0.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-db095c04.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-db095c04.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-db095c04.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-db095c04.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-d7c5d6de.entry.js → p-ebf9d773.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-ebf9d773.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ebf9d773.entry.js.gz +0 -0
- package/dist/types/components/grw-app/grw-app.d.ts +2 -1
- package/dist/types/components/grw-map/grw-map.d.ts +2 -2
- package/dist/types/components.d.ts +8 -4
- package/package.json +1 -1
- package/dist/cjs/i18n-6ca467ef.js.br +0 -0
- package/dist/cjs/i18n-6ca467ef.js.gz +0 -0
- package/dist/cjs/i18n-6ca467ef.js.map +0 -1
- package/dist/esm/i18n-36bd9b96.js.br +0 -0
- package/dist/esm/i18n-36bd9b96.js.gz +0 -0
- package/dist/esm/i18n-36bd9b96.js.map +0 -1
- package/dist/esm-es5/i18n-36bd9b96.js +0 -2
- package/dist/esm-es5/i18n-36bd9b96.js.br +0 -0
- package/dist/esm-es5/i18n-36bd9b96.js.gz +0 -0
- package/dist/esm-es5/i18n-36bd9b96.js.map +0 -1
- package/dist/geotrek-rando-widget/p-46845144.js +0 -2
- package/dist/geotrek-rando-widget/p-46845144.js.br +0 -0
- package/dist/geotrek-rando-widget/p-46845144.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-46845144.js.map +0 -1
- package/dist/geotrek-rando-widget/p-5621a91a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5621a91a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-64af17f8.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-64af17f8.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7fc743e6.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-7fc743e6.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7fc743e6.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7fc743e6.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-93d45bfd.entry.js +0 -10
- package/dist/geotrek-rando-widget/p-93d45bfd.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-93d45bfd.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-93d45bfd.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-cb9201fe.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cb9201fe.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d7c5d6de.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d7c5d6de.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ee0ba2c9.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-ee0ba2c9.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ee0ba2c9.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ee0ba2c9.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-f1fff894.system.js +0 -2
- package/dist/geotrek-rando-widget/p-f1fff894.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f1fff894.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f1fff894.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-f3807f6a.system.entry.js +0 -10
- package/dist/geotrek-rando-widget/p-f3807f6a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f3807f6a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f3807f6a.system.entry.js.map +0 -1
- /package/dist/geotrek-rando-widget/{p-64af17f8.entry.js.map → p-2c80b375.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-5621a91a.system.entry.js.map → p-3a165a98.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-cb9201fe.system.entry.js.map → p-90aad5d0.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-d7c5d6de.entry.js.map → p-ebf9d773.entry.js.map} +0 -0
|
@@ -22,7 +22,7 @@ const patchBrowser = () => {
|
|
|
22
22
|
|
|
23
23
|
patchBrowser().then(async (options) => {
|
|
24
24
|
await appGlobals.globalScripts();
|
|
25
|
-
return index.bootstrapLazy(JSON.parse("[[\"grw-app.cjs\",[[0,\"grw-app\",{\"appWidth\":[1,\"app-width\"],\"appHeight\":[1,\"app-height\"],\"api\":[1],\"languages\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1],\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"weather\":[4],\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorPrimary\":[1,\"color-primary\"],\"colorOnPrimary\":[1,\"color-on-primary\"],\"colorSurface\":[1,\"color-surface\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSurfaceVariant\":[1,\"color-surface-variant\"],\"colorOnSurfaceVariant\":[1,\"color-on-surface-variant\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorSurfaceContainerHigh\":[1,\"color-surface-container-high\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"rounded\":[4],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorPoiIcon\":[1,\"color-poi-icon\"],\"colorOutdoorArea\":[1,\"color-outdoor-area\"],\"useGradient\":[4,\"use-gradient\"],\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"outdoor\":[4],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"trekTilesMinZoomOffline\":[2,\"trek-tiles-min-zoom-offline\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showOutdoorSite\":[32],\"showOutdoorCourse\":[32],\"showOutdoorSiteMap\":[32],\"showOutdoorCourseMap\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32],\"currentOutdoorSiteId\":[32],\"currentOutdoorCourseId\":[32],\"showOfflineModal\":[32],\"showConfirmModal\":[32],\"showLoaderModal\":[32],\"showSuccessModal\":[32],\"showConfirmDeleteModal\":[32],\"showDeletingMessage\":[32],\"showDeleteSuccessMessage\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[8,\"outdoorSiteCardPress\",\"onOutdoorSiteCardPress\"],[8,\"outdoorCourseCardPress\",\"onOutdoorCourseCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"trekDownloadConfirm\",\"onTrekDownloadConfirm\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteConfirm\",\"onTrekDeleteConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]],{\"isLargeView\":[\"watchPropHandler\"]}]]],[\"grw-outdoor-courses-provider.cjs\",[[1,\"grw-outdoor-courses-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}]]],[\"grw-filter.cjs\",[[1,\"grw-filter\",{\"fontFamily\":[1,\"font-family\"],\"filterType\":[1,\"filter-type\"],\"filterName\":[1,\"filter-name\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterNameProperty\":[1,\"filter-name-property\"],\"segment\":[1]},[[8,\"resetFilter\",\"onResetFilter\"]]]]],[\"grw-sensitive-area-detail_2.cjs\",[[1,\"grw-sensitive-area-detail\",{\"sensitiveArea\":[16]}],[1,\"grw-trek-card\",{\"trek\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isStep\":[4,\"is-step\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32],\"isAvailableOffline\":[32],\"showDefaultImage\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-information-desk_3.cjs\",[[1,\"grw-outdoor-course-card\",{\"outdoorCourse\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-information-desk\",{\"informationDesk\":[16],\"displayShortDescription\":[32],\"showInformationDeskDescriptionButton\":[32],\"offline\":[32],\"showDefaultImage\":[32]}],[1,\"grw-outdoor-site-card\",{\"outdoorSite\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-poi_3.cjs\",[[1,\"grw-poi\",{\"poi\":[16],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]],[1,\"grw-touristic-content-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicContent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-common-button_27.cjs\",[[1,\"grw-outdoor-site-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"weather\":[4],\"displayFullscreen\":[32],\"currentOutdoorSite\":[32]}],[1,\"grw-trek-detail\",{\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"defaultBackgroundLayerUrl\":[8,\"default-background-layer-url\"],\"defaultBackgroundLayerAttribution\":[8,\"default-background-layer-attribution\"],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"trekTilesMinZoomOffline\":[2,\"trek-tiles-min-zoom-offline\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32],\"offline\":[32]},[[8,\"trekDownloadPress\",\"onTrekDownloadPress\"],[8,\"trekDeletePress\",\"onTrekDeletePress\"]]],[1,\"grw-outdoor-course-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"weather\":[4],\"displayFullscreen\":[32],\"currentOutdoorCourse\":[32]}],[1,\"grw-filters\",{\"handleFilters\":[16],\"fontFamily\":[1,\"font-family\"],\"selectedSegment\":[32]}],[1,\"grw-outdoor-sites-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"outdoorSitesToDisplay\":[32]}],[1,\"grw-touristic-contents-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicContentsToDisplay\":[32]}],[1,\"grw-touristic-events-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicEventsToDisplay\":[32]}],[1,\"grw-treks-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayOnlyOfflineTreks\":[4,\"display-only-offline-treks\"],\"isLargeView\":[4,\"is-large-view\"],\"treksToDisplay\":[32]}],[1,\"grw-common-button\",{\"action\":[16],\"icon\":[1],\"name\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-extended-fab\",{\"action\":[16],\"icon\":[16],\"name\":[16],\"display\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-loader\",{\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"]}],[1,\"grw-map\",{\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorPoiIcon\":[1,\"color-poi-icon\"],\"colorOutdoorArea\":[1,\"color-outdoor-area\"],\"useGradient\":[4,\"use-gradient\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"isLargeView\":[4,\"is-large-view\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"informationPlacesIsInViewport\",\"onInformationPlacesIsInViewport\"],[8,\"sensitiveAreaIsInViewport\",\"sensitiveAreaIsInViewport\"],[8,\"poiIsInViewport\",\"poiIsInViewport\"],[8,\"touristicContentsIsInViewport\",\"touristicContentsIsInViewport\"],[8,\"touristicEventsIsInViewport\",\"touristicEventsIsInViewport\"],[8,\"sitesIsInViewport\",\"sitesIsInViewport\"],[8,\"coursesIsInViewport\",\"coursesIsInViewport\"],[8,\"cardTrekMouseOver\",\"onCardTrekMouseOver\"],[8,\"cardTrekMouseLeave\",\"onCardTrekMouseLeave\"],[8,\"cardTouristicContentMouseOver\",\"onTouristicContentMouseOver\"],[8,\"cardTouristicContentMouseLeave\",\"onTouristicContentMouseLeave\"],[8,\"cardTouristicEventMouseOver\",\"onTouristicEventMouseOver\"],[8,\"cardTouristicEventMouseLeave\",\"onTouristicEventMouseLeave\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[8,\"cardOutdoorSiteMouseOver\",\"onOutdoorSiteMouseOver\"],[8,\"cardOutdoorSiteMouseLeave\",\"onOutdoorSiteMouseLeave\"]]],[1,\"grw-outdoor-course-provider\",{\"languages\":[1],\"api\":[1],\"outdoorCourseId\":[2,\"outdoor-course-id\"],\"portals\":[1]}],[1,\"grw-outdoor-site-provider\",{\"languages\":[1],\"api\":[1],\"outdoorSiteId\":[2,\"outdoor-site-id\"],\"portals\":[1]}],[1,\"grw-outdoor-sites-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-search\",{\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-segmented-segment\",{\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"outdoor\":[4],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-select-language\"],[1,\"grw-switch\",{\"action\":[16],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-touristic-content-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[2,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[2,\"touristic-event-id\"],\"portals\":[1]}],[1,\"grw-touristic-events-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-trek-provider\",{\"languages\":[1],\"api\":[1],\"trekId\":[2,\"trek-id\"],\"portals\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1]}],[1,\"grw-treks-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1]}]]]]"), options);
|
|
25
|
+
return index.bootstrapLazy(JSON.parse("[[\"grw-app.cjs\",[[0,\"grw-app\",{\"appWidth\":[1,\"app-width\"],\"appHeight\":[1,\"app-height\"],\"api\":[1],\"languages\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1],\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"weather\":[4],\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorPrimary\":[1,\"color-primary\"],\"colorOnPrimary\":[1,\"color-on-primary\"],\"colorSurface\":[1,\"color-surface\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSurfaceVariant\":[1,\"color-surface-variant\"],\"colorOnSurfaceVariant\":[1,\"color-on-surface-variant\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorSurfaceContainerHigh\":[1,\"color-surface-container-high\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"rounded\":[4],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorMarkers\":[8,\"color-markers\"],\"colorClusters\":[8,\"color-clusters\"],\"colorOutdoorArea\":[1,\"color-outdoor-area\"],\"useGradient\":[4,\"use-gradient\"],\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"outdoor\":[4],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"trekTilesMinZoomOffline\":[2,\"trek-tiles-min-zoom-offline\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showOutdoorSite\":[32],\"showOutdoorCourse\":[32],\"showOutdoorSiteMap\":[32],\"showOutdoorCourseMap\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32],\"currentOutdoorSiteId\":[32],\"currentOutdoorCourseId\":[32],\"showOfflineModal\":[32],\"showConfirmModal\":[32],\"showLoaderModal\":[32],\"showSuccessModal\":[32],\"showConfirmDeleteModal\":[32],\"showDeletingMessage\":[32],\"showDeleteSuccessMessage\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[8,\"outdoorSiteCardPress\",\"onOutdoorSiteCardPress\"],[8,\"outdoorCourseCardPress\",\"onOutdoorCourseCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"trekDownloadConfirm\",\"onTrekDownloadConfirm\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteConfirm\",\"onTrekDeleteConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]],{\"isLargeView\":[\"watchPropHandler\"]}]]],[\"grw-outdoor-courses-provider.cjs\",[[1,\"grw-outdoor-courses-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}]]],[\"grw-filter.cjs\",[[1,\"grw-filter\",{\"fontFamily\":[1,\"font-family\"],\"filterType\":[1,\"filter-type\"],\"filterName\":[1,\"filter-name\"],\"filterPlaceholder\":[1,\"filter-placeholder\"],\"filterNameProperty\":[1,\"filter-name-property\"],\"segment\":[1]},[[8,\"resetFilter\",\"onResetFilter\"]]]]],[\"grw-sensitive-area-detail_2.cjs\",[[1,\"grw-sensitive-area-detail\",{\"sensitiveArea\":[16]}],[1,\"grw-trek-card\",{\"trek\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isStep\":[4,\"is-step\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32],\"isAvailableOffline\":[32],\"showDefaultImage\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-information-desk_3.cjs\",[[1,\"grw-outdoor-course-card\",{\"outdoorCourse\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-information-desk\",{\"informationDesk\":[16],\"displayShortDescription\":[32],\"showInformationDeskDescriptionButton\":[32],\"offline\":[32],\"showDefaultImage\":[32]}],[1,\"grw-outdoor-site-card\",{\"outdoorSite\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-poi_3.cjs\",[[1,\"grw-poi\",{\"poi\":[16],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]],[1,\"grw-touristic-content-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicContent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-common-button_27.cjs\",[[1,\"grw-outdoor-site-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"weather\":[4],\"displayFullscreen\":[32],\"currentOutdoorSite\":[32]}],[1,\"grw-trek-detail\",{\"emergencyNumber\":[2,\"emergency-number\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"defaultBackgroundLayerUrl\":[8,\"default-background-layer-url\"],\"defaultBackgroundLayerAttribution\":[8,\"default-background-layer-attribution\"],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"trekTilesMinZoomOffline\":[2,\"trek-tiles-min-zoom-offline\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32],\"offline\":[32]},[[8,\"trekDownloadPress\",\"onTrekDownloadPress\"],[8,\"trekDeletePress\",\"onTrekDeletePress\"]]],[1,\"grw-outdoor-course-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"weather\":[4],\"displayFullscreen\":[32],\"currentOutdoorCourse\":[32]}],[1,\"grw-filters\",{\"handleFilters\":[16],\"fontFamily\":[1,\"font-family\"],\"selectedSegment\":[32]}],[1,\"grw-outdoor-sites-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"outdoorSitesToDisplay\":[32]}],[1,\"grw-touristic-contents-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicContentsToDisplay\":[32]}],[1,\"grw-touristic-events-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicEventsToDisplay\":[32]}],[1,\"grw-treks-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayOnlyOfflineTreks\":[4,\"display-only-offline-treks\"],\"isLargeView\":[4,\"is-large-view\"],\"treksToDisplay\":[32]}],[1,\"grw-common-button\",{\"action\":[16],\"icon\":[1],\"name\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-extended-fab\",{\"action\":[16],\"icon\":[16],\"name\":[16],\"display\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-loader\",{\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"]}],[1,\"grw-map\",{\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorMarkers\":[8,\"color-markers\"],\"colorClusters\":[8,\"color-clusters\"],\"colorOutdoorArea\":[1,\"color-outdoor-area\"],\"useGradient\":[4,\"use-gradient\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"isLargeView\":[4,\"is-large-view\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"informationPlacesIsInViewport\",\"onInformationPlacesIsInViewport\"],[8,\"sensitiveAreaIsInViewport\",\"sensitiveAreaIsInViewport\"],[8,\"poiIsInViewport\",\"poiIsInViewport\"],[8,\"touristicContentsIsInViewport\",\"touristicContentsIsInViewport\"],[8,\"touristicEventsIsInViewport\",\"touristicEventsIsInViewport\"],[8,\"sitesIsInViewport\",\"sitesIsInViewport\"],[8,\"coursesIsInViewport\",\"coursesIsInViewport\"],[8,\"cardTrekMouseOver\",\"onCardTrekMouseOver\"],[8,\"cardTrekMouseLeave\",\"onCardTrekMouseLeave\"],[8,\"cardTouristicContentMouseOver\",\"onTouristicContentMouseOver\"],[8,\"cardTouristicContentMouseLeave\",\"onTouristicContentMouseLeave\"],[8,\"cardTouristicEventMouseOver\",\"onTouristicEventMouseOver\"],[8,\"cardTouristicEventMouseLeave\",\"onTouristicEventMouseLeave\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[8,\"cardOutdoorSiteMouseOver\",\"onOutdoorSiteMouseOver\"],[8,\"cardOutdoorSiteMouseLeave\",\"onOutdoorSiteMouseLeave\"]]],[1,\"grw-outdoor-course-provider\",{\"languages\":[1],\"api\":[1],\"outdoorCourseId\":[2,\"outdoor-course-id\"],\"portals\":[1]}],[1,\"grw-outdoor-site-provider\",{\"languages\":[1],\"api\":[1],\"outdoorSiteId\":[2,\"outdoor-site-id\"],\"portals\":[1]}],[1,\"grw-outdoor-sites-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-search\",{\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-segmented-segment\",{\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"outdoor\":[4],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-select-language\"],[1,\"grw-switch\",{\"action\":[16],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-touristic-content-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[2,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[2,\"touristic-event-id\"],\"portals\":[1]}],[1,\"grw-touristic-events-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-trek-provider\",{\"languages\":[1],\"api\":[1],\"trekId\":[2,\"trek-id\"],\"portals\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1]}],[1,\"grw-treks-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1],\"labels\":[1]}]]]]"), options);
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
exports.setNonce = index.setNonce;
|
|
Binary file
|
|
Binary file
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-729c3ba1.js');
|
|
6
6
|
const utils = require('./utils-6685b5ea.js');
|
|
7
|
-
const i18n = require('./i18n-
|
|
7
|
+
const i18n = require('./i18n-f3fb068e.js');
|
|
8
8
|
|
|
9
9
|
const ArrowBackIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>`;
|
|
10
10
|
|
|
@@ -74,7 +74,8 @@ const GrwApp = class {
|
|
|
74
74
|
this.rounded = true;
|
|
75
75
|
this.colorTrekLine = '#6b0030';
|
|
76
76
|
this.colorSensitiveArea = '#4974a5';
|
|
77
|
-
this.
|
|
77
|
+
this.colorMarkers = null;
|
|
78
|
+
this.colorClusters = null;
|
|
78
79
|
this.colorOutdoorArea = '#ffb700';
|
|
79
80
|
this.useGradient = false;
|
|
80
81
|
this.treks = true;
|
|
@@ -456,7 +457,7 @@ const GrwApp = class {
|
|
|
456
457
|
return `${i18n.translate[utils.state.language].filter}${activeFilters > 0 ? ' (' + activeFilters + ')' : ''}`;
|
|
457
458
|
}
|
|
458
459
|
render() {
|
|
459
|
-
return (index.h(index.Host, { key: '
|
|
460
|
+
return (index.h(index.Host, { key: 'e0a4c97162d438bc62adcdba4b718a8072108e37', style: {
|
|
460
461
|
'--font-family': this.fontFamily,
|
|
461
462
|
'--color-primary-app': this.colorPrimaryApp,
|
|
462
463
|
'--color-primary': this.colorPrimary,
|
|
@@ -556,7 +557,7 @@ const GrwApp = class {
|
|
|
556
557
|
? 'visible'
|
|
557
558
|
: 'hidden',
|
|
558
559
|
zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap || this.showOutdoorSiteMap ? '1' : '0',
|
|
559
|
-
}, "name-layer": this.nameLayer, "url-layer": this.urlLayer, "attribution-layer": this.attributionLayer, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-background": this.colorBackground, "color-trek-line": this.colorTrekLine, "color-sensitive-area": this.colorSensitiveArea, "color-
|
|
560
|
+
}, "name-layer": this.nameLayer, "url-layer": this.urlLayer, "attribution-layer": this.attributionLayer, "font-family": this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-background": this.colorBackground, "color-trek-line": this.colorTrekLine, "color-sensitive-area": this.colorSensitiveArea, "color-markers": this.colorMarkers ? this.colorMarkers : this.colorPrimaryApp, "color-clusters": this.colorClusters ? this.colorClusters : this.colorPrimaryApp, "is-large-view": this.isLargeView, "use-gradient": this.useGradient, "trek-tiles-max-zoom-offline": this.trekTilesMaxZoomOffline }))), ((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||
|
|
560
561
|
(this.showTrek && utils.state.currentTrek) ||
|
|
561
562
|
(this.showTouristicContent && utils.state.currentTouristicContent) ||
|
|
562
563
|
(this.showTouristicEvent && utils.state.currentTouristicEvent) ||
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"grw-app.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,SAAS,GAAG,+9MAA+9M,CAAC;AACl/M,qBAAe,SAAS;;MCWX,MAAM;;;;;QAyFjB,kBAAa,GAAG,IAAI,CAAC;QACrB,uBAAkB,GAAyB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;wBAxFtD,KAAK;oCACO,KAAK;kCACP,KAAK;+BACR,KAAK;iCACH,KAAK;kCACJ,KAAK;oCACH,KAAK;2BAEd,KAAK;2BACL,KAAK;uCACO,KAAK;qCACP,KAAK;2BACf,KAAK;2BACL,KAAK;;;;;;wBAOD,MAAM;yBACL,OAAO;;yBAEf,IAAI;;;;;;;;;;;;;uBAaN,KAAK;;0BAGF,QAAQ;+BACH,SAAS;4BACZ,SAAS;8BACP,SAAS;4BACX,SAAS;8BACP,SAAS;mCACJ,SAAS;qCACP,SAAS;qCACT,SAAS;uCACP,SAAS;uCACT,SAAS;yCACP,SAAS;+BACnB,SAAS;yCACC,SAAS;wCACV,SAAS;kCACf,SAAS;wBACnB,SAAS;uBACV,IAAI;6BAEE,SAAS;kCACJ,SAAS;4BACf,SAAS;gCACL,SAAS;2BAEd,KAAK;qBAEX,IAAI;iCACQ,KAAK;+BACP,KAAK;uBACb,KAAK;6BAEC,KAAK;yCACO,CAAC;yCACD,EAAE;uCACJ,EAAE;uCACF,EAAE;gCAER,KAAK;gCACL,KAAK;+BACN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,YAAY,mBAClB,IAAI,CAAC,WAAW,kBACjB,IAAI,CAAC,WAAW,iCACD,IAAI,CAAC,uBAAuB,GAChD,CACZ,CACG,EACL,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,oBAAoB,IAAI,CAAC,IAAI,CAAC,kBAAkB,IAAI,CAAC,IAAI,CAAC,eAAe;aACjG,IAAI,CAAC,QAAQ,IAAIP,WAAK,CAAC,WAAW,CAAC;aACnC,IAAI,CAAC,oBAAoB,IAAIA,WAAK,CAAC,uBAAuB,CAAC;aAC3D,IAAI,CAAC,kBAAkB,IAAIA,WAAK,CAAC,qBAAqB,CAAC;aACvD,IAAI,CAAC,eAAe,IAAIA,WAAK,CAAC,kBAAkB,CAAC,MAClDO,iBAAK,KAAK,EAAC,qCAAqC,IAC9CA,8BACE,WAAW,EAAC,8EAA8E,iBAC7E,IAAI,CAAC,UAAU,EAC5B,MAAM,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,EAClC,IAAI,EAAE,MAAM,IAAI,CAAC,0BAA0B,EAAE,EAC7C,IAAI,EAAE,MAAM,IAAI,CAAC,2BAA2B,EAAE,EAC9C,OAAO,EAAE,IAAI,CAAC,WAAW,GAAG,MAAM,GAAG,MAAM,GACzB,CAChB,CACP,CACG,CACP,EACA,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,IAAIA,wCAA0B,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,GAAgB,CACtI,EACP;KACH;;;;;;;;;;","names":["state","Capacitor","revokeObjectURL","imagesRegExp","translate","reset","handleTreksFiltersAndSearch","h","Host","Fragment"],"sources":["src/components/grw-app/grw-app.scss?tag=grw-app","src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: var(--header-height);\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.grw-handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.grw-content-container {\n position: relative;\n display: flex;\n}\n\n.grw-content-treks {\n height: calc(100% - var(--header-height) - var(--header-with-segment) - var(--header-with-languages));\n}\n\n.grw-content-trek {\n height: 100%;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container,\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n}\n\n.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-app-touristic-event-detail-container,\n.grw-app-outdoor-site-detail-container,\n.grw-app-outdoor-course-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list,\ngrw-touristic-events-list,\ngrw-outdoor-sites-list {\n max-height: calc(100vh - var(--header-height));\n}\n\ngrw-trek-detail {\n position: relative;\n max-height: calc(100vh - 64px - 48px);\n}\n\ngrw-touristic-content-detail,\ngrw-touristic-event-detail,\ngrw-outdoor-site-detail {\n position: relative;\n max-height: calc(100vh - 64px);\n}\n\n.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n position: relative;\n width: 50%;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n\n.modal-container {\n z-index: 40000;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: var(--font-family);\n top: -64px;\n left: 0px;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n\n .modal-content-container {\n display: flex;\n justify-content: center;\n flex-direction: column;\n width: 380px;\n height: 120px;\n padding: 16px;\n margin: 0px 16px;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 8px);\n }\n\n .modal-message-container {\n display: flex;\n align-items: center;\n justify-content: center;\n\n .modal-loader {\n width: 16px;\n height: 16px;\n border: 3px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n margin-right: 16px;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n }\n\n .modal-buttons-container,\n .modal-button-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n .modal-button {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n height: 32px;\n box-shadow: var(--elevation-0);\n border: none;\n -webkit-tap-highlight-color: transparent;\n line-height: 20px;\n color: var(--color-primary-app);\n background-color: transparent;\n font-family: var(--font-family);\n }\n }\n .modal-button-container {\n justify-content: flex-end;\n }\n}\n\n.grw-offline-container {\n display: flex;\n align-items: center;\n margin: 0px 0px 0px 16px;\n height: 48px;\n .grw-offline-label {\n display: flex;\n }\n grw-switch {\n margin-top: -10px;\n }\n}\n","import { Capacitor } from '@capacitor/core';\nimport { Component, Host, h, Listen, State, Prop, Element, Watch, Event, EventEmitter, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleTreksFiltersAndSearch, imagesRegExp, revokeObjectURL } from 'utils/utils';\nimport ArrowBackIcon from '../../assets/arrow-back.svg';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showOutdoorSite = false;\n @State() showOutdoorCourse = false;\n @State() showOutdoorSiteMap = false;\n @State() showOutdoorCourseMap = false;\n\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @State() currentOutdoorSiteId: number;\n @State() currentOutdoorCourseId: number;\n\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() labels: string;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorPrimary = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() colorOutdoorArea = '#ffb700';\n\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n @Prop() outdoor = false;\n\n @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() trekTilesMinZoomOffline = 12;\n @Prop() trekTilesMaxZoomOffline = 16;\n\n @State() showOfflineModal = false;\n @State() showConfirmModal = false;\n @State() showLoaderModal = false;\n @State() showSuccessModal = false;\n @State() showConfirmDeleteModal = false;\n @State() showDeletingMessage = false;\n @State() showDeleteSuccessMessage = false;\n\n @Event() trekDownloadPress: EventEmitter<number>;\n @Event() trekDeletePress: EventEmitter<number>;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorSiteCardPress', { target: 'window' })\n onOutdoorSiteCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = event.detail;\n this.showOutdoorSite = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('outdoorsite', this.currentOutdoorSiteId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorCourseCardPress', { target: 'window' })\n onOutdoorCourseCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentOutdoorCourse = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = null;\n this.currentOutdoorCourseId = event.detail;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n this.showOutdoorCourse = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('outdoorsite');\n url.searchParams.set('outdoorcourse', this.currentOutdoorCourseId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Listen('trekDownloadConfirm', { target: 'window' })\n onTrekDownloadConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = false;\n this.showDeleteSuccessMessage = false;\n this.showDeletingMessage = false;\n this.showConfirmDeleteModal = false;\n this.showOfflineModal = true;\n this.showConfirmModal = true;\n }\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = true;\n }\n\n @Listen('trekDeleteConfirm', { target: 'window' })\n onTrekDeleteConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = false;\n this.showDeleteSuccessMessage = false;\n this.showOfflineModal = true;\n this.showConfirmModal = true;\n this.showConfirmDeleteModal = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = true;\n this.showDeleteSuccessMessage = true;\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n } else if (this.outdoor) {\n state.mode = 'outdoor';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = url.searchParams.get('outdoorsite');\n const outdoorCourseParam = url.searchParams.get('outdoorcourse');\n\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n } else if (outdoorSiteParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorSiteId = Number(outdoorSiteParam);\n state.mode = 'outdoor';\n this.showOutdoorSite = true;\n } else if (outdoorCourseParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorCourseId = Number(outdoorCourseParam);\n state.mode = 'outdoor';\n this.showOutdoorCourse = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (state.mode === 'treks') {\n this.showTrek = false;\n this.showTrekMap = false;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n } else if (state.mode === 'touristicContents') {\n state.currentTouristicContent = null;\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n } else if (state.mode === 'touristicEvents') {\n state.currentTouristicEvent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n } else if (state.mode === 'outdoor') {\n state.currentOutdoorSite = null;\n this.currentOutdoorSiteId = null;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n state.currentOutdoorCourse = null;\n this.currentOutdoorCourseId = null;\n this.showOutdoorCourse = false;\n this.showOutdoorCourseMap = false;\n }\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n if (state.currentTrek && state.currentTrek.offline && !Capacitor.isNativePlatform()) {\n revokeObjectURL(state.currentPois, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicEvents, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicContents, imagesRegExp, ['url']);\n revokeObjectURL(state.currentInformationDesks, imagesRegExp);\n revokeObjectURL(state.currentTrek, imagesRegExp, ['url']);\n }\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n url.searchParams.delete('outdoorsite');\n url.searchParams.delete('outdoorcourse');\n\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = Number(url.searchParams.get('outdoorsite'));\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n state.mode = 'treks';\n this.showTrek = true;\n } else if (outdoorSiteParam && this.currentOutdoorSiteId !== outdoorSiteParam) {\n this.currentOutdoorSiteId = outdoorSiteParam;\n state.currentOutdoorSite = null;\n this.showOutdoorCourse = false;\n this.showOutdoorSite = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam && !outdoorSiteParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else if (this.showOutdoorSite) {\n this.showOutdoorSiteMap = !this.showOutdoorSiteMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapIconButton = this.showOutdoorSiteMap || this.showOutdoorCourseMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (state.language) {\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapLabelButton = this.showOutdoorSiteMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOkDeleteModal() {\n this.trekDeletePress.emit();\n this.showDeletingMessage = true;\n this.showConfirmDeleteModal = false;\n this.showConfirmModal = false;\n this.showLoaderModal = true;\n }\n\n handleOkDownloadModal() {\n this.trekDownloadPress.emit();\n this.showConfirmModal = false;\n this.showLoaderModal = true;\n }\n\n handleCancelModal() {\n this.showOfflineModal = false;\n }\n\n handleOffline() {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n }\n\n getFiltersName() {\n const activeFilters = state.selectedActivitiesFilters + state.selectedLocationFilters + state.selectedThemesFilters;\n return `${translate[state.language].filter}${activeFilters > 0 ? ' (' + activeFilters + ')' : ''}`;\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-primary': this.colorPrimary,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height':\n Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1\n ? this.enableOffline\n ? '188px'\n : '136px'\n : this.enableOffline\n ? '116px'\n : '64px',\n '--header-with-segment': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 ? '16px' : '0px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents &&\n !state.currentOutdoorSites &&\n !state.currentOutdoorSite &&\n !state.currentOutdoorCourses &&\n !state.currentOutdoorCourse && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n portals={this.portals}\n ></grw-touristic-content-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider\n api={this.api}\n languages={this.languages}\n touristic-event-id={this.currentTouristicEventId}\n portals={this.portals}\n ></grw-touristic-event-provider>\n )}\n {this.showOutdoorSite && this.currentOutdoorSiteId && !state.currentOutdoorSite && (\n <grw-outdoor-site-provider api={this.api} languages={this.languages} outdoor-site-id={this.currentOutdoorSiteId} portals={this.portals}></grw-outdoor-site-provider>\n )}\n {this.showOutdoorCourse && this.currentOutdoorCourseId && !state.currentOutdoorCourse && (\n <grw-outdoor-course-provider\n api={this.api}\n languages={this.languages}\n outdoor-course-id={this.currentOutdoorCourseId}\n portals={this.portals}\n ></grw-outdoor-course-provider>\n )}\n {this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (\n <grw-touristic-contents-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-contents-provider>\n )}\n {this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (\n <grw-touristic-events-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-events-provider>\n )}\n {this.outdoor &&\n state.mode === 'outdoor' &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !state.outdoorSites && (\n <grw-outdoor-sites-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n ></grw-outdoor-sites-provider>\n )}\n\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.currentOutdoorSites ||\n state.currentOutdoorSite ||\n state.currentOutdoorCourses ||\n state.currentOutdoorCourse ||\n state.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? ' grw-header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse && (\n <grw-segmented-segment\n font-family={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n outdoor={this.outdoor}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (\n <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search font-family={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={this.getFiltersName()}\n ></grw-common-button>\n </div>\n </div>\n {this.enableOffline && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">Afficher uniquement les itinéraires hors ligne</div>\n <grw-switch exportparts=\"common-button,common-button-icon,common-button-label\" font-family={this.fontFamily} action={() => this.handleOffline()}></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n <span part=\"icon\" class=\"icon\" innerHTML={ArrowBackIcon}></span>\n </button>\n </div>\n )}\n </div>\n\n <div\n class={`grw-content-container ${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'grw-content-trek' : 'grw-content-treks'\n }`}\n >\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n {((state.mode === 'treks' && this.treks) ||\n (state.mode === 'touristicContents' && this.touristicContents) ||\n (state.mode === 'touristicEvents' && this.touristicEvents) ||\n (state.mode === 'outdoor' && this.outdoor && state.outdoorSites)) && (\n <div\n class={this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container'}\n style={{\n display: this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'none' : 'flex',\n position: this.showTrek ? 'absolute' : 'relative',\n }}\n >\n {state.mode === 'treks' && this.treks && state.treks && (\n <grw-treks-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && state.touristicContents && (\n <grw-touristic-contents-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-contents-list>\n )}\n {state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents && (\n <grw-touristic-events-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-events-list>\n )}\n {state.mode === 'outdoor' && this.outdoor && state.outdoorSites && (\n <grw-outdoor-sites-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-outdoor-sites-list>\n )}\n </div>\n )}\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (this.showOutdoorSite && !state.currentOutdoorSite) ||\n (this.showOutdoorCourse && !state.currentOutdoorCourse) ||\n (!state.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent) ||\n (!state.outdoorSites && state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && state.currentTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n 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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n emergency-number={this.emergencyNumber}\n defaultBackgroundLayerUrl={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n defaultBackgroundLayerAttribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n trek-tiles-min-zoom-offline={this.trekTilesMinZoomOffline}\n trek-tiles-max-zoom-offline={this.trekTilesMaxZoomOffline}\n ></grw-trek-detail>\n {this.showOfflineModal && (\n <div class=\"modal-container\">\n <div class=\"modal-content-container\">\n {this.showConfirmModal && !this.showConfirmDeleteModal && (\n <Fragment>\n <div class=\"modal-message-container\">Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?</div>\n <div class=\"modal-buttons-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n ANNULER\n </button>\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleOkDownloadModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n {this.showConfirmDeleteModal && (\n <Fragment>\n <div class=\"modal-message-container\">Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?</div>\n <div class=\"modal-buttons-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n ANNULER\n </button>\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleOkDeleteModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n {this.showLoaderModal && (\n <Fragment>\n <div class=\"modal-message-container\">\n <div class=\"modal-loader\"></div>\n {this.showDeletingMessage ? 'Suppression en cours' : 'Téléchargement en cours'}\n </div>\n </Fragment>\n )}\n {this.showSuccessModal && (\n <Fragment>\n <div class=\"modal-message-container\">\n {this.showDeleteSuccessMessage ? \"L'itinéraire est supprimé du hors ligne\" : \"L'itinéraire est disponible hors ligne\"}\n </div>\n <div class=\"modal-button-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n </div>\n </div>\n )}\n </div>\n )}\n {this.showTouristicContent && state.currentTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: (!this.showTouristicContentMap && this.showTouristicContent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && state.currentTouristicEvent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: (!this.showTouristicEventMap && this.showTouristicEvent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-event-detail>\n </div>\n )}\n {this.showOutdoorSite && state.currentOutdoorSite && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container'}>\n <grw-outdoor-site-detail\n style={{\n visibility: (!this.showOutdoorSiteMap && this.showOutdoorSite) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorSiteMap ? '1' : '0',\n }}\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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n weather={this.weather}\n ></grw-outdoor-site-detail>\n </div>\n )}\n {this.showOutdoorCourse && state.currentOutdoorCourse && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container'}>\n <grw-outdoor-course-detail\n style={{\n visibility: (!this.showOutdoorCourseMap && this.showOutdoorCourse) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorCourseMap ? '1' : '0',\n }}\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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-outdoor-course-detail>\n </div>\n )}\n {!state.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n (this.showOutdoorSiteMap && this.showOutdoorSite) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap || this.showOutdoorSiteMap ? '1' : '0',\n }}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\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-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-poi-icon={this.colorPoiIcon}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n trek-tiles-max-zoom-offline={this.trekTilesMaxZoomOffline}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent) ||\n (this.showOutdoorSite && state.currentOutdoorSite)) && (\n <div class=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters font-family={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"grw-app.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,SAAS,GAAG,+9MAA+9M,CAAC;AACl/M,qBAAe,SAAS;;MCWX,MAAM;;;;;QA0FjB,kBAAa,GAAG,IAAI,CAAC;QACrB,uBAAkB,GAAyB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;wBAzFtD,KAAK;oCACO,KAAK;kCACP,KAAK;+BACR,KAAK;iCACH,KAAK;kCACJ,KAAK;oCACH,KAAK;2BAEd,KAAK;2BACL,KAAK;uCACO,KAAK;qCACP,KAAK;2BACf,KAAK;2BACL,KAAK;;;;;;wBAOD,MAAM;yBACL,OAAO;;yBAEf,IAAI;;;;;;;;;;;;;uBAaN,KAAK;;0BAGF,QAAQ;+BACH,SAAS;4BACZ,SAAS;8BACP,SAAS;4BACX,SAAS;8BACP,SAAS;mCACJ,SAAS;qCACP,SAAS;qCACT,SAAS;uCACP,SAAS;uCACT,SAAS;yCACP,SAAS;+BACnB,SAAS;yCACC,SAAS;wCACV,SAAS;kCACf,SAAS;wBACnB,SA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A0B,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,GAAgB,CACtI,EACP;KACH;;;;;;;;;;","names":["state","Capacitor","revokeObjectURL","imagesRegExp","translate","reset","handleTreksFiltersAndSearch","h","Host","Fragment"],"sources":["src/components/grw-app/grw-app.scss?tag=grw-app","src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: var(--header-height);\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.grw-handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.grw-content-container {\n position: relative;\n display: flex;\n}\n\n.grw-content-treks {\n height: calc(100% - var(--header-height) - var(--header-with-segment) - var(--header-with-languages));\n}\n\n.grw-content-trek {\n height: 100%;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container,\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n}\n\n.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-app-touristic-event-detail-container,\n.grw-app-outdoor-site-detail-container,\n.grw-app-outdoor-course-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list,\ngrw-touristic-events-list,\ngrw-outdoor-sites-list {\n max-height: calc(100vh - var(--header-height));\n}\n\ngrw-trek-detail {\n position: relative;\n max-height: calc(100vh - 64px - 48px);\n}\n\ngrw-touristic-content-detail,\ngrw-touristic-event-detail,\ngrw-outdoor-site-detail {\n position: relative;\n max-height: calc(100vh - 64px);\n}\n\n.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n position: relative;\n width: 50%;\n}\n\n.grw-large-view-app-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-outdoor-site-detail-container,\n.grw-large-view-app-outdoor-course-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n\n.modal-container {\n z-index: 40000;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: var(--font-family);\n top: -64px;\n left: 0px;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n\n .modal-content-container {\n display: flex;\n justify-content: center;\n flex-direction: column;\n width: 380px;\n height: 120px;\n padding: 16px;\n margin: 0px 16px;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 8px);\n }\n\n .modal-message-container {\n display: flex;\n align-items: center;\n justify-content: center;\n\n .modal-loader {\n width: 16px;\n height: 16px;\n border: 3px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n margin-right: 16px;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n }\n\n .modal-buttons-container,\n .modal-button-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n .modal-button {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n height: 32px;\n box-shadow: var(--elevation-0);\n border: none;\n -webkit-tap-highlight-color: transparent;\n line-height: 20px;\n color: var(--color-primary-app);\n background-color: transparent;\n font-family: var(--font-family);\n }\n }\n .modal-button-container {\n justify-content: flex-end;\n }\n}\n\n.grw-offline-container {\n display: flex;\n align-items: center;\n margin: 0px 0px 0px 16px;\n height: 48px;\n .grw-offline-label {\n display: flex;\n }\n grw-switch {\n margin-top: -10px;\n }\n}\n","import { Capacitor } from '@capacitor/core';\nimport { Component, Host, h, Listen, State, Prop, Element, Watch, Event, EventEmitter, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleTreksFiltersAndSearch, imagesRegExp, revokeObjectURL } from 'utils/utils';\nimport ArrowBackIcon from '../../assets/arrow-back.svg';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showOutdoorSite = false;\n @State() showOutdoorCourse = false;\n @State() showOutdoorSiteMap = false;\n @State() showOutdoorCourseMap = false;\n\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @State() currentOutdoorSiteId: number;\n @State() currentOutdoorCourseId: number;\n\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() labels: string;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorPrimary = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorMarkers = null;\n @Prop() colorClusters = null;\n @Prop() colorOutdoorArea = '#ffb700';\n\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n @Prop() outdoor = false;\n\n @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() trekTilesMinZoomOffline = 12;\n @Prop() trekTilesMaxZoomOffline = 16;\n\n @State() showOfflineModal = false;\n @State() showConfirmModal = false;\n @State() showLoaderModal = false;\n @State() showSuccessModal = false;\n @State() showConfirmDeleteModal = false;\n @State() showDeletingMessage = false;\n @State() showDeleteSuccessMessage = false;\n\n @Event() trekDownloadPress: EventEmitter<number>;\n @Event() trekDeletePress: EventEmitter<number>;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorSiteCardPress', { target: 'window' })\n onOutdoorSiteCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = event.detail;\n this.showOutdoorSite = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('outdoorsite', this.currentOutdoorSiteId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorCourseCardPress', { target: 'window' })\n onOutdoorCourseCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentOutdoorCourse = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = null;\n this.currentOutdoorCourseId = event.detail;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n this.showOutdoorCourse = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('outdoorsite');\n url.searchParams.set('outdoorcourse', this.currentOutdoorCourseId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Listen('trekDownloadConfirm', { target: 'window' })\n onTrekDownloadConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = false;\n this.showDeleteSuccessMessage = false;\n this.showDeletingMessage = false;\n this.showConfirmDeleteModal = false;\n this.showOfflineModal = true;\n this.showConfirmModal = true;\n }\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = true;\n }\n\n @Listen('trekDeleteConfirm', { target: 'window' })\n onTrekDeleteConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = false;\n this.showDeleteSuccessMessage = false;\n this.showOfflineModal = true;\n this.showConfirmModal = true;\n this.showConfirmDeleteModal = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = true;\n this.showDeleteSuccessMessage = true;\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n } else if (this.outdoor) {\n state.mode = 'outdoor';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = url.searchParams.get('outdoorsite');\n const outdoorCourseParam = url.searchParams.get('outdoorcourse');\n\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n } else if (outdoorSiteParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorSiteId = Number(outdoorSiteParam);\n state.mode = 'outdoor';\n this.showOutdoorSite = true;\n } else if (outdoorCourseParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorCourseId = Number(outdoorCourseParam);\n state.mode = 'outdoor';\n this.showOutdoorCourse = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (state.mode === 'treks') {\n this.showTrek = false;\n this.showTrekMap = false;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n } else if (state.mode === 'touristicContents') {\n state.currentTouristicContent = null;\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n } else if (state.mode === 'touristicEvents') {\n state.currentTouristicEvent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n } else if (state.mode === 'outdoor') {\n state.currentOutdoorSite = null;\n this.currentOutdoorSiteId = null;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n state.currentOutdoorCourse = null;\n this.currentOutdoorCourseId = null;\n this.showOutdoorCourse = false;\n this.showOutdoorCourseMap = false;\n }\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n if (state.currentTrek && state.currentTrek.offline && !Capacitor.isNativePlatform()) {\n revokeObjectURL(state.currentPois, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicEvents, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicContents, imagesRegExp, ['url']);\n revokeObjectURL(state.currentInformationDesks, imagesRegExp);\n revokeObjectURL(state.currentTrek, imagesRegExp, ['url']);\n }\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n url.searchParams.delete('outdoorsite');\n url.searchParams.delete('outdoorcourse');\n\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n const outdoorSiteParam = Number(url.searchParams.get('outdoorsite'));\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n state.mode = 'treks';\n this.showTrek = true;\n } else if (outdoorSiteParam && this.currentOutdoorSiteId !== outdoorSiteParam) {\n this.currentOutdoorSiteId = outdoorSiteParam;\n state.currentOutdoorSite = null;\n this.showOutdoorCourse = false;\n this.showOutdoorSite = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam && !outdoorSiteParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else if (this.showOutdoorSite) {\n this.showOutdoorSiteMap = !this.showOutdoorSiteMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapIconButton = this.showOutdoorSiteMap || this.showOutdoorCourseMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (state.language) {\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapLabelButton = this.showOutdoorSiteMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOkDeleteModal() {\n this.trekDeletePress.emit();\n this.showDeletingMessage = true;\n this.showConfirmDeleteModal = false;\n this.showConfirmModal = false;\n this.showLoaderModal = true;\n }\n\n handleOkDownloadModal() {\n this.trekDownloadPress.emit();\n this.showConfirmModal = false;\n this.showLoaderModal = true;\n }\n\n handleCancelModal() {\n this.showOfflineModal = false;\n }\n\n handleOffline() {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n }\n\n getFiltersName() {\n const activeFilters = state.selectedActivitiesFilters + state.selectedLocationFilters + state.selectedThemesFilters;\n return `${translate[state.language].filter}${activeFilters > 0 ? ' (' + activeFilters + ')' : ''}`;\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-primary': this.colorPrimary,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height':\n Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1\n ? this.enableOffline\n ? '188px'\n : '136px'\n : this.enableOffline\n ? '116px'\n : '64px',\n '--header-with-segment': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 ? '16px' : '0px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents &&\n !state.currentOutdoorSites &&\n !state.currentOutdoorSite &&\n !state.currentOutdoorCourses &&\n !state.currentOutdoorCourse && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n portals={this.portals}\n ></grw-touristic-content-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider\n api={this.api}\n languages={this.languages}\n touristic-event-id={this.currentTouristicEventId}\n portals={this.portals}\n ></grw-touristic-event-provider>\n )}\n {this.showOutdoorSite && this.currentOutdoorSiteId && !state.currentOutdoorSite && (\n <grw-outdoor-site-provider api={this.api} languages={this.languages} outdoor-site-id={this.currentOutdoorSiteId} portals={this.portals}></grw-outdoor-site-provider>\n )}\n {this.showOutdoorCourse && this.currentOutdoorCourseId && !state.currentOutdoorCourse && (\n <grw-outdoor-course-provider\n api={this.api}\n languages={this.languages}\n outdoor-course-id={this.currentOutdoorCourseId}\n portals={this.portals}\n ></grw-outdoor-course-provider>\n )}\n {this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (\n <grw-touristic-contents-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-contents-provider>\n )}\n {this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (\n <grw-touristic-events-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-events-provider>\n )}\n {this.outdoor &&\n state.mode === 'outdoor' &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !state.outdoorSites && (\n <grw-outdoor-sites-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n ></grw-outdoor-sites-provider>\n )}\n\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.currentOutdoorSites ||\n state.currentOutdoorSite ||\n state.currentOutdoorCourses ||\n state.currentOutdoorCourse ||\n state.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? ' grw-header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse && (\n <grw-segmented-segment\n font-family={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n outdoor={this.outdoor}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (\n <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search font-family={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={this.getFiltersName()}\n ></grw-common-button>\n </div>\n </div>\n {this.enableOffline && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">Afficher uniquement les itinéraires hors ligne</div>\n <grw-switch exportparts=\"common-button,common-button-icon,common-button-label\" font-family={this.fontFamily} action={() => this.handleOffline()}></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n <span part=\"icon\" class=\"icon\" innerHTML={ArrowBackIcon}></span>\n </button>\n </div>\n )}\n </div>\n\n <div\n class={`grw-content-container ${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'grw-content-trek' : 'grw-content-treks'\n }`}\n >\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n {((state.mode === 'treks' && this.treks) ||\n (state.mode === 'touristicContents' && this.touristicContents) ||\n (state.mode === 'touristicEvents' && this.touristicEvents) ||\n (state.mode === 'outdoor' && this.outdoor && state.outdoorSites)) && (\n <div\n class={this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container'}\n style={{\n display: this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'none' : 'flex',\n position: this.showTrek ? 'absolute' : 'relative',\n }}\n >\n {state.mode === 'treks' && this.treks && state.treks && (\n <grw-treks-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && state.touristicContents && (\n <grw-touristic-contents-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-contents-list>\n )}\n {state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents && (\n <grw-touristic-events-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-events-list>\n )}\n {state.mode === 'outdoor' && this.outdoor && state.outdoorSites && (\n <grw-outdoor-sites-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-outdoor-sites-list>\n )}\n </div>\n )}\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (this.showOutdoorSite && !state.currentOutdoorSite) ||\n (this.showOutdoorCourse && !state.currentOutdoorCourse) ||\n (!state.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent) ||\n (!state.outdoorSites && state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && state.currentTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n 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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n emergency-number={this.emergencyNumber}\n defaultBackgroundLayerUrl={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n defaultBackgroundLayerAttribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n trek-tiles-min-zoom-offline={this.trekTilesMinZoomOffline}\n trek-tiles-max-zoom-offline={this.trekTilesMaxZoomOffline}\n ></grw-trek-detail>\n {this.showOfflineModal && (\n <div class=\"modal-container\">\n <div class=\"modal-content-container\">\n {this.showConfirmModal && !this.showConfirmDeleteModal && (\n <Fragment>\n <div class=\"modal-message-container\">Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?</div>\n <div class=\"modal-buttons-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n ANNULER\n </button>\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleOkDownloadModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n {this.showConfirmDeleteModal && (\n <Fragment>\n <div class=\"modal-message-container\">Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?</div>\n <div class=\"modal-buttons-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n ANNULER\n </button>\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleOkDeleteModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n {this.showLoaderModal && (\n <Fragment>\n <div class=\"modal-message-container\">\n <div class=\"modal-loader\"></div>\n {this.showDeletingMessage ? 'Suppression en cours' : 'Téléchargement en cours'}\n </div>\n </Fragment>\n )}\n {this.showSuccessModal && (\n <Fragment>\n <div class=\"modal-message-container\">\n {this.showDeleteSuccessMessage ? \"L'itinéraire est supprimé du hors ligne\" : \"L'itinéraire est disponible hors ligne\"}\n </div>\n <div class=\"modal-button-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n </div>\n </div>\n )}\n </div>\n )}\n {this.showTouristicContent && state.currentTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: (!this.showTouristicContentMap && this.showTouristicContent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && state.currentTouristicEvent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: (!this.showTouristicEventMap && this.showTouristicEvent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-event-detail>\n </div>\n )}\n {this.showOutdoorSite && state.currentOutdoorSite && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container'}>\n <grw-outdoor-site-detail\n style={{\n visibility: (!this.showOutdoorSiteMap && this.showOutdoorSite) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorSiteMap ? '1' : '0',\n }}\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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n weather={this.weather}\n ></grw-outdoor-site-detail>\n </div>\n )}\n {this.showOutdoorCourse && state.currentOutdoorCourse && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container'}>\n <grw-outdoor-course-detail\n style={{\n visibility: (!this.showOutdoorCourseMap && this.showOutdoorCourse) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorCourseMap ? '1' : '0',\n }}\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-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-outdoor-course-detail>\n </div>\n )}\n {!state.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n (this.showOutdoorSiteMap && this.showOutdoorSite) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap || this.showOutdoorSiteMap ? '1' : '0',\n }}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\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-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-markers={this.colorMarkers ? this.colorMarkers : this.colorPrimaryApp}\n color-clusters={this.colorClusters ? this.colorClusters : this.colorPrimaryApp}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n trek-tiles-max-zoom-offline={this.trekTilesMaxZoomOffline}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent) ||\n (this.showOutdoorSite && state.currentOutdoorSite)) && (\n <div class=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters font-family={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}
|