@geotrekce/geotrek-rando-widget 0.30.2 → 0.30.4

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 (419) hide show
  1. package/dist/cjs/{call-422e2bf4.js → call-c5b389c7.js} +2 -2
  2. package/dist/cjs/call-c5b389c7.js.br +0 -0
  3. package/dist/cjs/call-c5b389c7.js.gz +0 -0
  4. package/dist/cjs/{call-422e2bf4.js.map → call-c5b389c7.js.map} +1 -1
  5. package/dist/cjs/grw-app.cjs.entry.js +2 -2
  6. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  7. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  8. package/dist/cjs/grw-common-button_23.cjs.entry.js +83 -69
  9. package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
  10. package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
  11. package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
  12. package/dist/cjs/{grw-db.service-dde227e0.js → grw-db.service-51e2fba4.js} +2 -2
  13. package/dist/cjs/grw-db.service-51e2fba4.js.br +0 -0
  14. package/dist/cjs/grw-db.service-51e2fba4.js.gz +0 -0
  15. package/dist/cjs/{grw-db.service-dde227e0.js.map → grw-db.service-51e2fba4.js.map} +1 -1
  16. package/dist/cjs/grw-details-modal_8.cjs.entry.js +25 -11
  17. package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
  18. package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
  19. package/dist/cjs/grw-details-modal_8.cjs.entry.js.map +1 -1
  20. package/dist/cjs/grw-filter.cjs.entry.js +2 -2
  21. package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
  22. package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
  23. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js +5 -5
  24. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.br +0 -0
  25. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.gz +0 -0
  26. package/dist/cjs/grw-poi_3.cjs.entry.js +3 -3
  27. package/dist/cjs/grw-poi_3.cjs.entry.js.br +0 -0
  28. package/dist/cjs/grw-poi_3.cjs.entry.js.gz +0 -0
  29. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js +4 -4
  30. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.br +0 -0
  31. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.gz +0 -0
  32. package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js +1 -1
  33. package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.br +0 -0
  34. package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.gz +0 -0
  35. package/dist/cjs/{outdoor-courses.service-083411f5.js → outdoor-courses.service-9ba0da7e.js} +2 -2
  36. package/dist/cjs/outdoor-courses.service-9ba0da7e.js.br +0 -0
  37. package/dist/cjs/outdoor-courses.service-9ba0da7e.js.gz +0 -0
  38. package/dist/cjs/{outdoor-courses.service-083411f5.js.map → outdoor-courses.service-9ba0da7e.js.map} +1 -1
  39. package/dist/cjs/{store-65aa11bc.js → store-8c47b811.js} +2 -2
  40. package/dist/cjs/store-8c47b811.js.br +0 -0
  41. package/dist/cjs/store-8c47b811.js.gz +0 -0
  42. package/dist/cjs/{store-65aa11bc.js.map → store-8c47b811.js.map} +1 -1
  43. package/dist/cjs/{treks.service-14b5765a.js → treks.service-ae2960c8.js} +4 -4
  44. package/dist/cjs/treks.service-ae2960c8.js.br +0 -0
  45. package/dist/cjs/treks.service-ae2960c8.js.gz +0 -0
  46. package/dist/cjs/{treks.service-14b5765a.js.map → treks.service-ae2960c8.js.map} +1 -1
  47. package/dist/cjs/{utils-5c5c3fee.js → utils-fef97420.js} +3 -3
  48. package/dist/cjs/utils-fef97420.js.br +0 -0
  49. package/dist/cjs/utils-fef97420.js.gz +0 -0
  50. package/dist/cjs/{utils-5c5c3fee.js.map → utils-fef97420.js.map} +1 -1
  51. package/dist/cjs/{web-87e6d345.js → web-e27fac22.js} +3 -3
  52. package/dist/cjs/web-e27fac22.js.br +0 -0
  53. package/dist/cjs/web-e27fac22.js.gz +0 -0
  54. package/dist/cjs/{web-87e6d345.js.map → web-e27fac22.js.map} +1 -1
  55. package/dist/collection/components/grw-map/grw-map.js +62 -56
  56. package/dist/collection/components/grw-map/grw-map.js.br +0 -0
  57. package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
  58. package/dist/collection/components/grw-map/grw-map.js.map +1 -1
  59. package/dist/collection/store/grw-outdoor-site-provider.js +4 -4
  60. package/dist/collection/store/grw-outdoor-site-provider.js.br +0 -0
  61. package/dist/collection/store/grw-outdoor-site-provider.js.gz +0 -0
  62. package/dist/collection/store/grw-outdoor-site-provider.js.map +1 -1
  63. package/dist/collection/store/grw-touristic-content-provider.js +11 -3
  64. package/dist/collection/store/grw-touristic-content-provider.js.br +0 -0
  65. package/dist/collection/store/grw-touristic-content-provider.js.gz +0 -0
  66. package/dist/collection/store/grw-touristic-content-provider.js.map +1 -1
  67. package/dist/collection/store/grw-touristic-event-provider.js +9 -3
  68. package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
  69. package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
  70. package/dist/collection/store/grw-touristic-event-provider.js.map +1 -1
  71. package/dist/collection/store/grw-trek-provider.js +11 -3
  72. package/dist/collection/store/grw-trek-provider.js.br +0 -0
  73. package/dist/collection/store/grw-trek-provider.js.gz +0 -0
  74. package/dist/collection/store/grw-trek-provider.js.map +1 -1
  75. package/dist/collection/store/store.js +1 -1
  76. package/dist/collection/store/store.js.br +0 -0
  77. package/dist/collection/store/store.js.gz +0 -0
  78. package/dist/collection/store/store.js.map +1 -1
  79. package/dist/esm/{call-c0c920b0.js → call-df62b17b.js} +2 -2
  80. package/dist/esm/call-df62b17b.js.br +0 -0
  81. package/dist/esm/call-df62b17b.js.gz +0 -0
  82. package/dist/esm/{call-c0c920b0.js.map → call-df62b17b.js.map} +1 -1
  83. package/dist/esm/grw-app.entry.js +2 -2
  84. package/dist/esm/grw-app.entry.js.br +0 -0
  85. package/dist/esm/grw-app.entry.js.gz +0 -0
  86. package/dist/esm/grw-common-button_23.entry.js +83 -69
  87. package/dist/esm/grw-common-button_23.entry.js.br +0 -0
  88. package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
  89. package/dist/esm/grw-common-button_23.entry.js.map +1 -1
  90. package/dist/esm/{grw-db.service-83da38c9.js → grw-db.service-a2b2fc8e.js} +2 -2
  91. package/dist/esm/grw-db.service-a2b2fc8e.js.br +0 -0
  92. package/dist/esm/grw-db.service-a2b2fc8e.js.gz +0 -0
  93. package/dist/esm/{grw-db.service-83da38c9.js.map → grw-db.service-a2b2fc8e.js.map} +1 -1
  94. package/dist/esm/grw-details-modal_8.entry.js +25 -11
  95. package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
  96. package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
  97. package/dist/esm/grw-details-modal_8.entry.js.map +1 -1
  98. package/dist/esm/grw-filter.entry.js +2 -2
  99. package/dist/esm/grw-filter.entry.js.br +0 -0
  100. package/dist/esm/grw-filter.entry.js.gz +0 -0
  101. package/dist/esm/grw-outdoor-courses-provider.entry.js +5 -5
  102. package/dist/esm/grw-outdoor-courses-provider.entry.js.br +0 -0
  103. package/dist/esm/grw-outdoor-courses-provider.entry.js.gz +0 -0
  104. package/dist/esm/grw-poi_3.entry.js +3 -3
  105. package/dist/esm/grw-poi_3.entry.js.br +0 -0
  106. package/dist/esm/grw-poi_3.entry.js.gz +0 -0
  107. package/dist/esm/grw-sensitive-area-detail_2.entry.js +4 -4
  108. package/dist/esm/grw-sensitive-area-detail_2.entry.js.br +0 -0
  109. package/dist/esm/grw-sensitive-area-detail_2.entry.js.gz +0 -0
  110. package/dist/esm/grw-toggle-slot-visibility.entry.js +1 -1
  111. package/dist/esm/grw-toggle-slot-visibility.entry.js.br +0 -0
  112. package/dist/esm/grw-toggle-slot-visibility.entry.js.gz +0 -0
  113. package/dist/esm/{outdoor-courses.service-d2397066.js → outdoor-courses.service-c7fe26df.js} +2 -2
  114. package/dist/esm/outdoor-courses.service-c7fe26df.js.br +0 -0
  115. package/dist/esm/outdoor-courses.service-c7fe26df.js.gz +0 -0
  116. package/dist/esm/{outdoor-courses.service-d2397066.js.map → outdoor-courses.service-c7fe26df.js.map} +1 -1
  117. package/dist/esm/{store-882ab9be.js → store-aa921ea2.js} +2 -2
  118. package/dist/esm/store-aa921ea2.js.br +0 -0
  119. package/dist/esm/store-aa921ea2.js.gz +0 -0
  120. package/dist/esm/{store-882ab9be.js.map → store-aa921ea2.js.map} +1 -1
  121. package/dist/esm/{treks.service-a3ce33ef.js → treks.service-0b98455e.js} +4 -4
  122. package/dist/esm/treks.service-0b98455e.js.br +0 -0
  123. package/dist/esm/treks.service-0b98455e.js.gz +0 -0
  124. package/dist/esm/{treks.service-a3ce33ef.js.map → treks.service-0b98455e.js.map} +1 -1
  125. package/dist/esm/{utils-5feb9281.js → utils-b1ca48b3.js} +3 -3
  126. package/dist/esm/utils-b1ca48b3.js.br +0 -0
  127. package/dist/esm/utils-b1ca48b3.js.gz +0 -0
  128. package/dist/esm/{utils-5feb9281.js.map → utils-b1ca48b3.js.map} +1 -1
  129. package/dist/esm/{web-9ea89c85.js → web-08ea09e6.js} +3 -3
  130. package/dist/esm/web-08ea09e6.js.br +0 -0
  131. package/dist/esm/web-08ea09e6.js.gz +0 -0
  132. package/dist/esm/{web-9ea89c85.js.map → web-08ea09e6.js.map} +1 -1
  133. package/dist/esm-es5/{call-c0c920b0.js → call-df62b17b.js} +2 -2
  134. package/dist/esm-es5/call-df62b17b.js.br +0 -0
  135. package/dist/esm-es5/{call-c0c920b0.js.gz → call-df62b17b.js.gz} +0 -0
  136. package/dist/esm-es5/grw-app.entry.js +1 -1
  137. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  138. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  139. package/dist/esm-es5/grw-common-button_23.entry.js +2 -2
  140. package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
  141. package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
  142. package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
  143. package/dist/esm-es5/{grw-db.service-83da38c9.js → grw-db.service-a2b2fc8e.js} +2 -2
  144. package/dist/esm-es5/grw-db.service-a2b2fc8e.js.br +0 -0
  145. package/dist/esm-es5/grw-db.service-a2b2fc8e.js.gz +0 -0
  146. package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
  147. package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
  148. package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
  149. package/dist/esm-es5/grw-details-modal_8.entry.js.map +1 -1
  150. package/dist/esm-es5/grw-filter.entry.js +1 -1
  151. package/dist/esm-es5/grw-filter.entry.js.br +0 -0
  152. package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
  153. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js +1 -1
  154. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.br +0 -0
  155. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.gz +0 -0
  156. package/dist/esm-es5/grw-poi_3.entry.js +1 -1
  157. package/dist/esm-es5/grw-poi_3.entry.js.br +0 -0
  158. package/dist/esm-es5/grw-poi_3.entry.js.gz +0 -0
  159. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js +1 -1
  160. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.br +0 -0
  161. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.gz +0 -0
  162. package/dist/esm-es5/grw-toggle-slot-visibility.entry.js +1 -1
  163. package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.br +0 -0
  164. package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.gz +0 -0
  165. package/dist/esm-es5/{outdoor-courses.service-d2397066.js → outdoor-courses.service-c7fe26df.js} +2 -2
  166. package/dist/esm-es5/outdoor-courses.service-c7fe26df.js.br +0 -0
  167. package/dist/esm-es5/outdoor-courses.service-c7fe26df.js.gz +0 -0
  168. package/dist/esm-es5/{store-882ab9be.js → store-aa921ea2.js} +2 -2
  169. package/dist/esm-es5/store-aa921ea2.js.br +0 -0
  170. package/dist/esm-es5/store-aa921ea2.js.gz +0 -0
  171. package/dist/esm-es5/{store-882ab9be.js.map → store-aa921ea2.js.map} +1 -1
  172. package/dist/esm-es5/{treks.service-a3ce33ef.js → treks.service-0b98455e.js} +2 -2
  173. package/dist/esm-es5/treks.service-0b98455e.js.br +0 -0
  174. package/dist/esm-es5/treks.service-0b98455e.js.gz +0 -0
  175. package/dist/esm-es5/{utils-5feb9281.js → utils-b1ca48b3.js} +3 -3
  176. package/dist/esm-es5/utils-b1ca48b3.js.br +0 -0
  177. package/dist/esm-es5/utils-b1ca48b3.js.gz +0 -0
  178. package/dist/esm-es5/{web-9ea89c85.js → web-08ea09e6.js} +2 -2
  179. package/dist/esm-es5/web-08ea09e6.js.br +0 -0
  180. package/dist/esm-es5/web-08ea09e6.js.gz +0 -0
  181. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  182. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  183. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  184. package/dist/geotrek-rando-widget/{p-31cd5fb6.system.js → p-06ec8b64.system.js} +2 -2
  185. package/dist/geotrek-rando-widget/p-06ec8b64.system.js.br +0 -0
  186. package/dist/geotrek-rando-widget/p-06ec8b64.system.js.gz +0 -0
  187. package/dist/geotrek-rando-widget/{p-e6471529.system.js → p-0e29bbf9.system.js} +2 -2
  188. package/dist/geotrek-rando-widget/p-0e29bbf9.system.js.br +0 -0
  189. package/dist/geotrek-rando-widget/p-0e29bbf9.system.js.gz +0 -0
  190. package/dist/geotrek-rando-widget/{p-e6471529.system.js.map → p-0e29bbf9.system.js.map} +1 -1
  191. package/dist/geotrek-rando-widget/{p-5a1c21ad.system.js → p-11622ab2.system.js} +3 -3
  192. package/dist/geotrek-rando-widget/p-11622ab2.system.js.br +0 -0
  193. package/dist/geotrek-rando-widget/p-11622ab2.system.js.gz +0 -0
  194. package/dist/geotrek-rando-widget/{p-346b21fe.system.entry.js → p-28048cef.system.entry.js} +2 -2
  195. package/dist/geotrek-rando-widget/p-28048cef.system.entry.js.br +0 -0
  196. package/dist/geotrek-rando-widget/p-28048cef.system.entry.js.gz +0 -0
  197. package/dist/geotrek-rando-widget/{p-f0d965b9.system.entry.js → p-2939026a.system.entry.js} +2 -2
  198. package/dist/geotrek-rando-widget/p-2939026a.system.entry.js.br +0 -0
  199. package/dist/geotrek-rando-widget/p-2939026a.system.entry.js.gz +0 -0
  200. package/dist/geotrek-rando-widget/p-2939026a.system.entry.js.map +1 -0
  201. package/dist/geotrek-rando-widget/{p-63c3d14c.system.entry.js → p-35fa0752.system.entry.js} +2 -2
  202. package/dist/geotrek-rando-widget/p-35fa0752.system.entry.js.br +0 -0
  203. package/dist/geotrek-rando-widget/{p-63c3d14c.system.entry.js.gz → p-35fa0752.system.entry.js.gz} +0 -0
  204. package/dist/geotrek-rando-widget/{p-0dc681ee.system.js → p-3834a184.system.js} +2 -2
  205. package/dist/geotrek-rando-widget/p-3834a184.system.js.br +0 -0
  206. package/dist/geotrek-rando-widget/p-3834a184.system.js.gz +0 -0
  207. package/dist/geotrek-rando-widget/{p-111e4a10.entry.js → p-4450a6e3.entry.js} +2 -2
  208. package/dist/geotrek-rando-widget/p-4450a6e3.entry.js.br +0 -0
  209. package/dist/geotrek-rando-widget/p-4450a6e3.entry.js.gz +0 -0
  210. package/dist/geotrek-rando-widget/p-4450a6e3.entry.js.map +1 -0
  211. package/dist/geotrek-rando-widget/p-5517eb99.system.js +1 -1
  212. package/dist/geotrek-rando-widget/p-5517eb99.system.js.br +0 -0
  213. package/dist/geotrek-rando-widget/p-5517eb99.system.js.gz +0 -0
  214. package/dist/geotrek-rando-widget/p-551b6c64.entry.js +4 -0
  215. package/dist/geotrek-rando-widget/p-551b6c64.entry.js.br +0 -0
  216. package/dist/geotrek-rando-widget/p-551b6c64.entry.js.gz +0 -0
  217. package/dist/geotrek-rando-widget/p-551b6c64.entry.js.map +1 -0
  218. package/dist/geotrek-rando-widget/{p-c8f5ce61.js → p-5feca333.js} +2 -2
  219. package/dist/geotrek-rando-widget/p-5feca333.js.br +0 -0
  220. package/dist/geotrek-rando-widget/p-5feca333.js.gz +0 -0
  221. package/dist/geotrek-rando-widget/{p-928cafc2.system.entry.js → p-643b34f4.system.entry.js} +2 -2
  222. package/dist/geotrek-rando-widget/p-643b34f4.system.entry.js.br +0 -0
  223. package/dist/geotrek-rando-widget/p-643b34f4.system.entry.js.gz +0 -0
  224. package/dist/geotrek-rando-widget/p-6cd88edc.system.entry.js +4 -0
  225. package/dist/geotrek-rando-widget/p-6cd88edc.system.entry.js.br +0 -0
  226. package/dist/geotrek-rando-widget/p-6cd88edc.system.entry.js.gz +0 -0
  227. package/dist/geotrek-rando-widget/p-6cd88edc.system.entry.js.map +1 -0
  228. package/dist/geotrek-rando-widget/{p-844f4321.js → p-6d0668a6.js} +3 -3
  229. package/dist/geotrek-rando-widget/p-6d0668a6.js.br +0 -0
  230. package/dist/geotrek-rando-widget/p-6d0668a6.js.gz +0 -0
  231. package/dist/geotrek-rando-widget/{p-d95cfb6f.js → p-7207c87a.js} +2 -2
  232. package/dist/geotrek-rando-widget/p-7207c87a.js.br +0 -0
  233. package/dist/geotrek-rando-widget/p-7207c87a.js.gz +0 -0
  234. package/dist/geotrek-rando-widget/{p-d95cfb6f.js.map → p-7207c87a.js.map} +1 -1
  235. package/dist/geotrek-rando-widget/{p-ebec2cdc.system.js → p-722468a0.system.js} +2 -2
  236. package/dist/geotrek-rando-widget/p-722468a0.system.js.br +0 -0
  237. package/dist/geotrek-rando-widget/p-722468a0.system.js.gz +0 -0
  238. package/dist/geotrek-rando-widget/{p-91d62770.entry.js → p-83e76a62.entry.js} +2 -2
  239. package/dist/geotrek-rando-widget/p-83e76a62.entry.js.br +0 -0
  240. package/dist/geotrek-rando-widget/p-83e76a62.entry.js.gz +0 -0
  241. package/dist/geotrek-rando-widget/{p-38d31358.entry.js → p-9ac8e3ac.entry.js} +2 -2
  242. package/dist/geotrek-rando-widget/p-9ac8e3ac.entry.js.br +0 -0
  243. package/dist/geotrek-rando-widget/p-9ac8e3ac.entry.js.gz +0 -0
  244. package/dist/geotrek-rando-widget/{p-20fa1207.entry.js → p-9c461972.entry.js} +2 -2
  245. package/dist/geotrek-rando-widget/p-9c461972.entry.js.br +0 -0
  246. package/dist/geotrek-rando-widget/p-9c461972.entry.js.gz +0 -0
  247. package/dist/geotrek-rando-widget/{p-6287495f.entry.js → p-ad644267.entry.js} +2 -2
  248. package/dist/geotrek-rando-widget/p-ad644267.entry.js.br +0 -0
  249. package/dist/geotrek-rando-widget/p-ad644267.entry.js.gz +0 -0
  250. package/dist/geotrek-rando-widget/{p-6a4d2050.system.entry.js → p-ad6e02a4.system.entry.js} +2 -2
  251. package/dist/geotrek-rando-widget/p-ad6e02a4.system.entry.js.br +0 -0
  252. package/dist/geotrek-rando-widget/p-ad6e02a4.system.entry.js.gz +0 -0
  253. package/dist/geotrek-rando-widget/{p-315f99d3.system.js → p-ae0a8dc1.system.js} +2 -2
  254. package/dist/geotrek-rando-widget/p-ae0a8dc1.system.js.br +0 -0
  255. package/dist/geotrek-rando-widget/p-ae0a8dc1.system.js.gz +0 -0
  256. package/dist/geotrek-rando-widget/{p-fcbe4bb6.js → p-b0b7e072.js} +2 -2
  257. package/dist/geotrek-rando-widget/p-b0b7e072.js.br +0 -0
  258. package/dist/geotrek-rando-widget/p-b0b7e072.js.gz +0 -0
  259. package/dist/geotrek-rando-widget/{p-b1ed0255.js → p-bc36f8a6.js} +2 -2
  260. package/dist/geotrek-rando-widget/p-bc36f8a6.js.br +0 -0
  261. package/dist/geotrek-rando-widget/p-bc36f8a6.js.gz +0 -0
  262. package/dist/geotrek-rando-widget/{p-51c64ff4.entry.js → p-cf6d1b66.entry.js} +2 -2
  263. package/dist/geotrek-rando-widget/p-cf6d1b66.entry.js.br +0 -0
  264. package/dist/geotrek-rando-widget/p-cf6d1b66.entry.js.gz +0 -0
  265. package/dist/geotrek-rando-widget/{p-46cbc796.system.entry.js → p-d8126403.system.entry.js} +2 -2
  266. package/dist/geotrek-rando-widget/p-d8126403.system.entry.js.br +0 -0
  267. package/dist/geotrek-rando-widget/p-d8126403.system.entry.js.gz +0 -0
  268. package/dist/geotrek-rando-widget/{p-c61425f6.js → p-e5086616.js} +2 -2
  269. package/dist/geotrek-rando-widget/p-e5086616.js.br +0 -0
  270. package/dist/geotrek-rando-widget/p-e5086616.js.gz +0 -0
  271. package/dist/geotrek-rando-widget/{p-eeedb77e.entry.js → p-e9483fdf.entry.js} +2 -2
  272. package/dist/geotrek-rando-widget/p-e9483fdf.entry.js.br +0 -0
  273. package/dist/geotrek-rando-widget/p-e9483fdf.entry.js.gz +0 -0
  274. package/dist/geotrek-rando-widget/{p-0213328a.system.entry.js → p-ec9a42ab.system.entry.js} +2 -2
  275. package/dist/geotrek-rando-widget/p-ec9a42ab.system.entry.js.br +0 -0
  276. package/dist/geotrek-rando-widget/p-ec9a42ab.system.entry.js.gz +0 -0
  277. package/dist/geotrek-rando-widget/{p-fbfffb5d.system.js → p-f152b476.system.js} +2 -2
  278. package/dist/geotrek-rando-widget/p-f152b476.system.js.br +0 -0
  279. package/dist/geotrek-rando-widget/p-f152b476.system.js.gz +0 -0
  280. package/dist/geotrek-rando-widget/{p-76467e71.js → p-f92d0101.js} +2 -2
  281. package/dist/geotrek-rando-widget/p-f92d0101.js.br +0 -0
  282. package/dist/geotrek-rando-widget/p-f92d0101.js.gz +0 -0
  283. package/package.json +1 -1
  284. package/dist/cjs/call-422e2bf4.js.br +0 -0
  285. package/dist/cjs/call-422e2bf4.js.gz +0 -0
  286. package/dist/cjs/grw-db.service-dde227e0.js.br +0 -0
  287. package/dist/cjs/grw-db.service-dde227e0.js.gz +0 -0
  288. package/dist/cjs/outdoor-courses.service-083411f5.js.br +0 -0
  289. package/dist/cjs/outdoor-courses.service-083411f5.js.gz +0 -0
  290. package/dist/cjs/store-65aa11bc.js.br +0 -0
  291. package/dist/cjs/store-65aa11bc.js.gz +0 -0
  292. package/dist/cjs/treks.service-14b5765a.js.br +0 -0
  293. package/dist/cjs/treks.service-14b5765a.js.gz +0 -0
  294. package/dist/cjs/utils-5c5c3fee.js.br +0 -0
  295. package/dist/cjs/utils-5c5c3fee.js.gz +0 -0
  296. package/dist/cjs/web-87e6d345.js.br +0 -0
  297. package/dist/cjs/web-87e6d345.js.gz +0 -0
  298. package/dist/esm/call-c0c920b0.js.br +0 -0
  299. package/dist/esm/call-c0c920b0.js.gz +0 -0
  300. package/dist/esm/grw-db.service-83da38c9.js.br +0 -0
  301. package/dist/esm/grw-db.service-83da38c9.js.gz +0 -0
  302. package/dist/esm/outdoor-courses.service-d2397066.js.br +0 -0
  303. package/dist/esm/outdoor-courses.service-d2397066.js.gz +0 -0
  304. package/dist/esm/store-882ab9be.js.br +0 -0
  305. package/dist/esm/store-882ab9be.js.gz +0 -0
  306. package/dist/esm/treks.service-a3ce33ef.js.br +0 -0
  307. package/dist/esm/treks.service-a3ce33ef.js.gz +0 -0
  308. package/dist/esm/utils-5feb9281.js.br +0 -0
  309. package/dist/esm/utils-5feb9281.js.gz +0 -0
  310. package/dist/esm/web-9ea89c85.js.br +0 -0
  311. package/dist/esm/web-9ea89c85.js.gz +0 -0
  312. package/dist/esm-es5/call-c0c920b0.js.br +0 -0
  313. package/dist/esm-es5/grw-db.service-83da38c9.js.br +0 -0
  314. package/dist/esm-es5/grw-db.service-83da38c9.js.gz +0 -0
  315. package/dist/esm-es5/outdoor-courses.service-d2397066.js.br +0 -0
  316. package/dist/esm-es5/outdoor-courses.service-d2397066.js.gz +0 -0
  317. package/dist/esm-es5/store-882ab9be.js.br +0 -0
  318. package/dist/esm-es5/store-882ab9be.js.gz +0 -0
  319. package/dist/esm-es5/treks.service-a3ce33ef.js.br +0 -0
  320. package/dist/esm-es5/treks.service-a3ce33ef.js.gz +0 -0
  321. package/dist/esm-es5/utils-5feb9281.js.br +0 -0
  322. package/dist/esm-es5/utils-5feb9281.js.gz +0 -0
  323. package/dist/esm-es5/web-9ea89c85.js.br +0 -0
  324. package/dist/esm-es5/web-9ea89c85.js.gz +0 -0
  325. package/dist/geotrek-rando-widget/p-0213328a.system.entry.js.br +0 -0
  326. package/dist/geotrek-rando-widget/p-0213328a.system.entry.js.gz +0 -0
  327. package/dist/geotrek-rando-widget/p-0dc681ee.system.js.br +0 -0
  328. package/dist/geotrek-rando-widget/p-0dc681ee.system.js.gz +0 -0
  329. package/dist/geotrek-rando-widget/p-111e4a10.entry.js.br +0 -0
  330. package/dist/geotrek-rando-widget/p-111e4a10.entry.js.gz +0 -0
  331. package/dist/geotrek-rando-widget/p-111e4a10.entry.js.map +0 -1
  332. package/dist/geotrek-rando-widget/p-20fa1207.entry.js.br +0 -0
  333. package/dist/geotrek-rando-widget/p-20fa1207.entry.js.gz +0 -0
  334. package/dist/geotrek-rando-widget/p-315f99d3.system.js.br +0 -0
  335. package/dist/geotrek-rando-widget/p-315f99d3.system.js.gz +0 -0
  336. package/dist/geotrek-rando-widget/p-31cd5fb6.system.js.br +0 -0
  337. package/dist/geotrek-rando-widget/p-31cd5fb6.system.js.gz +0 -0
  338. package/dist/geotrek-rando-widget/p-346b21fe.system.entry.js.br +0 -0
  339. package/dist/geotrek-rando-widget/p-346b21fe.system.entry.js.gz +0 -0
  340. package/dist/geotrek-rando-widget/p-38d31358.entry.js.br +0 -0
  341. package/dist/geotrek-rando-widget/p-38d31358.entry.js.gz +0 -0
  342. package/dist/geotrek-rando-widget/p-46cbc796.system.entry.js.br +0 -0
  343. package/dist/geotrek-rando-widget/p-46cbc796.system.entry.js.gz +0 -0
  344. package/dist/geotrek-rando-widget/p-51c64ff4.entry.js.br +0 -0
  345. package/dist/geotrek-rando-widget/p-51c64ff4.entry.js.gz +0 -0
  346. package/dist/geotrek-rando-widget/p-5a1c21ad.system.js.br +0 -0
  347. package/dist/geotrek-rando-widget/p-5a1c21ad.system.js.gz +0 -0
  348. package/dist/geotrek-rando-widget/p-6287495f.entry.js.br +0 -0
  349. package/dist/geotrek-rando-widget/p-6287495f.entry.js.gz +0 -0
  350. package/dist/geotrek-rando-widget/p-63c3d14c.system.entry.js.br +0 -0
  351. package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js +0 -4
  352. package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js.br +0 -0
  353. package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js.gz +0 -0
  354. package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js.map +0 -1
  355. package/dist/geotrek-rando-widget/p-6a4d2050.system.entry.js.br +0 -0
  356. package/dist/geotrek-rando-widget/p-6a4d2050.system.entry.js.gz +0 -0
  357. package/dist/geotrek-rando-widget/p-76467e71.js.br +0 -0
  358. package/dist/geotrek-rando-widget/p-76467e71.js.gz +0 -0
  359. package/dist/geotrek-rando-widget/p-844f4321.js.br +0 -0
  360. package/dist/geotrek-rando-widget/p-844f4321.js.gz +0 -0
  361. package/dist/geotrek-rando-widget/p-91d62770.entry.js.br +0 -0
  362. package/dist/geotrek-rando-widget/p-91d62770.entry.js.gz +0 -0
  363. package/dist/geotrek-rando-widget/p-928cafc2.system.entry.js.br +0 -0
  364. package/dist/geotrek-rando-widget/p-928cafc2.system.entry.js.gz +0 -0
  365. package/dist/geotrek-rando-widget/p-b1ed0255.js.br +0 -0
  366. package/dist/geotrek-rando-widget/p-b1ed0255.js.gz +0 -0
  367. package/dist/geotrek-rando-widget/p-c0721af7.entry.js +0 -4
  368. package/dist/geotrek-rando-widget/p-c0721af7.entry.js.br +0 -0
  369. package/dist/geotrek-rando-widget/p-c0721af7.entry.js.gz +0 -0
  370. package/dist/geotrek-rando-widget/p-c0721af7.entry.js.map +0 -1
  371. package/dist/geotrek-rando-widget/p-c61425f6.js.br +0 -0
  372. package/dist/geotrek-rando-widget/p-c61425f6.js.gz +0 -0
  373. package/dist/geotrek-rando-widget/p-c8f5ce61.js.br +0 -0
  374. package/dist/geotrek-rando-widget/p-c8f5ce61.js.gz +0 -0
  375. package/dist/geotrek-rando-widget/p-d95cfb6f.js.br +0 -0
  376. package/dist/geotrek-rando-widget/p-d95cfb6f.js.gz +0 -0
  377. package/dist/geotrek-rando-widget/p-e6471529.system.js.br +0 -0
  378. package/dist/geotrek-rando-widget/p-e6471529.system.js.gz +0 -0
  379. package/dist/geotrek-rando-widget/p-ebec2cdc.system.js.br +0 -0
  380. package/dist/geotrek-rando-widget/p-ebec2cdc.system.js.gz +0 -0
  381. package/dist/geotrek-rando-widget/p-eeedb77e.entry.js.br +0 -0
  382. package/dist/geotrek-rando-widget/p-eeedb77e.entry.js.gz +0 -0
  383. package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.br +0 -0
  384. package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.gz +0 -0
  385. package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.map +0 -1
  386. package/dist/geotrek-rando-widget/p-fbfffb5d.system.js.br +0 -0
  387. package/dist/geotrek-rando-widget/p-fbfffb5d.system.js.gz +0 -0
  388. package/dist/geotrek-rando-widget/p-fcbe4bb6.js.br +0 -0
  389. package/dist/geotrek-rando-widget/p-fcbe4bb6.js.gz +0 -0
  390. /package/dist/esm-es5/{call-c0c920b0.js.map → call-df62b17b.js.map} +0 -0
  391. /package/dist/esm-es5/{grw-db.service-83da38c9.js.map → grw-db.service-a2b2fc8e.js.map} +0 -0
  392. /package/dist/esm-es5/{outdoor-courses.service-d2397066.js.map → outdoor-courses.service-c7fe26df.js.map} +0 -0
  393. /package/dist/esm-es5/{treks.service-a3ce33ef.js.map → treks.service-0b98455e.js.map} +0 -0
  394. /package/dist/esm-es5/{utils-5feb9281.js.map → utils-b1ca48b3.js.map} +0 -0
  395. /package/dist/esm-es5/{web-9ea89c85.js.map → web-08ea09e6.js.map} +0 -0
  396. /package/dist/geotrek-rando-widget/{p-31cd5fb6.system.js.map → p-06ec8b64.system.js.map} +0 -0
  397. /package/dist/geotrek-rando-widget/{p-5a1c21ad.system.js.map → p-11622ab2.system.js.map} +0 -0
  398. /package/dist/geotrek-rando-widget/{p-346b21fe.system.entry.js.map → p-28048cef.system.entry.js.map} +0 -0
  399. /package/dist/geotrek-rando-widget/{p-63c3d14c.system.entry.js.map → p-35fa0752.system.entry.js.map} +0 -0
  400. /package/dist/geotrek-rando-widget/{p-0dc681ee.system.js.map → p-3834a184.system.js.map} +0 -0
  401. /package/dist/geotrek-rando-widget/{p-c8f5ce61.js.map → p-5feca333.js.map} +0 -0
  402. /package/dist/geotrek-rando-widget/{p-928cafc2.system.entry.js.map → p-643b34f4.system.entry.js.map} +0 -0
  403. /package/dist/geotrek-rando-widget/{p-844f4321.js.map → p-6d0668a6.js.map} +0 -0
  404. /package/dist/geotrek-rando-widget/{p-ebec2cdc.system.js.map → p-722468a0.system.js.map} +0 -0
  405. /package/dist/geotrek-rando-widget/{p-91d62770.entry.js.map → p-83e76a62.entry.js.map} +0 -0
  406. /package/dist/geotrek-rando-widget/{p-38d31358.entry.js.map → p-9ac8e3ac.entry.js.map} +0 -0
  407. /package/dist/geotrek-rando-widget/{p-20fa1207.entry.js.map → p-9c461972.entry.js.map} +0 -0
  408. /package/dist/geotrek-rando-widget/{p-6287495f.entry.js.map → p-ad644267.entry.js.map} +0 -0
  409. /package/dist/geotrek-rando-widget/{p-6a4d2050.system.entry.js.map → p-ad6e02a4.system.entry.js.map} +0 -0
  410. /package/dist/geotrek-rando-widget/{p-315f99d3.system.js.map → p-ae0a8dc1.system.js.map} +0 -0
  411. /package/dist/geotrek-rando-widget/{p-fcbe4bb6.js.map → p-b0b7e072.js.map} +0 -0
  412. /package/dist/geotrek-rando-widget/{p-b1ed0255.js.map → p-bc36f8a6.js.map} +0 -0
  413. /package/dist/geotrek-rando-widget/{p-51c64ff4.entry.js.map → p-cf6d1b66.entry.js.map} +0 -0
  414. /package/dist/geotrek-rando-widget/{p-46cbc796.system.entry.js.map → p-d8126403.system.entry.js.map} +0 -0
  415. /package/dist/geotrek-rando-widget/{p-c61425f6.js.map → p-e5086616.js.map} +0 -0
  416. /package/dist/geotrek-rando-widget/{p-eeedb77e.entry.js.map → p-e9483fdf.entry.js.map} +0 -0
  417. /package/dist/geotrek-rando-widget/{p-0213328a.system.entry.js.map → p-ec9a42ab.system.entry.js.map} +0 -0
  418. /package/dist/geotrek-rando-widget/{p-fbfffb5d.system.js.map → p-f152b476.system.js.map} +0 -0
  419. /package/dist/geotrek-rando-widget/{p-76467e71.js.map → p-f92d0101.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"web-9ea89c85.js","mappings":";;;;AAEA,SAAS,OAAO,CAAC,IAAI,EAAE;AACvB,IAAI,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC;AAC/D,IAAI,MAAM,QAAQ,GAAG,EAAE,CAAC;AACxB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,IAAI;AAC1B,QAAQ,IAAI,IAAI,KAAK,IAAI;AACzB,YAAY,QAAQ,CAAC,MAAM,GAAG,CAAC;AAC/B,YAAY,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE;AACpD,YAAY,QAAQ,CAAC,GAAG,EAAE,CAAC;AAC3B,SAAS;AACT,aAAa;AACb,YAAY,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChC,SAAS;AACT,KAAK,CAAC,CAAC;AACP,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC9B,CAAC;AACD,SAAS,YAAY,CAAC,MAAM,EAAE,QAAQ,EAAE;AACxC,IAAI,MAAM,GAAG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a;AACb,SAAS;AACT,QAAQ,OAAO;AACf,YAAY,GAAG,EAAE,MAAM;AACvB,SAAS,CAAC;AACV,KAAK;AACL,IAAI,cAAc,CAAC,GAAG,EAAE;AACxB,QAAQ,IAAI;AACZ,YAAY,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC;AAC1C,SAAS;AACT,QAAQ,OAAO,GAAG,EAAE;AACpB,YAAY,OAAO,KAAK,CAAC;AACzB,SAAS;AACT,KAAK;AACL,CAAC;AACD,aAAa,CAAC,MAAM,GAAG,IAAI;;;;","names":[],"sources":["node_modules/@capacitor/filesystem/dist/esm/web.js"],"sourcesContent":["import { WebPlugin, buildRequestInit } from '@capacitor/core';\nimport { Encoding } from './definitions';\nfunction resolve(path) {\n const posix = path.split('/').filter(item => item !== '.');\n const newPosix = [];\n posix.forEach(item => {\n if (item === '..' &&\n newPosix.length > 0 &&\n newPosix[newPosix.length - 1] !== '..') {\n newPosix.pop();\n }\n else {\n newPosix.push(item);\n }\n });\n return newPosix.join('/');\n}\nfunction isPathParent(parent, children) {\n parent = resolve(parent);\n children = resolve(children);\n const pathsA = parent.split('/');\n const pathsB = children.split('/');\n return (parent !== children &&\n pathsA.every((value, index) => value === pathsB[index]));\n}\nexport class FilesystemWeb extends WebPlugin {\n constructor() {\n super(...arguments);\n this.DB_VERSION = 1;\n this.DB_NAME = 'Disc';\n this._writeCmds = ['add', 'put', 'delete'];\n /**\n * Function that performs a http request to a server and downloads the file to the specified destination\n *\n * @param options the options for the download operation\n * @returns a promise that resolves with the download file result\n */\n this.downloadFile = async (options) => {\n var _a, _b;\n const requestInit = buildRequestInit(options, options.webFetchExtra);\n const response = await fetch(options.url, requestInit);\n let blob;\n if (!options.progress)\n blob = await response.blob();\n else if (!(response === null || response === void 0 ? void 0 : response.body))\n blob = new Blob();\n else {\n const reader = response.body.getReader();\n let bytes = 0;\n const chunks = [];\n const contentType = response.headers.get('content-type');\n const contentLength = parseInt(response.headers.get('content-length') || '0', 10);\n while (true) {\n const { done, value } = await reader.read();\n if (done)\n break;\n chunks.push(value);\n bytes += (value === null || value === void 0 ? void 0 : value.length) || 0;\n const status = {\n url: options.url,\n bytes,\n contentLength,\n };\n this.notifyListeners('progress', status);\n }\n const allChunks = new Uint8Array(bytes);\n let position = 0;\n for (const chunk of chunks) {\n if (typeof chunk === 'undefined')\n continue;\n allChunks.set(chunk, position);\n position += chunk.length;\n }\n blob = new Blob([allChunks.buffer], { type: contentType || undefined });\n }\n const result = await this.writeFile({\n path: options.path,\n directory: (_a = options.directory) !== null && _a !== void 0 ? _a : undefined,\n recursive: (_b = options.recursive) !== null && _b !== void 0 ? _b : false,\n data: blob,\n });\n return { path: result.uri, blob };\n };\n }\n async initDb() {\n if (this._db !== undefined) {\n return this._db;\n }\n if (!('indexedDB' in window)) {\n throw this.unavailable(\"This browser doesn't support IndexedDB\");\n }\n return new Promise((resolve, reject) => {\n const request = indexedDB.open(this.DB_NAME, this.DB_VERSION);\n request.onupgradeneeded = FilesystemWeb.doUpgrade;\n request.onsuccess = () => {\n this._db = request.result;\n resolve(request.result);\n };\n request.onerror = () => reject(request.error);\n request.onblocked = () => {\n console.warn('db blocked');\n };\n });\n }\n static doUpgrade(event) {\n const eventTarget = event.target;\n const db = eventTarget.result;\n switch (event.oldVersion) {\n case 0:\n case 1:\n default: {\n if (db.objectStoreNames.contains('FileStorage')) {\n db.deleteObjectStore('FileStorage');\n }\n const store = db.createObjectStore('FileStorage', { keyPath: 'path' });\n store.createIndex('by_folder', 'folder');\n }\n }\n }\n async dbRequest(cmd, args) {\n const readFlag = this._writeCmds.indexOf(cmd) !== -1 ? 'readwrite' : 'readonly';\n return this.initDb().then((conn) => {\n return new Promise((resolve, reject) => {\n const tx = conn.transaction(['FileStorage'], readFlag);\n const store = tx.objectStore('FileStorage');\n const req = store[cmd](...args);\n req.onsuccess = () => resolve(req.result);\n req.onerror = () => reject(req.error);\n });\n });\n }\n async dbIndexRequest(indexName, cmd, args) {\n const readFlag = this._writeCmds.indexOf(cmd) !== -1 ? 'readwrite' : 'readonly';\n return this.initDb().then((conn) => {\n return new Promise((resolve, reject) => {\n const tx = conn.transaction(['FileStorage'], readFlag);\n const store = tx.objectStore('FileStorage');\n const index = store.index(indexName);\n const req = index[cmd](...args);\n req.onsuccess = () => resolve(req.result);\n req.onerror = () => reject(req.error);\n });\n });\n }\n getPath(directory, uriPath) {\n const cleanedUriPath = uriPath !== undefined ? uriPath.replace(/^[/]+|[/]+$/g, '') : '';\n let fsPath = '';\n if (directory !== undefined)\n fsPath += '/' + directory;\n if (uriPath !== '')\n fsPath += '/' + cleanedUriPath;\n return fsPath;\n }\n async clear() {\n const conn = await this.initDb();\n const tx = conn.transaction(['FileStorage'], 'readwrite');\n const store = tx.objectStore('FileStorage');\n store.clear();\n }\n /**\n * Read a file from disk\n * @param options options for the file read\n * @return a promise that resolves with the read file data result\n */\n async readFile(options) {\n const path = this.getPath(options.directory, options.path);\n // const encoding = options.encoding;\n const entry = (await this.dbRequest('get', [path]));\n if (entry === undefined)\n throw Error('File does not exist.');\n return { data: entry.content ? entry.content : '' };\n }\n /**\n * Write a file to disk in the specified location on device\n * @param options options for the file write\n * @return a promise that resolves with the file write result\n */\n async writeFile(options) {\n const path = this.getPath(options.directory, options.path);\n let data = options.data;\n const encoding = options.encoding;\n const doRecursive = options.recursive;\n const occupiedEntry = (await this.dbRequest('get', [path]));\n if (occupiedEntry && occupiedEntry.type === 'directory')\n throw Error('The supplied path is a directory.');\n const parentPath = path.substr(0, path.lastIndexOf('/'));\n const parentEntry = (await this.dbRequest('get', [parentPath]));\n if (parentEntry === undefined) {\n const subDirIndex = parentPath.indexOf('/', 1);\n if (subDirIndex !== -1) {\n const parentArgPath = parentPath.substr(subDirIndex);\n await this.mkdir({\n path: parentArgPath,\n directory: options.directory,\n recursive: doRecursive,\n });\n }\n }\n if (!encoding && !(data instanceof Blob)) {\n data = data.indexOf(',') >= 0 ? data.split(',')[1] : data;\n if (!this.isBase64String(data))\n throw Error('The supplied data is not valid base64 content.');\n }\n const now = Date.now();\n const pathObj = {\n path: path,\n folder: parentPath,\n type: 'file',\n size: data instanceof Blob ? data.size : data.length,\n ctime: now,\n mtime: now,\n content: data,\n };\n await this.dbRequest('put', [pathObj]);\n return {\n uri: pathObj.path,\n };\n }\n /**\n * Append to a file on disk in the specified location on device\n * @param options options for the file append\n * @return a promise that resolves with the file write result\n */\n async appendFile(options) {\n const path = this.getPath(options.directory, options.path);\n let data = options.data;\n const encoding = options.encoding;\n const parentPath = path.substr(0, path.lastIndexOf('/'));\n const now = Date.now();\n let ctime = now;\n const occupiedEntry = (await this.dbRequest('get', [path]));\n if (occupiedEntry && occupiedEntry.type === 'directory')\n throw Error('The supplied path is a directory.');\n const parentEntry = (await this.dbRequest('get', [parentPath]));\n if (parentEntry === undefined) {\n const subDirIndex = parentPath.indexOf('/', 1);\n if (subDirIndex !== -1) {\n const parentArgPath = parentPath.substr(subDirIndex);\n await this.mkdir({\n path: parentArgPath,\n directory: options.directory,\n recursive: true,\n });\n }\n }\n if (!encoding && !this.isBase64String(data))\n throw Error('The supplied data is not valid base64 content.');\n if (occupiedEntry !== undefined) {\n if (occupiedEntry.content instanceof Blob) {\n throw Error('The occupied entry contains a Blob object which cannot be appended to.');\n }\n if (occupiedEntry.content !== undefined && !encoding) {\n data = btoa(atob(occupiedEntry.content) + atob(data));\n }\n else {\n data = occupiedEntry.content + data;\n }\n ctime = occupiedEntry.ctime;\n }\n const pathObj = {\n path: path,\n folder: parentPath,\n type: 'file',\n size: data.length,\n ctime: ctime,\n mtime: now,\n content: data,\n };\n await this.dbRequest('put', [pathObj]);\n }\n /**\n * Delete a file from disk\n * @param options options for the file delete\n * @return a promise that resolves with the deleted file data result\n */\n async deleteFile(options) {\n const path = this.getPath(options.directory, options.path);\n const entry = (await this.dbRequest('get', [path]));\n if (entry === undefined)\n throw Error('File does not exist.');\n const entries = await this.dbIndexRequest('by_folder', 'getAllKeys', [\n IDBKeyRange.only(path),\n ]);\n if (entries.length !== 0)\n throw Error('Folder is not empty.');\n await this.dbRequest('delete', [path]);\n }\n /**\n * Create a directory.\n * @param options options for the mkdir\n * @return a promise that resolves with the mkdir result\n */\n async mkdir(options) {\n const path = this.getPath(options.directory, options.path);\n const doRecursive = options.recursive;\n const parentPath = path.substr(0, path.lastIndexOf('/'));\n const depth = (path.match(/\\//g) || []).length;\n const parentEntry = (await this.dbRequest('get', [parentPath]));\n const occupiedEntry = (await this.dbRequest('get', [path]));\n if (depth === 1)\n throw Error('Cannot create Root directory');\n if (occupiedEntry !== undefined)\n throw Error('Current directory does already exist.');\n if (!doRecursive && depth !== 2 && parentEntry === undefined)\n throw Error('Parent directory must exist');\n if (doRecursive && depth !== 2 && parentEntry === undefined) {\n const parentArgPath = parentPath.substr(parentPath.indexOf('/', 1));\n await this.mkdir({\n path: parentArgPath,\n directory: options.directory,\n recursive: doRecursive,\n });\n }\n const now = Date.now();\n const pathObj = {\n path: path,\n folder: parentPath,\n type: 'directory',\n size: 0,\n ctime: now,\n mtime: now,\n };\n await this.dbRequest('put', [pathObj]);\n }\n /**\n * Remove a directory\n * @param options the options for the directory remove\n */\n async rmdir(options) {\n const { path, directory, recursive } = options;\n const fullPath = this.getPath(directory, path);\n const entry = (await this.dbRequest('get', [fullPath]));\n if (entry === undefined)\n throw Error('Folder does not exist.');\n if (entry.type !== 'directory')\n throw Error('Requested path is not a directory');\n const readDirResult = await this.readdir({ path, directory });\n if (readDirResult.files.length !== 0 && !recursive)\n throw Error('Folder is not empty');\n for (const entry of readDirResult.files) {\n const entryPath = `${path}/${entry.name}`;\n const entryObj = await this.stat({ path: entryPath, directory });\n if (entryObj.type === 'file') {\n await this.deleteFile({ path: entryPath, directory });\n }\n else {\n await this.rmdir({ path: entryPath, directory, recursive });\n }\n }\n await this.dbRequest('delete', [fullPath]);\n }\n /**\n * Return a list of files from the directory (not recursive)\n * @param options the options for the readdir operation\n * @return a promise that resolves with the readdir directory listing result\n */\n async readdir(options) {\n const path = this.getPath(options.directory, options.path);\n const entry = (await this.dbRequest('get', [path]));\n if (options.path !== '' && entry === undefined)\n throw Error('Folder does not exist.');\n const entries = await this.dbIndexRequest('by_folder', 'getAllKeys', [IDBKeyRange.only(path)]);\n const files = await Promise.all(entries.map(async (e) => {\n let subEntry = (await this.dbRequest('get', [e]));\n if (subEntry === undefined) {\n subEntry = (await this.dbRequest('get', [e + '/']));\n }\n return {\n name: e.substring(path.length + 1),\n type: subEntry.type,\n size: subEntry.size,\n ctime: subEntry.ctime,\n mtime: subEntry.mtime,\n uri: subEntry.path,\n };\n }));\n return { files: files };\n }\n /**\n * Return full File URI for a path and directory\n * @param options the options for the stat operation\n * @return a promise that resolves with the file stat result\n */\n async getUri(options) {\n const path = this.getPath(options.directory, options.path);\n let entry = (await this.dbRequest('get', [path]));\n if (entry === undefined) {\n entry = (await this.dbRequest('get', [path + '/']));\n }\n return {\n uri: (entry === null || entry === void 0 ? void 0 : entry.path) || path,\n };\n }\n /**\n * Return data about a file\n * @param options the options for the stat operation\n * @return a promise that resolves with the file stat result\n */\n async stat(options) {\n const path = this.getPath(options.directory, options.path);\n let entry = (await this.dbRequest('get', [path]));\n if (entry === undefined) {\n entry = (await this.dbRequest('get', [path + '/']));\n }\n if (entry === undefined)\n throw Error('Entry does not exist.');\n return {\n type: entry.type,\n size: entry.size,\n ctime: entry.ctime,\n mtime: entry.mtime,\n uri: entry.path,\n };\n }\n /**\n * Rename a file or directory\n * @param options the options for the rename operation\n * @return a promise that resolves with the rename result\n */\n async rename(options) {\n await this._copy(options, true);\n return;\n }\n /**\n * Copy a file or directory\n * @param options the options for the copy operation\n * @return a promise that resolves with the copy result\n */\n async copy(options) {\n return this._copy(options, false);\n }\n async requestPermissions() {\n return { publicStorage: 'granted' };\n }\n async checkPermissions() {\n return { publicStorage: 'granted' };\n }\n /**\n * Function that can perform a copy or a rename\n * @param options the options for the rename operation\n * @param doRename whether to perform a rename or copy operation\n * @return a promise that resolves with the result\n */\n async _copy(options, doRename = false) {\n let { toDirectory } = options;\n const { to, from, directory: fromDirectory } = options;\n if (!to || !from) {\n throw Error('Both to and from must be provided');\n }\n // If no \"to\" directory is provided, use the \"from\" directory\n if (!toDirectory) {\n toDirectory = fromDirectory;\n }\n const fromPath = this.getPath(fromDirectory, from);\n const toPath = this.getPath(toDirectory, to);\n // Test that the \"to\" and \"from\" locations are different\n if (fromPath === toPath) {\n return {\n uri: toPath,\n };\n }\n if (isPathParent(fromPath, toPath)) {\n throw Error('To path cannot contain the from path');\n }\n // Check the state of the \"to\" location\n let toObj;\n try {\n toObj = await this.stat({\n path: to,\n directory: toDirectory,\n });\n }\n catch (e) {\n // To location does not exist, ensure the directory containing \"to\" location exists and is a directory\n const toPathComponents = to.split('/');\n toPathComponents.pop();\n const toPath = toPathComponents.join('/');\n // Check the containing directory of the \"to\" location exists\n if (toPathComponents.length > 0) {\n const toParentDirectory = await this.stat({\n path: toPath,\n directory: toDirectory,\n });\n if (toParentDirectory.type !== 'directory') {\n throw new Error('Parent directory of the to path is a file');\n }\n }\n }\n // Cannot overwrite a directory\n if (toObj && toObj.type === 'directory') {\n throw new Error('Cannot overwrite a directory with a file');\n }\n // Ensure the \"from\" object exists\n const fromObj = await this.stat({\n path: from,\n directory: fromDirectory,\n });\n // Set the mtime/ctime of the supplied path\n const updateTime = async (path, ctime, mtime) => {\n const fullPath = this.getPath(toDirectory, path);\n const entry = (await this.dbRequest('get', [fullPath]));\n entry.ctime = ctime;\n entry.mtime = mtime;\n await this.dbRequest('put', [entry]);\n };\n const ctime = fromObj.ctime ? fromObj.ctime : Date.now();\n switch (fromObj.type) {\n // The \"from\" object is a file\n case 'file': {\n // Read the file\n const file = await this.readFile({\n path: from,\n directory: fromDirectory,\n });\n // Optionally remove the file\n if (doRename) {\n await this.deleteFile({\n path: from,\n directory: fromDirectory,\n });\n }\n let encoding;\n if (!(file.data instanceof Blob) && !this.isBase64String(file.data)) {\n encoding = Encoding.UTF8;\n }\n // Write the file to the new location\n const writeResult = await this.writeFile({\n path: to,\n directory: toDirectory,\n data: file.data,\n encoding: encoding,\n });\n // Copy the mtime/ctime of a renamed file\n if (doRename) {\n await updateTime(to, ctime, fromObj.mtime);\n }\n // Resolve promise\n return writeResult;\n }\n case 'directory': {\n if (toObj) {\n throw Error('Cannot move a directory over an existing object');\n }\n try {\n // Create the to directory\n await this.mkdir({\n path: to,\n directory: toDirectory,\n recursive: false,\n });\n // Copy the mtime/ctime of a renamed directory\n if (doRename) {\n await updateTime(to, ctime, fromObj.mtime);\n }\n }\n catch (e) {\n // ignore\n }\n // Iterate over the contents of the from location\n const contents = (await this.readdir({\n path: from,\n directory: fromDirectory,\n })).files;\n for (const filename of contents) {\n // Move item from the from directory to the to directory\n await this._copy({\n from: `${from}/${filename.name}`,\n to: `${to}/${filename.name}`,\n directory: fromDirectory,\n toDirectory,\n }, doRename);\n }\n // Optionally remove the original from directory\n if (doRename) {\n await this.rmdir({\n path: from,\n directory: fromDirectory,\n });\n }\n }\n }\n return {\n uri: toPath,\n };\n }\n isBase64String(str) {\n try {\n return btoa(atob(str)) == str;\n }\n catch (err) {\n return false;\n }\n }\n}\nFilesystemWeb._debug = true;\n//# sourceMappingURL=web.js.map"],"version":3}
