@geotrekce/geotrek-rando-widget 0.35.0 → 0.35.2

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 (152) hide show
  1. package/dist/cjs/grw-common-button_23.cjs.entry.js +35 -19
  2. package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
  3. package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
  4. package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
  5. package/dist/cjs/grw-details-modal_8.cjs.entry.js +1 -1
  6. package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
  7. package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
  8. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js +1 -1
  9. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.br +0 -0
  10. package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.gz +0 -0
  11. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js +1 -1
  12. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.br +0 -0
  13. package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.gz +0 -0
  14. package/dist/cjs/{treks.service-DLzUYSSG.js → treks.service-DIrQ6UUF.js} +10 -2
  15. package/dist/cjs/treks.service-DIrQ6UUF.js.br +0 -0
  16. package/dist/cjs/treks.service-DIrQ6UUF.js.gz +0 -0
  17. package/dist/{esm/treks.service-K3GUcd85.js.map → cjs/treks.service-DIrQ6UUF.js.map} +1 -1
  18. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +22 -8
  19. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  20. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  21. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  22. package/dist/collection/services/outdoor-sites.service.js +6 -0
  23. package/dist/collection/services/outdoor-sites.service.js.br +0 -0
  24. package/dist/collection/services/outdoor-sites.service.js.gz +0 -0
  25. package/dist/collection/services/outdoor-sites.service.js.map +1 -1
  26. package/dist/collection/services/treks.service.js +6 -0
  27. package/dist/collection/services/treks.service.js.br +0 -0
  28. package/dist/collection/services/treks.service.js.gz +0 -0
  29. package/dist/collection/services/treks.service.js.map +1 -1
  30. package/dist/collection/store/grw-outdoor-site-provider.js +4 -6
  31. package/dist/collection/store/grw-outdoor-site-provider.js.br +0 -0
  32. package/dist/collection/store/grw-outdoor-site-provider.js.gz +0 -0
  33. package/dist/collection/store/grw-outdoor-site-provider.js.map +1 -1
  34. package/dist/collection/store/grw-trek-provider.js +4 -6
  35. package/dist/collection/store/grw-trek-provider.js.br +0 -0
  36. package/dist/collection/store/grw-trek-provider.js.gz +0 -0
  37. package/dist/collection/store/grw-trek-provider.js.map +1 -1
  38. package/dist/esm/grw-common-button_23.entry.js +35 -19
  39. package/dist/esm/grw-common-button_23.entry.js.br +0 -0
  40. package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
  41. package/dist/esm/grw-common-button_23.entry.js.map +1 -1
  42. package/dist/esm/grw-details-modal_8.entry.js +1 -1
  43. package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
  44. package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
  45. package/dist/esm/grw-outdoor-courses-provider.entry.js +1 -1
  46. package/dist/esm/grw-outdoor-courses-provider.entry.js.br +0 -0
  47. package/dist/esm/grw-outdoor-courses-provider.entry.js.gz +0 -0
  48. package/dist/esm/grw-sensitive-area-detail_2.entry.js +1 -1
  49. package/dist/esm/grw-sensitive-area-detail_2.entry.js.br +0 -0
  50. package/dist/esm/grw-sensitive-area-detail_2.entry.js.gz +0 -0
  51. package/dist/esm/{treks.service-K3GUcd85.js → treks.service-DifXYB3R.js} +9 -3
  52. package/dist/esm/treks.service-DifXYB3R.js.br +0 -0
  53. package/dist/esm/treks.service-DifXYB3R.js.gz +0 -0
  54. package/dist/{esm-es5/treks.service-K3GUcd85.js.map → esm/treks.service-DifXYB3R.js.map} +1 -1
  55. package/dist/esm-es5/grw-common-button_23.entry.js +2 -2
  56. package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
  57. package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
  58. package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
  59. package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
  60. package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
  61. package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
  62. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js +1 -1
  63. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.br +0 -0
  64. package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.gz +0 -0
  65. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js +1 -1
  66. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.br +0 -0
  67. package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.gz +0 -0
  68. package/dist/esm-es5/{treks.service-K3GUcd85.js → treks.service-DifXYB3R.js} +2 -2
  69. package/dist/esm-es5/treks.service-DifXYB3R.js.br +0 -0
  70. package/dist/esm-es5/treks.service-DifXYB3R.js.gz +0 -0
  71. package/dist/{cjs/treks.service-DLzUYSSG.js.map → esm-es5/treks.service-DifXYB3R.js.map} +1 -1
  72. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  73. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  74. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  75. package/dist/geotrek-rando-widget/{p-eaf2f807.system.entry.js → p-0092f089.system.entry.js} +2 -2
  76. package/dist/geotrek-rando-widget/p-0092f089.system.entry.js.br +0 -0
  77. package/dist/geotrek-rando-widget/p-0092f089.system.entry.js.gz +0 -0
  78. package/dist/geotrek-rando-widget/p-03eb939f.entry.js +4 -0
  79. package/dist/geotrek-rando-widget/p-03eb939f.entry.js.br +0 -0
  80. package/dist/geotrek-rando-widget/p-03eb939f.entry.js.gz +0 -0
  81. package/dist/geotrek-rando-widget/p-03eb939f.entry.js.map +1 -0
  82. package/dist/geotrek-rando-widget/{p-fe40978d.entry.js → p-69fb7f1e.entry.js} +2 -2
  83. package/dist/geotrek-rando-widget/p-69fb7f1e.entry.js.br +0 -0
  84. package/dist/geotrek-rando-widget/p-69fb7f1e.entry.js.gz +0 -0
  85. package/dist/geotrek-rando-widget/{p-4e73782e.entry.js → p-79c4e262.entry.js} +2 -2
  86. package/dist/geotrek-rando-widget/p-79c4e262.entry.js.br +0 -0
  87. package/dist/geotrek-rando-widget/p-79c4e262.entry.js.gz +0 -0
  88. package/dist/geotrek-rando-widget/{p-0ef90984.system.entry.js → p-7aa740cd.system.entry.js} +2 -2
  89. package/dist/geotrek-rando-widget/p-7aa740cd.system.entry.js.br +0 -0
  90. package/dist/geotrek-rando-widget/p-7aa740cd.system.entry.js.gz +0 -0
  91. package/dist/geotrek-rando-widget/{p-bab9f0a3.system.entry.js → p-91ea991e.system.entry.js} +2 -2
  92. package/dist/geotrek-rando-widget/p-91ea991e.system.entry.js.br +0 -0
  93. package/dist/geotrek-rando-widget/p-91ea991e.system.entry.js.gz +0 -0
  94. package/dist/geotrek-rando-widget/p-SVBG_B0V.system.js +2 -0
  95. package/dist/geotrek-rando-widget/p-SVBG_B0V.system.js.br +0 -0
  96. package/dist/geotrek-rando-widget/p-SVBG_B0V.system.js.gz +0 -0
  97. package/dist/geotrek-rando-widget/{p-BYS7HSfN.system.js.map → p-SVBG_B0V.system.js.map} +1 -1
  98. package/dist/geotrek-rando-widget/p-SrqKQbd3.system.js +1 -1
  99. package/dist/geotrek-rando-widget/p-SrqKQbd3.system.js.br +0 -0
  100. package/dist/geotrek-rando-widget/p-SrqKQbd3.system.js.gz +0 -0
  101. package/dist/geotrek-rando-widget/p-acb4209f.system.entry.js +4 -0
  102. package/dist/geotrek-rando-widget/p-acb4209f.system.entry.js.br +0 -0
  103. package/dist/geotrek-rando-widget/p-acb4209f.system.entry.js.gz +0 -0
  104. package/dist/geotrek-rando-widget/p-acb4209f.system.entry.js.map +1 -0
  105. package/dist/geotrek-rando-widget/{p-21da6c6c.entry.js → p-bca02612.entry.js} +2 -2
  106. package/dist/geotrek-rando-widget/p-bca02612.entry.js.br +0 -0
  107. package/dist/geotrek-rando-widget/p-bca02612.entry.js.gz +0 -0
  108. package/dist/geotrek-rando-widget/p-uOIHIMe2.js +2 -0
  109. package/dist/geotrek-rando-widget/p-uOIHIMe2.js.br +0 -0
  110. package/dist/geotrek-rando-widget/p-uOIHIMe2.js.gz +0 -0
  111. package/dist/geotrek-rando-widget/{p-BKep_oL6.js.map → p-uOIHIMe2.js.map} +1 -1
  112. package/dist/types/services/outdoor-sites.service.d.ts +2 -0
  113. package/dist/types/services/treks.service.d.ts +2 -0
  114. package/package.json +1 -1
  115. package/dist/cjs/treks.service-DLzUYSSG.js.br +0 -0
  116. package/dist/cjs/treks.service-DLzUYSSG.js.gz +0 -0
  117. package/dist/esm/treks.service-K3GUcd85.js.br +0 -0
  118. package/dist/esm/treks.service-K3GUcd85.js.gz +0 -0
  119. package/dist/esm-es5/treks.service-K3GUcd85.js.br +0 -0
  120. package/dist/esm-es5/treks.service-K3GUcd85.js.gz +0 -0
  121. package/dist/geotrek-rando-widget/p-0ef90984.system.entry.js.br +0 -0
  122. package/dist/geotrek-rando-widget/p-0ef90984.system.entry.js.gz +0 -0
  123. package/dist/geotrek-rando-widget/p-1041807e.system.entry.js +0 -4
  124. package/dist/geotrek-rando-widget/p-1041807e.system.entry.js.br +0 -0
  125. package/dist/geotrek-rando-widget/p-1041807e.system.entry.js.gz +0 -0
  126. package/dist/geotrek-rando-widget/p-1041807e.system.entry.js.map +0 -1
  127. package/dist/geotrek-rando-widget/p-21da6c6c.entry.js.br +0 -0
  128. package/dist/geotrek-rando-widget/p-21da6c6c.entry.js.gz +0 -0
  129. package/dist/geotrek-rando-widget/p-4e73782e.entry.js.br +0 -0
  130. package/dist/geotrek-rando-widget/p-4e73782e.entry.js.gz +0 -0
  131. package/dist/geotrek-rando-widget/p-BKep_oL6.js +0 -2
  132. package/dist/geotrek-rando-widget/p-BKep_oL6.js.br +0 -0
  133. package/dist/geotrek-rando-widget/p-BKep_oL6.js.gz +0 -0
  134. package/dist/geotrek-rando-widget/p-BYS7HSfN.system.js +0 -2
  135. package/dist/geotrek-rando-widget/p-BYS7HSfN.system.js.br +0 -0
  136. package/dist/geotrek-rando-widget/p-BYS7HSfN.system.js.gz +0 -0
  137. package/dist/geotrek-rando-widget/p-bab9f0a3.system.entry.js.br +0 -0
  138. package/dist/geotrek-rando-widget/p-bab9f0a3.system.entry.js.gz +0 -0
  139. package/dist/geotrek-rando-widget/p-d03e5a79.entry.js +0 -4
  140. package/dist/geotrek-rando-widget/p-d03e5a79.entry.js.br +0 -0
  141. package/dist/geotrek-rando-widget/p-d03e5a79.entry.js.gz +0 -0
  142. package/dist/geotrek-rando-widget/p-d03e5a79.entry.js.map +0 -1
  143. package/dist/geotrek-rando-widget/p-eaf2f807.system.entry.js.br +0 -0
  144. package/dist/geotrek-rando-widget/p-eaf2f807.system.entry.js.gz +0 -0
  145. package/dist/geotrek-rando-widget/p-fe40978d.entry.js.br +0 -0
  146. package/dist/geotrek-rando-widget/p-fe40978d.entry.js.gz +0 -0
  147. /package/dist/geotrek-rando-widget/{p-eaf2f807.system.entry.js.map → p-0092f089.system.entry.js.map} +0 -0
  148. /package/dist/geotrek-rando-widget/{p-fe40978d.entry.js.map → p-69fb7f1e.entry.js.map} +0 -0
  149. /package/dist/geotrek-rando-widget/{p-4e73782e.entry.js.map → p-79c4e262.entry.js.map} +0 -0
  150. /package/dist/geotrek-rando-widget/{p-0ef90984.system.entry.js.map → p-7aa740cd.system.entry.js.map} +0 -0
  151. /package/dist/geotrek-rando-widget/{p-bab9f0a3.system.entry.js.map → p-91ea991e.system.entry.js.map} +0 -0
  152. /package/dist/geotrek-rando-widget/{p-21da6c6c.entry.js.map → p-bca02612.entry.js.map} +0 -0
@@ -6,7 +6,7 @@ var store = require('./store-ByoGdPY8.js');
6
6
  var i18n = require('./i18n-DuOVvCjc.js');
