@geotrekce/geotrek-rando-widget 0.7.0 → 0.7.1

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.
Files changed (98) hide show
  1. package/dist/cjs/geotrek-rando-widget.cjs.js +1 -1
  2. package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
  3. package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
  4. package/dist/cjs/grw-app.cjs.entry.js +5 -3
  5. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  6. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  7. package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
  8. package/dist/cjs/grw-common-button_21.cjs.entry.js +1 -1
  9. package/dist/cjs/grw-common-button_21.cjs.entry.js.br +0 -0
  10. package/dist/cjs/grw-common-button_21.cjs.entry.js.gz +0 -0
  11. package/dist/cjs/grw-common-button_21.cjs.entry.js.map +1 -1
  12. package/dist/cjs/loader.cjs.js +1 -1
  13. package/dist/cjs/loader.cjs.js.br +0 -0
  14. package/dist/cjs/loader.cjs.js.gz +0 -0
  15. package/dist/collection/components/grw-app/grw-app.css +1 -1
  16. package/dist/collection/components/grw-app/grw-app.css.br +0 -0
  17. package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
  18. package/dist/collection/components/grw-app/grw-app.js +22 -2
  19. package/dist/collection/components/grw-app/grw-app.js.br +0 -0
  20. package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
  21. package/dist/collection/components/grw-app/grw-app.js.map +1 -1
  22. package/dist/collection/components/grw-filters/grw-filters.css +1 -1
  23. package/dist/collection/components/grw-filters/grw-filters.css.br +0 -0
  24. package/dist/collection/components/grw-filters/grw-filters.css.gz +0 -0
  25. package/dist/esm/geotrek-rando-widget.js +1 -1
  26. package/dist/esm/geotrek-rando-widget.js.br +0 -0
  27. package/dist/esm/geotrek-rando-widget.js.gz +0 -0
  28. package/dist/esm/grw-app.entry.js +5 -3
  29. package/dist/esm/grw-app.entry.js.br +0 -0
  30. package/dist/esm/grw-app.entry.js.gz +0 -0
  31. package/dist/esm/grw-app.entry.js.map +1 -1
  32. package/dist/esm/grw-common-button_21.entry.js +1 -1
  33. package/dist/esm/grw-common-button_21.entry.js.br +0 -0
  34. package/dist/esm/grw-common-button_21.entry.js.gz +0 -0
  35. package/dist/esm/grw-common-button_21.entry.js.map +1 -1
  36. package/dist/esm/loader.js +1 -1
  37. package/dist/esm/loader.js.br +0 -0
  38. package/dist/esm/loader.js.gz +0 -0
  39. package/dist/esm-es5/geotrek-rando-widget.js +1 -1
  40. package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
  41. package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
  42. package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
  43. package/dist/esm-es5/grw-app.entry.js +1 -1
  44. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  45. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  46. package/dist/esm-es5/grw-app.entry.js.map +1 -1
  47. package/dist/esm-es5/grw-common-button_21.entry.js +1 -1
  48. package/dist/esm-es5/grw-common-button_21.entry.js.br +0 -0
  49. package/dist/esm-es5/grw-common-button_21.entry.js.gz +0 -0
  50. package/dist/esm-es5/grw-common-button_21.entry.js.map +1 -1
  51. package/dist/esm-es5/loader.js +1 -1
  52. package/dist/esm-es5/loader.js.br +0 -0
  53. package/dist/esm-es5/loader.js.gz +0 -0
  54. package/dist/esm-es5/loader.js.map +1 -1
  55. package/dist/geotrek-rando-widget/geotrek-rando-widget.css +1 -1
  56. package/dist/geotrek-rando-widget/geotrek-rando-widget.css.br +0 -0
  57. package/dist/geotrek-rando-widget/geotrek-rando-widget.css.gz +0 -0
  58. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  59. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  60. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  61. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
  62. package/dist/geotrek-rando-widget/p-83f9c2c2.entry.js +2 -0
  63. package/dist/geotrek-rando-widget/p-83f9c2c2.entry.js.br +0 -0
  64. package/dist/geotrek-rando-widget/p-83f9c2c2.entry.js.gz +0 -0
  65. package/dist/geotrek-rando-widget/p-83f9c2c2.entry.js.map +1 -0
  66. package/dist/geotrek-rando-widget/p-b02ae30d.system.js +1 -1
  67. package/dist/geotrek-rando-widget/p-b02ae30d.system.js.br +0 -0
  68. package/dist/geotrek-rando-widget/p-b02ae30d.system.js.gz +0 -0
  69. package/dist/geotrek-rando-widget/p-b02ae30d.system.js.map +1 -1
  70. package/dist/geotrek-rando-widget/{p-e2a73eac.entry.js → p-c171e0d7.entry.js} +2 -2
  71. package/dist/geotrek-rando-widget/p-c171e0d7.entry.js.br +0 -0
  72. package/dist/geotrek-rando-widget/p-c171e0d7.entry.js.gz +0 -0
  73. package/dist/geotrek-rando-widget/p-c171e0d7.entry.js.map +1 -0
  74. package/dist/geotrek-rando-widget/p-ced23fd3.system.entry.js +2 -0
  75. package/dist/geotrek-rando-widget/p-ced23fd3.system.entry.js.br +0 -0
  76. package/dist/geotrek-rando-widget/p-ced23fd3.system.entry.js.gz +0 -0
  77. package/dist/geotrek-rando-widget/p-ced23fd3.system.entry.js.map +1 -0
  78. package/dist/geotrek-rando-widget/{p-05f3277d.system.entry.js → p-ed66cd9d.system.entry.js} +2 -2
  79. package/dist/geotrek-rando-widget/p-ed66cd9d.system.entry.js.br +0 -0
  80. package/dist/geotrek-rando-widget/p-ed66cd9d.system.entry.js.gz +0 -0
  81. package/dist/geotrek-rando-widget/p-ed66cd9d.system.entry.js.map +1 -0
  82. package/dist/types/components/grw-app/grw-app.d.ts +1 -0
  83. package/dist/types/components.d.ts +2 -0
  84. package/package.json +1 -1
  85. package/dist/geotrek-rando-widget/p-05f3277d.system.entry.js.br +0 -0
  86. package/dist/geotrek-rando-widget/p-05f3277d.system.entry.js.gz +0 -0
  87. package/dist/geotrek-rando-widget/p-05f3277d.system.entry.js.map +0 -1
  88. package/dist/geotrek-rando-widget/p-ae17f2a9.entry.js +0 -2
  89. package/dist/geotrek-rando-widget/p-ae17f2a9.entry.js.br +0 -0
  90. package/dist/geotrek-rando-widget/p-ae17f2a9.entry.js.gz +0 -0
  91. package/dist/geotrek-rando-widget/p-ae17f2a9.entry.js.map +0 -1
  92. package/dist/geotrek-rando-widget/p-e2a73eac.entry.js.br +0 -0
  93. package/dist/geotrek-rando-widget/p-e2a73eac.entry.js.gz +0 -0
  94. package/dist/geotrek-rando-widget/p-e2a73eac.entry.js.map +0 -1
  95. package/dist/geotrek-rando-widget/p-f2af961a.system.entry.js +0 -2
  96. package/dist/geotrek-rando-widget/p-f2af961a.system.entry.js.br +0 -0
  97. package/dist/geotrek-rando-widget/p-f2af961a.system.entry.js.gz +0 -0
  98. package/dist/geotrek-rando-widget/p-f2af961a.system.entry.js.map +0 -1