1
+ {"file":"web-08ea09e6.js","mappings":";;;;AAEA,SAAS,OAAO,CAAC,IAAI,EAAE;AACvB,IAAI,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC;AAC/D,IAAI,MAAM,QAAQ,GAAG,EAAE,CAAC;AACxB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,IAAI;AAC1B,QAAQ,IAAI,IAAI,KAAK,IAAI;AACzB,YAAY,QAAQ,CAAC,MAAM,GAAG,CAAC;AAC/B,YAAY,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE;AACpD,YAAY,QAAQ,CAA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Aa;AAChD,wBAAwB,WAAW;AACnC,qBAAqB,EAAE,QAAQ,CAAC,CAAC;AACjC,iBAAiB;AACjB;AACA,gBAAgB,IAAI,QAAQ,EAAE;AAC9B,oBAAoB,MAAM,IAAI,CAAC,KAAK,CAAC;AACrC,wBAAwB,IAAI,EAAE,IAAI;AAClC,wBAAwB,SAAS,EAAE,aAAa;AAChD,qBAAqB,CAAC,CAAC;AACvB,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,QAAQ,OAAO;AACf,YAAY,GAAG,EAAE,MAAM;AACvB,SAAS,CAAC;AACV,KAAK;AACL,IAAI,cAAc,CAAC,GAAG,EAAE;AACxB,QAAQ,IAAI;AACZ,YAAY,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC;AAC1C,SAAS;AACT,QAAQ,OAAO,GAAG,EAAE;AACpB,YAAY,OAAO,KAAK,CAAC;AACzB,SAAS;AACT,KAAK;AACL,CAAC;AACD,aAAa,CAAC,MAAM,GAAG,IAAI;;;;","names":[],"sources":["node_modules/@capacitor/filesystem/dist/esm/web.js"],"sourcesContent":["import { WebPlugin, buildRequestInit } from '@capacitor/core';\nimport { Encoding } from './definitions';\nfunction resolve(path) {\n const posix = path.split('/').filter(item => item !== '.');\n const newPosix = [];\n posix.forEach(item => {\n if (item === '..' &&\n newPosix.length > 0 &&\n newPosix[newPosix.length - 1] !== '..') {\n newPosix.pop();\n }\n else {\n newPosix.push(item);\n }\n });\n return newPosix.join('/');\n}\nfunction isPathParent(parent, children) {\n parent = resolve(parent);\n children = resolve(children);\n const pathsA = parent.split('/');\n const pathsB = children.split('/');\n return (parent !== children &&\n pathsA.every((value, index) => value === pathsB[index]));\n}\nexport class FilesystemWeb extends WebPlugin {\n constructor() {\n super(...arguments);\n this.DB_VERSION = 1;\n this.DB_NAME = 'Disc';\n this._writeCmds = ['add', 'put', 'delete'];\n /**\n * Function that performs a http request to a server and downloads the file to the specified destination\n *\n * @param options the options for the download operation\n * @returns a promise that resolves with the download file result\n */\n this.downloadFile = async (options) => {\n var _a, _b;\n const requestInit = buildRequestInit(options, options.webFetchExtra);\n const response = await fetch(options.url, requestInit);\n let blob;\n if (!options.progress)\n blob = await response.blob();\n else if (!(response === null || response === void 0 ? void 0 : response.body))\n blob = new Blob();\n else {\n const reader = response.body.getReader();\n let bytes = 0;\n const chunks = [];\n const contentType = response.headers.get('content-type');\n const contentLength = parseInt(response.headers.get('content-length') || '0', 10);\n while (true) {\n const { done, value } = await reader.read();\n if (done)\n break;\n chunks.push(value);\n bytes += (value === null || value === void 0 ? void 0 : value.length) || 0;\n const status = {\n url: options.url,\n bytes,\n contentLength,\n };\n this.notifyListeners('progress', status);\n }\n const allChunks = new Uint8Array(bytes);\n let position = 0;\n for (const chunk of chunks) {\n if (typeof chunk === 'undefined')\n continue;\n allChunks.set(chunk, position);\n position += chunk.length;\n }\n blob = new Blob([allChunks.buffer], { type: contentType || undefined });\n }\n const result = await this.writeFile({\n path: options.path,\n directory: (_a = options.directory) !== null && _a !== void 0 ? _a : undefined,\n recursive: (_b = options.recursive) !== null && _b !== void 0 ? _b : false,\n data: blob,\n });\n return { path: result.uri, blob };\n };\n }\n async initDb() {\n if (this._db !== undefined) {\n return this._db;\n }\n if (!('indexedDB' in window)) {\n throw this.unavailable(\"This browser doesn't support IndexedDB\");\n }\n return new Promise((resolve, reject) => {\n const request = indexedDB.open(this.DB_NAME, this.DB_VERSION);\n request.onupgradeneeded = FilesystemWeb.doUpgrade;\n request.onsuccess = () => {\n this._db = request.result;\n resolve(request.result);\n };\n request.onerror = () => reject(request.error);\n request.onblocked = () => {\n console.warn('db blocked');\n };\n });\n }\n static doUpgrade(event) {\n const eventTarget = event.target;\n const db = eventTarget.result;\n switch (event.oldVersion) {\n case 0:\n case 1:\n default: {\n if (db.objectStoreNames.contains('FileStorage')) {\n db.deleteObjectStore('FileStorage');\n }\n const store = db.createObjectStore('FileStorage', { keyPath: 'path' });\n store.createIndex('by_folder', 'folder');\n }\n }\n }\n async dbRequest(cmd, args) {\n const readFlag = this._writeCmds.indexOf(cmd) !== -1 ? 'readwrite' : 'readonly';\n return this.initDb().then((conn) => {\n return new Promise((resolve, reject) => {\n const tx = conn.transaction(['FileStorage'], readFlag);\n const store = tx.objectStore('FileStorage');\n const req = store[cmd](...args);\n req.onsuccess = () => resolve(req.result);\n req.onerror = () => reject(req.error);\n });\n });\n }\n async dbIndexRequest(indexName, cmd, args) {\n const readFlag = this._writeCmds.indexOf(cmd) !== -1 ? 'readwrite' : 'readonly';\n return this.initDb().then((conn) => {\n return new Promise((resolve, reject) => {\n const tx = conn.transaction(['FileStorage'], readFlag);\n const store = tx.objectStore('FileStorage');\n const index = store.index(indexName);\n const req = index[cmd](...args);\n req.onsuccess = () => resolve(req.result);\n req.onerror = () => reject(req.error);\n });\n });\n }\n getPath(directory, uriPath) {\n const cleanedUriPath = uriPath !== undefined ? uriPath.replace(/^[/]+|[/]+$/g, '') : '';\n let fsPath = '';\n if (directory !== undefined)\n fsPath += '/' + directory;\n if (uriPath !== '')\n fsPath += '/' + cleanedUriPath;\n return fsPath;\n }\n async clear() {\n const conn = await this.initDb();\n const tx = conn.transaction(['FileStorage'], 'readwrite');\n const store = tx.objectStore('FileStorage');\n store.clear();\n }\n /**\n * Read a file from disk\n * @param options options for the file read\n * @return a promise that resolves with the read file data result\n */\n async readFile(options) {\n const path = this.getPath(options.directory, options.path);\n // const encoding = options.encoding;\n const entry = (await this.dbRequest('get', [path]));\n if (entry === undefined)\n throw Error('File does not exist.');\n return { data: entry.content ? entry.content : '' };\n }\n /**\n * Write a file to disk in the specified location on device\n * @param options options for the file write\n * @return a promise that resolves with the file write result\n */\n async writeFile(options) {\n const path = this.getPath(options.directory, options.path);\n let data = options.data;\n const encoding = options.encoding;\n const doRecursive = options.recursive;\n const occupiedEntry = (await this.dbRequest('get', [path]));\n if (occupiedEntry && occupiedEntry.type === 'directory')\n throw Error('The supplied path is a directory.');\n const parentPath = path.substr(0, path.lastIndexOf('/'));\n const parentEntry = (await this.dbRequest('get', [parentPath]));\n if (parentEntry === undefined) {\n const subDirIndex = parentPath.indexOf('/', 1);\n if (subDirIndex !== -1) {\n const parentArgPath = parentPath.substr(subDirIndex);\n await this.mkdir({\n path: parentArgPath,\n directory: options.directory,\n recursive: doRecursive,\n });\n }\n }\n if (!encoding && !(data instanceof Blob)) {\n data = data.indexOf(',') >= 0 ? data.split(',')[1] : data;\n if (!this.isBase64String(data))\n throw Error('The supplied data is not valid base64 content.');\n }\n const now = Date.now();\n const pathObj = {\n path: path,\n folder: parentPath,\n type: 'file',\n size: data instanceof Blob ? data.size : data.length,\n ctime: now,\n mtime: now,\n content: data,\n };\n await this.dbRequest('put', [pathObj]);\n return {\n uri: pathObj.path,\n };\n }\n /**\n * Append to a file on disk in the specified location on device\n * @param options options for the file append\n * @return a promise that resolves with the file write result\n */\n async appendFile(options) {\n const path = this.getPath(options.directory, options.path);\n let data = options.data;\n const encoding = options.encoding;\n const parentPath = path.substr(0, path.lastIndexOf('/'));\n const now = Date.now();\n let ctime = now;\n const occupiedEntry = (await this.dbRequest('get', [path]));\n if (occupiedEntry && occupiedEntry.type === 'directory')\n throw Error('The supplied path is a directory.');\n const parentEntry = (await this.dbRequest('get', [parentPath]));\n if (parentEntry === undefined) {\n const subDirIndex = parentPath.indexOf('/', 1);\n if (subDirIndex !== -1) {\n const parentArgPath = parentPath.substr(subDirIndex);\n await this.mkdir({\n path: parentArgPath,\n directory: options.directory,\n recursive: true,\n });\n }\n }\n if (!encoding && !this.isBase64String(data))\n throw Error('The supplied data is not valid base64 content.');\n if (occupiedEntry !== undefined) {\n if (occupiedEntry.content instanceof Blob) {\n throw Error('The occupied entry contains a Blob object which cannot be appended to.');\n }\n if (occupiedEntry.content !== undefined && !encoding) {\n data = btoa(atob(occupiedEntry.content) + atob(data));\n }\n else {\n data = occupiedEntry.content + data;\n }\n ctime = occupiedEntry.ctime;\n }\n const pathObj = {\n path: path,\n folder: parentPath,\n type: 'file',\n size: data.length,\n ctime: ctime,\n mtime: now,\n content: data,\n };\n await this.dbRequest('put', [pathObj]);\n }\n /**\n * Delete a file from disk\n * @param options options for the file delete\n * @return a promise that resolves with the deleted file data result\n */\n async deleteFile(options) {\n const path = this.getPath(options.directory, options.path);\n const entry = (await this.dbRequest('get', [path]));\n if (entry === undefined)\n throw Error('File does not exist.');\n const entries = await this.dbIndexRequest('by_folder', 'getAllKeys', [\n IDBKeyRange.only(path),\n ]);\n if (entries.length !== 0)\n throw Error('Folder is not empty.');\n await this.dbRequest('delete', [path]);\n }\n /**\n * Create a directory.\n * @param options options for the mkdir\n * @return a promise that resolves with the mkdir result\n */\n async mkdir(options) {\n const path = this.getPath(options.directory, options.path);\n const doRecursive = options.recursive;\n const parentPath = path.substr(0, path.lastIndexOf('/'));\n const depth = (path.match(/\\//g) || []).length;\n const parentEntry = (await this.dbRequest('get', [parentPath]));\n const occupiedEntry = (await this.dbRequest('get', [path]));\n if (depth === 1)\n throw Error('Cannot create Root directory');\n if (occupiedEntry !== undefined)\n throw Error('Current directory does already exist.');\n if (!doRecursive && depth !== 2 && parentEntry === undefined)\n throw Error('Parent directory must exist');\n if (doRecursive && depth !== 2 && parentEntry === undefined) {\n const parentArgPath = parentPath.substr(parentPath.indexOf('/', 1));\n await this.mkdir({\n path: parentArgPath,\n directory: options.directory,\n recursive: doRecursive,\n });\n }\n const now = Date.now();\n const pathObj = {\n path: path,\n folder: parentPath,\n type: 'directory',\n size: 0,\n ctime: now,\n mtime: now,\n };\n await this.dbRequest('put', [pathObj]);\n }\n /**\n * Remove a directory\n * @param options the options for the directory remove\n */\n async rmdir(options) {\n const { path, directory, recursive } = options;\n const fullPath = this.getPath(directory, path);\n const entry = (await this.dbRequest('get', [fullPath]));\n if (entry === undefined)\n throw Error('Folder does not exist.');\n if (entry.type !== 'directory')\n throw Error('Requested path is not a directory');\n const readDirResult = await this.readdir({ path, directory });\n if (readDirResult.files.length !== 0 && !recursive)\n throw Error('Folder is not empty');\n for (const entry of readDirResult.files) {\n const entryPath = `${path}/${entry.name}`;\n const entryObj = await this.stat({ path: entryPath, directory });\n if (entryObj.type === 'file') {\n await this.deleteFile({ path: entryPath, directory });\n }\n else {\n await this.rmdir({ path: entryPath, directory, recursive });\n }\n }\n await this.dbRequest('delete', [fullPath]);\n }\n /**\n * Return a list of files from the directory (not recursive)\n * @param options the options for the readdir operation\n * @return a promise that resolves with the readdir directory listing result\n */\n async readdir(options) {\n const path = this.getPath(options.directory, options.path);\n const entry = (await this.dbRequest('get', [path]));\n if (options.path !== '' && entry === undefined)\n throw Error('Folder does not exist.');\n const entries = await this.dbIndexRequest('by_folder', 'getAllKeys', [IDBKeyRange.only(path)]);\n const files = await Promise.all(entries.map(async (e) => {\n let subEntry = (await this.dbRequest('get', [e]));\n if (subEntry === undefined) {\n subEntry = (await this.dbRequest('get', [e + '/']));\n }\n return {\n name: e.substring(path.length + 1),\n type: subEntry.type,\n size: subEntry.size,\n ctime: subEntry.ctime,\n mtime: subEntry.mtime,\n uri: subEntry.path,\n };\n }));\n return { files: files };\n }\n /**\n * Return full File URI for a path and directory\n * @param options the options for the stat operation\n * @return a promise that resolves with the file stat result\n */\n async getUri(options) {\n const path = this.getPath(options.directory, options.path);\n let entry = (await this.dbRequest('get', [path]));\n if (entry === undefined) {\n entry = (await this.dbRequest('get', [path + '/']));\n }\n return {\n uri: (entry === null || entry === void 0 ? void 0 : entry.path) || path,\n };\n }\n /**\n * Return data about a file\n * @param options the options for the stat operation\n * @return a promise that resolves with the file stat result\n */\n async stat(options) {\n const path = this.getPath(options.directory, options.path);\n let entry = (await this.dbRequest('get', [path]));\n if (entry === undefined) {\n entry = (await this.dbRequest('get', [path + '/']));\n }\n if (entry === undefined)\n throw Error('Entry does not exist.');\n return {\n type: entry.type,\n size: entry.size,\n ctime: entry.ctime,\n mtime: entry.mtime,\n uri: entry.path,\n };\n }\n /**\n * Rename a file or directory\n * @param options the options for the rename operation\n * @return a promise that resolves with the rename result\n */\n async rename(options) {\n await this._copy(options, true);\n return;\n }\n /**\n * Copy a file or directory\n * @param options the options for the copy operation\n * @return a promise that resolves with the copy result\n */\n async copy(options) {\n return this._copy(options, false);\n }\n async requestPermissions() {\n return { publicStorage: 'granted' };\n }\n async checkPermissions() {\n return { publicStorage: 'granted' };\n }\n /**\n * Function that can perform a copy or a rename\n * @param options the options for the rename operation\n * @param doRename whether to perform a rename or copy operation\n * @return a promise that resolves with the result\n */\n async _copy(options, doRename = false) {\n let { toDirectory } = options;\n const { to, from, directory: fromDirectory } = options;\n if (!to || !from) {\n throw Error('Both to and from must be provided');\n }\n // If no \"to\" directory is provided, use the \"from\" directory\n if (!toDirectory) {\n toDirectory = fromDirectory;\n }\n const fromPath = this.getPath(fromDirectory, from);\n const toPath = this.getPath(toDirectory, to);\n // Test that the \"to\" and \"from\" locations are different\n if (fromPath === toPath) {\n return {\n uri: toPath,\n };\n }\n if (isPathParent(fromPath, toPath)) {\n throw Error('To path cannot contain the from path');\n }\n // Check the state of the \"to\" location\n let toObj;\n try {\n toObj = await this.stat({\n path: to,\n directory: toDirectory,\n });\n }\n catch (e) {\n // To location does not exist, ensure the directory containing \"to\" location exists and is a directory\n const toPathComponents = to.split('/');\n toPathComponents.pop();\n const toPath = toPathComponents.join('/');\n // Check the containing directory of the \"to\" location exists\n if (toPathComponents.length > 0) {\n const toParentDirectory = await this.stat({\n path: toPath,\n directory: toDirectory,\n });\n if (toParentDirectory.type !== 'directory') {\n throw new Error('Parent directory of the to path is a file');\n }\n }\n }\n // Cannot overwrite a directory\n if (toObj && toObj.type === 'directory') {\n throw new Error('Cannot overwrite a directory with a file');\n }\n // Ensure the \"from\" object exists\n const fromObj = await this.stat({\n path: from,\n directory: fromDirectory,\n });\n // Set the mtime/ctime of the supplied path\n const updateTime = async (path, ctime, mtime) => {\n const fullPath = this.getPath(toDirectory, path);\n const entry = (await this.dbRequest('get', [fullPath]));\n entry.ctime = ctime;\n entry.mtime = mtime;\n await this.dbRequest('put', [entry]);\n };\n const ctime = fromObj.ctime ? fromObj.ctime : Date.now();\n switch (fromObj.type) {\n // The \"from\" object is a file\n case 'file': {\n // Read the file\n const file = await this.readFile({\n path: from,\n directory: fromDirectory,\n });\n // Optionally remove the file\n if (doRename) {\n await this.deleteFile({\n path: from,\n directory: fromDirectory,\n });\n }\n let encoding;\n if (!(file.data instanceof Blob) && !this.isBase64String(file.data)) {\n encoding = Encoding.UTF8;\n }\n // Write the file to the new location\n const writeResult = await this.writeFile({\n path: to,\n directory: toDirectory,\n data: file.data,\n encoding: encoding,\n });\n // Copy the mtime/ctime of a renamed file\n if (doRename) {\n await updateTime(to, ctime, fromObj.mtime);\n }\n // Resolve promise\n return writeResult;\n }\n case 'directory': {\n if (toObj) {\n throw Error('Cannot move a directory over an existing object');\n }\n try {\n // Create the to directory\n await this.mkdir({\n path: to,\n directory: toDirectory,\n recursive: false,\n });\n // Copy the mtime/ctime of a renamed directory\n if (doRename) {\n await updateTime(to, ctime, fromObj.mtime);\n }\n }\n catch (e) {\n // ignore\n }\n // Iterate over the contents of the from location\n const contents = (await this.readdir({\n path: from,\n directory: fromDirectory,\n })).files;\n for (const filename of contents) {\n // Move item from the from directory to the to directory\n await this._copy({\n from: `${from}/${filename.name}`,\n to: `${to}/${filename.name}`,\n directory: fromDirectory,\n toDirectory,\n }, doRename);\n }\n // Optionally remove the original from directory\n if (doRename) {\n await this.rmdir({\n path: from,\n directory: fromDirectory,\n });\n }\n }\n }\n return {\n uri: toPath,\n };\n }\n isBase64String(str) {\n try {\n return btoa(atob(str)) == str;\n }\n catch (err) {\n return false;\n }\n }\n}\nFilesystemWeb._debug = true;\n//# sourceMappingURL=web.js.map"],"version":3}
@@ -1,2 +1,2 @@
1
- import{b as getWindow,n as nextTick,d as now,f as elementTransitionEnd}from"./pagination-1f55c22a.js";import{d as getAllPaginatedResults}from"./utils-5feb9281.js";function Mousewheel(e){var t=e.swiper,i=e.extendParams,r=e.on,n=e.emit;var a=getWindow();i({mousewheel:{enabled:false,releaseOnEdges:false,invert:false,forceToAxis:false,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}});t.mousewheel={enabled:false};var s;var o=now();var u;var l=[];function f(e){var t=10;var i=40;var r=800;var n=0;var a=0;var s=0;var o=0;if("detail"in e){a=e.detail}if("wheelDelta"in e){a=-e.wheelDelta/120}if("wheelDeltaY"in e){a=-e.wheelDeltaY/120}if("wheelDeltaX"in e){n=-e.wheelDeltaX/120}if("axis"in e&&e.axis===e.HORIZONTAL_AXIS){n=a;a=0}s=n*t;o=a*t;if("deltaY"in e){o=e.deltaY}if("deltaX"in e){s=e.deltaX}if(e.shiftKey&&!s){s=o;o=0}if((s||o)&&e.deltaMode){if(e.deltaMode===1){s*=i;o*=i}else{s*=r;o*=r}}if(s&&!n){n=s<1?-1:1}if(o&&!a){a=o<1?-1:1}return{spinX:n,spinY:a,pixelX:s,pixelY:o}}function c(){if(!t.enabled)return;t.mouseEntered=true}function d(){if(!t.enabled)return;t.mouseEntered=false}function g(e){if(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta){return false}if(t.params.mousewheel.thresholdTime&&now()-o<t.params.mousewheel.thresholdTime){return false}if(e.delta>=6&&now()-o<60){return true}if(e.direction<0){if((!t.isEnd||t.params.loop)&&!t.animating){t.slideNext();n("scroll",e.raw)}}else if((!t.isBeginning||t.params.loop)&&!t.animating){t.slidePrev();n("scroll",e.raw)}o=(new a.Date).getTime();return false}function v(e){var i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges){return true}}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges){return true}return false}function m(e){var i=e;var r=true;if(!t.enabled)return;if(e.target.closest(".".concat(t.params.mousewheel.noMousewheelClass)))return;var a=t.params.mousewheel;if(t.params.cssMode){i.preventDefault()}var o=t.el;if(t.params.mousewheel.eventsTarget!=="container"){o=document.querySelector(t.params.mousewheel.eventsTarget)}var c=o&&o.contains(i.target);if(!t.mouseEntered&&!c&&!a.releaseOnEdges)return true;if(i.originalEvent)i=i.originalEvent;var d=0;var m=t.rtlTranslate?-1:1;var h=f(i);if(a.forceToAxis){if(t.isHorizontal()){if(Math.abs(h.pixelX)>Math.abs(h.pixelY))d=-h.pixelX*m;else return true}else if(Math.abs(h.pixelY)>Math.abs(h.pixelX))d=-h.pixelY;else return true}else{d=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*m:-h.pixelY}if(d===0)return true;if(a.invert)d=-d;var p=t.getTranslate()+d*a.sensitivity;if(p>=t.minTranslate())p=t.minTranslate();if(p<=t.maxTranslate())p=t.maxTranslate();r=t.params.loop?true:!(p===t.minTranslate()||p===t.maxTranslate());if(r&&t.params.nested)i.stopPropagation();if(!t.params.freeMode||!t.params.freeMode.enabled){var T={time:now(),delta:Math.abs(d),direction:Math.sign(d),raw:e};if(l.length>=2){l.shift()}var w=l.length?l[l.length-1]:undefined;l.push(T);if(w){if(T.direction!==w.direction||T.delta>w.delta||T.time>w.time+150){g(T)}}else{g(T)}if(v(T)){return true}}else{var b={time:now(),delta:Math.abs(d),direction:Math.sign(d)};var M=u&&b.time<u.time+500&&b.delta<=u.delta&&b.direction===u.direction;if(!M){u=undefined;var y=t.getTranslate()+d*a.sensitivity;var C=t.isBeginning;var _=t.isEnd;if(y>=t.minTranslate())y=t.minTranslate();if(y<=t.maxTranslate())y=t.maxTranslate();t.setTransition(0);t.setTranslate(y);t.updateProgress();t.updateActiveIndex();t.updateSlidesClasses();if(!C&&t.isBeginning||!_&&t.isEnd){t.updateSlidesClasses()}if(t.params.loop){t.loopFix({direction:b.direction<0?"next":"prev",byMousewheel:true})}if(t.params.freeMode.sticky){clearTimeout(s);s=undefined;if(l.length>=15){l.shift()}var w=l.length?l[l.length-1]:undefined;var E=l[0];l.push(b);if(w&&(b.delta>w.delta||b.direction!==w.direction)){l.splice(0)}else if(l.length>=15&&b.time-E.time<500&&E.delta-b.delta>=1&&b.delta<=6){var k=d>0?.8:.2;u=b;l.splice(0);s=nextTick((function(){t.slideToClosest(t.params.speed,true,undefined,k)}),0)}if(!s){s=nextTick((function(){var e=.5;u=b;l.splice(0);t.slideToClosest(t.params.speed,true,undefined,e)}),500)}}if(!M)n("scroll",i);if(t.params.autoplay&&t.params.autoplayDisableOnInteraction)t.autoplay.stop();if(y===t.minTranslate()||y===t.maxTranslate())return true}}if(i.preventDefault)i.preventDefault();else i.returnValue=false;return false}function h(e){var i=t.el;if(t.params.mousewheel.eventsTarget!=="container"){i=document.querySelector(t.params.mousewheel.eventsTarget)}i[e]("mouseenter",c);i[e]("mouseleave",d);i[e]("wheel",m)}function p(){if(t.params.cssMode){t.wrapperEl.removeEventListener("wheel",m);return true}if(t.mousewheel.enabled)return false;h("addEventListener");t.mousewheel.enabled=true;return true}function T(){if(t.params.cssMode){t.wrapperEl.addEventListener(event,m);return true}if(!t.mousewheel.enabled)return false;h("removeEventListener");t.mousewheel.enabled=false;return true}r("init",(function(){if(!t.params.mousewheel.enabled&&t.params.cssMode){T()}if(t.params.mousewheel.enabled)p()}));r("destroy",(function(){if(t.params.cssMode){p()}if(t.mousewheel.enabled)T()}));Object.assign(t.mousewheel,{enable:p,disable:T})}function freeMode(e){var t=e.swiper,i=e.extendParams,r=e.emit,n=e.once;i({freeMode:{enabled:false,momentum:true,momentumRatio:1,momentumBounce:true,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:false,minimumVelocity:.02}});function a(){if(t.params.cssMode)return;var e=t.getTranslate();t.setTranslate(e);t.setTransition(0);t.touchEventsData.velocities.length=0;t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function s(){if(t.params.cssMode)return;var e=t.touchEventsData,i=t.touches;if(e.velocities.length===0){e.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime})}e.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:now()})}function o(e){var i=e.currentPos;if(t.params.cssMode)return;var a=t.params,s=t.wrapperEl,o=t.rtlTranslate,u=t.snapGrid,l=t.touchEventsData;var f=now();var c=f-l.touchStartTime;if(i<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(i>-t.maxTranslate()){if(t.slides.length<u.length){t.slideTo(u.length-1)}else{t.slideTo(t.slides.length-1)}return}if(a.freeMode.momentum){if(l.velocities.length>1){var d=l.velocities.pop();var g=l.velocities.pop();var v=d.position-g.position;var m=d.time-g.time;t.velocity=v/m;t.velocity/=2;if(Math.abs(t.velocity)<a.freeMode.minimumVelocity){t.velocity=0}if(m>150||now()-d.time>300){t.velocity=0}}else{t.velocity=0}t.velocity*=a.freeMode.momentumVelocityRatio;l.velocities.length=0;var h=1e3*a.freeMode.momentumRatio;var p=t.velocity*h;var T=t.translate+p;if(o)T=-T;var w=false;var b;var M=Math.abs(t.velocity)*20*a.freeMode.momentumBounceRatio;var y=void 0;if(T<t.maxTranslate()){if(a.freeMode.momentumBounce){if(T+t.maxTranslate()<-M){T=t.maxTranslate()-M}b=t.maxTranslate();w=true;l.allowMomentumBounce=true}else{T=t.maxTranslate()}if(a.loop&&a.centeredSlides)y=true}else if(T>t.minTranslate()){if(a.freeMode.momentumBounce){if(T-t.minTranslate()>M){T=t.minTranslate()+M}b=t.minTranslate();w=true;l.allowMomentumBounce=true}else{T=t.minTranslate()}if(a.loop&&a.centeredSlides)y=true}else if(a.freeMode.sticky){var C=void 0;for(var _=0;_<u.length;_+=1){if(u[_]>-T){C=_;break}}if(Math.abs(u[C]-T)<Math.abs(u[C-1]-T)||t.swipeDirection==="next"){T=u[C]}else{T=u[C-1]}T=-T}if(y){n("transitionEnd",(function(){t.loopFix()}))}if(t.velocity!==0){if(o){h=Math.abs((-T-t.translate)/t.velocity)}else{h=Math.abs((T-t.translate)/t.velocity)}if(a.freeMode.sticky){var E=Math.abs((o?-T:T)-t.translate);var k=t.slidesSizesGrid[t.activeIndex];if(E<k){h=a.speed}else if(E<2*k){h=a.speed*1.5}else{h=a.speed*2.5}}}else if(a.freeMode.sticky){t.slideToClosest();return}if(a.freeMode.momentumBounce&&w){t.updateProgress(b);t.setTransition(h);t.setTranslate(T);t.transitionStart(true,t.swipeDirection);t.animating=true;elementTransitionEnd(s,(function(){if(!t||t.destroyed||!l.allowMomentumBounce)return;r("momentumBounce");t.setTransition(a.speed);setTimeout((function(){t.setTranslate(b);elementTransitionEnd(s,(function(){if(!t||t.destroyed)return;t.transitionEnd()}))}),0)}))}else if(t.velocity){r("_freeModeNoMomentumRelease");t.updateProgress(T);t.setTransition(h);t.setTranslate(T);t.transitionStart(true,t.swipeDirection);if(!t.animating){t.animating=true;elementTransitionEnd(s,(function(){if(!t||t.destroyed)return;t.transitionEnd()}))}}else{t.updateProgress(T)}t.updateActiveIndex();t.updateSlidesClasses()}else if(a.freeMode.sticky){t.slideToClosest();return}else if(a.freeMode){r("_freeModeNoMomentumRelease")}if(!a.freeMode.momentum||c>=a.longSwipesMs){t.updateProgress();t.updateActiveIndex();t.updateSlidesClasses()}}Object.assign(t,{freeMode:{onTouchStart:a,onTouchMove:s,onTouchEnd:o}})}var CloseIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/></svg>';var DownloadIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"/></svg>';function getTouristicContent(e,t,i,r){return fetch("".concat(e,"touristiccontent/").concat(i,"/?language=").concat(t,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearTrek(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearTrekCount(e,t,i,r){return fetch("".concat(e,"touristiccontent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id&page_size=1"),r)}function getTouristicContentsNearOutdoorSite(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_outdoorsite=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearOutdoorCourse(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_outdoorcourse=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentCategory(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent_category/?language=").concat(t).concat(i?"&portals=".concat(i):"","&published=true&fields=id,label,pictogram"),r)}function getTouristicContentsList(e,t,i,r,n,a,s,o,u){var l="".concat(e,"touristiccontent/?language=").concat(t,"&published=true");i&&(l+="&in_bbox=".concat(i));r&&(l+="&cities=".concat(r));n&&(l+="&districts=".concat(n));a&&(l+="&structures=".concat(a));s&&(l+="&themes=".concat(s));o&&(l+="&portals=".concat(o));l+="&fields=id,name,attachments,category,geometry,cities,districts";return getAllPaginatedResults(l,u)}function getTouristicEvent(e,t,i,r){return fetch("".concat(e,"touristicevent/").concat(i,"/?language=").concat(t,"&fields=id,name,attachments,description,description_teaser,type,geometry,cities,pdf,practical_info,contact,email,website,begin_date,end_date&published=true"),r)}function getTouristicEventsNearTrek(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventsNearTrekCount(e,t,i,r){return fetch("".concat(e,"touristicevent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id&page_size=1"),r)}function getTouristicEventsNearOutdoorSite(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_outdoorsite=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventsNearOutdoorCourse(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_outdoorcourse=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventType(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent_type/?language=").concat(t).concat(i?"&portals=".concat(i):"","&published=true&fields=id,type,pictogram"),r)}function getTouristicEventsList(e,t,i,r,n,a,s,o,u){var l="".concat(e,"touristicevent/?language=").concat(t,"&published=true");i&&(l+="&in_bbox=".concat(i));r&&(l+="&cities=".concat(r));n&&(l+="&districts=".concat(n));a&&(l+="&structures=".concat(a));s&&(l+="&themes=".concat(s));o&&(l+="&portals=".concat(o));l+="&fields=id,name,attachments,category,geometry,cities,districts,type,begin_date,end_date";return getAllPaginatedResults(l,u)}var CallIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12ZM241-600l66-66-17-94h-89q5 41 14 81t26 79Zm358 358q39 17 79.5 27t81.5 13v-88l-94-19-67 67ZM241-600Zm358 358Z"/></svg>';export{CloseIcon as C,DownloadIcon as D,Mousewheel as M,getTouristicContentCategory as a,getTouristicEventsNearOutdoorCourse as b,getTouristicEventType as c,getTouristicContentsNearOutdoorSite as d,getTouristicEventsNearOutdoorSite as e,freeMode as f,getTouristicContentsNearOutdoorCourse as g,getTouristicContentsList as h,getTouristicEventsList as i,getTouristicContentsNearTrek as j,getTouristicEventsNearTrek as k,CallIcon as l,getTouristicContentsNearTrekCount as m,getTouristicEventsNearTrekCount as n,getTouristicContent as o,getTouristicEvent as p};
2
- //# sourceMappingURL=call-c0c920b0.js.map
1
+ import{b as getWindow,n as nextTick,d as now,f as elementTransitionEnd}from"./pagination-1f55c22a.js";import{d as getAllPaginatedResults}from"./utils-b1ca48b3.js";function Mousewheel(e){var t=e.swiper,i=e.extendParams,r=e.on,n=e.emit;var a=getWindow();i({mousewheel:{enabled:false,releaseOnEdges:false,invert:false,forceToAxis:false,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}});t.mousewheel={enabled:false};var s;var o=now();var u;var l=[];function f(e){var t=10;var i=40;var r=800;var n=0;var a=0;var s=0;var o=0;if("detail"in e){a=e.detail}if("wheelDelta"in e){a=-e.wheelDelta/120}if("wheelDeltaY"in e){a=-e.wheelDeltaY/120}if("wheelDeltaX"in e){n=-e.wheelDeltaX/120}if("axis"in e&&e.axis===e.HORIZONTAL_AXIS){n=a;a=0}s=n*t;o=a*t;if("deltaY"in e){o=e.deltaY}if("deltaX"in e){s=e.deltaX}if(e.shiftKey&&!s){s=o;o=0}if((s||o)&&e.deltaMode){if(e.deltaMode===1){s*=i;o*=i}else{s*=r;o*=r}}if(s&&!n){n=s<1?-1:1}if(o&&!a){a=o<1?-1:1}return{spinX:n,spinY:a,pixelX:s,pixelY:o}}function c(){if(!t.enabled)return;t.mouseEntered=true}function d(){if(!t.enabled)return;t.mouseEntered=false}function g(e){if(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta){return false}if(t.params.mousewheel.thresholdTime&&now()-o<t.params.mousewheel.thresholdTime){return false}if(e.delta>=6&&now()-o<60){return true}if(e.direction<0){if((!t.isEnd||t.params.loop)&&!t.animating){t.slideNext();n("scroll",e.raw)}}else if((!t.isBeginning||t.params.loop)&&!t.animating){t.slidePrev();n("scroll",e.raw)}o=(new a.Date).getTime();return false}function v(e){var i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges){return true}}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges){return true}return false}function m(e){var i=e;var r=true;if(!t.enabled)return;if(e.target.closest(".".concat(t.params.mousewheel.noMousewheelClass)))return;var a=t.params.mousewheel;if(t.params.cssMode){i.preventDefault()}var o=t.el;if(t.params.mousewheel.eventsTarget!=="container"){o=document.querySelector(t.params.mousewheel.eventsTarget)}var c=o&&o.contains(i.target);if(!t.mouseEntered&&!c&&!a.releaseOnEdges)return true;if(i.originalEvent)i=i.originalEvent;var d=0;var m=t.rtlTranslate?-1:1;var h=f(i);if(a.forceToAxis){if(t.isHorizontal()){if(Math.abs(h.pixelX)>Math.abs(h.pixelY))d=-h.pixelX*m;else return true}else if(Math.abs(h.pixelY)>Math.abs(h.pixelX))d=-h.pixelY;else return true}else{d=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*m:-h.pixelY}if(d===0)return true;if(a.invert)d=-d;var p=t.getTranslate()+d*a.sensitivity;if(p>=t.minTranslate())p=t.minTranslate();if(p<=t.maxTranslate())p=t.maxTranslate();r=t.params.loop?true:!(p===t.minTranslate()||p===t.maxTranslate());if(r&&t.params.nested)i.stopPropagation();if(!t.params.freeMode||!t.params.freeMode.enabled){var T={time:now(),delta:Math.abs(d),direction:Math.sign(d),raw:e};if(l.length>=2){l.shift()}var w=l.length?l[l.length-1]:undefined;l.push(T);if(w){if(T.direction!==w.direction||T.delta>w.delta||T.time>w.time+150){g(T)}}else{g(T)}if(v(T)){return true}}else{var b={time:now(),delta:Math.abs(d),direction:Math.sign(d)};var M=u&&b.time<u.time+500&&b.delta<=u.delta&&b.direction===u.direction;if(!M){u=undefined;var y=t.getTranslate()+d*a.sensitivity;var C=t.isBeginning;var _=t.isEnd;if(y>=t.minTranslate())y=t.minTranslate();if(y<=t.maxTranslate())y=t.maxTranslate();t.setTransition(0);t.setTranslate(y);t.updateProgress();t.updateActiveIndex();t.updateSlidesClasses();if(!C&&t.isBeginning||!_&&t.isEnd){t.updateSlidesClasses()}if(t.params.loop){t.loopFix({direction:b.direction<0?"next":"prev",byMousewheel:true})}if(t.params.freeMode.sticky){clearTimeout(s);s=undefined;if(l.length>=15){l.shift()}var w=l.length?l[l.length-1]:undefined;var E=l[0];l.push(b);if(w&&(b.delta>w.delta||b.direction!==w.direction)){l.splice(0)}else if(l.length>=15&&b.time-E.time<500&&E.delta-b.delta>=1&&b.delta<=6){var k=d>0?.8:.2;u=b;l.splice(0);s=nextTick((function(){t.slideToClosest(t.params.speed,true,undefined,k)}),0)}if(!s){s=nextTick((function(){var e=.5;u=b;l.splice(0);t.slideToClosest(t.params.speed,true,undefined,e)}),500)}}if(!M)n("scroll",i);if(t.params.autoplay&&t.params.autoplayDisableOnInteraction)t.autoplay.stop();if(y===t.minTranslate()||y===t.maxTranslate())return true}}if(i.preventDefault)i.preventDefault();else i.returnValue=false;return false}function h(e){var i=t.el;if(t.params.mousewheel.eventsTarget!=="container"){i=document.querySelector(t.params.mousewheel.eventsTarget)}i[e]("mouseenter",c);i[e]("mouseleave",d);i[e]("wheel",m)}function p(){if(t.params.cssMode){t.wrapperEl.removeEventListener("wheel",m);return true}if(t.mousewheel.enabled)return false;h("addEventListener");t.mousewheel.enabled=true;return true}function T(){if(t.params.cssMode){t.wrapperEl.addEventListener(event,m);return true}if(!t.mousewheel.enabled)return false;h("removeEventListener");t.mousewheel.enabled=false;return true}r("init",(function(){if(!t.params.mousewheel.enabled&&t.params.cssMode){T()}if(t.params.mousewheel.enabled)p()}));r("destroy",(function(){if(t.params.cssMode){p()}if(t.mousewheel.enabled)T()}));Object.assign(t.mousewheel,{enable:p,disable:T})}function freeMode(e){var t=e.swiper,i=e.extendParams,r=e.emit,n=e.once;i({freeMode:{enabled:false,momentum:true,momentumRatio:1,momentumBounce:true,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:false,minimumVelocity:.02}});function a(){if(t.params.cssMode)return;var e=t.getTranslate();t.setTranslate(e);t.setTransition(0);t.touchEventsData.velocities.length=0;t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function s(){if(t.params.cssMode)return;var e=t.touchEventsData,i=t.touches;if(e.velocities.length===0){e.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime})}e.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:now()})}function o(e){var i=e.currentPos;if(t.params.cssMode)return;var a=t.params,s=t.wrapperEl,o=t.rtlTranslate,u=t.snapGrid,l=t.touchEventsData;var f=now();var c=f-l.touchStartTime;if(i<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(i>-t.maxTranslate()){if(t.slides.length<u.length){t.slideTo(u.length-1)}else{t.slideTo(t.slides.length-1)}return}if(a.freeMode.momentum){if(l.velocities.length>1){var d=l.velocities.pop();var g=l.velocities.pop();var v=d.position-g.position;var m=d.time-g.time;t.velocity=v/m;t.velocity/=2;if(Math.abs(t.velocity)<a.freeMode.minimumVelocity){t.velocity=0}if(m>150||now()-d.time>300){t.velocity=0}}else{t.velocity=0}t.velocity*=a.freeMode.momentumVelocityRatio;l.velocities.length=0;var h=1e3*a.freeMode.momentumRatio;var p=t.velocity*h;var T=t.translate+p;if(o)T=-T;var w=false;var b;var M=Math.abs(t.velocity)*20*a.freeMode.momentumBounceRatio;var y=void 0;if(T<t.maxTranslate()){if(a.freeMode.momentumBounce){if(T+t.maxTranslate()<-M){T=t.maxTranslate()-M}b=t.maxTranslate();w=true;l.allowMomentumBounce=true}else{T=t.maxTranslate()}if(a.loop&&a.centeredSlides)y=true}else if(T>t.minTranslate()){if(a.freeMode.momentumBounce){if(T-t.minTranslate()>M){T=t.minTranslate()+M}b=t.minTranslate();w=true;l.allowMomentumBounce=true}else{T=t.minTranslate()}if(a.loop&&a.centeredSlides)y=true}else if(a.freeMode.sticky){var C=void 0;for(var _=0;_<u.length;_+=1){if(u[_]>-T){C=_;break}}if(Math.abs(u[C]-T)<Math.abs(u[C-1]-T)||t.swipeDirection==="next"){T=u[C]}else{T=u[C-1]}T=-T}if(y){n("transitionEnd",(function(){t.loopFix()}))}if(t.velocity!==0){if(o){h=Math.abs((-T-t.translate)/t.velocity)}else{h=Math.abs((T-t.translate)/t.velocity)}if(a.freeMode.sticky){var E=Math.abs((o?-T:T)-t.translate);var k=t.slidesSizesGrid[t.activeIndex];if(E<k){h=a.speed}else if(E<2*k){h=a.speed*1.5}else{h=a.speed*2.5}}}else if(a.freeMode.sticky){t.slideToClosest();return}if(a.freeMode.momentumBounce&&w){t.updateProgress(b);t.setTransition(h);t.setTranslate(T);t.transitionStart(true,t.swipeDirection);t.animating=true;elementTransitionEnd(s,(function(){if(!t||t.destroyed||!l.allowMomentumBounce)return;r("momentumBounce");t.setTransition(a.speed);setTimeout((function(){t.setTranslate(b);elementTransitionEnd(s,(function(){if(!t||t.destroyed)return;t.transitionEnd()}))}),0)}))}else if(t.velocity){r("_freeModeNoMomentumRelease");t.updateProgress(T);t.setTransition(h);t.setTranslate(T);t.transitionStart(true,t.swipeDirection);if(!t.animating){t.animating=true;elementTransitionEnd(s,(function(){if(!t||t.destroyed)return;t.transitionEnd()}))}}else{t.updateProgress(T)}t.updateActiveIndex();t.updateSlidesClasses()}else if(a.freeMode.sticky){t.slideToClosest();return}else if(a.freeMode){r("_freeModeNoMomentumRelease")}if(!a.freeMode.momentum||c>=a.longSwipesMs){t.updateProgress();t.updateActiveIndex();t.updateSlidesClasses()}}Object.assign(t,{freeMode:{onTouchStart:a,onTouchMove:s,onTouchEnd:o}})}var CloseIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/></svg>';var DownloadIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"/></svg>';function getTouristicContent(e,t,i,r){return fetch("".concat(e,"touristiccontent/").concat(i,"/?language=").concat(t,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearTrek(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearTrekCount(e,t,i,r){return fetch("".concat(e,"touristiccontent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id&page_size=1"),r)}function getTouristicContentsNearOutdoorSite(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_outdoorsite=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentsNearOutdoorCourse(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent/?language=").concat(t,"&near_outdoorcourse=").concat(i,"&published=true&fields=id,name,attachments,description,description_teaser,category,geometry,cities,pdf,practical_info,contact,email,website,districts"),r)}function getTouristicContentCategory(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristiccontent_category/?language=").concat(t).concat(i?"&portals=".concat(i):"","&published=true&fields=id,label,pictogram"),r)}function getTouristicContentsList(e,t,i,r,n,a,s,o,u){var l="".concat(e,"touristiccontent/?language=").concat(t,"&published=true");i&&(l+="&in_bbox=".concat(i));r&&(l+="&cities=".concat(r));n&&(l+="&districts=".concat(n));a&&(l+="&structures=".concat(a));s&&(l+="&themes=".concat(s));o&&(l+="&portals=".concat(o));l+="&fields=id,name,attachments,category,geometry,cities,districts";return getAllPaginatedResults(l,u)}function getTouristicEvent(e,t,i,r){return fetch("".concat(e,"touristicevent/").concat(i,"/?language=").concat(t,"&fields=id,name,attachments,description,description_teaser,type,geometry,cities,pdf,practical_info,contact,email,website,begin_date,end_date&published=true"),r)}function getTouristicEventsNearTrek(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventsNearTrekCount(e,t,i,r){return fetch("".concat(e,"touristicevent/?language=").concat(t,"&near_trek=").concat(i,"&published=true&fields=id&page_size=1"),r)}function getTouristicEventsNearOutdoorSite(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_outdoorsite=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventsNearOutdoorCourse(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent/?language=").concat(t,"&near_outdoorcourse=").concat(i,"&published=true&fields=id,name,attachments,type,geometry"),r)}function getTouristicEventType(e,t,i,r){return getAllPaginatedResults("".concat(e,"touristicevent_type/?language=").concat(t).concat(i?"&portals=".concat(i):"","&published=true&fields=id,type,pictogram"),r)}function getTouristicEventsList(e,t,i,r,n,a,s,o,u){var l="".concat(e,"touristicevent/?language=").concat(t,"&published=true");i&&(l+="&in_bbox=".concat(i));r&&(l+="&cities=".concat(r));n&&(l+="&districts=".concat(n));a&&(l+="&structures=".concat(a));s&&(l+="&themes=".concat(s));o&&(l+="&portals=".concat(o));l+="&fields=id,name,attachments,category,geometry,cities,districts,type,begin_date,end_date";return getAllPaginatedResults(l,u)}var CallIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12ZM241-600l66-66-17-94h-89q5 41 14 81t26 79Zm358 358q39 17 79.5 27t81.5 13v-88l-94-19-67 67ZM241-600Zm358 358Z"/></svg>';export{CloseIcon as C,DownloadIcon as D,Mousewheel as M,getTouristicContentCategory as a,getTouristicEventsNearOutdoorCourse as b,getTouristicEventType as c,getTouristicContentsNearOutdoorSite as d,getTouristicEventsNearOutdoorSite as e,freeMode as f,getTouristicContentsNearOutdoorCourse as g,getTouristicContentsList as h,getTouristicEventsList as i,getTouristicContentsNearTrek as j,getTouristicEventsNearTrek as k,CallIcon as l,getTouristicContentsNearTrekCount as m,getTouristicEventsNearTrekCount as n,getTouristicContent as o,getTouristicEvent as p};
2
+ //# sourceMappingURL=call-df62b17b.js.map
Binary file
@@ -1,2 +1,2 @@
1
- import{r as registerInstance,h,F as Fragment,H as Host,g as getElement}from"./index-83d78b30.js";import{C as Capacitor,r as revokeObjectURL,h as handleTreksFiltersAndSearch,a as handleOutdoorSitesFiltersAndSearch,i as imagesRegExp}from"./utils-5feb9281.js";import{t as translate}from"./i18n-d4785001.js";import{s as state,r as reset}from"./store-882ab9be.js";var ArrowBackIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>';var grwAppCss="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;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:100%}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}";var GrwAppStyle0=grwAppCss;var GrwApp=function(){function t(t){registerInstance(this,t);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.appWidth="100%";this.appHeight="100vh";this.languages="fr";this.weather=false;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;this.arrowRepeat=20;this.handlePopStateBind=this.handlePopState.bind(this)}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;state.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;state.currentTouristicEvent=null;var e=state.parentTrekId?state.parentTrekId:state.currentTrekSteps?this.currentTrekId:null;state.currentTrek=null;this.currentTrekId=t.detail;state.mode="treks";this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());if(state.currentTrekSteps){i.searchParams.set("parenttrek",e.toString())}window.history.pushState({},"",i)};t.prototype.onParentTrekPress=function(t){state.currentTrek=null;this.currentTrekId=t.detail;state.mode="treks";this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());e.searchParams.delete("parenttrek");window.history.pushState({},"",e)};t.prototype.onTouristicContentCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;state.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",e)};t.prototype.onTouristiceEventCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;state.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",e)};t.prototype.onOutdoorSiteCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;state.mode="outdoor";state.currentOutdoorSite=null;state.currentRelatedOutdoorSites=null;state.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=t.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;var e=new URL(window.location.toString());e.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",e)};t.prototype.onOutdoorCourseCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;state.mode="outdoor";state.currentOutdoorSite=null;state.currentOutdoorCourse=null;state.currentRelatedOutdoorSites=null;state.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=t.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;var e=new URL(window.location.toString());e.searchParams.delete("outdoorsite");e.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",e)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){state.mode="treks"}else if(this.touristicContents){state.mode="touristicContents"}else if(this.touristicEvents){state.mode="touristicEvents"}else if(this.outdoor){state.mode="outdoor"}var t=new URL(window.location.toString());var e=t.searchParams.get("trek");var i=t.searchParams.get("parenttrek");var s=t.searchParams.get("touristiccontent");var a=t.searchParams.get("touristicevent");var r=t.searchParams.get("outdoorsite");var o=t.searchParams.get("outdoorcourse");if(e){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);state.parentTrekId=i?Number(i):null;this.currentTrekId=Number(e);state.mode="treks";this.showTrek=true}else if(s){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(s);state.mode="touristicContents";this.showTouristicContent=true}else if(a){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(a);state.mode="touristicEvents";this.showTouristicEvent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorSiteId=Number(r);state.mode="outdoor";this.showOutdoorSite=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorCourseId=Number(o);state.mode="outdoor";this.showOutdoorCourse=true}};t.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){if(state.mode==="treks"){this.showTrek=false;this.showTrekMap=false;state.currentTrek=null;state.currentTrekSteps=null;state.parentTrekId=null;this.currentTrekId=null}else if(state.mode==="touristicContents"){state.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(state.mode==="touristicEvents"){state.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(state.mode==="outdoor"){state.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;state.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=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){if(state.currentTrek&&state.currentTrek.offline&&!Capacitor.isNativePlatform()){revokeObjectURL(state.currentPois,imagesRegExp,["url"]);revokeObjectURL(state.trekTouristicEvents,imagesRegExp,["url"]);revokeObjectURL(state.trekTouristicContents,imagesRegExp,["url"]);revokeObjectURL(state.currentInformationDesks,imagesRegExp);revokeObjectURL(state.currentTrek,imagesRegExp,["url"])}this.onDetailsClose();var 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()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var e=Number(t.searchParams.get("trek"));var i=t.searchParams.get("touristiccontent");var s=t.searchParams.get("touristicevent");var a=Number(t.searchParams.get("outdoorsite"));if(e&&this.currentTrekId!==e){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;state.currentTouristicContent=null;state.currentTouristicEvent=null;state.currentTrek=null;this.currentTrekId=e;state.mode="treks";this.showTrek=true}else if(a&&this.currentOutdoorSiteId!==a){this.currentOutdoorSiteId=a;state.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!e&&!i&&!s&&!a){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 if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}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 if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(state.language){if(this.showTrek){t=this.showTrekMap?translate[state.language].showDetails:translate[state.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?translate[state.language].showDetails:translate[state.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?translate[state.language].showDetails:translate[state.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap?translate[state.language].showDetails:translate[state.language].showMap}else{t=this.showHomeMap?translate[state.language].showList:translate[state.language].showMap}}return t};t.prototype.reload=function(){window.location.reload()};t.prototype.disconnectedCallback=function(){reset();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.handleOffline=function(){if(state.mode==="treks"){state.offlineTreks=!state.offlineTreks;state.currentTreks=handleTreksFiltersAndSearch()}else{state.offlineOutdoorSites=!state.offlineOutdoorSites;state.currentOutdoorSites=handleOutdoorSitesFiltersAndSearch()}};t.prototype.getFiltersName=function(){var t=state.selectedActivitiesFilters+state.selectedLocationFilters+state.selectedThemesFilters;return"".concat(translate[state.language].filter).concat(t>0?" ("+t+")":"")};t.prototype.trekIsLoading=function(){return this.showTrek&&this.currentTrekId&&!state.currentTrek};t.prototype.render=function(){var t=this;return h(Host,{key:"00a8477335eb947c4a63bcc1e17e47189a8e2f90",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"}},!state.currentTreks&&!state.currentTrek&&!state.currentTouristicContent&&!state.currentTouristicEvent&&!state.currentTouristicContents&&!state.currentTouristicEvents&&!state.currentOutdoorSites&&!state.currentOutdoorSite&&!state.currentOutdoorCourses&&!state.currentOutdoorCourse&&h("div",{key:"85a0280eebb127bf0c390b8838f176c7e6c82703",class:"grw-init-loader-container"},h("grw-loader",{key:"5314fa10dc2be016a27457dfafbe39c1addabfb8",exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&state.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!state.currentTreks&&h("grw-treks-provider",{key:"67597372728428b7b5246072bc2c0770be39dbb9",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.trekIsLoading()&&h("grw-trek-provider",{key:"e432450e2b4ac5764c838cb95c5d2fa6012b0605",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&&h("grw-touristic-content-provider",{key:"1c6394901c7f087da79dfc01d92bf511ca988d61",api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&h("grw-touristic-event-provider",{key:"e08e58443bbf48ceacbc8414442d4efcb650fce9",api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!state.currentOutdoorSite&&h("grw-outdoor-site-provider",{key:"36bf3e9eba1e48762d4cdff579b6d25a475f54e9",api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!state.currentOutdoorCourse&&h("grw-outdoor-course-provider",{key:"03accd8bf96b3883e5933e6a39d3ed898d24355a",api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&state.mode==="touristicContents"&&!state.currentTouristicContents&&!this.showTouristicContent&&h("grw-touristic-contents-provider",{key:"a031c054718e82d9ccb8a74aba3de6a8ecafbe19",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&&state.mode==="touristicEvents"&&!state.currentTouristicEvents&&!this.showTouristicEvent&&h("grw-touristic-events-provider",{key:"3664789f9eb856220b1238bff6de0c195a95caba",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&&state.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!state.outdoorSites&&h("grw-outdoor-sites-provider",{key:"20f338cfbde51aa3b0f0f5052f298118b384c6d9",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}),(state.currentTreks||state.currentTrek||state.touristicContents||state.touristicEvents||state.currentTouristicContent||state.currentTouristicEvent||state.currentOutdoorSites||state.currentOutdoorSite||state.currentOutdoorCourses||state.currentOutdoorCourse||state.networkError)&&h("div",{key:"577a3459479010bc0470964c7c5dccda561a9ccf",class:"grw-app-container"},state.languages&&state.languages.length>1&&h("div",{key:"d5b457ec81dafc2af6952b7bd9ef05cae82ff2a7",class:"grw-languages-container"},h("grw-select-language",{key:"3e93e41ef9207ed3dfcc7408a457671fbe4a8337"})),h("div",{key:"b96a3b1688b9edd4be8ca9bff723188b18826008",class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(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&&h("grw-segmented-segment",{key:"ec1a14c048703e6b77e301cef21d47df0b322c51","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?h(Fragment,null,h("div",{class:"grw-handle-search-filters-container"},h("div",{class:"grw-handle-search-container"},h("grw-search",{"font-family":this.fontFamily})),h("div",{class:"grw-handle-filters-container"},h("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleFilters()},icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&(state.mode==="treks"||state.mode==="outdoor")&&h("div",{part:"grw-offline-container",class:"grw-offline-container"},h("div",{class:"grw-offline-label"},state.mode==="treks"?translate[state.language].onlyOfflineTreks:translate[state.language].onlyOfflineOutdoor),h("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleOffline()},checked:state.mode==="treks"?state.offlineTreks:state.offlineOutdoorSites}))):h("div",{class:"grw-arrow-back-container"},h("button",{onClick:function(){return t.handleBackButton()},class:"grw-arrow-back-icon"},h("span",{part:"icon",class:"icon",innerHTML:ArrowBackIcon})))),h("div",{key:"557b745339ae0b4b7d2b4bc1d9854236d481ea1d",class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks")},state.networkError&&h("div",{key:"eb896c7d6849c944a3e179a5152c717003bc4abf",class:"grw-error-container"},"Une erreur est survenue.",h("grw-common-button",{key:"7ad1f6b8c69866c4b6979d3c7daa941334847c55",exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return t.reload()}})),(state.mode==="treks"&&this.treks&&state.treks||state.mode==="touristicContents"&&this.touristicContents&&state.touristicContents||state.mode==="touristicEvents"&&this.touristicEvents&&state.touristicEvents||state.mode==="outdoor"&&this.outdoor&&state.outdoorSites)&&h("div",{key:"1cd1cf594d28eb2c6a3f0fd4df9de09792441cc6",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"}},state.mode==="treks"&&this.treks&&state.treks&&h("grw-treks-list",{key:"a86143222866560b653d3a7ff34f967992bb1490","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}),state.mode==="touristicContents"&&this.touristicContents&&state.touristicContents&&h("grw-touristic-contents-list",{key:"9531f514885300646efad33e3824be142baf64b9","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}),state.mode==="touristicEvents"&&this.touristicEvents&&state.touristicEvents&&h("grw-touristic-events-list",{key:"4adda08a7ddc26acb8a486ee6f8298c74faa6d29","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}),state.mode==="outdoor"&&this.outdoor&&state.outdoorSites&&h("grw-outdoor-sites-list",{key:"a4d48841e3d467abcd734334e53abe4de302acc2","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&&!state.currentTrek||this.showTouristicContent&&!state.currentTouristicContent||this.showTouristicEvent&&!state.currentTouristicEvent||this.showOutdoorSite&&!state.currentOutdoorSite||this.showOutdoorCourse&&!state.currentOutdoorCourse||!state.treks&&state.mode==="treks"&&!this.showTrek||!state.touristicContents&&state.mode==="touristicContents"&&!this.showTouristicContent||!state.touristicEvents&&state.mode==="touristicEvents"&&!this.showTouristicEvent||!state.outdoorSites&&state.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&h("div",{key:"8a507c6b993c5215e2232f555e4f1bf24f390700",class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},h("grw-loader",{key:"5290acdc573f9e8eaca2c1bad19156a04004453d",exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&state.currentTrek&&h("div",{key:"bd9e49a3f9c01dc166ce0b008a715faba5a53ebd",class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},h("grw-trek-detail",{key:"e2ae144be7270d27a140ff00b7dd25465b28f2c4",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((function(t,e){return e===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}),h("grw-offline-confirm-modal",{key:"474818d2d82f13ef9af8e734ed2bae9e4f1091e1",mode:"treks"})),this.showTouristicContent&&state.currentTouristicContent&&h("div",{key:"9a7047fa2b233ce6bcd405c656b5bb8d5c71e7f3",class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},h("grw-touristic-content-detail",{key:"a3ae87bea6a5bda9a17bd820d233dee5ec9cead5",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&&state.currentTouristicEvent&&h("div",{key:"557aa542f5aa85ab79258bb5e33f51dd5c5220a4",class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},h("grw-touristic-event-detail",{key:"88ccdc996f10bb22ffde399924df575580a2800d",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&&state.currentOutdoorSite&&h("div",{key:"3f6a7224a53ebb93aee175badcb2cc357304bbf8",class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},h("grw-outdoor-site-detail",{key:"ef74294de2f7b00a1e657a3718774f3eaaabbb94",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((function(t,e){return e===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"grw-app":true}),h("grw-offline-confirm-modal",{key:"07c1652f43f99fa08e3a4b12c180eed17073c71a",mode:"treks"})),this.showOutdoorCourse&&state.currentOutdoorCourse&&h("div",{key:"873f413148b965ba46fb04b4d1b70c2442b65b0c",class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},h("grw-outdoor-course-detail",{key:"2d90e0f9df0f8e97ab350354f65f437cd44cfbdd",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})),!state.networkError&&h("grw-map",{key:"152a958a712dc34467ea34989540e4686a010a31",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,"arrow-repeat":this.arrowRepeat})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&state.currentTrek||this.showTouristicContent&&state.currentTouristicContent||this.showTouristicEvent&&state.currentTouristicEvent||this.showOutdoorSite&&state.currentOutdoorSite)&&h("div",{key:"480335a512bc25163b83ca3855ecdee8904a3140",class:"grw-map-visibility-button-container"},h("grw-extended-fab",{key:"3cad5ea4f530a54cd9f4967582541a75d38e057d",exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:function(){return t.handleShowMap()},icon:function(){return t.getMapVisibilityIconButton()},name:function(){return t.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex","fab-background-color":this.fabBackgroundColor,"fab-color":this.fabColor}))),!this.showTrek&&this.showFilters&&h("grw-filters",{key:"d4bce6d7b4ccd591d96a4b58718c23b42f9cc65e","font-family":this.fontFamily,handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}();GrwApp.style=GrwAppStyle0;export{GrwApp as grw_app};
1
+ import{r as registerInstance,h,F as Fragment,H as Host,g as getElement}from"./index-83d78b30.js";import{C as Capacitor,r as revokeObjectURL,h as handleTreksFiltersAndSearch,a as handleOutdoorSitesFiltersAndSearch,i as imagesRegExp}from"./utils-b1ca48b3.js";import{t as translate}from"./i18n-d4785001.js";import{s as state,r as reset}from"./store-aa921ea2.js";var ArrowBackIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="currentColor" d="m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"/></svg>';var grwAppCss="grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);overflow:hidden;max-width:100dvw;max-height:100dvh}.grw-app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden;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:100%}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}";var GrwAppStyle0=grwAppCss;var GrwApp=function(){function t(t){registerInstance(this,t);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.appWidth="100%";this.appHeight="100vh";this.languages="fr";this.weather=false;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;this.arrowRepeat=20;this.handlePopStateBind=this.handlePopState.bind(this)}t.prototype.onTrekCardPress=function(t){this.currentTouristicContentId=null;this.showTouristicContent=false;state.currentTouristicContent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;state.currentTouristicEvent=null;var e=state.parentTrekId?state.parentTrekId:state.currentTrekSteps?this.currentTrekId:null;state.currentTrek=null;this.currentTrekId=t.detail;state.mode="treks";this.showTrek=true;this.showTrekMap=false;var i=new URL(window.location.toString());i.searchParams.set("trek",this.currentTrekId.toString());if(state.currentTrekSteps){i.searchParams.set("parenttrek",e.toString())}window.history.pushState({},"",i)};t.prototype.onParentTrekPress=function(t){state.currentTrek=null;this.currentTrekId=t.detail;state.mode="treks";this.showTrek=true;this.showTrekMap=false;var e=new URL(window.location.toString());e.searchParams.set("trek",this.currentTrekId.toString());e.searchParams.delete("parenttrek");window.history.pushState({},"",e)};t.prototype.onTouristicContentCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicContentId=t.detail;state.mode="touristicContents";this.showTouristicContent=true;this.showTouristicContentMap=false;var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.set("touristiccontent",this.currentTouristicContentId.toString());window.history.pushState({},"",e)};t.prototype.onTouristiceEventCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;this.currentTouristicEventId=t.detail;state.mode="touristicEvents";this.showTouristicEvent=true;this.showTouristicEventMap=false;var e=new URL(window.location.toString());e.searchParams.delete("trek");e.searchParams.set("touristicevent",this.currentTouristicEventId.toString());window.history.pushState({},"",e)};t.prototype.onOutdoorSiteCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;state.mode="outdoor";state.currentOutdoorSite=null;state.currentRelatedOutdoorSites=null;state.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=t.detail;this.showOutdoorSite=true;this.showOutdoorSiteMap=false;var e=new URL(window.location.toString());e.searchParams.set("outdoorsite",this.currentOutdoorSiteId.toString());window.history.pushState({},"",e)};t.prototype.onOutdoorCourseCardPress=function(t){state.currentTrek=null;this.currentTrekId=null;this.showTrek=false;state.mode="outdoor";state.currentOutdoorSite=null;state.currentOutdoorCourse=null;state.currentRelatedOutdoorSites=null;state.currentRelatedOutdoorCourses=null;this.currentOutdoorSiteId=null;this.currentOutdoorCourseId=t.detail;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;this.showOutdoorCourse=true;this.showOutdoorSiteMap=false;var e=new URL(window.location.toString());e.searchParams.delete("outdoorsite");e.searchParams.set("outdoorcourse",this.currentOutdoorCourseId.toString());window.history.pushState({},"",e)};t.prototype.onWindowResize=function(){this.handleView()};t.prototype.onCenterOnMap=function(){if(!this.isLargeView){this.showTrekMap=true}};t.prototype.watchPropHandler=function(){window.dispatchEvent(new window.Event("resize"))};t.prototype.componentWillLoad=function(){if(this.treks){state.mode="treks"}else if(this.touristicContents){state.mode="touristicContents"}else if(this.touristicEvents){state.mode="touristicEvents"}else if(this.outdoor){state.mode="outdoor"}var t=new URL(window.location.toString());var e=t.searchParams.get("trek");var i=t.searchParams.get("parenttrek");var s=t.searchParams.get("touristiccontent");var a=t.searchParams.get("touristicevent");var r=t.searchParams.get("outdoorsite");var o=t.searchParams.get("outdoorcourse");if(e){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);state.parentTrekId=i?Number(i):null;this.currentTrekId=Number(e);state.mode="treks";this.showTrek=true}else if(s){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicContentId=Number(s);state.mode="touristicContents";this.showTouristicContent=true}else if(a){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentTouristicEventId=Number(a);state.mode="touristicEvents";this.showTouristicEvent=true}else if(r){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorSiteId=Number(r);state.mode="outdoor";this.showOutdoorSite=true}else if(o){window.history.replaceState({isInitialHistoryWithDetails:true},"",t);this.currentOutdoorCourseId=Number(o);state.mode="outdoor";this.showOutdoorCourse=true}};t.prototype.componentDidLoad=function(){window.addEventListener("popstate",this.handlePopStateBind,false);this.handleView()};t.prototype.onDetailsClose=function(){if(state.mode==="treks"){this.showTrek=false;this.showTrekMap=false;state.currentTrek=null;state.currentTrekSteps=null;state.parentTrekId=null;this.currentTrekId=null}else if(state.mode==="touristicContents"){state.currentTouristicContent=null;this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicContentMap=false}else if(state.mode==="touristicEvents"){state.currentTouristicEvent=null;this.currentTouristicEventId=null;this.showTouristicEvent=false;this.showTouristicEventMap=false}else if(state.mode==="outdoor"){state.currentOutdoorSite=null;this.currentOutdoorSiteId=null;this.showOutdoorSite=false;this.showOutdoorSiteMap=false;state.currentOutdoorCourse=null;this.currentOutdoorCourseId=null;this.showOutdoorCourse=false;this.showOutdoorCourseMap=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){if(state.currentTrek&&state.currentTrek.offline&&!Capacitor.isNativePlatform()){revokeObjectURL(state.currentPois,imagesRegExp,["url"]);revokeObjectURL(state.trekTouristicEvents,imagesRegExp,["url"]);revokeObjectURL(state.trekTouristicContents,imagesRegExp,["url"]);revokeObjectURL(state.currentInformationDesks,imagesRegExp);revokeObjectURL(state.currentTrek,imagesRegExp,["url"])}this.onDetailsClose();var 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()}};t.prototype.handlePopState=function(){var t=new URL(window.location.toString());var e=Number(t.searchParams.get("trek"));var i=t.searchParams.get("touristiccontent");var s=t.searchParams.get("touristicevent");var a=Number(t.searchParams.get("outdoorsite"));if(e&&this.currentTrekId!==e){this.currentTouristicContentId=null;this.showTouristicContent=false;this.showTouristicEvent=false;state.currentTouristicContent=null;state.currentTouristicEvent=null;state.currentTrek=null;this.currentTrekId=e;state.mode="treks";this.showTrek=true}else if(a&&this.currentOutdoorSiteId!==a){this.currentOutdoorSiteId=a;state.currentOutdoorSite=null;this.showOutdoorCourse=false;this.showOutdoorSite=true}else if(!e&&!i&&!s&&!a){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 if(this.showOutdoorSite){this.showOutdoorSiteMap=!this.showOutdoorSiteMap}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 if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap||this.showOutdoorCourseMap?"summarize":"map"}else{t=this.showHomeMap?"list":"map"}return t};t.prototype.getMapVisibilityLabelButton=function(){var t;if(state.language){if(this.showTrek){t=this.showTrekMap?translate[state.language].showDetails:translate[state.language].showRoute}else if(this.showTouristicContent){t=this.showTouristicContentMap?translate[state.language].showDetails:translate[state.language].showMap}else if(this.showTouristicEvent){t=this.showTouristicEventMap?translate[state.language].showDetails:translate[state.language].showMap}else if(this.showOutdoorSite||this.showOutdoorCourse){t=this.showOutdoorSiteMap?translate[state.language].showDetails:translate[state.language].showMap}else{t=this.showHomeMap?translate[state.language].showList:translate[state.language].showMap}}return t};t.prototype.reload=function(){window.location.reload()};t.prototype.disconnectedCallback=function(){reset();window.removeEventListener("popstate",this.handlePopStateBind)};t.prototype.handleOffline=function(){if(state.mode==="treks"){state.offlineTreks=!state.offlineTreks;state.currentTreks=handleTreksFiltersAndSearch()}else{state.offlineOutdoorSites=!state.offlineOutdoorSites;state.currentOutdoorSites=handleOutdoorSitesFiltersAndSearch()}};t.prototype.getFiltersName=function(){var t=state.selectedActivitiesFilters+state.selectedLocationFilters+state.selectedThemesFilters;return"".concat(translate[state.language].filter).concat(t>0?" ("+t+")":"")};t.prototype.trekIsLoading=function(){return this.showTrek&&this.currentTrekId&&!state.currentTrek};t.prototype.render=function(){var t=this;return h(Host,{key:"00a8477335eb947c4a63bcc1e17e47189a8e2f90",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"}},!state.currentTreks&&!state.currentTrek&&!state.currentTouristicContent&&!state.currentTouristicEvent&&!state.currentTouristicContents&&!state.currentTouristicEvents&&!state.currentOutdoorSites&&!state.currentOutdoorSite&&!state.currentOutdoorCourses&&!state.currentOutdoorCourse&&h("div",{key:"85a0280eebb127bf0c390b8838f176c7e6c82703",class:"grw-init-loader-container"},h("grw-loader",{key:"5314fa10dc2be016a27457dfafbe39c1addabfb8",exportparts:"loader","color-primary-container":this.colorPrimaryContainer,"color-on-primary-container":this.colorOnPrimaryContainer})),this.treks&&state.mode==="treks"&&!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!state.currentTreks&&h("grw-treks-provider",{key:"67597372728428b7b5246072bc2c0770be39dbb9",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.trekIsLoading()&&h("grw-trek-provider",{key:"e432450e2b4ac5764c838cb95c5d2fa6012b0605",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&&h("grw-touristic-content-provider",{key:"1c6394901c7f087da79dfc01d92bf511ca988d61",api:this.api,languages:this.languages,"touristic-content-id":this.currentTouristicContentId,portals:this.portals}),this.showTouristicEvent&&this.currentTouristicEventId&&h("grw-touristic-event-provider",{key:"e08e58443bbf48ceacbc8414442d4efcb650fce9",api:this.api,languages:this.languages,"touristic-event-id":this.currentTouristicEventId,portals:this.portals}),this.showOutdoorSite&&this.currentOutdoorSiteId&&!state.currentOutdoorSite&&h("grw-outdoor-site-provider",{key:"36bf3e9eba1e48762d4cdff579b6d25a475f54e9",api:this.api,languages:this.languages,"outdoor-site-id":this.currentOutdoorSiteId,portals:this.portals}),this.showOutdoorCourse&&this.currentOutdoorCourseId&&!state.currentOutdoorCourse&&h("grw-outdoor-course-provider",{key:"03accd8bf96b3883e5933e6a39d3ed898d24355a",api:this.api,languages:this.languages,"outdoor-course-id":this.currentOutdoorCourseId,portals:this.portals}),this.touristicContents&&state.mode==="touristicContents"&&!state.currentTouristicContents&&!this.showTouristicContent&&h("grw-touristic-contents-provider",{key:"a031c054718e82d9ccb8a74aba3de6a8ecafbe19",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&&state.mode==="touristicEvents"&&!state.currentTouristicEvents&&!this.showTouristicEvent&&h("grw-touristic-events-provider",{key:"3664789f9eb856220b1238bff6de0c195a95caba",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&&state.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse&&!this.showTouristicContent&&!this.showTouristicEvent&&!state.outdoorSites&&h("grw-outdoor-sites-provider",{key:"20f338cfbde51aa3b0f0f5052f298118b384c6d9",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}),(state.currentTreks||state.currentTrek||state.touristicContents||state.touristicEvents||state.currentTouristicContent||state.currentTouristicEvent||state.currentOutdoorSites||state.currentOutdoorSite||state.currentOutdoorCourses||state.currentOutdoorCourse||state.networkError)&&h("div",{key:"577a3459479010bc0470964c7c5dccda561a9ccf",class:"grw-app-container"},state.languages&&state.languages.length>1&&h("div",{key:"d5b457ec81dafc2af6952b7bd9ef05cae82ff2a7",class:"grw-languages-container"},h("grw-select-language",{key:"3e93e41ef9207ed3dfcc7408a457671fbe4a8337"})),h("div",{key:"b96a3b1688b9edd4be8ca9bff723188b18826008",class:"".concat(this.isLargeView?"grw-large-view-header-container":"grw-header-container").concat(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&&h("grw-segmented-segment",{key:"ec1a14c048703e6b77e301cef21d47df0b322c51","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?h(Fragment,null,h("div",{class:"grw-handle-search-filters-container"},h("div",{class:"grw-handle-search-container"},h("grw-search",{"font-family":this.fontFamily})),h("div",{class:"grw-handle-filters-container"},h("grw-common-button",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleFilters()},icon:"filter_list",name:this.getFiltersName()}))),this.enableOffline&&(state.mode==="treks"||state.mode==="outdoor")&&h("div",{part:"grw-offline-container",class:"grw-offline-container"},h("div",{class:"grw-offline-label"},state.mode==="treks"?translate[state.language].onlyOfflineTreks:translate[state.language].onlyOfflineOutdoor),h("grw-switch",{exportparts:"common-button,common-button-icon,common-button-label","font-family":this.fontFamily,action:function(){return t.handleOffline()},checked:state.mode==="treks"?state.offlineTreks:state.offlineOutdoorSites}))):h("div",{class:"grw-arrow-back-container"},h("button",{onClick:function(){return t.handleBackButton()},class:"grw-arrow-back-icon"},h("span",{part:"icon",class:"icon",innerHTML:ArrowBackIcon})))),h("div",{key:"557b745339ae0b4b7d2b4bc1d9854236d481ea1d",class:"grw-content-container ".concat(this.showTrek||this.showTouristicContent||this.showTouristicEvent||this.showOutdoorSite||this.showOutdoorCourse?"grw-content-trek":"grw-content-treks")},state.networkError&&h("div",{key:"eb896c7d6849c944a3e179a5152c717003bc4abf",class:"grw-error-container"},"Une erreur est survenue.",h("grw-common-button",{key:"7ad1f6b8c69866c4b6979d3c7daa941334847c55",exportparts:"common-button,common-button-icon,common-button-label",icon:"refresh",name:"Recharger la page",action:function(){return t.reload()}})),(state.mode==="treks"&&this.treks&&state.treks||state.mode==="touristicContents"&&this.touristicContents&&state.touristicContents||state.mode==="touristicEvents"&&this.touristicEvents&&state.touristicEvents||state.mode==="outdoor"&&this.outdoor&&state.outdoorSites)&&h("div",{key:"1cd1cf594d28eb2c6a3f0fd4df9de09792441cc6",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"}},state.mode==="treks"&&this.treks&&state.treks&&h("grw-treks-list",{key:"a86143222866560b653d3a7ff34f967992bb1490","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}),state.mode==="touristicContents"&&this.touristicContents&&state.touristicContents&&h("grw-touristic-contents-list",{key:"9531f514885300646efad33e3824be142baf64b9","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}),state.mode==="touristicEvents"&&this.touristicEvents&&state.touristicEvents&&h("grw-touristic-events-list",{key:"4adda08a7ddc26acb8a486ee6f8298c74faa6d29","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}),state.mode==="outdoor"&&this.outdoor&&state.outdoorSites&&h("grw-outdoor-sites-list",{key:"a4d48841e3d467abcd734334e53abe4de302acc2","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&&!state.currentTrek||this.showTouristicContent&&!state.currentTouristicContent||this.showTouristicEvent&&!state.currentTouristicEvent||this.showOutdoorSite&&!state.currentOutdoorSite||this.showOutdoorCourse&&!state.currentOutdoorCourse||!state.treks&&state.mode==="treks"&&!this.showTrek||!state.touristicContents&&state.mode==="touristicContents"&&!this.showTouristicContent||!state.touristicEvents&&state.mode==="touristicEvents"&&!this.showTouristicEvent||!state.outdoorSites&&state.mode==="outdoor"&&!this.showOutdoorSite&&!this.showOutdoorCourse)&&h("div",{key:"8a507c6b993c5215e2232f555e4f1bf24f390700",class:this.isLargeView?"grw-large-view-loader-container":"grw-loader-container"},h("grw-loader",{key:"5290acdc573f9e8eaca2c1bad19156a04004453d",exportparts:"loader","color-primary-container":this.colorSecondaryContainer,"color-on-primary-container":this.colorOnSecondaryContainer})),this.showTrek&&state.currentTrek&&h("div",{key:"bd9e49a3f9c01dc166ce0b008a715faba5a53ebd",class:this.isLargeView?"grw-large-view-app-trek-detail-container":"grw-app-trek-detail-container"},h("grw-trek-detail",{key:"e2ae144be7270d27a140ff00b7dd25465b28f2c4",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((function(t,e){return e===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}),h("grw-offline-confirm-modal",{key:"474818d2d82f13ef9af8e734ed2bae9e4f1091e1",mode:"treks"})),this.showTouristicContent&&state.currentTouristicContent&&h("div",{key:"9a7047fa2b233ce6bcd405c656b5bb8d5c71e7f3",class:this.isLargeView?"grw-large-view-app-touristic-content-detail-container":"grw-app-touristic-content-detail-container"},h("grw-touristic-content-detail",{key:"a3ae87bea6a5bda9a17bd820d233dee5ec9cead5",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&&state.currentTouristicEvent&&h("div",{key:"557aa542f5aa85ab79258bb5e33f51dd5c5220a4",class:this.isLargeView?"grw-large-view-app-touristic-event-detail-container":"grw-app-touristic-event-detail-container"},h("grw-touristic-event-detail",{key:"88ccdc996f10bb22ffde399924df575580a2800d",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&&state.currentOutdoorSite&&h("div",{key:"3f6a7224a53ebb93aee175badcb2cc357304bbf8",class:this.isLargeView?"grw-large-view-app-outdoor-site-detail-container":"grw-app-outdoor-site-detail-container"},h("grw-outdoor-site-detail",{key:"ef74294de2f7b00a1e657a3718774f3eaaabbb94",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((function(t,e){return e===0?t:"http"+t}))[0],"default-background-layer-attribution":this.attributionLayer?this.attributionLayer.split(",")[0]:[],"enable-offline":this.enableOffline,"grw-app":true}),h("grw-offline-confirm-modal",{key:"07c1652f43f99fa08e3a4b12c180eed17073c71a",mode:"treks"})),this.showOutdoorCourse&&state.currentOutdoorCourse&&h("div",{key:"873f413148b965ba46fb04b4d1b70c2442b65b0c",class:this.isLargeView?"grw-large-view-app-outdoor-course-detail-container":"grw-app-outdoor-course-detail-container"},h("grw-outdoor-course-detail",{key:"2d90e0f9df0f8e97ab350354f65f437cd44cfbdd",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})),!state.networkError&&h("grw-map",{key:"152a958a712dc34467ea34989540e4686a010a31",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,"arrow-repeat":this.arrowRepeat})),(!this.showTrek&&!this.showTouristicContent&&!this.showTouristicEvent&&!this.showOutdoorSite||this.showTrek&&state.currentTrek||this.showTouristicContent&&state.currentTouristicContent||this.showTouristicEvent&&state.currentTouristicEvent||this.showOutdoorSite&&state.currentOutdoorSite)&&h("div",{key:"480335a512bc25163b83ca3855ecdee8904a3140",class:"grw-map-visibility-button-container"},h("grw-extended-fab",{key:"3cad5ea4f530a54cd9f4967582541a75d38e057d",exportparts:"map-visibility-button,map-visibility-button-icon,map-visibility-button-label","font-family":this.fontFamily,action:function(){return t.handleShowMap()},icon:function(){return t.getMapVisibilityIconButton()},name:function(){return t.getMapVisibilityLabelButton()},display:this.isLargeView?"none":"flex","fab-background-color":this.fabBackgroundColor,"fab-color":this.fabColor}))),!this.showTrek&&this.showFilters&&h("grw-filters",{key:"d4bce6d7b4ccd591d96a4b58718c23b42f9cc65e","font-family":this.fontFamily,handleFilters:function(){return t.handleFilters()}}))};Object.defineProperty(t.prototype,"appElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isLargeView:["watchPropHandler"]}},enumerable:false,configurable:true});return t}();GrwApp.style=GrwAppStyle0;export{GrwApp as grw_app};
2
2
  //# sourceMappingURL=grw-app.entry.js.map
Binary file
Binary file