7
7
  var grwDb_service = require('./grw-db.service-wW_CVRgV.js');
8
8
  var pagination = require('./pagination-DqIbOgId.js');
9
- var treks_service = require('./treks.service-DLzUYSSG.js');
9
+ var treks_service = require('./treks.service-DIrQ6UUF.js');
10
10
  var utils = require('./utils-D0wPxb6G.js');
11
11
 
12
12
  const grwDetailsModalCss = () => `.modal-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:fixed;top:0px;left:0px;width:100vw;height:100vh;z-index:40000;font-family:var(--font-family);background-color:rgba(0, 0, 0, 0.6)}.modal-container .grw-details-modal{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background-color:var(--color-background)}.modal-container .grw-content-modal{overflow-y:hidden;padding-bottom:24px;background-color:var(--color-background)}.modal-container .grw-arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;background-color:var(--color-primary-container)}.modal-container .grw-arrow-back-container .grw-arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-primary);border:none;border-radius:var(--border-radius, 50%);height:48px;width:48px;background-color:transparent;margin-left:4px;padding:0px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.modal-container .grw-arrow-back-container .grw-arrow-back-icon .icon{height:24px;width:24px}@media (min-width: 1024px){.modal-container .grw-details-modal{width:60%;height:80%;border-radius:var(--border-radius, 8px)}}`;
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-D2pUuJML.js');
4
4
  var grwDb_service = require('./grw-db.service-wW_CVRgV.js');
5
5
  var outdoorCourses_service = require('./outdoor-courses.service-BzdSUInY.js');
6
- var treks_service = require('./treks.service-DLzUYSSG.js');
6
+ var treks_service = require('./treks.service-DIrQ6UUF.js');
7
7
  var store = require('./store-ByoGdPY8.js');
8
8
  var utils = require('./utils-D0wPxb6G.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-D2pUuJML.js');
4
4
  var store = require('./store-ByoGdPY8.js');
5
5
  var i18n = require('./i18n-DuOVvCjc.js');
6
- var treks_service = require('./treks.service-DLzUYSSG.js');
6
+ var treks_service = require('./treks.service-DIrQ6UUF.js');
7
7
  var utils = require('./utils-D0wPxb6G.js');
8
8
  var moving = require('./moving-CY4KOrLE.js');
9
9
  var grwDb_service = require('./grw-db.service-wW_CVRgV.js');