@@ -113,7 +113,7 @@ const patchDynamicImport = (base, orgScriptElm) => {
113
113
  };
114
114
 
115
115
  patchBrowser().then(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],\"offline\":[32],\"showDefaultImage\":[32]}],[1,\"grw-poi\",{\"poi\":[16],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]],[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],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-trek-card\",{\"trek\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isStep\":[4,\"is-step\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32],\"isAvailableOffline\":[32],\"showDefaultImage\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-common-button_21.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\"],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"defaultBackgroundLayerUrl\":[8,\"default-background-layer-url\"],\"defaultBackgroundLayerAttribution\":[8,\"default-background-layer-attribution\"],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"trekTilesMinZoomOffline\":[2,\"trek-tiles-min-zoom-offline\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32],\"offline\":[32]},[[8,\"trekDownloadPress\",\"onTrekDownloadPress\"],[8,\"trekDeletePress\",\"onTrekDeletePress\"]]],[1,\"grw-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\"],\"touristicContentsToDisplay\":[32]}],[1,\"grw-touristic-events-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicEventsToDisplay\":[32]}],[1,\"grw-treks-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayOnlyOfflineTreks\":[4,\"display-only-offline-treks\"],\"isLargeView\":[4,\"is-large-view\"],\"treksToDisplay\":[32]}],[1,\"grw-common-button\",{\"action\":[16],\"icon\":[1],\"name\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-extended-fab\",{\"action\":[16],\"icon\":[16],\"name\":[16],\"display\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-loader\",{\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"]}],[1,\"grw-map\",{\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"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\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"isLargeView\":[4,\"is-large-view\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"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\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]],[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-switch\",{\"action\":[16],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-touristic-content-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[2,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[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\":[2,\"trek-id\"],\"portals\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"routes\":[1],\"practices\":[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\"],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"trekTilesMinZoomOffline\":[2,\"trek-tiles-min-zoom-offline\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32],\"showOfflineModal\":[32],\"showConfirmModal\":[32],\"showLoaderModal\":[32],\"showSuccessModal\":[32],\"showConfirmDeleteModal\":[32],\"showDeletingMessage\":[32],\"showDeleteSuccessMessage\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"trekDownloadConfirm\",\"onTrekDownloadConfirm\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteConfirm\",\"onTrekDeleteConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]]]]]"), 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],\"offline\":[32],\"showDefaultImage\":[32]}],[1,\"grw-poi\",{\"poi\":[16],\"displayShortDescription\":[32],\"showPoiDescriptionButton\":[32],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]],[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],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-touristic-event-card\",{\"fontFamily\":[1,\"font-family\"],\"touristicEvent\":[16],\"isLargeView\":[4,\"is-large-view\"],\"isInsideHorizontalList\":[4,\"is-inside-horizontal-list\"],\"displayFullscreen\":[32],\"offline\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]],[1,\"grw-trek-card\",{\"trek\":[16],\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"isStep\":[4,\"is-step\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"departureCity\":[32],\"isAvailableOffline\":[32],\"showDefaultImage\":[32]},[[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"],[1,\"mouseover\",\"handleMouseOver\"],[1,\"mouseleave\",\"handleMouseLeave\"]]]]],[\"grw-common-button_21.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\"],\"weather\":[4],\"isLargeView\":[4,\"is-large-view\"],\"defaultBackgroundLayerUrl\":[8,\"default-background-layer-url\"],\"defaultBackgroundLayerAttribution\":[8,\"default-background-layer-attribution\"],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"trekTilesMinZoomOffline\":[2,\"trek-tiles-min-zoom-offline\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"currentTrek\":[32],\"difficulty\":[32],\"route\":[32],\"practice\":[32],\"themes\":[32],\"labels\":[32],\"sources\":[32],\"accessibilities\":[32],\"accessibilityLevel\":[32],\"displayFullscreen\":[32],\"cities\":[32],\"options\":[32],\"offline\":[32]},[[8,\"trekDownloadPress\",\"onTrekDownloadPress\"],[8,\"trekDeletePress\",\"onTrekDeletePress\"]]],[1,\"grw-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\"],\"touristicContentsToDisplay\":[32]}],[1,\"grw-touristic-events-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"isLargeView\":[4,\"is-large-view\"],\"touristicEventsToDisplay\":[32]}],[1,\"grw-treks-list\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"displayOnlyOfflineTreks\":[4,\"display-only-offline-treks\"],\"isLargeView\":[4,\"is-large-view\"],\"treksToDisplay\":[32]}],[1,\"grw-common-button\",{\"action\":[16],\"icon\":[1],\"name\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-extended-fab\",{\"action\":[16],\"icon\":[16],\"name\":[16],\"display\":[1],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-loader\",{\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"]}],[1,\"grw-map\",{\"nameLayer\":[1,\"name-layer\"],\"urlLayer\":[1,\"url-layer\"],\"attributionLayer\":[1,\"attribution-layer\"],\"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\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"isLargeView\":[4,\"is-large-view\"],\"mapIsReady\":[32]},[[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"stepsIsInViewport\",\"stepsIsInViewport\"],[8,\"descriptionIsInViewport\",\"descriptionIsInViewport\"],[8,\"parkingIsInViewport\",\"parkingIsInViewport\"],[8,\"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\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]],[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-switch\",{\"action\":[16],\"fontFamily\":[1,\"font-family\"]}],[1,\"grw-touristic-content-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-content-provider\",{\"languages\":[1],\"api\":[1],\"touristicContentId\":[2,\"touristic-content-id\"],\"portals\":[1]}],[1,\"grw-touristic-contents-provider\",{\"languages\":[1],\"api\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"portals\":[1]}],[1,\"grw-touristic-event-detail\",{\"fontFamily\":[1,\"font-family\"],\"colorPrimaryApp\":[1,\"color-primary-app\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"colorBackground\":[1,\"color-background\"],\"isLargeView\":[4,\"is-large-view\"],\"displayFullscreen\":[32],\"offline\":[32]}],[1,\"grw-touristic-event-provider\",{\"languages\":[1],\"api\":[1],\"touristicEventId\":[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\":[2,\"trek-id\"],\"portals\":[1],\"inBbox\":[1,\"in-bbox\"],\"cities\":[1],\"districts\":[1],\"structures\":[1],\"themes\":[1],\"routes\":[1],\"practices\":[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\"],\"colorPrimary\":[1,\"color-primary\"],\"colorOnPrimary\":[1,\"color-on-primary\"],\"colorSurface\":[1,\"color-surface\"],\"colorOnSurface\":[1,\"color-on-surface\"],\"colorSurfaceVariant\":[1,\"color-surface-variant\"],\"colorOnSurfaceVariant\":[1,\"color-on-surface-variant\"],\"colorPrimaryContainer\":[1,\"color-primary-container\"],\"colorOnPrimaryContainer\":[1,\"color-on-primary-container\"],\"colorSecondaryContainer\":[1,\"color-secondary-container\"],\"colorOnSecondaryContainer\":[1,\"color-on-secondary-container\"],\"colorBackground\":[1,\"color-background\"],\"colorSurfaceContainerHigh\":[1,\"color-surface-container-high\"],\"colorSurfaceContainerLow\":[1,\"color-surface-container-low\"],\"fabBackgroundColor\":[1,\"fab-background-color\"],\"fabColor\":[1,\"fab-color\"],\"rounded\":[4],\"colorTrekLine\":[1,\"color-trek-line\"],\"colorSensitiveArea\":[1,\"color-sensitive-area\"],\"colorPoiIcon\":[1,\"color-poi-icon\"],\"useGradient\":[4,\"use-gradient\"],\"treks\":[4],\"touristicContents\":[4,\"touristic-contents\"],\"touristicEvents\":[4,\"touristic-events\"],\"enableOffline\":[4,\"enable-offline\"],\"globalTilesMinZoomOffline\":[2,\"global-tiles-min-zoom-offline\"],\"globalTilesMaxZoomOffline\":[2,\"global-tiles-max-zoom-offline\"],\"trekTilesMinZoomOffline\":[2,\"trek-tiles-min-zoom-offline\"],\"trekTilesMaxZoomOffline\":[2,\"trek-tiles-max-zoom-offline\"],\"showTrek\":[32],\"showTouristicContent\":[32],\"showTouristicEvent\":[32],\"showHomeMap\":[32],\"showTrekMap\":[32],\"showTouristicContentMap\":[32],\"showTouristicEventMap\":[32],\"showFilters\":[32],\"isLargeView\":[32],\"currentTrekId\":[32],\"currentTouristicContentId\":[32],\"currentTouristicEventId\":[32],\"showOfflineModal\":[32],\"showConfirmModal\":[32],\"showLoaderModal\":[32],\"showSuccessModal\":[32],\"showConfirmDeleteModal\":[32],\"showDeletingMessage\":[32],\"showDeleteSuccessMessage\":[32]},[[8,\"trekCardPress\",\"onTrekCardPress\"],[8,\"parentTrekPress\",\"onParentTrekPress\"],[8,\"touristicContentCardPress\",\"onTouristicContentCardPress\"],[8,\"touristicEventCardPress\",\"onTouristiceEventCardPress\"],[9,\"resize\",\"onWindowResize\"],[8,\"centerOnMap\",\"onCenterOnMap\"],[8,\"trekDownloadConfirm\",\"onTrekDownloadConfirm\"],[8,\"trekDownloadedSuccessConfirm\",\"onTrekDownloadedSuccessConfirm\"],[8,\"trekDeleteConfirm\",\"onTrekDeleteConfirm\"],[8,\"trekDeleteSuccessConfirm\",\"onTrekDeleteSuccessConfirm\"]]]]]]"), options);
