@geotrekce/geotrek-rando-widget 0.9.0 → 0.10.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 (256) 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_21.cjs.entry.js +300 -319
  8. package/dist/cjs/grw-common-button_21.cjs.entry.js.br +0 -0
  9. package/dist/cjs/grw-common-button_21.cjs.entry.js.gz +0 -0
  10. package/dist/cjs/grw-common-button_21.cjs.entry.js.map +1 -1
  11. package/dist/cjs/grw-filter.cjs.entry.js +1 -1
  12. package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
  13. package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
  14. package/dist/cjs/grw-information-desk_6.cjs.entry.js +10 -10
  15. package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
  16. package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
  17. package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/cjs/loader.cjs.js.br +0 -0
  20. package/dist/cjs/loader.cjs.js.gz +0 -0
  21. package/dist/cjs/{utils-0b78387c.js → pagination-97be50dd.js} +6230 -1942
  22. package/dist/cjs/pagination-97be50dd.js.br +0 -0
  23. package/dist/cjs/pagination-97be50dd.js.gz +0 -0
  24. package/dist/cjs/pagination-97be50dd.js.map +1 -0
  25. package/dist/cjs/utils-242dc247.js +1304 -0
  26. package/dist/cjs/utils-242dc247.js.br +0 -0
  27. package/dist/cjs/utils-242dc247.js.gz +0 -0
  28. package/dist/cjs/utils-242dc247.js.map +1 -0
  29. package/dist/cjs/web-12ec7d35.js +602 -0
  30. package/dist/cjs/web-12ec7d35.js.br +0 -0
  31. package/dist/cjs/web-12ec7d35.js.gz +0 -0
  32. package/dist/cjs/web-12ec7d35.js.map +1 -0
  33. package/dist/collection/components/grw-map/grw-map.css +7 -0
  34. package/dist/collection/components/grw-map/grw-map.css.br +0 -0
  35. package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
  36. package/dist/collection/components/grw-map/grw-map.js +27 -29
  37. package/dist/collection/components/grw-map/grw-map.js.br +0 -0
  38. package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
  39. package/dist/collection/components/grw-map/grw-map.js.map +1 -1
  40. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +37 -74
  41. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  42. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  43. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  44. package/dist/collection/services/grw-db.service.js +14 -6
  45. package/dist/collection/services/grw-db.service.js.br +0 -0
  46. package/dist/collection/services/grw-db.service.js.gz +0 -0
  47. package/dist/collection/services/grw-db.service.js.map +1 -1
  48. package/dist/collection/store/grw-touristic-event-provider.js +3 -3
  49. package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
  50. package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
  51. package/dist/collection/store/grw-touristic-event-provider.js.map +1 -1
  52. package/dist/collection/store/grw-trek-provider.js +7 -7
  53. package/dist/collection/store/grw-trek-provider.js.br +0 -0
  54. package/dist/collection/store/grw-trek-provider.js.gz +0 -0
  55. package/dist/collection/store/grw-trek-provider.js.map +1 -1
  56. package/dist/collection/store/grw-treks-provider.js +2 -1
  57. package/dist/collection/store/grw-treks-provider.js.br +0 -0
  58. package/dist/collection/store/grw-treks-provider.js.gz +0 -0
  59. package/dist/collection/store/grw-treks-provider.js.map +1 -1
  60. package/dist/collection/utils/utils.js +31 -18
  61. package/dist/collection/utils/utils.js.br +0 -0
  62. package/dist/collection/utils/utils.js.gz +0 -0
  63. package/dist/collection/utils/utils.js.map +1 -1
  64. package/dist/esm/geotrek-rando-widget.js +1 -1
  65. package/dist/esm/geotrek-rando-widget.js.br +0 -0
  66. package/dist/esm/geotrek-rando-widget.js.gz +0 -0
  67. package/dist/esm/grw-app.entry.js +1 -1
  68. package/dist/esm/grw-app.entry.js.br +0 -0
  69. package/dist/esm/grw-app.entry.js.gz +0 -0
  70. package/dist/esm/grw-common-button_21.entry.js +73 -92
  71. package/dist/esm/grw-common-button_21.entry.js.br +0 -0
  72. package/dist/esm/grw-common-button_21.entry.js.gz +0 -0
  73. package/dist/esm/grw-common-button_21.entry.js.map +1 -1
  74. package/dist/esm/grw-filter.entry.js +1 -1
  75. package/dist/esm/grw-filter.entry.js.br +0 -0
  76. package/dist/esm/grw-filter.entry.js.gz +0 -0
  77. package/dist/esm/grw-information-desk_6.entry.js +2 -2
  78. package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
  79. package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/loader.js.br +0 -0
  82. package/dist/esm/loader.js.gz +0 -0
  83. package/dist/esm/{utils-340f58bf.js → pagination-a1f80e7b.js} +6212 -1924
  84. package/dist/esm/pagination-a1f80e7b.js.br +0 -0
  85. package/dist/esm/pagination-a1f80e7b.js.gz +0 -0
  86. package/dist/esm/pagination-a1f80e7b.js.map +1 -0
  87. package/dist/esm/utils-aa618935.js +1277 -0
  88. package/dist/esm/utils-aa618935.js.br +0 -0
  89. package/dist/esm/utils-aa618935.js.gz +0 -0
  90. package/dist/esm/utils-aa618935.js.map +1 -0
  91. package/dist/esm/web-286dd037.js +600 -0
  92. package/dist/esm/web-286dd037.js.br +0 -0
  93. package/dist/esm/web-286dd037.js.gz +0 -0
  94. package/dist/esm/web-286dd037.js.map +1 -0
  95. package/dist/esm-es5/geotrek-rando-widget.js +1 -1
  96. package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
  97. package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
  98. package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
  99. package/dist/esm-es5/grw-app.entry.js +1 -1
  100. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  101. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  102. package/dist/esm-es5/grw-common-button_21.entry.js +3 -3
  103. package/dist/esm-es5/grw-common-button_21.entry.js.br +0 -0
  104. package/dist/esm-es5/grw-common-button_21.entry.js.gz +0 -0
  105. package/dist/esm-es5/grw-common-button_21.entry.js.map +1 -1
  106. package/dist/esm-es5/grw-filter.entry.js +1 -1
  107. package/dist/esm-es5/grw-filter.entry.js.br +0 -0
  108. package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
  109. package/dist/esm-es5/grw-information-desk_6.entry.js +1 -1
  110. package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
  111. package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
  112. package/dist/esm-es5/loader.js +1 -1
  113. package/dist/esm-es5/loader.js.br +0 -0
  114. package/dist/esm-es5/loader.js.gz +0 -0
  115. package/dist/esm-es5/loader.js.map +1 -1
  116. package/dist/esm-es5/pagination-a1f80e7b.js +6 -0
  117. package/dist/esm-es5/pagination-a1f80e7b.js.br +0 -0
  118. package/dist/esm-es5/pagination-a1f80e7b.js.gz +0 -0
  119. package/dist/esm-es5/pagination-a1f80e7b.js.map +1 -0
  120. package/dist/esm-es5/utils-aa618935.js +3 -0
  121. package/dist/esm-es5/utils-aa618935.js.br +0 -0
  122. package/dist/esm-es5/utils-aa618935.js.gz +0 -0
  123. package/dist/esm-es5/utils-aa618935.js.map +1 -0
  124. package/dist/esm-es5/web-286dd037.js +2 -0
  125. package/dist/esm-es5/web-286dd037.js.br +0 -0
  126. package/dist/esm-es5/web-286dd037.js.gz +0 -0
  127. package/dist/esm-es5/web-286dd037.js.map +1 -0
  128. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  129. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  130. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  131. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
  132. package/dist/geotrek-rando-widget/{p-822ce973.system.entry.js → p-02f880ee.system.entry.js} +2 -2
  133. package/dist/geotrek-rando-widget/p-02f880ee.system.entry.js.br +0 -0
  134. package/dist/geotrek-rando-widget/p-02f880ee.system.entry.js.gz +0 -0
  135. package/dist/geotrek-rando-widget/p-06398314.system.entry.js +10 -0
  136. package/dist/geotrek-rando-widget/p-06398314.system.entry.js.br +0 -0
  137. package/dist/geotrek-rando-widget/p-06398314.system.entry.js.gz +0 -0
  138. package/dist/geotrek-rando-widget/p-06398314.system.entry.js.map +1 -0
  139. package/dist/geotrek-rando-widget/p-16908b8a.system.js +1 -1
  140. package/dist/geotrek-rando-widget/p-16908b8a.system.js.br +0 -0
  141. package/dist/geotrek-rando-widget/p-16908b8a.system.js.gz +0 -0
  142. package/dist/geotrek-rando-widget/p-16908b8a.system.js.map +1 -1
  143. package/dist/geotrek-rando-widget/p-2606c456.entry.js +2 -0
  144. package/dist/geotrek-rando-widget/p-2606c456.entry.js.br +0 -0
  145. package/dist/geotrek-rando-widget/p-2606c456.entry.js.gz +0 -0
  146. package/dist/geotrek-rando-widget/{p-fb3ef86e.entry.js.map → p-2606c456.entry.js.map} +1 -1
  147. package/dist/geotrek-rando-widget/{p-f68b1f0b.system.entry.js → p-55987f93.system.entry.js} +2 -2
  148. package/dist/geotrek-rando-widget/p-55987f93.system.entry.js.br +0 -0
  149. package/dist/geotrek-rando-widget/p-55987f93.system.entry.js.gz +0 -0
  150. package/dist/geotrek-rando-widget/{p-87e6ff52.system.entry.js → p-6887f134.system.entry.js} +2 -2
  151. package/dist/geotrek-rando-widget/p-6887f134.system.entry.js.br +0 -0
  152. package/dist/geotrek-rando-widget/p-6887f134.system.entry.js.gz +0 -0
  153. package/dist/geotrek-rando-widget/p-763de451.js +3 -0
  154. package/dist/geotrek-rando-widget/p-763de451.js.br +0 -0
  155. package/dist/geotrek-rando-widget/p-763de451.js.gz +0 -0
  156. package/dist/geotrek-rando-widget/p-763de451.js.map +1 -0
  157. package/dist/geotrek-rando-widget/p-7eefb878.js +2 -0
  158. package/dist/geotrek-rando-widget/p-7eefb878.js.br +0 -0
  159. package/dist/geotrek-rando-widget/p-7eefb878.js.gz +0 -0
  160. package/dist/geotrek-rando-widget/p-7eefb878.js.map +1 -0
  161. package/dist/geotrek-rando-widget/{p-63a66834.entry.js → p-932b1065.entry.js} +2 -2
  162. package/dist/geotrek-rando-widget/p-932b1065.entry.js.br +0 -0
  163. package/dist/geotrek-rando-widget/p-932b1065.entry.js.gz +0 -0
  164. package/dist/geotrek-rando-widget/{p-5bdd554d.entry.js → p-970ddc91.entry.js} +2 -2
  165. package/dist/geotrek-rando-widget/p-970ddc91.entry.js.br +0 -0
  166. package/dist/geotrek-rando-widget/p-970ddc91.entry.js.gz +0 -0
  167. package/dist/geotrek-rando-widget/p-cab075c5.entry.js +10 -0
  168. package/dist/geotrek-rando-widget/p-cab075c5.entry.js.br +0 -0
  169. package/dist/geotrek-rando-widget/p-cab075c5.entry.js.gz +0 -0
  170. package/dist/geotrek-rando-widget/p-cab075c5.entry.js.map +1 -0
  171. package/dist/geotrek-rando-widget/p-cd67f7ca.system.js +2 -0
  172. package/dist/geotrek-rando-widget/p-cd67f7ca.system.js.br +0 -0
  173. package/dist/geotrek-rando-widget/p-cd67f7ca.system.js.gz +0 -0
  174. package/dist/geotrek-rando-widget/p-cd67f7ca.system.js.map +1 -0
  175. package/dist/geotrek-rando-widget/p-db0ae9eb.system.js +6 -0
  176. package/dist/geotrek-rando-widget/p-db0ae9eb.system.js.br +0 -0
  177. package/dist/geotrek-rando-widget/p-db0ae9eb.system.js.gz +0 -0
  178. package/dist/geotrek-rando-widget/p-db0ae9eb.system.js.map +1 -0
  179. package/dist/geotrek-rando-widget/p-f2d6abb7.system.js +3 -0
  180. package/dist/geotrek-rando-widget/p-f2d6abb7.system.js.br +0 -0
  181. package/dist/geotrek-rando-widget/p-f2d6abb7.system.js.gz +0 -0
  182. package/dist/geotrek-rando-widget/p-f2d6abb7.system.js.map +1 -0
  183. package/dist/geotrek-rando-widget/p-f6d418cf.js +6 -0
  184. package/dist/geotrek-rando-widget/p-f6d418cf.js.br +0 -0
  185. package/dist/geotrek-rando-widget/p-f6d418cf.js.gz +0 -0
  186. package/dist/geotrek-rando-widget/p-f6d418cf.js.map +1 -0
  187. package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +0 -1
  188. package/dist/types/components.d.ts +2 -4
  189. package/dist/types/services/grw-db.service.d.ts +3 -7
  190. package/dist/types/store/grw-touristic-event-provider.d.ts +1 -1
  191. package/dist/types/utils/utils.d.ts +2 -2
  192. package/package.json +7 -1
  193. package/dist/cjs/pagination-55c84e32.js +0 -4702
  194. package/dist/cjs/pagination-55c84e32.js.br +0 -0
  195. package/dist/cjs/pagination-55c84e32.js.gz +0 -0
  196. package/dist/cjs/pagination-55c84e32.js.map +0 -1
  197. package/dist/cjs/utils-0b78387c.js.br +0 -0
  198. package/dist/cjs/utils-0b78387c.js.gz +0 -0
  199. package/dist/cjs/utils-0b78387c.js.map +0 -1
  200. package/dist/esm/pagination-ee795571.js +0 -4682
  201. package/dist/esm/pagination-ee795571.js.br +0 -0
  202. package/dist/esm/pagination-ee795571.js.gz +0 -0
  203. package/dist/esm/pagination-ee795571.js.map +0 -1
  204. package/dist/esm/utils-340f58bf.js.br +0 -0
  205. package/dist/esm/utils-340f58bf.js.gz +0 -0
  206. package/dist/esm/utils-340f58bf.js.map +0 -1
  207. package/dist/esm-es5/pagination-ee795571.js +0 -2
  208. package/dist/esm-es5/pagination-ee795571.js.br +0 -0
  209. package/dist/esm-es5/pagination-ee795571.js.gz +0 -0
  210. package/dist/esm-es5/pagination-ee795571.js.map +0 -1
  211. package/dist/esm-es5/utils-340f58bf.js +0 -6
  212. package/dist/esm-es5/utils-340f58bf.js.br +0 -0
  213. package/dist/esm-es5/utils-340f58bf.js.gz +0 -0
  214. package/dist/esm-es5/utils-340f58bf.js.map +0 -1
  215. package/dist/geotrek-rando-widget/p-22137796.system.entry.js +0 -10
  216. package/dist/geotrek-rando-widget/p-22137796.system.entry.js.br +0 -0
  217. package/dist/geotrek-rando-widget/p-22137796.system.entry.js.gz +0 -0
  218. package/dist/geotrek-rando-widget/p-22137796.system.entry.js.map +0 -1
  219. package/dist/geotrek-rando-widget/p-2d0750a1.system.js +0 -6
  220. package/dist/geotrek-rando-widget/p-2d0750a1.system.js.br +0 -0
  221. package/dist/geotrek-rando-widget/p-2d0750a1.system.js.gz +0 -0
  222. package/dist/geotrek-rando-widget/p-2d0750a1.system.js.map +0 -1
  223. package/dist/geotrek-rando-widget/p-5bdd554d.entry.js.br +0 -0
  224. package/dist/geotrek-rando-widget/p-5bdd554d.entry.js.gz +0 -0
  225. package/dist/geotrek-rando-widget/p-63a66834.entry.js.br +0 -0
  226. package/dist/geotrek-rando-widget/p-63a66834.entry.js.gz +0 -0
  227. package/dist/geotrek-rando-widget/p-822ce973.system.entry.js.br +0 -0
  228. package/dist/geotrek-rando-widget/p-822ce973.system.entry.js.gz +0 -0
  229. package/dist/geotrek-rando-widget/p-876d6055.entry.js +0 -10
  230. package/dist/geotrek-rando-widget/p-876d6055.entry.js.br +0 -0
  231. package/dist/geotrek-rando-widget/p-876d6055.entry.js.gz +0 -0
  232. package/dist/geotrek-rando-widget/p-876d6055.entry.js.map +0 -1
  233. package/dist/geotrek-rando-widget/p-87e6ff52.system.entry.js.br +0 -0
  234. package/dist/geotrek-rando-widget/p-87e6ff52.system.entry.js.gz +0 -0
  235. package/dist/geotrek-rando-widget/p-af48a969.system.js +0 -2
  236. package/dist/geotrek-rando-widget/p-af48a969.system.js.br +0 -0
  237. package/dist/geotrek-rando-widget/p-af48a969.system.js.gz +0 -0
  238. package/dist/geotrek-rando-widget/p-af48a969.system.js.map +0 -1
  239. package/dist/geotrek-rando-widget/p-e64d7d72.js +0 -6
  240. package/dist/geotrek-rando-widget/p-e64d7d72.js.br +0 -0
  241. package/dist/geotrek-rando-widget/p-e64d7d72.js.gz +0 -0
  242. package/dist/geotrek-rando-widget/p-e64d7d72.js.map +0 -1
  243. package/dist/geotrek-rando-widget/p-edff804d.js +0 -2
  244. package/dist/geotrek-rando-widget/p-edff804d.js.br +0 -0
  245. package/dist/geotrek-rando-widget/p-edff804d.js.gz +0 -0
  246. package/dist/geotrek-rando-widget/p-edff804d.js.map +0 -1
  247. package/dist/geotrek-rando-widget/p-f68b1f0b.system.entry.js.br +0 -0
  248. package/dist/geotrek-rando-widget/p-f68b1f0b.system.entry.js.gz +0 -0
  249. package/dist/geotrek-rando-widget/p-fb3ef86e.entry.js +0 -2
  250. package/dist/geotrek-rando-widget/p-fb3ef86e.entry.js.br +0 -0
  251. package/dist/geotrek-rando-widget/p-fb3ef86e.entry.js.gz +0 -0
  252. /package/dist/geotrek-rando-widget/{p-822ce973.system.entry.js.map → p-02f880ee.system.entry.js.map} +0 -0
  253. /package/dist/geotrek-rando-widget/{p-f68b1f0b.system.entry.js.map → p-55987f93.system.entry.js.map} +0 -0
  254. /package/dist/geotrek-rando-widget/{p-87e6ff52.system.entry.js.map → p-6887f134.system.entry.js.map} +0 -0
  255. /package/dist/geotrek-rando-widget/{p-63a66834.entry.js.map → p-932b1065.entry.js.map} +0 -0
  256. /package/dist/geotrek-rando-widget/{p-5bdd554d.entry.js.map → p-970ddc91.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- System.register(["./p-9ff5b6bb.system.js","./p-222e75d8.system.js","./p-2d0750a1.system.js"],(function(t){"use strict";var i,e,s,r,n,o,a,l,h,c;return{setters:[function(t){i=t.r;e=t.c;s=t.h;r=t.F;n=t.H;o=t.g},function(t){a=t.t},function(t){l=t.s;h=t.r;c=t.h}],execute:function(){var d="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-segment) - var(--header-with-languages))}.grw-content-trek{height:100%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-treks-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100vh - 64px - 48px)}grw-touristic-content-detail,grw-touristic-event-detail{position:relative;max-height:calc(100vh - 64px)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{width:50%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.modal-container{z-index:40000;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:var(--font-family);top:-64px;left:0px;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.6)}.modal-container .modal-content-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;width:380px;height:120px;padding:16px;margin:0px 16px;background-color:var(--color-background);border-radius:var(--border-radius, 8px)}.modal-container .modal-message-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.modal-container .modal-message-container .modal-loader{width:16px;height:16px;border:3px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite;margin-right:16px}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.modal-container .modal-buttons-container,.modal-container .modal-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-top:16px}.modal-container .modal-buttons-container .modal-button,.modal-container .modal-button-container .modal-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;height:32px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary-app);background-color:transparent;font-family:var(--font-family)}.modal-container .modal-button-container{-ms-flex-pack:end;justify-content:flex-end}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";var u=d;var f=t("grw_app",function(){function t(t){i(this,t);this.trekDownloadPress=e(this,"trekDownloadPress",7);this.trekDeletePress=e(this,"trekDeletePress",7);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=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.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.center=undefined;this.zoom=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.colorPoiIcon="#974c6e";this.useGradient=false;this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.trekTilesMinZoomOffline=12;this.trekTilesMaxZoomOffline=16;this.showOfflineModal=false;this.showConfirmModal=false;this.showLoaderModal=false;this.showSuccessModal=false;this.showConfirmDeleteModal=false;this.showDeletingMessage=false;this.showDeleteSuccessMessage=false}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;l.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;l.currentTouristicEvent=null;var i=l.parentTrekId?l.parentTrekId:l.currentTrekSteps?this.currentTrekId:null;l.currentTrek=null;this.currentTrekId=t.detail;l.mode="treks";this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());if(l.currentTrekSteps){e.searchParams.set("parenttrek",i.toString())}window.history.pushState({},"",e)};t.prototype.onParentTrekPress=function(t){l.currentTrek=null;this.currentTrekId=t.detail;l.mode="treks";this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());i.searchParams.delete("parenttrek");window.history.pushState({},"",i)};t.prototype.onTouristicContentCardPress=function(t){l.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;l.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",i)};t.prototype.onTouristiceEventCardPress=function(t){l.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;l.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",i)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.onTrekDownloadConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=false;this.showDeleteSuccessMessage=false;this.showDeletingMessage=false;this.showConfirmDeleteModal=false;this.showOfflineModal=true;this.showConfirmModal=true};t.prototype.onTrekDownloadedSuccessConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=true};t.prototype.onTrekDeleteConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=false;this.showDeleteSuccessMessage=false;this.showOfflineModal=true;this.showConfirmModal=true;this.showConfirmDeleteModal=true};t.prototype.onTrekDeleteSuccessConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=true;this.showDeleteSuccessMessage=true};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){l.mode="treks"}else if(this.touristicContents){l.mode="touristicContents"}else if(this.touristicEvents){l.mode="touristicEvents"}var t=new URL(window.location.toString());var i=t.searchParams.get("trek");var e=t.searchParams.get("parenttrek");var s=t.searchParams.get("touristiccontent");var r=t.searchParams.get("touristicevent");if(i){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);l.parentTrekId=e?Number(e):null;this.currentTrekId=Number(i);l.mode="treks";this.showTrek=true}else if(s){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(s);l.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(r);l.mode="touristicEvents";this.showTouristicEvent=true}};t.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){if(this.treks){l.mode="treks"}else if(this.touristicContents){l.mode="touristicContents"}else if(this.touristicEvents){l.mode="touristicEvents"}this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false;this.showTouristicEvent=false;this.showTouristicEventMap=false;l.currentTouristicContent=null;l.currentTouristicEvent=null;l.currentTrek=null;l.currentTrekSteps=null;l.parentTrekId=null;this.currentTrekId=null;this.showTrek=false};t.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};t.prototype.handleFilters=function(){this.showFilters=!this.showFilters};t.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){this.onDetailsClose();var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");window.history.pushState({},"",t)}else{window.history.back()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var i=Number(t.searchParams.get("trek"));var e=t.searchParams.get("touristiccontent");var s=t.searchParams.get("touristicevent");if(i&&this.currentTrekId!==i){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;l.currentTouristicContent=null;l.currentTouristicEvent=null;l.currentTrek=null;this.currentTrekId=i;l.mode="treks";this.showTrek=true}else if(!i&&!e&&!s){this.onDetailsClose()}};t.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else{this.showHomeMap=!this.showHomeMap}};t.prototype.getMapVisibilityIconButton=function(){var 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{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(l.language){if(this.showTrek){t=this.showTrekMap?a[l.language].showDetails:a[l.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?a[l.language].showDetails:a[l.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?a[l.language].showDetails:a[l.language].showMap}else{t=this.showHomeMap?a[l.language].showList:a[l.language].showMap}}return t};t.prototype.reload=function(){window.location.reload()};t.prototype.disconnectedCallback=function(){h();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.handleOkDeleteModal=function(){this.trekDeletePress.emit();this.showDeletingMessage=true;this.showConfirmDeleteModal=false;this.showConfirmModal=false;this.showLoaderModal=true};t.prototype.handleOkDownloadModal=function(){this.trekDownloadPress.emit();this.showConfirmModal=false;this.showLoaderModal=true};t.prototype.handleCancelModal=function(){this.showOfflineModal=false};t.prototype.handleOffline=function(){l.offlineTreks=!l.offlineTreks;l.currentTreks=c()};t.prototype.render=function(){var t=this;return s(n,{key:"8434d8ad4c54c93d82a9950931fa23a542f05dbd",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":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1?this.enableOffline?"188px":"136px":this.enableOffline?"116px":"64px","--header-with-segment":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1?"16px":"0px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--border-radius":this.rounded?"":"0px"}},!l.currentTreks&&!l.currentTrek&&!l.currentTouristicContent&&!l.currentTouristicEvent&&!l.currentTouristicContents&&!l.currentTouristicEvents&&s("div",{class:"grw-init-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&l.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!l.currentTreks&&s("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&&!l.currentTrek&&s("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}),this.showTouristicContent&&this.currentTouristicContentId&&s("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&s("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.touristicContents&&l.mode==="touristicContents"&&!l.currentTouristicContents&&!this.showTouristicContent&&s("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&&l.mode==="touristicEvents"&&!l.currentTouristicEvents&&!this.showTouristicEvent&&s("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}),(l.currentTreks||l.currentTrek||l.touristicContents||l.touristicEvents||l.currentTouristicContent||l.currentTouristicEvent||l.networkError)&&s("div",{class:"grw-app-container"},l.languages&&l.languages.length>1&&s("div",{class:"grw-languages-container"},s("grw-select-language",null)),s("div",{class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent?" grw-header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&s("grw-segmented-segment",{fontFamily:this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent?s(r,null,s("div",{class:"grw-handle-search-filters-container"},s("div",{class:"grw-handle-search-container"},s("grw-search",{fontFamily:this.fontFamily})),s("div",{class:"grw-handle-filters-container"},s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",fontFamily:this.fontFamily,action:function(){return t.handleFilters()},icon:"filter_list",name:a[l.language].filter}))),this.enableOffline&&s("div",{part:"grw-offline-container",class:"grw-offline-container"},s("div",{class:"grw-offline-label"},"Afficher uniquement les itinéraires hors ligne"),s("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label",fontFamily:this.fontFamily,action:function(){return t.handleOffline()}}))):s("div",{class:"grw-arrow-back-container"},s("button",{onClick:function(){return t.handleBackButton()},class:"grw-arrow-back-icon"},s("span",{translate:false,part:"icon",class:"material-symbols material-symbols-outlined icon"},"arrow_back")))),s("div",{class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent?"grw-content-trek":"grw-content-treks")},l.networkError&&s("div",{class:"grw-error-container"},"Une erreur est survenue.",s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return t.reload()}})),s("div",{class:this.isLargeView?"grw-large-view-app-treks-list-container":"grw-app-treks-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent?"none":"flex",position:this.showTrek?"absolute":"relative"}},l.mode==="treks"&&this.treks&&s("grw-treks-list",{"is-large-view":this.isLargeView,fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),l.mode==="touristicContents"&&this.touristicContents&&s("grw-touristic-contents-list",{"is-large-view":this.isLargeView,fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),l.mode==="touristicEvents"&&this.touristicEvents&&s("grw-touristic-events-list",{"is-large-view":this.isLargeView,fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),(this.showTrek&&!l.currentTrek||this.showTouristicContent&&!l.currentTouristicContent||this.showTouristicEvent&&!l.currentTouristicEvent||!l.treks&&l.mode==="treks"&&!this.showTrek||!l.touristicContents&&l.mode==="touristicContents"&&!this.showTouristicContent||!l.touristicEvents&&l.mode==="touristicEvents"&&!this.showTouristicEvent)&&s("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&s("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},s("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView,"emergency-number":this.emergencyNumber,defaultBackgroundLayerUrl:this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],defaultBackgroundLayerAttribution:this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"trek-tiles-min-zoom-offline":this.trekTilesMinZoomOffline,"trek-tiles-max-zoom-offline":this.trekTilesMaxZoomOffline}),this.showOfflineModal&&s("div",{class:"modal-container"},s("div",{class:"modal-content-container"},this.showConfirmModal&&!this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?"),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDownloadModal()}},"OK"))),this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?"),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDeleteModal()}},"OK"))),this.showLoaderModal&&s(r,null,s("div",{class:"modal-message-container"},s("div",{class:"modal-loader"}),this.showDeletingMessage?"Suppression en cours":"Téléchargement en cours")),this.showSuccessModal&&s(r,null,s("div",{class:"modal-message-container"},this.showDeleteSuccessMessage?"L'itinéraire est supprimé du hors ligne":"L'itinéraire est disponible hors ligne"),s("div",{class:"modal-button-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"OK")))))),this.showTouristicContent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},s("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showTouristicEvent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},s("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),!l.networkError&&s("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.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap?"1":"0"},center:this.center,zoom:this.zoom,"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-poi-icon":this.colorPoiIcon,"is-large-view":this.isLargeView,"use-gradient":this.useGradient,"trek-tiles-max-zoom-offline":this.trekTilesMaxZoomOffline})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent||this.showTrek&&l.currentTrek||this.showTouristicContent&&l.currentTouristicContent||this.showTouristicEvent&&l.currentTouristicEvent)&&s("div",{class:"grw-map-visibility-button-container"},s("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label",fontFamily:this.fontFamily,action:function(){return t.handleShowMap()},icon:function(){return t.getMapVisibilityIconButton()},name:function(){return t.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&s("grw-filters",{fontFamily:this.fontFamily,handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());f.style=u}}}));
2
- //# sourceMappingURL=p-822ce973.system.entry.js.map
1
+ System.register(["./p-9ff5b6bb.system.js","./p-222e75d8.system.js","./p-f2d6abb7.system.js"],(function(t){"use strict";var i,e,s,r,n,o,a,l,h,c;return{setters:[function(t){i=t.r;e=t.c;s=t.h;r=t.F;n=t.H;o=t.g},function(t){a=t.t},function(t){l=t.s;h=t.r;c=t.h}],execute:function(){var d="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.grw-languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.grw-header-container,.grw-large-view-header-container{height:var(--header-height)}.grw-header-container .grw-arrow-back-container,.grw-large-view-header-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.grw-header-container .grw-arrow-back-container .grw-arrow-back-icon,.grw-large-view-header-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:var(--border-radius, 50%);height:48px;width:48px;padding:0px;text-align:left}.grw-handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.grw-handle-search-filters-container .grw-handle-search-container{width:calc(50% + 48px);max-width:220px}.grw-handle-search-filters-container .grw-handle-filters-container{margin-left:16px}.grw-header-detail{height:64px}.grw-large-view-header-container .grw-handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.grw-init-loader-container,.grw-loader-container,.grw-large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.grw-content-container{position:relative;display:-ms-flexbox;display:flex}.grw-content-treks{height:calc(100% - var(--header-height) - var(--header-with-segment) - var(--header-with-languages))}.grw-content-trek{height:100%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-width:100%;height:100%}.grw-app-map-container,.grw-large-view-app-map-container{width:100%;height:100%}.grw-map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.grw-init-loader-container,.grw-loader-container{width:100%}.grw-app-treks-list-container,.grw-app-trek-detail-container,.grw-app-touristic-content-detail-container,.grw-app-touristic-event-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail{position:relative;max-height:calc(100vh - 64px - 48px)}grw-touristic-content-detail,grw-touristic-event-detail{position:relative;max-height:calc(100vh - 64px)}.grw-app-map-container{width:100%;position:absolute}.grw-large-view-loader-container{width:50%}.grw-large-view-app-treks-list-container,.grw-large-view-app-trek-detail-container,.grw-large-view-app-touristic-content-detail-container,.grw-large-view-app-touristic-event-detail-container{width:50%}.grw-large-view-app-map-container{position:relative;width:50%}.grw-error-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;margin-top:16px;font-family:var(--font-family);font-size:16px}.grw-error-container grw-common-button{margin-top:16px}.modal-container{z-index:40000;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:var(--font-family);top:-64px;left:0px;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.6)}.modal-container .modal-content-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;width:380px;height:120px;padding:16px;margin:0px 16px;background-color:var(--color-background);border-radius:var(--border-radius, 8px)}.modal-container .modal-message-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.modal-container .modal-message-container .modal-loader{width:16px;height:16px;border:3px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite;margin-right:16px}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.modal-container .modal-buttons-container,.modal-container .modal-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-top:16px}.modal-container .modal-buttons-container .modal-button,.modal-container .modal-button-container .modal-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;height:32px;-webkit-box-shadow:var(--elevation-0);box-shadow:var(--elevation-0);border:none;-webkit-tap-highlight-color:transparent;line-height:20px;color:var(--color-primary-app);background-color:transparent;font-family:var(--font-family)}.modal-container .modal-button-container{-ms-flex-pack:end;justify-content:flex-end}.grw-offline-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0px 0px 0px 16px;height:48px}.grw-offline-container .grw-offline-label{display:-ms-flexbox;display:flex}.grw-offline-container grw-switch{margin-top:-10px}";var u=d;var f=t("grw_app",function(){function t(t){i(this,t);this.trekDownloadPress=e(this,"trekDownloadPress",7);this.trekDeletePress=e(this,"trekDeletePress",7);this.largeViewSize=1024;this.handlePopStateBind=this.handlePopState.bind(this);this.showTrek=false;this.showTouristicContent=false;this.showTouristicEvent=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.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.center=undefined;this.zoom=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.colorPoiIcon="#974c6e";this.useGradient=false;this.treks=true;this.touristicContents=false;this.touristicEvents=false;this.enableOffline=false;this.globalTilesMinZoomOffline=0;this.globalTilesMaxZoomOffline=11;this.trekTilesMinZoomOffline=12;this.trekTilesMaxZoomOffline=16;this.showOfflineModal=false;this.showConfirmModal=false;this.showLoaderModal=false;this.showSuccessModal=false;this.showConfirmDeleteModal=false;this.showDeletingMessage=false;this.showDeleteSuccessMessage=false}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;l.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;l.currentTouristicEvent=null;var i=l.parentTrekId?l.parentTrekId:l.currentTrekSteps?this.currentTrekId:null;l.currentTrek=null;this.currentTrekId=t.detail;l.mode="treks";this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());if(l.currentTrekSteps){e.searchParams.set("parenttrek",i.toString())}window.history.pushState({},"",e)};t.prototype.onParentTrekPress=function(t){l.currentTrek=null;this.currentTrekId=t.detail;l.mode="treks";this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());i.searchParams.delete("parenttrek");window.history.pushState({},"",i)};t.prototype.onTouristicContentCardPress=function(t){l.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;l.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",i)};t.prototype.onTouristiceEventCardPress=function(t){l.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;l.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var i=new URL(window.location.toString());i.searchParams.delete("trek");i.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",i)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.onTrekDownloadConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=false;this.showDeleteSuccessMessage=false;this.showDeletingMessage=false;this.showConfirmDeleteModal=false;this.showOfflineModal=true;this.showConfirmModal=true};t.prototype.onTrekDownloadedSuccessConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=true};t.prototype.onTrekDeleteConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=false;this.showDeleteSuccessMessage=false;this.showOfflineModal=true;this.showConfirmModal=true;this.showConfirmDeleteModal=true};t.prototype.onTrekDeleteSuccessConfirm=function(){this.showLoaderModal=false;this.showSuccessModal=true;this.showDeleteSuccessMessage=true};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){l.mode="treks"}else if(this.touristicContents){l.mode="touristicContents"}else if(this.touristicEvents){l.mode="touristicEvents"}var t=new URL(window.location.toString());var i=t.searchParams.get("trek");var e=t.searchParams.get("parenttrek");var s=t.searchParams.get("touristiccontent");var r=t.searchParams.get("touristicevent");if(i){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);l.parentTrekId=e?Number(e):null;this.currentTrekId=Number(i);l.mode="treks";this.showTrek=true}else if(s){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(s);l.mode="touristicContents";this.showTouristicContent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(r);l.mode="touristicEvents";this.showTouristicEvent=true}};t.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){if(this.treks){l.mode="treks"}else if(this.touristicContents){l.mode="touristicContents"}else if(this.touristicEvents){l.mode="touristicEvents"}this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false;this.showTouristicEvent=false;this.showTouristicEventMap=false;l.currentTouristicContent=null;l.currentTouristicEvent=null;l.currentTrek=null;l.currentTrekSteps=null;l.parentTrekId=null;this.currentTrekId=null;this.showTrek=false};t.prototype.handleView=function(){this.isLargeView=this.appElement.getBoundingClientRect().width>=this.largeViewSize;this.showHomeMap=this.isLargeView;this.showTrekMap=this.isLargeView};t.prototype.handleFilters=function(){this.showFilters=!this.showFilters};t.prototype.handleBackButton=function(){if(window.history.state&&window.history.state.isInitialHistoryWithDetails){this.onDetailsClose();var t=new URL(window.location.toString());t.searchParams.delete("trek");t.searchParams.delete("touristiccontent");t.searchParams.delete("touristicevent");window.history.pushState({},"",t)}else{window.history.back()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var i=Number(t.searchParams.get("trek"));var e=t.searchParams.get("touristiccontent");var s=t.searchParams.get("touristicevent");if(i&&this.currentTrekId!==i){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;l.currentTouristicContent=null;l.currentTouristicEvent=null;l.currentTrek=null;this.currentTrekId=i;l.mode="treks";this.showTrek=true}else if(!i&&!e&&!s){this.onDetailsClose()}};t.prototype.handleShowMap=function(){if(this.currentTrekId){this.showTrekMap=!this.showTrekMap}else if(this.showTouristicContent){this.showTouristicContentMap=!this.showTouristicContentMap}else if(this.showTouristicEvent){this.showTouristicEventMap=!this.showTouristicEventMap}else{this.showHomeMap=!this.showHomeMap}};t.prototype.getMapVisibilityIconButton=function(){var 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{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(l.language){if(this.showTrek){t=this.showTrekMap?a[l.language].showDetails:a[l.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?a[l.language].showDetails:a[l.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?a[l.language].showDetails:a[l.language].showMap}else{t=this.showHomeMap?a[l.language].showList:a[l.language].showMap}}return t};t.prototype.reload=function(){window.location.reload()};t.prototype.disconnectedCallback=function(){h();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.handleOkDeleteModal=function(){this.trekDeletePress.emit();this.showDeletingMessage=true;this.showConfirmDeleteModal=false;this.showConfirmModal=false;this.showLoaderModal=true};t.prototype.handleOkDownloadModal=function(){this.trekDownloadPress.emit();this.showConfirmModal=false;this.showLoaderModal=true};t.prototype.handleCancelModal=function(){this.showOfflineModal=false};t.prototype.handleOffline=function(){l.offlineTreks=!l.offlineTreks;l.currentTreks=c()};t.prototype.render=function(){var t=this;return s(n,{key:"8434d8ad4c54c93d82a9950931fa23a542f05dbd",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":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1?this.enableOffline?"188px":"136px":this.enableOffline?"116px":"64px","--header-with-segment":Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1?"16px":"0px","--header-with-languages":this.languages.split(",").length>1?"38px":"0px","--border-radius":this.rounded?"":"0px"}},!l.currentTreks&&!l.currentTrek&&!l.currentTouristicContent&&!l.currentTouristicEvent&&!l.currentTouristicContents&&!l.currentTouristicEvents&&s("div",{class:"grw-init-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&l.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!l.currentTreks&&s("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&&!l.currentTrek&&s("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}),this.showTouristicContent&&this.currentTouristicContentId&&s("grw-touristic-content-provider",{api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&s("grw-touristic-event-provider",{api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.touristicContents&&l.mode==="touristicContents"&&!l.currentTouristicContents&&!this.showTouristicContent&&s("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&&l.mode==="touristicEvents"&&!l.currentTouristicEvents&&!this.showTouristicEvent&&s("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}),(l.currentTreks||l.currentTrek||l.touristicContents||l.touristicEvents||l.currentTouristicContent||l.currentTouristicEvent||l.networkError)&&s("div",{class:"grw-app-container"},l.languages&&l.languages.length>1&&s("div",{class:"grw-languages-container"},s("grw-select-language",null)),s("div",{class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent?" grw-header-detail":"")},Number(this.treks)+Number(this.touristicContents)+Number(this.touristicEvents)>1&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&s("grw-segmented-segment",{fontFamily:this.fontFamily,treks:this.treks,touristicContents:this.touristicContents,touristicEvents:this.touristicEvents}),!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent?s(r,null,s("div",{class:"grw-handle-search-filters-container"},s("div",{class:"grw-handle-search-container"},s("grw-search",{fontFamily:this.fontFamily})),s("div",{class:"grw-handle-filters-container"},s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",fontFamily:this.fontFamily,action:function(){return t.handleFilters()},icon:"filter_list",name:a[l.language].filter}))),this.enableOffline&&s("div",{part:"grw-offline-container",class:"grw-offline-container"},s("div",{class:"grw-offline-label"},"Afficher uniquement les itinéraires hors ligne"),s("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label",fontFamily:this.fontFamily,action:function(){return t.handleOffline()}}))):s("div",{class:"grw-arrow-back-container"},s("button",{onClick:function(){return t.handleBackButton()},class:"grw-arrow-back-icon"},s("span",{translate:false,part:"icon",class:"material-symbols material-symbols-outlined icon"},"arrow_back")))),s("div",{class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent?"grw-content-trek":"grw-content-treks")},l.networkError&&s("div",{class:"grw-error-container"},"Une erreur est survenue.",s("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return t.reload()}})),s("div",{class:this.isLargeView?"grw-large-view-app-treks-list-container":"grw-app-treks-list-container",style:{display:this.showTrek||this.showTouristicContent||this.showTouristicEvent?"none":"flex",position:this.showTrek?"absolute":"relative"}},l.mode==="treks"&&this.treks&&s("grw-treks-list",{"is-large-view":this.isLargeView,fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),l.mode==="touristicContents"&&this.touristicContents&&s("grw-touristic-contents-list",{"is-large-view":this.isLargeView,fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow}),l.mode==="touristicEvents"&&this.touristicEvents&&s("grw-touristic-events-list",{"is-large-view":this.isLargeView,fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow})),(this.showTrek&&!l.currentTrek||this.showTouristicContent&&!l.currentTouristicContent||this.showTouristicEvent&&!l.currentTouristicEvent||!l.treks&&l.mode==="treks"&&!this.showTrek||!l.touristicContents&&l.mode==="touristicContents"&&!this.showTouristicContent||!l.touristicEvents&&l.mode==="touristicEvents"&&!this.showTouristicEvent)&&s("div",{class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},s("grw-loader",{exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&s("div",{class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},s("grw-trek-detail",{style:{visibility:!this.showTrekMap&&this.showTrek||this.isLargeView?"visible":"hidden",zIndex:!this.showTrekMap?"1":"0"},fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,weather:this.weather,"is-large-view":this.isLargeView,"emergency-number":this.emergencyNumber,defaultBackgroundLayerUrl:this.urlLayer.split(",http").map((function(t,i){return i===0?t:"http"+t}))[0],defaultBackgroundLayerAttribution:this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"global-tiles-min-zoom-offline":this.globalTilesMinZoomOffline,"global-tiles-max-zoom-offline":this.globalTilesMaxZoomOffline,"trek-tiles-min-zoom-offline":this.trekTilesMinZoomOffline,"trek-tiles-max-zoom-offline":this.trekTilesMaxZoomOffline}),this.showOfflineModal&&s("div",{class:"modal-container"},s("div",{class:"modal-content-container"},this.showConfirmModal&&!this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"Êtes-vous sûr de vouloir rendre cet itinéraire disponible hors ligne ?"),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDownloadModal()}},"OK"))),this.showConfirmDeleteModal&&s(r,null,s("div",{class:"modal-message-container"},"Êtes-vous sûr de vouloir supprimer cet itinéraire du hors ligne ?"),s("div",{class:"modal-buttons-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"ANNULER"),s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleOkDeleteModal()}},"OK"))),this.showLoaderModal&&s(r,null,s("div",{class:"modal-message-container"},s("div",{class:"modal-loader"}),this.showDeletingMessage?"Suppression en cours":"Téléchargement en cours")),this.showSuccessModal&&s(r,null,s("div",{class:"modal-message-container"},this.showDeleteSuccessMessage?"L'itinéraire est supprimé du hors ligne":"L'itinéraire est disponible hors ligne"),s("div",{class:"modal-button-container"},s("button",{part:"modal-button",class:"modal-button",onClick:function(){return t.handleCancelModal()}},"OK")))))),this.showTouristicContent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},s("grw-touristic-content-detail",{style:{visibility:!this.showTouristicContentMap||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicContentMap?"1":"0"},fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),this.showTouristicEvent&&s("div",{class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},s("grw-touristic-event-detail",{style:{visibility:!this.showTouristicEventMap||this.isLargeView?"visible":"hidden",zIndex:!this.showTouristicEventMap?"1":"0"},fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-secondary-container":this.colorSecondaryContainer,"color-on-secondary-container":this.colorOnSecondaryContainer,"color-surface-container-low":this.colorSurfaceContainerLow,"color-background":this.colorBackground,"is-large-view":this.isLargeView})),!l.networkError&&s("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.showTrekMap&&this.showTrek||this.showTouristicContentMap&&this.showTouristicContent||this.showTouristicEventMap&&this.showTouristicEvent||this.isLargeView?"visible":"hidden",zIndex:this.showHomeMap||this.showTrekMap||this.showTouristicContentMap||this.showTouristicEventMap?"1":"0"},center:this.center,zoom:this.zoom,"name-layer":this.nameLayer,"url-layer":this.urlLayer,"attribution-layer":this.attributionLayer,fontFamily:this.fontFamily,"color-primary-app":this.colorPrimaryApp,"color-on-surface":this.colorOnSurface,"color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer,"color-background":this.colorBackground,"color-trek-line":this.colorTrekLine,"color-sensitive-area":this.colorSensitiveArea,"color-poi-icon":this.colorPoiIcon,"is-large-view":this.isLargeView,"use-gradient":this.useGradient,"trek-tiles-max-zoom-offline":this.trekTilesMaxZoomOffline})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent||this.showTrek&&l.currentTrek||this.showTouristicContent&&l.currentTouristicContent||this.showTouristicEvent&&l.currentTouristicEvent)&&s("div",{class:"grw-map-visibility-button-container"},s("grw-extended-fab",{exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label",fontFamily:this.fontFamily,action:function(){return t.handleShowMap()},icon:function(){return t.getMapVisibilityIconButton()},name:function(){return t.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex"}))),!this.showTrek&&this.showFilters&&s("grw-filters",{fontFamily:this.fontFamily,handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());f.style=u}}}));
2
+ //# sourceMappingURL=p-02f880ee.system.entry.js.map