@geotrekce/geotrek-rando-widget 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/geotrek-rando-widget.cjs.js +1 -1
- package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
- package/dist/cjs/grw-app.cjs.entry.js +361 -0
- 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 -0
- package/dist/cjs/{grw-app_28.cjs.entry.js → grw-common-button_20.cjs.entry.js} +598 -6733
- package/dist/cjs/grw-common-button_20.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_20.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_20.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-filter.cjs.entry.js +106 -0
- package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js +368 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -0
- package/dist/cjs/i18n-54f97142.js +204 -0
- package/dist/cjs/i18n-54f97142.js.br +0 -0
- package/dist/cjs/i18n-54f97142.js.gz +0 -0
- package/dist/cjs/i18n-54f97142.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.br +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/pagination-4de6c5f4.js +4659 -0
- package/dist/cjs/pagination-4de6c5f4.js.br +0 -0
- package/dist/cjs/pagination-4de6c5f4.js.gz +0 -0
- package/dist/cjs/pagination-4de6c5f4.js.map +1 -0
- package/dist/cjs/store-aa5044fc.js +256 -0
- package/dist/cjs/store-aa5044fc.js.br +0 -0
- package/dist/cjs/store-aa5044fc.js.gz +0 -0
- package/dist/cjs/store-aa5044fc.js.map +1 -0
- package/dist/cjs/utils-08a59e4e.js +263 -0
- package/dist/cjs/utils-08a59e4e.js.br +0 -0
- package/dist/cjs/utils-08a59e4e.js.gz +0 -0
- package/dist/cjs/utils-08a59e4e.js.map +1 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css +0 -2
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js +2 -2
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.map +1 -1
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css +3 -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-event-card/grw-touristic-event-card.css +2 -4
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js +2 -2
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.map +1 -1
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css +3 -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/esm/geotrek-rando-widget.js +3 -3
- package/dist/esm/geotrek-rando-widget.js.br +0 -0
- package/dist/esm/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm/grw-app.entry.js +357 -0
- 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 -0
- package/dist/esm/{grw-app_28.entry.js → grw-common-button_20.entry.js} +284 -6411
- package/dist/esm/grw-common-button_20.entry.js.br +0 -0
- package/dist/esm/grw-common-button_20.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_20.entry.js.map +1 -0
- package/dist/esm/grw-filter.entry.js +102 -0
- package/dist/esm/grw-filter.entry.js.br +0 -0
- package/dist/esm/grw-filter.entry.js.gz +0 -0
- package/dist/esm/grw-filter.entry.js.map +1 -0
- package/dist/esm/grw-information-desk_6.entry.js +359 -0
- package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
- package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk_6.entry.js.map +1 -0
- package/dist/esm/i18n-1b5344b9.js +202 -0
- package/dist/esm/i18n-1b5344b9.js.br +0 -0
- package/dist/esm/i18n-1b5344b9.js.gz +0 -0
- package/dist/esm/i18n-1b5344b9.js.map +1 -0
- package/dist/esm/{index-f51f19f9.js → index-d5cacae4.js} +2 -2
- package/dist/esm/index-d5cacae4.js.br +0 -0
- package/dist/esm/index-d5cacae4.js.gz +0 -0
- package/dist/esm/{index-f51f19f9.js.map → index-d5cacae4.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/pagination-5ba8c505.js +4646 -0
- package/dist/esm/pagination-5ba8c505.js.br +0 -0
- package/dist/esm/pagination-5ba8c505.js.gz +0 -0
- package/dist/esm/pagination-5ba8c505.js.map +1 -0
- package/dist/esm/store-3496120b.js +252 -0
- package/dist/esm/store-3496120b.js.br +0 -0
- package/dist/esm/store-3496120b.js.gz +0 -0
- package/dist/esm/store-3496120b.js.map +1 -0
- package/dist/esm/utils-3f44aaab.js +252 -0
- package/dist/esm/utils-3f44aaab.js.br +0 -0
- package/dist/esm/utils-3f44aaab.js.gz +0 -0
- package/dist/esm/utils-3f44aaab.js.map +1 -0
- package/dist/esm-es5/geotrek-rando-widget.js +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
- package/dist/esm-es5/grw-app.entry.js +2 -0
- 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 -0
- package/dist/esm-es5/grw-common-button_20.entry.js +14 -0
- package/dist/esm-es5/grw-common-button_20.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_20.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_20.entry.js.map +1 -0
- package/dist/esm-es5/grw-filter.entry.js +3 -0
- package/dist/esm-es5/grw-filter.entry.js.br +0 -0
- package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filter.entry.js.map +1 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js +2 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.map +1 -0
- package/dist/esm-es5/i18n-1b5344b9.js +2 -0
- package/dist/esm-es5/i18n-1b5344b9.js.br +0 -0
- package/dist/esm-es5/i18n-1b5344b9.js.gz +0 -0
- package/dist/esm-es5/i18n-1b5344b9.js.map +1 -0
- package/dist/esm-es5/{index-f51f19f9.js → index-d5cacae4.js} +2 -2
- package/dist/esm-es5/index-d5cacae4.js.br +0 -0
- package/dist/esm-es5/index-d5cacae4.js.gz +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/pagination-5ba8c505.js +2 -0
- package/dist/esm-es5/pagination-5ba8c505.js.br +0 -0
- package/dist/esm-es5/pagination-5ba8c505.js.gz +0 -0
- package/dist/esm-es5/pagination-5ba8c505.js.map +1 -0
- package/dist/esm-es5/store-3496120b.js +2 -0
- package/dist/esm-es5/store-3496120b.js.br +0 -0
- package/dist/esm-es5/store-3496120b.js.gz +0 -0
- package/dist/esm-es5/store-3496120b.js.map +1 -0
- package/dist/esm-es5/utils-3f44aaab.js +2 -0
- package/dist/esm-es5/utils-3f44aaab.js.br +0 -0
- package/dist/esm-es5/utils-3f44aaab.js.gz +0 -0
- package/dist/esm-es5/utils-3f44aaab.js.map +1 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-007ecbb7.system.js +2 -0
- package/dist/geotrek-rando-widget/p-007ecbb7.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-007ecbb7.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-007ecbb7.system.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-fb5e6f55.js → p-0c07a3f0.js} +2 -2
- package/dist/geotrek-rando-widget/p-0c07a3f0.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0c07a3f0.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-159a8bb1.js +2 -0
- package/dist/geotrek-rando-widget/p-159a8bb1.js.br +0 -0
- package/dist/geotrek-rando-widget/p-159a8bb1.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-159a8bb1.js.map +1 -0
- package/dist/geotrek-rando-widget/p-396e7309.entry.js +3 -0
- package/dist/geotrek-rando-widget/p-396e7309.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-396e7309.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-396e7309.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-3c4e8c4e.system.js +2 -0
- package/dist/geotrek-rando-widget/p-3c4e8c4e.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3c4e8c4e.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-3c4e8c4e.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-41d98179.system.js +2 -0
- package/dist/geotrek-rando-widget/p-41d98179.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-41d98179.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-41d98179.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-623b4c89.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-623b4c89.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-623b4c89.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-623b4c89.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-86b11946.js +2 -0
- package/dist/geotrek-rando-widget/p-86b11946.js.br +0 -0
- package/dist/geotrek-rando-widget/p-86b11946.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-86b11946.js.map +1 -0
- package/dist/geotrek-rando-widget/p-8ec69848.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-8ec69848.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-8ec69848.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-8ec69848.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +2 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-cea4d6a2.system.js.map → p-cc8a7df2.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/{p-9d93427a.system.js → p-d2c035bc.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-d2c035bc.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d2c035bc.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-dcc194de.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-dcc194de.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-dcc194de.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-dcc194de.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-e786bfac.system.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-e786bfac.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e786bfac.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e786bfac.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-f3859dc2.js +2 -0
- package/dist/geotrek-rando-widget/p-f3859dc2.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f3859dc2.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f3859dc2.js.map +1 -0
- package/dist/geotrek-rando-widget/p-f5b24b94.js +2 -0
- package/dist/geotrek-rando-widget/p-f5b24b94.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f5b24b94.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f5b24b94.js.map +1 -0
- package/dist/geotrek-rando-widget/p-f6cd84f4.system.js +2 -0
- package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-fc06af41.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-fc06af41.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fc06af41.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-fc06af41.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/grw-app_28.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-app_28.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-app_28.cjs.entry.js.map +0 -1
- package/dist/esm/grw-app_28.entry.js.br +0 -0
- package/dist/esm/grw-app_28.entry.js.gz +0 -0
- package/dist/esm/grw-app_28.entry.js.map +0 -1
- package/dist/esm/index-f51f19f9.js.br +0 -0
- package/dist/esm/index-f51f19f9.js.gz +0 -0
- package/dist/esm-es5/grw-app_28.entry.js +0 -15
- package/dist/esm-es5/grw-app_28.entry.js.br +0 -0
- package/dist/esm-es5/grw-app_28.entry.js.gz +0 -0
- package/dist/esm-es5/grw-app_28.entry.js.map +0 -1
- package/dist/esm-es5/index-f51f19f9.js.br +0 -0
- package/dist/esm-es5/index-f51f19f9.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-103f8035.entry.js +0 -15
- package/dist/geotrek-rando-widget/p-103f8035.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-103f8035.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-103f8035.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-9d93427a.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9d93427a.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cea4d6a2.system.js +0 -2
- package/dist/geotrek-rando-widget/p-cea4d6a2.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cea4d6a2.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d7597744.system.entry.js +0 -15
- package/dist/geotrek-rando-widget/p-d7597744.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d7597744.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d7597744.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-fb5e6f55.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fb5e6f55.js.gz +0 -0
- /package/dist/esm-es5/{index-f51f19f9.js.map → index-d5cacae4.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-fb5e6f55.js.map → p-0c07a3f0.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-9d93427a.system.js.map → p-d2c035bc.system.js.map} +0 -0
|
@@ -113,7 +113,7 @@ const patchDynamicImport = (base, orgScriptElm) => {
|
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
patchBrowser().then(options => {
|
|
116
|
-
return index.bootstrapLazy(JSON.parse("[[\"grw-app_28.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],\"center\":[1],\"zoom\":[2],\"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\"],\"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\"],\"useGradient\":[4,\"use-gradient\"],\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"]]],[1,\"grw-trek-detail\",{\"trek\":[16],\"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\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32]}],[1,\"grw-filters\",{\"handleFilters\":[16],\"fontFamily\":[1,\"font-family\"],\"selectedSegment\":[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\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"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\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"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\"],\"isLargeView\":[4,\"is-large-view\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"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\"],\"center\":[1],\"zoom\":[2],\"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\"],\"useGradient\":[4,\"use-gradient\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"isLargeView\":[4,\"is-large-view\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"informationDeskIsInViewport\",\"onInformationDesksIsInViewport\"],[8,\"sensitiveAreaIsInViewport\",\"sensitiveAreaIsInViewport\"],[8,\"poiIsInViewport\",\"poiIsInViewport\"],[8,\"touristicContentsIsInViewport\",\"touristicContentsIsInViewport\"],[8,\"touristicEventsIsInViewport\",\"touristicEventsIsInViewport\"],[8,\"cardTrekMouseOver\",\"onCardTrekMouseOver\"],[8,\"cardTrekMouseLeave\",\"onCardTrekMouseLeave\"],[8,\"cardTouristicContentMouseOver\",\"onTouristicContentMouseOver\"],[8,\"cardTouristicContentMouseLeave\",\"onTouristicContentMouseLeave\"],[8,\"cardTouristicEventMouseOver\",\"onTouristicEventMouseOver\"],[8,\"cardTouristicEventMouseLeave\",\"onTouristicEventMouseLeave\"]]],[1,\"grw-search\",{\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-segmented-segment\",{\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-select-language\"],[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]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[1,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"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]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[1,\"touristic-event-id\"],\"portals\":[1]}],[1,\"grw-touristic-events-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-trek-provider\",{\"languages\":[1],\"api\":[1],\"trekId\":[1,\"trek-id\"],\"portals\":[1]}],[1,\"grw-treks-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1]}],[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\"]]],[1,\"grw-information-desk\",{\"informationDesk\":[16],\"displayShortDescription\":[32],\"showInformationDeskDescriptionButton\":[32]}],[1,\"grw-poi\",{\"poi\":[16],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32]}],[1,\"grw-sensitive-area-detail\",{\"sensitiveArea\":[16]}],[1,\"grw-touristic-content-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicContent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-trek-card\",{\"trek\":[16],\"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\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"isStep\":[4,\"is-step\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]]]"), options);
|
|
116
|
+
return index.bootstrapLazy(JSON.parse("[[\"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-information-desk_6.cjs\",[[1,\"grw-information-desk\",{\"informationDesk\":[16],\"displayShortDescription\":[32],\"showInformationDeskDescriptionButton\":[32]}],[1,\"grw-poi\",{\"poi\":[16],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32]}],[1,\"grw-sensitive-area-detail\",{\"sensitiveArea\":[16]}],[1,\"grw-touristic-content-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicContent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-trek-card\",{\"trek\":[16],\"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\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"isStep\":[4,\"is-step\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32]},[[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-common-button_20.cjs\",[[1,\"grw-trek-detail\",{\"trek\":[16],\"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\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32]}],[1,\"grw-filters\",{\"handleFilters\":[16],\"fontFamily\":[1,\"font-family\"],\"selectedSegment\":[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\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"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\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"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\"],\"isLargeView\":[4,\"is-large-view\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"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\"],\"center\":[1],\"zoom\":[2],\"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\"],\"useGradient\":[4,\"use-gradient\"],\"resetStoreOnDisconnected\":[4,\"reset-store-on-disconnected\"],\"isLargeView\":[4,\"is-large-view\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"informationDeskIsInViewport\",\"onInformationDesksIsInViewport\"],[8,\"sensitiveAreaIsInViewport\",\"sensitiveAreaIsInViewport\"],[8,\"poiIsInViewport\",\"poiIsInViewport\"],[8,\"touristicContentsIsInViewport\",\"touristicContentsIsInViewport\"],[8,\"touristicEventsIsInViewport\",\"touristicEventsIsInViewport\"],[8,\"cardTrekMouseOver\",\"onCardTrekMouseOver\"],[8,\"cardTrekMouseLeave\",\"onCardTrekMouseLeave\"],[8,\"cardTouristicContentMouseOver\",\"onTouristicContentMouseOver\"],[8,\"cardTouristicContentMouseLeave\",\"onTouristicContentMouseLeave\"],[8,\"cardTouristicEventMouseOver\",\"onTouristicEventMouseOver\"],[8,\"cardTouristicEventMouseLeave\",\"onTouristicEventMouseLeave\"]]],[1,\"grw-search\",{\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-segmented-segment\",{\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-select-language\"],[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]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[1,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"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]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[1,\"touristic-event-id\"],\"portals\":[1]}],[1,\"grw-touristic-events-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-trek-provider\",{\"languages\":[1],\"api\":[1],\"trekId\":[1,\"trek-id\"],\"portals\":[1]}],[1,\"grw-treks-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1],\"routes\":[1],\"practices\":[1]}]]],[\"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],\"center\":[1],\"zoom\":[2],\"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\"],\"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\"],\"useGradient\":[4,\"use-gradient\"],\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"]]]]]]"), options);
|
|
117
117
|
});
|
|
118
118
|
|
|
119
119
|
exports.setNonce = index.setNonce;
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-9e4fe3f0.js');
|
|
6
|
+
const i18n = require('./i18n-54f97142.js');
|
|
7
|
+
const store = require('./store-aa5044fc.js');
|
|
8
|
+
|
|
9
|
+
const grwAppCss = "grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.header-container,.large-view-header-container{height:var(--header-height)}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-container{margin-left:16px}.header-detail{height:64px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - var(--header-height))}.content-treks{height:calc(100% - var(--header-height))}.content-trek{height:100%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container,.large-view-app-touristic-content-detail-container,.large-view-app-touristic-event-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100vh - 64px - 48px)}grw-touristic-content-detail,grw-touristic-event-detail{position:relative;max-height:calc(100vh - 64px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container,.large-view-app-touristic-content-detail-container,.large-view-app-touristic-event-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}.error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.error-container grw-common-button{margin-top:16px}";
|
|
10
|
+
|
|
11
|
+
const GrwApp = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.largeViewSize = 1024;
|
|
15
|
+
this.handlePopStateBind = this.handlePopState.bind(this);
|
|
16
|
+
this.showTrek = false;
|
|
17
|
+
this.showTouristicContent = false;
|
|
18
|
+
this.showTouristicEvent = false;
|
|
19
|
+
this.showHomeMap = false;
|
|
20
|
+
this.showTrekMap = false;
|
|
21
|
+
this.showTouristicContentMap = false;
|
|
22
|
+
this.showTouristicEventMap = false;
|
|
23
|
+
this.showFilters = false;
|
|
24
|
+
this.isLargeView = false;
|
|
25
|
+
this.currentTrekId = undefined;
|
|
26
|
+
this.currentTouristicContentId = undefined;
|
|
27
|
+
this.currentTouristicEventId = undefined;
|
|
28
|
+
this.appWidth = '100%';
|
|
29
|
+
this.appHeight = '100vh';
|
|
30
|
+
this.api = undefined;
|
|
31
|
+
this.languages = 'fr';
|
|
32
|
+
this.inBbox = undefined;
|
|
33
|
+
this.cities = undefined;
|
|
34
|
+
this.districts = undefined;
|
|
35
|
+
this.structures = undefined;
|
|
36
|
+
this.themes = undefined;
|
|
37
|
+
this.portals = undefined;
|
|
38
|
+
this.routes = undefined;
|
|
39
|
+
this.practices = undefined;
|
|
40
|
+
this.center = undefined;
|
|
41
|
+
this.zoom = undefined;
|
|
42
|
+
this.nameLayer = undefined;
|
|
43
|
+
this.urlLayer = undefined;
|
|
44
|
+
this.attributionLayer = undefined;
|
|
45
|
+
this.weather = false;
|
|
46
|
+
this.emergencyNumber = undefined;
|
|
47
|
+
this.fontFamily = 'Roboto';
|
|
48
|
+
this.colorPrimaryApp = '#6750a4';
|
|
49
|
+
this.colorOnPrimary = '#ffffff';
|
|
50
|
+
this.colorSurface = '#1c1b1f';
|
|
51
|
+
this.colorOnSurface = '#49454e';
|
|
52
|
+
this.colorSurfaceVariant = '#fef7ff';
|
|
53
|
+
this.colorOnSurfaceVariant = '#1c1b1f';
|
|
54
|
+
this.colorPrimaryContainer = '#eaddff';
|
|
55
|
+
this.colorOnPrimaryContainer = '#21005e';
|
|
56
|
+
this.colorSecondaryContainer = '#e8def8';
|
|
57
|
+
this.colorOnSecondaryContainer = '#1d192b';
|
|
58
|
+
this.colorBackground = '#fef7ff';
|
|
59
|
+
this.colorSurfaceContainerHigh = '#ece6f0';
|
|
60
|
+
this.colorSurfaceContainerLow = '#f7f2fa';
|
|
61
|
+
this.fabBackgroundColor = '#eaddff';
|
|
62
|
+
this.fabColor = '#21005d';
|
|
63
|
+
this.rounded = true;
|
|
64
|
+
this.colorTrekLine = '#6b0030';
|
|
65
|
+
this.colorSensitiveArea = '#4974a5';
|
|
66
|
+
this.colorPoiIcon = '#974c6e';
|
|
67
|
+
this.useGradient = false;
|
|
68
|
+
this.treks = true;
|
|
69
|
+
this.touristicContents = false;
|
|
70
|
+
this.touristicEvents = false;
|
|
71
|
+
}
|
|
72
|
+
onTrekCardPress(event) {
|
|
73
|
+
this.currentTouristicContentId = null;
|
|
74
|
+
this.showTouristicContent = false;
|
|
75
|
+
store.state.currentTouristicContent = null;
|
|
76
|
+
this.currentTouristicEventId = null;
|
|
77
|
+
this.showTouristicEvent = false;
|
|
78
|
+
store.state.currentTouristicEvent = null;
|
|
79
|
+
const parentTrek = store.state.parentTrekId ? store.state.parentTrekId : store.state.currentTrekSteps ? this.currentTrekId : null;
|
|
80
|
+
store.state.currentTrek = null;
|
|
81
|
+
this.currentTrekId = event.detail;
|
|
82
|
+
this.showTrek = true;
|
|
83
|
+
this.showTrekMap = false;
|
|
84
|
+
const url = new URL(window.location.toString());
|
|
85
|
+
url.searchParams.set('trek', this.currentTrekId.toString());
|
|
86
|
+
if (store.state.currentTrekSteps) {
|
|
87
|
+
url.searchParams.set('parenttrek', parentTrek.toString());
|
|
88
|
+
}
|
|
89
|
+
window.history.pushState({}, '', url);
|
|
90
|
+
}
|
|
91
|
+
onParentTrekPress(event) {
|
|
92
|
+
store.state.currentTrek = null;
|
|
93
|
+
this.currentTrekId = event.detail;
|
|
94
|
+
this.showTrek = true;
|
|
95
|
+
this.showTrekMap = false;
|
|
96
|
+
const url = new URL(window.location.toString());
|
|
97
|
+
url.searchParams.set('trek', this.currentTrekId.toString());
|
|
98
|
+
url.searchParams.delete('parenttrek');
|
|
99
|
+
window.history.pushState({}, '', url);
|
|
100
|
+
}
|
|
101
|
+
onTouristicContentCardPress(event) {
|
|
102
|
+
store.state.currentTrek = null;
|
|
103
|
+
this.currentTrekId = null;
|
|
104
|
+
this.showTrek = false;
|
|
105
|
+
this.currentTouristicContentId = event.detail;
|
|
106
|
+
this.showTouristicContent = true;
|
|
107
|
+
this.showTouristicContentMap = false;
|
|
108
|
+
const url = new URL(window.location.toString());
|
|
109
|
+
url.searchParams.delete('trek');
|
|
110
|
+
url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());
|
|
111
|
+
window.history.pushState({}, '', url);
|
|
112
|
+
}
|
|
113
|
+
onTouristiceEventCardPress(event) {
|
|
114
|
+
store.state.currentTrek = null;
|
|
115
|
+
this.currentTrekId = null;
|
|
116
|
+
this.showTrek = false;
|
|
117
|
+
this.currentTouristicEventId = event.detail;
|
|
118
|
+
this.showTouristicEvent = true;
|
|
119
|
+
this.showTouristicEventMap = false;
|
|
120
|
+
const url = new URL(window.location.toString());
|
|
121
|
+
url.searchParams.delete('trek');
|
|
122
|
+
url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());
|
|
123
|
+
window.history.pushState({}, '', url);
|
|
124
|
+
}
|
|
125
|
+
onWindowResize() {
|
|
126
|
+
this.handleView();
|
|
127
|
+
}
|
|
128
|
+
onCenterOnMap() {
|
|
129
|
+
if (!this.isLargeView) {
|
|
130
|
+
this.showTrekMap = true;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
watchPropHandler() {
|
|
134
|
+
window.dispatchEvent(new window.Event('resize'));
|
|
135
|
+
}
|
|
136
|
+
componentWillLoad() {
|
|
137
|
+
if (this.treks) {
|
|
138
|
+
store.state.mode = 'treks';
|
|
139
|
+
}
|
|
140
|
+
else if (this.touristicContents) {
|
|
141
|
+
store.state.mode = 'touristicContents';
|
|
142
|
+
}
|
|
143
|
+
else if (this.touristicEvents) {
|
|
144
|
+
store.state.mode = 'touristicEvents';
|
|
145
|
+
}
|
|
146
|
+
const url = new URL(window.location.toString());
|
|
147
|
+
const trekParam = url.searchParams.get('trek');
|
|
148
|
+
const parentTrekId = url.searchParams.get('parenttrek');
|
|
149
|
+
const touristicContentParam = url.searchParams.get('touristiccontent');
|
|
150
|
+
const touristicEventParam = url.searchParams.get('touristicevent');
|
|
151
|
+
if (trekParam) {
|
|
152
|
+
window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
|
|
153
|
+
store.state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;
|
|
154
|
+
this.currentTrekId = Number(trekParam);
|
|
155
|
+
this.showTrek = true;
|
|
156
|
+
}
|
|
157
|
+
else if (touristicContentParam) {
|
|
158
|
+
window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
|
|
159
|
+
this.currentTouristicContentId = Number(touristicContentParam);
|
|
160
|
+
this.showTouristicContent = true;
|
|
161
|
+
}
|
|
162
|
+
else if (touristicEventParam) {
|
|
163
|
+
window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
|
|
164
|
+
this.currentTouristicEventId = Number(touristicEventParam);
|
|
165
|
+
this.showTouristicEvent = true;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
componentDidLoad() {
|
|
169
|
+
window.addEventListener('popstate', this.handlePopStateBind, false);
|
|
170
|
+
this.handleView();
|
|
171
|
+
}
|
|
172
|
+
onDetailsClose() {
|
|
173
|
+
if (this.treks) {
|
|
174
|
+
store.state.mode = 'treks';
|
|
175
|
+
}
|
|
176
|
+
else if (this.touristicContents) {
|
|
177
|
+
store.state.mode = 'touristicContents';
|
|
178
|
+
}
|
|
179
|
+
else if (this.touristicEvents) {
|
|
180
|
+
store.state.mode = 'touristicEvents';
|
|
181
|
+
}
|
|
182
|
+
this.currentTouristicContentId = null;
|
|
183
|
+
this.showTouristicContent = false;
|
|
184
|
+
this.showTouristicContentMap = false;
|
|
185
|
+
this.showTouristicEvent = false;
|
|
186
|
+
this.showTouristicEventMap = false;
|
|
187
|
+
store.state.currentTouristicContent = null;
|
|
188
|
+
store.state.currentTouristicEvent = null;
|
|
189
|
+
store.state.currentTrek = null;
|
|
190
|
+
store.state.currentTrekSteps = null;
|
|
191
|
+
store.state.parentTrekId = null;
|
|
192
|
+
this.currentTrekId = null;
|
|
193
|
+
this.showTrek = false;
|
|
194
|
+
}
|
|
195
|
+
handleView() {
|
|
196
|
+
this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;
|
|
197
|
+
this.showHomeMap = this.isLargeView;
|
|
198
|
+
this.showTrekMap = this.isLargeView;
|
|
199
|
+
}
|
|
200
|
+
handleFilters() {
|
|
201
|
+
this.showFilters = !this.showFilters;
|
|
202
|
+
}
|
|
203
|
+
handleBackButton() {
|
|
204
|
+
if (window.history.state && window.history.state.isInitialHistoryWithDetails) {
|
|
205
|
+
this.onDetailsClose();
|
|
206
|
+
const url = new URL(window.location.toString());
|
|
207
|
+
url.searchParams.delete('trek');
|
|
208
|
+
url.searchParams.delete('touristiccontent');
|
|
209
|
+
url.searchParams.delete('touristicevent');
|
|
210
|
+
window.history.pushState({}, '', url);
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
window.history.back();
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
handlePopState() {
|
|
217
|
+
const url = new URL(window.location.toString());
|
|
218
|
+
const trekParam = Number(url.searchParams.get('trek'));
|
|
219
|
+
const touristicContentParam = url.searchParams.get('touristiccontent');
|
|
220
|
+
const touristicEventParam = url.searchParams.get('touristicevent');
|
|
221
|
+
if (trekParam && this.currentTrekId !== trekParam) {
|
|
222
|
+
this.currentTouristicContentId = null;
|
|
223
|
+
this.showTouristicContent = false;
|
|
224
|
+
this.showTouristicEvent = false;
|
|
225
|
+
store.state.currentTouristicContent = null;
|
|
226
|
+
store.state.currentTouristicEvent = null;
|
|
227
|
+
store.state.currentTrek = null;
|
|
228
|
+
this.currentTrekId = trekParam;
|
|
229
|
+
this.showTrek = true;
|
|
230
|
+
}
|
|
231
|
+
else if (!trekParam && !touristicContentParam && !touristicEventParam) {
|
|
232
|
+
this.onDetailsClose();
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
handleShowMap() {
|
|
236
|
+
if (this.currentTrekId) {
|
|
237
|
+
this.showTrekMap = !this.showTrekMap;
|
|
238
|
+
}
|
|
239
|
+
else if (this.showTouristicContent) {
|
|
240
|
+
this.showTouristicContentMap = !this.showTouristicContentMap;
|
|
241
|
+
}
|
|
242
|
+
else if (this.showTouristicEvent) {
|
|
243
|
+
this.showTouristicEventMap = !this.showTouristicEventMap;
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
this.showHomeMap = !this.showHomeMap;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
getMapVisibilityIconButton() {
|
|
250
|
+
let mapIconButton;
|
|
251
|
+
if (this.showTrek) {
|
|
252
|
+
mapIconButton = this.showTrekMap ? 'summarize' : 'map';
|
|
253
|
+
}
|
|
254
|
+
else if (this.showTouristicContent) {
|
|
255
|
+
mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';
|
|
256
|
+
}
|
|
257
|
+
else if (this.showTouristicEvent) {
|
|
258
|
+
mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
mapIconButton = this.showHomeMap ? 'list' : 'map';
|
|
262
|
+
}
|
|
263
|
+
return mapIconButton;
|
|
264
|
+
}
|
|
265
|
+
getMapVisibilityLabelButton() {
|
|
266
|
+
let mapLabelButton;
|
|
267
|
+
if (this.showTrek) {
|
|
268
|
+
mapLabelButton = this.showTrekMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showRoute;
|
|
269
|
+
}
|
|
270
|
+
else if (this.showTouristicContent) {
|
|
271
|
+
mapLabelButton = this.showTouristicContentMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showMap;
|
|
272
|
+
}
|
|
273
|
+
else if (this.showTouristicEvent) {
|
|
274
|
+
mapLabelButton = this.showTouristicEventMap ? i18n.translate[store.state.language].showDetails : i18n.translate[store.state.language].showMap;
|
|
275
|
+
}
|
|
276
|
+
else {
|
|
277
|
+
mapLabelButton = this.showHomeMap ? i18n.translate[store.state.language].showList : i18n.translate[store.state.language].showMap;
|
|
278
|
+
}
|
|
279
|
+
return mapLabelButton;
|
|
280
|
+
}
|
|
281
|
+
reload() {
|
|
282
|
+
window.location.reload();
|
|
283
|
+
}
|
|
284
|
+
disconnectedCallback() {
|
|
285
|
+
store.reset();
|
|
286
|
+
window.removeEventListener('popstate', this.handlePopStateBind);
|
|
287
|
+
}
|
|
288
|
+
render() {
|
|
289
|
+
return (index.h(index.Host, { style: {
|
|
290
|
+
'--font-family': this.fontFamily,
|
|
291
|
+
'--color-primary-app': this.colorPrimaryApp,
|
|
292
|
+
'--color-on-primary': this.colorOnPrimary,
|
|
293
|
+
'--color-surface': this.colorSurface,
|
|
294
|
+
'--color-on-surface': this.colorOnSurface,
|
|
295
|
+
'--color-surface-variant': this.colorSurfaceVariant,
|
|
296
|
+
'--color-on-surface-variant': this.colorOnSurfaceVariant,
|
|
297
|
+
'--color-primary-container': this.colorPrimaryContainer,
|
|
298
|
+
'--color-on-primary-container': this.colorOnPrimaryContainer,
|
|
299
|
+
'--color-secondary-container': this.colorSecondaryContainer,
|
|
300
|
+
'--color-on-secondary-container': this.colorOnSecondaryContainer,
|
|
301
|
+
'--color-background': this.colorBackground,
|
|
302
|
+
'--color-surface-container-high': this.colorSurfaceContainerHigh,
|
|
303
|
+
'--color-surface-container-low': this.colorSurfaceContainerLow,
|
|
304
|
+
'--fab-background-color': this.fabBackgroundColor,
|
|
305
|
+
'--fab-color': this.fabColor,
|
|
306
|
+
'--color-sensitive-area': this.colorSensitiveArea,
|
|
307
|
+
'--app-width': this.appWidth,
|
|
308
|
+
'--app-height': this.appHeight,
|
|
309
|
+
'--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',
|
|
310
|
+
'--border-radius': this.rounded ? '' : '0px',
|
|
311
|
+
} }, !store.state.currentTreks &&
|
|
312
|
+
!store.state.currentTrek &&
|
|
313
|
+
!store.state.currentTouristicContent &&
|
|
314
|
+
!store.state.currentTouristicEvent &&
|
|
315
|
+
!store.state.currentTouristicContents &&
|
|
316
|
+
!store.state.currentTouristicEvents && (index.h("div", { class: "init-loader-container" }, index.h("grw-loader", { "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer }))), this.treks && store.state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !store.state.currentTreks && (index.h("grw-treks-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals, routes: this.routes, practices: this.practices })), this.showTrek && this.currentTrekId && !store.state.currentTrek && (index.h("grw-trek-provider", { api: this.api, languages: this.languages, "trek-id": this.currentTrekId, portals: this.portals })), this.showTouristicContent && this.currentTouristicContentId && (index.h("grw-touristic-content-provider", { api: this.api, languages: this.languages, "touristic-content-id": this.currentTouristicContentId, portals: this.portals })), this.showTouristicEvent && this.currentTouristicEventId && (index.h("grw-touristic-event-provider", { api: this.api, languages: this.languages, "touristic-event-id": this.currentTouristicEventId, portals: this.portals })), this.touristicContents && store.state.mode === 'touristicContents' && !store.state.currentTouristicContents && !this.showTouristicContent && (index.h("grw-touristic-contents-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals })), this.touristicEvents && store.state.mode === 'touristicEvents' && !store.state.currentTouristicEvents && !this.showTouristicEvent && (index.h("grw-touristic-events-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals })), (store.state.currentTreks ||
|
|
317
|
+
store.state.currentTrek ||
|
|
318
|
+
store.state.touristicContents ||
|
|
319
|
+
store.state.touristicEvents ||
|
|
320
|
+
store.state.currentTouristicContent ||
|
|
321
|
+
store.state.currentTouristicEvent ||
|
|
322
|
+
store.state.trekNetworkError) && (index.h("div", { class: "app-container" }, store.state.languages && store.state.languages.length > 1 && (index.h("div", { class: "languages-container" }, index.h("grw-select-language", null))), index.h("div", { class: `${this.isLargeView ? 'large-view-header-container' : 'header-container'}${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''}` }, Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 &&
|
|
323
|
+
!this.showTrek &&
|
|
324
|
+
!this.showTouristicContent &&
|
|
325
|
+
!this.showTouristicEvent && (index.h("grw-segmented-segment", { fontFamily: this.fontFamily, treks: this.treks, touristicContents: this.touristicContents, touristicEvents: this.touristicEvents })), !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (index.h("div", { class: "handle-search-filters-container" }, index.h("div", { class: "handle-search-container" }, index.h("grw-search", { fontFamily: this.fontFamily })), index.h("div", { class: "handle-filters-container" }, index.h("grw-common-button", { fontFamily: this.fontFamily, action: () => this.handleFilters(), icon: 'filter_list', name: i18n.translate[store.state.language].filter })))) : (index.h("div", { class: "arrow-back-container" }, index.h("button", { onClick: () => this.handleBackButton(), class: "arrow-back-icon" }, index.h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "arrow_back"))))), index.h("div", { class: `content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'content-trek' : 'content-treks'}` }, store.state.trekNetworkError && (index.h("div", { class: "error-container" }, "Une erreur est survenue.", index.h("grw-common-button", { icon: "refresh", name: "Recharger la page", action: () => this.reload() }))), index.h("div", { class: this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container', style: { display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' } }, store.state.mode === 'treks' && this.treks && (index.h("grw-treks-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), store.state.mode === 'touristicContents' && this.touristicContents && (index.h("grw-touristic-contents-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), store.state.mode === 'touristicEvents' && this.touristicEvents && (index.h("grw-touristic-events-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, fontFamily: this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow }))), (this.showTrek && !store.state.currentTrek) ||
|
|
326
|
+
(this.showTouristicContent && !store.state.currentTouristicContent) ||
|
|
327
|
+
(this.showTouristicEvent && !store.state.currentTouristicEvent) ||
|
|
328
|
+
(!store.state.currentTreks && store.state.mode === 'treks') ||
|
|
329
|
+
(!store.state.touristicContents && store.state.mode === 'touristicContents' && (index.h("div", { class: this.isLargeView ? 'large-view-loader-container' : 'loader-container' }, index.h("grw-loader", { "color-primary-container": this.colorSecondaryContainer, "color-on-primary-container": this.colorOnSecondaryContainer })))), store.state.currentTrek && (index.h("div", { class: this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container' }, index.h("grw-trek-detail", { style: {
|
|
330
|
+
visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',
|
|
331
|
+
zIndex: !this.showTrekMap ? '1' : '0',
|
|
332
|
+
}, "reset-store-on-disconnected": 'false', fontFamily: this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, weather: this.weather, "is-large-view": this.isLargeView, "emergency-number": this.emergencyNumber }))), this.showTouristicContent && (index.h("div", { class: this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container' }, index.h("grw-touristic-content-detail", { style: {
|
|
333
|
+
visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',
|
|
334
|
+
zIndex: !this.showTouristicContentMap ? '1' : '0',
|
|
335
|
+
}, fontFamily: this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView }))), this.showTouristicEvent && (index.h("div", { class: this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container' }, index.h("grw-touristic-event-detail", { style: {
|
|
336
|
+
visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',
|
|
337
|
+
zIndex: !this.showTouristicEventMap ? '1' : '0',
|
|
338
|
+
}, fontFamily: this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView }))), !store.state.trekNetworkError && (index.h("grw-map", { "reset-store-on-disconnected": 'false', class: this.isLargeView ? 'large-view-app-map-container' : 'app-map-container', style: {
|
|
339
|
+
visibility: (this.showHomeMap && !this.showTrek) ||
|
|
340
|
+
(this.showTrekMap && this.showTrek) ||
|
|
341
|
+
(this.showTouristicContentMap && this.showTouristicContent) ||
|
|
342
|
+
(this.showTouristicEventMap && this.showTouristicEvent) ||
|
|
343
|
+
this.isLargeView
|
|
344
|
+
? 'visible'
|
|
345
|
+
: 'hidden',
|
|
346
|
+
zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap ? '1' : '0',
|
|
347
|
+
}, center: this.center, zoom: this.zoom, "name-layer": this.nameLayer, "url-layer": this.urlLayer, "attribution-layer": this.attributionLayer, fontFamily: 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-poi-icon": this.colorPoiIcon, "is-large-view": this.isLargeView, "use-gradient": this.useGradient }))), ((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||
|
|
348
|
+
(this.showTrek && store.state.currentTrek) ||
|
|
349
|
+
(this.showTouristicContent && store.state.currentTouristicContent) ||
|
|
350
|
+
(this.showTouristicEvent && store.state.currentTouristicEvent)) && (index.h("div", { class: "map-visibility-button-container" }, index.h("grw-extended-fab", { fontFamily: this.fontFamily, action: () => this.handleShowMap(), icon: () => this.getMapVisibilityIconButton(), name: () => this.getMapVisibilityLabelButton(), display: this.isLargeView ? 'none' : 'flex' }))))), !this.showTrek && this.showFilters && index.h("grw-filters", { fontFamily: this.fontFamily, handleFilters: () => this.handleFilters() })));
|
|
351
|
+
}
|
|
352
|
+
get appElement() { return index.getElement(this); }
|
|
353
|
+
static get watchers() { return {
|
|
354
|
+
"isLargeView": ["watchPropHandler"]
|
|
355
|
+
}; }
|
|
356
|
+
};
|
|
357
|
+
GrwApp.style = grwAppCss;
|
|
358
|
+
|
|
359
|
+
exports.grw_app = GrwApp;
|
|
360
|
+
|
|
361
|
+
//# sourceMappingURL=grw-app.cjs.entry.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"grw-app.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,SAAS,GAAG,67GAA67G;;MCSl8G,MAAM;;;IA6DjB,kBAAa,GAAG,IAAI,CAAC;IACrB,uBAAkB,GAAyB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBA5DtD,KAAK;gCACO,KAAK;8BACP,KAAK;uBACZ,KAAK;uBACL,KAAK;mCACO,KAAK;iCACP,KAAK;uBACf,KAAK;uBACL,KAAK;;;;oBAID,MAAM;qBACL,OAAO;;qBAEf,IAAI;;;;;;;;;;;;;;mBAcN,KAAK;;sBAGF,QAAQ;2BACH,SAAS;0BACV,SAAS;wBACX,SAAS;0BACP,SAAS;+BACJ,SAAS;iCACP,SAAS;iCACT,SAAS;mCACP,SAAS;mCACT,SAAS;qCACP,SAAS;2BACnB,SAAS;qCACC,SAAS;oCACV,SAAS;8BACf,SAAS;oBACnB,SAAS;mBACV,IAAI;yBAEE,SAAS;8BACJ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,EAAE,IAAI,CAAC,UAAU,EAC3B,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,yBAAa,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,GAAgB,CACrI,EACP;GACH;;;;;;;;;;","names":["state","translate","reset","h","Host"],"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.app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.header-container,\n.large-view-header-container {\n height: var(--header-height);\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.header-detail {\n height: 64px;\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n 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.content-container {\n position: relative;\n display: flex;\n height: calc(100% - var(--header-height));\n}\n\n.content-treks {\n height: calc(100% - var(--header-height));\n}\n\n.content-trek {\n height: 100%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container,\n.large-view-app-touristic-content-detail-container,\n.large-view-app-touristic-event-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-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 {\n position: relative;\n max-height: calc(100vh - 64px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container,\n.large-view-app-touristic-content-detail-container,\n.large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.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","import { Component, Host, h, Listen, State, Prop, Element, Watch } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\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 @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() center: string;\n @Prop() zoom: number;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n 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 this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('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 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 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('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n 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 }\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 if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n this.showTouristicEvent = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\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 }\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = false;\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 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 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 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 this.showTrek = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam) {\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 {\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 {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\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 {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\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 render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',\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 <div class=\"init-loader-container\">\n <grw-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 in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider api={this.api} languages={this.languages} trek-id={this.currentTrekId} portals={this.portals}></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.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 {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.trekNetworkError) && (\n <div class=\"app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'large-view-header-container' : 'header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent && (\n <grw-segmented-segment\n fontFamily={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search fontFamily={this.fontFamily}></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <grw-common-button\n fontFamily={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={translate[state.language].filter}\n ></grw-common-button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'content-trek' : 'content-treks'}`}>\n {state.trekNetworkError && (\n <div class=\"error-container\">\n Une erreur est survenue.\n <grw-common-button icon=\"refresh\" name=\"Recharger la page\" action={() => this.reload()}></grw-common-button>\n </div>\n )}\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n {state.mode === 'treks' && this.treks && (\n <grw-treks-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={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 && (\n <grw-touristic-contents-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={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 && (\n <grw-touristic-events-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n fontFamily={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 </div>\n {(this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (!state.currentTreks && state.mode === 'treks') ||\n (!state.touristicContents && state.mode === 'touristicContents' && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <grw-loader color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n ))}\n {state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected={'false'}\n fontFamily={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 ></grw-trek-detail>\n </div>\n )}\n {this.showTouristicContent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n fontFamily={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 && (\n <div class={this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n fontFamily={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 {!state.trekNetworkError && (\n <grw-map\n reset-store-on-disconnected={'false'}\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap ? '1' : '0',\n }}\n center={this.center}\n zoom={this.zoom}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n fontFamily={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 ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent)) && (\n <div class=\"map-visibility-button-container\">\n <grw-extended-fab\n fontFamily={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 fontFamily={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}
|