117
117
  });
118
118
 
119
119
  exports.setNonce = index.setNonce;
@@ -6,7 +6,7 @@ const index = require('./index-e9166f30.js');
6
6
  const i18n = require('./i18n-c8d45caf.js');
7
7
  const utils = require('./utils-84828f7f.js');
8
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}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-segment) - var(--header-with-languages))}.grw-content-trek{height:100%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-treks-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-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)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{width:50%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.modal-container{z-index:40000;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:var(--font-family);top:-64px;left:0px;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.6)}.modal-container .modal-content-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;width:380px;height:120px;padding:16px;margin:0px 16px;background-color:var(--color-background);border-radius:var(--border-radius, 8px)}.modal-container .modal-message-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.modal-container .modal-message-container .modal-loader{width:16px;height:16px;border:3px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite;margin-right:16px}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.modal-container .modal-buttons-container,.modal-container .modal-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-top:16px}.modal-container .modal-buttons-container .modal-button,.modal-container .modal-button-container .modal-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;height:32px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-on-primary-container);background-color:transparent;font-family:var(--font-family)}.modal-container .modal-button-container{-ms-flex-pack:end;justify-content:flex-end}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";
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}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-segment) - var(--header-with-languages))}.grw-content-trek{height:100%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-treks-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-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)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{width:50%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.modal-container{z-index:40000;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:var(--font-family);top:-64px;left:0px;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.6)}.modal-container .modal-content-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;width:380px;height:120px;padding:16px;margin:0px 16px;background-color:var(--color-background);border-radius:var(--border-radius, 8px)}.modal-container .modal-message-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.modal-container .modal-message-container .modal-loader{width:16px;height:16px;border:3px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite;margin-right:16px}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.modal-container .modal-buttons-container,.modal-container .modal-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-top:16px}.modal-container .modal-buttons-container .modal-button,.modal-container .modal-button-container .modal-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;height:32px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary-app);background-color:transparent;font-family:var(--font-family)}.modal-container .modal-button-container{-ms-flex-pack:end;justify-content:flex-end}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";
10
10
 
