@geotrekce/geotrek-rando-widget 0.24.2 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) 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 +1 -1
  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-common-button_23.cjs.entry.js +241 -205
  8. package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
  9. package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
  10. package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
  11. package/dist/cjs/grw-details-modal_8.cjs.entry.js +1 -1
  12. package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
  13. package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
  14. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js +1 -1
  15. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.br +0 -0
  16. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.gz +0 -0
  17. package/dist/cjs/grw-poi_3.cjs.entry.js +1 -1
  18. package/dist/cjs/grw-poi_3.cjs.entry.js.br +0 -0
  19. package/dist/cjs/grw-poi_3.cjs.entry.js.gz +0 -0
  20. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js +1 -1
  21. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.br +0 -0
  22. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.gz +0 -0
  23. package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js +1 -1
  24. package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.br +0 -0
  25. package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.gz +0 -0
  26. package/dist/cjs/{i18n-ceda6815.js → i18n-d757c0bf.js} +61 -1
  27. package/dist/cjs/i18n-d757c0bf.js.br +0 -0
  28. package/dist/cjs/i18n-d757c0bf.js.gz +0 -0
  29. package/dist/cjs/i18n-d757c0bf.js.map +1 -0
  30. package/dist/cjs/loader.cjs.js +1 -1
  31. package/dist/cjs/loader.cjs.js.br +0 -0
  32. package/dist/cjs/loader.cjs.js.gz +0 -0
  33. package/dist/cjs/{treks.service-829e772f.js → treks.service-3e1c0220.js} +2 -2
  34. package/dist/cjs/treks.service-3e1c0220.js.br +0 -0
  35. package/dist/cjs/treks.service-3e1c0220.js.gz +0 -0
  36. package/dist/cjs/{treks.service-829e772f.js.map → treks.service-3e1c0220.js.map} +1 -1
  37. package/dist/collection/components/grw-map/grw-map.css +14 -0
  38. package/dist/collection/components/grw-map/grw-map.css.br +0 -0
  39. package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
  40. package/dist/collection/components/grw-map/grw-map.js +5 -5
  41. package/dist/collection/components/grw-map/grw-map.js.br +0 -0
  42. package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
  43. package/dist/collection/components/grw-map/grw-map.js.map +1 -1
  44. package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js +36 -7
  45. package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.br +0 -0
  46. package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.gz +0 -0
  47. package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.map +1 -1
  48. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js +87 -47
  49. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.br +0 -0
  50. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.gz +0 -0
  51. package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.map +1 -1
  52. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +179 -139
  53. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  54. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  55. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  56. package/dist/collection/i18n/i18n.js +60 -0
  57. package/dist/collection/i18n/i18n.js.br +0 -0
  58. package/dist/collection/i18n/i18n.js.gz +0 -0
  59. package/dist/collection/i18n/i18n.js.map +1 -1
  60. package/dist/collection/services/treks.service.js +1 -1
  61. package/dist/collection/services/treks.service.js.br +0 -0
  62. package/dist/collection/services/treks.service.js.gz +0 -0
  63. package/dist/collection/services/treks.service.js.map +1 -1
  64. package/dist/collection/store/grw-trek-provider.js +2 -4
  65. package/dist/collection/store/grw-trek-provider.js.br +0 -0
  66. package/dist/collection/store/grw-trek-provider.js.gz +0 -0
  67. package/dist/collection/store/grw-trek-provider.js.map +1 -1
  68. package/dist/esm/geotrek-rando-widget.js +1 -1
  69. package/dist/esm/geotrek-rando-widget.js.br +0 -0
  70. package/dist/esm/geotrek-rando-widget.js.gz +0 -0
  71. package/dist/esm/grw-app.entry.js +1 -1
  72. package/dist/esm/grw-app.entry.js.br +0 -0
  73. package/dist/esm/grw-app.entry.js.gz +0 -0
  74. package/dist/esm/grw-common-button_23.entry.js +241 -205
  75. package/dist/esm/grw-common-button_23.entry.js.br +0 -0
  76. package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
  77. package/dist/esm/grw-common-button_23.entry.js.map +1 -1
  78. package/dist/esm/grw-details-modal_8.entry.js +1 -1
  79. package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
  80. package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
  81. package/dist/esm/grw-outdoor-courses-provider.entry.js +1 -1
  82. package/dist/esm/grw-outdoor-courses-provider.entry.js.br +0 -0
  83. package/dist/esm/grw-outdoor-courses-provider.entry.js.gz +0 -0
  84. package/dist/esm/grw-poi_3.entry.js +1 -1
  85. package/dist/esm/grw-poi_3.entry.js.br +0 -0
  86. package/dist/esm/grw-poi_3.entry.js.gz +0 -0
  87. package/dist/esm/grw-sensitive-area-detail_2.entry.js +1 -1
  88. package/dist/esm/grw-sensitive-area-detail_2.entry.js.br +0 -0
  89. package/dist/esm/grw-sensitive-area-detail_2.entry.js.gz +0 -0
  90. package/dist/esm/grw-toggle-slot-visibility.entry.js +1 -1
  91. package/dist/esm/grw-toggle-slot-visibility.entry.js.br +0 -0
  92. package/dist/esm/grw-toggle-slot-visibility.entry.js.gz +0 -0
  93. package/dist/esm/{i18n-4ec6fb16.js → i18n-d4785001.js} +61 -1
  94. package/dist/esm/i18n-d4785001.js.br +0 -0
  95. package/dist/esm/i18n-d4785001.js.gz +0 -0
  96. package/dist/esm/i18n-d4785001.js.map +1 -0
  97. package/dist/esm/loader.js +1 -1
  98. package/dist/esm/loader.js.br +0 -0
  99. package/dist/esm/loader.js.gz +0 -0
  100. package/dist/esm/{treks.service-a59a05d5.js → treks.service-53203dbb.js} +2 -2
  101. package/dist/esm/treks.service-53203dbb.js.br +0 -0
  102. package/dist/esm/treks.service-53203dbb.js.gz +0 -0
  103. package/dist/esm/{treks.service-a59a05d5.js.map → treks.service-53203dbb.js.map} +1 -1
  104. package/dist/esm-es5/geotrek-rando-widget.js +1 -1
  105. package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
  106. package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
  107. package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
  108. package/dist/esm-es5/grw-app.entry.js +1 -1
  109. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  110. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  111. package/dist/esm-es5/grw-common-button_23.entry.js +2 -2
  112. package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
  113. package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
  114. package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
  115. package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
  116. package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
  117. package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
  118. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js +1 -1
  119. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.br +0 -0
  120. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.gz +0 -0
  121. package/dist/esm-es5/grw-poi_3.entry.js +1 -1
  122. package/dist/esm-es5/grw-poi_3.entry.js.br +0 -0
  123. package/dist/esm-es5/grw-poi_3.entry.js.gz +0 -0
  124. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js +1 -1
  125. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.br +0 -0
  126. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.gz +0 -0
  127. package/dist/esm-es5/grw-toggle-slot-visibility.entry.js +1 -1
  128. package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.br +0 -0
  129. package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.gz +0 -0
  130. package/dist/esm-es5/i18n-d4785001.js +2 -0
  131. package/dist/esm-es5/i18n-d4785001.js.br +0 -0
  132. package/dist/esm-es5/i18n-d4785001.js.gz +0 -0
  133. package/dist/esm-es5/i18n-d4785001.js.map +1 -0
  134. package/dist/esm-es5/loader.js +1 -1
  135. package/dist/esm-es5/loader.js.br +0 -0
  136. package/dist/esm-es5/loader.js.gz +0 -0
  137. package/dist/esm-es5/loader.js.map +1 -1
  138. package/dist/esm-es5/{treks.service-a59a05d5.js → treks.service-53203dbb.js} +2 -2
  139. package/dist/esm-es5/treks.service-53203dbb.js.br +0 -0
  140. package/dist/esm-es5/treks.service-53203dbb.js.gz +0 -0
  141. package/dist/{geotrek-rando-widget/p-d64a208b.system.js.map → esm-es5/treks.service-53203dbb.js.map} +1 -1
  142. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  143. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  144. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  145. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
  146. package/dist/geotrek-rando-widget/{p-94f1ea91.system.entry.js → p-1ecac760.system.entry.js} +2 -2
  147. package/dist/geotrek-rando-widget/p-1ecac760.system.entry.js.br +0 -0
  148. package/dist/geotrek-rando-widget/p-1ecac760.system.entry.js.gz +0 -0
  149. package/dist/geotrek-rando-widget/p-1f5afac7.js +2 -0
  150. package/dist/geotrek-rando-widget/p-1f5afac7.js.br +0 -0
  151. package/dist/geotrek-rando-widget/p-1f5afac7.js.gz +0 -0
  152. package/dist/geotrek-rando-widget/p-1f5afac7.js.map +1 -0
  153. package/dist/geotrek-rando-widget/{p-a0027314.system.entry.js → p-24e8475f.system.entry.js} +2 -2
  154. package/dist/geotrek-rando-widget/p-24e8475f.system.entry.js.br +0 -0
  155. package/dist/geotrek-rando-widget/p-24e8475f.system.entry.js.gz +0 -0
  156. package/dist/geotrek-rando-widget/{p-20a73813.entry.js → p-2990b91c.entry.js} +2 -2
  157. package/dist/geotrek-rando-widget/p-2990b91c.entry.js.br +0 -0
  158. package/dist/geotrek-rando-widget/p-2990b91c.entry.js.gz +0 -0
  159. package/dist/geotrek-rando-widget/p-3208ccea.system.js +2 -0
  160. package/dist/geotrek-rando-widget/p-3208ccea.system.js.br +0 -0
  161. package/dist/geotrek-rando-widget/p-3208ccea.system.js.gz +0 -0
  162. package/dist/geotrek-rando-widget/p-3208ccea.system.js.map +1 -0
  163. package/dist/geotrek-rando-widget/{p-033910ba.system.entry.js → p-34a34d74.system.entry.js} +2 -2
  164. package/dist/geotrek-rando-widget/p-34a34d74.system.entry.js.br +0 -0
  165. package/dist/geotrek-rando-widget/p-34a34d74.system.entry.js.gz +0 -0
  166. package/dist/geotrek-rando-widget/{p-a9f81664.system.entry.js → p-3566b43b.system.entry.js} +2 -2
  167. package/dist/geotrek-rando-widget/p-3566b43b.system.entry.js.br +0 -0
  168. package/dist/geotrek-rando-widget/p-3566b43b.system.entry.js.gz +0 -0
  169. package/dist/geotrek-rando-widget/p-3c53fc59.system.js +1 -1
  170. package/dist/geotrek-rando-widget/p-3c53fc59.system.js.br +0 -0
  171. package/dist/geotrek-rando-widget/p-3c53fc59.system.js.gz +0 -0
  172. package/dist/geotrek-rando-widget/p-3c53fc59.system.js.map +1 -1
  173. package/dist/geotrek-rando-widget/{p-805e2ba0.js → p-4cf52b6c.js} +2 -2
  174. package/dist/geotrek-rando-widget/p-4cf52b6c.js.br +0 -0
  175. package/dist/geotrek-rando-widget/p-4cf52b6c.js.gz +0 -0
  176. package/dist/geotrek-rando-widget/{p-805e2ba0.js.map → p-4cf52b6c.js.map} +1 -1
  177. package/dist/geotrek-rando-widget/{p-9844030a.entry.js → p-5a073c3e.entry.js} +2 -2
  178. package/dist/geotrek-rando-widget/p-5a073c3e.entry.js.br +0 -0
  179. package/dist/geotrek-rando-widget/p-5a073c3e.entry.js.gz +0 -0
  180. package/dist/geotrek-rando-widget/{p-d64a208b.system.js → p-7d139984.system.js} +2 -2
  181. package/dist/geotrek-rando-widget/p-7d139984.system.js.br +0 -0
  182. package/dist/geotrek-rando-widget/p-7d139984.system.js.gz +0 -0
  183. package/dist/{esm-es5/treks.service-a59a05d5.js.map → geotrek-rando-widget/p-7d139984.system.js.map} +1 -1
  184. package/dist/geotrek-rando-widget/p-862c76ff.entry.js +4 -0
  185. package/dist/geotrek-rando-widget/p-862c76ff.entry.js.br +0 -0
  186. package/dist/geotrek-rando-widget/p-862c76ff.entry.js.gz +0 -0
  187. package/dist/geotrek-rando-widget/p-862c76ff.entry.js.map +1 -0
  188. package/dist/geotrek-rando-widget/{p-422bb6de.entry.js → p-87558980.entry.js} +2 -2
  189. package/dist/geotrek-rando-widget/p-87558980.entry.js.br +0 -0
  190. package/dist/geotrek-rando-widget/p-87558980.entry.js.gz +0 -0
  191. package/dist/geotrek-rando-widget/{p-45f46d33.entry.js → p-875e71d3.entry.js} +2 -2
  192. package/dist/geotrek-rando-widget/p-875e71d3.entry.js.br +0 -0
  193. package/dist/geotrek-rando-widget/p-875e71d3.entry.js.gz +0 -0
  194. package/dist/geotrek-rando-widget/{p-2a4d46f7.entry.js → p-87eb3dcc.entry.js} +2 -2
  195. package/dist/geotrek-rando-widget/p-87eb3dcc.entry.js.br +0 -0
  196. package/dist/geotrek-rando-widget/p-87eb3dcc.entry.js.gz +0 -0
  197. package/dist/geotrek-rando-widget/p-90ee8d15.system.entry.js +4 -0
  198. package/dist/geotrek-rando-widget/p-90ee8d15.system.entry.js.br +0 -0
  199. package/dist/geotrek-rando-widget/p-90ee8d15.system.entry.js.gz +0 -0
  200. package/dist/geotrek-rando-widget/p-90ee8d15.system.entry.js.map +1 -0
  201. package/dist/geotrek-rando-widget/{p-aa1ff056.system.entry.js → p-9bcb7645.system.entry.js} +2 -2
  202. package/dist/geotrek-rando-widget/p-9bcb7645.system.entry.js.br +0 -0
  203. package/dist/geotrek-rando-widget/p-9bcb7645.system.entry.js.gz +0 -0
  204. package/dist/geotrek-rando-widget/{p-75f7d534.system.entry.js → p-d47a130a.system.entry.js} +2 -2
  205. package/dist/geotrek-rando-widget/p-d47a130a.system.entry.js.br +0 -0
  206. package/dist/geotrek-rando-widget/p-d47a130a.system.entry.js.gz +0 -0
  207. package/dist/geotrek-rando-widget/{p-beba3e06.entry.js → p-d92ca7f1.entry.js} +2 -2
  208. package/dist/geotrek-rando-widget/p-d92ca7f1.entry.js.br +0 -0
  209. package/dist/geotrek-rando-widget/p-d92ca7f1.entry.js.gz +0 -0
  210. package/dist/types/components/grw-offline-confirm-modal/grw-offline-confirm-modal.d.ts +3 -0
  211. package/dist/types/components/grw-outdoor-site-detail/grw-outdoor-site-detail.d.ts +2 -0
  212. package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +2 -0
  213. package/dist/types/components.d.ts +8 -0
  214. package/dist/types/i18n/i18n.d.ts +20 -0
  215. package/package.json +1 -1
  216. package/readme.md +75 -29
  217. package/dist/cjs/i18n-ceda6815.js.br +0 -0
  218. package/dist/cjs/i18n-ceda6815.js.gz +0 -0
  219. package/dist/cjs/i18n-ceda6815.js.map +0 -1
  220. package/dist/cjs/treks.service-829e772f.js.br +0 -0
  221. package/dist/cjs/treks.service-829e772f.js.gz +0 -0
  222. package/dist/esm/i18n-4ec6fb16.js.br +0 -0
  223. package/dist/esm/i18n-4ec6fb16.js.gz +0 -0
  224. package/dist/esm/i18n-4ec6fb16.js.map +0 -1
  225. package/dist/esm/treks.service-a59a05d5.js.br +0 -0
  226. package/dist/esm/treks.service-a59a05d5.js.gz +0 -0
  227. package/dist/esm-es5/i18n-4ec6fb16.js +0 -2
  228. package/dist/esm-es5/i18n-4ec6fb16.js.br +0 -0
  229. package/dist/esm-es5/i18n-4ec6fb16.js.gz +0 -0
  230. package/dist/esm-es5/i18n-4ec6fb16.js.map +0 -1
  231. package/dist/esm-es5/treks.service-a59a05d5.js.br +0 -0
  232. package/dist/esm-es5/treks.service-a59a05d5.js.gz +0 -0
  233. package/dist/geotrek-rando-widget/p-033910ba.system.entry.js.br +0 -0
  234. package/dist/geotrek-rando-widget/p-033910ba.system.entry.js.gz +0 -0
  235. package/dist/geotrek-rando-widget/p-046d4502.system.js +0 -2
  236. package/dist/geotrek-rando-widget/p-046d4502.system.js.br +0 -0
  237. package/dist/geotrek-rando-widget/p-046d4502.system.js.gz +0 -0
  238. package/dist/geotrek-rando-widget/p-046d4502.system.js.map +0 -1
  239. package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js +0 -4
  240. package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js.br +0 -0
  241. package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js.gz +0 -0
  242. package/dist/geotrek-rando-widget/p-0a37c6c9.entry.js.map +0 -1
  243. package/dist/geotrek-rando-widget/p-0a3fc934.js +0 -2
  244. package/dist/geotrek-rando-widget/p-0a3fc934.js.br +0 -0
  245. package/dist/geotrek-rando-widget/p-0a3fc934.js.gz +0 -0
  246. package/dist/geotrek-rando-widget/p-0a3fc934.js.map +0 -1
  247. package/dist/geotrek-rando-widget/p-20a73813.entry.js.br +0 -0
  248. package/dist/geotrek-rando-widget/p-20a73813.entry.js.gz +0 -0
  249. package/dist/geotrek-rando-widget/p-2a4d46f7.entry.js.br +0 -0
  250. package/dist/geotrek-rando-widget/p-2a4d46f7.entry.js.gz +0 -0
  251. package/dist/geotrek-rando-widget/p-422bb6de.entry.js.br +0 -0
  252. package/dist/geotrek-rando-widget/p-422bb6de.entry.js.gz +0 -0
  253. package/dist/geotrek-rando-widget/p-45f46d33.entry.js.br +0 -0
  254. package/dist/geotrek-rando-widget/p-45f46d33.entry.js.gz +0 -0
  255. package/dist/geotrek-rando-widget/p-75f7d534.system.entry.js.br +0 -0
  256. package/dist/geotrek-rando-widget/p-75f7d534.system.entry.js.gz +0 -0
  257. package/dist/geotrek-rando-widget/p-805e2ba0.js.br +0 -0
  258. package/dist/geotrek-rando-widget/p-805e2ba0.js.gz +0 -0
  259. package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js +0 -4
  260. package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js.br +0 -0
  261. package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js.gz +0 -0
  262. package/dist/geotrek-rando-widget/p-89cd66dc.system.entry.js.map +0 -1
  263. package/dist/geotrek-rando-widget/p-94f1ea91.system.entry.js.br +0 -0
  264. package/dist/geotrek-rando-widget/p-94f1ea91.system.entry.js.gz +0 -0
  265. package/dist/geotrek-rando-widget/p-9844030a.entry.js.br +0 -0
  266. package/dist/geotrek-rando-widget/p-9844030a.entry.js.gz +0 -0
  267. package/dist/geotrek-rando-widget/p-a0027314.system.entry.js.br +0 -0
  268. package/dist/geotrek-rando-widget/p-a0027314.system.entry.js.gz +0 -0
  269. package/dist/geotrek-rando-widget/p-a9f81664.system.entry.js.br +0 -0
  270. package/dist/geotrek-rando-widget/p-a9f81664.system.entry.js.gz +0 -0
  271. package/dist/geotrek-rando-widget/p-aa1ff056.system.entry.js.br +0 -0
  272. package/dist/geotrek-rando-widget/p-aa1ff056.system.entry.js.gz +0 -0
  273. package/dist/geotrek-rando-widget/p-beba3e06.entry.js.br +0 -0
  274. package/dist/geotrek-rando-widget/p-beba3e06.entry.js.gz +0 -0
  275. package/dist/geotrek-rando-widget/p-d64a208b.system.js.br +0 -0
  276. package/dist/geotrek-rando-widget/p-d64a208b.system.js.gz +0 -0
  277. /package/dist/geotrek-rando-widget/{p-94f1ea91.system.entry.js.map → p-1ecac760.system.entry.js.map} +0 -0
  278. /package/dist/geotrek-rando-widget/{p-a0027314.system.entry.js.map → p-24e8475f.system.entry.js.map} +0 -0
  279. /package/dist/geotrek-rando-widget/{p-20a73813.entry.js.map → p-2990b91c.entry.js.map} +0 -0
  280. /package/dist/geotrek-rando-widget/{p-033910ba.system.entry.js.map → p-34a34d74.system.entry.js.map} +0 -0
  281. /package/dist/geotrek-rando-widget/{p-a9f81664.system.entry.js.map → p-3566b43b.system.entry.js.map} +0 -0
  282. /package/dist/geotrek-rando-widget/{p-9844030a.entry.js.map → p-5a073c3e.entry.js.map} +0 -0
  283. /package/dist/geotrek-rando-widget/{p-422bb6de.entry.js.map → p-87558980.entry.js.map} +0 -0
  284. /package/dist/geotrek-rando-widget/{p-45f46d33.entry.js.map → p-875e71d3.entry.js.map} +0 -0
  285. /package/dist/geotrek-rando-widget/{p-2a4d46f7.entry.js.map → p-87eb3dcc.entry.js.map} +0 -0
  286. /package/dist/geotrek-rando-widget/{p-aa1ff056.system.entry.js.map → p-9bcb7645.system.entry.js.map} +0 -0
  287. /package/dist/geotrek-rando-widget/{p-75f7d534.system.entry.js.map → p-d47a130a.system.entry.js.map} +0 -0
  288. /package/dist/geotrek-rando-widget/{p-beba3e06.entry.js.map → p-d92ca7f1.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as i,c as r,e as a,F as n}from"./p-6d1ce9f7.js";import{s,o}from"./p-82fd06d0.js";import{t as c}from"./p-805e2ba0.js";import{l,m as d,n as p}from"./p-51a45011.js";import{T as h,O as k,M as v}from"./p-d1c11cf1.js";import{c as f}from"./p-9fd3738a.js";const u=':host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--color-on-surface)}:host a{color:var(--color-primary-app)}.sensitive-area-title-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sensitive-area-title-container .sensitive-area-color-container{width:20px;height:20px;margin-right:8px;border:3px solid var(--color-sensitive-area);position:relative}.sensitive-area-title-container .sensitive-area-color-container:before{content:"";width:20px;height:20px;background-color:var(--color-sensitive-area);opacity:0.2;position:absolute}.sensitive-area-title-container .sensitive-area-title{font-size:20px;line-height:28px;padding:12px 0px;font-weight:600}.sensitive-area-description{font-size:16px;line-height:24px}.sensitive-area-description p:first-child{margin-top:0}.sensitive-area-period-container .sensitive-area-period-title,.sensitive-area-period-container .sensitive-area-practice-title,.sensitive-area-period-container .sensitive-area-contact-title,.sensitive-area-practice-container .sensitive-area-period-title,.sensitive-area-practice-container .sensitive-area-practice-title,.sensitive-area-practice-container .sensitive-area-contact-title,.sensitive-area-contact-container .sensitive-area-period-title,.sensitive-area-contact-container .sensitive-area-practice-title,.sensitive-area-contact-container .sensitive-area-contact-title{font-size:18px;line-height:24px;padding:12px 0px;font-weight:600}.sensitive-area-period-container .sensitive-area-periods,.sensitive-area-period-container .sensitive-area-practices,.sensitive-area-practice-container .sensitive-area-periods,.sensitive-area-practice-container .sensitive-area-practices,.sensitive-area-contact-container .sensitive-area-periods,.sensitive-area-contact-container .sensitive-area-practices{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}';const b=u;const m=class{constructor(t){e(this,t);this.sensitiveArea=undefined}render(){return t(i,{key:"836f62df8db86e542102c5a0ce18456cc6a13ba5"},t("div",{key:"41d3b6db72c8132f960bb5ac8273e2ee9894c60e",part:"sensitive-area-title-container",class:"sensitive-area-title-container"},t("div",{key:"1ca1d6a4e6aa1c36335389ad3348df6012f84741",part:"sensitive-area-color-container",class:"sensitive-area-color-container"}),t("div",{key:"c39934c070e9ef2a24e1284e212d012c01f78a00",part:"sensitive-area-title",class:"sensitive-area-title"},this.sensitiveArea.name)),t("div",{key:"a046625ca1d91038115fbc2b6f2bac5968d564ca",part:"sensitive-area-description",class:"sensitive-area-description",innerHTML:this.sensitiveArea.description}),this.sensitiveArea.practices&&this.sensitiveArea.practices.length>0&&t("div",{part:"sensitive-area-practice-container",class:"sensitive-area-practice-container"},t("div",{part:"sensitive-area-practice-title",class:"sensitive-area-practice-title"},"Domaines d'activités concernés"),t("div",{part:"sensitive-area-practices",class:"sensitive-area-practices"},this.sensitiveArea.practices.map(((e,i)=>{const r=s.practices.find((t=>t.id===e));if(r){return t("div",{part:"sensitive-area-practice",class:"sensitive-area-practice",innerHTML:`${r.name.toUpperCase()}${i+1!==this.sensitiveArea.practices.length?" -&nbsp;":""}`})}})))),this.sensitiveArea.period&&this.sensitiveArea.period.length>0&&t("div",{part:"sensitive-area-period-container",class:"sensitive-area-period-container"},t("div",{part:"sensitive-area-period-title",class:"sensitive-area-period-title"},"Périodes de sensibilité"),t("div",{part:"sensitive-area-periods",class:"sensitive-area-periods"},this.sensitiveArea.period.map(((e,i)=>{if(e){return t("div",{part:"sensitive-area-period",class:"sensitive-area-period",innerHTML:`${new Date(0,i+1,0).toLocaleDateString("fr",{month:"long"}).toUpperCase()}${this.sensitiveArea.period.slice(i+1).find((e=>e))?" -&nbsp;":""}`})}})))),t("div",{key:"d05dbcb237cd85322b1dfa3f0cf3db0420795b87",part:"sensitive-area-contact-container",class:"sensitive-area-contact-container"},t("div",{key:"13a2cc68fa86e7feaa727461968fb8d953f4835c",part:"sensitive-area-contact-title",class:"sensitive-area-contact-title"},"Contact"),t("div",{key:"d061933c75ae6ac2ad7330c7916ee8f5c22e8fa4",part:"sensitive-area-contact-value",class:"sensitive-area-contact-value",innerHTML:this.sensitiveArea.contact})))}};m.style=b;const g=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M320-280h320v-80H320v80Zm118-120 226-226-57-55-169 169-86-86-56 56 142 142Zm42 320q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>`;var x={exports:{}};(function(e,t){(function(t,i,r){{e.exports=r();e.exports["default"]=r()}})("slugify",f,(function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}');var t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function i(i,r){if(typeof i!=="string"){throw new Error("slugify: string argument expected")}r=typeof r==="string"?{replacement:r}:r||{};var a=t[r.locale]||{};var n=r.replacement===undefined?"-":r.replacement;var s=r.trim===undefined?true:r.trim;var o=i.normalize().split("").reduce((function(t,i){var s=a[i];if(s===undefined)s=e[i];if(s===undefined)s=i;if(s===n)s=" ";return t+s.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");if(r.strict){o=o.replace(/[^A-Za-z0-9\s]/g,"")}if(s){o=o.trim()}o=o.replace(/\s+/g,n);if(r.lower){o=o.toLowerCase()}return o}i.extend=function(t){Object.assign(e,t)};return i}))})(x);const w=x.exports;const y=".trek-card-container,.trek-card-large-view-container{cursor:pointer;font-family:var(--font-family);border-radius:var(--border-radius, 12px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);background-color:var(--color-surface-container-low)}.trek-card-container .trek-img,.trek-card-large-view-container .trek-img{-o-object-fit:cover;object-fit:cover;border-top-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 12px)}.trek-card-container .default-trek-img,.trek-card-large-view-container .default-trek-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.trek-card-container .trek-sub-container,.trek-card-large-view-container .trek-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:8px 16px}.trek-card-container .trek-sub-container .trek-name,.trek-card-large-view-container .trek-sub-container .trek-name{color:var(--color-primary-app);font-size:22px;line-height:28px;font-weight:400;margin-bottom:8px}.trek-card-container .trek-sub-container .trek-departure,.trek-card-large-view-container .trek-sub-container .trek-departure{color:var(--color-on-surface);font-size:16px;line-height:24px;font-weight:500;margin-bottom:4px}.trek-card-container .trek-sub-container .trek-themes-container,.trek-card-large-view-container .trek-sub-container .trek-themes-container{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.trek-card-container .trek-sub-container .trek-themes-container .trek-theme,.trek-card-large-view-container .trek-sub-container .trek-themes-container .trek-theme{background-color:var(--color-secondary-container);color:var(--color-on-secondary-container);border-radius:var(--border-radius, 40px);padding:8px 16px;margin:0px 8px 8px 0px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative}.trek-card-container .trek-sub-container .trek-icons-labels-container,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container{padding:0px 0px 8px 0px;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:16px}.trek-card-container .trek-sub-container .trek-icons-labels-container .trek-icon-label,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .trek-icon-label{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;width:calc(50% - 16px)}.trek-card-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .trek-icon,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .trek-icon{display:-ms-flexbox;display:flex;font-size:24px;width:24px;height:24px;color:var(--color-primary-app);margin-right:8px}.trek-card-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .network:not(:last-child),.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .network:not(:last-child){margin-right:16px}.trek-card-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .trek-label,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .trek-label{text-overflow:ellipsis;overflow:hidden}.trek-card-container .trek-sub-container .trek-icons-labels-container .practice img,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .practice img{background-color:var(--color-primary-app)}.selected-trek-card{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.trek-card-container{width:100%;max-width:350px}.trek-card-container .trek-img-container{height:200px}.trek-card-container .trek-img-container .trek-img{width:100%;height:100%}.trek-card-large-view-container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.trek-card-large-view-container .trek-img-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%}.trek-card-large-view-container .trek-img-container .trek-img{width:250px;height:inherit;border-bottom-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 0px)}.trek-step-card{width:auto}.trek-card-container .trek-sub-container .trek-departure{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:56px}.trek-card-container .trek-sub-container .trek-name{height:56px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.is-current-step{background-color:var(--color-surface-variant)}.practice .trek-icon{border-radius:100%;padding:2px;max-height:20px;max-width:20px}.trek-img-container{position:relative}.trek-img-container .offline-indicator{display:-ms-flexbox;display:flex;background:#ffffff;border-radius:24px;height:24px;width:24px;top:16px;right:16px;position:absolute;color:var(--color-on-surface)}";const A=y;const O=class{constructor(t){e(this,t);this.trekCardPress=r(this,"trekCardPress",7);this.cardTrekMouseOver=r(this,"cardTrekMouseOver",7);this.cardTrekMouseLeave=r(this,"cardTrekMouseLeave",7);this.currentTrek=undefined;this.difficulty=undefined;this.route=undefined;this.practice=undefined;this.themes=undefined;this.departureCity=undefined;this.trek=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6b0030";this.colorOnSurface="#49454e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorSurfaceContainerLow="#f7f2fa";this.isLargeView=false;this.isStep=undefined;this.isAvailableOffline=false;this.showDefaultImage=false;this.grwApp=false}onTrekDownloadedSuccessConfirm(){this.isAvailableOffline=true}onTrekDeleteSuccessConfirm(){this.isAvailableOffline=false}connectedCallback(){this.currentTrek=this.trek?this.trek:s.currentTrek;if(this.currentTrek){this.difficulty=s.difficulties.find((e=>e.id===this.currentTrek.difficulty));this.route=s.routes.find((e=>e.id===this.currentTrek.route));this.practice=s.practices.find((e=>e.id===this.currentTrek.practice));this.themes=s.themes.filter((e=>this.currentTrek.themes.includes(e.id)));this.departureCity=s.cities.find((e=>e.id===this.currentTrek.departure_city));this.handleOffline(this.currentTrek.id)}o("currentTrek",(()=>{this.currentTrek=this.trek?this.trek:s.currentTrek;if(this.currentTrek){this.difficulty=this.currentTrek.difficulty&&s.difficulties?s.difficulties.find((e=>e.id===this.currentTrek.difficulty)):null;this.route=this.currentTrek.route&&s.routes?s.routes.find((e=>e.id===this.currentTrek.route)):null;this.practice=this.currentTrek.practice&&s.practices?s.practices.find((e=>e.id===this.currentTrek.practice)):null;this.themes=this.currentTrek.themes&&s.themes?s.themes.filter((e=>this.currentTrek.themes.includes(e.id))):null;this.departureCity=this.currentTrek.departure_city&&s.cities?s.cities.find((e=>e.id===this.currentTrek.departure_city)):null;this.handleOffline(this.currentTrek.id)}}))}async handleOffline(e){this.isAvailableOffline=await c(e)}handleMouseOver(){this.cardTrekMouseOver.emit(this.currentTrek.id)}handleMouseLeave(){this.cardTrekMouseLeave.emit()}render(){var e,r,o,c,f;const u=a(`${""}assets/default-image.svg`);return t(i,{key:"e15d0873d40eb1cd1f0d4197641b2d48281da948",style:{"--font-family":this.fontFamily,width:this.isLargeView?"100%":"auto","--color-primary-app":this.colorPrimaryApp,"--color-on-surface":this.colorOnSurface,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-surface-container-low":this.colorSurfaceContainerLow}},this.currentTrek&&t("div",{part:"trek-card",class:this.isStep?`trek-card trek-card-container trek-step-card${s.selectedStepId===this.currentTrek.id?" selected-trek-card":""} ${s.currentTrek&&s.currentTrek.id===this.currentTrek.id?"is-current-step":""}`:this.isLargeView?`trek-card trek-card-large-view-container${s.selectedTrekId===this.currentTrek.id?" selected-trek-card":""}`:`trek-card trek-card-container${s.selectedTrekId===this.currentTrek.id?" selected-trek-card":""}`,onClick:()=>{if(this.grwApp){this.trekCardPress.emit(this.currentTrek.id)}else{window.location.href=w(`${this.currentTrek.name}`)}}},t("div",{part:"trek-img-container",class:"trek-img-container"},this.isAvailableOffline&&t("div",{part:"offline-indicator",class:"offline-indicator"},t("span",{part:"icon",class:"icon",innerHTML:g})),this.currentTrek.attachments.filter((e=>e.type==="image")).length>0?t("img",{part:"trek-img",class:"trek-img",src:`${this.currentTrek.attachments.filter((e=>e.type==="image"))[0].thumbnail!==""?this.currentTrek.attachments.filter((e=>e.type==="image"))[0].thumbnail:this.currentTrek.attachments.filter((e=>e.type==="image"))[0].url}`,alt:`${this.currentTrek.attachments.filter((e=>e.type==="image"))[0].legend}`,loading:"lazy",onerror:e=>{e.target.onerror=null;e.target.className="trek-img default-trek-img";e.target.src=u}}):t("img",{part:"trek-img",class:"trek-img default-trek-img",src:u,alt:"",loading:"lazy"})),t("div",{part:"trek-sub-container",class:"trek-sub-container"},this.departureCity&&t("div",{part:"trek-departure",class:"trek-departure"},this.departureCity.name),t("div",{part:"trek-name",class:"trek-name"},(e=this.currentTrek)===null||e===void 0?void 0:e.name),!this.isStep&&this.themes&&t("div",{part:"trek-themes-container",class:"trek-themes-container"},this.themes.map((e=>t("div",{part:"trek-theme",class:"trek-theme"},e.label)))),t("div",{part:"trek-icons-labels-container",class:"trek-icons-labels-container"},this.difficulty&&t("div",{part:"trek-icon-label",class:"trek-icon-label difficulty"},this.difficulty.pictogram&&t("img",{part:"trek-icon",class:"trek-icon",src:this.difficulty.pictogram,alt:""}),t("span",{part:"trek-label",class:"trek-label"},this.difficulty.label)),t("div",{part:"trek-icon-label",class:"trek-icon-label duration"},t("span",{part:"trek-icon",class:"trek-icon",innerHTML:h}),t("span",{part:"trek-label",class:"trek-label"},l(this.currentTrek.duration))),t("div",{part:"trek-icon-label",class:"trek-icon-label length"},t("span",{part:"trek-icon",class:"trek-icon",innerHTML:k}),t("span",{part:"trek-label",class:"trek-label"},d(this.currentTrek.length_2d))),t("div",{part:"trek-icon-label",class:"trek-icon-label ascent"},t("span",{part:"trek-icon",class:"trek-icon",innerHTML:v}),t("span",{part:"trek-label",class:"trek-label"},p(this.currentTrek.ascent))),!this.isStep&&t(n,null,t("div",{part:"trek-icon-label",class:"trek-icon-label route"},((r=this.route)===null||r===void 0?void 0:r.pictogram)&&t("img",{part:"trek-icon",class:"trek-icon",src:this.route.pictogram,alt:""}),t("span",{part:"trek-label",class:"trek-label"},(o=this.route)===null||o===void 0?void 0:o.route)),t("div",{part:"trek-icon-label",class:"trek-icon-label practice"},((c=this.practice)===null||c===void 0?void 0:c.pictogram)&&t("img",{part:"trek-icon",class:"trek-icon",src:this.practice.pictogram,alt:""}),t("span",{part:"trek-label",class:"trek-label"},(f=this.practice)===null||f===void 0?void 0:f.name)))))))}};O.style=A;export{m as grw_sensitive_area_detail,O as grw_trek_card};
2
- //# sourceMappingURL=p-422bb6de.entry.js.map
1
+ import{r as e,h as t,H as i,c as r,e as a,F as n}from"./p-6d1ce9f7.js";import{s,o}from"./p-82fd06d0.js";import{t as c}from"./p-4cf52b6c.js";import{l,m as d,n as p}from"./p-51a45011.js";import{T as h,O as k,M as v}from"./p-d1c11cf1.js";import{c as f}from"./p-9fd3738a.js";const u=':host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--color-on-surface)}:host a{color:var(--color-primary-app)}.sensitive-area-title-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sensitive-area-title-container .sensitive-area-color-container{width:20px;height:20px;margin-right:8px;border:3px solid var(--color-sensitive-area);position:relative}.sensitive-area-title-container .sensitive-area-color-container:before{content:"";width:20px;height:20px;background-color:var(--color-sensitive-area);opacity:0.2;position:absolute}.sensitive-area-title-container .sensitive-area-title{font-size:20px;line-height:28px;padding:12px 0px;font-weight:600}.sensitive-area-description{font-size:16px;line-height:24px}.sensitive-area-description p:first-child{margin-top:0}.sensitive-area-period-container .sensitive-area-period-title,.sensitive-area-period-container .sensitive-area-practice-title,.sensitive-area-period-container .sensitive-area-contact-title,.sensitive-area-practice-container .sensitive-area-period-title,.sensitive-area-practice-container .sensitive-area-practice-title,.sensitive-area-practice-container .sensitive-area-contact-title,.sensitive-area-contact-container .sensitive-area-period-title,.sensitive-area-contact-container .sensitive-area-practice-title,.sensitive-area-contact-container .sensitive-area-contact-title{font-size:18px;line-height:24px;padding:12px 0px;font-weight:600}.sensitive-area-period-container .sensitive-area-periods,.sensitive-area-period-container .sensitive-area-practices,.sensitive-area-practice-container .sensitive-area-periods,.sensitive-area-practice-container .sensitive-area-practices,.sensitive-area-contact-container .sensitive-area-periods,.sensitive-area-contact-container .sensitive-area-practices{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}';const b=u;const m=class{constructor(t){e(this,t);this.sensitiveArea=undefined}render(){return t(i,{key:"836f62df8db86e542102c5a0ce18456cc6a13ba5"},t("div",{key:"41d3b6db72c8132f960bb5ac8273e2ee9894c60e",part:"sensitive-area-title-container",class:"sensitive-area-title-container"},t("div",{key:"1ca1d6a4e6aa1c36335389ad3348df6012f84741",part:"sensitive-area-color-container",class:"sensitive-area-color-container"}),t("div",{key:"c39934c070e9ef2a24e1284e212d012c01f78a00",part:"sensitive-area-title",class:"sensitive-area-title"},this.sensitiveArea.name)),t("div",{key:"a046625ca1d91038115fbc2b6f2bac5968d564ca",part:"sensitive-area-description",class:"sensitive-area-description",innerHTML:this.sensitiveArea.description}),this.sensitiveArea.practices&&this.sensitiveArea.practices.length>0&&t("div",{part:"sensitive-area-practice-container",class:"sensitive-area-practice-container"},t("div",{part:"sensitive-area-practice-title",class:"sensitive-area-practice-title"},"Domaines d'activités concernés"),t("div",{part:"sensitive-area-practices",class:"sensitive-area-practices"},this.sensitiveArea.practices.map(((e,i)=>{const r=s.practices.find((t=>t.id===e));if(r){return t("div",{part:"sensitive-area-practice",class:"sensitive-area-practice",innerHTML:`${r.name.toUpperCase()}${i+1!==this.sensitiveArea.practices.length?" -&nbsp;":""}`})}})))),this.sensitiveArea.period&&this.sensitiveArea.period.length>0&&t("div",{part:"sensitive-area-period-container",class:"sensitive-area-period-container"},t("div",{part:"sensitive-area-period-title",class:"sensitive-area-period-title"},"Périodes de sensibilité"),t("div",{part:"sensitive-area-periods",class:"sensitive-area-periods"},this.sensitiveArea.period.map(((e,i)=>{if(e){return t("div",{part:"sensitive-area-period",class:"sensitive-area-period",innerHTML:`${new Date(0,i+1,0).toLocaleDateString("fr",{month:"long"}).toUpperCase()}${this.sensitiveArea.period.slice(i+1).find((e=>e))?" -&nbsp;":""}`})}})))),t("div",{key:"d05dbcb237cd85322b1dfa3f0cf3db0420795b87",part:"sensitive-area-contact-container",class:"sensitive-area-contact-container"},t("div",{key:"13a2cc68fa86e7feaa727461968fb8d953f4835c",part:"sensitive-area-contact-title",class:"sensitive-area-contact-title"},"Contact"),t("div",{key:"d061933c75ae6ac2ad7330c7916ee8f5c22e8fa4",part:"sensitive-area-contact-value",class:"sensitive-area-contact-value",innerHTML:this.sensitiveArea.contact})))}};m.style=b;const g=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M320-280h320v-80H320v80Zm118-120 226-226-57-55-169 169-86-86-56 56 142 142Zm42 320q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>`;var x={exports:{}};(function(e,t){(function(t,i,r){{e.exports=r();e.exports["default"]=r()}})("slugify",f,(function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}');var t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function i(i,r){if(typeof i!=="string"){throw new Error("slugify: string argument expected")}r=typeof r==="string"?{replacement:r}:r||{};var a=t[r.locale]||{};var n=r.replacement===undefined?"-":r.replacement;var s=r.trim===undefined?true:r.trim;var o=i.normalize().split("").reduce((function(t,i){var s=a[i];if(s===undefined)s=e[i];if(s===undefined)s=i;if(s===n)s=" ";return t+s.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");if(r.strict){o=o.replace(/[^A-Za-z0-9\s]/g,"")}if(s){o=o.trim()}o=o.replace(/\s+/g,n);if(r.lower){o=o.toLowerCase()}return o}i.extend=function(t){Object.assign(e,t)};return i}))})(x);const w=x.exports;const y=".trek-card-container,.trek-card-large-view-container{cursor:pointer;font-family:var(--font-family);border-radius:var(--border-radius, 12px);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);background-color:var(--color-surface-container-low)}.trek-card-container .trek-img,.trek-card-large-view-container .trek-img{-o-object-fit:cover;object-fit:cover;border-top-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 12px)}.trek-card-container .default-trek-img,.trek-card-large-view-container .default-trek-img{background-color:var(--color-primary-container);-o-object-fit:contain;object-fit:contain}.trek-card-container .trek-sub-container,.trek-card-large-view-container .trek-sub-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:8px 16px}.trek-card-container .trek-sub-container .trek-name,.trek-card-large-view-container .trek-sub-container .trek-name{color:var(--color-primary-app);font-size:22px;line-height:28px;font-weight:400;margin-bottom:8px}.trek-card-container .trek-sub-container .trek-departure,.trek-card-large-view-container .trek-sub-container .trek-departure{color:var(--color-on-surface);font-size:16px;line-height:24px;font-weight:500;margin-bottom:4px}.trek-card-container .trek-sub-container .trek-themes-container,.trek-card-large-view-container .trek-sub-container .trek-themes-container{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.trek-card-container .trek-sub-container .trek-themes-container .trek-theme,.trek-card-large-view-container .trek-sub-container .trek-themes-container .trek-theme{background-color:var(--color-secondary-container);color:var(--color-on-secondary-container);border-radius:var(--border-radius, 40px);padding:8px 16px;margin:0px 8px 8px 0px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);gap:8px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:start;vertical-align:middle;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative}.trek-card-container .trek-sub-container .trek-icons-labels-container,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container{padding:0px 0px 8px 0px;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:16px}.trek-card-container .trek-sub-container .trek-icons-labels-container .trek-icon-label,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .trek-icon-label{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;width:calc(50% - 16px)}.trek-card-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .trek-icon,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .trek-icon{display:-ms-flexbox;display:flex;font-size:24px;width:24px;height:24px;color:var(--color-primary-app);margin-right:8px}.trek-card-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .network:not(:last-child),.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .network:not(:last-child){margin-right:16px}.trek-card-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .trek-label,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .trek-icon-label .trek-label{text-overflow:ellipsis;overflow:hidden}.trek-card-container .trek-sub-container .trek-icons-labels-container .practice img,.trek-card-large-view-container .trek-sub-container .trek-icons-labels-container .practice img{background-color:var(--color-primary-app)}.selected-trek-card{-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2)}.trek-card-container{width:100%;max-width:350px}.trek-card-container .trek-img-container{height:200px}.trek-card-container .trek-img-container .trek-img{width:100%;height:100%}.trek-card-large-view-container{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.trek-card-large-view-container .trek-img-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%}.trek-card-large-view-container .trek-img-container .trek-img{width:250px;height:inherit;border-bottom-left-radius:var(--border-radius, 12px);border-top-right-radius:var(--border-radius, 0px)}.trek-step-card{width:auto}.trek-card-container .trek-sub-container .trek-departure{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:56px}.trek-card-container .trek-sub-container .trek-name{height:56px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.is-current-step{background-color:var(--color-surface-variant)}.practice .trek-icon{border-radius:100%;padding:2px;max-height:20px;max-width:20px}.trek-img-container{position:relative}.trek-img-container .offline-indicator{display:-ms-flexbox;display:flex;background:#ffffff;border-radius:24px;height:24px;width:24px;top:16px;right:16px;position:absolute;color:var(--color-on-surface)}";const A=y;const O=class{constructor(t){e(this,t);this.trekCardPress=r(this,"trekCardPress",7);this.cardTrekMouseOver=r(this,"cardTrekMouseOver",7);this.cardTrekMouseLeave=r(this,"cardTrekMouseLeave",7);this.currentTrek=undefined;this.difficulty=undefined;this.route=undefined;this.practice=undefined;this.themes=undefined;this.departureCity=undefined;this.trek=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6b0030";this.colorOnSurface="#49454e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorSurfaceContainerLow="#f7f2fa";this.isLargeView=false;this.isStep=undefined;this.isAvailableOffline=false;this.showDefaultImage=false;this.grwApp=false}onTrekDownloadedSuccessConfirm(){this.isAvailableOffline=true}onTrekDeleteSuccessConfirm(){this.isAvailableOffline=false}connectedCallback(){this.currentTrek=this.trek?this.trek:s.currentTrek;if(this.currentTrek){this.difficulty=s.difficulties.find((e=>e.id===this.currentTrek.difficulty));this.route=s.routes.find((e=>e.id===this.currentTrek.route));this.practice=s.practices.find((e=>e.id===this.currentTrek.practice));this.themes=s.themes.filter((e=>this.currentTrek.themes.includes(e.id)));this.departureCity=s.cities.find((e=>e.id===this.currentTrek.departure_city));this.handleOffline(this.currentTrek.id)}o("currentTrek",(()=>{this.currentTrek=this.trek?this.trek:s.currentTrek;if(this.currentTrek){this.difficulty=this.currentTrek.difficulty&&s.difficulties?s.difficulties.find((e=>e.id===this.currentTrek.difficulty)):null;this.route=this.currentTrek.route&&s.routes?s.routes.find((e=>e.id===this.currentTrek.route)):null;this.practice=this.currentTrek.practice&&s.practices?s.practices.find((e=>e.id===this.currentTrek.practice)):null;this.themes=this.currentTrek.themes&&s.themes?s.themes.filter((e=>this.currentTrek.themes.includes(e.id))):null;this.departureCity=this.currentTrek.departure_city&&s.cities?s.cities.find((e=>e.id===this.currentTrek.departure_city)):null;this.handleOffline(this.currentTrek.id)}}))}async handleOffline(e){this.isAvailableOffline=await c(e)}handleMouseOver(){this.cardTrekMouseOver.emit(this.currentTrek.id)}handleMouseLeave(){this.cardTrekMouseLeave.emit()}render(){var e,r,o,c,f;const u=a(`${""}assets/default-image.svg`);return t(i,{key:"e15d0873d40eb1cd1f0d4197641b2d48281da948",style:{"--font-family":this.fontFamily,width:this.isLargeView?"100%":"auto","--color-primary-app":this.colorPrimaryApp,"--color-on-surface":this.colorOnSurface,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-surface-container-low":this.colorSurfaceContainerLow}},this.currentTrek&&t("div",{part:"trek-card",class:this.isStep?`trek-card trek-card-container trek-step-card${s.selectedStepId===this.currentTrek.id?" selected-trek-card":""} ${s.currentTrek&&s.currentTrek.id===this.currentTrek.id?"is-current-step":""}`:this.isLargeView?`trek-card trek-card-large-view-container${s.selectedTrekId===this.currentTrek.id?" selected-trek-card":""}`:`trek-card trek-card-container${s.selectedTrekId===this.currentTrek.id?" selected-trek-card":""}`,onClick:()=>{if(this.grwApp){this.trekCardPress.emit(this.currentTrek.id)}else{window.location.href=w(`${this.currentTrek.name}`)}}},t("div",{part:"trek-img-container",class:"trek-img-container"},this.isAvailableOffline&&t("div",{part:"offline-indicator",class:"offline-indicator"},t("span",{part:"icon",class:"icon",innerHTML:g})),this.currentTrek.attachments.filter((e=>e.type==="image")).length>0?t("img",{part:"trek-img",class:"trek-img",src:`${this.currentTrek.attachments.filter((e=>e.type==="image"))[0].thumbnail!==""?this.currentTrek.attachments.filter((e=>e.type==="image"))[0].thumbnail:this.currentTrek.attachments.filter((e=>e.type==="image"))[0].url}`,alt:`${this.currentTrek.attachments.filter((e=>e.type==="image"))[0].legend}`,loading:"lazy",onerror:e=>{e.target.onerror=null;e.target.className="trek-img default-trek-img";e.target.src=u}}):t("img",{part:"trek-img",class:"trek-img default-trek-img",src:u,alt:"",loading:"lazy"})),t("div",{part:"trek-sub-container",class:"trek-sub-container"},this.departureCity&&t("div",{part:"trek-departure",class:"trek-departure"},this.departureCity.name),t("div",{part:"trek-name",class:"trek-name"},(e=this.currentTrek)===null||e===void 0?void 0:e.name),!this.isStep&&this.themes&&t("div",{part:"trek-themes-container",class:"trek-themes-container"},this.themes.map((e=>t("div",{part:"trek-theme",class:"trek-theme"},e.label)))),t("div",{part:"trek-icons-labels-container",class:"trek-icons-labels-container"},this.difficulty&&t("div",{part:"trek-icon-label",class:"trek-icon-label difficulty"},this.difficulty.pictogram&&t("img",{part:"trek-icon",class:"trek-icon",src:this.difficulty.pictogram,alt:""}),t("span",{part:"trek-label",class:"trek-label"},this.difficulty.label)),t("div",{part:"trek-icon-label",class:"trek-icon-label duration"},t("span",{part:"trek-icon",class:"trek-icon",innerHTML:h}),t("span",{part:"trek-label",class:"trek-label"},l(this.currentTrek.duration))),t("div",{part:"trek-icon-label",class:"trek-icon-label length"},t("span",{part:"trek-icon",class:"trek-icon",innerHTML:k}),t("span",{part:"trek-label",class:"trek-label"},d(this.currentTrek.length_2d))),t("div",{part:"trek-icon-label",class:"trek-icon-label ascent"},t("span",{part:"trek-icon",class:"trek-icon",innerHTML:v}),t("span",{part:"trek-label",class:"trek-label"},p(this.currentTrek.ascent))),!this.isStep&&t(n,null,t("div",{part:"trek-icon-label",class:"trek-icon-label route"},((r=this.route)===null||r===void 0?void 0:r.pictogram)&&t("img",{part:"trek-icon",class:"trek-icon",src:this.route.pictogram,alt:""}),t("span",{part:"trek-label",class:"trek-label"},(o=this.route)===null||o===void 0?void 0:o.route)),t("div",{part:"trek-icon-label",class:"trek-icon-label practice"},((c=this.practice)===null||c===void 0?void 0:c.pictogram)&&t("img",{part:"trek-icon",class:"trek-icon",src:this.practice.pictogram,alt:""}),t("span",{part:"trek-label",class:"trek-label"},(f=this.practice)===null||f===void 0?void 0:f.name)))))))}};O.style=A;export{m as grw_sensitive_area_detail,O as grw_trek_card};
2
+ //# sourceMappingURL=p-87558980.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,F as s,H as e,g as r}from"./p-6d1ce9f7.js";import{C as o,r as n,h as a,a as h,i as l}from"./p-51a45011.js";import{t as c}from"./p-0a3fc934.js";import{s as d,r as u}from"./p-82fd06d0.js";const p=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>`;const w="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:calc(var(--header-height) + var(--header-with-offline) + var(--header-with-languages))}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-languages) - var(--header-with-offline))}.grw-content-trek{height:calc(100% - var(--header-height) - var(--header-with-languages))}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4;pointer-events:none}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100% - 48px)}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail{position:relative;max-height:100%}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";const f=w;const g=class{constructor(i){t(this,i);this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showOutdoorSite=false;this.showOutdoorCourse=false;this.showOutdoorSiteMap=false;this.showOutdoorCourseMap=false;this.showHomeMap=false;this.showTrekMap=false;this.showTouristicContentMap=false;this.showTouristicEventMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.currentTouristicContentId=undefined;this.currentTouristicEventId=undefined;this.currentOutdoorSiteId=undefined;this.currentOutdoorCourseId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.labels=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.emergencyNumber=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6750a4";this.colorPrimary="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.rounded=true;this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorMarkers=null;this.colorClusters=null;this.colorOutdoorArea="#ffb700";this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.outdoor=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.tilesMinZoomOffline=12;this.tilesMaxZoomOffline=16;this.mainMarkerSize=32;this.selectedMainMarkerSize=48;this.mainClusterSize=48;this.commonMarkerSize=48;this.departureArrivalMarkerSize=14;this.pointReferenceMarkerSize=24;this.largeViewSize=1024;this.elevationHeight=280;this.mobileElevationHeight=280;this.signages=false}onTrekCardPress(t){this.currentTouristicContentId=null;this.showTouristicContent=false;d.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;d.currentTouristicEvent=null;const i=d.parentTrekId?d.parentTrekId:d.currentTrekSteps?this.currentTrekId:null;d.currentTrek=null;this.currentTrekId=t.detail;d.mode="treks";this.showTrek=true;this.showTrekMap=false;const s=new URL(window.location.toString());s.searchParams.set("trek",this.currentTrekId.toString());if(d.currentTrekSteps){s.searchParams.set("parenttrek",i.toString())}window.history.pushState({},"",s)}onParentTrekPress(t){d.currentTrek=null;this.currentTrekId=t.detail;d.mode="treks";this.showTrek=true;this.showTrekMap=false;const i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());i.searchParams.delete("parenttrek");window.history.pushState({},"",i)}onTouristicContentCardPress(t){d.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;d.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;const i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",i)}onTouristiceEventCardPress(t){d.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;d.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;const i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",i)}onOutdoorSiteCardPress(t){d.currentTrek=null;this.currentTrekId=null;this.showTrek=false;d.mode="outdoor";d.currentOutdoorSite=null;d.currentRelatedOutdoorSites=null;d.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=t.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;const i=new URL(window.location.toString());i.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",i)}onOutdoorCourseCardPress(t){d.currentTrek=null;this.currentTrekId=null;this.showTrek=false;d.mode="outdoor";d.currentOutdoorSite=null;d.currentOutdoorCourse=null;d.currentRelatedOutdoorSites=null;d.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=t.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;const i=new URL(window.location.toString());i.searchParams.delete("outdoorsite");i.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",i)}onWindowResize(){this.handleView()}onCenterOnMap(){if(!this.isLargeView){this.showTrekMap=true}}watchPropHandler(){window.dispatchEvent(new window.Event("resize"))}componentWillLoad(){if(this.treks){d.mode="treks"}else if(this.touristicContents){d.mode="touristicContents"}else if(this.touristicEvents){d.mode="touristicEvents"}else if(this.outdoor){d.mode="outdoor"}const t=new URL(window.location.toString());const i=t.searchParams.get("trek");const s=t.searchParams.get("parenttrek");const e=t.searchParams.get("touristiccontent");const r=t.searchParams.get("touristicevent");const o=t.searchParams.get("outdoorsite");const n=t.searchParams.get("outdoorcourse");if(i){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);d.parentTrekId=s?Number(s):null;this.currentTrekId=Number(i);d.mode="treks";this.showTrek=true}else if(e){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(e);d.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(r);d.mode="touristicEvents";this.showTouristicEvent=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorSiteId=Number(o);d.mode="outdoor";this.showOutdoorSite=true}else if(n){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorCourseId=Number(n);d.mode="outdoor";this.showOutdoorCourse=true}}componentDidLoad(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()}onDetailsClose(){if(d.mode==="treks"){this.showTrek=false;this.showTrekMap=false;d.currentTrek=null;d.currentTrekSteps=null;d.parentTrekId=null;this.currentTrekId=null}else if(d.mode==="touristicContents"){d.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(d.mode==="touristicEvents"){d.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(d.mode==="outdoor"){d.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;d.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=false}}handleView(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView}handleFilters(){this.showFilters=!this.showFilters}handleBackButton(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){if(d.currentTrek&&d.currentTrek.offline&&!o.isNativePlatform()){n(d.currentPois,l,["url"]);n(d.trekTouristicEvents,l,["url"]);n(d.trekTouristicContents,l,["url"]);n(d.currentInformationDesks,l);n(d.currentTrek,l,["url"])}this.onDetailsClose();const t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");t.searchParams.delete("outdoorsite");t.searchParams.delete("outdoorcourse");window.history.pushState({},"",t)}else{window.history.back()}}handlePopState(){const t=new URL(window.location.toString());const i=Number(t.searchParams.get("trek"));const s=t.searchParams.get("touristiccontent");const e=t.searchParams.get("touristicevent");const r=Number(t.searchParams.get("outdoorsite"));if(i&&this.currentTrekId!==i){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;d.currentTouristicContent=null;d.currentTouristicEvent=null;d.currentTrek=null;this.currentTrekId=i;d.mode="treks";this.showTrek=true}else if(r&&this.currentOutdoorSiteId!==r){this.currentOutdoorSiteId=r;d.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!i&&!s&&!e&&!r){this.onDetailsClose()}}handleShowMap(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}else{this.showHomeMap=!this.showHomeMap}}getMapVisibilityIconButton(){let t;if(this.showTrek){t=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){t=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){t=this.showTouristicEventMap?"summarize":"map"}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t}getMapVisibilityLabelButton(){let t;if(d.language){if(this.showTrek){t=this.showTrekMap?c[d.language].showDetails:c[d.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?c[d.language].showDetails:c[d.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?c[d.language].showDetails:c[d.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap?c[d.language].showDetails:c[d.language].showMap}else{t=this.showHomeMap?c[d.language].showList:c[d.language].showMap}}return t}reload(){window.location.reload()}disconnectedCallback(){u();window.removeEventListener("popstate",this.handlePopStateBind)}handleOffline(){if(d.mode==="treks"){d.offlineTreks=!d.offlineTreks;d.currentTreks=a()}else{d.offlineOutdoorSites=!d.offlineOutdoorSites;d.currentOutdoorSites=h()}}getFiltersName(){const t=d.selectedActivitiesFilters+d.selectedLocationFilters+d.selectedThemesFilters;return`${c[d.language].filter}${t>0?" ("+t+")":""}`}render(){return i(e,{key:"d498e6d9b5245d95f6b8bec24c2b01bca3921d4c",style:{"--font-family":this.fontFamily,"--color-primary-app":this.colorPrimaryApp,"--color-primary":this.colorPrimary,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--color-sensitive-area":this.colorSensitiveArea,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":this.showTrek&&this.showTouristicContent&&this.showTouristicEvent?"116px":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1?"148px":"64px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--header-with-offline":this.enableOffline?"48px":"0px","--border-radius":this.rounded?"":"0px"}},!d.currentTreks&&!d.currentTrek&&!d.currentTouristicContent&&!d.currentTouristicEvent&&!d.currentTouristicContents&&!d.currentTouristicEvents&&!d.currentOutdoorSites&&!d.currentOutdoorSite&&!d.currentOutdoorCourses&&!d.currentOutdoorCourse&&i("div",{class:"grw-init-loader-container"},i("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&d.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!d.currentTreks&&i("grw-treks-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTrek&&this.currentTrekId&&!d.currentTrek&&i("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels,signages:this.signages}),this.showTouristicContent&&this.currentTouristicContentId&&i("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&i("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!d.currentOutdoorSite&&i("grw-outdoor-site-provider",{api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!d.currentOutdoorCourse&&i("grw-outdoor-course-provider",{api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&d.mode==="touristicContents"&&!d.currentTouristicContents&&!this.showTouristicContent&&i("grw-touristic-contents-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.touristicEvents&&d.mode==="touristicEvents"&&!d.currentTouristicEvents&&!this.showTouristicEvent&&i("grw-touristic-events-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.outdoor&&d.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!d.outdoorSites&&i("grw-outdoor-sites-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes}),(d.currentTreks||d.currentTrek||d.touristicContents||d.touristicEvents||d.currentTouristicContent||d.currentTouristicEvent||d.currentOutdoorSites||d.currentOutdoorSite||d.currentOutdoorCourses||d.currentOutdoorCourse||d.networkError)&&i("div",{class:"grw-app-container"},d.languages&&d.languages.length>1&&i("div",{class:"grw-languages-container"},i("grw-select-language",null)),i("div",{class:`${this.isLargeView?"grw-large-view-header-container":"grw-header-container"}${this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?" grw-header-detail":""}`},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse&&i("grw-segmented-segment",{"font-family":this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents,outdoor:this.outdoor}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse?i(s,null,i("div",{class:"grw-handle-search-filters-container"},i("div",{class:"grw-handle-search-container"},i("grw-search",{"font-family":this.fontFamily})),i("div",{class:"grw-handle-filters-container"},i("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:()=>this.handleFilters(),icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&(d.mode==="treks"||d.mode==="outdoor")&&i("div",{part:"grw-offline-container",class:"grw-offline-container"},i("div",{class:"grw-offline-label"},d.mode==="treks"?c[d.language].onlyOfflineTreks:c[d.language].onlyOfflineOutdoor),i("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:()=>this.handleOffline(),checked:d.mode==="treks"?d.offlineTreks:d.offlineOutdoorSites}))):i("div",{class:"grw-arrow-back-container"},i("button",{onClick:()=>this.handleBackButton(),class:"grw-arrow-back-icon"},i("span",{part:"icon",class:"icon",innerHTML:p})))),i("div",{class:`grw-content-container ${this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks"}`},d.networkError&&i("div",{class:"grw-error-container"},"Une erreur est survenue.",i("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:()=>this.reload()})),(d.mode==="treks"&&this.treks&&d.treks||d.mode==="touristicContents"&&this.touristicContents&&d.touristicContents||d.mode==="touristicEvents"&&this.touristicEvents&&d.touristicEvents||d.mode==="outdoor"&&this.outdoor&&d.outdoorSites)&&i("div",{class:this.isLargeView?"grw-large-view-app-list-container":"grw-app-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"none":"flex",position:this.showTrek?"absolute":"relative"}},d.mode==="treks"&&this.treks&&d.treks&&i("grw-treks-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"grw-app":true}),d.mode==="touristicContents"&&this.touristicContents&&d.touristicContents&&i("grw-touristic-contents-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),d.mode==="touristicEvents"&&this.touristicEvents&&d.touristicEvents&&i("grw-touristic-events-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),d.mode==="outdoor"&&this.outdoor&&d.outdoorSites&&i("grw-outdoor-sites-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),(this.showTrek&&!d.currentTrek||this.showTouristicContent&&!d.currentTouristicContent||this.showTouristicEvent&&!d.currentTouristicEvent||this.showOutdoorSite&&!d.currentOutdoorSite||this.showOutdoorCourse&&!d.currentOutdoorCourse||!d.treks&&d.mode==="treks"&&!this.showTrek||!d.touristicContents&&d.mode==="touristicContents"&&!this.showTouristicContent||!d.touristicEvents&&d.mode==="touristicEvents"&&!this.showTouristicEvent||!d.outdoorSites&&d.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&i("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},i("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&d.currentTrek&&i("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},i("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView,"emergency-number":this.emergencyNumber,"default-background-layer-url":this.urlLayer.split(",http").map(((t,i)=>i===0?t:"http"+t))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"tiles-min-zoom-offline":this.tilesMinZoomOffline,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true,rounded:this.rounded}),i("grw-offline-confirm-modal",{mode:"treks"})),this.showTouristicContent&&d.currentTouristicContent&&i("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},i("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap&&this.showTouristicContent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,"grw-app":true})),this.showTouristicEvent&&d.currentTouristicEvent&&i("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},i("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,"grw-app":true})),this.showOutdoorSite&&d.currentOutdoorSite&&i("div",{class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},i("grw-outdoor-site-detail",{style:{visibility:!this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorSiteMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,weather:this.weather,"default-background-layer-url":this.urlLayer.split(",http").map(((t,i)=>i===0?t:"http"+t))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"grw-app":true}),i("grw-offline-confirm-modal",{mode:"treks"})),this.showOutdoorCourse&&d.currentOutdoorCourse&&i("div",{class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},i("grw-outdoor-course-detail",{style:{visibility:!this.showOutdoorCourseMap&&this.showOutdoorCourse||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorCourseMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,"grw-app":true})),!d.networkError&&i("grw-map",{exportparts:"map,elevation,map-bottom-space,map-loader-container,loader",class:this.isLargeView?"grw-large-view-app-map-container":"grw-app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap||this.showOutdoorSiteMap?"1":"0"},"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-markers":this.colorMarkers?this.colorMarkers:this.colorPrimaryApp,"color-clusters":this.colorClusters?this.colorClusters:this.colorPrimaryApp,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true,"main-marker-size":this.mainMarkerSize,"selected-main-marker-size":this.selectedMainMarkerSize,"main-cluster-size":this.mainClusterSize,"common-marker-size":this.commonMarkerSize,"departure-arrival-marker-size":this.departureArrivalMarkerSize,"point-reference-marker-size":this.pointReferenceMarkerSize,"elevation-height":this.elevationHeight,"mobile-elevation-height":this.mobileElevationHeight,"large-view-size":this.largeViewSize,"is-large-view":this.isLargeView})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&d.currentTrek||this.showTouristicContent&&d.currentTouristicContent||this.showTouristicEvent&&d.currentTouristicEvent||this.showOutdoorSite&&d.currentOutdoorSite)&&i("div",{class:"grw-map-visibility-button-container"},i("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:()=>this.handleShowMap(),icon:()=>this.getMapVisibilityIconButton(),name:()=>this.getMapVisibilityLabelButton(),display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&i("grw-filters",{"font-family":this.fontFamily,handleFilters:()=>this.handleFilters()}))}get appElement(){return r(this)}static get watchers(){return{isLargeView:["watchPropHandler"]}}};g.style=f;export{g as grw_app};
2
- //# sourceMappingURL=p-45f46d33.entry.js.map
1
+ import{r as t,h as i,F as s,H as e,g as r}from"./p-6d1ce9f7.js";import{C as o,r as n,h as a,a as h,i as l}from"./p-51a45011.js";import{t as c}from"./p-1f5afac7.js";import{s as d,r as u}from"./p-82fd06d0.js";const p=`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>`;const w="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:calc(var(--header-height) + var(--header-with-offline) + var(--header-with-languages))}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{min-height:64px;height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-languages) - var(--header-with-offline))}.grw-content-trek{height:calc(100% - var(--header-height) - var(--header-with-languages))}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4;pointer-events:none}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container,.grw-app-outdoor-site-detail-container,.grw-app-outdoor-course-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-events-list,grw-outdoor-sites-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100% - 48px)}grw-touristic-content-detail,grw-touristic-event-detail,grw-outdoor-site-detail{position:relative;max-height:100%}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{position:relative;width:50%}.grw-large-view-app-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container,.grw-large-view-app-outdoor-site-detail-container,.grw-large-view-app-outdoor-course-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";const f=w;const g=class{constructor(i){t(this,i);this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=false;this.showOutdoorSite=false;this.showOutdoorCourse=false;this.showOutdoorSiteMap=false;this.showOutdoorCourseMap=false;this.showHomeMap=false;this.showTrekMap=false;this.showTouristicContentMap=false;this.showTouristicEventMap=false;this.showFilters=false;this.isLargeView=false;this.currentTrekId=undefined;this.currentTouristicContentId=undefined;this.currentTouristicEventId=undefined;this.currentOutdoorSiteId=undefined;this.currentOutdoorCourseId=undefined;this.appWidth="100%";this.appHeight="100vh";this.api=undefined;this.languages="fr";this.inBbox=undefined;this.cities=undefined;this.districts=undefined;this.structures=undefined;this.themes=undefined;this.portals=undefined;this.routes=undefined;this.practices=undefined;this.labels=undefined;this.nameLayer=undefined;this.urlLayer=undefined;this.attributionLayer=undefined;this.weather=false;this.emergencyNumber=undefined;this.fontFamily="Roboto";this.colorPrimaryApp="#6750a4";this.colorPrimary="#6750a4";this.colorOnPrimary="#ffffff";this.colorSurface="#1c1b1f";this.colorOnSurface="#49454e";this.colorSurfaceVariant="#fef7ff";this.colorOnSurfaceVariant="#1c1b1f";this.colorPrimaryContainer="#eaddff";this.colorOnPrimaryContainer="#21005e";this.colorSecondaryContainer="#e8def8";this.colorOnSecondaryContainer="#1d192b";this.colorBackground="#fef7ff";this.colorSurfaceContainerHigh="#ece6f0";this.colorSurfaceContainerLow="#f7f2fa";this.fabBackgroundColor="#eaddff";this.fabColor="#21005d";this.rounded=true;this.colorTrekLine="#6b0030";this.colorSensitiveArea="#4974a5";this.colorMarkers=null;this.colorClusters=null;this.colorOutdoorArea="#ffb700";this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.outdoor=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.tilesMinZoomOffline=12;this.tilesMaxZoomOffline=16;this.mainMarkerSize=32;this.selectedMainMarkerSize=48;this.mainClusterSize=48;this.commonMarkerSize=48;this.departureArrivalMarkerSize=14;this.pointReferenceMarkerSize=24;this.largeViewSize=1024;this.elevationHeight=280;this.mobileElevationHeight=280;this.signages=false}onTrekCardPress(t){this.currentTouristicContentId=null;this.showTouristicContent=false;d.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;d.currentTouristicEvent=null;const i=d.parentTrekId?d.parentTrekId:d.currentTrekSteps?this.currentTrekId:null;d.currentTrek=null;this.currentTrekId=t.detail;d.mode="treks";this.showTrek=true;this.showTrekMap=false;const s=new URL(window.location.toString());s.searchParams.set("trek",this.currentTrekId.toString());if(d.currentTrekSteps){s.searchParams.set("parenttrek",i.toString())}window.history.pushState({},"",s)}onParentTrekPress(t){d.currentTrek=null;this.currentTrekId=t.detail;d.mode="treks";this.showTrek=true;this.showTrekMap=false;const i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());i.searchParams.delete("parenttrek");window.history.pushState({},"",i)}onTouristicContentCardPress(t){d.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;d.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;const i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",i)}onTouristiceEventCardPress(t){d.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;d.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;const i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",i)}onOutdoorSiteCardPress(t){d.currentTrek=null;this.currentTrekId=null;this.showTrek=false;d.mode="outdoor";d.currentOutdoorSite=null;d.currentRelatedOutdoorSites=null;d.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=t.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;const i=new URL(window.location.toString());i.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",i)}onOutdoorCourseCardPress(t){d.currentTrek=null;this.currentTrekId=null;this.showTrek=false;d.mode="outdoor";d.currentOutdoorSite=null;d.currentOutdoorCourse=null;d.currentRelatedOutdoorSites=null;d.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=t.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;const i=new URL(window.location.toString());i.searchParams.delete("outdoorsite");i.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",i)}onWindowResize(){this.handleView()}onCenterOnMap(){if(!this.isLargeView){this.showTrekMap=true}}watchPropHandler(){window.dispatchEvent(new window.Event("resize"))}componentWillLoad(){if(this.treks){d.mode="treks"}else if(this.touristicContents){d.mode="touristicContents"}else if(this.touristicEvents){d.mode="touristicEvents"}else if(this.outdoor){d.mode="outdoor"}const t=new URL(window.location.toString());const i=t.searchParams.get("trek");const s=t.searchParams.get("parenttrek");const e=t.searchParams.get("touristiccontent");const r=t.searchParams.get("touristicevent");const o=t.searchParams.get("outdoorsite");const n=t.searchParams.get("outdoorcourse");if(i){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);d.parentTrekId=s?Number(s):null;this.currentTrekId=Number(i);d.mode="treks";this.showTrek=true}else if(e){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(e);d.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(r);d.mode="touristicEvents";this.showTouristicEvent=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorSiteId=Number(o);d.mode="outdoor";this.showOutdoorSite=true}else if(n){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorCourseId=Number(n);d.mode="outdoor";this.showOutdoorCourse=true}}componentDidLoad(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()}onDetailsClose(){if(d.mode==="treks"){this.showTrek=false;this.showTrekMap=false;d.currentTrek=null;d.currentTrekSteps=null;d.parentTrekId=null;this.currentTrekId=null}else if(d.mode==="touristicContents"){d.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(d.mode==="touristicEvents"){d.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(d.mode==="outdoor"){d.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;d.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=false}}handleView(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView}handleFilters(){this.showFilters=!this.showFilters}handleBackButton(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){if(d.currentTrek&&d.currentTrek.offline&&!o.isNativePlatform()){n(d.currentPois,l,["url"]);n(d.trekTouristicEvents,l,["url"]);n(d.trekTouristicContents,l,["url"]);n(d.currentInformationDesks,l);n(d.currentTrek,l,["url"])}this.onDetailsClose();const t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");t.searchParams.delete("outdoorsite");t.searchParams.delete("outdoorcourse");window.history.pushState({},"",t)}else{window.history.back()}}handlePopState(){const t=new URL(window.location.toString());const i=Number(t.searchParams.get("trek"));const s=t.searchParams.get("touristiccontent");const e=t.searchParams.get("touristicevent");const r=Number(t.searchParams.get("outdoorsite"));if(i&&this.currentTrekId!==i){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;d.currentTouristicContent=null;d.currentTouristicEvent=null;d.currentTrek=null;this.currentTrekId=i;d.mode="treks";this.showTrek=true}else if(r&&this.currentOutdoorSiteId!==r){this.currentOutdoorSiteId=r;d.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!i&&!s&&!e&&!r){this.onDetailsClose()}}handleShowMap(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}else{this.showHomeMap=!this.showHomeMap}}getMapVisibilityIconButton(){let t;if(this.showTrek){t=this.showTrekMap?"summarize":"map"}else if(this.showTouristicContent){t=this.showTouristicContentMap?"summarize":"map"}else if(this.showTouristicEvent){t=this.showTouristicEventMap?"summarize":"map"}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t}getMapVisibilityLabelButton(){let t;if(d.language){if(this.showTrek){t=this.showTrekMap?c[d.language].showDetails:c[d.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?c[d.language].showDetails:c[d.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?c[d.language].showDetails:c[d.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap?c[d.language].showDetails:c[d.language].showMap}else{t=this.showHomeMap?c[d.language].showList:c[d.language].showMap}}return t}reload(){window.location.reload()}disconnectedCallback(){u();window.removeEventListener("popstate",this.handlePopStateBind)}handleOffline(){if(d.mode==="treks"){d.offlineTreks=!d.offlineTreks;d.currentTreks=a()}else{d.offlineOutdoorSites=!d.offlineOutdoorSites;d.currentOutdoorSites=h()}}getFiltersName(){const t=d.selectedActivitiesFilters+d.selectedLocationFilters+d.selectedThemesFilters;return`${c[d.language].filter}${t>0?" ("+t+")":""}`}render(){return i(e,{key:"d498e6d9b5245d95f6b8bec24c2b01bca3921d4c",style:{"--font-family":this.fontFamily,"--color-primary-app":this.colorPrimaryApp,"--color-primary":this.colorPrimary,"--color-on-primary":this.colorOnPrimary,"--color-surface":this.colorSurface,"--color-on-surface":this.colorOnSurface,"--color-surface-variant":this.colorSurfaceVariant,"--color-on-surface-variant":this.colorOnSurfaceVariant,"--color-primary-container":this.colorPrimaryContainer,"--color-on-primary-container":this.colorOnPrimaryContainer,"--color-secondary-container":this.colorSecondaryContainer,"--color-on-secondary-container":this.colorOnSecondaryContainer,"--color-background":this.colorBackground,"--color-surface-container-high":this.colorSurfaceContainerHigh,"--color-surface-container-low":this.colorSurfaceContainerLow,"--fab-background-color":this.fabBackgroundColor,"--fab-color":this.fabColor,"--color-sensitive-area":this.colorSensitiveArea,"--app-width":this.appWidth,"--app-height":this.appHeight,"--header-height":this.showTrek&&this.showTouristicContent&&this.showTouristicEvent?"116px":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1?"148px":"64px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--header-with-offline":this.enableOffline?"48px":"0px","--border-radius":this.rounded?"":"0px"}},!d.currentTreks&&!d.currentTrek&&!d.currentTouristicContent&&!d.currentTouristicEvent&&!d.currentTouristicContents&&!d.currentTouristicEvents&&!d.currentOutdoorSites&&!d.currentOutdoorSite&&!d.currentOutdoorCourses&&!d.currentOutdoorCourse&&i("div",{class:"grw-init-loader-container"},i("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&d.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!d.currentTreks&&i("grw-treks-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels}),this.showTrek&&this.currentTrekId&&!d.currentTrek&&i("grw-trek-provider",{api:this.api,languages:this.languages,"trek-id":this.currentTrekId,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,routes:this.routes,practices:this.practices,labels:this.labels,signages:this.signages}),this.showTouristicContent&&this.currentTouristicContentId&&i("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&i("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!d.currentOutdoorSite&&i("grw-outdoor-site-provider",{api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!d.currentOutdoorCourse&&i("grw-outdoor-course-provider",{api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&d.mode==="touristicContents"&&!d.currentTouristicContents&&!this.showTouristicContent&&i("grw-touristic-contents-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.touristicEvents&&d.mode==="touristicEvents"&&!d.currentTouristicEvents&&!this.showTouristicEvent&&i("grw-touristic-events-provider",{api:this.api,languages:this.languages,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes,portals:this.portals}),this.outdoor&&d.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!d.outdoorSites&&i("grw-outdoor-sites-provider",{api:this.api,languages:this.languages,portals:this.portals,"in-bbox":this.inBbox,cities:this.cities,districts:this.districts,structures:this.structures,themes:this.themes}),(d.currentTreks||d.currentTrek||d.touristicContents||d.touristicEvents||d.currentTouristicContent||d.currentTouristicEvent||d.currentOutdoorSites||d.currentOutdoorSite||d.currentOutdoorCourses||d.currentOutdoorCourse||d.networkError)&&i("div",{class:"grw-app-container"},d.languages&&d.languages.length>1&&i("div",{class:"grw-languages-container"},i("grw-select-language",null)),i("div",{class:`${this.isLargeView?"grw-large-view-header-container":"grw-header-container"}${this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?" grw-header-detail":""}`},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)+Number(this.outdoor)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse&&i("grw-segmented-segment",{"font-family":this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents,outdoor:this.outdoor}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite&&!this.showOutdoorCourse?i(s,null,i("div",{class:"grw-handle-search-filters-container"},i("div",{class:"grw-handle-search-container"},i("grw-search",{"font-family":this.fontFamily})),i("div",{class:"grw-handle-filters-container"},i("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:()=>this.handleFilters(),icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&(d.mode==="treks"||d.mode==="outdoor")&&i("div",{part:"grw-offline-container",class:"grw-offline-container"},i("div",{class:"grw-offline-label"},d.mode==="treks"?c[d.language].onlyOfflineTreks:c[d.language].onlyOfflineOutdoor),i("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:()=>this.handleOffline(),checked:d.mode==="treks"?d.offlineTreks:d.offlineOutdoorSites}))):i("div",{class:"grw-arrow-back-container"},i("button",{onClick:()=>this.handleBackButton(),class:"grw-arrow-back-icon"},i("span",{part:"icon",class:"icon",innerHTML:p})))),i("div",{class:`grw-content-container ${this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks"}`},d.networkError&&i("div",{class:"grw-error-container"},"Une erreur est survenue.",i("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:()=>this.reload()})),(d.mode==="treks"&&this.treks&&d.treks||d.mode==="touristicContents"&&this.touristicContents&&d.touristicContents||d.mode==="touristicEvents"&&this.touristicEvents&&d.touristicEvents||d.mode==="outdoor"&&this.outdoor&&d.outdoorSites)&&i("div",{class:this.isLargeView?"grw-large-view-app-list-container":"grw-app-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"none":"flex",position:this.showTrek?"absolute":"relative"}},d.mode==="treks"&&this.treks&&d.treks&&i("grw-treks-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"grw-app":true}),d.mode==="touristicContents"&&this.touristicContents&&d.touristicContents&&i("grw-touristic-contents-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),d.mode==="touristicEvents"&&this.touristicEvents&&d.touristicEvents&&i("grw-touristic-events-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),d.mode==="outdoor"&&this.outdoor&&d.outdoorSites&&i("grw-outdoor-sites-list",{"is-large-view":this.isLargeView,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),(this.showTrek&&!d.currentTrek||this.showTouristicContent&&!d.currentTouristicContent||this.showTouristicEvent&&!d.currentTouristicEvent||this.showOutdoorSite&&!d.currentOutdoorSite||this.showOutdoorCourse&&!d.currentOutdoorCourse||!d.treks&&d.mode==="treks"&&!this.showTrek||!d.touristicContents&&d.mode==="touristicContents"&&!this.showTouristicContent||!d.touristicEvents&&d.mode==="touristicEvents"&&!this.showTouristicEvent||!d.outdoorSites&&d.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&i("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},i("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&d.currentTrek&&i("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},i("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView,"emergency-number":this.emergencyNumber,"default-background-layer-url":this.urlLayer.split(",http").map(((t,i)=>i===0?t:"http"+t))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"tiles-min-zoom-offline":this.tilesMinZoomOffline,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true,rounded:this.rounded}),i("grw-offline-confirm-modal",{mode:"treks"})),this.showTouristicContent&&d.currentTouristicContent&&i("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},i("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap&&this.showTouristicContent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,"grw-app":true})),this.showTouristicEvent&&d.currentTouristicEvent&&i("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},i("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,"grw-app":true})),this.showOutdoorSite&&d.currentOutdoorSite&&i("div",{class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},i("grw-outdoor-site-detail",{style:{visibility:!this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorSiteMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,weather:this.weather,"default-background-layer-url":this.urlLayer.split(",http").map(((t,i)=>i===0?t:"http"+t))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"grw-app":true}),i("grw-offline-confirm-modal",{mode:"treks"})),this.showOutdoorCourse&&d.currentOutdoorCourse&&i("div",{class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},i("grw-outdoor-course-detail",{style:{visibility:!this.showOutdoorCourseMap&&this.showOutdoorCourse||this.isLargeView?"visible":"hidden",zIndex:!this.showOutdoorCourseMap?"1":"0"},"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView,"grw-app":true})),!d.networkError&&i("grw-map",{exportparts:"map,elevation,map-bottom-space,map-loader-container,loader",class:this.isLargeView?"grw-large-view-app-map-container":"grw-app-map-container",style:{visibility:this.showHomeMap&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.showOutdoorSiteMap&&this.showOutdoorSite||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap||this.showOutdoorSiteMap?"1":"0"},"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,"font-family":this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-markers":this.colorMarkers?this.colorMarkers:this.colorPrimaryApp,"color-clusters":this.colorClusters?this.colorClusters:this.colorPrimaryApp,"tiles-max-zoom-offline":this.tilesMaxZoomOffline,"grw-app":true,"main-marker-size":this.mainMarkerSize,"selected-main-marker-size":this.selectedMainMarkerSize,"main-cluster-size":this.mainClusterSize,"common-marker-size":this.commonMarkerSize,"departure-arrival-marker-size":this.departureArrivalMarkerSize,"point-reference-marker-size":this.pointReferenceMarkerSize,"elevation-height":this.elevationHeight,"mobile-elevation-height":this.mobileElevationHeight,"large-view-size":this.largeViewSize,"is-large-view":this.isLargeView})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&d.currentTrek||this.showTouristicContent&&d.currentTouristicContent||this.showTouristicEvent&&d.currentTouristicEvent||this.showOutdoorSite&&d.currentOutdoorSite)&&i("div",{class:"grw-map-visibility-button-container"},i("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:()=>this.handleShowMap(),icon:()=>this.getMapVisibilityIconButton(),name:()=>this.getMapVisibilityLabelButton(),display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&i("grw-filters",{"font-family":this.fontFamily,handleFilters:()=>this.handleFilters()}))}get appElement(){return r(this)}static get watchers(){return{isLargeView:["watchPropHandler"]}}};g.style=f;export{g as grw_app};
2
+ //# sourceMappingURL=p-875e71d3.entry.js.map