imio.smartweb.core 1.2.12__py3-none-any.whl → 1.2.68__py3-none-any.whl

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 (361) hide show
  1. imio/smartweb/core/behaviors/categorization.py +24 -0
  2. imio/smartweb/core/behaviors/configure.zcml +7 -0
  3. imio/smartweb/core/browser/configure.zcml +41 -1
  4. imio/smartweb/core/browser/controlpanel.py +41 -0
  5. imio/smartweb/core/browser/dashboards/configure.zcml +0 -2
  6. imio/smartweb/core/browser/dashboards/plausible.py +4 -4
  7. imio/smartweb/core/browser/faceted/block_view.pt +4 -4
  8. imio/smartweb/core/browser/faceted/summary_view.pt +4 -4
  9. imio/smartweb/core/browser/forms.py +3 -3
  10. imio/smartweb/core/browser/redirect_to_main_react_view.py +52 -0
  11. imio/smartweb/core/browser/search/search.pt +2 -1
  12. imio/smartweb/core/browser/search/search.py +4 -0
  13. imio/smartweb/core/browser/sitemap.py +148 -0
  14. imio/smartweb/core/browser/static/icons/action-delete.svg +3 -0
  15. imio/smartweb/core/browser/static/icons/action-e-guichet.svg +1 -1
  16. imio/smartweb/core/browser/static/icons/action-email.svg +1 -1
  17. imio/smartweb/core/browser/static/icons/action-engagement-2.svg +4 -0
  18. imio/smartweb/core/browser/static/icons/action-engagement.svg +1 -1
  19. imio/smartweb/core/browser/static/icons/action-nous-contacter.svg +1 -1
  20. imio/smartweb/core/browser/static/icons/action-nous-rejoindre.svg +2 -1
  21. imio/smartweb/core/browser/static/icons/action-organiser-un-evenement.svg +1 -1
  22. imio/smartweb/core/browser/static/icons/action-panneaux.svg +3 -0
  23. imio/smartweb/core/browser/static/icons/action-signaler-un-probleme.svg +1 -1
  24. imio/smartweb/core/browser/static/icons/action-voir-plan.svg +1 -1
  25. imio/smartweb/core/browser/static/icons/action-vote.svg +3 -0
  26. imio/smartweb/core/browser/static/icons/categorie-associations.svg +1 -1
  27. imio/smartweb/core/browser/static/icons/categorie-attention.svg +3 -0
  28. imio/smartweb/core/browser/static/icons/categorie-avis-et-enquetes.svg +1 -1
  29. imio/smartweb/core/browser/static/icons/categorie-cinema.svg +1 -1
  30. imio/smartweb/core/browser/static/icons/categorie-commerce.svg +1 -1
  31. imio/smartweb/core/browser/static/icons/categorie-concert.svg +1 -1
  32. imio/smartweb/core/browser/static/icons/categorie-culture.svg +1 -1
  33. imio/smartweb/core/browser/static/icons/categorie-demarches.svg +1 -1
  34. imio/smartweb/core/browser/static/icons/categorie-enfance.svg +1 -1
  35. imio/smartweb/core/browser/static/icons/categorie-enseignement.svg +1 -1
  36. imio/smartweb/core/browser/static/icons/categorie-environnement-gestion-des-dechets.svg +1 -1
  37. imio/smartweb/core/browser/static/icons/categorie-exposition.svg +1 -1
  38. imio/smartweb/core/browser/static/icons/categorie-horaires.svg +1 -1
  39. imio/smartweb/core/browser/static/icons/categorie-infos-travaux-2.svg +4 -0
  40. imio/smartweb/core/browser/static/icons/categorie-infos-travaux.svg +1 -1
  41. imio/smartweb/core/browser/static/icons/categorie-mandataires.svg +1 -1
  42. imio/smartweb/core/browser/static/icons/categorie-mobilite.svg +1 -1
  43. imio/smartweb/core/browser/static/icons/categorie-mon-dossier.svg +1 -1
  44. imio/smartweb/core/browser/static/icons/categorie-nature.svg +3 -0
  45. imio/smartweb/core/browser/static/icons/categorie-parc-de-stationnement.svg +1 -1
  46. imio/smartweb/core/browser/static/icons/categorie-parcs-a-conteneurs.svg +4 -0
  47. imio/smartweb/core/browser/static/icons/categorie-parcs-et-jardins.svg +1 -1
  48. imio/smartweb/core/browser/static/icons/categorie-plus.svg +3 -0
  49. imio/smartweb/core/browser/static/icons/categorie-primes-2.svg +5 -0
  50. imio/smartweb/core/browser/static/icons/categorie-primes.svg +1 -1
  51. imio/smartweb/core/browser/static/icons/categorie-sport-courir.svg +1 -1
  52. imio/smartweb/core/browser/static/icons/categorie-sport-natation.svg +4 -0
  53. imio/smartweb/core/browser/static/icons/categorie-sport-velo.svg +1 -1
  54. imio/smartweb/core/browser/static/icons/categorie-tourisme.svg +1 -1
  55. imio/smartweb/core/browser/static/icons/organisation-academie-musique.svg +1 -1
  56. imio/smartweb/core/browser/static/icons/organisation-centre-sportif.svg +1 -1
  57. imio/smartweb/core/browser/static/icons/organisation-cpas.svg +1 -1
  58. imio/smartweb/core/browser/static/icons/organisation-ecole-des-arts.svg +1 -1
  59. imio/smartweb/core/browser/static/icons/organisation-ecole-sac.svg +4 -0
  60. imio/smartweb/core/browser/static/icons/organisation-ecole.svg +1 -1
  61. imio/smartweb/core/browser/static/icons/organisation-mobilite.svg +1 -1
  62. imio/smartweb/core/browser/static/icons/organisation-scout.svg +3 -0
  63. imio/smartweb/core/browser/static/icons/reseausocial-behance.svg +3 -0
  64. imio/smartweb/core/browser/static/icons/reseausocial-facebook.svg +1 -1
  65. imio/smartweb/core/browser/static/icons/reseausocial-linkedin.svg +3 -0
  66. imio/smartweb/core/browser/static/icons/reseausocial-twitter.svg +3 -13
  67. imio/smartweb/core/browser/static/icons/reseausocial-vimeo.svg +1 -1
  68. imio/smartweb/core/browser/static/icons/reseausocial-youtube.svg +1 -1
  69. imio/smartweb/core/browser/static/icons/vue-actualites.svg +1 -1
  70. imio/smartweb/core/browser/static/icons/vue-agenda.svg +1 -1
  71. imio/smartweb/core/browser/static/icons/vue-annuaire.svg +1 -1
  72. imio/smartweb/core/browser/static/smartweb-edit-compiled.css +1 -1
  73. imio/smartweb/core/browser/static/smartweb-edit-compiled.js +1 -1
  74. imio/smartweb/core/browser/static/smartweb-view-compiled.css +1 -1
  75. imio/smartweb/core/browser/static/smartweb-view-compiled.js +1 -1
  76. imio/smartweb/core/browser/static/src/edit.js +5 -0
  77. imio/smartweb/core/browser/static/src/edit.less +42 -0
  78. imio/smartweb/core/browser/static/src/view.js +11 -0
  79. imio/smartweb/core/browser/static/src/view.less +4 -0
  80. imio/smartweb/core/browser/utils.py +5 -32
  81. imio/smartweb/core/browser/vocabulary.py +40 -0
  82. imio/smartweb/core/contents/__init__.py +4 -0
  83. imio/smartweb/core/contents/configure.zcml +1 -0
  84. imio/smartweb/core/contents/cropping.py +1 -1
  85. imio/smartweb/core/contents/folder/block_view.pt +8 -8
  86. imio/smartweb/core/contents/folder/summary_view.pt +4 -4
  87. imio/smartweb/core/contents/pages/cirkwi/content.py +5 -0
  88. imio/smartweb/core/contents/pages/cirkwi/view.py +2 -1
  89. imio/smartweb/core/contents/pages/portal_page/view.py +3 -0
  90. imio/smartweb/core/contents/pages/views.py +3 -1
  91. imio/smartweb/core/contents/publication/configure.zcml +5 -0
  92. imio/smartweb/core/contents/publication/content.py +23 -0
  93. imio/smartweb/core/contents/rest/base.py +24 -10
  94. imio/smartweb/core/contents/rest/configure.zcml +7 -0
  95. imio/smartweb/core/contents/rest/directory/content.py +2 -2
  96. imio/smartweb/core/contents/rest/directory/endpoint.py +2 -2
  97. imio/smartweb/core/contents/rest/directory/view.pt +3 -1
  98. imio/smartweb/core/contents/rest/directory/view.py +3 -0
  99. imio/smartweb/core/contents/rest/events/content.py +15 -2
  100. imio/smartweb/core/contents/rest/events/endpoint.py +5 -7
  101. imio/smartweb/core/contents/rest/events/view.pt +6 -1
  102. imio/smartweb/core/contents/rest/events/view.py +15 -0
  103. imio/smartweb/core/contents/rest/news/content.py +8 -2
  104. imio/smartweb/core/contents/rest/news/endpoint.py +4 -2
  105. imio/smartweb/core/contents/rest/news/view.pt +5 -1
  106. imio/smartweb/core/contents/rest/news/view.py +11 -0
  107. imio/smartweb/core/contents/rest/search/endpoint.py +4 -4
  108. imio/smartweb/core/contents/rest/traversal.py +18 -0
  109. imio/smartweb/core/contents/rest/utils.py +98 -0
  110. imio/smartweb/core/contents/rest/view.py +11 -0
  111. imio/smartweb/core/contents/sections/common_templates/carousel.pt +6 -2
  112. imio/smartweb/core/contents/sections/common_templates/table.pt +22 -8
  113. imio/smartweb/core/contents/sections/configure.zcml +18 -0
  114. imio/smartweb/core/contents/sections/contact/content.py +2 -2
  115. imio/smartweb/core/contents/sections/contact/utils.py +2 -154
  116. imio/smartweb/core/contents/sections/events/content.py +12 -4
  117. imio/smartweb/core/contents/sections/events/view.py +20 -2
  118. imio/smartweb/core/contents/sections/external_content/configure.zcml +29 -0
  119. imio/smartweb/core/contents/sections/external_content/view.pt +25 -7
  120. imio/smartweb/core/contents/sections/external_content/view_idelux_waste.pt +50 -0
  121. imio/smartweb/core/contents/sections/external_content/view_inbw_containers_affluence.pt +91 -0
  122. imio/smartweb/core/contents/sections/external_content/view_odwb_widget.pt +20 -0
  123. imio/smartweb/core/contents/sections/external_content/views.py +306 -125
  124. imio/smartweb/core/contents/sections/files/content.py +7 -1
  125. imio/smartweb/core/contents/sections/files/view.py +40 -12
  126. imio/smartweb/core/contents/sections/links/view.py +5 -0
  127. imio/smartweb/core/contents/sections/macros.pt +39 -9
  128. imio/smartweb/core/contents/sections/news/content.py +11 -3
  129. imio/smartweb/core/contents/sections/news/view.py +20 -2
  130. imio/smartweb/core/contents/sections/text/view.pt +5 -4
  131. imio/smartweb/core/contents/sections/text/views.py +2 -0
  132. imio/smartweb/core/contents/sections/views.py +81 -4
  133. imio/smartweb/core/interfaces.py +15 -0
  134. imio/smartweb/core/profiles/default/actions.xml +15 -0
  135. imio/smartweb/core/profiles/default/diff_tool.xml +8 -0
  136. imio/smartweb/core/profiles/default/metadata.xml +1 -1
  137. imio/smartweb/core/profiles/default/registry/plone.xml +21 -4
  138. imio/smartweb/core/profiles/default/repositorytool.xml +1 -0
  139. imio/smartweb/core/profiles/default/taxonomies/page_category.xml +16 -0
  140. imio/smartweb/core/profiles/default/taxonomies/procedure_category.xml +26 -0
  141. imio/smartweb/core/profiles/default/types/Collection.xml +13 -0
  142. imio/smartweb/core/profiles/default/types/File.xml +13 -0
  143. imio/smartweb/core/profiles/default/types/Image.xml +13 -0
  144. imio/smartweb/core/profiles/default/types/imio.smartweb.BlockLink.xml +5 -0
  145. imio/smartweb/core/profiles/default/types/imio.smartweb.CirkwiView.xml +1 -0
  146. imio/smartweb/core/profiles/default/types/imio.smartweb.DirectoryView.xml +1 -0
  147. imio/smartweb/core/profiles/default/types/imio.smartweb.EventsView.xml +2 -0
  148. imio/smartweb/core/profiles/default/types/imio.smartweb.Folder.xml +1 -0
  149. imio/smartweb/core/profiles/default/types/imio.smartweb.NewsView.xml +2 -0
  150. imio/smartweb/core/profiles/default/types/imio.smartweb.Page.xml +1 -0
  151. imio/smartweb/core/profiles/default/types/imio.smartweb.PortalPage.xml +1 -0
  152. imio/smartweb/core/profiles/default/types/imio.smartweb.Procedure.xml +1 -0
  153. imio/smartweb/core/profiles/default/types/imio.smartweb.Publication.xml +38 -0
  154. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionEvents.xml +1 -0
  155. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionFiles.xml +2 -0
  156. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionHTML.xml +0 -1
  157. imio/smartweb/core/profiles/default/types/imio.smartweb.SectionNews.xml +1 -0
  158. imio/smartweb/core/profiles/default/types.xml +1 -0
  159. imio/smartweb/core/profiles/icons/basic/registry.xml +120 -0
  160. imio/smartweb/core/profiles/testing/types/imio.smartweb.DirectoryView.xml +11 -0
  161. imio/smartweb/core/profiles/testing/types/imio.smartweb.EventsView.xml +11 -0
  162. imio/smartweb/core/profiles/testing/types/imio.smartweb.NewsView.xml +11 -0
  163. imio/smartweb/core/profiles/validation/contentrules.xml +102 -0
  164. imio/smartweb/core/profiles.zcml +8 -0
  165. imio/smartweb/core/rest/authentic_sources.py +23 -11
  166. imio/smartweb/core/subscribers.py +24 -0
  167. imio/smartweb/core/subscribers.zcml +4 -0
  168. imio/smartweb/core/tests/resources/json_iadeliberations_institutions.json +60 -0
  169. imio/smartweb/core/tests/resources/json_iadeliberations_publication.json +105 -0
  170. imio/smartweb/core/tests/resources/json_iadeliberations_publications.json +270 -0
  171. imio/smartweb/core/tests/resources/json_rest_events.json +6 -2
  172. imio/smartweb/core/tests/resources/json_rest_news.json +2 -2
  173. imio/smartweb/core/tests/resources/json_rest_specific_events.json +1 -1
  174. imio/smartweb/core/tests/test_cropping.py +4 -4
  175. imio/smartweb/core/tests/test_htmx_in_sections.py +131 -0
  176. imio/smartweb/core/tests/test_iadeliberations.py +136 -0
  177. imio/smartweb/core/tests/test_icons.py +1 -1
  178. imio/smartweb/core/tests/test_redirect_to_main_react_view.py +79 -0
  179. imio/smartweb/core/tests/test_rest.py +283 -22
  180. imio/smartweb/core/tests/test_section_contact.py +2 -2
  181. imio/smartweb/core/tests/test_section_events.py +28 -5
  182. imio/smartweb/core/tests/test_section_external_content.py +26 -25
  183. imio/smartweb/core/tests/test_section_news.py +30 -8
  184. imio/smartweb/core/tests/test_sections.py +38 -15
  185. imio/smartweb/core/tests/test_sitemap.py +174 -0
  186. imio/smartweb/core/tests/test_vocabularies.py +61 -4
  187. imio/smartweb/core/tests/test_vocabulary.py +43 -0
  188. imio/smartweb/core/tests/utils.py +15 -0
  189. imio/smartweb/core/upgrades/configure.zcml +180 -0
  190. imio/smartweb/core/upgrades/profiles/1051_to_1052/actions.xml +20 -0
  191. imio/smartweb/core/upgrades/profiles/1052_to_1053/diff_tool.xml +8 -0
  192. imio/smartweb/core/upgrades/profiles/1052_to_1053/repositorytool.xml +9 -0
  193. imio/smartweb/core/upgrades/profiles/1052_to_1053/types/imio.smartweb.SectionHTML.xml +14 -0
  194. imio/smartweb/core/upgrades/profiles/1053_to_1054/registry.xml +39 -0
  195. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/Collection.xml +13 -0
  196. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/File.xml +13 -0
  197. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/Image.xml +13 -0
  198. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.BlockLink.xml +12 -0
  199. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.CirkwiView.xml +12 -0
  200. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.DirectoryView.xml +12 -0
  201. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.EventsView.xml +12 -0
  202. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.Folder.xml +12 -0
  203. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.NewsView.xml +12 -0
  204. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.Page.xml +12 -0
  205. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.PortalPage.xml +12 -0
  206. imio/smartweb/core/upgrades/profiles/1054_to_1055/types/imio.smartweb.Procedure.xml +12 -0
  207. imio/smartweb/core/upgrades/profiles/1055_to_1056/types/imio.smartweb.SectionFiles.xml +12 -0
  208. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.EventsView.xml +11 -0
  209. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.NewsView.xml +11 -0
  210. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionEvents.xml +11 -0
  211. imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionNews.xml +11 -0
  212. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/page_category.cfg +9 -0
  213. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/page_category.xml +73 -0
  214. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/procedure_category.cfg +9 -0
  215. imio/smartweb/core/upgrades/profiles/1057_to_1058/taxonomies/procedure_category.xml +118 -0
  216. imio/smartweb/core/upgrades/profiles/1058_to_1059/registry/linkedin-icon.xml +126 -0
  217. imio/smartweb/core/upgrades/profiles/1059_to_1060/registry/iadeliberation.xml +9 -0
  218. imio/smartweb/core/upgrades/profiles/1060_to_1061/types/imio.smartweb.Publication.xml +38 -0
  219. imio/smartweb/core/upgrades/profiles/1060_to_1061/types/imio.smartweb.SectionFiles.xml +11 -0
  220. imio/smartweb/core/upgrades/profiles/1060_to_1061/types.xml +4 -0
  221. imio/smartweb/core/upgrades/profiles/1060_to_1061/workflows.xml +6 -0
  222. imio/smartweb/core/utils.py +65 -3
  223. imio/smartweb/core/viewlets/configure.zcml +43 -0
  224. imio/smartweb/core/viewlets/external_content.py +13 -5
  225. imio/smartweb/core/viewlets/footer.pt +5 -0
  226. imio/smartweb/core/viewlets/footer.py +5 -0
  227. imio/smartweb/core/viewlets/htmx.py +15 -0
  228. imio/smartweb/core/viewlets/htmx_js_header.pt +59 -0
  229. imio/smartweb/core/viewlets/httpheaders.py +13 -0
  230. imio/smartweb/core/viewlets/odwb_widget_header.pt +19 -0
  231. imio/smartweb/core/viewlets/offcanvas.pt +2 -1
  232. imio/smartweb/core/viewlets/ogp_tag_header.pt +19 -0
  233. imio/smartweb/core/viewlets/ogptags.py +144 -0
  234. imio/smartweb/core/viewlets/social.py +23 -0
  235. imio/smartweb/core/vocabularies.py +66 -2
  236. imio/smartweb/core/vocabularies.zcml +18 -0
  237. imio/smartweb/core/webcomponents/build/1c1605a5fe9a2b10a88f.png +1 -0
  238. imio/smartweb/core/webcomponents/build/524db40e119aa11f4478.png +1 -0
  239. imio/smartweb/core/webcomponents/build/57d3b7cb1ab874660b39.svg +1 -0
  240. imio/smartweb/core/webcomponents/build/6cf03871df23ed2ee8b3.png +1 -0
  241. imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -0
  242. imio/smartweb/core/webcomponents/build/css/486.smartweb-webcomponents-compiled.css +1 -0
  243. imio/smartweb/core/webcomponents/build/css/884.smartweb-webcomponents-compiled.css +1 -0
  244. imio/smartweb/core/webcomponents/build/css/919.smartweb-webcomponents-compiled.css +1 -0
  245. imio/smartweb/core/webcomponents/build/css/smartweb-webcomponents-compiled.css +1 -1
  246. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +2 -0
  247. imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +16 -0
  248. imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +2 -0
  249. imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js.LICENSE.txt +10 -0
  250. imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -0
  251. imio/smartweb/core/webcomponents/build/js/499.smartweb-webcomponents-compiled.js +2 -0
  252. imio/smartweb/core/webcomponents/build/js/{212.smartweb-webcomponents-compiled.js.LICENSE.txt → 499.smartweb-webcomponents-compiled.js.LICENSE.txt} +1 -8
  253. imio/smartweb/core/webcomponents/build/js/799.smartweb-webcomponents-compiled.js +2 -0
  254. imio/smartweb/core/webcomponents/build/js/824.smartweb-webcomponents-compiled.js +2 -0
  255. imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js +2 -0
  256. imio/smartweb/core/webcomponents/build/js/828.smartweb-webcomponents-compiled.js.LICENSE.txt +32 -0
  257. imio/smartweb/core/webcomponents/build/js/884.smartweb-webcomponents-compiled.js +1 -0
  258. imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -0
  259. imio/smartweb/core/webcomponents/build/js/963.smartweb-webcomponents-compiled.js +2 -0
  260. imio/smartweb/core/webcomponents/build/js/963.smartweb-webcomponents-compiled.js.LICENSE.txt +3 -0
  261. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
  262. imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js.LICENSE.txt +11 -14
  263. imio/smartweb/core/webcomponents/package.json +46 -44
  264. imio/smartweb/core/webcomponents/src/assets/contentIcon/download.svg +1 -0
  265. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.jsx +160 -92
  266. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +250 -157
  267. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactCard/ContactCard.jsx +113 -81
  268. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +394 -188
  269. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactList/ContactList.jsx +26 -9
  270. imio/smartweb/core/webcomponents/src/components/Annuaire/Filters/Filter.jsx +213 -100
  271. imio/smartweb/core/webcomponents/src/components/Annuaire/index.js +1 -1
  272. imio/smartweb/core/webcomponents/src/components/Events/EventCard/EventCard.jsx +86 -0
  273. imio/smartweb/core/webcomponents/src/components/Events/EventContent/EventContent.jsx +615 -0
  274. imio/smartweb/core/webcomponents/src/components/Events/EventList/EventList.jsx +67 -0
  275. imio/smartweb/core/webcomponents/src/components/Events/Events.jsx +181 -103
  276. imio/smartweb/core/webcomponents/src/components/Events/Events.scss +316 -182
  277. imio/smartweb/core/webcomponents/src/components/Events/Filters/Filter.jsx +275 -80
  278. imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.jsx +136 -0
  279. imio/smartweb/core/webcomponents/src/components/Filters/DateFilter.scss +104 -0
  280. imio/smartweb/core/webcomponents/src/components/Filters/IamData.jsx +42 -0
  281. imio/smartweb/core/webcomponents/src/components/Filters/MainFilter.scss +227 -0
  282. imio/smartweb/core/webcomponents/src/components/Filters/PublicTargetData.jsx +94 -0
  283. imio/smartweb/core/webcomponents/src/components/Filters/SelectStyles.js +58 -0
  284. imio/smartweb/core/webcomponents/src/components/Filters/TaxonomyFilter.jsx +149 -0
  285. imio/smartweb/core/webcomponents/src/components/Filters/TaxonomyFilter.scss +70 -0
  286. imio/smartweb/core/webcomponents/src/components/News/Filters/Filter.jsx +139 -83
  287. imio/smartweb/core/webcomponents/src/components/News/News.jsx +141 -74
  288. imio/smartweb/core/webcomponents/src/components/News/News.scss +41 -15
  289. imio/smartweb/core/webcomponents/src/components/News/NewsCard/NewsCard.jsx +96 -0
  290. imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +309 -0
  291. imio/smartweb/core/webcomponents/src/components/News/NewsList/NewsList.jsx +76 -0
  292. imio/smartweb/core/webcomponents/src/components/Search/ContactResult/ContactResult.jsx +28 -14
  293. imio/smartweb/core/webcomponents/src/components/Search/EventsResult/EventsResult.jsx +28 -14
  294. imio/smartweb/core/webcomponents/src/components/Search/Filters/Filter.jsx +51 -32
  295. imio/smartweb/core/webcomponents/src/components/Search/NewsResult/NewsResult.jsx +29 -15
  296. imio/smartweb/core/webcomponents/src/components/Search/Search.jsx +18 -13
  297. imio/smartweb/core/webcomponents/src/components/Search/Search.scss +125 -105
  298. imio/smartweb/core/webcomponents/src/components/Search/WebResult/WebResult.jsx +19 -6
  299. imio/smartweb/core/webcomponents/src/components/Search/index.js +1 -1
  300. imio/smartweb/core/webcomponents/src/hooks/ScrollContext.jsx +3 -0
  301. imio/smartweb/core/webcomponents/src/hooks/useAxios.js +3 -6
  302. imio/smartweb/core/webcomponents/src/hooks/useFilterQuery.js +1 -2
  303. imio/smartweb/core/webcomponents/src/index.scss +246 -211
  304. imio/smartweb/core/webcomponents/src/utils/Map.jsx +159 -0
  305. imio/smartweb/core/webcomponents/src/{components/Annuaire/ContactMap/ContactMap.scss → utils/Map.scss} +2 -2
  306. imio/smartweb/core/webcomponents/src/utils/translation.js +283 -14
  307. imio.smartweb.core-1.2.68-py3.11-nspkg.pth +2 -0
  308. {imio.smartweb.core-1.2.12.dist-info → imio.smartweb.core-1.2.68.dist-info}/METADATA +548 -3
  309. {imio.smartweb.core-1.2.12.dist-info → imio.smartweb.core-1.2.68.dist-info}/RECORD +317 -240
  310. {imio.smartweb.core-1.2.12.dist-info → imio.smartweb.core-1.2.68.dist-info}/WHEEL +1 -1
  311. imio/smartweb/core/webcomponents/build/assets/location-bla.1423bcce16ddcb21141430cac1428dc1.svg +0 -1
  312. imio/smartweb/core/webcomponents/build/assets/next-react-white.819cb069ac8eec300a9db6a7707712d6.svg +0 -1
  313. imio/smartweb/core/webcomponents/build/assets/next-react.17bc43ff4a6a86f4520f5782f6a89a72.svg +0 -1
  314. imio/smartweb/core/webcomponents/build/assets/search.57bdbf5b191499cd77514097d1c4972c.svg +0 -1
  315. imio/smartweb/core/webcomponents/build/css/267.smartweb-webcomponents-compiled.css +0 -1
  316. imio/smartweb/core/webcomponents/build/css/323.smartweb-webcomponents-compiled.css +0 -1
  317. imio/smartweb/core/webcomponents/build/css/552.smartweb-webcomponents-compiled.css +0 -1
  318. imio/smartweb/core/webcomponents/build/css/779.smartweb-webcomponents-compiled.css +0 -1
  319. imio/smartweb/core/webcomponents/build/js/144.smartweb-webcomponents-compiled.js +0 -2
  320. imio/smartweb/core/webcomponents/build/js/212.smartweb-webcomponents-compiled.js +0 -2
  321. imio/smartweb/core/webcomponents/build/js/267.smartweb-webcomponents-compiled.js +0 -1
  322. imio/smartweb/core/webcomponents/build/js/323.smartweb-webcomponents-compiled.js +0 -2
  323. imio/smartweb/core/webcomponents/build/js/323.smartweb-webcomponents-compiled.js.LICENSE.txt +0 -1
  324. imio/smartweb/core/webcomponents/build/js/552.smartweb-webcomponents-compiled.js +0 -2
  325. imio/smartweb/core/webcomponents/build/js/552.smartweb-webcomponents-compiled.js.LICENSE.txt +0 -1
  326. imio/smartweb/core/webcomponents/build/js/565.smartweb-webcomponents-compiled.js +0 -1
  327. imio/smartweb/core/webcomponents/build/js/612.smartweb-webcomponents-compiled.js +0 -2
  328. imio/smartweb/core/webcomponents/build/js/612.smartweb-webcomponents-compiled.js.LICENSE.txt +0 -1
  329. imio/smartweb/core/webcomponents/build/js/779.smartweb-webcomponents-compiled.js +0 -1
  330. imio/smartweb/core/webcomponents/build/js/9.smartweb-webcomponents-compiled.js +0 -2
  331. imio/smartweb/core/webcomponents/build/js/969.smartweb-webcomponents-compiled.js +0 -2
  332. imio/smartweb/core/webcomponents/build/js/969.smartweb-webcomponents-compiled.js.LICENSE.txt +0 -642
  333. imio/smartweb/core/webcomponents/pnpm-lock.yaml +0 -7066
  334. imio/smartweb/core/webcomponents/src/assets/facebook-news.svg +0 -1
  335. imio/smartweb/core/webcomponents/src/assets/location-bla.svg +0 -1
  336. imio/smartweb/core/webcomponents/src/assets/next-react.svg +0 -1
  337. imio/smartweb/core/webcomponents/src/assets/search.svg +0 -1
  338. imio/smartweb/core/webcomponents/src/assets/skeleton.svg +0 -1
  339. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactMap/ContactMap.jsx +0 -156
  340. imio/smartweb/core/webcomponents/src/components/Annuaire/Skeleton/LoaderCss.jsx +0 -7
  341. imio/smartweb/core/webcomponents/src/components/Annuaire/Skeleton/Skeleton.jsx +0 -20
  342. imio/smartweb/core/webcomponents/src/components/Events/ContactCard/ContactCard.jsx +0 -49
  343. imio/smartweb/core/webcomponents/src/components/Events/ContactContent/ContactContent.jsx +0 -400
  344. imio/smartweb/core/webcomponents/src/components/Events/ContactList/ContactList.jsx +0 -42
  345. imio/smartweb/core/webcomponents/src/components/Events/ContactMap/ContactMap.jsx +0 -156
  346. imio/smartweb/core/webcomponents/src/components/Events/Skeleton/Skeleton.jsx +0 -20
  347. imio/smartweb/core/webcomponents/src/components/News/ContactCard/ContactCard.jsx +0 -78
  348. imio/smartweb/core/webcomponents/src/components/News/ContactContent/ContactContent.jsx +0 -261
  349. imio/smartweb/core/webcomponents/src/components/News/ContactList/ContactList.jsx +0 -37
  350. imio/smartweb/core/webcomponents/src/components/News/ContactMap/ContactMap.jsx +0 -127
  351. imio/smartweb/core/webcomponents/src/components/News/ContactMap/ContactMap.scss +0 -4
  352. imio/smartweb/core/webcomponents/src/components/News/Skeleton/Skeleton.jsx +0 -20
  353. imio/smartweb/core/webcomponents/src/components/Search/Skeleton/Skeleton.jsx +0 -20
  354. imio.smartweb.core-1.2.12-py3.10-nspkg.pth +0 -3
  355. /imio/smartweb/core/{webcomponents/src/components/Events/ContactMap/ContactMap.scss → contents/publication/__init__.py} +0 -0
  356. /imio/smartweb/core/webcomponents/build/js/{144.smartweb-webcomponents-compiled.js.LICENSE.txt → 799.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  357. /imio/smartweb/core/webcomponents/build/js/{9.smartweb-webcomponents-compiled.js.LICENSE.txt → 824.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
  358. {imio.smartweb.core-1.2.12.dist-info → imio.smartweb.core-1.2.68.dist-info}/LICENSE.GPL +0 -0
  359. {imio.smartweb.core-1.2.12.dist-info → imio.smartweb.core-1.2.68.dist-info}/LICENSE.rst +0 -0
  360. {imio.smartweb.core-1.2.12.dist-info → imio.smartweb.core-1.2.68.dist-info}/namespace_packages.txt +0 -0
  361. {imio.smartweb.core-1.2.12.dist-info → imio.smartweb.core-1.2.68.dist-info}/top_level.txt +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 212.smartweb-webcomponents-compiled.js.LICENSE.txt */
2
- (self.webpackChunkimio_smartweb_core_webcomponents=self.webpackChunkimio_smartweb_core_webcomponents||[]).push([[212],{75825:function(e){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},u=function(e,n){o&&"__proto__"===n.name?o(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},c=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,r,o,i,s,f,p=arguments[0],d=1,m=arguments.length,h=!1;for("boolean"==typeof p&&(h=p,p=arguments[1]||{},d=2),(null==p||"object"!==n(p)&&"function"!=typeof p)&&(p={});d<m;++d)if(null!=(t=arguments[d]))for(r in t)o=c(p,r),p!==(i=c(t,r))&&(h&&i&&(a(i)||(s=l(i)))?(s?(s=!1,f=o&&l(o)?o:[]):f=o&&a(o)?o:{},u(p,{name:r,newValue:e(h,f,i)})):void 0!==i&&u(p,{name:r,newValue:i}));return p}},91025:function(e){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,c="";function s(e){return e?e.replace(u,c):c}e.exports=function(e,u){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,p=1;function d(e){var n=e.match(t);n&&(f+=n.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function m(){var e={line:f,column:p};return function(n){return n.position=new h(e),b(),n}}function h(e){this.start=e,this.end={line:f,column:p},this.source=u.source}h.prototype.content=e;var y=[];function g(n){var t=new Error(u.source+":"+f+":"+p+": "+n);if(t.reason=n,t.filename=u.source,t.line=f,t.column=p,t.source=e,!u.silent)throw t;y.push(t)}function v(n){var t=n.exec(e);if(t){var r=t[0];return d(r),e=e.slice(r.length),t}}function b(){v(r)}function x(e){var n;for(e=e||[];n=w();)!1!==n&&e.push(n);return e}function w(){var n=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var t=2;c!=e.charAt(t)&&("*"!=e.charAt(t)||"/"!=e.charAt(t+1));)++t;if(t+=2,c===e.charAt(t-1))return g("End of comment missing");var r=e.slice(2,t-2);return p+=2,d(r),e=e.slice(t),p+=2,n({type:"comment",comment:r})}}function k(){var e=m(),t=v(o);if(t){if(w(),!v(i))return g("property missing ':'");var r=v(l),u=e({type:"declaration",property:s(t[0].replace(n,c)),value:r?s(r[0].replace(n,c)):c});return v(a),u}}return b(),function(){var e,n=[];for(x(n);e=k();)!1!==e&&(n.push(e),x(n));return n}()}},95212:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},10729:function(e,n){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}var r,o=Symbol.for("react.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),f=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"===t(e)&&null!==e){var n=e.$$typeof;switch(n){case o:switch(e=e.type){case l:case u:case a:case d:case m:return e;default:switch(e=e&&e.$$typeof){case f:case s:case p:case y:case h:case c:return e;default:return n}}case i:return n}}}r=Symbol.for("react.module.reference"),n.ContextConsumer=s,n.ContextProvider=c,n.Element=o,n.ForwardRef=p,n.Fragment=l,n.Lazy=y,n.Memo=h,n.Portal=i,n.Profiler=u,n.StrictMode=a,n.Suspense=d,n.SuspenseList=m,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return v(e)===s},n.isContextProvider=function(e){return v(e)===c},n.isElement=function(e){return"object"===t(e)&&null!==e&&e.$$typeof===o},n.isForwardRef=function(e){return v(e)===p},n.isFragment=function(e){return v(e)===l},n.isLazy=function(e){return v(e)===y},n.isMemo=function(e){return v(e)===h},n.isPortal=function(e){return v(e)===i},n.isProfiler=function(e){return v(e)===u},n.isStrictMode=function(e){return v(e)===a},n.isSuspense=function(e){return v(e)===d},n.isSuspenseList=function(e){return v(e)===m},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===u||e===a||e===d||e===m||e===g||"object"===t(e)&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===c||e.$$typeof===s||e.$$typeof===p||e.$$typeof===r||void 0!==e.getModuleId)},n.typeOf=v},87745:function(e,n,t){"use strict";e.exports=t(10729)},93580:function(e,n,t){"use strict";t.d(n,{$H:function(){return L},vN:function(){return C},zt:function(){return p}});var r=t(78709),o=t(16526);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var l=(0,o.shape)({getLanguage:o.func.isRequired,getTranslation:o.func.isRequired,subscribe:o.func.isRequired}),a=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")},u=function(){function e(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),c=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},s=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+i(n));e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)},f=function(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==i(n)&&"function"!=typeof n?e:n},p=function(e){function n(){var e,t,r;a(this,n);for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return t=r=f(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(i))),r.translated={getIsDebugging:function(){return!!r.props.isDebugging},getLanguage:function(){return r.props.language},getTranslation:function(){return r.props.translation},subscribe:function(e){return r.subscribe(e)}},r.listeners=[],f(r,t)}return s(n,e),u(n,[{key:"getChildContext",value:function(){return{translated:this.translated}}},{key:"subscribe",value:function(e){var n=this;return this.listeners.push(e),function(){var t=n.listeners.indexOf(e);t>-1&&n.listeners.splice(t,1)}}},{key:"notify",value:function(){this.listeners&&this.listeners.forEach((function(e){return e()}))}},{key:"componentDidUpdate",value:function(e){e.language===this.props.language&&e.translation===this.props.translation||this.notify()}},{key:"render",value:function(){return this.props.children}}]),n}(r.Component);p.childContextTypes={translated:l.isRequired};var d=function(e){var n,t,o=e.Component;return t=n=function(e){function n(){return a(this,n),f(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return s(n,e),u(n,[{key:"render",value:function(){return(0,r.createElement)(o,c({},this.props,{translated:this.context.translated}))}},{key:"componentDidMount",value:function(){var e=this;this.unsubscribe=this.context.translated.subscribe((function(){return e.forceUpdate()}))}},{key:"componentWillUnmount",value:function(){this.unsubscribe()}}]),n}(r.PureComponent),n.contextTypes={translated:l.isRequired},t},m=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},h=function(e){var n=e.renderers,t=v({renderers:n});return function(e){var n=e.data,r=e.text,o=y({renderers:t,text:r});return g({contexts:o,data:n,text:r})}},y=function(e){for(var n=e.renderers,t=e.text,r=n.map((function(e){return"("+e.regExpPart+")"})),o=new RegExp(r.join("|"),"gm"),i=[],l=0,a=void 0,u=1e3;a=o.exec(t);){if(!u--){console.error("Breaking early to avoid potential infinite loop");break}var c=t.substring(l,a.index);l=o.lastIndex;var s="\\"===c[c.length-1];c&&i.push(s?c.slice(0,-1):c),s?i.push(a.input[a.index]):n.some((function(e){if(e.groupIndexes.some((function(e){return null!=a[e]}))){var n=a.filter((function(n,t){return e.groupIndexes.includes(t)})).slice(1);return i.push({matches:n,renderer:e}),!0}}))}var f=t.slice(l);return f&&i.push(f),i},g=function(e){var n=e.contexts,t=e.data,r=e.text,o=[],i=0,l=1e3,a=function(){if(!l--)return console.error("Breaking early to avoid potential infinite loop"),"break";if(n.slice(0,i+1).every((function(e){return"string"==typeof e}))){var e=n.splice(0,i+1);return o.push.apply(o,function(e){if(Array.isArray(e)){for(var n=0,t=Array(e.length);n<e.length;n++)t[n]=e[n];return t}return Array.from(e)}(e)),i=0,"continue"}var a=n[i];if(!a||!a.renderer||!a.renderer.render)return console.error("No renderer found for the matching context in %o at %o",n,i),"break";if(!n.some((function(e){return e!==a&&e&&e.renderer&&e.renderer.render===a.renderer.render})))return n.splice(i,1),i=0,"continue";var u=n.findIndex((function(e,n){return n>i&&e&&e.renderer&&e.renderer.render})),c=n[u];if(!c)throw new Error('Unable to render text: "'+r+'"');if(c.renderer.render!==a.renderer.render)return i=u,"continue";var s=c.renderer.render({key:o.length+":"+i+":"+u,children:n.slice(i+1,u),data:t,startMatches:a.matches,endMatches:c.matches});0!==i?n.splice(i,u-i+1,s):(n.splice(0,u+1),o.push(s)),i=0};e:for(;n.length;){switch(a()){case"break":break e;case"continue":continue}}return o},v=function(e){return e.renderers.reduce((function(e,n,t){var r=e[e.length-1],o=r?r.groupIndexes[r.groupIndexes.length-1]:0,i=n.match;if("string"==typeof i){var l=b({regExp:new RegExp(i)})+1;e.push(m({},n,{regExpPart:i,groupIndexes:Array.from(new Array(l)).map((function(e,n){return n+o+1}))}))}else{var a=b({regExp:new RegExp(i.start)})+1;e.push(m({},n,{regExpPart:i.start,groupIndexes:Array.from(new Array(a)).map((function(e,n){return n+o+1}))}));var u=b({regExp:new RegExp(i.end)})+1;e.push(m({},n,{regExpPart:i.end,groupIndexes:Array.from(new Array(u)).map((function(e,n){return n+o+1+a}))}))}return e}),[])},b=function(e){var n=e.regExp;return new RegExp(n.toString()+"|").exec("").length-1},x=function(e){var n=e.Component;return{match:"\\*",render:function(e){var t=e.children;return(0,r.createElement)(n.BoldText,null,t)}}},w=function(e){var n=e.Component;return{match:"_",render:function(e){var t=e.children;return(0,r.createElement)(n.ItalicText,null,t)}}},k=function(e){var n=e.Component;return{match:{start:"\\[",end:"\\]\\((.*?)\\)"},render:function(e){var t=e.children,o=e.data,i=e.endMatches[0]||"",l=o.onPressLink;return(0,r.createElement)(n.Link,{onPress:l,url:i},t)}}},S=h({renderers:[{match:{start:"\\{",end:"\\}"},render:function(e){return e.data[e.children]||""}}]}),I=function(e){var n=e.data,t=e.text;return S({data:n,text:t}).join("")},M=function(e){var n=e.data,t=e.text,r=e.translated,o=r.getTranslation(),i=r.getLanguage();if(!o||!i)throw new Error("No translation data provided. Make sure your <Provider> is set up correctly.");var l=o[t]?o[t][i]:void 0,a="function"==typeof l?l(n||{}):l;return"string"==typeof a?a:""},A={link:{fontWeight:"bold",textDecoration:"underline"}},j=function(e){var n=e.Component,t=h({renderers:[x({Component:n}),w({Component:n}),k({Component:n}),{match:{start:"<",end:">"},render:function(e){var n=e.children,t=e.data,r="string"==typeof n[0]?n[0]:"",o=t.renderMap&&t.renderMap["render"+r];if(!o)throw new Error('Render method "render'+r+'" not passed');return o(t.templateData)}}]});return function(e){var o=e.text,i=e.data,l=e.renderMap,a=e.translated,u=e.onPressLink,c=e.renderers,s=M({data:i,text:o,translated:a}),f=I({data:i,text:s||o}),p=c?h({renderers:c}):void 0,d=t({data:{templateData:i,onPressLink:u,renderMap:l},text:f}).map((function(e,n){return"string"!=typeof e?(0,r.cloneElement)(e,{key:n}):p?p({text:e}):e}));if(!a.getIsDebugging()||!!s)return d;return(0,r.createElement)(n.Text,{style:{backgroundColor:"red"}},d)}}({Component:{BoldText:"b",ItalicText:"i",Text:"span",Link:function(e){var n=e.onPress,t=e.children,o=e.url;return(0,r.createElement)("a",{onClick:n?function(){return n&&n({url:o})}:void 0,href:o,style:A.link},t)}}}),C=function(e){e.renderer;var n=e.renderTranslated,t=e.TextAncestor,o=function(e){function o(){return a(this,o),f(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return s(o,e),u(o,[{key:"render",value:function(){var e=this;return t?(0,r.createElement)(t.Consumer,null,(function(n){if(!n)throw new Error("Cannot place translated text outside a text node");return e.renderText()})):this.renderText()}},{key:"renderText",value:function(){var e=this.props,t=e.data,r=e.text,o=e.renderMap,i=e.onPressLink,l=e.translated,a=e.renderers;return n({text:r,data:t,renderMap:o,translated:l,onPressLink:i,renderers:a})}}]),o}(r.Component);return d({Component:o})}({renderer:"dom",renderTranslated:j}),E=function(e){function n(){return a(this,n),f(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return s(n,e),u(n,[{key:"render",value:function(){var e=this;return(0,this.props.children)({translate:function(n){var t=n.data,r=n.text;return e.translate({data:t,text:r})}})}},{key:"translate",value:function(e){var n=e.data,t=e.text,r=this.props.translated,o=M({data:n,text:t,translated:r});return I({data:n,text:o||t})}}]),n}(r.Component),L=d({Component:E})},29924:function(e){var n={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","ß":"ss","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z","й":"и","Й":"И","ё":"е","Ё":"Е"},t=Object.keys(n).join("|"),r=new RegExp(t,"g"),o=new RegExp(t,"");function i(e){return n[e]}var l=function(e){return e.replace(r,i)};e.exports=l,e.exports.has=function(e){return!!e.match(o)},e.exports.remove=l},17110:function(){(function(){"use strict";var e=document.createElement("style");e.innerHTML="@keyframes pulsate{0%,to{opacity:1}50%{opacity:.2}}#spotlight{position:fixed;top:-1px;bottom:-1px;width:100%;z-index:99999;color:#fff;background-color:#000;opacity:0;overflow:hidden;-webkit-user-select:none;-ms-user-select:none;user-select:none;transition:opacity .2s ease-out;font-family:Arial,sans-serif;font-size:16px;font-weight:400;contain:strict;touch-action:none;pointer-events:none}#spotlight.show{opacity:1;transition:none;pointer-events:auto}#spotlight.white{color:#212529;background-color:#fff}#spotlight.white .spl-next,#spotlight.white .spl-page~*,#spotlight.white .spl-prev,#spotlight.white .spl-spinner{filter:invert(1)}#spotlight.white .spl-progress{background-color:rgba(0,0,0,.35)}#spotlight.white .spl-footer,#spotlight.white .spl-header{background-color:rgba(255,255,255,.65)}#spotlight.white .spl-button{background:#212529;color:#fff}.spl-footer,.spl-header{background-color:rgba(0,0,0,.45)}#spotlight .contain,#spotlight .cover{object-fit:cover;height:100%;width:100%}#spotlight .contain{object-fit:contain}#spotlight .autofit{object-fit:none;width:auto;height:auto;max-height:none;max-width:none;transition:none}.spl-scene,.spl-spinner,.spl-track{width:100%;height:100%;position:absolute}.spl-track{contain:strict}.spl-spinner{background-position:center;background-repeat:no-repeat;background-size:42px;opacity:0}.spl-spinner.spin{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNmZmYiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2Utb3BhY2l0eT0iLjY1Ij48Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuMTUiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIGQ9Ik0zNiAxOGMwLTkuOTQtOC4wNi0xOC0xOC0xOCI+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJyb3RhdGUiIGZyb209IjAgMTggMTgiIHRvPSIzNjAgMTggMTgiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9wYXRoPjwvZz48L2c+PC9zdmc+);transition:opacity .2s linear .25s;opacity:1}.spl-spinner.error{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTYsMUExNSwxNSwwLDEsMCwzMSwxNiwxNSwxNSwwLDAsMCwxNiwxWm0wLDJhMTMsMTMsMCwwLDEsOC40NSwzLjE0TDYuMTQsMjQuNDVBMTMsMTMsMCwwLDEsMTYsM1ptMCwyNmExMywxMywwLDAsMS04LjQ1LTMuMTRMMjUuODYsNy41NUExMywxMywwLDAsMSwxNiwyOVoiIGlkPSJiYW5fc2lnbl9jcm9zc2VkX2NpcmNsZSIvPjwvc3ZnPg==);background-size:128px;transition:none;opacity:.5}.spl-scene{transition:transform .65s cubic-bezier(.1,1,.1,1);contain:layout size;will-change:transform}.spl-pane>*{position:absolute;width:auto;height:auto;max-width:100%;max-height:100%;left:50%;top:50%;margin:0;padding:0;border:0;transform:translate(-50%,-50%) scale(1);transition:transform .65s cubic-bezier(.3,1,.3,1),opacity .65s ease;contain:layout style;will-change:transform,opacity;visibility:hidden}.spl-header,.spl-pane,.spl-progress{position:absolute;top:0}.spl-pane{width:100%;height:100%;transition:transform .65s cubic-bezier(.3,1,.3,1);contain:layout size;will-change:transform,contents}.spl-header{width:100%;height:50px;text-align:right;transform:translateY(-100px);transition:transform .35s ease;overflow:hidden;will-change:transform}#spotlight.menu .spl-footer,#spotlight.menu .spl-header,.spl-footer:hover,.spl-header:hover{transform:translateY(0)}.spl-header div{display:inline-block;vertical-align:middle;white-space:nowrap;width:50px;height:50px;opacity:.5}.spl-progress{width:100%;height:3px;background-color:rgba(255,255,255,.45);transform:translateX(-100%);transition:transform linear}.spl-footer,.spl-next,.spl-prev{position:absolute;transition:transform .35s ease;will-change:transform}.spl-footer{left:0;right:0;bottom:0;line-height:20px;padding:20px 20px 0;padding-bottom:env(safe-area-inset-bottom,0);text-align:left;font-size:15px;font-weight:400;transform:translateY(100%)}.spl-title{font-size:22px}.spl-button,.spl-description,.spl-title{margin-bottom:20px}.spl-button{display:inline-block;background:#fff;color:#000;border-radius:5px;padding:10px 20px;cursor:pointer}.spl-next,.spl-page~*,.spl-prev{background-position:center;background-repeat:no-repeat}.spl-page{float:left;width:auto;line-height:50px}.spl-page~*{background-size:21px;float:right}.spl-fullscreen{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZpZXdCb3g9Ii0xIC0xIDI2IDI2IiB3aWR0aD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTggM0g1YTIgMiAwIDAgMC0yIDJ2M20xOCAwVjVhMiAyIDAgMCAwLTItMmgtM20wIDE4aDNhMiAyIDAgMCAwIDItMnYtM00zIDE2djNhMiAyIDAgMCAwIDIgMmgzIi8+PC9zdmc+)}.spl-fullscreen.on{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik04IDN2M2EyIDIgMCAwIDEtMiAySDNtMTggMGgtM2EyIDIgMCAwIDEtMi0yVjNtMCAxOHYtM2EyIDIgMCAwIDEgMi0yaDNNMyAxNmgzYTIgMiAwIDAgMSAyIDJ2MyIvPjwvc3ZnPg==)}.spl-autofit{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBoZWlnaHQ9Ijk2cHgiIHZpZXdCb3g9IjAgMCA5NiA5NiIgd2lkdGg9Ijk2cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoOTAgNTAgNTApIiBmaWxsPSIjZmZmIiBkPSJNNzEuMzExLDgwQzY5LjY3LDg0LjY2LDY1LjIzLDg4LDYwLDg4SDIwYy02LjYzLDAtMTItNS4zNy0xMi0xMlYzNmMwLTUuMjMsMy4zNC05LjY3LDgtMTEuMzExVjc2YzAsMi4yMSwxLjc5LDQsNCw0SDcxLjMxMSAgeiIvPjxwYXRoIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSIgZmlsbD0iI2ZmZiIgZD0iTTc2LDhIMzZjLTYuNjMsMC0xMiw1LjM3LTEyLDEydjQwYzAsNi42Myw1LjM3LDEyLDEyLDEyaDQwYzYuNjMsMCwxMi01LjM3LDEyLTEyVjIwQzg4LDEzLjM3LDgyLjYzLDgsNzYsOHogTTgwLDYwICBjMCwyLjIxLTEuNzksNC00LDRIMzZjLTIuMjEsMC00LTEuNzktNC00VjIwYzAtMi4yMSwxLjc5LTQsNC00aDQwYzIuMjEsMCw0LDEuNzksNCw0VjYweiIvPjwvc3ZnPg==)}.spl-zoom-in,.spl-zoom-out{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB4Mj0iMTYuNjUiIHkxPSIyMSIgeTI9IjE2LjY1Ii8+PGxpbmUgeDE9IjgiIHgyPSIxNCIgeTE9IjExIiB5Mj0iMTEiLz48L3N2Zz4=);background-size:22px}.spl-zoom-in{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB4Mj0iMTYuNjUiIHkxPSIyMSIgeTI9IjE2LjY1Ii8+PGxpbmUgeDE9IjExIiB4Mj0iMTEiIHkxPSI4IiB5Mj0iMTQiLz48bGluZSB4MT0iOCIgeDI9IjE0IiB5MT0iMTEiIHkyPSIxMSIvPjwvc3ZnPg==)}.spl-download{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIxNDEuNzMycHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE0MS43MzIgMTQxLjczMiIgd2lkdGg9IjE0MS43MzJweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIwLjY3NCwxMjUuMTM4SDIwLjc5M3YxNi41OTRoOTkuODgxVjEyNS4xMzh6IE0xMTkuMDE5LDU4Ljc3NmMtMi41NjEtMi41NjItNi43MTYtMi41NjItOS4yNzUsMEw3Ny4yMSw5MS4zMTJWNi41NjIgICBDNzcuMjEsMi45MzYsNzQuMjY5LDAsNzAuNjQ4LDBjLTMuNjI0LDAtNi41NiwyLjkzNy02LjU2LDYuNTYzdjg0Ljc1TDMxLjk5Miw1OS4yMThjLTIuNTYyLTIuNTY0LTYuNzE1LTIuNTY0LTkuMjc3LDAgICBjLTIuNTY1LDIuNTYyLTIuNTY1LDYuNzE2LDAsOS4yNzlsNDMuMjk0LDQzLjI5M2MwLjE1LDAuMTU0LDAuMzE0LDAuMjk5LDAuNDgxLDAuNDM4YzAuMDc2LDAuMDYyLDAuMTU1LDAuMTEzLDAuMjM0LDAuMTc2ICAgYzAuMDk0LDAuMDY1LDAuMTg2LDAuMTQyLDAuMjc5LDAuMjA2YzAuMDk3LDAuMDYzLDAuMTkyLDAuMTE0LDAuMjg2LDAuMTc0YzAuMDg4LDAuMDU0LDAuMTc0LDAuMTA1LDAuMjY1LDAuMTUzICAgYzAuMSwwLjA1NiwwLjE5OSwwLjEsMC4yOTgsMC4xNDdjMC4wOTcsMC4wNDUsMC4xOSwwLjA5MSwwLjI4MywwLjEzMmMwLjA5OCwwLjA0LDAuMTk2LDAuMDcyLDAuMjk1LDAuMTA1ICAgYzAuMTA0LDAuMDM4LDAuMjA3LDAuMDc4LDAuMzEyLDAuMTA5YzAuMTAxLDAuMDMsMC4xOTcsMC4wNTIsMC4yOTcsMC4wNzdjMC4xMDgsMC4wMjMsMC4yMTQsMC4wNTgsMC4zMjQsMC4wNzggICBjMC4xMTUsMC4wMjEsMC4yMzEsMC4wMzMsMC4zNDYsMC4wNTRjMC4wOTcsMC4wMTUsMC4xOTIsMC4wMzIsMC4yODksMC4wNDJjMC40MywwLjA0MiwwLjg2NSwwLjA0MiwxLjI5NSwwICAgYzAuMS0wLjAxLDAuMTkxLTAuMDI3LDAuMjg5LTAuMDQyYzAuMTE0LTAuMDIxLDAuMjMzLTAuMDI5LDAuMzQ0LTAuMDU0YzAuMTA5LTAuMDIxLDAuMjE3LTAuMDU1LDAuMzI0LTAuMDc4ICAgYzAuMTAyLTAuMDI1LDAuMTk5LTAuMDQ3LDAuMjk5LTAuMDc3YzAuMTA1LTAuMDMxLDAuMjA3LTAuMDcxLDAuMzEyLTAuMTA5YzAuMTAyLTAuMDMsMC4xOTUtMC4wNjIsMC4yOTUtMC4xMDUgICBjMC4wOTYtMC4wNDEsMC4xOTEtMC4wODcsMC4yODMtMC4xMzJjMC4xLTAuMDQ4LDAuMTk5LTAuMDkyLDAuMjk3LTAuMTQ3YzAuMDkxLTAuMDQ4LDAuMTc3LTAuMTA0LDAuMjY0LTAuMTUzICAgYzAuMDk4LTAuMDYsMC4xOTMtMC4xMSwwLjI4Ny0wLjE3NGMwLjA5Ni0wLjA2NCwwLjE4OS0wLjE0MSwwLjI4MS0wLjIwNmMwLjA3Ni0wLjA2MiwwLjE1Ni0wLjExMywwLjIzMy0wLjE3NiAgIGMwLjI0OS0wLjIwNCwwLjQ3OS0wLjQzNywwLjY5NC0wLjY3YzAuMDc2LTAuMDY3LDAuMTU0LTAuMTMxLDAuMjI5LTAuMjAzbDQzLjI5NC00My4yOTYgICBDMTIxLjU4MSw2NS40OTEsMTIxLjU4MSw2MS4zMzcsMTE5LjAxOSw1OC43NzYiLz48L2c+PC9zdmc+);background-size:20px}.spl-theme{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBoZWlnaHQ9IjI0cHgiIHZlcnNpb249IjEuMiIgdmlld0JveD0iMiAyIDIwIDIwIiB3aWR0aD0iMjRweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIsNGMtNC40MTgsMC04LDMuNTgyLTgsOHMzLjU4Miw4LDgsOHM4LTMuNTgyLDgtOFMxNi40MTgsNCwxMiw0eiBNMTIsMThjLTMuMzE0LDAtNi0yLjY4Ni02LTZzMi42ODYtNiw2LTZzNiwyLjY4Niw2LDYgUzE1LjMxNCwxOCwxMiwxOHoiLz48cGF0aCBkPSJNMTIsN3YxMGMyLjc1NywwLDUtMi4yNDMsNS01UzE0Ljc1Nyw3LDEyLDd6Ii8+PC9nPjwvc3ZnPg==)}.spl-play{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSItMC41IC0wLjUgMjUgMjUiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxwb2x5Z29uIGZpbGw9IiNmZmYiIHBvaW50cz0iMTAgOCAxNiAxMiAxMCAxNiAxMCA4Ii8+PC9zdmc+)}.spl-play.on{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSItMC41IC0wLjUgMjUgMjUiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxsaW5lIHgxPSIxMCIgeDI9IjEwIiB5MT0iMTUiIHkyPSI5Ii8+PGxpbmUgeDE9IjE0IiB4Mj0iMTQiIHkxPSIxNSIgeTI9IjkiLz48L3N2Zz4=);animation:pulsate 1s ease infinite}.spl-close{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIyIDIgMjAgMjAiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48bGluZSB4MT0iMTgiIHgyPSI2IiB5MT0iNiIgeTI9IjE4Ii8+PGxpbmUgeDE9IjYiIHgyPSIxOCIgeTE9IjYiIHkyPSIxOCIvPjwvc3ZnPg==)}.spl-next,.spl-prev{top:50%;width:50px;height:50px;opacity:.65;background-color:rgba(0,0,0,.45);border-radius:100%;cursor:pointer;margin-top:-25px;transform:translateX(-100px);background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cG9seWxpbmUgcG9pbnRzPSIxNSAxOCA5IDEyIDE1IDYiLz48L3N2Zz4=);background-size:30px}.spl-prev{left:20px}.spl-next{left:auto;right:20px;transform:translateX(100px) scaleX(-1)}#spotlight.menu .spl-prev{transform:translateX(0)}#spotlight.menu .spl-next{transform:translateX(0) scaleX(-1)}@media (hover:hover){.spl-page~div{cursor:pointer;transition:opacity .2s ease}.spl-next:hover,.spl-page~div:hover,.spl-prev:hover{opacity:1}}@media (max-width:500px){.spl-header div{width:44px}.spl-footer .spl-title{font-size:20px}.spl-footer{font-size:14px}.spl-next,.spl-prev{width:35px;height:35px;margin-top:-17.5px;background-size:15px 15px}.spl-spinner{background-size:30px 30px}}.hide-scrollbars{overflow:hidden!important}";var n=document.getElementsByTagName("head")[0];function t(e,n,t){e.classList[t?"add":"remove"](n)}function r(e,n,t){t=""+t,e["_s_"+n]!==t&&(e.style.setProperty(n,t),e["_s_"+n]=t)}n.firstChild?n.insertBefore(e,n.firstChild):n.appendChild(e),Object.assign||(Object.assign=function(e,n){for(var t,r=Object.keys(n),o=0;o<r.length;o++)e[t=r[o]]=n[t];return e}),Element.prototype.closest||(Element.prototype.closest=function(e){e=e.substring(1);for(var n=this;n&&1===n.nodeType;){if(n.classList.contains(e))return n;n=n.parentElement}return null});var o=0;function i(e,n){n&&(r(e,"transition","none"),n()),o||(o=e.clientTop&&0),n&&r(e,"transition","")}function l(e,n,t,r){a(!0,e,n,t,r)}function a(e,n,t,r,o){n[(e?"add":"remove")+"EventListener"](t,r,!o&&!1!==o||o)}function u(e,n){e.stopPropagation(),n&&e.preventDefault()}function c(e,n){r(e,"display",n?"":"none")}function s(e,n){r(e,"visibility",n?"":"hidden")}function f(e,n){r(e,"transition",n?"":"none")}var p="theme download play page close autofit zoom-in zoom-out prev next fullscreen".split(" "),d={page:1,close:1,autofit:1,"zoom-in":1,"zoom-out":1,prev:1,next:1,fullscreen:1},m=document.createElement("div");m.id="spotlight",m.innerHTML="<div class=spl-spinner></div><div class=spl-track><div class=spl-scene><div class=spl-pane></div></div></div><div class=spl-header><div class=spl-page> </div></div><div class=spl-progress></div><div class=spl-footer><div class=spl-title> </div><div class=spl-description> </div><div class=spl-button> </div></div><div class=spl-prev></div><div class=spl-next></div>";var h={},y=document.createElement("video");function g(e,n,t,r){if("node"!==r)for(var o,i=Object.keys(t),l=0;l<i.length;l++)if(3<(o=i[l]).length&&0===o.indexOf("src"))if("video"===r){var a=h[o];if(a){if(0<a){var u=t[o];break}}else{if(y.canPlayType("video/"+o.substring(3).replace("-","").toLowerCase())){h[o]=1,u=t[o];break}h[o]=-1}}else if((a=parseInt(o.substring(4),10))&&(a=Math.abs(n-a),!c||a<c)){var c=a;u=t[o]}return u||t.src||t.href||e.src||e.href}var v,b,x,w,k,S,I,M,A,j,C,E,L,D,T,P,O,z,N,F,R,B,H,U,Z,Y,_,V,W,J,Q,G,q,X,$,K,ee,ne,te,re,oe,ie,le,ae,ue,ce,se,fe,pe,de,me,he,ye,ge,ve,be,xe,we,ke,Se,Ie,Me,Ae={},je=navigator.connection,Ce=window.devicePixelRatio||1,Ee=document.createElement("img");function Le(){function e(e){return Ae[e]=(m||document).getElementsByClassName("spl-"+e)[0]}if(!te){te=document.body,le=e("scene"),ae=e("header"),ue=e("footer"),ce=e("title"),se=e("description"),fe=e("button"),pe=e("prev"),de=e("next"),he=e("page"),ge=e("progress"),ve=e("spinner"),oe=[e("pane")],De("close",sn),te[Ie="requestFullscreen"]||te[Ie="msRequestFullscreen"]||te[Ie="webkitRequestFullscreen"]||te[Ie="mozRequestFullscreen"]||(Ie=""),Ie?(Me=Ie.replace("request","exit").replace("mozRequest","mozCancel").replace("Request","Exit"),me=De("fullscreen",tn)):p.pop(),De("autofit",on),De("zoom-in",ln),De("zoom-out",an),De("theme",rn),ye=De("play",Qe),De("download",cn),l(pe,"click",pn),l(de,"click",dn);var n=e("track");l(n,"mousedown",Ke),l(n,"mousemove",nn),l(n,"mouseleave",en),l(n,"mouseup",en),l(n,"touchstart",Ke,{passive:!1}),l(n,"touchmove",nn,{passive:!0}),l(n,"touchend",en),l(fe,"click",(function(){G?G(T,z):Q&&(location.href=Q)}))}}function De(e,n){var t=document.createElement("div");return t.className="spl-"+e,l(t,"click",n),ae.appendChild(t),Ae[e]=t}function Te(e){if(P=O.length){te||Le(),H&&H(e);for(var n=oe[0],o=n.parentNode,i=oe.length;i<P;i++){var l=n.cloneNode(!1);r(l,"left",100*i+"%"),o.appendChild(l),oe[i]=l}re||(te.appendChild(m),Be()),T=e||1,f(le),hn(!0),Ie&&c(me,0<screen.availHeight-window.innerHeight),history.pushState({spl:1},""),history.pushState({spl:2},""),f(m,!0),t(te,"hide-scrollbars",!0),t(m,"show",!0),_e(!0),Be(),qe(),V&&Qe(!0,!0)}}function Pe(e,n){return void 0!==(e=z[e])?"false"!==(e=""+e)&&(e||n):n}function Oe(e){e?i(ie,Oe):(f(le,ee),r(ie,"opacity",K?0:1),Ue($&&.8),ne&&t(ie,ne,!0))}function ze(e){if(re=oe[e-1],ie=re.firstChild,T=e,ie)L&&on(),Y&&t(ie,Y,!0),Oe(!0),ne&&t(ie,ne),K&&r(ie,"opacity",1),$&&r(ie,"transform",""),r(ie,"visibility","visible"),xe&&(Ee.src=xe),V&&Ge(we);else{var n=be.media,o=Pe("spinner",!0);if("video"===n)Ne(o,!0),(ie=document.createElement("video")).onloadedmetadata=function(){ie===this&&(ie.onerror=null,ie.width=ie.videoWidth,ie.height=ie.videoHeight,He(),Ne(o),ze(e))},ie.poster=z.poster,ie.preload=J?"auto":"metadata",ie.controls=Pe("controls",!0),ie.autoplay=z.autoplay,ie.h=Pe("inline"),ie.muted=Pe("muted"),ie.src=be.src,re.appendChild(ie);else{if("node"===n)return"string"==typeof(ie=be.src)&&(ie=document.querySelector(ie)),void(ie&&(ie.g||(ie.g=ie.parentNode),He(),re.appendChild(ie),ze(e)));Ne(o,!0),(ie=document.createElement("img")).onload=function(){ie===this&&(ie.onerror=null,Ne(o),ze(e),He())},ie.src=be.src,re.appendChild(ie)}ie&&(o||r(ie,"visibility","visible"),ie.onerror=function(){ie===this&&(fn(ie),t(ve,"error",!0),Ne(o))})}}function Ne(e,n){e&&t(ve,"spin",n)}function Fe(){return document.fullscreen||document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement}function Re(){if(Be(),ie&&He(),Ie){var e=Fe();t(me,"on",e),e||c(me,0<screen.availHeight-window.innerHeight)}}function Be(){k=m.clientWidth,S=m.clientHeight}function He(){I=ie.clientWidth,M=ie.clientHeight}function Ue(e){r(ie,"transform","translate(-50%, -50%) scale("+(e||A)+")")}function Ze(e,n){r(re,"transform",e||n?"translate("+e+"px, "+n+"px)":"")}function Ye(e,n,t){n?i(le,(function(){Ye(e,!1,t)})):r(le,"transform","translateX("+(100*-e+(t||0))+"%)")}function _e(e){a(e,window,"keydown",We),a(e,window,"wheel",Je),a(e,window,"resize",Re),a(e,window,"popstate",Ve)}function Ve(e){re&&e.state.spl&&sn(!0)}function We(e){if(re){var n=!1!==z["zoom-in"];switch(e.keyCode){case 8:n&&on();break;case 27:sn();break;case 32:V&&Qe();break;case 37:pn();break;case 39:dn();break;case 38:case 107:case 187:n&&ln();break;case 40:case 109:case 189:n&&an()}}}function Je(e){re&&!1!==z["zoom-in"]&&(0>.5*(0>(e=e.deltaY)?1:e?-1:0)?an():ln())}function Qe(e,n){("boolean"==typeof e?e:!we)===!we&&(we=we?clearTimeout(we):1,t(ye,"on",we),n||Ge(we))}function Ge(e){B&&(i(ge,(function(){r(ge,"transition-duration",""),r(ge,"transform","")})),e&&(r(ge,"transition-duration",X+"s"),r(ge,"transform","translateX(0)"))),e&&(we=setTimeout(dn,1e3*X))}function qe(){_&&(Se=Date.now()+2950,ke||(t(m,"menu",!0),Xe(3e3)))}function Xe(e){ke=setTimeout((function(){var e=Date.now();e>=Se?(t(m,"menu"),ke=0):Xe(Se-e)}),e)}function $e(e){"boolean"==typeof e&&(ke=e?ke:0),ke?(ke=clearTimeout(ke),t(m,"menu")):qe()}function Ke(e){u(e,!0),j=!0,C=!1;var n=e.touches;n&&(n=n[0])&&(e=n),E=I*A<=k,x=e.pageX,w=e.pageY,f(re)}function en(e){if(u(e),j){if(C){if(E&&C){var n=(e=v<-k/7&&(T<P||R))||v>k/7&&(1<T||R);(e||n)&&(Ye(T-1,!0,v/k*100),e&&dn()||n&&pn()),v=0,Ze()}f(re,!0)}else $e();j=!1}}function nn(e){if(u(e),j){var n=e.touches;n&&(n=n[0])&&(e=n),n=(I*A-k)/2,v-=x-(x=e.pageX),E||(v>n?v=n:v<-n&&(v=-n),M*A>S&&(n=(M*A-S)/2,(b-=w-(w=e.pageY))>n?b=n:b<-n&&(b=-n))),C=!0,Ze(v,b)}else qe()}function tn(e){var n=Fe();"boolean"==typeof e&&e===!!n||(n?document[Me]():m[Ie]())}function rn(e){"string"!=typeof e&&(e=D?"":W||"white"),D!==e&&(D&&t(m,D),e&&t(m,e,!0),D=e)}function on(e){"boolean"==typeof e&&(L=!e),t(ie,"autofit",L=1===A&&!L),r(ie,"transform",""),A=1,b=v=0,He(),f(re),Ze()}function ln(){var e=A/.65;50>=e&&(L&&on(),Ze(v/=.65,b/=.65),un(e))}function an(){var e=.65*A;L&&on(),1<=e&&(1===e?v=b=0:(v*=.65,b*=.65),Ze(v,b),un(e))}function un(e){A=e||1,Ue()}function cn(){var e=te,n=document.createElement("a"),t=ie.src;n.href=t,n.download=t.substring(t.lastIndexOf("/")+1),e.appendChild(n),n.click(),e.removeChild(n)}function sn(e){setTimeout((function(){te.removeChild(m),re=ie=be=z=F=O=H=U=Z=G=null}),200),t(te,"hide-scrollbars"),t(m,"show"),tn(!1),_e(),history.go(!0===e?-1:-2),xe&&(Ee.src=""),we&&Qe(),ie&&fn(ie),ke&&(ke=clearTimeout(ke)),D&&rn(),q&&t(m,q),Z&&Z()}function fn(e){if(e.g)e.g.appendChild(e),e.g=null;else{var n=e.parentNode;n&&n.removeChild(e),e.src=e.onerror=""}}function pn(e){if(e&&qe(),1<P){if(1<T)return mn(T-1);if(R)return Ye(P,!0),mn(P)}}function dn(e){if(e&&qe(),1<P){if(T<P)return mn(T+1);if(R)return Ye(-1,!0),mn(1);we&&Qe()}}function mn(e){if(e!==T){we?(clearTimeout(we),Ge()):qe();var n=e>T;return T=e,hn(n),!0}}function hn(e){if(b=v=0,A=1,ie)if(ie.onerror)fn(ie);else{var n=ie;setTimeout((function(){n&&ie!==n&&(fn(n),n=null)}),650),Oe(),Ze()}!function(e){var n,r=O[T-1],o=r;if(z={},F&&Object.assign(z,F),Object.assign(z,o.dataset||o),N=z.media,G=z.onclick,W=z.theme,q=z.class,_=Pe("autohide",!0),R=Pe("infinite"),B=Pe("progress",!0),V=Pe("autoslide"),J=Pe("preload",!0),Q=z.buttonHref,X=V&&parseFloat(V)||7,D||W&&rn(W),q&&t(m,q,!0),q&&i(m),o=z.control){o="string"==typeof o?o.split(","):o;for(var l=0;l<p.length;l++)z[p[l]]=!1;for(l=0;l<o.length;l++){var a=o[l].trim();"zoom"===a?z["zoom-in"]=z["zoom-out"]=!0:z[a]=!0}}if(o=z.animation,$=K=ee=!o,ne=!1,o)for(o="string"==typeof o?o.split(","):o,l=0;l<o.length;l++)"scale"===(a=o[l].trim())?$=!0:"fade"===a?K=!0:"slide"===a?ee=!0:a&&(ne=a);for(Y=z.fit,l=je&&je.downlink,o=Math.max(S,k)*Ce,l&&1200*l<o&&(o=1200*l),be={media:N,src:g(r,o,z,N),title:Pe("title",r.alt||r.title||(n=r.firstElementChild)&&(n.alt||n.title))},xe&&(Ee.src=xe=""),J&&e&&(r=O[T])&&((n=(e=r.dataset||r).media)&&"image"!==n||(xe=g(r,o,e,n))),r=0;r<p.length;r++)e=p[r],c(Ae[e],Pe(e,d[e]))}(e),Ye(T-1),t(ve,"error"),ze(T),f(re),Ze(),e=be.title;var o=Pe("description"),l=Pe("button"),a=e||o||l;a&&(e&&(ce.firstChild.nodeValue=e),o&&(se.firstChild.nodeValue=o),l&&(fe.firstChild.nodeValue=l),c(ce,e),c(se,o),c(fe,l),r(ue,"transform","all"===_?"":"none")),_||t(m,"menu",!0),s(ue,a),s(pe,R||1<T),s(de,R||T<P),he.firstChild.nodeValue=1<P?T+" / "+P:"",U&&U(T,z)}l(document,"click",(function(e){var n=e.target.closest(".spotlight");if(n){u(e,!0),e=n.closest(".spotlight-group"),O=(e||document).getElementsByClassName("spotlight");for(var t=0;t<O.length;t++)if(O[t]===n){F=e&&e.dataset,Te(t+1);break}}})),window.Spotlight={init:Le,theme:rn,fullscreen:tn,download:cn,autofit:on,next:dn,prev:pn,goto:mn,close:sn,zoom:un,menu:$e,show:function(e,n,t){O=e,n&&(F=n,H=n.onshow,U=n.onchange,Z=n.onclose,t=t||n.index),Te(t)},play:Qe,addControl:De,removeControl:function(e){var n=Ae[e];n&&(ae.removeChild(n),Ae[e]=null)}}}).call(this)},58729:function(e,n,t){var r=t(91025);function o(e,n){var t,o=null;if(!e||"string"!=typeof e)return o;for(var i,l,a=r(e),u="function"==typeof n,c=0,s=a.length;c<s;c++)i=(t=a[c]).property,l=t.value,u?n(i,l,t):l&&(o||(o={}),o[i]=l);return o}e.exports=o,e.exports.default=o},61584:function(e,n,t){"use strict";t.d(n,{D:function(){return ko}});var r={};t.r(r),t.d(r,{attentionMarkers:function(){return qn},contentInitial:function(){return _n},disable:function(){return Xn},document:function(){return Yn},flow:function(){return Wn},flowInitial:function(){return Vn},insideSpan:function(){return Gn},string:function(){return Jn},text:function(){return Qn}});var o={};t.r(o),t.d(o,{boolean:function(){return yr},booleanish:function(){return gr},commaOrSpaceSeparated:function(){return kr},commaSeparated:function(){return wr},number:function(){return br},overloadedBoolean:function(){return vr},spaceSeparated:function(){return xr}});var i=t(78709),l=t(95212);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e){return e&&"object"===a(e)?"position"in e||"type"in e?s(e.position):"start"in e||"end"in e?s(e):"line"in e||"column"in e?c(e):"":""}function c(e){return f(e&&e.line)+":"+f(e&&e.column)}function s(e){return c(e&&e.start)+"-"+c(e&&e.end)}function f(e){return e&&"number"==typeof e?e:1}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function d(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,n){if("object"!==p(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(o,"string"),"symbol"===p(i)?i:String(i)),r)}var o,i}function m(e){var n=g();return function(){var t,r=b(e);if(n){var o=b(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return function(e,n){if(n&&("object"===p(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function h(e){var n="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(n){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return y(e,arguments,b(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),v(t,e)},h(e)}function y(e,n,t){return y=g()?Reflect.construct.bind():function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&v(o,t.prototype),o},y.apply(null,arguments)}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function v(e,n){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},v(e,n)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var x=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&v(e,n)}(i,e);var n,t,r,o=m(i);function i(e,n,t){var r;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,i);var l=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}};if(r=o.call(this),"string"==typeof n&&(t=n,n=void 0),"string"==typeof t){var c=t.indexOf(":");-1===c?l[1]=t:(l[0]=t.slice(0,c),l[1]=t.slice(c+1))}return n&&("type"in n||"position"in n?n.position&&(a=n.position):"start"in n||"end"in n?a=n:("line"in n||"column"in n)&&(a.start=n)),r.name=u(n)||"1:1",r.message="object"===p(e)?e.message:e,r.stack="","object"===p(e)&&e.stack&&(r.stack=e.stack),r.reason=r.message,r.fatal,r.line=a.start.line,r.column=a.start.column,r.position=a,r.source=l[0],r.ruleId=l[1],r.file,r.actual,r.expected,r.url,r.note,r}return n=i,t&&d(n.prototype,t),r&&d(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(h(Error));x.prototype.file="",x.prototype.name="",x.prototype.reason="",x.prototype.message="",x.prototype.stack="",x.prototype.fatal=null,x.prototype.column=null,x.prototype.line=null,x.prototype.source=null,x.prototype.ruleId=null,x.prototype.position=null;var w={basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');k(e);var t,r=0,o=-1,i=e.length;if(void 0===n||0===n.length||n.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";var l=-1,a=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),a>-1&&(e.charCodeAt(i)===n.charCodeAt(a--)?a<0&&(o=i):(a=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(k(e),0===e.length)return".";var n,t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){k(e);var n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){var a=e.charCodeAt(t);if(47!==a)r<0&&(n=!0,r=t+1),46===a?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(){for(var e,n=-1,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];for(;++n<r.length;)k(r[n]),r[n]&&(e=void 0===e?r[n]:e+"/"+r[n]);return void 0===e?".":function(e){k(e);var n=47===e.charCodeAt(0),t=function(e,n){var t,r,o="",i=0,l=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)t=e.charCodeAt(u);else{if(47===t)break;t=47}if(47===t){if(l===u-1||1===a);else if(l!==u-1&&2===a){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if((r=o.lastIndexOf("/"))!==o.length-1){r<0?(o="",i=0):i=(o=o.slice(0,r)).length-1-o.lastIndexOf("/"),l=u,a=0;continue}}else if(o.length>0){o="",i=0,l=u,a=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,u):o=e.slice(l+1,u),i=u-l-1;l=u,a=0}else 46===t&&a>-1?a++:a=-1}return o}(e,!n);0!==t.length||n||(t=".");t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/");return n?"/"+t:t}(e)},sep:"/"};function k(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var S={cwd:function(){return"/"}};function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function M(e){return null!==e&&"object"===I(e)&&e.href&&e.origin}function A(e){if("string"==typeof e)e=new URL(e);else if(!M(e)){var n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if("file:"!==e.protocol){var t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return function(e){if(""!==e.hostname){var n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}var t=e.pathname,r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){var o=t.charCodeAt(r+2);if(70===o||102===o){var i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}(e)}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function C(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return E(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return E(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function L(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,n){if("object"!==j(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(o,"string"),"symbol"===j(i)?i:String(i)),r)}var o,i}var D=["history","path","basename","stem","extname","dirname"],T=function(){function e(n){var t;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),t=n?"string"==typeof n||function(e){return l(e)}(n)?{value:n}:M(n)?{path:n}:n:{},this.data={},this.messages=[],this.history=[],this.cwd=S.cwd(),this.value,this.stored,this.result,this.map;for(var r,o=-1;++o<D.length;){var i=D[o];i in t&&void 0!==t[i]&&null!==t[i]&&(this[i]="history"===i?C(t[i]):t[i])}for(r in t)D.includes(r)||(this[r]=t[r])}var n,t,r;return n=e,t=[{key:"path",get:function(){return this.history[this.history.length-1]},set:function(e){M(e)&&(e=A(e)),O(e,"path"),this.path!==e&&this.history.push(e)}},{key:"dirname",get:function(){return"string"==typeof this.path?w.dirname(this.path):void 0},set:function(e){z(this.basename,"dirname"),this.path=w.join(e||"",this.basename)}},{key:"basename",get:function(){return"string"==typeof this.path?w.basename(this.path):void 0},set:function(e){O(e,"basename"),P(e,"basename"),this.path=w.join(this.dirname||"",e)}},{key:"extname",get:function(){return"string"==typeof this.path?w.extname(this.path):void 0},set:function(e){if(P(e,"extname"),z(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=w.join(this.dirname,this.stem+(e||""))}},{key:"stem",get:function(){return"string"==typeof this.path?w.basename(this.path,this.extname):void 0},set:function(e){O(e,"stem"),P(e,"stem"),this.path=w.join(this.dirname||"",e+(this.extname||""))}},{key:"toString",value:function(e){return(this.value||"").toString(e||void 0)}},{key:"message",value:function(e,n,t){var r=new x(e,n,t);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}},{key:"info",value:function(e,n,t){var r=this.message(e,n,t);return r.fatal=null,r}},{key:"fail",value:function(e,n,t){var r=this.message(e,n,t);throw r.fatal=!0,r}}],t&&L(n.prototype,t),r&&L(n,r),Object.defineProperty(n,"prototype",{writable:!1}),e}();function P(e,n){if(e&&e.includes(w.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+w.sep+"`")}function O(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function z(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function N(e){if(e)throw e}var F=t(75825);function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function B(e){if("object"!==R(e)||null===e)return!1;var n=Object.getPrototypeOf(e);return!(null!==n&&n!==Object.prototype&&null!==Object.getPrototypeOf(n)||Symbol.toStringTag in e||Symbol.iterator in e)}function H(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return U(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return U(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Z(){var e=[],n={run:function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];var o=-1,i=t.pop();if("function"!=typeof i)throw new TypeError("Expected function as last argument, not "+i);(function n(r){var l=e[++o],a=-1;if(r)i(r);else{for(var u=arguments.length,c=new Array(u>1?u-1:0),s=1;s<u;s++)c[s-1]=arguments[s];for(;++a<t.length;)null!==c[a]&&void 0!==c[a]||(c[a]=t[a]);t=c,l?function(e,n){var t;return r;function r(){for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];var a,u=e.length>r.length;u&&r.push(o);try{a=e.apply(this,r)}catch(e){if(u&&t)throw e;return o(e)}u||(a instanceof Promise?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e){if(!t){t=!0;for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n.apply(void 0,[e].concat(o))}}function i(e){o(null,e)}}(l,n).apply(void 0,c):i.apply(void 0,[null].concat(c))}}).apply(void 0,[null].concat(H(t)))},use:function(t){if("function"!=typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function _(e){return function(e){if(Array.isArray(e))return e}(e)||J(e)||W(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e){return function(e){if(Array.isArray(e))return Q(e)}(e)||J(e)||W(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,n){if(e){if("string"==typeof e)return Q(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Q(e,n):void 0}}function J(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Q(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var G=function e(){var n,t=Z(),r=[],o={},i=-1;return a.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(ee("data",n),o[e]=t,a):q.call(o,e)&&o[e]||null;if(e)return ee("data",n),o=e,a;return o},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(n)return a;for(;++i<r.length;){var e=_(r[i]),o=e[0],l=e.slice(1);if(!1!==l[0]){!0===l[0]&&(l[0]=void 0);var u=o.call.apply(o,[a].concat(V(l)));"function"==typeof u&&t.use(u)}}return n=!0,i=Number.POSITIVE_INFINITY,a},a.attachers=r,a.use=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),l=1;l<t;l++)i[l-1]=arguments[l];var u;if(ee("use",n),null==e);else if("function"==typeof e)p.apply(void 0,[e].concat(i));else{if("object"!==Y(e))throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?f(e):s(e)}u&&(o.settings=Object.assign(o.settings||{},u));return a;function c(e){if("function"==typeof e)p(e);else{if("object"!==Y(e))throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){var n=_(e),t=n[0],r=n.slice(1);p.apply(void 0,[t].concat(V(r)))}else s(e)}}function s(e){f(e.plugins),e.settings&&(u=Object.assign(u||{},e.settings))}function f(e){var n=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++n<e.length;){c(e[n])}}}function p(e,n){for(var t,o=-1;++o<r.length;)if(r[o][0]===e){t=r[o];break}t?(B(t[1])&&B(n)&&(n=F(!0,t[1],n)),t[1]=n):r.push(Array.prototype.slice.call(arguments))}},a.parse=function(e){a.freeze();var n=re(e),t=a.Parser;if($("parse",t),X(t,"parse"))return new t(String(n),n).parse();return t(String(n),n)},a.stringify=function(e,n){a.freeze();var t=re(n),r=a.Compiler;if(K("stringify",r),ne(e),X(r,"compile"))return new r(e,t).compile();return r(e,t)},a.run=function(e,n,r){ne(e),a.freeze(),r||"function"!=typeof n||(r=n,n=void 0);if(!r)return new Promise(o);function o(o,i){function l(n,t,l){t=t||e,n?i(n):o?o(t):r(null,t,l)}t.run(e,re(n),l)}o(null,r)},a.runSync=function(e,n){var t,r;return a.run(e,n,o),te("runSync","run",r),t;function o(e,n){N(e),t=n,r=!0}},a.process=function(e,n){if(a.freeze(),$("process",a.Parser),K("process",a.Compiler),!n)return new Promise(t);function t(t,r){var o=re(e);function i(e,o){e||!o?r(e):t?t(o):n(null,o)}a.run(a.parse(o),o,(function(e,n,t){if(!e&&n&&t){var r=a.stringify(n,t);null==r||("string"==typeof(o=r)||l(o)?t.value=r:t.result=r),i(e,t)}else i(e);var o}))}t(null,n)},a.processSync=function(e){var n;a.freeze(),$("processSync",a.Parser),K("processSync",a.Compiler);var t=re(e);return a.process(t,r),te("processSync","process",n),t;function r(e){n=!0,N(e)}},a;function a(){for(var n=e(),t=-1;++t<r.length;)n.use.apply(n,V(r[t]));return n.data(F(!0,{},o)),n}}().freeze(),q={}.hasOwnProperty;function X(e,n){return"function"==typeof e&&e.prototype&&(function(e){var n;for(n in e)if(q.call(e,n))return!0;return!1}(e.prototype)||n in e.prototype)}function $(e,n){if("function"!=typeof n)throw new TypeError("Cannot `"+e+"` without `Parser`")}function K(e,n){if("function"!=typeof n)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function ee(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ne(e){if(!B(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function te(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function re(e){return function(e){return Boolean(e&&"object"===Y(e)&&"message"in e&&"messages"in e)}(e)?e:new T(e)}function oe(e){return oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oe(e)}var ie={};function le(e,n,t){if(function(e){return Boolean(e&&"object"===oe(e))}(e)){if("value"in e)return"html"!==e.type||t?e.value:"";if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ae(e.children,n,t)}return Array.isArray(e)?ae(e,n,t):""}function ae(e,n,t){for(var r=[],o=-1;++o<e.length;)r[o]=le(e[o],n,t);return r.join("")}function ue(e){return function(e){if(Array.isArray(e))return ce(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return ce(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ce(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function se(e,n,t,r){var o,i=e.length,l=0;if(n=n<0?-n>i?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)(o=Array.from(r)).unshift(n,t),e.splice.apply(e,ue(o));else for(t&&e.splice(n,t);l<r.length;)(o=r.slice(l,l+1e4)).unshift(n,0),e.splice.apply(e,ue(o)),l+=1e4,n+=1e4}function fe(e,n){return e.length>0?(se(e,e.length,0,n),e):n}var pe={}.hasOwnProperty;function de(e,n){var t;for(t in n){var r=(pe.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t],i=void 0;if(o)for(i in o){pe.call(r,i)||(r[i]=[]);var l=o[i];me(r[i],Array.isArray(l)?l:l?[l]:[])}}}function me(e,n){for(var t=-1,r=[];++t<n.length;)("after"===n[t].add?e:r).push(n[t]);se(e,0,0,r)}var he=je(/[A-Za-z]/),ye=je(/[\dA-Za-z]/),ge=je(/[#-'*+\--9=?A-Z^-~]/);function ve(e){return null!==e&&(e<32||127===e)}var be=je(/\d/),xe=je(/[\dA-Fa-f]/),we=je(/[!-/:-@[-`{-~]/);function ke(e){return null!==e&&e<-2}function Se(e){return null!==e&&(e<0||32===e)}function Ie(e){return-2===e||-1===e||32===e}var Me=je(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),Ae=je(/\s/);function je(e){return function(n){return null!==n&&e.test(String.fromCharCode(n))}}function Ce(e,n,t,r){var o=r?r-1:Number.POSITIVE_INFINITY,i=0;return function(r){if(Ie(r))return e.enter(t),l(r);return n(r)};function l(r){return Ie(r)&&i++<o?(e.consume(r),l):(e.exit(t),n(r))}}var Ee={tokenize:function(e){var n,t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Ce(e,t,"linePrefix")}),(function(n){return e.enter("paragraph"),r(n)}));return t;function r(t){var r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(n){return null===n?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(n)):ke(n)?(e.consume(n),e.exit("chunkText"),r):(e.consume(n),o)}}};var Le={tokenize:function(e){var n,t,r,o=this,i=[],l=0;return a;function a(n){if(l<i.length){var t=i[l];return o.containerState=t[1],e.attempt(t[0].continuation,u,c)(n)}return c(n)}function u(e){if(l++,o.containerState._closeFlow){o.containerState._closeFlow=void 0,n&&v();for(var t,r=o.events.length,i=r;i--;)if("exit"===o.events[i][0]&&"chunkFlow"===o.events[i][1].type){t=o.events[i][1].end;break}g(l);for(var u=r;u<o.events.length;)o.events[u][1].end=Object.assign({},t),u++;return se(o.events,i+1,0,o.events.slice(r)),o.events.length=u,c(e)}return a(e)}function c(t){if(l===i.length){if(!n)return p(t);if(n.currentConstruct&&n.currentConstruct.concrete)return m(t);o.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return o.containerState={},e.check(De,s,f)(t)}function s(e){return n&&v(),g(l),p(e)}function f(e){return o.parser.lazy[o.now().line]=l!==i.length,r=o.now().offset,m(e)}function p(n){return o.containerState={},e.attempt(De,d,m)(n)}function d(e){return l++,i.push([o.currentConstruct,o.containerState]),p(e)}function m(r){return null===r?(n&&v(),g(0),void e.consume(r)):(n=n||o.parser.flow(o.now()),e.enter("chunkFlow",{contentType:"flow",previous:t,_tokenizer:n}),h(r))}function h(n){return null===n?(y(e.exit("chunkFlow"),!0),g(0),void e.consume(n)):ke(n)?(e.consume(n),y(e.exit("chunkFlow")),l=0,o.interrupt=void 0,a):(e.consume(n),h)}function y(e,i){var a=o.sliceStream(e);if(i&&a.push(null),e.previous=t,t&&(t.next=e),t=e,n.defineSkip(e.start),n.write(a),o.parser.lazy[e.start.line]){for(var u=n.events.length;u--;)if(n.events[u][1].start.offset<r&&(!n.events[u][1].end||n.events[u][1].end.offset>r))return;for(var c,s,f=o.events.length,p=f;p--;)if("exit"===o.events[p][0]&&"chunkFlow"===o.events[p][1].type){if(c){s=o.events[p][1].end;break}c=!0}for(g(l),u=f;u<o.events.length;)o.events[u][1].end=Object.assign({},s),u++;se(o.events,p+1,0,o.events.slice(f)),o.events.length=u}}function g(n){for(var t=i.length;t-- >n;){var r=i[t];o.containerState=r[1],r[0].exit.call(o,e)}i.length=n}function v(){n.write([null]),t=void 0,n=void 0,o.containerState._closeFlow=void 0}}},De={tokenize:function(e,n,t){return Ce(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var Te={tokenize:function(e,n,t){return function(n){return Ie(n)?Ce(e,r,"linePrefix")(n):r(n)};function r(e){return null===e||ke(e)?n(e):t(e)}},partial:!0};function Pe(e){for(var n,t,r,o,i,l,a,u={},c=-1;++c<e.length;){for(;c in u;)c=u[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&((r=0)<(l=n[1]._tokenizer.events).length&&"lineEndingBlank"===l[r][1].type&&(r+=2),r<l.length&&"content"===l[r][1].type))for(;++r<l.length&&"content"!==l[r][1].type;)"chunkText"===l[r][1].type&&(l[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===n[0])n[1].contentType&&(Object.assign(u,Oe(e,c)),c=u[c],a=!0);else if(n[1]._container){for(r=c,t=void 0;r--&&("lineEnding"===(o=e[r])[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(t&&(e[t][1].type="lineEndingBlank"),o[1].type="lineEnding",t=r);t&&(n[1].end=Object.assign({},e[t][1].start),(i=e.slice(t,c)).unshift(n),se(e,t,c-t+1,i))}}return!a}function Oe(e,n){for(var t,r,o=e[n][1],i=e[n][2],l=n-1,a=[],u=o._tokenizer||i.parser[o.contentType](o.start),c=u.events,s=[],f={},p=-1,d=o,m=0,h=0,y=[h];d;){for(;e[++l][1]!==d;);a.push(l),d._tokenizer||(t=i.sliceStream(d),d.next||t.push(null),r&&u.defineSkip(d.start),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(t),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=o;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(h=p+1,y.push(h),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(u.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),p=y.length;p--;){var g=c.slice(y[p],y[p+1]),v=a.pop();s.unshift([v,v+g.length-1]),se(e,v,2,g)}for(p=-1;++p<s.length;)f[m+s[p][0]]=m+s[p][1],m+=s[p][1]-s[p][0]-1;return f}var ze={tokenize:function(e,n){var t;return function(n){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),r(n)};function r(n){return null===n?o(n):ke(n)?e.check(Ne,i,o)(n):(e.consume(n),r)}function o(t){return e.exit("chunkContent"),e.exit("content"),n(t)}function i(n){return e.consume(n),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,r}},resolve:function(e){return Pe(e),e}},Ne={tokenize:function(e,n,t){var r=this;return function(n){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Ce(e,o,"linePrefix")};function o(o){if(null===o||ke(o))return t(o);var i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0};var Fe={tokenize:function(e){var n=this,t=e.attempt(Te,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,Ce(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ze,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};var Re={resolveAll:Ze()},Be=Ue("string"),He=Ue("text");function Ue(e){return{tokenize:function(n){var t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return u(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),a;n.consume(e)}function a(e){return u(e)?(n.exit("data"),o(e)):(n.consume(e),a)}function u(e){if(null===e)return!0;var n=r[e],o=-1;if(n)for(;++o<n.length;){var i=n[o];if(!i.previous||i.previous.call(t,t.previous))return!0}return!1}},resolveAll:Ze("text"===e?Ye:void 0)}}function Ze(e){return function(n,t){var r,o=-1;for(;++o<=n.length;)void 0===r?n[o]&&"data"===n[o][1].type&&(r=o,o++):n[o]&&"data"===n[o][1].type||(o!==r+2&&(n[r][1].end=n[o-1][1].end,n.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(n,t):n}}function Ye(e,n){for(var t=0;++t<=e.length;)if((t===e.length||"lineEnding"===e[t][1].type)&&"data"===e[t-1][1].type){for(var r=e[t-1][1],o=n.sliceStream(r),i=o.length,l=-1,a=0,u=void 0;i--;){var c=o[i];if("string"==typeof c){for(l=c.length;32===c.charCodeAt(l-1);)a++,l--;if(l)break;l=-1}else if(-2===c)u=!0,a++;else if(-1!==c){i++;break}}if(a){var s={type:t===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+i,_bufferIndex:i?l:r.start._bufferIndex+l},end:Object.assign({},r.end)};r.end=Object.assign({},s.start),r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(t,0,["enter",s,n],["exit",s,n]),t+=2)}t++}return e}function _e(e,n,t){for(var r=[],o=-1;++o<e.length;){var i=e[o].resolveAll;i&&!r.includes(i)&&(n=i(n,t),r.push(i))}return n}function Ve(e){return function(e){if(Array.isArray(e))return We(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return We(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return We(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Je(e,n,t){var r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),o={},i=[],l=[],a=[],u={consume:function(e){ke(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,v()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e,!0},enter:function(e,n){var t=n||{};return t.type=e,t.start=p(),c.events.push(["enter",t,c]),a.push(t),t},exit:function(e){var n=a.pop();return n.end=p(),c.events.push(["exit",n,c]),n},attempt:y((function(e,n){g(e,n.from)})),check:y(h),interrupt:y(h,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:f,sliceSerialize:function(e,n){return function(e,n){var t,r=-1,o=[];for(;++r<e.length;){var i=e[r],l=void 0;if("string"==typeof i)l=i;else switch(i){case-5:l="\r";break;case-4:l="\n";break;case-3:l="\r\n";break;case-2:l=n?" ":"\t";break;case-1:if(!n&&t)continue;l=" ";break;default:l=String.fromCharCode(i)}t=-2===i,o.push(l)}return o.join("")}(f(e),n)},now:p,defineSkip:function(e){o[e.line]=e.column,v()},write:function(e){if(l=fe(l,e),d(),null!==l[l.length-1])return[];return g(n,0),c.events=_e(i,c.events,c),c.events}},s=n.tokenize.call(c,u);return n.resolveAll&&i.push(n),c;function f(e){return function(e,n){var t,r=n.start._index,o=n.start._bufferIndex,i=n.end._index,l=n.end._bufferIndex;if(r===i)t=[e[r].slice(o,l)];else{if(t=e.slice(r,i),o>-1){var a=t[0];"string"==typeof a?t[0]=a.slice(o):t.shift()}l>0&&t.push(e[i].slice(0,l))}return t}(l,e)}function p(){var e=r;return{line:e.line,column:e.column,offset:e.offset,_index:e._index,_bufferIndex:e._bufferIndex}}function d(){for(var e;r._index<l.length;){var n=l[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)m(n.charCodeAt(r._bufferIndex));else m(n)}}function m(e){void 0,e,s=s(e)}function h(e,n){n.restore()}function y(e,n){return function(t,o,i){var l,s,f,d;return Array.isArray(t)?m(t):"tokenize"in t?m([t]):function(e){return n;function n(n){var t=null!==n&&e[n],r=null!==n&&e.null;return m([].concat(Ve(Array.isArray(t)?t:t?[t]:[]),Ve(Array.isArray(r)?r:r?[r]:[])))(n)}}(t);function m(e){return l=e,s=0,0===e.length?i:h(e[s])}function h(e){return function(t){d=function(){var e=p(),n=c.previous,t=c.currentConstruct,o=c.events.length,i=Array.from(a);return{restore:l,from:o};function l(){r=e,c.previous=n,c.currentConstruct=t,c.events.length=o,a=i,v()}}(),f=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return g(t);return e.tokenize.call(n?Object.assign(Object.create(c),n):c,u,y,g)(t)}}function y(n){return!0,e(f,d),o}function g(e){return!0,d.restore(),++s<l.length?h(l[s]):i}}}function g(e,n){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&se(c.events,n,c.events.length-n,e.resolve(c.events.slice(n),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function v(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}var Qe={name:"thematicBreak",tokenize:function(e,n,t){var r,o=0;return function(n){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(n)};function i(i){return i===r?(e.enter("thematicBreakSequence"),l(i)):o>=3&&(null===i||ke(i))?(e.exit("thematicBreak"),n(i)):t(i)}function l(n){return n===r?(e.consume(n),o++,l):(e.exit("thematicBreakSequence"),Ie(n)?Ce(e,i,"whitespace")(n):i(n))}}};var Ge={name:"list",tokenize:function(e,n,t){var r=this,o=r.events[r.events.length-1],i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,l=0;return function(n){var o=r.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||n===r.containerState.marker:be(n)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===n||45===n?e.check(Qe,t,u)(n):u(n);if(!r.interrupt||49===n)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(n)}return t(n)};function a(n){return be(n)&&++l<10?(e.consume(n),a):(!r.interrupt||l<2)&&(r.containerState.marker?n===r.containerState.marker:41===n||46===n)?(e.exit("listItemValue"),u(n)):t(n)}function u(n){return e.enter("listItemMarker"),e.consume(n),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||n,e.check(Te,r.interrupt?t:c,e.attempt(qe,f,s))}function c(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function s(n){return Ie(n)?(e.enter("listItemPrefixWhitespace"),e.consume(n),e.exit("listItemPrefixWhitespace"),f):t(n)}function f(t){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(t)}},continuation:{tokenize:function(e,n,t){var r=this;return r.containerState._closeFlow=void 0,e.check(Te,o,i);function o(t){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ce(e,n,"listItemIndent",r.containerState.size+1)(t)}function i(t){return r.containerState.furtherBlankLines||!Ie(t)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(t)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Xe,n,l)(t))}function l(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ce(e,e.attempt(Ge,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},qe={tokenize:function(e,n,t){var r=this;return Ce(e,(function(e){var o=r.events[r.events.length-1];return!Ie(e)&&o&&"listItemPrefixWhitespace"===o[1].type?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Xe={tokenize:function(e,n,t){var r=this;return Ce(e,(function(e){var o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?n(e):t(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};var $e={name:"blockQuote",tokenize:function(e,n,t){var r=this;return function(n){if(62===n){var i=r.containerState;return i.open||(e.enter("blockQuote",{_container:!0}),i.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(n),e.exit("blockQuoteMarker"),o}return t(n)};function o(t){return Ie(t)?(e.enter("blockQuotePrefixWhitespace"),e.consume(t),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(t))}},continuation:{tokenize:function(e,n,t){var r=this;return function(n){if(Ie(n))return Ce(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n);return o(n)};function o(r){return e.attempt($e,n,t)(r)}}},exit:function(e){e.exit("blockQuote")}};function Ke(e,n,t,r,o,i,l,a,u){var c=u||Number.POSITIVE_INFINITY,s=0;return function(n){if(60===n)return e.enter(r),e.enter(o),e.enter(i),e.consume(n),e.exit(i),f;if(null===n||32===n||41===n||ve(n))return t(n);return e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(n)};function f(t){return 62===t?(e.enter(i),e.consume(t),e.exit(i),e.exit(o),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(t))}function p(n){return 62===n?(e.exit("chunkString"),e.exit(a),f(n)):null===n||60===n||ke(n)?t(n):(e.consume(n),92===n?d:p)}function d(n){return 60===n||62===n||92===n?(e.consume(n),p):p(n)}function m(o){return s||null!==o&&41!==o&&!Se(o)?s<c&&40===o?(e.consume(o),s++,m):41===o?(e.consume(o),s--,m):null===o||32===o||40===o||ve(o)?t(o):(e.consume(o),92===o?h:m):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),n(o))}function h(n){return 40===n||41===n||92===n?(e.consume(n),m):m(n)}}function en(e,n,t,r,o,i){var l,a=this,u=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),c};function c(f){return u>999||null===f||91===f||93===f&&!l||94===f&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?t(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),n):ke(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),s(f))}function s(n){return null===n||91===n||93===n||ke(n)||u++>999?(e.exit("chunkString"),c(n)):(e.consume(n),l||(l=!Ie(n)),92===n?f:s)}function f(n){return 91===n||92===n||93===n?(e.consume(n),u++,s):s(n)}}function nn(e,n,t,r,o,i){var l;return function(n){if(34===n||39===n||40===n)return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,a;return t(n)};function a(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),u(t))}function u(n){return n===l?(e.exit(i),a(l)):null===n?t(n):ke(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Ce(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(n))}function c(n){return n===l||null===n||ke(n)?(e.exit("chunkString"),u(n)):(e.consume(n),92===n?s:c)}function s(n){return n===l||92===n?(e.consume(n),c):c(n)}}function tn(e,n){var t;return function r(o){if(ke(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r;if(Ie(o))return Ce(e,r,t?"linePrefix":"lineSuffix")(o);return n(o)}}function rn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var on={name:"definition",tokenize:function(e,n,t){var r,o=this;return function(n){return e.enter("definition"),function(n){return en.call(o,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)}(n)};function i(n){return r=rn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),l):t(n)}function l(n){return Se(n)?tn(e,a)(n):a(n)}function a(n){return Ke(e,u,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(n)}function u(n){return e.attempt(ln,c,c)(n)}function c(n){return Ie(n)?Ce(e,s,"whitespace")(n):s(n)}function s(i){return null===i||ke(i)?(e.exit("definition"),o.parser.defined.push(r),n(i)):t(i)}}},ln={tokenize:function(e,n,t){return function(n){return Se(n)?tn(e,r)(n):t(n)};function r(n){return nn(e,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function o(n){return Ie(n)?Ce(e,i,"whitespace")(n):i(n)}function i(e){return null===e||ke(e)?n(e):t(e)}},partial:!0};var an={name:"codeIndented",tokenize:function(e,n,t){var r=this;return function(n){return e.enter("codeIndented"),Ce(e,o,"linePrefix",5)(n)};function o(e){var n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?a(n):ke(n)?e.attempt(un,i,a)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||ke(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function a(t){return e.exit("codeIndented"),n(t)}}},un={tokenize:function(e,n,t){var r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):ke(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):Ce(e,i,"linePrefix",5)(n)}function i(e){var i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):ke(e)?o(e):t(e)}},partial:!0};var cn={name:"headingAtx",tokenize:function(e,n,t){var r=0;return function(n){return e.enter("atxHeading"),function(n){return e.enter("atxHeadingSequence"),o(n)}(n)};function o(n){return 35===n&&r++<6?(e.consume(n),o):null===n||Se(n)?(e.exit("atxHeadingSequence"),i(n)):t(n)}function i(t){return 35===t?(e.enter("atxHeadingSequence"),l(t)):null===t||ke(t)?(e.exit("atxHeading"),n(t)):Ie(t)?Ce(e,i,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function l(n){return 35===n?(e.consume(n),l):(e.exit("atxHeadingSequence"),i(n))}function a(n){return null===n||35===n||Se(n)?(e.exit("atxHeadingText"),i(n)):(e.consume(n),a)}},resolve:function(e,n){var t,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&se(e,i,o-i+1,[["enter",t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},n],["enter",r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},n],["exit",r,n],["exit",t,n]]);return e}};var sn={name:"setextUnderline",tokenize:function(e,n,t){var r,o=this;return function(n){var l,a=o.events.length;for(;a--;)if("lineEnding"!==o.events[a][1].type&&"linePrefix"!==o.events[a][1].type&&"content"!==o.events[a][1].type){l="paragraph"===o.events[a][1].type;break}if(!o.parser.lazy[o.now().line]&&(o.interrupt||l))return e.enter("setextHeadingLine"),r=n,function(n){return e.enter("setextHeadingLineSequence"),i(n)}(n);return t(n)};function i(n){return n===r?(e.consume(n),i):(e.exit("setextHeadingLineSequence"),Ie(n)?Ce(e,l,"lineSuffix")(n):l(n))}function l(r){return null===r||ke(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){var t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);var l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l;return e.push(["exit",l,n]),e}};var fn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],pn=["pre","script","style","textarea"],dn={name:"htmlFlow",tokenize:function(e,n,t){var r,o,i,l,a,u=this;return function(n){return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c}(n)};function c(l){return 33===l?(e.consume(l),s):47===l?(e.consume(l),o=!0,d):63===l?(e.consume(l),r=3,u.interrupt?n:O):he(l)?(e.consume(l),i=String.fromCharCode(l),m):t(l)}function s(o){return 45===o?(e.consume(o),r=2,f):91===o?(e.consume(o),r=5,l=0,p):he(o)?(e.consume(o),r=4,u.interrupt?n:O):t(o)}function f(r){return 45===r?(e.consume(r),u.interrupt?n:O):t(r)}function p(r){var o="CDATA[";return r===o.charCodeAt(l++)?(e.consume(r),6===l?u.interrupt?n:A:p):t(r)}function d(n){return he(n)?(e.consume(n),i=String.fromCharCode(n),m):t(n)}function m(l){if(null===l||47===l||62===l||Se(l)){var a=47===l,c=i.toLowerCase();return a||o||!pn.includes(c)?fn.includes(i.toLowerCase())?(r=6,a?(e.consume(l),h):u.interrupt?n(l):A(l)):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?t(l):o?y(l):g(l)):(r=1,u.interrupt?n(l):A(l))}return 45===l||ye(l)?(e.consume(l),i+=String.fromCharCode(l),m):t(l)}function h(r){return 62===r?(e.consume(r),u.interrupt?n:A):t(r)}function y(n){return Ie(n)?(e.consume(n),y):I(n)}function g(n){return 47===n?(e.consume(n),I):58===n||95===n||he(n)?(e.consume(n),v):Ie(n)?(e.consume(n),g):I(n)}function v(n){return 45===n||46===n||58===n||95===n||ye(n)?(e.consume(n),v):b(n)}function b(n){return 61===n?(e.consume(n),x):Ie(n)?(e.consume(n),b):g(n)}function x(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),a=n,w):Ie(n)?(e.consume(n),x):k(n)}function w(n){return n===a?(e.consume(n),a=null,S):null===n||ke(n)?t(n):(e.consume(n),w)}function k(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||Se(n)?b(n):(e.consume(n),k)}function S(e){return 47===e||62===e||Ie(e)?g(e):t(e)}function I(n){return 62===n?(e.consume(n),M):t(n)}function M(n){return null===n||ke(n)?A(n):Ie(n)?(e.consume(n),M):t(n)}function A(n){return 45===n&&2===r?(e.consume(n),L):60===n&&1===r?(e.consume(n),D):62===n&&4===r?(e.consume(n),z):63===n&&3===r?(e.consume(n),O):93===n&&5===r?(e.consume(n),P):!ke(n)||6!==r&&7!==r?null===n||ke(n)?(e.exit("htmlFlowData"),j(n)):(e.consume(n),A):(e.exit("htmlFlowData"),e.check(mn,N,j)(n))}function j(n){return e.check(hn,C,N)(n)}function C(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),E}function E(n){return null===n||ke(n)?j(n):(e.enter("htmlFlowData"),A(n))}function L(n){return 45===n?(e.consume(n),O):A(n)}function D(n){return 47===n?(e.consume(n),i="",T):A(n)}function T(n){if(62===n){var t=i.toLowerCase();return pn.includes(t)?(e.consume(n),z):A(n)}return he(n)&&i.length<8?(e.consume(n),i+=String.fromCharCode(n),T):A(n)}function P(n){return 93===n?(e.consume(n),O):A(n)}function O(n){return 62===n?(e.consume(n),z):45===n&&2===r?(e.consume(n),O):A(n)}function z(n){return null===n||ke(n)?(e.exit("htmlFlowData"),N(n)):(e.consume(n),z)}function N(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){var n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},mn={tokenize:function(e,n,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Te,n,t)}},partial:!0},hn={tokenize:function(e,n,t){var r=this;return function(n){if(ke(n))return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o;return t(n)};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0};var yn={tokenize:function(e,n,t){var r=this;return function(n){if(null===n)return t(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},gn={name:"codeFenced",tokenize:function(e,n,t){var r,o=this,i={tokenize:function(e,n,t){var i=0;return l;function l(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),u}function u(n){return e.enter("codeFencedFence"),Ie(n)?Ce(e,c,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):c(n)}function c(n){return n===r?(e.enter("codeFencedFenceSequence"),s(n)):t(n)}function s(n){return n===r?(i++,e.consume(n),s):i>=a?(e.exit("codeFencedFenceSequence"),Ie(n)?Ce(e,f,"whitespace")(n):f(n)):t(n)}function f(r){return null===r||ke(r)?(e.exit("codeFencedFence"),n(r)):t(r)}},partial:!0},l=0,a=0;return function(n){return function(n){var t=o.events[o.events.length-1];return l=t&&"linePrefix"===t[1].type?t[2].sliceSerialize(t[1],!0).length:0,r=n,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(n)}(n)};function u(n){return n===r?(a++,e.consume(n),u):a<3?t(n):(e.exit("codeFencedFenceSequence"),Ie(n)?Ce(e,c,"whitespace")(n):c(n))}function c(t){return null===t||ke(t)?(e.exit("codeFencedFence"),o.interrupt?n(t):e.check(yn,d,v)(t)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),s(t))}function s(n){return null===n||ke(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(n)):Ie(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ce(e,f,"whitespace")(n)):96===n&&n===r?t(n):(e.consume(n),s)}function f(n){return null===n||ke(n)?c(n):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(n))}function p(n){return null===n||ke(n)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(n)):96===n&&n===r?t(n):(e.consume(n),p)}function d(n){return e.attempt(i,v,m)(n)}function m(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),h}function h(n){return l>0&&Ie(n)?Ce(e,y,"linePrefix",l+1)(n):y(n)}function y(n){return null===n||ke(n)?e.check(yn,d,v)(n):(e.enter("codeFlowValue"),g(n))}function g(n){return null===n||ke(n)?(e.exit("codeFlowValue"),y(n)):(e.consume(n),g)}function v(t){return e.exit("codeFenced"),n(t)}},concrete:!0};var vn=document.createElement("i");function bn(e){var n="&"+e+";";vn.innerHTML=n;var t=vn.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===e)&&(t!==n&&t)}var xn={name:"characterReference",tokenize:function(e,n,t){var r,o,i=this,l=0;return function(n){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(n),e.exit("characterReferenceMarker"),a};function a(n){return 35===n?(e.enter("characterReferenceMarkerNumeric"),e.consume(n),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,o=ye,c(n))}function u(n){return 88===n||120===n?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(n),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,o=xe,c):(e.enter("characterReferenceValue"),r=7,o=be,c(n))}function c(a){if(59===a&&l){var u=e.exit("characterReferenceValue");return o!==ye||bn(i.sliceSerialize(u))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),n):t(a)}return o(a)&&l++<r?(e.consume(a),c):t(a)}}};var wn={name:"characterEscape",tokenize:function(e,n,t){return function(n){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(n),e.exit("escapeMarker"),r};function r(r){return we(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(r)}}};var kn={name:"lineEnding",tokenize:function(e,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Ce(e,n,"linePrefix")}}};var Sn={name:"labelEnd",tokenize:function(e,n,t){var r,o,i=this,l=i.events.length;for(;l--;)if(("labelImage"===i.events[l][1].type||"labelLink"===i.events[l][1].type)&&!i.events[l][1]._balanced){r=i.events[l][1];break}return function(n){if(!r)return t(n);if(r._inactive)return s(n);return o=i.parser.defined.includes(rn(i.sliceSerialize({start:r.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(n){return 40===n?e.attempt(In,c,o?c:s)(n):91===n?e.attempt(Mn,c,o?u:s)(n):o?c(n):s(n)}function u(n){return e.attempt(An,c,s)(n)}function c(e){return n(e)}function s(e){return r._balanced=!0,t(e)}},resolveTo:function(e,n){var t,r,o,i,l=e.length,a=0;for(;l--;)if(t=e[l][1],r){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[l][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(o){if("enter"===e[l][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(r=l,"labelLink"!==t.type)){a=2;break}}else"labelEnd"===t.type&&(o=l);var u={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},s={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=fe(i=[["enter",u,n],["enter",c,n]],e.slice(r+1,r+a+3)),i=fe(i,[["enter",s,n]]),i=fe(i,_e(n.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),n)),i=fe(i,[["exit",s,n],e[o-2],e[o-1],["exit",c,n]]),i=fe(i,e.slice(o+1)),i=fe(i,[["exit",u,n]]),se(e,r,e.length,i),e},resolveAll:function(e){var n=-1;for(;++n<e.length;){var t=e[n][1];"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++)}return e}},In={tokenize:function(e,n,t){return function(n){return e.enter("resource"),e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),r};function r(n){return Se(n)?tn(e,o)(n):o(n)}function o(n){return 41===n?c(n):Ke(e,i,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(n)}function i(n){return Se(n)?tn(e,a)(n):c(n)}function l(e){return t(e)}function a(n){return 34===n||39===n||40===n?nn(e,u,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(n):c(n)}function u(n){return Se(n)?tn(e,c)(n):c(n)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),n):t(r)}}},Mn={tokenize:function(e,n,t){var r=this;return function(n){return en.call(r,e,o,i,"reference","referenceMarker","referenceString")(n)};function o(e){return r.parser.defined.includes(rn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(e):t(e)}function i(e){return t(e)}}},An={tokenize:function(e,n,t){return function(n){return e.enter("reference"),e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),n):t(r)}}};var jn={name:"labelStartImage",tokenize:function(e,n,t){var r=this;return function(n){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(n),e.exit("labelImageMarker"),o};function o(n){return 91===n?(e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelImage"),i):t(n)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:Sn.resolveAll};function Cn(e){return null===e||Se(e)||Ae(e)?1:Me(e)?2:void 0}var En={name:"attention",tokenize:function(e,n){var t,r=this.parser.constructs.attentionMarkers.null,o=this.previous,i=Cn(o);return function(n){return t=n,e.enter("attentionSequence"),l(n)};function l(a){if(a===t)return e.consume(a),l;var u=e.exit("attentionSequence"),c=Cn(a),s=!c||2===c&&i||r.includes(a),f=!i||2===i&&c||r.includes(o);return u._open=Boolean(42===t?s:s&&(i||!f)),u._close=Boolean(42===t?f:f&&(c||!s)),n(a)}},resolveAll:function(e,n){var t,r,o,i,l,a,u,c,s=-1;for(;++s<e.length;)if("enter"===e[s][0]&&"attentionSequence"===e[s][1].type&&e[s][1]._close)for(t=s;t--;)if("exit"===e[t][0]&&"attentionSequence"===e[t][1].type&&e[t][1]._open&&n.sliceSerialize(e[t][1]).charCodeAt(0)===n.sliceSerialize(e[s][1]).charCodeAt(0)){if((e[t][1]._close||e[s][1]._open)&&(e[s][1].end.offset-e[s][1].start.offset)%3&&!((e[t][1].end.offset-e[t][1].start.offset+e[s][1].end.offset-e[s][1].start.offset)%3))continue;a=e[t][1].end.offset-e[t][1].start.offset>1&&e[s][1].end.offset-e[s][1].start.offset>1?2:1;var f=Object.assign({},e[t][1].end),p=Object.assign({},e[s][1].start);Ln(f,-a),Ln(p,a),i={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},l={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[s][1].start),end:p},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[s][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[s][1].start=Object.assign({},l.end),u=[],e[t][1].end.offset-e[t][1].start.offset&&(u=fe(u,[["enter",e[t][1],n],["exit",e[t][1],n]])),u=fe(u,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),u=fe(u,_e(n.parser.constructs.insideSpan.null,e.slice(t+1,s),n)),u=fe(u,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[s][1].end.offset-e[s][1].start.offset?(c=2,u=fe(u,[["enter",e[s][1],n],["exit",e[s][1],n]])):c=0,se(e,t-1,s-t+3,u),s=t+u.length-c-2;break}s=-1;for(;++s<e.length;)"attentionSequence"===e[s][1].type&&(e[s][1].type="data");return e}};function Ln(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}var Dn={name:"autolink",tokenize:function(e,n,t){var r=0;return function(n){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(n){return he(n)?(e.consume(n),i):u(n)}function i(e){return 43===e||45===e||46===e||ye(e)?(r=1,l(e)):u(e)}function l(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||ye(n))&&r++<32?(e.consume(n),l):(r=0,u(n))}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),n):null===r||32===r||60===r||ve(r)?t(r):(e.consume(r),a)}function u(n){return 64===n?(e.consume(n),c):ge(n)?(e.consume(n),u):t(n)}function c(e){return ye(e)?s(e):t(e)}function s(t){return 46===t?(e.consume(t),r=0,c):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.exit("autolink"),n):f(t)}function f(n){if((45===n||ye(n))&&r++<63){var o=45===n?f:s;return e.consume(n),o}return t(n)}}};var Tn={name:"htmlText",tokenize:function(e,n,t){var r,o,i,l=this;return function(n){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(n),a};function a(n){return 33===n?(e.consume(n),u):47===n?(e.consume(n),x):63===n?(e.consume(n),v):he(n)?(e.consume(n),S):t(n)}function u(n){return 45===n?(e.consume(n),c):91===n?(e.consume(n),o=0,d):he(n)?(e.consume(n),g):t(n)}function c(n){return 45===n?(e.consume(n),p):t(n)}function s(n){return null===n?t(n):45===n?(e.consume(n),f):ke(n)?(i=s,T(n)):(e.consume(n),s)}function f(n){return 45===n?(e.consume(n),p):s(n)}function p(e){return 62===e?D(e):45===e?f(e):s(e)}function d(n){var r="CDATA[";return n===r.charCodeAt(o++)?(e.consume(n),6===o?m:d):t(n)}function m(n){return null===n?t(n):93===n?(e.consume(n),h):ke(n)?(i=m,T(n)):(e.consume(n),m)}function h(n){return 93===n?(e.consume(n),y):m(n)}function y(n){return 62===n?D(n):93===n?(e.consume(n),y):m(n)}function g(n){return null===n||62===n?D(n):ke(n)?(i=g,T(n)):(e.consume(n),g)}function v(n){return null===n?t(n):63===n?(e.consume(n),b):ke(n)?(i=v,T(n)):(e.consume(n),v)}function b(e){return 62===e?D(e):v(e)}function x(n){return he(n)?(e.consume(n),w):t(n)}function w(n){return 45===n||ye(n)?(e.consume(n),w):k(n)}function k(n){return ke(n)?(i=k,T(n)):Ie(n)?(e.consume(n),k):D(n)}function S(n){return 45===n||ye(n)?(e.consume(n),S):47===n||62===n||Se(n)?I(n):t(n)}function I(n){return 47===n?(e.consume(n),D):58===n||95===n||he(n)?(e.consume(n),M):ke(n)?(i=I,T(n)):Ie(n)?(e.consume(n),I):D(n)}function M(n){return 45===n||46===n||58===n||95===n||ye(n)?(e.consume(n),M):A(n)}function A(n){return 61===n?(e.consume(n),j):ke(n)?(i=A,T(n)):Ie(n)?(e.consume(n),A):I(n)}function j(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),r=n,C):ke(n)?(i=j,T(n)):Ie(n)?(e.consume(n),j):(e.consume(n),E)}function C(n){return n===r?(e.consume(n),r=void 0,L):null===n?t(n):ke(n)?(i=C,T(n)):(e.consume(n),C)}function E(n){return null===n||34===n||39===n||60===n||61===n||96===n?t(n):47===n||62===n||Se(n)?I(n):(e.consume(n),E)}function L(e){return 47===e||62===e||Se(e)?I(e):t(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),n):t(r)}function T(n){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),P}function P(n){return Ie(n)?Ce(e,O,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):O(n)}function O(n){return e.enter("htmlTextData"),i(n)}}};var Pn={name:"labelStartLink",tokenize:function(e,n,t){var r=this;return function(n){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:Sn.resolveAll};var On={name:"hardBreakEscape",tokenize:function(e,n,t){return function(n){return e.enter("hardBreakEscape"),e.consume(n),r};function r(r){return ke(r)?(e.exit("hardBreakEscape"),n(r)):t(r)}}};var zn,Nn,Fn,Rn,Bn,Hn={name:"codeText",tokenize:function(e,n,t){var r,o,i=0;return function(n){return e.enter("codeText"),e.enter("codeTextSequence"),l(n)};function l(n){return 96===n?(e.consume(n),i++,l):(e.exit("codeTextSequence"),a(n))}function a(n){return null===n?t(n):32===n?(e.enter("space"),e.consume(n),e.exit("space"),a):96===n?(o=e.enter("codeTextSequence"),r=0,c(n)):ke(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a):(e.enter("codeTextData"),u(n))}function u(n){return null===n||32===n||96===n||ke(n)?(e.exit("codeTextData"),a(n)):(e.consume(n),u)}function c(t){return 96===t?(e.consume(t),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(t)):(o.type="codeTextData",u(t))}},resolve:function(e){var n,t,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(n=o;++n<r;)if("codeTextData"===e[n][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}n=o-1,r++;for(;++n<=r;)void 0===t?n!==r&&"lineEnding"!==e[n][1].type&&(t=n):n!==r&&"lineEnding"!==e[n][1].type||(e[t][1].type="codeTextData",n!==t+2&&(e[t][1].end=e[n-1][1].end,e.splice(t+2,n-t-2),r-=n-t-2,n=t+2),t=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};function Un(e){return Un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Un(e)}function Zn(e,n,t){return(n=function(e){var n=function(e,n){if("object"!==Un(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==Un(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===Un(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Yn=(Zn(zn={},42,Ge),Zn(zn,43,Ge),Zn(zn,45,Ge),Zn(zn,48,Ge),Zn(zn,49,Ge),Zn(zn,50,Ge),Zn(zn,51,Ge),Zn(zn,52,Ge),Zn(zn,53,Ge),Zn(zn,54,Ge),Zn(zn,55,Ge),Zn(zn,56,Ge),Zn(zn,57,Ge),Zn(zn,62,$e),zn),_n=Zn({},91,on),Vn=(Zn(Nn={},-2,an),Zn(Nn,-1,an),Zn(Nn,32,an),Nn),Wn=(Zn(Fn={},35,cn),Zn(Fn,42,Qe),Zn(Fn,45,[sn,Qe]),Zn(Fn,60,dn),Zn(Fn,61,sn),Zn(Fn,95,Qe),Zn(Fn,96,gn),Zn(Fn,126,gn),Fn),Jn=(Zn(Rn={},38,xn),Zn(Rn,92,wn),Rn),Qn=(Zn(Bn={},-5,kn),Zn(Bn,-4,kn),Zn(Bn,-3,kn),Zn(Bn,33,jn),Zn(Bn,38,xn),Zn(Bn,42,En),Zn(Bn,60,[Dn,Tn]),Zn(Bn,91,Pn),Zn(Bn,92,[On,wn]),Zn(Bn,93,Sn),Zn(Bn,95,En),Zn(Bn,96,Hn),Bn),Gn={null:[En,Re]},qn={null:[42,95]},Xn={null:[]};function $n(e){return function(e){if(Array.isArray(e))return Kn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return Kn(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Kn(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kn(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function et(e){var n=function(e){for(var n={},t=-1;++t<e.length;)de(n,e[t]);return n}([r].concat($n((e||{}).extensions||[]))),t={defined:[],lazy:{},constructs:n,content:o(Ee),document:o(Le),flow:o(Fe),string:o(Be),text:o(He)};return t;function o(e){return function(n){return Je(t,e,n)}}}var nt=/[\0\t\n\r]/g;function tt(e,n){var t=Number.parseInt(e,n);return t<9||11===t||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535==(65535&t)||65534==(65535&t)||t>1114111?"�":String.fromCharCode(t)}var rt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ot(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){var r=t.charCodeAt(1),o=120===r||88===r;return tt(t.slice(o?2:1),o?16:10)}return bn(t)||e}function it(e){return function(e){if(Array.isArray(e))return lt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return lt(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return lt(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var at={}.hasOwnProperty,ut=function(e,n,t){return"string"!=typeof n&&(t=n,n=void 0),function(e){var n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(re),autolinkProtocol:C,autolinkEmail:C,atxHeading:a(K),blockQuote:a(Q),characterEscape:C,characterReference:C,codeFenced:a(G),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:a(G,c),codeText:a(q,c),codeTextData:C,data:C,codeFlowValue:C,definition:a(X),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:a($),hardBreakEscape:a(ee),hardBreakTrailing:a(ee),htmlFlow:a(ne,c),htmlFlowData:C,htmlText:a(ne,c),htmlTextData:C,image:a(te),label:c,link:a(re),listItem:a(ae),listItemValue:h,listOrdered:a(oe,m),listUnordered:a(oe),paragraph:a(ue),reference:Z,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:a(K),strong:a(ce),thematicBreak:a(fe)},exit:{atxHeading:f(),atxHeadingSequence:I,autolink:f(),autolinkEmail:J,autolinkProtocol:W,blockQuote:f(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:_,characterReferenceMarkerNumeric:_,characterReferenceValue:V,codeFenced:f(b),codeFencedFence:v,codeFencedFenceInfo:y,codeFencedFenceMeta:g,codeFlowValue:E,codeIndented:f(x),codeText:f(O),codeTextData:E,data:E,definition:f(),definitionDestinationString:S,definitionLabelString:w,definitionTitleString:k,emphasis:f(),hardBreakEscape:f(D),hardBreakTrailing:f(D),htmlFlow:f(T),htmlFlowData:E,htmlText:f(P),htmlTextData:E,image:f(N),label:R,labelText:F,lineEnding:L,link:f(z),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:Y,resourceDestinationString:B,resourceTitleString:H,resource:U,setextHeading:f(j),setextHeadingLineSequence:A,setextHeadingText:M,strong:f(),thematicBreak:f()}};st(n,(e||{}).mdastExtensions||[]);var t={};return r;function r(e){for(var t={type:"root",children:[]},r={stack:[t],tokenStack:[],config:n,enter:s,exit:p,buffer:c,resume:d,setData:i,getData:l},a=[],u=-1;++u<e.length;){if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])a.push(u);else u=o(e,a.pop(),u)}for(u=-1;++u<e.length;){var f=n[e[u][0]];at.call(f,e[u][1].type)&&f[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},r),e[u][1])}if(r.tokenStack.length>0){var m=r.tokenStack[r.tokenStack.length-1];(m[1]||pt).call(r,void 0,m[0])}for(t.position={start:ct(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ct(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<n.transforms.length;)t=n.transforms[u](t)||t;return t}function o(e,n,t){for(var r,o,i,l,a=n-1,u=-1,c=!1;++a<=t;){var s=e[a];if("listUnordered"===s[1].type||"listOrdered"===s[1].type||"blockQuote"===s[1].type?("enter"===s[0]?u++:u--,l=void 0):"lineEndingBlank"===s[1].type?"enter"===s[0]&&(!r||l||u||i||(i=a),l=void 0):"linePrefix"===s[1].type||"listItemValue"===s[1].type||"listItemMarker"===s[1].type||"listItemPrefix"===s[1].type||"listItemPrefixWhitespace"===s[1].type||(l=void 0),!u&&"enter"===s[0]&&"listItemPrefix"===s[1].type||-1===u&&"exit"===s[0]&&("listUnordered"===s[1].type||"listOrdered"===s[1].type)){if(r){var f=a;for(o=void 0;f--;){var p=e[f];if("lineEnding"===p[1].type||"lineEndingBlank"===p[1].type){if("exit"===p[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),p[1].type="lineEnding",o=f}else if("linePrefix"!==p[1].type&&"blockQuotePrefix"!==p[1].type&&"blockQuotePrefixWhitespace"!==p[1].type&&"blockQuoteMarker"!==p[1].type&&"listItemIndent"!==p[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:s[1].end),e.splice(o||a,0,["exit",r,s[2]]),a++,t++}"listItemPrefix"===s[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},s[1].start),end:void 0},e.splice(a,0,["enter",r,s[2]]),a++,t++,i=void 0,l=!0)}}return e[n][1]._spread=c,t}function i(e,n){t[e]=n}function l(e){return t[e]}function a(e,n){return t;function t(t){s.call(this,e(t),t),n&&n.call(this,t)}}function c(){this.stack.push({type:"fragment",children:[]})}function s(e,n,t){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([n,t]),e.position={start:ct(n.start)},e}function f(e){return n;function n(n){e&&e.call(this,n),p.call(this,n)}}function p(e,n){var t=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+u({start:e.start,end:e.end})+"): it’s not open");return r[0].type!==e.type&&(n?n.call(this,e,r[0]):(r[1]||pt).call(this,e,r[0])),t.position.end=ct(e.end),t}function d(){return function(e,n){var t=n||ie;return le(e,"boolean"!=typeof t.includeImageAlt||t.includeImageAlt,"boolean"!=typeof t.includeHtml||t.includeHtml)}(this.stack.pop())}function m(){i("expectingFirstListItemValue",!0)}function h(e){l("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))}function y(){var e=this.resume();this.stack[this.stack.length-1].lang=e}function g(){var e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){l("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))}function b(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}function x(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function w(e){var n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=rn(this.sliceSerialize(e)).toLowerCase()}function k(){var e=this.resume();this.stack[this.stack.length-1].title=e}function S(){var e=this.resume();this.stack[this.stack.length-1].url=e}function I(e){var n=this.stack[this.stack.length-1];if(!n.depth){var t=this.sliceSerialize(e).length;n.depth=t}}function M(){i("setextHeadingSlurpLineEnding",!0)}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function j(){i("setextHeadingSlurpLineEnding")}function C(e){var n=this.stack[this.stack.length-1],t=n.children[n.children.length-1];t&&"text"===t.type||((t=se()).position={start:ct(e.start)},n.children.push(t)),this.stack.push(t)}function E(e){var n=this.stack.pop();n.value+=this.sliceSerialize(e),n.position.end=ct(e.end)}function L(e){var t=this.stack[this.stack.length-1];if(l("atHardBreak"))return t.children[t.children.length-1].position.end=ct(e.end),void i("atHardBreak");!l("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(t.type)&&(C.call(this,e),E.call(this,e))}function D(){i("atHardBreak",!0)}function T(){var e=this.resume();this.stack[this.stack.length-1].value=e}function P(){var e=this.resume();this.stack[this.stack.length-1].value=e}function O(){var e=this.resume();this.stack[this.stack.length-1].value=e}function z(){var e=this.stack[this.stack.length-1];if(l("inReference")){var n=l("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")}function N(){var e=this.stack[this.stack.length-1];if(l("inReference")){var n=l("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")}function F(e){var n=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=function(e){return e.replace(rt,ot)}(n),t.identifier=rn(n).toLowerCase()}function R(){var e=this.stack[this.stack.length-1],n=this.resume(),t=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===t.type){var r=e.children;t.children=r}else t.alt=n}function B(){var e=this.resume();this.stack[this.stack.length-1].url=e}function H(){var e=this.resume();this.stack[this.stack.length-1].title=e}function U(){i("inReference")}function Z(){i("referenceType","collapsed")}function Y(e){var n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=rn(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")}function _(e){i("characterReferenceType",e.type)}function V(e){var n,t=this.sliceSerialize(e),r=l("characterReferenceType");r?(n=tt(t,"characterReferenceMarkerNumeric"===r?10:16),i("characterReferenceType")):n=bn(t);var o=this.stack.pop();o.value+=n,o.position.end=ct(e.end)}function W(e){E.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function J(e){E.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function G(){return{type:"code",lang:null,meta:null,value:""}}function q(){return{type:"inlineCode",value:""}}function X(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function $(){return{type:"emphasis",children:[]}}function K(){return{type:"heading",depth:void 0,children:[]}}function ee(){return{type:"break"}}function ne(){return{type:"html",value:""}}function te(){return{type:"image",title:null,url:"",alt:null}}function re(){return{type:"link",title:null,url:"",children:[]}}function oe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ae(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ue(){return{type:"paragraph",children:[]}}function ce(){return{type:"strong",children:[]}}function se(){return{type:"text",value:""}}function fe(){return{type:"thematicBreak"}}}(t)(function(e){for(;!Pe(e););return e}(et(t).document().write(function(){var e,n=1,t="",r=!0;return function(o,i,l){var a,u,c,s,f,p=[];for(o=t+o.toString(i),c=0,t="",r&&(65279===o.charCodeAt(0)&&c++,r=void 0);c<o.length;){if(nt.lastIndex=c,s=(a=nt.exec(o))&&void 0!==a.index?a.index:o.length,f=o.charCodeAt(s),!a){t=o.slice(c);break}if(10===f&&c===s&&e)p.push(-3),e=void 0;else switch(e&&(p.push(-5),e=void 0),c<s&&(p.push(o.slice(c,s)),n+=s-c),f){case 0:p.push(65533),n++;break;case 9:for(u=4*Math.ceil(n/4),p.push(-2);n++<u;)p.push(-1);break;case 10:p.push(-4),n=1;break;default:e=!0,n=1}c=s+1}return l&&(e&&p.push(-5),t&&p.push(t),p.push(null)),p}}()(e,n,!0))))};function ct(e){return{line:e.line,column:e.column,offset:e.offset}}function st(e,n){for(var t=-1;++t<n.length;){var r=n[t];Array.isArray(r)?st(e,r):ft(e,r)}}function ft(e,n){var t;for(t in n)if(at.call(n,t))if("canContainEols"===t){var r,o=n[t];if(o)(r=e[t]).push.apply(r,it(o))}else if("transforms"===t){var i,l=n[t];if(l)(i=e[t]).push.apply(i,it(l))}else if("enter"===t||"exit"===t){var a=n[t];a&&Object.assign(e[t],a)}}function pt(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+u({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+u({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+u({start:n.start,end:n.end})+") is still open")}function dt(e){var n=this;Object.assign(this,{Parser:function(t){var r=n.data("settings");return ut(t,Object.assign({},r,e,{extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]}))}})}function mt(e){for(var n=[],t=-1,r=0,o=0;++t<e.length;){var i=e.charCodeAt(t),l="";if(37===i&&ye(e.charCodeAt(t+1))&&ye(e.charCodeAt(t+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(l=String.fromCharCode(i));else if(i>55295&&i<57344){var a=e.charCodeAt(t+1);i<56320&&a>56319&&a<57344?(l=String.fromCharCode(i,a),o=1):l="�"}else l=String.fromCharCode(i);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+o+1,l=""),o&&(t+=o,o=0)}return n.join("")+e.slice(r)}function ht(e){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ht(e)}function yt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function gt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?yt(Object(t),!0).forEach((function(n){vt(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function vt(e,n,t){return(n=function(e){var n=function(e,n){if("object"!==ht(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==ht(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===ht(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function bt(e){return bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bt(e)}var xt=function(e){if(null==e)return St;if("string"==typeof e)return function(e){return kt(n);function n(n){return n&&n.type===e}}(e);if("object"===bt(e))return Array.isArray(e)?wt(e):function(e){return kt(n);function n(n){var t;for(t in e)if(n[t]!==e[t])return!1;return!0}}(e);if("function"==typeof e)return kt(e);throw new Error("Expected function, string, or object as test")};function wt(e){for(var n=[],t=-1;++t<e.length;)n[t]=xt(e[t]);return kt((function(){for(var e=-1,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];for(;++e<n.length;){var i;if((i=n[e]).call.apply(i,[this].concat(r)))return!0}return!1}))}function kt(e){return function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return Boolean(n&&"object"===bt(n)&&"type"in n&&Boolean(e.call.apply(e,[this,n].concat(r))))}}function St(){return!0}function It(e){return It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},It(e)}var Mt=function(e,n,t,r){"function"==typeof n&&"function"!=typeof t&&(r=t,t=n,n=null);var o=xt(n),i=r?-1:1;!function e(l,a,u){var c=l&&"object"===It(l)?l:{};if("string"==typeof c.type){var s="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(f,"name",{value:"node ("+l.type+(s?"<"+s+">":"")+")"})}return f;function f(){var c,s,f,p=[];if((!n||o(l,a,u[u.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(t(l,u)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(s=(r?l.children.length:-1)+i,f=u.concat(l);s>-1&&s<l.children.length;){if(false===(c=e(l.children[s],s,f)())[0])return c;s="number"==typeof c[1]?c[1]:s+i}return p}}(e,void 0,[])()};var At=function(e,n,t,r){"function"==typeof n&&"function"!=typeof t&&(r=t,t=n,n=null),Mt(e,n,(function(e,n){var r=n[n.length-1];return t(e,r?r.children.indexOf(e):null,r)}),r)},jt=Et("start"),Ct=Et("end");function Et(e){return function(n){var t=n&&n.position&&n.position[e]||{};return{line:t.line||null,column:t.column||null,offset:t.offset>-1?t.offset:null}}}var Lt={}.hasOwnProperty;function Dt(e){return String(e||"").toUpperCase()}function Tt(e,n){var t,r=String(n.identifier).toUpperCase(),o=mt(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,t=e.footnoteOrder.length):(e.footnoteCounts[r]++,t=i+1);var l=e.footnoteCounts[r],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+o,id:e.clobberPrefix+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(t)}]};e.patch(n,a);var u={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(n,u),e.applyData(n,u)}function Pt(e,n){var t=n.referenceType,r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return{type:"text",value:"!["+n.alt+r};var o=e.all(n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});var l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push({type:"text",value:r}),o}function Ot(e){return function(e){if(Array.isArray(e))return zt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return zt(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return zt(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Nt(e){var n=e.spread;return null==n?e.children.length>1:n}var Ft=9,Rt=32;function Bt(e){for(var n=String(e),t=/\r?\n|\r/g,r=t.exec(n),o=0,i=[];r;)i.push(Ht(n.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=t.exec(n);return i.push(Ht(n.slice(o),o>0,!1)),i.join("")}function Ht(e,n,t){var r=0,o=e.length;if(n)for(var i=e.codePointAt(r);i===Ft||i===Rt;)r++,i=e.codePointAt(r);if(t)for(var l=e.codePointAt(o-1);l===Ft||l===Rt;)o--,l=e.codePointAt(o-1);return o>r?e.slice(r,o):""}var Ut={blockquote:function(e,n){var t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)},break:function(e,n){var t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:"\n"}]},code:function(e,n){var t=n.value?n.value+"\n":"",r=n.lang?n.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);var i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:t}]};return n.meta&&(i.data={meta:n.meta}),e.patch(n,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(n,i)]},e.patch(n,i),i},delete:function(e,n){var t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},emphasis:function(e,n){var t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},footnoteReference:Tt,footnote:function(e,n){for(var t=e.footnoteById,r=1;r in t;)r++;var o=String(r);return t[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:n.children}],position:n.position},Tt(e,{type:"footnoteReference",identifier:o,position:n.position})},heading:function(e,n){var t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},html:function(e,n){if(e.dangerous){var t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null},imageReference:function(e,n){var t=e.definition(n.identifier);if(!t)return Pt(e,n);var r={src:mt(t.url||""),alt:n.alt};null!==t.title&&void 0!==t.title&&(r.title=t.title);var o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(n,o),e.applyData(n,o)},image:function(e,n){var t={src:mt(n.url)};null!==n.alt&&void 0!==n.alt&&(t.alt=n.alt),null!==n.title&&void 0!==n.title&&(t.title=n.title);var r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)},inlineCode:function(e,n){var t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);var r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)},linkReference:function(e,n){var t=e.definition(n.identifier);if(!t)return Pt(e,n);var r={href:mt(t.url||"")};null!==t.title&&void 0!==t.title&&(r.title=t.title);var o={type:"element",tagName:"a",properties:r,children:e.all(n)};return e.patch(n,o),e.applyData(n,o)},link:function(e,n){var t={href:mt(n.url)};null!==n.title&&void 0!==n.title&&(t.title=n.title);var r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)},listItem:function(e,n,t){var r=e.all(n),o=t?function(e){var n=!1;if("list"===e.type){n=e.spread||!1;for(var t=e.children,r=-1;!n&&++r<t.length;)n=Nt(t[r])}return n}(t):Nt(n),i={},l=[];if("boolean"==typeof n.checked){var a,u=r[0];u&&"element"===u.type&&"p"===u.tagName?a=u:(a={type:"element",tagName:"p",properties:{},children:[]},r.unshift(a)),a.children.length>0&&a.children.unshift({type:"text",value:" "}),a.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}for(var c=-1;++c<r.length;){var s=r[c];(o||0!==c||"element"!==s.type||"p"!==s.tagName)&&l.push({type:"text",value:"\n"}),"element"!==s.type||"p"!==s.tagName||o?l.push(s):l.push.apply(l,Ot(s.children))}var f=r[r.length-1];f&&(o||"element"!==f.type||"p"!==f.tagName)&&l.push({type:"text",value:"\n"});var p={type:"element",tagName:"li",properties:i,children:l};return e.patch(n,p),e.applyData(n,p)},list:function(e,n){var t={},r=e.all(n),o=-1;for("number"==typeof n.start&&1!==n.start&&(t.start=n.start);++o<r.length;){var i=r[o];if("element"===i.type&&"li"===i.tagName&&i.properties&&Array.isArray(i.properties.className)&&i.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}var l={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(r,!0)};return e.patch(n,l),e.applyData(n,l)},paragraph:function(e,n){var t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},root:function(e,n){var t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)},strong:function(e,n){var t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},table:function(e,n){var t=e.all(n),r=t.shift(),o=[];if(r){var i={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(n.children[0],i),o.push(i)}if(t.length>0){var l={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},a=jt(n.children[1]),u=Ct(n.children[n.children.length-1]);a.line&&u.line&&(l.position={start:a,end:u}),o.push(l)}var c={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(n,c),e.applyData(n,c)},tableCell:function(e,n){var t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},tableRow:function(e,n,t){for(var r=t?t.children:void 0,o=0===(r?r.indexOf(n):1)?"th":"td",i=t&&"table"===t.type?t.align:void 0,l=i?i.length:n.children.length,a=-1,u=[];++a<l;){var c=n.children[a],s={},f=i?i[a]:void 0;f&&(s.align=f);var p={type:"element",tagName:o,properties:s,children:[]};c&&(p.children=e.all(c),e.patch(c,p),p=e.applyData(n,p)),u.push(p)}var d={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(n,d),e.applyData(n,d)},text:function(e,n){var t={type:"text",value:Bt(String(n.value))};return e.patch(n,t),e.applyData(n,t)},thematicBreak:function(e,n){var t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)},toml:Zt,yaml:Zt,definition:Zt,footnoteDefinition:Zt};function Zt(){return null}function Yt(e){return Yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yt(e)}function _t(e){return function(e){if(Array.isArray(e))return Vt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return Vt(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Vt(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Wt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Jt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Wt(Object(t),!0).forEach((function(n){Qt(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wt(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Qt(e,n,t){return(n=function(e){var n=function(e,n){if("object"!==Yt(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==Yt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===Yt(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Gt={}.hasOwnProperty;function qt(e,n){var t=n||{},r=t.allowDangerousHtml||!1,o={};return l.dangerous=r,l.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,l.footnoteLabel=t.footnoteLabel||"Footnotes",l.footnoteLabelTagName=t.footnoteLabelTagName||"h2",l.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},l.footnoteBackLabel=t.footnoteBackLabel||"Back to content",l.unknownHandler=t.unknownHandler,l.passThrough=t.passThrough,l.handlers=Jt(Jt({},Ut),t.handlers),l.definition=function(e){var n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return At(e,"definition",(function(e){var t=Dt(e.identifier);t&&!Lt.call(n,t)&&(n[t]=e)})),function(e){var t=Dt(e);return t&&Lt.call(n,t)?n[t]:null}}(e),l.footnoteById=o,l.footnoteOrder=[],l.footnoteCounts={},l.patch=Xt,l.applyData=$t,l.one=function(e,n){return Kt(l,e,n)},l.all=function(e){return er(l,e)},l.wrap=nr,l.augment=i,At(e,"footnoteDefinition",(function(e){var n=String(e.identifier).toUpperCase();Gt.call(o,n)||(o[n]=e)})),l;function i(e,n){if(e&&"data"in e&&e.data){var t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties=Jt(Jt({},n.properties),t.hProperties)),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){var r="type"in e?e:{position:e};(function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)})(r)||(n.position={start:jt(r),end:Ct(r)})}return n}function l(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}function Xt(e,n){e.position&&(n.position=function(e){return{start:jt(e),end:Ct(e)}}(e))}function $t(e,n){var t=n;if(e&&e.data){var r=e.data.hName,o=e.data.hChildren,i=e.data.hProperties;"string"==typeof r&&("element"===t.type?t.tagName=r:t={type:"element",tagName:r,properties:{},children:[]}),"element"===t.type&&i&&(t.properties=Jt(Jt({},t.properties),i)),"children"in t&&t.children&&null!=o&&(t.children=o)}return t}function Kt(e,n,t){var r=n&&n.type;if(!r)throw new Error("Expected node, got `"+n+"`");return Gt.call(e.handlers,r)?e.handlers[r](e,n,t):e.passThrough&&e.passThrough.includes(r)?"children"in n?Jt(Jt({},n),{},{children:er(e,n)}):n:e.unknownHandler?e.unknownHandler(e,n,t):function(e,n){var t=n.data||{},r=!("value"in n)||Gt.call(t,"hProperties")||Gt.call(t,"hChildren")?{type:"element",tagName:"div",properties:{},children:er(e,n)}:{type:"text",value:n.value};return e.patch(n,r),e.applyData(n,r)}(e,n)}function er(e,n){var t=[];if("children"in n)for(var r=n.children,o=-1;++o<r.length;){var i=Kt(e,r[o],n);if(i){if(o&&"break"===r[o-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){var l=i.children[0];l&&"text"===l.type&&(l.value=l.value.replace(/^\s+/,""))}Array.isArray(i)?t.push.apply(t,_t(i)):t.push(i)}}return t}function nr(e,n){var t=[],r=-1;for(n&&t.push({type:"text",value:"\n"});++r<e.length;)r&&t.push({type:"text",value:"\n"}),t.push(e[r]);return n&&e.length>0&&t.push({type:"text",value:"\n"}),t}function tr(e,n){var t=qt(e,n),r=t.one(e,null),o=function(e){for(var n=[],t=-1;++t<e.footnoteOrder.length;){var r=e.footnoteById[e.footnoteOrder[t]];if(r){for(var o=e.all(r),i=String(r.identifier).toUpperCase(),l=mt(i.toLowerCase()),a=0,u=[];++a<=e.footnoteCounts[i];){var c={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+l+(a>1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};a>1&&c.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(c)}var s=o[o.length-1];if(s&&"element"===s.type&&"p"===s.tagName){var f,p=s.children[s.children.length-1];p&&"text"===p.type?p.value+=" ":s.children.push({type:"text",value:" "}),(f=s.children).push.apply(f,u)}else o.push.apply(o,u);var d={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:e.wrap(o,!0)};e.patch(r,d),n.push(d)}}if(0!==n.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:gt(gt({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{},{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(n,!0)},{type:"text",value:"\n"}]}}(t);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}var rr=function(e,n){return e&&"run"in e?function(e,n){return function(t,r,o){e.run(tr(t,n),r,(function(e){o(e)}))}}(e,n):function(e){return function(n){return tr(n,e)}}(e||n)};var or=t(16526);function ir(e){return ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ir(e)}function lr(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,n){if("object"!==ir(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==ir(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(o,"string"),"symbol"===ir(i)?i:String(i)),r)}var o,i}function ar(e,n,t){return n&&lr(e.prototype,n),t&&lr(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var ur=ar((function e(n,t,r){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.property=n,this.normal=t,r&&(this.space=r)}));function cr(e,n){for(var t={},r={},o=-1;++o<e.length;)Object.assign(t,e[o].property),Object.assign(r,e[o].normal);return new ur(t,r,n)}function sr(e){return e.toLowerCase()}function fr(e){return fr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fr(e)}function pr(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,n){if("object"!==fr(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==fr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(o,"string"),"symbol"===fr(i)?i:String(i)),r)}var o,i}function dr(e,n,t){return n&&pr(e.prototype,n),t&&pr(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}ur.prototype.property={},ur.prototype.normal={},ur.prototype.space=null;var mr=dr((function e(n,t){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.property=n,this.attribute=t}));mr.prototype.space=null,mr.prototype.boolean=!1,mr.prototype.booleanish=!1,mr.prototype.overloadedBoolean=!1,mr.prototype.number=!1,mr.prototype.commaSeparated=!1,mr.prototype.spaceSeparated=!1,mr.prototype.commaOrSpaceSeparated=!1,mr.prototype.mustUseProperty=!1,mr.prototype.defined=!1;var hr=0,yr=Sr(),gr=Sr(),vr=Sr(),br=Sr(),xr=Sr(),wr=Sr(),kr=Sr();function Sr(){return Math.pow(2,++hr)}function Ir(e){return Ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ir(e)}function Mr(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,n){if("object"!==Ir(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==Ir(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(o,"string"),"symbol"===Ir(i)?i:String(i)),r)}var o,i}function Ar(e,n){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Ar(e,n)}function jr(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=Er(e);if(n){var o=Er(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return function(e,n){if(n&&("object"===Ir(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return Cr(e)}(this,t)}}function Cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Er(e)}var Lr=Object.keys(o),Dr=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Ar(e,n)}(l,e);var n,t,r,i=jr(l);function l(e,n,t,r){var a;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l);var u=-1;if(Tr(Cr(a=i.call(this,e,n)),"space",r),"number"==typeof t)for(;++u<Lr.length;){var c=Lr[u];Tr(Cr(a),Lr[u],(t&o[c])===o[c])}return a}return n=l,t&&Mr(n.prototype,t),r&&Mr(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(mr);function Tr(e,n,t){t&&(e[n]=t)}Dr.prototype.defined=!0;var Pr={}.hasOwnProperty;function Or(e){var n,t={},r={};for(n in e.properties)if(Pr.call(e.properties,n)){var o=e.properties[n],i=new Dr(n,e.transform(e.attributes||{},n),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[sr(n)]=n,r[sr(i.attribute)]=n}return new ur(t,r,e.space)}var zr=Or({space:"xlink",transform:function(e,n){return"xlink:"+n.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Nr=Or({space:"xml",transform:function(e,n){return"xml:"+n.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Fr(e,n){return n in e?e[n]:n}function Rr(e,n){return Fr(e,n.toLowerCase())}var Br=Or({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Rr,properties:{xmlns:null,xmlnsXLink:null}}),Hr=Or({transform:function(e,n){return"role"===n?n:"aria-"+n.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:gr,ariaAutoComplete:null,ariaBusy:gr,ariaChecked:gr,ariaColCount:br,ariaColIndex:br,ariaColSpan:br,ariaControls:xr,ariaCurrent:null,ariaDescribedBy:xr,ariaDetails:null,ariaDisabled:gr,ariaDropEffect:xr,ariaErrorMessage:null,ariaExpanded:gr,ariaFlowTo:xr,ariaGrabbed:gr,ariaHasPopup:null,ariaHidden:gr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:xr,ariaLevel:br,ariaLive:null,ariaModal:gr,ariaMultiLine:gr,ariaMultiSelectable:gr,ariaOrientation:null,ariaOwns:xr,ariaPlaceholder:null,ariaPosInSet:br,ariaPressed:gr,ariaReadOnly:gr,ariaRelevant:null,ariaRequired:gr,ariaRoleDescription:xr,ariaRowCount:br,ariaRowIndex:br,ariaRowSpan:br,ariaSelected:gr,ariaSetSize:br,ariaSort:null,ariaValueMax:br,ariaValueMin:br,ariaValueNow:br,ariaValueText:null,role:null}}),Ur=Or({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Rr,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wr,acceptCharset:xr,accessKey:xr,action:null,allow:null,allowFullScreen:yr,allowPaymentRequest:yr,allowUserMedia:yr,alt:null,as:null,async:yr,autoCapitalize:null,autoComplete:xr,autoFocus:yr,autoPlay:yr,blocking:xr,capture:yr,charSet:null,checked:yr,cite:null,className:xr,cols:br,colSpan:null,content:null,contentEditable:gr,controls:yr,controlsList:xr,coords:br|wr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:yr,defer:yr,dir:null,dirName:null,disabled:yr,download:vr,draggable:gr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:yr,formTarget:null,headers:xr,height:br,hidden:yr,high:br,href:null,hrefLang:null,htmlFor:xr,httpEquiv:xr,id:null,imageSizes:null,imageSrcSet:null,inert:yr,inputMode:null,integrity:null,is:null,isMap:yr,itemId:null,itemProp:xr,itemRef:xr,itemScope:yr,itemType:xr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:yr,low:br,manifest:null,max:null,maxLength:br,media:null,method:null,min:null,minLength:br,multiple:yr,muted:yr,name:null,nonce:null,noModule:yr,noValidate:yr,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:yr,optimum:br,pattern:null,ping:xr,placeholder:null,playsInline:yr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:yr,referrerPolicy:null,rel:xr,required:yr,reversed:yr,rows:br,rowSpan:br,sandbox:xr,scope:null,scoped:yr,seamless:yr,selected:yr,shape:null,size:br,sizes:null,slot:null,span:br,spellCheck:gr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:br,step:null,style:null,tabIndex:br,target:null,title:null,translate:null,type:null,typeMustMatch:yr,useMap:null,value:gr,width:br,wrap:null,align:null,aLink:null,archive:xr,axis:null,background:null,bgColor:null,border:br,borderColor:null,bottomMargin:br,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:yr,declare:yr,event:null,face:null,frame:null,frameBorder:null,hSpace:br,leftMargin:br,link:null,longDesc:null,lowSrc:null,marginHeight:br,marginWidth:br,noResize:yr,noHref:yr,noShade:yr,noWrap:yr,object:null,profile:null,prompt:null,rev:null,rightMargin:br,rules:null,scheme:null,scrolling:gr,standby:null,summary:null,text:null,topMargin:br,valueType:null,version:null,vAlign:null,vLink:null,vSpace:br,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:yr,disableRemotePlayback:yr,prefix:null,property:null,results:br,security:null,unselectable:null}}),Zr=Or({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Fr,properties:{about:kr,accentHeight:br,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:br,amplitude:br,arabicForm:null,ascent:br,attributeName:null,attributeType:null,azimuth:br,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:br,by:null,calcMode:null,capHeight:br,className:xr,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:br,diffuseConstant:br,direction:null,display:null,dur:null,divisor:br,dominantBaseline:null,download:yr,dx:null,dy:null,edgeMode:null,editable:null,elevation:br,enableBackground:null,end:null,event:null,exponent:br,externalResourcesRequired:null,fill:null,fillOpacity:br,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:wr,g2:wr,glyphName:wr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:br,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:br,horizOriginX:br,horizOriginY:br,id:null,ideographic:br,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:br,k:br,k1:br,k2:br,k3:br,k4:br,kernelMatrix:kr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:br,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:br,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:br,overlineThickness:br,paintOrder:null,panose1:null,path:null,pathLength:br,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:xr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:br,pointsAtY:br,pointsAtZ:br,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:kr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:kr,rev:kr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:kr,requiredFeatures:kr,requiredFonts:kr,requiredFormats:kr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:br,specularExponent:br,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:br,strikethroughThickness:br,string:null,stroke:null,strokeDashArray:kr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:br,strokeOpacity:br,strokeWidth:null,style:null,surfaceScale:br,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:kr,tabIndex:br,tableValues:null,target:null,targetX:br,targetY:br,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:kr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:br,underlineThickness:br,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:br,values:null,vAlphabetic:br,vMathematical:br,vectorEffect:null,vHanging:br,vIdeographic:br,version:null,vertAdvY:br,vertOriginX:br,vertOriginY:br,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:br,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Yr=cr([Nr,zr,Br,Hr,Ur],"html"),_r=cr([Nr,zr,Br,Hr,Zr],"svg");function Vr(e){return function(e){if(Array.isArray(e))return Wr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return Wr(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Wr(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wr(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Jr(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return function(n){At(n,"element",(function(n,t,r){var o,i=r;if(e.allowedElements?o=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(n.tagName)),!o&&e.allowElement&&"number"==typeof t&&(o=!e.allowElement(n,t,i)),o&&"number"==typeof t){var l;if(e.unwrapDisallowed&&n.children)(l=i.children).splice.apply(l,[t,1].concat(Vr(n.children)));else i.children.splice(t,1);return t}}))}}var Qr=t(87745);function Gr(e){return Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gr(e)}var qr=/^data[-\w.:]+$/i,Xr=/-[a-z]/g,$r=/[A-Z]/g;function Kr(e){return"-"+e.toLowerCase()}function eo(e){return e.charAt(1).toUpperCase()}var no={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function to(e){return function(e){if(Array.isArray(e))return ro(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return ro(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ro(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ro(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var oo=t(58729),io=["http","https","mailto","tel"];function lo(e){var n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;var r=n.indexOf(":");if(-1===r)return n;for(var o=-1;++o<io.length;){var i=io[o];if(r===i.length&&n.slice(0,i.length).toLowerCase()===i)return n}return-1!==(o=n.indexOf("?"))&&r>o||-1!==(o=n.indexOf("#"))&&r>o?n:"javascript:void(0)"}var ao={}.hasOwnProperty,uo=new Set(["table","thead","tbody","tfoot","tr"]);function co(e,n){for(var t,r,o,i=[],l=-1;++l<n.children.length;)"element"===(t=n.children[l]).type?i.push(so(e,t,l,n)):"text"===t.type?"element"===n.type&&uo.has(n.tagName)&&(o=void 0,"string"==typeof(o=(r=t)&&"object"===Gr(r)&&"text"===r.type?r.value||"":r)&&""===o.replace(/[ \t\n\f\r]/g,""))||i.push(t.value):"raw"!==t.type||e.options.skipHtml||i.push(t.value);return i}function so(e,n,t,r){var o,l=e.options,a=void 0===l.transformLinkUri?lo:l.transformLinkUri,u=e.schema,c=n.tagName,s={},f=u;if("html"===u.space&&"svg"===c&&(f=_r,e.schema=f),n.properties)for(o in n.properties)ao.call(n.properties,o)&&po(s,o,n.properties[o],e);"ol"!==c&&"ul"!==c||e.listDepth++;var p=co(e,n);"ol"!==c&&"ul"!==c||e.listDepth--,e.schema=u;var d,m=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=l.components&&ao.call(l.components,c)?l.components[c]:c,y="string"==typeof h||h===i.Fragment;if(!Qr.isValidElementType(h))throw new TypeError("Component for name `".concat(c,"` not defined or is not renderable"));if(s.key=t,"a"===c&&l.linkTarget&&(s.target="function"==typeof l.linkTarget?l.linkTarget(String(s.href||""),n.children,"string"==typeof s.title?s.title:null):l.linkTarget),"a"===c&&a&&(s.href=a(String(s.href||""),n.children,"string"==typeof s.title?s.title:null)),y||"code"!==c||"element"!==r.type||"pre"===r.tagName||(s.inline=!0),y||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(s.level=Number.parseInt(c.charAt(1),10)),"img"===c&&l.transformImageUri&&(s.src=l.transformImageUri(String(s.src||""),String(s.alt||""),"string"==typeof s.title?s.title:null)),!y&&"li"===c&&"element"===r.type){var g=function(e){var n=-1;for(;++n<e.children.length;){var t=e.children[n];if("element"===t.type&&"input"===t.tagName)return t}return null}(n);s.checked=g&&g.properties?Boolean(g.properties.checked):null,s.index=fo(r,n),s.ordered="ol"===r.tagName}return y||"ol"!==c&&"ul"!==c||(s.ordered="ol"===c,s.depth=e.listDepth),"td"!==c&&"th"!==c||(s.align&&(s.style||(s.style={}),s.style.textAlign=s.align,delete s.align),y||(s.isHeader="th"===c)),y||"tr"!==c||"element"!==r.type||(s.isHeader=Boolean("thead"===r.tagName)),l.sourcePos&&(s["data-sourcepos"]=[(d=m).start.line,":",d.start.column,"-",d.end.line,":",d.end.column].map(String).join("")),!y&&l.rawSourcePos&&(s.sourcePosition=n.position),!y&&l.includeElementIndex&&(s.index=fo(r,n),s.siblingCount=fo(r)),y||(s.node=n),p.length>0?i.createElement(h,s,p):i.createElement(h,s)}function fo(e,n){for(var t=-1,r=0;++t<e.children.length&&e.children[t]!==n;)"element"===e.children[t].type&&r++;return r}function po(e,n,t,r){var o,i,l,a=function(e,n){var t=sr(n),r=n,o=mr;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&"data"===t.slice(0,4)&&qr.test(n)){if("-"===n.charAt(4)){var i=n.slice(5).replace(Xr,eo);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{var l=n.slice(4);if(!Xr.test(l)){var a=l.replace($r,Kr);"-"!==a.charAt(0)&&(a="-"+a),n="data"+a}}o=Dr}return new o(r,n)}(r.schema,n),u=t;null!=u&&u==u&&(Array.isArray(u)&&(u=a.commaSeparated?(l=i||{},(""===(o=u)[o.length-1]?[].concat(to(o),[""]):o).join((l.padRight?" ":"")+","+(!1===l.padLeft?"":" ")).trim()):function(e){return e.join(" ").trim()}(u)),"style"===a.property&&"string"==typeof u&&(u=function(e){var n={};try{oo(e,t)}catch(e){}return n;function t(e,t){var r="-ms-"===e.slice(0,4)?"ms-".concat(e.slice(4)):e;n[r.replace(/-([a-z])/g,mo)]=t}}(u)),a.space&&a.property?e[ao.call(no,a.property)?no[a.property]:a.property]=u:a.attribute&&(e[a.attribute]=u))}function mo(e,n){return n.toUpperCase()}function ho(e){return ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ho(e)}function yo(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function go(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?yo(Object(t),!0).forEach((function(n){vo(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yo(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function vo(e,n,t){return(n=function(e){var n=function(e,n){if("object"!==ho(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===ho(n)?n:String(n)}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var bo={}.hasOwnProperty,xo="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",wo={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function ko(e){for(var n in wo)if(bo.call(wo,n)&&bo.call(e,n)){var t=wo[n];console.warn("[react-markdown] Warning: please ".concat(t.to?"use `".concat(t.to,"` instead of"):"remove"," `").concat(n,"` (see <").concat(xo,"#").concat(t.id,"> for more info)")),delete wo[n]}var r=G().use(dt).use(e.remarkPlugins||[]).use(rr,go(go({},e.remarkRehypeOptions),{},{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(Jr,e),o=new T;"string"==typeof e.children?o.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));var l=r.runSync(r.parse(o),o);if("root"!==l.type)throw new TypeError("Expected a `root` node");var a=i.createElement(i.Fragment,{},co({options:e,schema:Yr,listDepth:0},l));return e.className&&(a=i.createElement("div",{className:e.className},a)),a}ko.propTypes={children:or.string,className:or.string,allowElement:or.func,allowedElements:or.arrayOf(or.string),disallowedElements:or.arrayOf(or.string),unwrapDisallowed:or.bool,remarkPlugins:or.arrayOf(or.oneOfType([or.object,or.func,or.arrayOf(or.oneOfType([or.bool,or.string,or.object,or.func,or.arrayOf(or.any)]))])),rehypePlugins:or.arrayOf(or.oneOfType([or.object,or.func,or.arrayOf(or.oneOfType([or.bool,or.string,or.object,or.func,or.arrayOf(or.any)]))])),sourcePos:or.bool,rawSourcePos:or.bool,skipHtml:or.bool,includeElementIndex:or.bool,transformLinkUri:or.oneOfType([or.func,or.bool]),linkTarget:or.oneOfType([or.func,or.string]),transformImageUri:or.func,components:or.object}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkimio_smartweb_core_webcomponents=self.webpackChunkimio_smartweb_core_webcomponents||[]).push([[267],{67676:function(e,t,n){n(78709);t.Z=n.p+"assets/pin-react-active.07d154037a15be5525b823fdc626cf29.svg"},59834:function(e,t,n){n(78709);t.Z=n.p+"assets/pin-react.fda934b5daf26dd4da2a71a7e7e44431.svg"},91267:function(e,t,n){n.r(t),n.d(t,{default:function(){return re}});var r=n(78709),a=n(12707),l=n(51031),c=n(59927),i=n(14844),o=n(93580);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,c,i=[],o=!0,s=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{if(!o&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(s)throw a}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=function(e){var t=(0,l.k6)(),a=n(31296),s=d((0,r.useState)(e.activeFilter),2),m=s[0],h=s[1],E=d((0,r.useState)(null),2),g=E[0],y=E[1],b=d((0,r.useState)(null),2),w=b[0],N=b[1],S=(0,i.Z)({method:"get",url:"",baseURL:e.url,headers:{Accept:"application/json"},params:m}),O=S.response;S.error,S.isLoading,(0,r.useEffect)((function(){if(null!==O){var e=O.topics&&O.topics.map((function(e){return{value:e.token,label:e.title}})),t=O.category&&O.category.map((function(e){return{value:e.token,label:e.title}}));y(e),N(t)}}),[O]);var x=(0,r.useCallback)((function(e){var t=e.target,n=t.name,r=t.value;r.length>2?h((function(e){return f(f({},e),{},p({},n,r))}),[]):h((function(e){var t=f({},e);t[n];return u(t,[n].map(v))}))})),j=(0,r.useCallback)((function(e,t){var n=t.name;e?h((function(t){return f(f({},t),{},p({},n,e.value))}),[]):h((function(e){var t=f({},e);t[n];return u(t,[n].map(v))}))})),I=(0,r.useRef)(!0);(0,r.useEffect)((function(){I.current?I.current=!1:(t.push({pathname:"./",search:a.stringify(m)}),e.onChange(m))}),[m]);var _=g&&g.filter((function(t){return t.value===e.activeFilter.topics})),k=w&&w.filter((function(t){return t.value===e.activeFilter.category})),A={control:function(e){return f(f({},e),{},{backgroundColor:"white",borderRadius:"0",height:"50px"})},placeholder:function(e){return f(f({},e),{},{color:"000",fontWeight:"bold",fontSize:"12px",textTransform:"uppercase",letterSpacing:"1.2px"})},option:function(e,t){t.data,t.isDisabled,t.isFocused,t.isSelected;return f({},e)}};return r.createElement(r.Fragment,null,r.createElement("form",{className:"r-filter",onSubmit:function(t){t.preventDefault(),e.onChange(m)}},r.createElement("div",{className:"r-filter-search"},r.createElement(o.$H,null,(function(e){var t=e.translate;return r.createElement("input",{className:"input-custom-class",name:"SearchableText",type:"text",value:m.SearchableText,onChange:x,placeholder:t({text:"Recherche"})})})),r.createElement("button",{type:"submit"}))),r.createElement("div",{className:"r-filter topics-Filter"},r.createElement(o.$H,null,(function(e){var t=e.translate;return r.createElement(c.ZP,{styles:A,name:"topics",className:"select-custom-class library-topics",isClearable:!0,onChange:j,options:g&&g,placeholder:t({text:"Thématiques"}),value:_&&_[0]})}))),r.createElement("div",{className:"r-filter facilities-Filter"},r.createElement(o.$H,null,(function(e){var t=e.translate;return r.createElement(c.ZP,{styles:A,name:"category",className:"select-custom-class library-facilities",isClearable:!0,onChange:j,options:w&&w,placeholder:t({text:"Catégories"}),value:k&&k[0]})}))))},g=n(6489),y=n(78279),b=n.n(y),w=n(8047),N=n.n(w),S=n(61584),O=(n(17110),["u"]);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,c,i=[],o=!0,s=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{if(!o&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(s)throw a}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function I(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var _=function(e){var t=e.queryUrl,a=e.onChange,c=(0,l.k6)(),s=n(31296),u=Object.assign({UID:s.parse((0,g.Z)().toString()).u,fullobjects:1}),m=(u.u,I(u,O)),f=x((0,r.useState)(m),2),p=f[0],v=f[1],d=x((0,r.useState)({}),2),h=d[0],E=d[1],y=x((0,r.useState)(0),2),w=y[0],N=y[1],j=x((0,r.useState)(0),2),_=j[0],k=j[1],A=(0,i.Z)({method:"get",url:"",baseURL:t,headers:{Accept:"application/json"},params:p},[]),U=A.response;A.error,A.isLoading;(0,r.useEffect)((function(){v(m)}),[s.parse((0,g.Z)().toString()).u]),(0,r.useEffect)((function(){null!==U&&E(U.items[0]),window.scrollTo(0,0)}),[U]),(0,r.useEffect)((function(){h.items&&h.items.length>0&&(N(h.items.filter((function(e){return"File"===e["@type"]}))),k(h.items.filter((function(e){return"Image"===e["@type"]}))))}),[h]),b().locale("be");var H=b().utc(h.start).format("DD-MM-YYYY"),C=b().utc(h.end).format("DD-MM-YYYY"),P=b().utc(h.start).format("LT"),M=b().utc(h.end).format("LT"),D="https://www.google.com/maps/dir/?api=1&destination="+h.street+"+"+h.number+"+"+h.complement+"+"+h.zipcode+"+"+h.city;return D=D.replaceAll("+null",""),r.createElement("div",{className:"envent-content r-content"},r.createElement("button",{type:"button",onClick:function(){c.push("./"),a(null)}},r.createElement(o.vN,{text:"Retour"})),r.createElement("article",null,r.createElement("header",null,r.createElement("h2",{className:"r-content-title"},h.title)),r.createElement("figure",null,r.createElement("div",{className:"r-content-img",style:{backgroundImage:h.image_affiche_scale?"url("+h.image_affiche_scale+")":""}})),r.createElement("span",{className:"news-info-title"},r.createElement(o.vN,{text:"Infos pratiques"})),r.createElement("div",{className:"r-content-news-info"},r.createElement("div",{className:"r-content-news-info-container"},r.createElement("div",{className:"r-content-news-info-schedul"},r.createElement("div",{className:"icon-baseline"},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMinYMin",viewBox:"0 0 19.41 19.41"},r.createElement("path",{d:"M16.09,2.74H14.35V.85a.44.44,0,0,0-.43-.44H12.47A.44.44,0,0,0,12,.85V2.74H7.38V.85A.44.44,0,0,0,7,.41H5.5a.44.44,0,0,0-.44.44V2.74H3.32A1.74,1.74,0,0,0,1.58,4.48V17.26A1.74,1.74,0,0,0,3.32,19H16.09a1.74,1.74,0,0,0,1.75-1.74V4.48A1.74,1.74,0,0,0,16.09,2.74Zm-.21,14.52H3.54A.22.22,0,0,1,3.32,17h0V6.22H16.09V17a.21.21,0,0,1-.21.22Z"}))),r.createElement("div",{className:"dpinlb"},r.createElement("div",{className:"r-content-news-info--date"},H===C?r.createElement("div",null,h.whole_day?r.createElement("div",{className:"r-content-date-start"},r.createElement("span",null,"Le "),r.createElement("div",{className:"r-time"},H)):h.open_end?r.createElement(r.Fragment,null,r.createElement("div",{className:"r-content-date-one-day"},r.createElement("div",{className:"r-content-date-start"},r.createElement("span",null,"Le "),r.createElement("div",{className:"r-time"},H),r.createElement("span",null," à "),r.createElement("div",{className:"r-time-hours"},P)))):r.createElement(r.Fragment,null,r.createElement("div",{className:"r-content-date-one-day"},r.createElement("div",{className:"r-content-date-start"},r.createElement("span",null,"Le "),r.createElement("div",{className:"r-time"},H)),r.createElement("div",{className:"r-content-date-start-hours"},r.createElement("span",null,"de "),r.createElement("div",{className:"r-time-hours"},P),r.createElement("span",null," à "),r.createElement("div",{className:"r-time-hours"},M))))):r.createElement("div",{className:"r-content-date-du-au"},r.createElement("div",{className:"r-content-date-start"},r.createElement("span",null,"Du "),r.createElement("div",{className:"r-time"},H)),r.createElement("div",{className:"r-content-date-end"},r.createElement("span",null," au "),r.createElement("div",{className:"r-time"},C)))))),r.createElement("div",{className:"r-content-news-info-aera"},h.street?r.createElement("div",{className:"icon-baseline"},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19.41 19.41"},r.createElement("path",{d:"M9,18.34C3.9,10.94,3,10.18,3,7.45a6.75,6.75,0,0,1,13.49,0c0,2.73-.94,3.49-6,10.89a.85.85,0,0,1-1.17.22A.77.77,0,0,1,9,18.34Zm.7-8.07A2.82,2.82,0,1,0,6.89,7.45a2.83,2.83,0,0,0,2.82,2.82Z"}))):"",r.createElement("div",{className:"dpinlb"},r.createElement("div",{className:"r-content-news-info--itinirary"},h.street?r.createElement("a",{href:D,target:"_blank"},r.createElement("span",null,"Itinéraire")):""),!0===h.reduced_mobility_facilities?r.createElement("div",{className:"r-content-news-info--reduced"},r.createElement("span",null,r.createElement(o.vN,{text:"Accessible aux PMR"}))):"")),r.createElement("div",{className:"r-content-news-info-contact"},r.createElement("div",{className:"dpinlb"},r.createElement("div",{className:"r-content-news-info--name"},r.createElement("span",null,h.contact_name)),r.createElement("div",{className:"r-content-news-info--phone"},r.createElement("span",null,r.createElement("a",{href:"tel:".concat(h.contact_phone)},h.contact_phone))),r.createElement("div",{className:"r-content-news-info--email"},r.createElement("a",{href:"mailto:".concat(h.contact_email)},h.contact_email)))),null===h.event_url&&null===h.online_participation&&null===h.video_url?"":r.createElement("div",{className:"r-content-news-info-link"},r.createElement("div",{className:"icon-baseline"},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19.41 19.41"},r.createElement("path",{d:"M16.36,2.22H3.06a1.3,1.3,0,0,0-1.3,1.3h0v9a1.3,1.3,0,0,0,1.3,1.3H7.52v1.74h-.7a.8.8,0,0,0,0,1.6h5.79a.8.8,0,0,0,0-1.6h-.7V13.85h4.45a1.31,1.31,0,0,0,1.3-1.3v-9A1.3,1.3,0,0,0,16.36,2.22Zm-1.9,10.83a.37.37,0,1,1,.36-.37h0a.36.36,0,0,1-.36.36Zm1.6.08a.45.45,0,1,1,.44-.45h0a.44.44,0,0,1-.44.45h0Zm.53-1.35H2.82V3.52a.23.23,0,0,1,.23-.23H16.36a.23.23,0,0,1,.23.23h0v8.27Z"}))),r.createElement("div",{className:"dpinlb"},null===h.event_url?"":r.createElement("div",{className:"r-content-news-info-event_link"},r.createElement("a",{href:h.event_url},r.createElement(o.vN,{text:"Lien de l'événement"}))),null===h.online_participation?"":r.createElement("div",{className:"r-content-news-info--online_participation"},r.createElement("a",{href:h.online_participation},r.createElement(o.vN,{text:"Participation en ligne"}))),null===h.video_url?"":r.createElement("div",{className:"r-content-news-info--video"},r.createElement("a",{href:h.video_url},r.createElement(o.vN,{text:"Lien vers la vidéo"}))))),null===h.facebook&&null===h.instagram&&null===h.twitter?"":r.createElement("div",{className:"r-content-news-info-social"},r.createElement("ul",null,h.facebook?r.createElement("li",null,r.createElement("a",{href:h.facebook,target:"_blank"},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"800",width:"1200",viewBox:"-204.79995 -341.33325 1774.9329 2047.9995"},r.createElement("path",{d:"M1365.333 682.667C1365.333 305.64 1059.693 0 682.667 0 305.64 0 0 305.64 0 682.667c0 340.738 249.641 623.16 576 674.373V880H402.667V682.667H576v-150.4c0-171.094 101.917-265.6 257.853-265.6 74.69 0 152.814 13.333 152.814 13.333v168h-86.083c-84.804 0-111.25 52.623-111.25 106.61v128.057h189.333L948.4 880H789.333v477.04c326.359-51.213 576-333.635 576-674.373",fill:"#100f0d"}),r.createElement("path",{d:"M948.4 880l30.267-197.333H789.333V554.609C789.333 500.623 815.78 448 900.584 448h86.083V280s-78.124-13.333-152.814-13.333c-155.936 0-257.853 94.506-257.853 265.6v150.4H402.667V880H576v477.04a687.805 687.805 0 00106.667 8.293c36.288 0 71.91-2.84 106.666-8.293V880H948.4",fill:"#fff"})))):"",h.instagram?r.createElement("li",null,r.createElement("a",{href:h.instagram,target:"_blank"},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"800",width:"1200",viewBox:"-100.7682 -167.947 873.3244 1007.682"},r.createElement("g",{fill:"#100f0d"},r.createElement("path",{d:"M335.895 0c-91.224 0-102.663.387-138.49 2.021-35.752 1.631-60.169 7.31-81.535 15.612-22.088 8.584-40.82 20.07-59.493 38.743-18.674 18.673-30.16 37.407-38.743 59.495C9.33 137.236 3.653 161.653 2.02 197.405.386 233.232 0 244.671 0 335.895c0 91.222.386 102.661 2.02 138.488 1.633 35.752 7.31 60.169 15.614 81.534 8.584 22.088 20.07 40.82 38.743 59.495 18.674 18.673 37.405 30.159 59.493 38.743 21.366 8.302 45.783 13.98 81.535 15.612 35.827 1.634 47.266 2.021 138.49 2.021 91.222 0 102.661-.387 138.488-2.021 35.752-1.631 60.169-7.31 81.534-15.612 22.088-8.584 40.82-20.07 59.495-38.743 18.673-18.675 30.159-37.407 38.743-59.495 8.302-21.365 13.981-45.782 15.612-81.534 1.634-35.827 2.021-47.266 2.021-138.488 0-91.224-.387-102.663-2.021-138.49-1.631-35.752-7.31-60.169-15.612-81.534-8.584-22.088-20.07-40.822-38.743-59.495-18.675-18.673-37.407-30.159-59.495-38.743-21.365-8.302-45.782-13.981-81.534-15.612C438.556.387 427.117 0 335.895 0zm0 60.521c89.686 0 100.31.343 135.729 1.959 32.75 1.493 50.535 6.965 62.37 11.565 15.68 6.094 26.869 13.372 38.622 25.126 11.755 11.754 19.033 22.944 25.127 38.622 4.6 11.836 10.072 29.622 11.565 62.371 1.616 35.419 1.959 46.043 1.959 135.73 0 89.687-.343 100.311-1.959 135.73-1.493 32.75-6.965 50.535-11.565 62.37-6.094 15.68-13.372 26.869-25.127 38.622-11.753 11.755-22.943 19.033-38.621 25.127-11.836 4.6-29.622 10.072-62.371 11.565-35.413 1.616-46.036 1.959-135.73 1.959-89.694 0-100.315-.343-135.73-1.96-32.75-1.492-50.535-6.964-62.37-11.564-15.68-6.094-26.869-13.372-38.622-25.127-11.754-11.753-19.033-22.943-25.127-38.621-4.6-11.836-10.071-29.622-11.565-62.371-1.616-35.419-1.959-46.043-1.959-135.73 0-89.687.343-100.311 1.959-135.73 1.494-32.75 6.965-50.535 11.565-62.37 6.094-15.68 13.373-26.869 25.126-38.622 11.754-11.755 22.944-19.033 38.622-25.127 11.836-4.6 29.622-10.072 62.371-11.565 35.419-1.616 46.043-1.959 135.73-1.959"}),r.createElement("path",{d:"M335.895 447.859c-61.838 0-111.966-50.128-111.966-111.964 0-61.838 50.128-111.966 111.966-111.966 61.836 0 111.964 50.128 111.964 111.966 0 61.836-50.128 111.964-111.964 111.964zm0-284.451c-95.263 0-172.487 77.224-172.487 172.487 0 95.261 77.224 172.485 172.487 172.485 95.261 0 172.485-77.224 172.485-172.485 0-95.263-77.224-172.487-172.485-172.487m219.608-6.815c0 22.262-18.047 40.307-40.308 40.307-22.26 0-40.307-18.045-40.307-40.307 0-22.261 18.047-40.308 40.307-40.308 22.261 0 40.308 18.047 40.308 40.308"}))))):"",h.twitter?r.createElement("li",null,r.createElement("a",{href:h.twitter,target:"_blank"},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"800",width:"1200",viewBox:"-44.7006 -60.54775 387.4052 363.2865"},r.createElement("path",{fill:"#000",d:"M93.719 242.19c112.46 0 173.96-93.168 173.96-173.96 0-2.646-.054-5.28-.173-7.903a124.338 124.338 0 0030.498-31.66c-10.955 4.87-22.744 8.148-35.11 9.626 12.622-7.57 22.313-19.543 26.885-33.817a122.62 122.62 0 01-38.824 14.841C239.798 7.433 223.915 0 206.326 0c-33.764 0-61.144 27.381-61.144 61.132 0 4.798.537 9.465 1.586 13.941-50.815-2.557-95.874-26.886-126.03-63.88a60.977 60.977 0 00-8.279 30.73c0 21.212 10.794 39.938 27.208 50.893a60.685 60.685 0 01-27.69-7.647c-.009.257-.009.507-.009.781 0 29.61 21.075 54.332 49.051 59.934a61.218 61.218 0 01-16.122 2.152 60.84 60.84 0 01-11.491-1.103c7.784 24.293 30.355 41.971 57.115 42.465-20.926 16.402-47.287 26.171-75.937 26.171-4.929 0-9.798-.28-14.584-.846 27.059 17.344 59.189 27.464 93.722 27.464"})))):""))),r.createElement("div",{className:"r-content-news-info-action"},h.ticket_url?r.createElement("div",{className:"r-content-booking"},r.createElement("a",{href:h.ticket_url},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19.41 19.41"},r.createElement("circle",{cx:"13.03",cy:"14.61",r:"0.63",fill:"fill:#fff"}),r.createElement("circle",{cx:"11.59",cy:"6.52",r:"0.63",fill:"fill:#fff"}),r.createElement("path",{d:"M17.11,11.47h.62V7.71h-1.6a1.25,1.25,0,0,1-1.25-1.25,1.27,1.27,0,0,1,.67-1.12l.54-.28-1.6-3.39-12.8,6h0v3.76h.63a1.26,1.26,0,0,1,0,2.51H1.68v3.76H17.73V14h-.62a1.26,1.26,0,1,1,0-2.51Zm-6.9-6.4a.63.63,0,0,0,1.14-.53l2.54-1.2.58,1.23A2.52,2.52,0,0,0,14,7.71H4.63Zm6.27,10.08v1.34H13.66a.63.63,0,1,0-1.26,0H2.93V15.16a2.51,2.51,0,0,0,0-4.86V9H12.4a.63.63,0,0,0,1.26,0h2.82V10.3a2.51,2.51,0,0,0,0,4.86Z",fill:"fill:#fff"}),r.createElement("circle",{cx:"13.03",cy:"10.85",r:"0.63",fill:"fill:#fff"}),r.createElement("circle",{cx:"13.03",cy:"12.73",r:"0.63",fill:"fill:#fff"})),r.createElement(o.vN,{text:"Billetterie"}))):"")),r.createElement("div",{className:"r-content-description"},r.createElement(S.D,null,h.description)),r.createElement("div",{className:"r-content-text",dangerouslySetInnerHTML:{__html:h.text&&h.text.data}}),w?r.createElement("div",{className:"r-content-files"},w.map((function(e){return r.createElement("div",{className:"r-content-file"},r.createElement("a",{href:e.targetUrl,className:"r-content-file-link",rel:"nofollow"},r.createElement("span",{className:"r-content-file-title"},e.title),r.createElement("span",{className:"r-content-file-icon"},r.createElement("svg",{width:"21",height:"21",viewBox:"0 0 24 24",fill:"none",stroke:"#8899a4","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"arcs"},r.createElement("path",{d:"M3 15v4c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-4M17 9l-5 5-5-5M12 12.8V2.5"}))," ")))}))):"",_?r.createElement("div",{className:"r-content-gallery"},r.createElement("div",{className:"spotlight-group flexbin r-content-gallery"},_.map((function(e){return r.createElement("a",{className:"spotlight",href:e.image_full_scale},r.createElement("img",{src:e.image_preview_scale}))})))):""))},k=function(e){var t=e.contactItem,n=t.title&&t.title,a=(t.taxonomy_contact_category&&t.taxonomy_contact_category[0],b()(t.start&&t.start));t.number&&t.number,t.street&&t.street,t.complement&&t.complement,t.zipcode&&t.zipcode,t.city&&t.city,t.country&&t.country,t.phones&&t.phones,t.mails&&t.mails,t.topics&&t.topics;return r.createElement("div",{className:"r-list-item"},r.createElement("div",{className:t.image_vignette_scale?"r-item-img":"r-item-img r-item-img-placeholder",style:{backgroundImage:t.image_vignette_scale?"url("+t.image_vignette_scale+")":""}}),r.createElement("div",{className:"r-item-text"},t.category?r.createElement("span",{className:"r-item-categorie"},t.category.title):"",r.createElement("span",{className:"r-item-title"},n),a?r.createElement("span",{className:"r-item-date"},r.createElement(N(),{format:"DD-MM-YYYY"},a)):""))},A=n(29924),U=n.n(A),H=function(e){var t=e.contactArray,n=e.onChange,l=e.onHover;e.parentCallback;function c(e){l(e)}return r.createElement(r.Fragment,null,r.createElement("ul",{className:"r-result-list event-result-list"},t.map((function(e,t){return r.createElement("li",{key:t,className:"r-list-item-group",onMouseEnter:function(){return c(e.UID)},onMouseLeave:function(){return c(null)},onClick:function(){return t=e.UID,void n(t);var t}},r.createElement(a.rU,{className:"r-list-item-link",style:{textDecoration:"none"},to:{pathname:U()(e.title).replace(/[^a-zA-Z ]/g,"").replace(/\s/g,"-").toLowerCase(),search:"?u=".concat(e.UID),state:{idItem:e.UID}}}),r.createElement(k,{contactItem:e,key:e.created}))}))))},C=n(38458),P=n(35108),M=n(16683),D=n(22948),L=n(79221),Z=n(48818),V=n.n(Z),T=n(59834),z=n(67676);function F(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,c,i=[],o=!0,s=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{if(!o&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(s)throw a}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Y(e){var t=e.activeItem,n=e.arrayOfLatLngs,r=(0,C.Sx)();if(t){var a=[];a.push(t.geolocation.latitude),a.push(t.geolocation.longitude),r.setView(a,15)}else{var l=new(V().LatLngBounds)(n);r.fitBounds(l)}return null}var q=function(e){var t=F((0,r.useState)(null),2),n=t[0],l=t[1],c=F((0,r.useState)(null),2),i=(c[0],c[1]),o=F((0,r.useState)([]),2),s=o[0],u=o[1],m=F((0,r.useState)(null),2),f=m[0],p=m[1];function v(e){return new(V().Icon)({iconUrl:e,iconSize:[29,37]})}(0,r.useEffect)((function(){var t=e.items.filter((function(e){return e.geolocation.latitude&&50.4989185!==e.geolocation.latitude&&4.7184485!==e.geolocation.longitude}));u(t)}),[e]);var d=function(t){return t===e.clickId||t===e.hoverId?999:1};return(0,r.useEffect)((function(){if(null!==e.clickId){var t=s&&s.filter((function(t){return t.UID===e.clickId}));l(t[0])}else l(null)}),[e.clickId]),(0,r.useEffect)((function(){if(e.hoverId){var t=s&&s.filter((function(t){return t.UID===e.hoverId}));i(t[0])}else i(null)}),[e.hoverId]),(0,r.useEffect)((function(){if(s.length>0){var e=[];s.map((function(t,n){var r=t.geolocation.latitude,a=t.geolocation.longitude;e.push([r,a])})),p(e)}}),[s]),r.createElement("div",null,r.createElement(P.h,{style:{height:"calc(100vh - ".concat(e.headerHeight,"px)"),minHeight:"600px"},center:[50.85034,4.35171],zoom:15},r.createElement(M.I,{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),null!=f?r.createElement(Y,{activeItem:n,arrayOfLatLngs:f&&f}):"",s&&s.map((function(t){return r.createElement(D.J,{key:t.UID,icon:(n=t.UID,n===e.clickId||n===e.hoverId?v(z.Z):v(T.Z)),zIndexOffset:d(t.UID),position:[t.geolocation?t.geolocation.latitude:"",t.geolocation?t.geolocation.longitude:""],eventHandlers:{mouseover:function(e){}}},r.createElement(L.G,{closeButton:!1},r.createElement(a.rU,{className:"r-map-popup",style:{textDecoration:"none"},to:{pathname:U()(t.title.replace(/\s/g,"-").toLowerCase()),search:"?u=".concat(t.UID),state:{idItem:t.UID}}},r.createElement("span",{className:"r-map-popup-title"},t.title),r.createElement("p",{className:"r-map-popup-category"},t.category&&t.category.title))));var n}))))},R=n(38401);function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}var W=["u"];function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){K(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function K(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==$(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==$(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===$(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q(e){return function(e){if(Array.isArray(e))return te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ee(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,c,i=[],o=!0,s=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{if(!o&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(s)throw a}}return i}}(e,t)||ee(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t){if(e){if("string"==typeof e)return te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?te(e,t):void 0}}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ne(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function re(e){return r.createElement(a.UT,null,r.createElement(o.zt,{language:e.currentLanguage,translation:R.Z},r.createElement(ae,{queryFilterUrl:e.queryFilterUrl,queryUrl:e.queryUrl,proposeUrl:e.proposeUrl,batchSize:e.batchSize,displayMap:e.displayMap})))}function ae(e){var t=n(31296),c=Object.assign({b_start:0,fullobjects:1},t.parse((0,g.Z)().toString())),s=(c.u,ne(c,W)),u=X((0,r.useState)([]),2),m=u[0],f=u[1],p=X((0,r.useState)([]),2),v=p[0],d=p[1],h=X((0,r.useState)(null),2),y=h[0],b=h[1],w=X((0,r.useState)(null),2),N=w[0],S=w[1],O=X((0,r.useState)(s),2),x=O[0],j=O[1],I=X((0,r.useState)(0),2),k=I[0],A=I[1],U=X((0,r.useState)(!1),2),C=U[0],P=U[1],M="True"===e.displayMap,D=(0,i.Z)({method:"get",url:"",baseURL:e.queryUrl,headers:{Accept:"application/json"},params:x,load:C},[]),L=D.response,Z=(D.error,D.isLoading),V=D.isMore;(0,r.useEffect)((function(){null!==L&&(f(V?function(e){return[].concat(Q(e),Q(L.items))}:L.items),d(L.items_total))}),[L]);var T=function(e){b(e)};(0,r.useEffect)((function(){j((function(e){return J(J({},e),{},{b_start:k})}))}),[k]);var z,F,B=document.getElementById("portal-header").offsetHeight,Y=(0,r.useRef)(),R=X(r.useState({height:0}),2),$=R[0],G=R[1];(0,r.useEffect)((function(){G({height:Y.current.clientHeight})}),[Y.current]),m&&m.length>0?(z=r.createElement(H,{onChange:T,contactArray:m,onHover:function(e){S(e)}}),F=r.createElement(q,{headerHeight:$.height+B,clickId:y,hoverId:N,items:m})):Z||(z=r.createElement("p",null,r.createElement(o.vN,{text:"Aucun événement n'a été trouvé"})));var K=r.createElement("div",{className:"lds-roller-container"},r.createElement("div",{className:"lds-roller"},r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null),r.createElement("div",null)));return r.createElement(a.UT,null,r.createElement("div",{className:"ref ".concat(M?"view-map":"no-map")},r.createElement("div",{className:"r-result-filter-container",ref:Y,style:{top:B}},r.createElement("div",{id:"r-result-filter",className:"r-result-filter container annuaire-result-filter"},r.createElement(E,{url:e.queryFilterUrl,activeFilter:x,onChange:function(e){P(!1),A((function(e){return 0})),j(e),window.scrollTo(0,0)}}),e.proposeUrl&&r.createElement("div",{className:"r-add-event"},r.createElement("a",{target:"_blank",href:e.proposeUrl},r.createElement(o.vN,{text:"Proposer un événement"}))),v>0?r.createElement("p",{className:"r-results-numbers"},r.createElement("span",null,v),v>1?r.createElement(o.vN,{text:"événements trouvés"}):r.createElement(o.vN,{text:"événement trouvé"})):r.createElement("p",{className:"r-results-numbers"},r.createElement(o.vN,{text:"Aucun résultat"})))),r.createElement(l.rs,null,r.createElement(l.AW,{path:"/:name"},r.createElement("div",{className:"r-wrapper container r-annuaire-wrapper"},r.createElement("div",{className:"r-result r-annuaire-result"},r.createElement(_,{queryUrl:e.queryUrl,onChange:T})),M&&r.createElement("div",{className:"r-map annuaire-map",style:{top:$.height+B,height:"calc(100vh-"+$.height+B}},F))),r.createElement(l.AW,{exact:!0,path:"*"},r.createElement("div",{className:"r-wrapper container r-annuaire-wrapper"},r.createElement("div",{className:"r-result r-annuaire-result"},r.createElement("div",null,z),r.createElement("div",{className:"r-load-more"},v-e.batchSize>k?r.createElement("div",null,r.createElement("span",{className:"no-more-result"},Z?K:""),r.createElement("button",{onClick:function(){A((function(t){return t+parseInt(e.batchSize)})),P(!0)},className:"btn-grad"},Z?r.createElement(o.vN,{text:"Chargement..."}):r.createElement(o.vN,{text:"Plus de résultats"}))):r.createElement("span",{className:"no-more-result"},Z?K:""))),M&&r.createElement("div",{className:"r-map annuaire-map",style:{top:$.height+B,height:"calc(100vh-"+$.height+B}},F))))))}}}]);