11
11
  const GrwApp = class {
12
12
  constructor(hostRef) {
@@ -48,6 +48,7 @@ const GrwApp = class {
48
48
  this.emergencyNumber = undefined;
49
49
  this.fontFamily = 'Roboto';
50
50
  this.colorPrimaryApp = '#6750a4';
51
+ this.colorPrimary = '#6750a4';
51
52
  this.colorOnPrimary = '#ffffff';
52
53
  this.colorSurface = '#1c1b1f';
53
54
  this.colorOnSurface = '#49454e';
@@ -358,6 +359,7 @@ const GrwApp = class {
358
359
  return (index.h(index.Host, { style: {
359
360
  '--font-family': this.fontFamily,
360
361
  '--color-primary-app': this.colorPrimaryApp,
362
+ '--color-primary': this.colorPrimary,
361
363
  '--color-on-primary': this.colorOnPrimary,
362
364
  '--color-surface': this.colorSurface,
363
365
  '--color-on-surface': this.colorOnSurface,
@@ -377,8 +379,8 @@ const GrwApp = class {
377
379
  '--app-height': this.appHeight,
378
380
  '--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1
379
381
  ? this.enableOffline
380
- ? '136px'
381
- : '188px'
382
+ ? '188px'
383
+ : '136px'
382
384
  : this.enableOffline
383
385
  ? '116px'
384
386
  : '64px',
Binary file
Binary file
@@ -1 +1 @@
1
- {"file":"grw-app.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,SAAS,GAAG,moMAAmoM;;MCUxoM,MAAM;;;;;IA8EjB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AAC,UAAU,uBACR,IAAI,CAAC,eAAe,sBACrB,IAAI,CAAC,cAAc,6BACZ,IAAI,CAAC,qBAAqB,gCACvB,IAAI,CAAC,uBAAuB,sBACtC,IAAI,CAAC,eAAe,qBACrB,IAAI,CAAC,aAAa,0BACb,IAAI,CAAC,kBAAkB,oBAC7B,IAAI,CAAC,YAAY,mBAClB,IAAI,CAAC,WAAW,kBACjB,IAAI,CAAC,WAAW,iCACD,IAAI,CAAC,uBAAuB,GAChD,CACZ,CACG,EACL,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,oBAAoB,IAAI,CAAC,IAAI,CAAC,kBAAkB;OACxE,IAAI,CAAC,QAAQ,IAAIJ,WAAK,CAAC,WAAW,CAAC;OACnC,IAAI,CAAC,oBAAoB,IAAIA,WAAK,CAAC,uBAAuB,CAAC;OAC3D,IAAI,CAAC,kBAAkB,IAAIA,WAAK,CAAC,qBAAqB,CAAC,MACxDI,iBAAK,KAAK,EAAC,qCAAqC,IAC9CA,8BACE,WAAW,EAAC,8EAA8E,EAC1F,UAAU,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","handleTreksFiltersAndSearch","h","Host","Fragment"],"sources":["./src/components/grw-app/grw-app.scss?tag=grw-app","./src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: var(--header-height);\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.grw-handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.grw-content-container {\n position: relative;\n display: flex;\n}\n\n.grw-content-treks {\n height: calc(100% - var(--header-height) - var(--header-with-segment) - var(--header-with-languages));\n}\n\n.grw-content-trek {\n height: 100%;\n}\n\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n}\n\n.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-treks-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-app-touristic-event-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.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n width: 50%;\n}\n\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n\n.modal-container {\n z-index: 40000;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: var(--font-family);\n top: -64px;\n left: 0px;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n\n .modal-content-container {\n display: flex;\n justify-content: center;\n flex-direction: column;\n width: 380px;\n height: 120px;\n padding: 16px;\n margin: 0px 16px;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 8px);\n }\n\n .modal-message-container {\n display: flex;\n align-items: center;\n justify-content: center;\n\n .modal-loader {\n width: 16px;\n height: 16px;\n border: 3px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n margin-right: 16px;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n }\n\n .modal-buttons-container,\n .modal-button-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n .modal-button {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n height: 32px;\n box-shadow: var(--elevation-0);\n border: none;\n -webkit-tap-highlight-color: transparent;\n line-height: 20px;\n color: var(--color-on-primary-container);\n background-color: transparent;\n font-family: var(--font-family);\n }\n }\n .modal-button-container {\n justify-content: flex-end;\n }\n}\n\n.grw-offline-container {\n display: flex;\n align-items: center;\n margin: 0px 0px 0px 16px;\n height: 48px;\n .grw-offline-label {\n display: flex;\n }\n grw-switch {\n margin-top: -10px;\n }\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch, Event, EventEmitter, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleTreksFiltersAndSearch } from 'utils/utils';\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 @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() trekTilesMinZoomOffline = 12;\n @Prop() trekTilesMaxZoomOffline = 16;\n\n @State() showOfflineModal = false;\n @State() showConfirmModal = false;\n @State() showLoaderModal = false;\n @State() showSuccessModal = false;\n @State() showConfirmDeleteModal = false;\n @State() showDeletingMessage = false;\n @State() showDeleteSuccessMessage = false;\n\n @Event() trekDownloadPress: EventEmitter<number>;\n @Event() trekDeletePress: EventEmitter<number>;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n ``;\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Listen('trekDownloadConfirm', { target: 'window' })\n onTrekDownloadConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = false;\n this.showDeleteSuccessMessage = false;\n this.showDeletingMessage = false;\n this.showConfirmDeleteModal = false;\n this.showOfflineModal = true;\n this.showConfirmModal = true;\n }\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = true;\n }\n\n @Listen('trekDeleteConfirm', { target: 'window' })\n onTrekDeleteConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = false;\n this.showDeleteSuccessMessage = false;\n this.showOfflineModal = true;\n this.showConfirmModal = true;\n this.showConfirmDeleteModal = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = true;\n this.showDeleteSuccessMessage = true;\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n }\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 state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n }\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 state.mode = 'treks';\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 (state.language) {\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOkDeleteModal() {\n this.trekDeletePress.emit();\n this.showDeletingMessage = true;\n this.showConfirmDeleteModal = false;\n this.showConfirmModal = false;\n this.showLoaderModal = true;\n }\n\n handleOkDownloadModal() {\n this.trekDownloadPress.emit();\n this.showConfirmModal = false;\n this.showLoaderModal = true;\n }\n\n handleCancelModal() {\n this.showOfflineModal = false;\n }\n\n handleOffline() {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n }\n\n 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':\n Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1\n ? this.enableOffline\n ? '136px'\n : '188px'\n : this.enableOffline\n ? '116px'\n : '64px',\n '--header-with-segment': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '16px' : '0px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n ></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.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' grw-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 <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search fontFamily={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n 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 {this.enableOffline && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">Afficher uniquement les itinéraires hors ligne</div>\n <grw-switch exportparts=\"common-button,common-button-icon,common-button-label\" fontFamily={this.fontFamily} action={() => this.handleOffline()}></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} part=\"icon\" class=\"material-symbols material-symbols-outlined icon\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`grw-content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'grw-content-trek' : 'grw-content-treks'}`}>\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n <div\n class={this.isLargeView ? 'grw-large-view-app-treks-list-container' : 'grw-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 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 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 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.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n 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 defaultBackgroundLayerUrl={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n defaultBackgroundLayerAttribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n trek-tiles-min-zoom-offline={this.trekTilesMinZoomOffline}\n trek-tiles-max-zoom-offline={this.trekTilesMaxZoomOffline}\n ></grw-trek-detail>\n {this.showOfflineModal && (\n <div class=\"modal-container\">\n <div class=\"modal-content-container\">\n {this.showConfirmModal && !this.showConfirmDeleteModal && (\n <Fragment>\n <div class=\"modal-message-container\">Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?</div>\n <div class=\"modal-buttons-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n ANNULER\n </button>\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleOkDownloadModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n {this.showConfirmDeleteModal && (\n <Fragment>\n <div class=\"modal-message-container\">Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?</div>\n <div class=\"modal-buttons-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n ANNULER\n </button>\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleOkDeleteModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n {this.showLoaderModal && (\n <Fragment>\n <div class=\"modal-message-container\">\n <div class=\"modal-loader\"></div>\n {this.showDeletingMessage ? 'Suppression en cours' : 'Téléchargement en cours'}\n </div>\n </Fragment>\n )}\n {this.showSuccessModal && (\n <Fragment>\n <div class=\"modal-message-container\">\n {this.showDeleteSuccessMessage ? \"L'itinéraire est supprimé du hors ligne\" : \"L'itinéraire est disponible hors ligne\"}\n </div>\n <div class=\"modal-button-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n </div>\n </div>\n )}\n </div>\n )}\n {this.showTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: !this.showTouristicContentMap || this.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 ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: !this.showTouristicEventMap || this.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.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek) ||\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 trek-tiles-max-zoom-offline={this.trekTilesMaxZoomOffline}\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=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\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}
1
+ {"file":"grw-app.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,SAAS,GAAG,0nMAA0nM;;MCU/nM,MAAM;;;;;IA+EjB,kBAAa,GAAG,IAAI,CAAC;IACrB,uBAAkB,GAAyB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBA9EtD,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;wBACZ,SAAS;0BACP,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,SAAS;wBACf,SAAS;uBACV,KAAK;iBAEX,IAAI;6BACQ,KAAK;2BACP,KAAK;yBAEP,KAAK;qCACO,CAAC;qCACD,EAAE;mCACJ,EAAE;mCACF,EAAE;4BAER,KAAK;4BACL,KAAK;2BACN,KAAK;4BACJ,KAAK;kCACC,KAAK;+BACR,KAAK;oCACA,KAAK;;EASzC,eAAe,CAAC,KAA0B;IACxC,IAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC;IACtC,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;IAClCA,WAAK,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACrC,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACpC,IAAI,CAA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,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","handleTreksFiltersAndSearch","h","Host","Fragment"],"sources":["./src/components/grw-app/grw-app.scss?tag=grw-app","./src/components/grw-app/grw-app.tsx"],"sourcesContent":["grw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n overflow: hidden;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.grw-app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.grw-languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.grw-header-container,\n.grw-large-view-header-container {\n height: var(--header-height);\n .grw-arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .grw-arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 50%);\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.grw-handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .grw-handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n .grw-handle-filters-container {\n margin-left: 16px;\n }\n}\n\n.grw-header-detail {\n height: 64px;\n}\n\n.grw-large-view-header-container {\n .grw-handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.grw-init-loader-container,\n.grw-loader-container,\n.grw-large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n}\n\n.grw-content-container {\n position: relative;\n display: flex;\n}\n\n.grw-content-treks {\n height: calc(100% - var(--header-height) - var(--header-with-segment) - var(--header-with-languages));\n}\n\n.grw-content-trek {\n height: 100%;\n}\n\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container,\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container {\n display: flex;\n flex-direction: column;\n max-width: 100%;\n height: 100%;\n}\n\n.grw-app-map-container,\n.grw-large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.grw-map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n}\n\n.grw-init-loader-container,\n.grw-loader-container {\n width: 100%;\n}\n\n.grw-app-treks-list-container,\n.grw-app-trek-detail-container,\n.grw-app-touristic-content-detail-container,\n.grw-app-touristic-event-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.grw-app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.grw-large-view-loader-container {\n width: 50%;\n}\n\n.grw-large-view-app-treks-list-container,\n.grw-large-view-app-trek-detail-container,\n.grw-large-view-app-touristic-content-detail-container,\n.grw-large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.grw-large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.grw-error-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n margin-top: 16px;\n font-family: var(--font-family);\n font-size: 16px;\n grw-common-button {\n margin-top: 16px;\n }\n}\n\n.modal-container {\n z-index: 40000;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: var(--font-family);\n top: -64px;\n left: 0px;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n\n .modal-content-container {\n display: flex;\n justify-content: center;\n flex-direction: column;\n width: 380px;\n height: 120px;\n padding: 16px;\n margin: 0px 16px;\n background-color: var(--color-background);\n border-radius: var(--border-radius, 8px);\n }\n\n .modal-message-container {\n display: flex;\n align-items: center;\n justify-content: center;\n\n .modal-loader {\n width: 16px;\n height: 16px;\n border: 3px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n margin-right: 16px;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n }\n\n .modal-buttons-container,\n .modal-button-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n .modal-button {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n height: 32px;\n box-shadow: var(--elevation-0);\n border: none;\n -webkit-tap-highlight-color: transparent;\n line-height: 20px;\n color: var(--color-primary-app);\n background-color: transparent;\n font-family: var(--font-family);\n }\n }\n .modal-button-container {\n justify-content: flex-end;\n }\n}\n\n.grw-offline-container {\n display: flex;\n align-items: center;\n margin: 0px 0px 0px 16px;\n height: 48px;\n .grw-offline-label {\n display: flex;\n }\n grw-switch {\n margin-top: -10px;\n }\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch, Event, EventEmitter, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleTreksFiltersAndSearch } from 'utils/utils';\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() colorPrimary = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n\n @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() trekTilesMinZoomOffline = 12;\n @Prop() trekTilesMaxZoomOffline = 16;\n\n @State() showOfflineModal = false;\n @State() showConfirmModal = false;\n @State() showLoaderModal = false;\n @State() showSuccessModal = false;\n @State() showConfirmDeleteModal = false;\n @State() showDeletingMessage = false;\n @State() showDeleteSuccessMessage = false;\n\n @Event() trekDownloadPress: EventEmitter<number>;\n @Event() trekDeletePress: EventEmitter<number>;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n state.mode = 'treks';\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n ``;\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Listen('trekDownloadConfirm', { target: 'window' })\n onTrekDownloadConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = false;\n this.showDeleteSuccessMessage = false;\n this.showDeletingMessage = false;\n this.showConfirmDeleteModal = false;\n this.showOfflineModal = true;\n this.showConfirmModal = true;\n }\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = true;\n }\n\n @Listen('trekDeleteConfirm', { target: 'window' })\n onTrekDeleteConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = false;\n this.showDeleteSuccessMessage = false;\n this.showOfflineModal = true;\n this.showConfirmModal = true;\n this.showConfirmDeleteModal = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.showLoaderModal = false;\n this.showSuccessModal = true;\n this.showDeleteSuccessMessage = true;\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n }\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 state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n }\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 state.mode = 'treks';\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 (state.language) {\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n }\n\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOkDeleteModal() {\n this.trekDeletePress.emit();\n this.showDeletingMessage = true;\n this.showConfirmDeleteModal = false;\n this.showConfirmModal = false;\n this.showLoaderModal = true;\n }\n\n handleOkDownloadModal() {\n this.trekDownloadPress.emit();\n this.showConfirmModal = false;\n this.showLoaderModal = true;\n }\n\n handleCancelModal() {\n this.showOfflineModal = false;\n }\n\n handleOffline() {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-primary': this.colorPrimary,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height':\n Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1\n ? this.enableOffline\n ? '188px'\n : '136px'\n : this.enableOffline\n ? '116px'\n : '64px',\n '--header-with-segment': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '16px' : '0px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n ></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.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' grw-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 <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search fontFamily={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n 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 {this.enableOffline && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">Afficher uniquement les itinéraires hors ligne</div>\n <grw-switch exportparts=\"common-button,common-button-icon,common-button-label\" fontFamily={this.fontFamily} action={() => this.handleOffline()}></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} part=\"icon\" class=\"material-symbols material-symbols-outlined icon\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`grw-content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'grw-content-trek' : 'grw-content-treks'}`}>\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n <div\n class={this.isLargeView ? 'grw-large-view-app-treks-list-container' : 'grw-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 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 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 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.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n 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 defaultBackgroundLayerUrl={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n defaultBackgroundLayerAttribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n trek-tiles-min-zoom-offline={this.trekTilesMinZoomOffline}\n trek-tiles-max-zoom-offline={this.trekTilesMaxZoomOffline}\n ></grw-trek-detail>\n {this.showOfflineModal && (\n <div class=\"modal-container\">\n <div class=\"modal-content-container\">\n {this.showConfirmModal && !this.showConfirmDeleteModal && (\n <Fragment>\n <div class=\"modal-message-container\">Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?</div>\n <div class=\"modal-buttons-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n ANNULER\n </button>\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleOkDownloadModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n {this.showConfirmDeleteModal && (\n <Fragment>\n <div class=\"modal-message-container\">Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?</div>\n <div class=\"modal-buttons-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n ANNULER\n </button>\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleOkDeleteModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n {this.showLoaderModal && (\n <Fragment>\n <div class=\"modal-message-container\">\n <div class=\"modal-loader\"></div>\n {this.showDeletingMessage ? 'Suppression en cours' : 'Téléchargement en cours'}\n </div>\n </Fragment>\n )}\n {this.showSuccessModal && (\n <Fragment>\n <div class=\"modal-message-container\">\n {this.showDeleteSuccessMessage ? \"L'itinéraire est supprimé du hors ligne\" : \"L'itinéraire est disponible hors ligne\"}\n </div>\n <div class=\"modal-button-container\">\n <button part=\"modal-button\" class=\"modal-button\" onClick={() => this.handleCancelModal()}>\n OK\n </button>\n </div>\n </Fragment>\n )}\n </div>\n </div>\n )}\n </div>\n )}\n {this.showTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: !this.showTouristicContentMap || this.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 ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: !this.showTouristicEventMap || this.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.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek) ||\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 trek-tiles-max-zoom-offline={this.trekTilesMaxZoomOffline}\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=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\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}
@@ -44,7 +44,7 @@ const GrwExtendedFab = class {
44
44
  };
45
45
  GrwExtendedFab.style = grwExtendedFabCss;
46
46
 
47
- const grwFiltersCss = ".options-container{height:100%;position:absolute;width:100%;z-index:1100;top:0px}.filters-container{background-color:var(--color-background);position:relative;width:100%;height:100%;z-index:1100}.filters-container .filters-treks-container,.filters-container .filters-touristic-contents-container,.filters-container .filters-touristic-events-container{height:100%}.filters-container .segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:var(--border-radius, 20px);line-height:20px}.filters-container .segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-family:var(--font-family)}.filters-container .segmented-buttons-container .segment:first-child{border-top-left-radius:var(--border-radius, 20px);border-bottom-left-radius:var(--border-radius, 20px)}.filters-container .segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.filters-container .segmented-buttons-container .segment:last-child{border-top-right-radius:var(--border-radius, 20px);border-bottom-right-radius:var(--border-radius, 20px)}.filters-container .segmented-buttons-container .selected-segment{color:var(--color-on-primary-container);background-color:var(--color-primary-container)}.filters-segment-container{overflow-y:visible;height:100%;max-height:calc(100% - 64px - 42px - 32px)}.back-filters-container{background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%;position:absolute;z-index:1099}.divider{margin:16px;border-top:1px solid var(--color-outline)}.filters-options-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;margin:0px 16px}.filters-options-container .filters-options-buttons-container{display:-ms-flexbox;display:flex}.filters-options-container .filters-options-buttons-container .filter-option-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;margin:8px 0px 0px 8px;padding:8px 16px;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-on-primary-container);background-color:transparent;font-family:var(--font-family)}.segment-container{overflow:scroll;height:100%}.filter-container:not(:last-child)::after{content:\"\";display:block;margin:16px;border-top:1px solid var(--color-outline)}.filter-container:last-child{margin-bottom:16px}.current-treks-within-bounds-length{color:var(--color-on-surface-variant);font-family:var(--font-family)}";
47
+ const grwFiltersCss = ".options-container{height:100%;position:absolute;width:100%;z-index:1100;top:0px}.filters-container{background-color:var(--color-background);position:relative;width:100%;height:100%;z-index:1100}.filters-container .filters-treks-container,.filters-container .filters-touristic-contents-container,.filters-container .filters-touristic-events-container{height:100%}.filters-container .segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:var(--border-radius, 20px);line-height:20px}.filters-container .segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-family:var(--font-family)}.filters-container .segmented-buttons-container .segment:first-child{border-top-left-radius:var(--border-radius, 20px);border-bottom-left-radius:var(--border-radius, 20px)}.filters-container .segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.filters-container .segmented-buttons-container .segment:last-child{border-top-right-radius:var(--border-radius, 20px);border-bottom-right-radius:var(--border-radius, 20px)}.filters-container .segmented-buttons-container .selected-segment{color:var(--color-on-primary-container);background-color:var(--color-primary-container)}.filters-segment-container{overflow-y:visible;height:100%;max-height:calc(100% - 64px - 42px - 32px)}.back-filters-container{background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%;position:absolute;z-index:1099}.divider{margin:16px;border-top:1px solid var(--color-outline)}.filters-options-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;height:64px;margin:0px 16px}.filters-options-container .filters-options-buttons-container{display:-ms-flexbox;display:flex}.filters-options-container .filters-options-buttons-container .filter-option-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;margin:8px 0px 0px 8px;padding:8px 16px;height:32px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary-app);background-color:transparent;font-family:var(--font-family)}.segment-container{overflow:scroll;height:100%}.filter-container:not(:last-child)::after{content:\"\";display:block;margin:16px;border-top:1px solid var(--color-outline)}.filter-container:last-child{margin-bottom:16px}.current-treks-within-bounds-length{color:var(--color-on-surface-variant);font-family:var(--font-family)}";
48
48
 
49
49
  const GrwFilters = class {
50
50
  constructor(hostRef) {