@@ -68,6 +68,12 @@ function getTrekAccessibility(api, language, portals, init) {
68
68
  function getLabel(api, language, portals, init) {
69
69
  return utils.getAllPaginatedResults(`${api}label/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,name,advice,pictogram,filter&published=true`, init);
70
70
  }
71
+ function getTrekRatings(api, language, portals, init) {
72
+ return utils.getAllPaginatedResults(`${api}trek_rating/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,name,scale`, init);
73
+ }
74
+ function getTrekRatingsScale(api, language, init) {
75
+ return utils.getAllPaginatedResults(`${api}trek_ratingscale/?language=${language}&fields=id,name`, init);
76
+ }
71
77
 
72
78
  exports.getCities = getCities;
73
79
  exports.getDistricts = getDistricts;
@@ -83,8 +89,10 @@ exports.getTrek = getTrek;
83
89
  exports.getTrekAccessibility = getTrekAccessibility;
84
90
  exports.getTrekGeometry = getTrekGeometry;
85
91
  exports.getTrekNetwork = getTrekNetwork;
92
+ exports.getTrekRatings = getTrekRatings;
93
+ exports.getTrekRatingsScale = getTrekRatingsScale;
86
94
  exports.getTreksList = getTreksList;
87
95
  exports.trekIsAvailableOffline = trekIsAvailableOffline;
88
- //# sourceMappingURL=treks.service-DLzUYSSG.js.map
96
+ //# sourceMappingURL=treks.service-DIrQ6UUF.js.map
89
97
 
90
- //# sourceMappingURL=treks.service-DLzUYSSG.js.map
98
+ //# sourceMappingURL=treks.service-DIrQ6UUF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"treks.service-K3GUcd85.js","sources":["src/services/treks.service.ts"],"sourcesContent":["import state from 'store/store';\nimport { getDataInStore } from './grw-db.service';\nimport { getAllPaginatedResults, getCacheMode } from '../utils/utils';\n\nexport function getTrekGeometry(id: number) {\n return fetch(`${state.api}trek/${id}/?language=${state.language}&published=true&fields=geometry`, { cache: getCacheMode() }).then(response =>\n response.json(),\n );\n}\n\nexport function getTreksList(api, language, inBbox, cities, districts, structures, themes, portals, routes, practices, labels, init) {\n let treksRequest = `${api}trek/?language=${language}&published=true`;\n\n inBbox && (treksRequest += `&in_bbox=${inBbox}`);\n cities && (treksRequest += `&cities=${cities}`);\n districts && (treksRequest += `&districts=${districts}`);\n structures && (treksRequest += `&structures=${structures}`);\n themes && (treksRequest += `&themes=${themes}`);\n portals && (treksRequest += `&portals=${portals}`);\n routes && (treksRequest += `&routes=${routes}`);\n practices && (treksRequest += `&practices=${practices}`);\n labels && (treksRequest += `&labels=${labels}`);\n\n treksRequest += `&fields=id,name,attachments,description_teaser,difficulty,duration,ascent,length_2d,practice,themes,route,departure,departure_city,departure_geom,cities,accessibilities,labels,districts`;\n\n return getAllPaginatedResults(treksRequest, init);\n}\n\nexport function getTrek(api, language, trekId, init) {\n return fetch(\n `${api}trek/${trekId}/?language=${language}&published=true&fields=id,name,attachments,description,description_teaser,difficulty,duration,ascent,descent,length_2d,practice,themes,route,geometry,gpx,kml,pdf,parking_location,departure,departure_city,arrival,cities,ambiance,access,public_transport,advice,advised_parking,gear,labels,source,points_reference,disabled_infrastructure,accessibility_level,accessibility_slope,accessibility_width,accessibility_signage,accessibility_covering,accessibility_exposure,accessibility_advice,accessibilities,ratings,ratings_description,information_desks,children,networks,web_links,update_datetime,departure_geom,districts,parents`,\n init,\n );\n}\n\nexport function getDistricts(api, language, init) {\n return getAllPaginatedResults(`${api}district/?language=${language}&fields=id,name&published=true`, init);\n}\n\nexport async function trekIsAvailableOffline(trekId) {\n const trek = await getDataInStore('treks', trekId);\n return trek && trek.offline;\n}\n\nexport function getPoisNearTrekCount(api, language, trekId, init) {\n return fetch(`${api}poi/?language=${language}&trek=${trekId}&published=true&fields=id&page_size=1`, init);\n}\n\nexport function getPoisNearTrek(api, language, trekId, init) {\n return getAllPaginatedResults(`${api}poi/?language=${language}&trek=${trekId}&published=true&fields=id,name,description,attachments,type,geometry`, init);\n}\n\nexport function getSensitiveAreasNearTrek(api, language, trekId, init) {\n return fetch(`${api}sensitivearea/?language=${language}&published=true&trek=${trekId}&period=ignore&fields=id,geometry,name,description,contact,info_url,period,practices,rules`, init);\n}\n\nexport function getCities(api, language, init, cities?) {\n let url = `${api}city/?language=${language}&fields=id,code,name&published=true`;\n if (cities) {\n url += `&ids=${cities.join(',')}`;\n }\n return getAllPaginatedResults(url, init);\n}\n\nexport function getThemes(api, language, portals, init) {\n return fetch(`${api}theme/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,label,pictogram`, init);\n}\n\nexport function getInformationsDesks(api, language, init) {\n return getAllPaginatedResults(\n `${api}informationdesk/?language=${language}&fields=id,name,description,type,phone,email,website,municipality,postal_code,street,photo_url,latitude,longitude`,\n init,\n );\n}\n\nexport function getSources(api, language, init) {\n return fetch(`${api}source/?language=${language}&fields=id,name,website,pictogram`, init);\n}\n\nexport function getSignages(api, language, trekId, init) {\n return getAllPaginatedResults(`${api}signage/?language=${language}&near_trek=${trekId}&fields=id,geometry,name&published=true`, init);\n}\n\nexport function getTrekNetwork(api, language, init) {\n return getAllPaginatedResults(`${api}trek_network/?language=${language}&published=true&fields=id,label,pictogram`, init);\n}\n\nexport function getTrekAccessibility(api: string, language: string, portals: string, init: RequestInit): any {\n return getAllPaginatedResults(`${api}trek_accessibility/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,name,pictogram&published=true`, init);\n}\n\nexport function getLabel(api: string, language: string, portals: string, init: RequestInit) {\n return getAllPaginatedResults(`${api}label/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,name,advice,pictogram,filter&published=true`, init);\n}\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"treks.service-DIrQ6UUF.js","sources":["src/services/treks.service.ts"],"sourcesContent":["import state from 'store/store';\nimport { getDataInStore } from './grw-db.service';\nimport { getAllPaginatedResults, getCacheMode } from '../utils/utils';\n\nexport function getTrekGeometry(id: number) {\n return fetch(`${state.api}trek/${id}/?language=${state.language}&published=true&fields=geometry`, { cache: getCacheMode() }).then(response =>\n response.json(),\n );\n}\n\nexport function getTreksList(api, language, inBbox, cities, districts, structures, themes, portals, routes, practices, labels, init) {\n let treksRequest = `${api}trek/?language=${language}&published=true`;\n\n inBbox && (treksRequest += `&in_bbox=${inBbox}`);\n cities && (treksRequest += `&cities=${cities}`);\n districts && (treksRequest += `&districts=${districts}`);\n structures && (treksRequest += `&structures=${structures}`);\n themes && (treksRequest += `&themes=${themes}`);\n portals && (treksRequest += `&portals=${portals}`);\n routes && (treksRequest += `&routes=${routes}`);\n practices && (treksRequest += `&practices=${practices}`);\n labels && (treksRequest += `&labels=${labels}`);\n\n treksRequest += `&fields=id,name,attachments,description_teaser,difficulty,duration,ascent,length_2d,practice,themes,route,departure,departure_city,departure_geom,cities,accessibilities,labels,districts`;\n\n return getAllPaginatedResults(treksRequest, init);\n}\n\nexport function getTrek(api, language, trekId, init) {\n return fetch(\n `${api}trek/${trekId}/?language=${language}&published=true&fields=id,name,attachments,description,description_teaser,difficulty,duration,ascent,descent,length_2d,practice,themes,route,geometry,gpx,kml,pdf,parking_location,departure,departure_city,arrival,cities,ambiance,access,public_transport,advice,advised_parking,gear,labels,source,points_reference,disabled_infrastructure,accessibility_level,accessibility_slope,accessibility_width,accessibility_signage,accessibility_covering,accessibility_exposure,accessibility_advice,accessibilities,ratings,ratings_description,information_desks,children,networks,web_links,update_datetime,departure_geom,districts,parents`,\n init,\n );\n}\n\nexport function getDistricts(api, language, init) {\n return getAllPaginatedResults(`${api}district/?language=${language}&fields=id,name&published=true`, init);\n}\n\nexport async function trekIsAvailableOffline(trekId) {\n const trek = await getDataInStore('treks', trekId);\n return trek && trek.offline;\n}\n\nexport function getPoisNearTrekCount(api, language, trekId, init) {\n return fetch(`${api}poi/?language=${language}&trek=${trekId}&published=true&fields=id&page_size=1`, init);\n}\n\nexport function getPoisNearTrek(api, language, trekId, init) {\n return getAllPaginatedResults(`${api}poi/?language=${language}&trek=${trekId}&published=true&fields=id,name,description,attachments,type,geometry`, init);\n}\n\nexport function getSensitiveAreasNearTrek(api, language, trekId, init) {\n return fetch(`${api}sensitivearea/?language=${language}&published=true&trek=${trekId}&period=ignore&fields=id,geometry,name,description,contact,info_url,period,practices,rules`, init);\n}\n\nexport function getCities(api, language, init, cities?) {\n let url = `${api}city/?language=${language}&fields=id,code,name&published=true`;\n if (cities) {\n url += `&ids=${cities.join(',')}`;\n }\n return getAllPaginatedResults(url, init);\n}\n\nexport function getThemes(api, language, portals, init) {\n return fetch(`${api}theme/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,label,pictogram`, init);\n}\n\nexport function getInformationsDesks(api, language, init) {\n return getAllPaginatedResults(\n `${api}informationdesk/?language=${language}&fields=id,name,description,type,phone,email,website,municipality,postal_code,street,photo_url,latitude,longitude`,\n init,\n );\n}\n\nexport function getSources(api, language, init) {\n return fetch(`${api}source/?language=${language}&fields=id,name,website,pictogram`, init);\n}\n\nexport function getSignages(api, language, trekId, init) {\n return getAllPaginatedResults(`${api}signage/?language=${language}&near_trek=${trekId}&fields=id,geometry,name&published=true`, init);\n}\n\nexport function getTrekNetwork(api, language, init) {\n return getAllPaginatedResults(`${api}trek_network/?language=${language}&published=true&fields=id,label,pictogram`, init);\n}\n\nexport function getTrekAccessibility(api: string, language: string, portals: string, init: RequestInit): any {\n return getAllPaginatedResults(`${api}trek_accessibility/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,name,pictogram&published=true`, init);\n}\n\nexport function getLabel(api: string, language: string, portals: string, init: RequestInit) {\n return getAllPaginatedResults(`${api}label/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,name,advice,pictogram,filter&published=true`, init);\n}\n\nexport function getTrekRatings(api: string, language: string, portals: string, init: RequestInit) {\n return getAllPaginatedResults(`${api}trek_rating/?language=${language}${portals ? '&portals='.concat(portals) : ''}&fields=id,name,scale`, init);\n}\n\nexport function getTrekRatingsScale(api: string, language: string, init: RequestInit) {\n return getAllPaginatedResults(`${api}trek_ratingscale/?language=${language}&fields=id,name`, init);\n}\n\n"],"names":["state","getCacheMode","getAllPaginatedResults","getDataInStore"],"mappings":"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"}
@@ -815,7 +815,7 @@ export class GrwTrekDetail {
815
815
  return (_a = departureCity.code) !== null && _a !== void 0 ? _a : departureCity.id;
816
816
  }
817
817
  render() {
818
- var _a, _b, _c, _d, _e;
818
+ var _a, _b, _c, _d, _e, _f;
819
819
  const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);
820
820
  const displayPaginationAndNavigation = (this.currentTrek && this.currentTrek.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;
821
821
  return (h(Host, { key: '8056c0a27f3a1dd46ae0d114d6f577d7228aeb3f', style: {
@@ -849,16 +849,30 @@ export class GrwTrekDetail {
849
849
  event.target.className = 'trek-img default-trek-img';
850
850
  event.target.src = defaultImageSrc;
851
851
  }, alt: attachment.legend })));
852
- })) : (h("img", { part: "trek-img", class: "trek-img default-trek-img", src: defaultImageSrc, loading: "lazy", alt: "" }))), h("div", { key: '67e31fe952c0cd6407d67951dd3b76d07979ee5e', style: { display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-pagination", class: "swiper-pagination", ref: el => (this.paginationElImagesRef = el) }), h("div", { key: '9fffc676f36b3ea5ac1816405ab045707cfde1ce', style: { display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-button-prev", class: "swiper-button-prev", ref: el => (this.prevElImagesRef = el) }), h("div", { key: 'ff5806e477f5c9211159a49feb884d1a401403f0', style: { display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-button-next", class: "swiper-button-next", ref: el => (this.nextElImagesRef = el) }))), h("div", { key: '4f2ca1b81824e62db8771540b32350e29ad1c4da', part: "trek-name", class: "trek-name" }, this.currentTrek.name), this.themes.length > 0 && (h("div", { key: '470e578f6ff3607b85d1421f967040a4b3eb1617', part: "themes-container", class: "themes-container" }, this.themes.map(theme => (h("div", { part: "theme", class: "theme" }, theme.label))))), h("div", { key: '4ab0300ca98a161dd25ee3690fe08bfa1e0ca222', part: "sub-container", class: "sub-container" }, h("div", { key: '8bf748be4496f6adb82df0ee9b1cbf7c22caa63c', part: "icons-labels-container", class: "icons-labels-container" }, this.difficulty && (h("div", { key: 'cad66bad05ce721070792ba132551ef87b3f238f', part: "icon-label", class: "icon-label difficulty" }, this.difficulty.pictogram && h("img", { key: 'c6ff801d49c4fba4f73b435557734c5337be9f44', part: "icon", class: "icon", src: this.difficulty.pictogram, alt: "" }), h("span", { key: '211b95c6bb7ed70744fb6aebb533e6975d8d2e73', part: "label", class: "label" }, this.difficulty.label))), h("div", { key: 'ba0afce0152a48fd6c999bc72f5405c8339cfebe', part: "icon-label", class: "icon-label duration" }, h("span", { key: 'f23bd5fff68eedcb171d24b410f5662b6ae9d543', part: "icon", class: "icon", innerHTML: TimelapseIcon }), h("span", { key: 'efc712b997738e778ee209240fbab4046538f8fc', part: "label", class: "label" }, formatDuration((_a = this.currentTrek) === null || _a === void 0 ? void 0 : _a.duration))), h("div", { key: 'f4896a51c6f998f2bebfe4414497b543981237cc', part: "icon-label", class: "icon-label route" }, ((_b = this.route) === null || _b === void 0 ? void 0 : _b.pictogram) && h("img", { key: 'b43dbfc142270470eef68156c1c2885201c61b58', part: "icon", class: "icon", src: this.route.pictogram, alt: "" }), h("span", { key: 'c05006ec9e314a1c646ccab58f65524942c7b831', part: "label", class: "label" }, (_c = this.route) === null || _c === void 0 ? void 0 : _c.route)), h("div", { key: 'c45260033030cb8659b2a4dc3b878c71111d7076', part: "icon-label", class: "icon-label length" }, h("span", { key: '8781656a190650a50a7234b54974f228ba1d61c5', part: "icon", class: "icon", innerHTML: OpenInFullIcon }), h("span", { key: '3093ad0b2e2af5e7e26b10b03ee42b2412300d82', part: "label", class: "label" }, formatLength(this.currentTrek.length_2d))), this.currentTrek.ascent && (h("div", { key: '24b747036ff58269711258338ee2701f23e582bc', part: "icon-label", class: "icon-label ascent" }, h("span", { key: 'd508bc3f8fce3b617d83fda582d63efa22488209', part: "icon", class: "icon", innerHTML: MovingIcon }), h("span", { key: '6ad471609f440720c0fd98a4bd986d5878570884', part: "label", class: "label" }, formatAscent(this.currentTrek.ascent)))), this.currentTrek.descent && (h("div", { key: '533222292f4506e97fbfab8045908ac518fc7e13', part: "icon-label", class: "icon-label descent" }, h("span", { key: '8fbb18e91fcd0fa0ae3b95967e4b9e3b1f754317', part: "icon", class: "icon", innerHTML: MovingIcon }), h("span", { key: 'f923f7757c63ba36e25e607030dad10339c46b29', part: "label", class: "label" }, formatDescent(this.currentTrek.descent)))), h("div", { key: '91124c364f4e87dfe4a8ab1d3654c8a99defc388', part: "icon-label", class: "icon-label practice" }, ((_d = this.practice) === null || _d === void 0 ? void 0 : _d.pictogram) && h("img", { key: '389b3691c84570648183d4d950945cc278c4b85c', part: "icon", class: "icon", src: this.practice.pictogram, alt: "" }), h("span", { key: '3628a2a7812fa47fa445334f7f0e246707527e66', part: "label", class: "label" }, (_e = this.practice) === null || _e === void 0 ? void 0 : _e.name)), h("div", { key: '98f4b85c92d0b2a3c6054245171b52e454ede447', part: "icon-label", class: "icon-label networks" }, this.currentTrek.networks.map(networkId => {
853
- const currentNetwork = state.networks.find(network => network.id === networkId);
852
+ })) : (h("img", { part: "trek-img", class: "trek-img default-trek-img", src: defaultImageSrc, loading: "lazy", alt: "" }))), h("div", { key: '67e31fe952c0cd6407d67951dd3b76d07979ee5e', style: { display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-pagination", class: "swiper-pagination", ref: el => (this.paginationElImagesRef = el) }), h("div", { key: '9fffc676f36b3ea5ac1816405ab045707cfde1ce', style: { display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-button-prev", class: "swiper-button-prev", ref: el => (this.prevElImagesRef = el) }), h("div", { key: 'ff5806e477f5c9211159a49feb884d1a401403f0', style: { display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }, part: "swiper-button-next", class: "swiper-button-next", ref: el => (this.nextElImagesRef = el) }))), h("div", { key: '4f2ca1b81824e62db8771540b32350e29ad1c4da', part: "trek-name", class: "trek-name" }, this.currentTrek.name), this.themes.length > 0 && (h("div", { key: '470e578f6ff3607b85d1421f967040a4b3eb1617', part: "themes-container", class: "themes-container" }, this.themes.map(theme => (h("div", { part: "theme", class: "theme" }, theme.label))))), h("div", { key: '4ab0300ca98a161dd25ee3690fe08bfa1e0ca222', part: "sub-container", class: "sub-container" }, h("div", { key: '8bf748be4496f6adb82df0ee9b1cbf7c22caa63c', part: "icons-labels-container", class: "icons-labels-container" }, this.difficulty && (h("div", { key: 'cad66bad05ce721070792ba132551ef87b3f238f', part: "icon-label", class: "icon-label difficulty" }, this.difficulty.pictogram && h("img", { key: 'c6ff801d49c4fba4f73b435557734c5337be9f44', part: "icon", class: "icon", src: this.difficulty.pictogram, alt: "" }), h("span", { key: '211b95c6bb7ed70744fb6aebb533e6975d8d2e73', part: "label", class: "label" }, this.difficulty.label))), h("div", { key: 'ba0afce0152a48fd6c999bc72f5405c8339cfebe', part: "icon-label", class: "icon-label duration" }, h("span", { key: 'f23bd5fff68eedcb171d24b410f5662b6ae9d543', part: "icon", class: "icon", innerHTML: TimelapseIcon }), h("span", { key: 'efc712b997738e778ee209240fbab4046538f8fc', part: "label", class: "label" }, formatDuration((_a = this.currentTrek) === null || _a === void 0 ? void 0 : _a.duration))), h("div", { key: 'f4896a51c6f998f2bebfe4414497b543981237cc', part: "icon-label", class: "icon-label route" }, ((_b = this.route) === null || _b === void 0 ? void 0 : _b.pictogram) && h("img", { key: 'b43dbfc142270470eef68156c1c2885201c61b58', part: "icon", class: "icon", src: this.route.pictogram, alt: "" }), h("span", { key: 'c05006ec9e314a1c646ccab58f65524942c7b831', part: "label", class: "label" }, (_c = this.route) === null || _c === void 0 ? void 0 : _c.route)), h("div", { key: 'c45260033030cb8659b2a4dc3b878c71111d7076', part: "icon-label", class: "icon-label length" }, h("span", { key: '8781656a190650a50a7234b54974f228ba1d61c5', part: "icon", class: "icon", innerHTML: OpenInFullIcon }), h("span", { key: '3093ad0b2e2af5e7e26b10b03ee42b2412300d82', part: "label", class: "label" }, formatLength(this.currentTrek.length_2d))), this.currentTrek.ascent && (h("div", { key: '24b747036ff58269711258338ee2701f23e582bc', part: "icon-label", class: "icon-label ascent" }, h("span", { key: 'd508bc3f8fce3b617d83fda582d63efa22488209', part: "icon", class: "icon", innerHTML: MovingIcon }), h("span", { key: '6ad471609f440720c0fd98a4bd986d5878570884', part: "label", class: "label" }, formatAscent(this.currentTrek.ascent)))), this.currentTrek.descent && (h("div", { key: '533222292f4506e97fbfab8045908ac518fc7e13', part: "icon-label", class: "icon-label descent" }, h("span", { key: '8fbb18e91fcd0fa0ae3b95967e4b9e3b1f754317', part: "icon", class: "icon", innerHTML: MovingIcon }), h("span", { key: 'f923f7757c63ba36e25e607030dad10339c46b29', part: "label", class: "label" }, formatDescent(this.currentTrek.descent)))), h("div", { key: '91124c364f4e87dfe4a8ab1d3654c8a99defc388', part: "icon-label", class: "icon-label practice" }, ((_d = this.practice) === null || _d === void 0 ? void 0 : _d.pictogram) && h("img", { key: '389b3691c84570648183d4d950945cc278c4b85c', part: "icon", class: "icon", src: this.practice.pictogram, alt: "" }), h("span", { key: '3628a2a7812fa47fa445334f7f0e246707527e66', part: "label", class: "label" }, (_e = this.practice) === null || _e === void 0 ? void 0 : _e.name)), h("div", { key: '98f4b85c92d0b2a3c6054245171b52e454ede447', part: "icon-label", class: "icon-label networks" }, (_f = this.currentTrek.networks) === null || _f === void 0 ? void 0 : _f.map(networkId => {
853
+ var _a;
854
+ const currentNetwork = (_a = state.networks) === null || _a === void 0 ? void 0 : _a.find(network => network.id === networkId);
855
+ if (!currentNetwork)
856
+ return null;
854
857
  return (h("div", { part: "network", class: "network" }, h("img", { part: "icon", class: "icon", src: currentNetwork.pictogram, alt: "" }), h("span", { part: "label", class: "label" }, currentNetwork.label)));
855
- })), this.currentTrek.ratings.map(trekRating => (h("div", { part: "row", class: "row" }, `${state.ratingsScale.find(ratingScale => ratingScale.id === state.ratings.find(rating => rating.id === trekRating).scale).name} : ${state.ratings.find(rating => rating.id === trekRating).name}`))), this.currentTrek.ratings_description && this.currentTrek.ratings_description !== '' && (h("div", { key: '959a582515ef405593236395424126d1216dbe2c', part: "row", class: "row", innerHTML: this.currentTrek.ratings_description })))), h("div", { key: '8b7fbc0b6663e14787ae77b6361336566de55e1c', part: "divider", class: "divider" }), h("div", { key: 'f61b797b28715b9f51aeecf1c9b25d427981cd33', part: "downloads-container", class: "downloads-container" }, h("div", { key: 'dedc75ff149fbe7af6c4f185984caaec9d60fc23', part: "download-title", class: "download-title" }, translate[state.language].downloads), this.enableOffline && !this.offline && (!this.currentTrek.parents || this.currentTrek.parents.length === 0) && (h("button", { key: '321c467215bdcb13dee80429917839e384a3dd47', part: "offline-button", class: "offline-button", onClick: () => this.displayDownloadModal() }, h("span", { key: 'f0dd64f71252423800c0babd44cfe64b111da058', part: "icon", class: "icon", innerHTML: DownloadForOfflineIcon }), h("span", { key: '52ba27758ff9976c446e23bfc5445d01fcf5a1a3', part: "label", class: "label" }, translate[state.language].offline.downloadOffline))), this.enableOffline && this.offline && (!this.currentTrek.parents || this.currentTrek.parents.length === 0) && (h("button", { key: '03e83bf7574544381966e70d8bf9733ee52457ed', part: "offline-button", class: "offline-button", onClick: () => this.displayDeleteModal() }, h("span", { key: 'f9864d59ab7d24b3a5423e87955a9efaa57e9929', part: "icon", class: "icon", innerHTML: DeleteIcon }), h("span", { key: '36b00cf931f23e589370782d1d20ecf110d55a73', part: "label", class: "label" }, translate[state.language].offline.deleteOffline))), h("div", { key: 'd25adf7dac053053c78dd2394dce0a8ad2d08dd3', part: "links-container", class: "links-container" }, h("a", { key: '083d5015860990b92b862b90059859effbd63152', part: "download-gpx-button", href: `${this.currentTrek.gpx}`, target: "_blank", rel: "noopener noreferrer" }, h("span", { key: '70dc52bbf66c942a54e87b16190ddb906d45ce74', part: "icon", class: " icon", innerHTML: DownloadIcon }), h("span", { key: 'cf1d48cce613b2ce2db567cf2643296fb6bab6ff', part: "label", class: "label" }, "GPX")), h("a", { key: 'fe884adaa7ed87469a5739d228696e57bf019797', part: "download-kml-button", href: `${this.currentTrek.kml}`, target: "_blank", rel: "noopener noreferrer" }, h("span", { key: '80e147b1b8dd9f8e892945962ce8eaec65660db5', part: "icon", class: "icon", innerHTML: DownloadIcon }), h("span", { key: '5947a2b2b0f18202543f73bcb006f80e25cf5874', part: "label", class: "label" }, "KML")), h("a", { key: '6b357227e2e19762cbc72b77ed8e1fb9fafa603f', part: "download-pdf-button", href: `${this.currentTrek.pdf}${state.portalsFromProviders && state.portalsFromProviders.length === 1 ? '?portal=' + state.portalsFromProviders[0] : ''}`, target: "_blank", rel: "noopener noreferrer" }, h("span", { key: '55a217e55bfb40742643faf58de79fbe543ef56e', part: "icon", class: "icon", innerHTML: DownloadIcon }), h("span", { key: '534104d27f7848e12961a22abfb6e3adb1cb4db6', part: "label", class: "label" }, "PDF")))), h("div", { key: 'eb09e163cee36395feee4af52eb5fa08e5dadd24', part: "divider", class: "divider" }), this.currentTrek.description_teaser && h("div", { key: '22f9f5adb9d1ecdc983631a38f99ae3914aa1138', part: "description-teaser", class: "description-teaser", innerHTML: this.currentTrek.description_teaser }), this.currentTrek.ambiance && h("div", { key: '2f5b2c6f4465b34a9ded31117eca4c77888e313e', part: "ambiance", class: "ambiance", innerHTML: this.currentTrek.ambiance }), state.parentTrekId && state.parentTrek && this.currentTrek.id !== state.parentTrekId && (h("div", { key: 'bc2450adcc11f0c8a442b7bc309e887068549b0f' }, h("div", { key: '9c980513fb5978b7e237dacb93a1df212fde7ef2', part: "divider", class: "divider" }), h("div", { key: '5a5f182a940e7a40b865a757efe07ecd9f25154f', part: "parent-trek-container", class: "parent-trek-container" }, h("button", { key: '6865307bb7de7b92b2e09d4173f76ca8cc4e986d', part: "parent-trek-title", class: "parent-trek-title", onClick: () => this.parentTrekPress.emit(state.parentTrekId) }, h("div", { key: '7828106272691c19f8f3d07fedb5d7356fb9cb8c' }, "<"), state.parentTrek.name)))), state.currentTrekSteps && (h("div", { key: '106ad3681a9f334655511c29f9ea09b1e1ca3a3d', part: "step-container", class: "step-container", ref: el => (this.stepsRef = el) }, h("div", { key: 'f137781a108d2a4d7f7742c86253edb177e7e056', part: "step-title", class: "step-title" }, `${state.currentTrekSteps.length} ${translate[state.language].steps}`), h("div", { key: 'fc7ebf27e050e59baada91644b2cdccf8e757be4', part: "swiper-step", class: "swiper swiper-step", ref: el => (this.swiperStepRef = el) }, h("div", { key: '7532ce0130a341b5ce35bb46954277a6973c7259', part: "swiper-wrapper", class: "swiper-wrapper" }, state.currentTrekSteps &&
858
+ })), this.currentTrek.ratings &&
859
+ state.ratings &&
860
+ state.ratingsScale &&
861
+ this.currentTrek.ratings.map(trekRating => {
862
+ const rating = state.ratings.find(r => r.id === trekRating);
863
+ if (!rating)
864
+ return null;
865
+ const scale = state.ratingsScale.find(rs => rs.id === rating.scale);
866
+ if (!scale)
867
+ return null;
868
+ return (h("div", { part: "row", class: "row" }, `${scale.name} : ${rating.name}`));
869
+ }), this.currentTrek.ratings_description && this.currentTrek.ratings_description !== '' && (h("div", { key: 'be45be1e4ec518e10d8bb517ec97ada6d148d18a', part: "row", class: "row", innerHTML: this.currentTrek.ratings_description })))), h("div", { key: '73166517c274a896c66f660178cbf75a6c3d26d4', part: "divider", class: "divider" }), h("div", { key: '1f89d784c875cb52e0e2aeb7336fa2201cabc5c7', part: "downloads-container", class: "downloads-container" }, h("div", { key: '37cb5c0de2e31d6b18571d671acbb188c5d16960', part: "download-title", class: "download-title" }, translate[state.language].downloads), this.enableOffline && !this.offline && (!this.currentTrek.parents || this.currentTrek.parents.length === 0) && (h("button", { key: '2c81dbe5096a7f8753f9c3f78d24700c198c40dc', part: "offline-button", class: "offline-button", onClick: () => this.displayDownloadModal() }, h("span", { key: '0690d25f36666c42a3751551664faa4faaa806f9', part: "icon", class: "icon", innerHTML: DownloadForOfflineIcon }), h("span", { key: 'be1ec5b062e965ed5fa5cd79d2987c8e79dff6fd', part: "label", class: "label" }, translate[state.language].offline.downloadOffline))), this.enableOffline && this.offline && (!this.currentTrek.parents || this.currentTrek.parents.length === 0) && (h("button", { key: '6643c2fcba8207e7ad08c2c216d9a59accc70ba4', part: "offline-button", class: "offline-button", onClick: () => this.displayDeleteModal() }, h("span", { key: '267fc4080aac8b73ef19f5b58f8264b1a0c5eb45', part: "icon", class: "icon", innerHTML: DeleteIcon }), h("span", { key: 'cba3162d287a629daaa5ea18746ad6795628ce74', part: "label", class: "label" }, translate[state.language].offline.deleteOffline))), h("div", { key: 'a4160f10fc13640f0219352e62659acbb84a55e0', part: "links-container", class: "links-container" }, h("a", { key: '2b22420fb12cdbce5ea3422c6cec7e2d1398440f', part: "download-gpx-button", href: `${this.currentTrek.gpx}`, target: "_blank", rel: "noopener noreferrer" }, h("span", { key: '9858ac2d2691d74646941237a76a7a8d93c90999', part: "icon", class: " icon", innerHTML: DownloadIcon }), h("span", { key: '0e5d1a67fd6068ffd6757b961e8e2a4e34485804', part: "label", class: "label" }, "GPX")), h("a", { key: '8bb88524999b700629f96da239a384177f8ee4ec', part: "download-kml-button", href: `${this.currentTrek.kml}`, target: "_blank", rel: "noopener noreferrer" }, h("span", { key: '1c49c772fec62afd8fb26369165427f38f8506e2', part: "icon", class: "icon", innerHTML: DownloadIcon }), h("span", { key: '1a0e1eea8efcb88995f2e781dd1741865e8739fc', part: "label", class: "label" }, "KML")), h("a", { key: '5ab0bb7a155736e9ea0c077be254abfebc878c4f', part: "download-pdf-button", href: `${this.currentTrek.pdf}${state.portalsFromProviders && state.portalsFromProviders.length === 1 ? '?portal=' + state.portalsFromProviders[0] : ''}`, target: "_blank", rel: "noopener noreferrer" }, h("span", { key: 'ea8a117a7765eaa66a47b2a3897cb7029497cc69', part: "icon", class: "icon", innerHTML: DownloadIcon }), h("span", { key: '35991b278ba93d8089f96673be75fb8d5dee3f9a', part: "label", class: "label" }, "PDF")))), h("div", { key: 'bf5999b7846b85d33c8f4eb80542ec5be7419acd', part: "divider", class: "divider" }), this.currentTrek.description_teaser && h("div", { key: '76c04a32f9c27209a27c903cf0c8051ed69de068', part: "description-teaser", class: "description-teaser", innerHTML: this.currentTrek.description_teaser }), this.currentTrek.ambiance && h("div", { key: 'a1b945d6d95b814ef44eff0cb521164fbc7cc1a0', part: "ambiance", class: "ambiance", innerHTML: this.currentTrek.ambiance }), state.parentTrekId && state.parentTrek && this.currentTrek.id !== state.parentTrekId && (h("div", { key: '14a2851a9663619a9e984e7cc0e81d0b00b80133' }, h("div", { key: 'bca99f01e2525cea538dcf99e46210fae1134147', part: "divider", class: "divider" }), h("div", { key: 'fefd49f0703c4604477e501f05d835744df7061d', part: "parent-trek-container", class: "parent-trek-container" }, h("button", { key: 'd879717b82916dae39fbdad99eee17df33615bd1', part: "parent-trek-title", class: "parent-trek-title", onClick: () => this.parentTrekPress.emit(state.parentTrekId) }, h("div", { key: 'bed07488869c0b7cfd4a483a539dc4f75a4a237e' }, "<"), state.parentTrek.name)))), state.currentTrekSteps && (h("div", { key: '8ce08e9dd17accad9f4c0352efd74e57729aa579', part: "step-container", class: "step-container", ref: el => (this.stepsRef = el) }, h("div", { key: '6e1d7af75339fd0d550a16d2855dcc9033f892dc', part: "step-title", class: "step-title" }, `${state.currentTrekSteps.length} ${translate[state.language].steps}`), h("div", { key: '768caf0c1a3618e78f2684ddf1ba5b115a1a809c', part: "swiper-step", class: "swiper swiper-step", ref: el => (this.swiperStepRef = el) }, h("div", { key: 'beadc34783bb73ebcb55842b0669507cffddc94e', part: "swiper-wrapper", class: "swiper-wrapper" }, state.currentTrekSteps &&
856
870
  state.currentTrekSteps.map(trek => {
857
871
  return (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-trek-card", { exportparts: "trek-card,trek-img-container,trek-img,trek-sub-container,trek-departure,trek-name,trek-themes-container,trek-theme,trek-icons-labels-container,trek-icon-label,trek-icon,trek-label", key: `trek-${trek.id}`, trek: trek, "is-large-view": false, "is-step": true, fontFamily: this.fontFamily, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "grw-app": this.grwApp })));
858
- })), h("div", { key: '82d6e26e7584ac4e23f05a5c2152d04f3f229b91', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.stepSwiperScrollbar = el) })))), h("div", { key: '1a20c8e498809a4555003d0fefc342b0a9240fde', part: "divider", class: "divider" }), this.currentTrek.description && (h("div", { key: 'f644c5ad8cd76f6827deb41193b8d137a0e3d111', part: "description-container", class: "description-container", ref: el => (this.descriptionRef = el) }, h("div", { key: 'c5f841ff84e642de1360cd8fc6b9dbe86a4ae42f', part: "description-title", class: "description-title" }, translate[state.language].description), h("div", { key: '3a38e92b983ed9878edf7d913e2ec1393a898f51', part: "description", class: "description", innerHTML: this.currentTrek.description }))), this.currentTrek.departure && (h("div", { key: '424d1055fe0ba1d4a31baa0ce36d980acbf8367c', part: "departure-container", class: "departure-container" }, h("div", { key: 'b79eef1c86fc742f2f2002025b0b0a1b12f35289', part: "departure-title", class: "departure-title" }, translate[state.language].departure, " :\u00A0"), h("div", { key: 'f4064893d6c1a56e122fd57af0f439f703632a1d', part: "departure", innerHTML: this.currentTrek.departure }))), this.currentTrek.arrival && (h("div", { key: '03dfcbe14a9350c972f094f5de2de8d3f0d979b3', part: "arrival-container", class: "arrival-container" }, h("div", { key: 'd3b85e8b66db1b9d6b72bdb8788b3276a0df6121', part: "arrival-title", class: "arrival-title" }, translate[state.language].arrival, " :\u00A0"), h("div", { key: '9081f47d91addfe2f22adf6db1ea3aa92be6a1f8', part: "arrival", innerHTML: this.currentTrek.arrival }))), this.cities && this.cities.length > 0 && (h("div", { key: 'c4ab6dfc1231bd599190b8f07cf40082565b73af', part: "cities-container", class: "cities-container" }, h("div", { key: '66900f4faae39815f6742ac84efc6bbd203f9f98', part: "cities-title", class: "cities-title" }, translate[state.language].crossedCities, " :\u00A0"), h("div", { key: '71992d6c6cd1ee0cc6eb97cc2d1873394852709c', part: "cities", innerHTML: this.cities.join(', ') }))), this.options.pois.visible && (h("div", { key: '679812d89dcf7c71bbad5d063a4ad2695484d52d', part: "divider-and-pois-container", class: "divider-and-pois-container" }, h("div", { key: '5f654f8305a3c2037ab4ef933627b54078cdb179', part: "divider", class: "divider" }), h("div", { key: 'c2728e2c799c4849121f866d1842420a1788d10c', part: "pois-container", class: "pois-container", ref: el => (this.poiRef = el) }, h("div", { key: '19a4cfa71a7aff1f6b285f8f06b17c044671fecf', part: "pois-title", class: "pois-title" }, translate[state.language].pois(state.poisData)), !state.currentPois ? (h("div", { class: "loader-container" }, h("span", { part: "loader", class: "loader" }))) : (h(Fragment, null, h("div", { part: "swiper-pois", class: "swiper swiper-pois", ref: el => (this.swiperPoisRef = el) }, h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, state.currentPois.map(poi => (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-poi", { exportparts: "poi-type-img-container,poi-type,swiper-poi,swiper-wrapper,swiper-slide,poi-img,default-poi-img,swiper-pagination,swiper-button-prev,swiper-button-next,poi-sub-container,poi-name,poi-description,handle-poi-description", poi: poi, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), h("div", { part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.poisSwiperScrollbar = el) }))))))), this.weather && this.currentTrek.departure_city && !this.offline && (h("div", { key: '32c7caccb69525034b809de42f13e8f3b8b61ed8', part: "divider-and-weather-container", class: "divider-and-weather-container" }, h("div", { key: '722c6f50bcb389f83a0eb9f081de9782aa20f065', part: "divider", class: "divider" }), h("div", { key: '1b4e3f0c16f0c8b07aed7cf3e7ef1a0b62481e34', part: "weather-container", class: "weather-container" }, h("iframe", { key: '85b6174af0943fb5d8dd1c258e0e7fb3155915c2', height: "150", frameborder: "0", src: `https://meteofrance.com/widget/prevision/${this.getDepartureCityCode()}0#${this.colorPrimaryApp}` })))), this.currentTrek.access && (h("div", { key: '8f55b9980ca5f6a05a21b3dfee27d8daad28f4ed', part: "divider-and-access-container", class: "divider-and-access-container" }, h("div", { key: '6b999460b3be42a1f5737404ac12546641ad5605', part: "divider", class: "divider" }), h("div", { key: 'b444f6cf479c1764ab24ce77624441476cbc5ae5', part: "access-container", class: "access-container" }, h("div", { key: '32ea6ecf2161461829e6bfedc024a03c012ddf6e', part: "access-title", class: "access-title" }, translate[state.language].roadAccessAndParking), h("div", { key: 'b5af522d4dafea88403e2f6c25e0e5b96d110d6f', part: "access", class: "access", innerHTML: this.currentTrek.access }), this.currentTrek.advised_parking && (h("div", { key: '62a350569c78215a0d0d82a49eb93914a45fb5b3' }, h("div", { key: 'c23a1a480d1c6003d52c7ae4227a404635aa7cae', part: "advised-parking-title", class: "advised-parking-title", ref: el => (this.parkingRef = el) }, translate[state.language].recommendedParking), h("div", { key: '4bf846cbb00062bb845ebc3f2378f15d4a591efc', part: "advised-parking", class: "advised-parking", innerHTML: this.currentTrek.advised_parking })))))), this.currentTrek.public_transport && (h("div", { key: '46315fc06149058dc65732590b3956a2b5fd1e54', part: "divider-and-public-transport-container", class: "divider-and-public-transport-container" }, h("div", { key: 'a2e5677213d8cded4d8fd0efa56db623677db8f9', part: "divider", class: "divider" }), h("div", { key: '5b98f2dab7816b216c66f30bb7f7bc85bd6e50bd', part: "public-transport-container", class: "public-transport-container" }, h("div", { key: '45be9280165c7c9572b5b36468450653ac210e84', part: "public-transport-title", class: "public-transport-title" }, translate[state.language].transport), h("div", { key: 'e225a8208f6467da2024a42fe3d0a7101b1e62f8', part: "public-transport", class: "public-transport", innerHTML: this.currentTrek.public_transport })))), (this.currentTrek.advice || this.currentTrek.gear || this.labels.length > 0) && (h("div", { key: '70a4cbe0e9b08ce8aa5410afa91a1881d7800e01', part: "divider-and-advice-container", class: "divider-and-advice-container" }, h("div", { key: 'e1aed98949f3eb0f183d408f82fcbcf1fa624b77', part: "divider", class: "divider" }), h("div", { key: '2ef7f15133def436025d23cc6a86d8cbbfdaca7a', part: "advice-container", class: "advice-container", ref: el => (this.recommendationRef = el) }, h("div", { key: 'eada90316b5ba0778cbb0f8d042eb0c72b5d177a', part: "advice-title", class: "advice-title" }, translate[state.language].recommendations), this.currentTrek.advice && (h("div", { key: 'd24d00534002a07815e357a9ecf73580321d1999', part: "current-advice-container", class: "current-advice-container" }, h("span", { key: '4415eafd39b756b0eb88454471790d42644a0c71', part: "advice-icon", class: "icon", innerHTML: WarningIcon }), h("div", { key: '38784b07b50694d4dbd7636e2a2dc5068fbb9c62', part: "advice", class: "advice", innerHTML: this.currentTrek.advice }))), this.currentTrek.gear && (h("div", { key: 'fe9e0d26941fc74485927c45563734cb928e07b9', part: "gear-container", class: "gear-container" }, h("span", { key: 'a122780796ea6273d75a215c524128f043bf5311', part: "gear-icon", class: "icon", innerHTML: BackpackIcon }), h("div", { key: '502773b89ec729f5934b54152635992d76a59a07', part: "gear", class: "gear", innerHTML: this.currentTrek.gear }))), this.labels.map(label => (h("div", { part: "label-container", class: "label-container" }, h("div", { part: "label-sub-container", class: "label-sub-container" }, label.pictogram && h("img", { src: label.pictogram, alt: "" }), h("div", { part: "label-name", class: "label-name", innerHTML: label.name })), h("div", { part: "label-advice", class: "label-advice", innerHTML: label.advice }))))))), state.currentSensitiveAreas && state.currentSensitiveAreas.length > 0 && (h("div", { key: '2330217d02fdae7fec9d172a695b6802e8eccc18', part: "divider-and-sensitive-areas-container", class: "divider-and-sensitive-areas-container" }, h("div", { key: '6d601e7d60c0ae7b93feb4b4d9c5d49493fc804d', part: "divider", class: "divider" }), h("div", { key: '26b5b33c9315e92c3cf9d1f4e406e11a84fc472d', part: "sensitive-areas-container", class: "sensitive-areas-container", ref: el => (this.sensitiveAreaRef = el) }, h("div", { key: '4e0f88b6787e6a787f6e322afe9418b43c49835f', part: "ensitive-areas-title", class: "sensitive-areas-title" }, translate[state.language].environmentalSensitiveAreas), h("div", { key: '9e022c2e5a68bc41dd24efd80fc61d77d05aa129', part: "sensitive-areas-description", class: "sensitive-areas-description" }, translate[state.language].sensitiveAreasDescription), state.currentSensitiveAreas.map(sensitiveArea => (h("grw-sensitive-area-detail", { exportparts: "sensitive-area-title-container,sensitive-area-color-container,sensitive-area-title,sensitive-area-description,sensitive-area-practice-container,sensitive-area-practice-title,sensitive-area-practices,sensitive-area-practice,sensitive-area-period-container,sensitive-area-period-title,sensitive-area-periods,sensitive-area-period,sensitive-area-contact-container,sensitive-area-contact-title,sensitive-area-contact-value,sensitive-area-rules-container,sensitive-area-rules-title,sensitive-area-rules,sensitive-area-rule,sensitive-area-rule-name,sensitive-area-rule-description", sensitiveArea: sensitiveArea })))))), state.currentInformationDesks &&
859
- state.currentInformationDesks.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id)).length > 0 && (h("div", { key: 'affc64d00a42b3557c77c0e539d9f28c2f2a7b0d', part: "divider-and-information-desks-container", class: "divider-and-information-desks-container" }, h("div", { key: 'dc42de3668a1999947bcc5abfbbebfe5067c7938', part: "divider", class: "divider" }), h("div", { key: '0a9fb3c3edce7534e3241f6373d9fbe40c2c9708', part: "information-desks-container", class: "information-desks-container", ref: el => (this.informationPlacesRef = el) }, h("div", { key: '46acb460dec431719ff0b5fb648bc25664e0c6fc', part: "information-desks-title", class: "information-desks-title" }, translate[state.language].informationPlaces), h("div", { key: 'e9f176fd9c27b94ea7faed71d1e9aba0122738a8', part: "swiper-information-desks", class: "swiper swiper-information-desks", ref: el => (this.swiperInformationDesksRef = el) }, h("div", { key: 'f9f194878ca47368928fce5784005080bb7a5535', part: "swiper-wrapper", class: "swiper-wrapper" }, state.currentInformationDesks
872
+ })), h("div", { key: 'c42299aff5ad2091f61a5121e0871d3a3c470724', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.stepSwiperScrollbar = el) })))), h("div", { key: 'db44ce34b81d03f9c412e54433a69d8507cf3ab6', part: "divider", class: "divider" }), this.currentTrek.description && (h("div", { key: 'fc4bfdc7ea6fa092a8249053ec111cc404d306d9', part: "description-container", class: "description-container", ref: el => (this.descriptionRef = el) }, h("div", { key: 'aa12ae2fc3017bb59097555f1c8a6171d8248fa4', part: "description-title", class: "description-title" }, translate[state.language].description), h("div", { key: '5a0b7b6eff715a213533ab1e91751ffc862e7b87', part: "description", class: "description", innerHTML: this.currentTrek.description }))), this.currentTrek.departure && (h("div", { key: '1055d8766febbbd18f5dc993e5fefd5b2927314f', part: "departure-container", class: "departure-container" }, h("div", { key: '6b676e5ce915da16481e7dd4eec0d58d3e5af814', part: "departure-title", class: "departure-title" }, translate[state.language].departure, " :\u00A0"), h("div", { key: '23d9987816c7872187dffc9ee5407975c12b20a3', part: "departure", innerHTML: this.currentTrek.departure }))), this.currentTrek.arrival && (h("div", { key: 'ce8d3bc40a75d642cd9f16204df89b625afea755', part: "arrival-container", class: "arrival-container" }, h("div", { key: 'b94c44817e347d0e62b194c4c8a4c22dce8cb7a5', part: "arrival-title", class: "arrival-title" }, translate[state.language].arrival, " :\u00A0"), h("div", { key: '765913eb6e8ead102cfb6dbc7ee0b074d8f05a43', part: "arrival", innerHTML: this.currentTrek.arrival }))), this.cities && this.cities.length > 0 && (h("div", { key: 'cab01c4af2d4fb836cc35a9b243ac7afd50a9088', part: "cities-container", class: "cities-container" }, h("div", { key: '3991f88880808c7a0542ab40c0a195b0602d64ec', part: "cities-title", class: "cities-title" }, translate[state.language].crossedCities, " :\u00A0"), h("div", { key: 'a7d7a7a7a04fb9b2ee761a1f58881cf02bb3edbb', part: "cities", innerHTML: this.cities.join(', ') }))), this.options.pois.visible && (h("div", { key: 'c96b0a84ba48006025e397f5fea38a460616a9e0', part: "divider-and-pois-container", class: "divider-and-pois-container" }, h("div", { key: 'b863150374a53b0dc7ae920dbff19f7c81181c1f', part: "divider", class: "divider" }), h("div", { key: '5ac0b85fb62eb636d52dfed810f93004449237b2', part: "pois-container", class: "pois-container", ref: el => (this.poiRef = el) }, h("div", { key: '5ef409abb360c9500b2796252a92ed97f56a834c', part: "pois-title", class: "pois-title" }, translate[state.language].pois(state.poisData)), !state.currentPois ? (h("div", { class: "loader-container" }, h("span", { part: "loader", class: "loader" }))) : (h(Fragment, null, h("div", { part: "swiper-pois", class: "swiper swiper-pois", ref: el => (this.swiperPoisRef = el) }, h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, state.currentPois.map(poi => (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-poi", { exportparts: "poi-type-img-container,poi-type,swiper-poi,swiper-wrapper,swiper-slide,poi-img,default-poi-img,swiper-pagination,swiper-button-prev,swiper-button-next,poi-sub-container,poi-name,poi-description,handle-poi-description", poi: poi, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), h("div", { part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.poisSwiperScrollbar = el) }))))))), this.weather && this.currentTrek.departure_city && !this.offline && (h("div", { key: 'f5b71da699c318830a360f2f547486223e0fe212', part: "divider-and-weather-container", class: "divider-and-weather-container" }, h("div", { key: 'be810c526a76a8523ee6539b8d6dfee753263721', part: "divider", class: "divider" }), h("div", { key: '2f9e188f734e38814fdb2d28056dbf44b8354d2a', part: "weather-container", class: "weather-container" }, h("iframe", { key: 'b01b6f66328a868e925f44b6ec811fb80806a876', height: "150", frameborder: "0", src: `https://meteofrance.com/widget/prevision/${this.getDepartureCityCode()}0#${this.colorPrimaryApp}` })))), this.currentTrek.access && (h("div", { key: '43ac08370634ba91cc8d73a667586040c218d72f', part: "divider-and-access-container", class: "divider-and-access-container" }, h("div", { key: '140d47c65c6b52fe1c16e8f3a7969657960879f9', part: "divider", class: "divider" }), h("div", { key: '3d38690a06022602ef64a6f3b56e19b7add348c0', part: "access-container", class: "access-container" }, h("div", { key: '80412576c7120bf367089c9757a43a45fa473160', part: "access-title", class: "access-title" }, translate[state.language].roadAccessAndParking), h("div", { key: 'd68254ad5b780b4fdeff6d05f90a2ae746ecf6eb', part: "access", class: "access", innerHTML: this.currentTrek.access }), this.currentTrek.advised_parking && (h("div", { key: 'f52cab7cdcd7567176b822a666ce328daa04ce8d' }, h("div", { key: 'ad15b3cbf5a4e2440f0197886d9bbab7b301d3d3', part: "advised-parking-title", class: "advised-parking-title", ref: el => (this.parkingRef = el) }, translate[state.language].recommendedParking), h("div", { key: 'fb326c4fc9521ca596cd28579cdd20d97bb2f677', part: "advised-parking", class: "advised-parking", innerHTML: this.currentTrek.advised_parking })))))), this.currentTrek.public_transport && (h("div", { key: 'e13d5d7edcada9f4013f37ac4743b640fe051b3a', part: "divider-and-public-transport-container", class: "divider-and-public-transport-container" }, h("div", { key: '67b66cea272cd8f5c74e0baf024189067dc87b96', part: "divider", class: "divider" }), h("div", { key: '0d234296f396fa9059dbcf8c7f626cb5b3948b6f', part: "public-transport-container", class: "public-transport-container" }, h("div", { key: '14f3f7f4488c6400e3390b74f3197ea49561abcb', part: "public-transport-title", class: "public-transport-title" }, translate[state.language].transport), h("div", { key: 'a6644adc2dbf7171742a3b995d8b4dac1d4c38c4', part: "public-transport", class: "public-transport", innerHTML: this.currentTrek.public_transport })))), (this.currentTrek.advice || this.currentTrek.gear || this.labels.length > 0) && (h("div", { key: 'a05d29c7b27648b72101d0dfbedf64c34224db52', part: "divider-and-advice-container", class: "divider-and-advice-container" }, h("div", { key: 'ae740c45bb62f80b4c7e23c603b4fd663a0d7848', part: "divider", class: "divider" }), h("div", { key: 'dd7bfc62d4c96bd2523c01036df45ea116ef326e', part: "advice-container", class: "advice-container", ref: el => (this.recommendationRef = el) }, h("div", { key: 'be0d489e5fb8881a92b5858c971f4db200846beb', part: "advice-title", class: "advice-title" }, translate[state.language].recommendations), this.currentTrek.advice && (h("div", { key: 'e25822eff7f1e2d6ff41ae1444456d2cad6a2818', part: "current-advice-container", class: "current-advice-container" }, h("span", { key: 'b43de70d5eaa645a365f471ca73849e82c6b311f', part: "advice-icon", class: "icon", innerHTML: WarningIcon }), h("div", { key: '076d6aed9ab88794eb598c52433e1c431bc711a1', part: "advice", class: "advice", innerHTML: this.currentTrek.advice }))), this.currentTrek.gear && (h("div", { key: '1fc74ae9b24032b01ec7fd98d1743c716449a145', part: "gear-container", class: "gear-container" }, h("span", { key: '6fdb3407df03df3b6563bf855c7d0cf5efaece80', part: "gear-icon", class: "icon", innerHTML: BackpackIcon }), h("div", { key: '10cc4636701f990faf502bf6e88b0d21b6ae6dcb', part: "gear", class: "gear", innerHTML: this.currentTrek.gear }))), this.labels.map(label => (h("div", { part: "label-container", class: "label-container" }, h("div", { part: "label-sub-container", class: "label-sub-container" }, label.pictogram && h("img", { src: label.pictogram, alt: "" }), h("div", { part: "label-name", class: "label-name", innerHTML: label.name })), h("div", { part: "label-advice", class: "label-advice", innerHTML: label.advice }))))))), state.currentSensitiveAreas && state.currentSensitiveAreas.length > 0 && (h("div", { key: 'e1430c6999edf66a1de69565f6e74482e95c7fc1', part: "divider-and-sensitive-areas-container", class: "divider-and-sensitive-areas-container" }, h("div", { key: 'ec27793a46466e434cc1637a181350780dea9a24', part: "divider", class: "divider" }), h("div", { key: '85f662cf5767f590f1e9da5f97f3cb17a1c5acf9', part: "sensitive-areas-container", class: "sensitive-areas-container", ref: el => (this.sensitiveAreaRef = el) }, h("div", { key: '93f91208e212670a20f7cb56c1e44e0b39cb9424', part: "ensitive-areas-title", class: "sensitive-areas-title" }, translate[state.language].environmentalSensitiveAreas), h("div", { key: 'de5daa2245052f028a7661352e713ececc28451b', part: "sensitive-areas-description", class: "sensitive-areas-description", innerHTML: translate[state.language].sensitiveAreasDescription }), state.currentSensitiveAreas.map(sensitiveArea => (h("grw-sensitive-area-detail", { exportparts: "sensitive-area-title-container,sensitive-area-color-container,sensitive-area-title,sensitive-area-description,sensitive-area-practice-container,sensitive-area-practice-title,sensitive-area-practices,sensitive-area-practice,sensitive-area-period-container,sensitive-area-period-title,sensitive-area-periods,sensitive-area-period,sensitive-area-contact-container,sensitive-area-contact-title,sensitive-area-contact-value,sensitive-area-rules-container,sensitive-area-rules-title,sensitive-area-rules,sensitive-area-rule,sensitive-area-rule-name,sensitive-area-rule-description", sensitiveArea: sensitiveArea })))))), state.currentInformationDesks &&
873
+ state.currentInformationDesks.filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id)).length > 0 && (h("div", { key: 'e9bf2202911f2106e7eed913ad6cac6862e949a7', part: "divider-and-information-desks-container", class: "divider-and-information-desks-container" }, h("div", { key: '0f7c972297729f57bee9257f131dcd942f6c4cc6', part: "divider", class: "divider" }), h("div", { key: '786a53e548f501d28263de700ab49d68ec13ed9e', part: "information-desks-container", class: "information-desks-container", ref: el => (this.informationPlacesRef = el) }, h("div", { key: '7eed5bcf460b5144b87dcc4e3c3124ef0486026a', part: "information-desks-title", class: "information-desks-title" }, translate[state.language].informationPlaces), h("div", { key: 'c1ff82908e9a7c3dcf6f41da7188a6ae25e54081', part: "swiper-information-desks", class: "swiper swiper-information-desks", ref: el => (this.swiperInformationDesksRef = el) }, h("div", { key: '3b5c259322df1c10e52259460d2a3154203a8c93', part: "swiper-wrapper", class: "swiper-wrapper" }, state.currentInformationDesks
860
874
  .filter(currentInformationDesks => this.currentTrek.information_desks.includes(currentInformationDesks.id))
861
- .map(informationDesk => (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-information-desk", { exportparts: "information-desk-img-container,information-desk-img,information-desk-sub-container,information-desk-name,center-on-map-button,icon,label,information-desk-informations,phone-container,mail-container,link-container,information-desk-description-container,information-desk-description,handle-information-desk-description", informationDesk: informationDesk, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), h("div", { key: 'dc2530e169f21a0525c89e8ac3395a7d01ebbd69', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.informationDesksContentsSwiperScrollbar = el) }))))), (this.currentTrek.disabled_infrastructure ||
875
+ .map(informationDesk => (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-information-desk", { exportparts: "information-desk-img-container,information-desk-img,information-desk-sub-container,information-desk-name,center-on-map-button,icon,label,information-desk-informations,phone-container,mail-container,link-container,information-desk-description-container,information-desk-description,handle-information-desk-description", informationDesk: informationDesk, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), h("div", { key: 'a16ace6cd6c37eeec4c0219ea5e5bc6f42260874', part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.informationDesksContentsSwiperScrollbar = el) }))))), (this.currentTrek.disabled_infrastructure ||
862
876
  (this.accessibilities && this.accessibilities.length > 0) ||
863
877
  this.currentTrek.accessibility_level ||
864
878
  this.currentTrek.accessibility_slope ||
@@ -867,7 +881,7 @@ export class GrwTrekDetail {
867
881
  this.currentTrek.accessibility_covering ||
868
882
  this.currentTrek.accessibility_exposure ||
869
883
  this.currentTrek.accessibility_advice ||
870
- this.emergencyNumber) && (h("div", { key: 'e9797adcdd63b58953c8e56d5a05d67b54b305f1', part: "divider-and-accessibilities-container", class: "divider-and-accessibilities-container" }, h("div", { key: '897e4b38fb754011bd53ed6b409a9960480c158c', part: "divider", class: "divider" }), h("div", { key: 'dc06577cd9448e9cf7b21713577b97c05a4d216f', part: "accessibilities-container", class: "accessibilities-container", ref: el => (this.accessibilityRef = el) }, h("div", { key: '6a4e9a63c26d08f1d2234aac9d6463b1f6e05e64', part: "accessibilities-title", class: "accessibilities-title" }, translate[state.language].accessibility), this.currentTrek.disabled_infrastructure && h("div", { key: 'da51d734fc2721be4a116c8c5d82945ccb144f11', part: "disabled-infrastructure", innerHTML: this.currentTrek.disabled_infrastructure }), this.accessibilities && this.accessibilities.length > 0 && (h("div", { key: 'bf83b08dccd22ed18f78d75dcd6121f3034ace72', part: "accessibilities-content-container", class: "accessibilities-content-container" }, this.accessibilities.map(accessibility => (h("div", { part: "accessibility-content-container", class: "accessibility-content-container" }, h("img", { src: accessibility.pictogram, alt: "" }), h("div", { part: "accessibility-name", innerHTML: accessibility.name })))))), this.emergencyNumber && (h("div", { key: '4dd251480c8ea27c4a87a7c46296f785de3b445a', part: "accessibility-emergency-number-container", class: "accessibility-emergency-number-container" }, h("div", { key: '2449cfdd22343a6aba71584c6ba59c4c6456e5c1', part: "accessibility-emergency-number-title", class: "accessibility-emergency-number-title" }, translate[state.language].emergencyNumber), h("div", { key: 'f8b508204b41e46a3ecad50ee790e953aafe15ab', part: "accessibility-emergency-number-content", class: "accessibility-emergency-number-content" }, h("a", { key: '7a48f50123a8fb0698816d8cdb8d3be2d8acb042', href: `tel:${this.emergencyNumber.toString()}` }, h("span", { key: '46a70660d0a698b6063a6ef329b5d2330cb86307', part: "icon", class: "icon", innerHTML: CallIcon }), h("span", { key: '9288a084faf794ec937c80af4afd94b1044c6eb9', part: "emergency-number", class: "emergency-number" }, this.emergencyNumber.toString()))))), this.currentTrek.accessibility_level && (h("div", { key: 'fb8463865f19d4e70f76855e4d3e01c363ab8a5c', part: "accessibility-level-container", class: "accessibility-level-container" }, h("div", { key: 'ad5d55597705c4c376fc2c2b4bbf5e292cbbd1ca', part: "accessibility-level-title", class: "accessibility-level-title" }, translate[state.language].accessibilityLevel), h("div", { key: 'db208e6e9d8bef4b9894037c71dd3855e58603f2', part: "accessibility-level-name", innerHTML: this.accessibilityLevel.name }))), this.currentTrek.accessibility_slope && (h("div", { key: '9f811e0a5bfe09bf49295f4f41866348b77595e5', part: "accessibility-slope-container", class: "accessibility-slope-container" }, h("div", { key: 'a5618d97b500f194368bb7d834f612b6fb7271ab', part: "accessibility-slope-title", class: "accessibility-slope-title" }, translate[state.language].accessibilitySlope), h("div", { key: '009f08b23f798f61873dc46afd4775c558e5bcb2', part: "accessibility-slope", innerHTML: this.currentTrek.accessibility_slope }))), this.currentTrek.accessibility_width && (h("div", { key: '700968bb44910662e7bdcf7521d6f6c80195175a', part: "accessibility-width-container", class: "accessibility-width-container" }, h("div", { key: '0a27b64c2d27e814884271cb1be1155ffc6baa58', part: "accessibility-width-title", class: "accessibility-width-title" }, translate[state.language].accessibilityWidth), h("div", { key: 'bb09f3c44f8692ee00af284d407943664c6291c9', part: "accessibility-width", innerHTML: this.currentTrek.accessibility_width }))), this.currentTrek.accessibility_signage && (h("div", { key: 'aaab7a6c68c8e578595013797322d820964e04d2', part: "accessibility-signage-container", class: "accessibility-signage-container" }, h("div", { key: '1026df92ecaa1556dacd04b2f46f6aae30bfa350', part: "accessibility-signage-title", class: "accessibility-signage-title" }, translate[state.language].accessibilitySignage), h("div", { key: 'bfe7f60f94adae856756cc534ffd58d9c57602da', part: "accessibility-signage", innerHTML: this.currentTrek.accessibility_signage }))), this.currentTrek.accessibility_covering && (h("div", { key: 'fb882ddef49034cd8e2f1ebbf2e566cc0fa98241', part: "accessibility-covering-container", class: "accessibility-covering-container" }, h("div", { key: '2d068004f415231a84f1bdd270ab7df42c7ce344', part: "accessibility-covering-title", class: "accessibility-covering-title" }, translate[state.language].accessibilityCovering), h("div", { key: 'a4ebc10d011007bbcdb6abd6332f00ef2f69d1bc', part: "accessibility-covering", innerHTML: this.currentTrek.accessibility_covering }))), this.currentTrek.accessibility_exposure && (h("div", { key: '128d53f77a5b5d9bfc0b9a5c529bae2f14791316', part: "accessibility-exposure-container", class: "accessibility-exposure-container" }, h("div", { key: 'e4b76a58ef49d653e6bf31f3527f59f822805998', part: "accessibility-exposure-title", class: "accessibility-exposure-title" }, translate[state.language].accessibilityExposure), h("div", { key: 'a11778005681a9adac9f341f86225fcd6e5d2f7b', part: "accessibility-exposure", innerHTML: this.currentTrek.accessibility_exposure }))), this.currentTrek.accessibility_advice && (h("div", { key: 'c5be468865459580caa21455e56a062bac13e83d', part: "accessibility-advice-container", class: "accessibility-advice-container" }, h("div", { key: '98b0c563a8249333bc5308af73211e56d270a041', part: "accessibility-advice-title", class: "accessibility-advice-title" }, translate[state.language].accessibilityAdvices), h("div", { key: '03eab0fb454312a231945d18fc1d674d9d04bab0', part: "accessibility-advice", innerHTML: this.currentTrek.accessibility_advice })))))), this.options.touristicContents.visible && (h("div", { key: '2d13a9c7db12d5c6a36911435a87cc1d41dc010e', part: "divider-and-touristic-content-container", class: "divider-and-touristic-content-container" }, h("div", { key: '1f6ba2eb9eadaa75d126899e191ea4a69bea08e7', part: "divider", class: "divider" }), h("div", { key: '47f8c5d7d827b58c80a3572204a3bb0ad784776c', part: "touristic-content-container", class: "touristic-content-container", ref: el => (this.touristicContentsRef = el) }, h("div", { key: '2811f87cbe8d7c233a5275672ddd32084f705f43', part: "touristic-content-title", class: "touristic-content-title" }, translate[state.language].touristicContents(state.touristicContentsData)), !state.trekTouristicContents ? (h("div", { class: "loader-container" }, h("span", { part: "loader", class: "loader" }))) : (h(Fragment, null, h("div", { part: "swiper-touristic-content", class: "swiper swiper-touristic-content", ref: el => (this.swiperTouristicContentsRef = el) }, h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, state.trekTouristicContents.map(touristicContent => (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-touristic-content-card", { exportparts: "touristic-content-card,touristic-content-img-container,swiper-touristic-content,swiper-wrapper,swiper-slide,touristic-content-img,default-touristic-content-img,swiper-pagination,swiper-button-prev,swiper-button-next,touristic-content-sub-container,touristic-content-category-container,touristic-content-category-img,touristic-content-category-name,touristic-content-name,touristic-content-more-detail-container,more-details-button", fontFamily: this.fontFamily, touristicContent: touristicContent, isInsideHorizontalList: true, "color-surface-container-low": this.colorSurfaceContainerLow }))))), h("div", { part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.touristicContentsSwiperScrollbar = el) }))))))), this.options.touristicEvents.visible && (h("div", { key: 'c224e418dba92a49070bf021c7344f881aec72fa', part: "divider-and-touristic-event-container", class: "divider-and-touristic-event-container" }, h("div", { key: '46383b5bd077e57051a8e761d14f0c22759575d5', part: "divider", class: "divider" }), h("div", { key: '3c9bf717076f2bb730b165954d12b44c61c2729f', part: "touristic-event-container", class: "touristic-event-container", ref: el => (this.touristicEventsRef = el) }, h("div", { key: '28cbcbc31ce93b0292241bc29ffa1878bb3bc18b', part: "touristic-event-title", class: "touristic-event-title" }, translate[state.language].touristicEvents(state.touristicEventsData)), !state.trekTouristicEvents ? (h("div", { class: "loader-container" }, h("span", { part: "loader", class: "loader" }))) : (h(Fragment, null, h("div", { part: "swiper-touristic-event", class: "swiper swiper-touristic-event", ref: el => (this.swiperTouristicEventsRef = el) }, h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, state.trekTouristicEvents.map(touristicEvent => (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-touristic-event-card", { exportparts: "touristic-event-card,touristic-event-img-container,swiper-touristic-event,swiper-wrapper,swiper-slide,touristic-event-img,default-touristic-event-img,swiper-pagination,swiper-button-prev,swiper-button-next,touristic-event-sub-container,touristic-event-sub-container,touristic-event-type-img,touristic-event-type-name,touristic-event-name,touristic-event-date-container,touristic-event-date,touristic-event-more-detail-container,more-details-button", fontFamily: this.fontFamily, touristicEvent: touristicEvent, isInsideHorizontalList: true, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), h("div", { part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.touristicEventsSwiperScrollbar = el) }))))))), this.currentTrek.web_links && this.currentTrek.web_links.length > 0 && (h("div", { key: '9746bf7c89d451104fc40d05ed48e033f755acd5', part: "divider-and-weblinks-container", class: "divider-and-weblinks-container" }, h("div", { key: 'e600b84df2dbfd6769edefd69002fafd811fff92', part: "divider", class: "divider" }), h("div", { key: '3b17249acc265dc8eae10c3f73b217db85bb9fc4', part: "weblinks-container", class: "weblinks-container" }, h("div", { key: '20ea54ee51bde98d9cb19a80f354a23f4dc5ff2f', part: "weblinks-title", class: "weblinks-title" }, translate[state.language].learnMore), this.currentTrek.web_links.map(weblink => (h("a", { part: "weblink-container", class: "weblink-container", href: weblink.url, target: "_blank", rel: "noopener noreferrer" }, weblink.category && weblink.category.pictogram && h("img", { src: weblink.category.pictogram, alt: weblink.category.label }), weblink.name)))))), this.currentTrek.source && this.currentTrek.source.length > 0 && (h("div", { key: 'f39c417fe2caa39b1ce5a4eb7aeaf2c978327390', part: "divider-and-source-container", class: "divider-and-source-container" }, h("div", { key: 'e52f9acfa6167d2bbd38a07c729748ad6e3b81e9', part: "divider", class: "divider" }), h("div", { key: '5bffdf1674fb8bf3ff2e3e9c02c887b382a0dd5d', part: "source-container", class: "source-container" }, h("div", { key: '38dcbd94353d2ab6df81214b93b083d55118e18b', part: "source-title", class: "source-title" }, translate[state.language].sources), this.sources.map(source => (h("div", { part: "source-sub-container", class: "source-sub-container" }, source.pictogram && h("img", { src: source.pictogram, alt: "" }), h("div", null, h("div", { part: "source-name", class: "source-name", innerHTML: source.name }), h("a", { part: "source-advice", class: "source-advice", href: source.website, innerHTML: source.website })))))))), this.grwApp && h("div", { key: '1ab969c83e7036c7358489629d71559fddba1671', part: "detail-bottom-space", class: "detail-bottom-space" }))), this.modalDetailsId && (h(Fragment, { key: 'da2f793239fab9f0aa954768c89ddbd6f0145b78' }, this.showTouristicContentDetailsModal && h("grw-touristic-content-provider", { key: 'a870b4e15d3ba2486b02e397b43981172863c538', api: state.api, "touristic-content-id": this.modalDetailsId }), this.showTouristicEventDetailsModal && h("grw-touristic-event-provider", { key: '8e921a1c9c19c72b25597bad9a7911d23732d370', api: state.api, "touristic-event-id": this.modalDetailsId })))));
884
+ this.emergencyNumber) && (h("div", { key: 'b17bf4022ee3c9aab4502ea190bcaaf56bd07246', part: "divider-and-accessibilities-container", class: "divider-and-accessibilities-container" }, h("div", { key: 'e96537063c01248b7b48f10e20d9e755c2ec3e5f', part: "divider", class: "divider" }), h("div", { key: '5c917e87000d22e4034c960ea48dae6c6c2bcd9c', part: "accessibilities-container", class: "accessibilities-container", ref: el => (this.accessibilityRef = el) }, h("div", { key: '0b657271584265e9485040360a9c9bfdda5b5d59', part: "accessibilities-title", class: "accessibilities-title" }, translate[state.language].accessibility), this.currentTrek.disabled_infrastructure && h("div", { key: '6e02f009a6735462101ea3b0c765c5b0dae48a44', part: "disabled-infrastructure", innerHTML: this.currentTrek.disabled_infrastructure }), this.accessibilities && this.accessibilities.length > 0 && (h("div", { key: 'ea2ba1e68a2c8a16bd0955fc797a5b01c0779554', part: "accessibilities-content-container", class: "accessibilities-content-container" }, this.accessibilities.map(accessibility => (h("div", { part: "accessibility-content-container", class: "accessibility-content-container" }, h("img", { src: accessibility.pictogram, alt: "" }), h("div", { part: "accessibility-name", innerHTML: accessibility.name })))))), this.emergencyNumber && (h("div", { key: 'd6bb069f7dacaafb5a457dd4cebdde567d3a26a0', part: "accessibility-emergency-number-container", class: "accessibility-emergency-number-container" }, h("div", { key: 'ef98f922afa0dc6e655a2d04cfa9460618472585', part: "accessibility-emergency-number-title", class: "accessibility-emergency-number-title" }, translate[state.language].emergencyNumber), h("div", { key: 'bdeb4aeab191a91ce4edd01578792d2c00247235', part: "accessibility-emergency-number-content", class: "accessibility-emergency-number-content" }, h("a", { key: '42e856247a47c4f4a7af84f17f3e43b2e18e8ca8', href: `tel:${this.emergencyNumber.toString()}` }, h("span", { key: 'f5f98db6a141220fbf2c8fb739f293dc1f877c1f', part: "icon", class: "icon", innerHTML: CallIcon }), h("span", { key: 'b73edc2e774f9ed27e6dc0c4e4354f2c11acc12a', part: "emergency-number", class: "emergency-number" }, this.emergencyNumber.toString()))))), this.currentTrek.accessibility_level && (h("div", { key: '99e2ddf97c48565cbed527919a118a8915e106f8', part: "accessibility-level-container", class: "accessibility-level-container" }, h("div", { key: '7fb529ec780b95c30396e4b0e831811348f529b2', part: "accessibility-level-title", class: "accessibility-level-title" }, translate[state.language].accessibilityLevel), h("div", { key: '4a90d61229dd75fc9c036e800f5b635dfb40003b', part: "accessibility-level-name", innerHTML: this.accessibilityLevel.name }))), this.currentTrek.accessibility_slope && (h("div", { key: 'e4965d7d9fd70580c60e83b2fd23cb5dc3ac453f', part: "accessibility-slope-container", class: "accessibility-slope-container" }, h("div", { key: '0689c69d2fe2bb66f23a641672280064dd7c9a94', part: "accessibility-slope-title", class: "accessibility-slope-title" }, translate[state.language].accessibilitySlope), h("div", { key: 'e29817a08430fdf17f4246b28fc5eb7fe18c4360', part: "accessibility-slope", innerHTML: this.currentTrek.accessibility_slope }))), this.currentTrek.accessibility_width && (h("div", { key: '6293cf8bcbfb3ba615d0f5729edd19788107393d', part: "accessibility-width-container", class: "accessibility-width-container" }, h("div", { key: '3aeb825a6f5c81564f363bb2a0c6f9da23d1552a', part: "accessibility-width-title", class: "accessibility-width-title" }, translate[state.language].accessibilityWidth), h("div", { key: 'dc2823909081e95cf1e12a01504b842a0cfb29b3', part: "accessibility-width", innerHTML: this.currentTrek.accessibility_width }))), this.currentTrek.accessibility_signage && (h("div", { key: '9eda6d3e4ba587ae0bdf0539dfe8e38551bfefb9', part: "accessibility-signage-container", class: "accessibility-signage-container" }, h("div", { key: 'd87871b771585da37654011fe7454f6479f7a198', part: "accessibility-signage-title", class: "accessibility-signage-title" }, translate[state.language].accessibilitySignage), h("div", { key: 'b7d535794336ae9684895e5c3a1469f5305debdc', part: "accessibility-signage", innerHTML: this.currentTrek.accessibility_signage }))), this.currentTrek.accessibility_covering && (h("div", { key: '9ae714a89e6f2a0369e893384da8b7fc9e89f7ba', part: "accessibility-covering-container", class: "accessibility-covering-container" }, h("div", { key: 'f5f7cec0e5ac87575246f2589171275fcd8ad977', part: "accessibility-covering-title", class: "accessibility-covering-title" }, translate[state.language].accessibilityCovering), h("div", { key: 'ff281034591ab3098a2af9e2ecd5e4d2c4d7b476', part: "accessibility-covering", innerHTML: this.currentTrek.accessibility_covering }))), this.currentTrek.accessibility_exposure && (h("div", { key: 'cff0700f6d0f4cf210d6bd220a0decd4b765c7e6', part: "accessibility-exposure-container", class: "accessibility-exposure-container" }, h("div", { key: 'dea368c92a7a275127ca142d71dac06fcea8747e', part: "accessibility-exposure-title", class: "accessibility-exposure-title" }, translate[state.language].accessibilityExposure), h("div", { key: 'acf301f63e152448f5cfbc9b3f62f185b5169507', part: "accessibility-exposure", innerHTML: this.currentTrek.accessibility_exposure }))), this.currentTrek.accessibility_advice && (h("div", { key: '657faeb3b0806952a1ceb0a7e0db280f2b404ba8', part: "accessibility-advice-container", class: "accessibility-advice-container" }, h("div", { key: 'e13a5149621e5a5fb8cb7ca94cc434c6c6e31e8e', part: "accessibility-advice-title", class: "accessibility-advice-title" }, translate[state.language].accessibilityAdvices), h("div", { key: '2bac6f8e98cebfb8d245cd5c5f92933ea78a5c2e', part: "accessibility-advice", innerHTML: this.currentTrek.accessibility_advice })))))), this.options.touristicContents.visible && (h("div", { key: 'ab4400ef728b0d06ff2eb8b4e122ec3b44a407bc', part: "divider-and-touristic-content-container", class: "divider-and-touristic-content-container" }, h("div", { key: '295932a6bcf4f5c70c336600d1aa9447e81f1ee2', part: "divider", class: "divider" }), h("div", { key: '5884854910d07ec337bef65347032d0a65ead6e4', part: "touristic-content-container", class: "touristic-content-container", ref: el => (this.touristicContentsRef = el) }, h("div", { key: '18296b8976cf6220d9b9434addb2d7473978b443', part: "touristic-content-title", class: "touristic-content-title" }, translate[state.language].touristicContents(state.touristicContentsData)), !state.trekTouristicContents ? (h("div", { class: "loader-container" }, h("span", { part: "loader", class: "loader" }))) : (h(Fragment, null, h("div", { part: "swiper-touristic-content", class: "swiper swiper-touristic-content", ref: el => (this.swiperTouristicContentsRef = el) }, h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, state.trekTouristicContents.map(touristicContent => (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-touristic-content-card", { exportparts: "touristic-content-card,touristic-content-img-container,swiper-touristic-content,swiper-wrapper,swiper-slide,touristic-content-img,default-touristic-content-img,swiper-pagination,swiper-button-prev,swiper-button-next,touristic-content-sub-container,touristic-content-category-container,touristic-content-category-img,touristic-content-category-name,touristic-content-name,touristic-content-more-detail-container,more-details-button", fontFamily: this.fontFamily, touristicContent: touristicContent, isInsideHorizontalList: true, "color-surface-container-low": this.colorSurfaceContainerLow }))))), h("div", { part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.touristicContentsSwiperScrollbar = el) }))))))), this.options.touristicEvents.visible && (h("div", { key: '02991af10c2b6982f56491f0305d4c86e801aa9b', part: "divider-and-touristic-event-container", class: "divider-and-touristic-event-container" }, h("div", { key: '24eda30f8bc9a2a107dc96557a561b28c2bc806f', part: "divider", class: "divider" }), h("div", { key: '13e9dc162d5021646e07cf33e992eafbae33e417', part: "touristic-event-container", class: "touristic-event-container", ref: el => (this.touristicEventsRef = el) }, h("div", { key: '9f02735b59105f7014862d641aebd49f1630d320', part: "touristic-event-title", class: "touristic-event-title" }, translate[state.language].touristicEvents(state.touristicEventsData)), !state.trekTouristicEvents ? (h("div", { class: "loader-container" }, h("span", { part: "loader", class: "loader" }))) : (h(Fragment, null, h("div", { part: "swiper-touristic-event", class: "swiper swiper-touristic-event", ref: el => (this.swiperTouristicEventsRef = el) }, h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, state.trekTouristicEvents.map(touristicEvent => (h("div", { part: "swiper-slide", class: "swiper-slide" }, h("grw-touristic-event-card", { exportparts: "touristic-event-card,touristic-event-img-container,swiper-touristic-event,swiper-wrapper,swiper-slide,touristic-event-img,default-touristic-event-img,swiper-pagination,swiper-button-prev,swiper-button-next,touristic-event-sub-container,touristic-event-sub-container,touristic-event-type-img,touristic-event-type-name,touristic-event-name,touristic-event-date-container,touristic-event-date,touristic-event-more-detail-container,more-details-button", fontFamily: this.fontFamily, touristicEvent: touristicEvent, isInsideHorizontalList: true, colorSurfaceContainerLow: this.colorSurfaceContainerLow }))))), h("div", { part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.touristicEventsSwiperScrollbar = el) }))))))), this.currentTrek.web_links && this.currentTrek.web_links.length > 0 && (h("div", { key: '494c71b0095353f716564a8ef14f12f89c1e9cd2', part: "divider-and-weblinks-container", class: "divider-and-weblinks-container" }, h("div", { key: 'f680c377e1194f2136914371c32bf0e831d6a1cc', part: "divider", class: "divider" }), h("div", { key: '490ce9c6e6c3fdc5bda69026c7d550d406be0f80', part: "weblinks-container", class: "weblinks-container" }, h("div", { key: '38891f5e73aa5fde817cea64b0a5e219274aa4f2', part: "weblinks-title", class: "weblinks-title" }, translate[state.language].learnMore), this.currentTrek.web_links.map(weblink => (h("a", { part: "weblink-container", class: "weblink-container", href: weblink.url, target: "_blank", rel: "noopener noreferrer" }, weblink.category && weblink.category.pictogram && h("img", { src: weblink.category.pictogram, alt: weblink.category.label }), weblink.name)))))), this.currentTrek.source && this.currentTrek.source.length > 0 && (h("div", { key: '66816c4b3cd95ce15f455ff302a043f07e89d393', part: "divider-and-source-container", class: "divider-and-source-container" }, h("div", { key: '199885dbcb1c38a28a3804046382bcd6bd87032b', part: "divider", class: "divider" }), h("div", { key: 'f40130e768448309bc69a5992d94c60b3ab896c3', part: "source-container", class: "source-container" }, h("div", { key: '9c3770c70cd4c177255fa728accad098ee5e302d', part: "source-title", class: "source-title" }, translate[state.language].sources), this.sources.map(source => (h("div", { part: "source-sub-container", class: "source-sub-container" }, source.pictogram && h("img", { src: source.pictogram, alt: "" }), h("div", null, h("div", { part: "source-name", class: "source-name", innerHTML: source.name }), h("a", { part: "source-advice", class: "source-advice", href: source.website, innerHTML: source.website })))))))), this.grwApp && h("div", { key: '75fda50d6ba82cb3bb636566aa4833d6bcd0e795', part: "detail-bottom-space", class: "detail-bottom-space" }))), this.modalDetailsId && (h(Fragment, { key: 'af592c9a38038ce4b6dde27d83b096b74fe86678' }, this.showTouristicContentDetailsModal && h("grw-touristic-content-provider", { key: 'a270a189214c77dd45716ecc6368e6a5b24779ba', api: state.api, "touristic-content-id": this.modalDetailsId }), this.showTouristicEventDetailsModal && h("grw-touristic-event-provider", { key: '4740417d2fbec297aa58d21dc7fff8386dd89d68', api: state.api, "touristic-event-id": this.modalDetailsId })))));
871
885
  }
872
886
  static get is() { return "grw-trek-detail"; }
873
887
  static get encapsulation() { return "shadow"; }