@dso-toolkit/core 90.2.0 → 91.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. package/dist/bundle/dso-accordion-section.js +10 -10
  2. package/dist/bundle/dso-accordion.js +1 -1
  3. package/dist/bundle/dso-action-list-item.js +3 -3
  4. package/dist/bundle/dso-action-list.js +2 -2
  5. package/dist/bundle/dso-advanced-select.js +8 -8
  6. package/dist/bundle/dso-alert.js +1 -1
  7. package/dist/bundle/dso-annotation-activiteit.js +10 -10
  8. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +9 -9
  9. package/dist/bundle/dso-annotation-kaart.js +5 -5
  10. package/dist/bundle/dso-annotation-locatie.js +1 -1
  11. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +10 -10
  12. package/dist/bundle/dso-attachments-counter.js +1 -1
  13. package/dist/bundle/dso-autosuggest.js +6 -6
  14. package/dist/bundle/dso-badge.js +1 -1
  15. package/dist/bundle/dso-banner.js +1 -1
  16. package/dist/bundle/dso-button-group.js +1 -1
  17. package/dist/bundle/dso-card-container.js +1 -1
  18. package/dist/bundle/dso-card.js +2 -2
  19. package/dist/bundle/dso-contact-information.js +1 -1
  20. package/dist/bundle/dso-cursor-tooltip.js +1 -1
  21. package/dist/bundle/dso-date-picker.js +1 -1
  22. package/dist/bundle/dso-document-card.js +2 -2
  23. package/dist/bundle/dso-document-component.js +1 -1
  24. package/dist/bundle/dso-dropdown-menu.js +1 -1
  25. package/dist/bundle/dso-expandable.js +1 -1
  26. package/dist/bundle/dso-header.js +4 -4
  27. package/dist/bundle/dso-highlight-box.js +2 -2
  28. package/dist/bundle/dso-history-item.js +7 -6
  29. package/dist/bundle/dso-icon-button.js +1 -1
  30. package/dist/bundle/dso-icon.js +1 -1
  31. package/dist/bundle/dso-image-overlay.js +1 -1
  32. package/dist/bundle/dso-info-button.js +1 -1
  33. package/dist/bundle/dso-info.js +1 -1
  34. package/dist/bundle/dso-input-range.js +10 -10
  35. package/dist/bundle/dso-label.js +1 -1
  36. package/dist/bundle/dso-legend-group.js +5 -5
  37. package/dist/bundle/dso-legend-item.js +8 -8
  38. package/dist/bundle/dso-legend.js +6 -6
  39. package/dist/bundle/dso-list-button.js +8 -8
  40. package/dist/bundle/dso-logo.js +2 -2
  41. package/dist/bundle/dso-map-base-layers.js +10 -10
  42. package/dist/bundle/dso-map-controls.js +7 -7
  43. package/dist/bundle/dso-map-layer-object.js +4 -4
  44. package/dist/bundle/dso-map-layer.js +4 -4
  45. package/dist/bundle/dso-map-message.js +4 -4
  46. package/dist/bundle/dso-map-overlays.js +10 -10
  47. package/dist/bundle/dso-mark-bar.js +4 -4
  48. package/dist/bundle/dso-modal.js +7 -7
  49. package/dist/bundle/dso-onboarding-tip.js +5 -5
  50. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  51. package/dist/bundle/dso-ozon-content.js +1 -1
  52. package/dist/bundle/dso-pagination.js +3 -3
  53. package/dist/bundle/dso-panel.js +1 -1
  54. package/dist/bundle/dso-plekinfo-card.js +4 -4
  55. package/dist/bundle/dso-progress-indicator.js +1 -1
  56. package/dist/bundle/dso-project-item.js +6 -6
  57. package/dist/bundle/dso-renvooi.js +1 -1
  58. package/dist/bundle/dso-responsive-element.js +1 -1
  59. package/dist/bundle/dso-scrollable.js +1 -1
  60. package/dist/bundle/dso-segmented-button.js +2 -2
  61. package/dist/bundle/dso-selectable.js +1 -1
  62. package/dist/bundle/dso-skiplink.js +3 -3
  63. package/dist/bundle/dso-slide-toggle.js +1 -1
  64. package/dist/bundle/dso-survey-rating.js +6 -6
  65. package/dist/bundle/dso-tab.js +1 -1
  66. package/dist/bundle/dso-table.js +1 -1
  67. package/dist/bundle/dso-tabs.js +2 -2
  68. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  69. package/dist/bundle/dso-toggletip.js +7 -8
  70. package/dist/bundle/dso-tooltip.js +1 -1
  71. package/dist/bundle/dso-tree-view.js +4 -4
  72. package/dist/bundle/dso-viewer-grid.js +2 -2
  73. package/dist/bundle/dsot-document-component-demo.js +20 -20
  74. package/dist/bundle/index.js +2 -2
  75. package/dist/bundle/{p-BrjfgYHu.js → p-Aw2GDcd_.js} +1 -1
  76. package/dist/bundle/{p-BtoSFmxi.js → p-B-4vwR9R.js} +4 -4
  77. package/dist/bundle/{p-Yb_1DkLQ.js → p-B3_SLWNA.js} +2 -2
  78. package/dist/bundle/{p-DkfAYJEK.js → p-BEeZGrQZ.js} +1 -1
  79. package/dist/bundle/{p-YQatg-S9.js → p-BN7BaBN6.js} +10 -10
  80. package/dist/bundle/{p-S5dgiDyu.js → p-BTGCfFEi.js} +4 -4
  81. package/dist/bundle/{p-DHnYupzr.js → p-Bpxt6ayX.js} +1 -1
  82. package/dist/bundle/{p-DgXlrrIE.js → p-BrHMwOG1.js} +2 -2
  83. package/dist/bundle/{p-BknPxtzH.js → p-BtO3hbCA.js} +3 -3
  84. package/dist/bundle/{p-DU-jWPQj.js → p-BtSsjpsk.js} +4 -4
  85. package/dist/bundle/{p-DmmKAUIT.js → p-ChUPoPD0.js} +23 -14
  86. package/dist/bundle/{p-jCIJm9RS.js → p-CwtbTbJR.js} +2 -2
  87. package/dist/bundle/{p-Co2uuask.js → p-Cx-wt8X8.js} +1 -1
  88. package/dist/bundle/{p-Cvc_zdE2.js → p-D1-LTBJ5.js} +4 -4
  89. package/dist/bundle/{p-Cv4NtJR0.js → p-D5HubnB5.js} +2 -2
  90. package/dist/bundle/{p-C_akviUd.js → p-DEQj4hHE.js} +1 -1
  91. package/dist/bundle/{p-XMxdbO4a.js → p-DNfICZYP.js} +2 -2
  92. package/dist/bundle/{p-CJuXnQoh.js → p-DVcclNIE.js} +3 -3
  93. package/dist/bundle/{p-BmmH_eu_.js → p-Dlc0se6g.js} +13 -13
  94. package/dist/bundle/{p-DVa4-JLn.js → p-DqzYyiPW.js} +1 -1
  95. package/dist/bundle/{p-HAIRtan0.js → p-DrnFQ7QE.js} +1 -1
  96. package/dist/bundle/{p-B09PltTN.js → p-DtKW-Ahw.js} +6 -6
  97. package/dist/bundle/{p-ntyBxyGu.js → p-DxWHGT19.js} +5 -5
  98. package/dist/bundle/{p-CxUu0O7_.js → p-OxRzmdbG.js} +3 -3
  99. package/dist/bundle/{p-BF6yRtxl.js → p-PyXrDQQO.js} +4 -4
  100. package/dist/bundle/{p-FXEjFTzg.js → p-ULwgxD7S.js} +33 -12
  101. package/dist/bundle/{p-BW1PprKl.js → p-ZVYFxI1s.js} +1 -1
  102. package/dist/bundle/{p-CIaQxmqO.js → p-eDWNcXMC.js} +8 -16
  103. package/dist/bundle/{p-nkfcrXkM.js → p-eonzuQ6G.js} +3 -3
  104. package/dist/bundle/{p-DfR9IgAn.js → p-gyRjz9FA.js} +9 -9
  105. package/dist/bundle/{p-BNIsduz8.js → p-j2wKDi7f.js} +7 -7
  106. package/dist/bundle/{p-CVb-Vo71.js → p-uPEAyTMl.js} +3 -3
  107. package/dist/bundle/{p-DhxQaUrY.js → p-yUjhN7ux.js} +4 -4
  108. package/dist/bundle/{p-BgyqGgJ8.js → p-zRaH89Qj.js} +72 -64
  109. package/dist/cjs/{annotation-body-RMdkmeDi.js → annotation-body-D709UN2k.js} +1 -1
  110. package/dist/cjs/{annotation-list-renvooi-values-yougabBy.js → annotation-list-renvooi-values-Bf6MmhgH.js} +1 -1
  111. package/dist/cjs/{annotation-watcher-CRuL5p8N.js → annotation-watcher-nmRcLxK5.js} +1 -1
  112. package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
  113. package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
  114. package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
  115. package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
  116. package/dist/cjs/dso-advanced-select.cjs.entry.js +2 -2
  117. package/dist/cjs/dso-alert_7.cjs.entry.js +12 -12
  118. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +4 -4
  119. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +3 -3
  120. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
  121. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +4 -4
  122. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +4 -4
  123. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
  124. package/dist/cjs/dso-autosuggest.cjs.entry.js +3 -3
  125. package/dist/cjs/dso-banner.cjs.entry.js +1 -1
  126. package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
  127. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  128. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  129. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  130. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
  131. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
  134. package/dist/cjs/dso-header.cjs.entry.js +2 -2
  135. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  136. package/dist/cjs/dso-history-item.cjs.entry.js +4 -4
  137. package/dist/cjs/dso-icon_2.cjs.entry.js +6 -6
  138. package/dist/cjs/dso-info-button.cjs.entry.js +7 -14
  139. package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
  140. package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
  141. package/dist/cjs/dso-label_3.cjs.entry.js +5 -5
  142. package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
  143. package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
  144. package/dist/cjs/dso-legend.cjs.entry.js +3 -3
  145. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  146. package/dist/cjs/dso-logo.cjs.entry.js +2 -2
  147. package/dist/cjs/dso-map-base-layers.cjs.entry.js +4 -4
  148. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  149. package/dist/cjs/dso-map-layer-object.cjs.entry.js +3 -3
  150. package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
  151. package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
  152. package/dist/cjs/dso-map-overlays.cjs.entry.js +4 -4
  153. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  154. package/dist/cjs/dso-modal.cjs.entry.js +4 -4
  155. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +4 -4
  156. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  157. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +3 -3
  158. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  159. package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
  160. package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
  161. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  162. package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
  163. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  164. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  165. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  166. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  167. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  168. package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
  169. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  170. package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
  171. package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
  172. package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
  173. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +3 -3
  174. package/dist/cjs/{floating-ui.dom-D-ZpkBFm.js → floating-ui.dom-ClybLJQM.js} +72 -64
  175. package/dist/cjs/{i18n-CBaOSyHy.js → i18n-EVv0JhYm.js} +33 -12
  176. package/dist/cjs/{index-BKUr3Wdg.js → index-Dqk4tvHL.js} +23 -14
  177. package/dist/cjs/loader.cjs.js +2 -2
  178. package/dist/cjs/{parse-wijzigactie-from-node.function-B_NZh4Us.js → parse-wijzigactie-from-node.function-2IxB-3Tj.js} +1 -1
  179. package/dist/cjs/{position-tooltip.function-Bwu_g1_t.js → position-tooltip.function-CppeKAt4.js} +1 -1
  180. package/dist/cjs/{tooltip.functional-component-ByUlZk1N.js → tooltip.functional-component-DrN_v5w1.js} +1 -1
  181. package/dist/cjs/{v4-DVHpSsrI.js → v4-B9KyY_nQ.js} +1 -1
  182. package/dist/cjs/{wrap-wijzigactie.functional-component-BNrVU6nv.js → wrap-wijzigactie.functional-component-CJUtPTJt.js} +1 -1
  183. package/dist/collection/collection-manifest.json +2 -1
  184. package/dist/collection/components/accordion/components/accordion-section.css +3 -0
  185. package/dist/collection/components/action-list/action-list.css +1 -1
  186. package/dist/collection/components/action-list/components/action-list-item.css +6 -6
  187. package/dist/collection/components/highlight-box/highlight-box.css +5 -5
  188. package/dist/collection/components/history-item/history-item.css +29 -11
  189. package/dist/collection/components/history-item/history-item.js +22 -3
  190. package/dist/collection/components/icon/icon.js +1 -1
  191. package/dist/collection/components/icon-button/icon-button.js +1 -1
  192. package/dist/collection/components/info/info.js +1 -1
  193. package/dist/collection/components/info-button/info-button.css +0 -15
  194. package/dist/collection/components/info-button/info-button.js +2 -28
  195. package/dist/collection/components/input-range/input-range.js +9 -9
  196. package/dist/collection/components/label/label.js +2 -2
  197. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  198. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  199. package/dist/collection/components/legend/legend.js +1 -1
  200. package/dist/collection/components/list-button/list-button.js +1 -1
  201. package/dist/collection/components/logo/logo.js +1 -1
  202. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  203. package/dist/collection/components/map-controls/map-controls.js +1 -1
  204. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  205. package/dist/collection/components/map-layer/map-layer.js +1 -1
  206. package/dist/collection/components/map-message/map-message.js +2 -2
  207. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  208. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  209. package/dist/collection/components/modal/modal.js +1 -1
  210. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  211. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
  212. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  213. package/dist/collection/components/panel/panel.js +1 -1
  214. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  215. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  216. package/dist/collection/components/project-item/project-item.js +1 -1
  217. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  218. package/dist/collection/components/scrollable/scrollable.js +2 -2
  219. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  220. package/dist/collection/components/selectable/selectable.js +1 -1
  221. package/dist/collection/components/skiplink/skiplink.js +1 -1
  222. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  223. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  224. package/dist/collection/components/table/table.js +1 -1
  225. package/dist/collection/components/tabs/tabs.js +1 -1
  226. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  227. package/dist/collection/components/toggletip/toggletip.js +1 -20
  228. package/dist/collection/components/tooltip/tooltip.js +1 -1
  229. package/dist/collection/components/tree-view/tree-view.js +1 -1
  230. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  231. package/dist/collection/utils/i18n.js +1 -0
  232. package/dist/components/dso-accordion-section.js +1 -1
  233. package/dist/components/dso-action-list-item.js +1 -1
  234. package/dist/components/dso-action-list.js +1 -1
  235. package/dist/components/dso-advanced-select.js +1 -1
  236. package/dist/components/dso-highlight-box.js +1 -1
  237. package/dist/components/dso-history-item.js +1 -1
  238. package/dist/components/dso-input-range.js +1 -1
  239. package/dist/components/dso-legend-group.js +1 -1
  240. package/dist/components/dso-legend-item.js +1 -1
  241. package/dist/components/dso-legend.js +1 -1
  242. package/dist/components/dso-list-button.js +1 -1
  243. package/dist/components/dso-logo.js +1 -1
  244. package/dist/components/dso-map-base-layers.js +1 -1
  245. package/dist/components/dso-map-controls.js +1 -1
  246. package/dist/components/dso-map-layer-object.js +1 -1
  247. package/dist/components/dso-map-layer.js +1 -1
  248. package/dist/components/dso-map-message.js +1 -1
  249. package/dist/components/dso-map-overlays.js +1 -1
  250. package/dist/components/dso-mark-bar.js +1 -1
  251. package/dist/components/dso-modal.js +1 -1
  252. package/dist/components/dso-onboarding-tip.js +1 -1
  253. package/dist/components/dso-plekinfo-card.js +1 -1
  254. package/dist/components/dso-project-item.js +1 -1
  255. package/dist/components/dso-segmented-button.js +1 -1
  256. package/dist/components/dso-skiplink.js +1 -1
  257. package/dist/components/dso-survey-rating.js +1 -1
  258. package/dist/components/dso-tabs.js +1 -1
  259. package/dist/components/dso-tijdreis-banner.js +1 -1
  260. package/dist/components/dso-toggletip.js +1 -1
  261. package/dist/components/dso-tree-view.js +1 -1
  262. package/dist/components/dso-viewer-grid.js +1 -1
  263. package/dist/components/floating-ui.dom.js +1 -1
  264. package/dist/components/i18n.js +1 -1
  265. package/dist/components/icon-button.js +1 -1
  266. package/dist/components/icon.js +1 -1
  267. package/dist/components/info-button.js +1 -1
  268. package/dist/components/info.js +1 -1
  269. package/dist/components/label.js +1 -1
  270. package/dist/components/ozon-content-toggletip.js +1 -1
  271. package/dist/components/ozon-content.js +1 -1
  272. package/dist/components/panel.js +1 -1
  273. package/dist/components/progress-indicator.js +1 -1
  274. package/dist/components/responsive-element.js +1 -1
  275. package/dist/components/scrollable.js +1 -1
  276. package/dist/components/selectable.js +1 -1
  277. package/dist/components/slide-toggle.js +1 -1
  278. package/dist/components/table.js +1 -1
  279. package/dist/components/tooltip.js +1 -1
  280. package/dist/components/v4.js +1 -1
  281. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  282. package/dist/dso-toolkit/{p-a2bbe083.entry.js → p-01eb841e.entry.js} +1 -1
  283. package/dist/dso-toolkit/{p-780737ad.entry.js → p-064c5a7a.entry.js} +1 -1
  284. package/dist/dso-toolkit/{p-c52616a2.entry.js → p-0806202d.entry.js} +1 -1
  285. package/dist/dso-toolkit/{p-ac6825b5.entry.js → p-0860136b.entry.js} +1 -1
  286. package/dist/dso-toolkit/{p-7229fed0.entry.js → p-0aad5fe6.entry.js} +1 -1
  287. package/dist/dso-toolkit/p-0d157ae7.entry.js +1 -0
  288. package/dist/dso-toolkit/{p-3290cf30.entry.js → p-0f876c0a.entry.js} +1 -1
  289. package/dist/dso-toolkit/{p-05e7c356.entry.js → p-1fa1ffbc.entry.js} +1 -1
  290. package/dist/dso-toolkit/{p-2b751600.entry.js → p-2398e358.entry.js} +1 -1
  291. package/dist/dso-toolkit/{p-3fee4537.entry.js → p-28494f89.entry.js} +1 -1
  292. package/dist/dso-toolkit/{p-200819a2.entry.js → p-2f516e4b.entry.js} +1 -1
  293. package/dist/dso-toolkit/{p-c650002e.entry.js → p-331a77f3.entry.js} +1 -1
  294. package/dist/dso-toolkit/p-3d59a7bb.entry.js +1 -0
  295. package/dist/dso-toolkit/{p-fe4dd620.entry.js → p-3e5b2fef.entry.js} +1 -1
  296. package/dist/dso-toolkit/{p-e8f4fcd0.entry.js → p-3f0c3325.entry.js} +3 -3
  297. package/dist/dso-toolkit/{p-2d950317.entry.js → p-3f6d1167.entry.js} +1 -1
  298. package/dist/dso-toolkit/{p-36e813f9.entry.js → p-41bf7330.entry.js} +1 -1
  299. package/dist/dso-toolkit/p-43b8db31.entry.js +1 -0
  300. package/dist/dso-toolkit/{p-c5766326.entry.js → p-466cd42e.entry.js} +1 -1
  301. package/dist/dso-toolkit/{p-d8c89791.entry.js → p-4bf15aa2.entry.js} +1 -1
  302. package/dist/dso-toolkit/p-4f7c6b0b.entry.js +1 -0
  303. package/dist/dso-toolkit/{p-a563e235.entry.js → p-51c0ca8c.entry.js} +1 -1
  304. package/dist/dso-toolkit/p-521908e4.entry.js +1 -0
  305. package/dist/dso-toolkit/{p-188f383c.entry.js → p-5c68cd75.entry.js} +1 -1
  306. package/dist/dso-toolkit/{p-0d296ef0.entry.js → p-655e3b73.entry.js} +1 -1
  307. package/dist/dso-toolkit/{p-747e0b01.entry.js → p-6bcc7aa8.entry.js} +1 -1
  308. package/dist/dso-toolkit/{p-c33dc797.entry.js → p-6e5e6778.entry.js} +1 -1
  309. package/dist/dso-toolkit/{p-ff1d91b4.entry.js → p-6ffcff75.entry.js} +1 -1
  310. package/dist/dso-toolkit/{p-2c4eb07e.entry.js → p-7267f3f4.entry.js} +1 -1
  311. package/dist/dso-toolkit/{p-5893f749.entry.js → p-75001c55.entry.js} +1 -1
  312. package/dist/dso-toolkit/{p-6fc38a28.entry.js → p-758753b4.entry.js} +1 -1
  313. package/dist/dso-toolkit/p-762bae0a.entry.js +1 -0
  314. package/dist/dso-toolkit/{p-a90e1620.entry.js → p-7e01a979.entry.js} +1 -1
  315. package/dist/dso-toolkit/{p-16e69d06.entry.js → p-850d9452.entry.js} +1 -1
  316. package/dist/dso-toolkit/{p-bca812a8.entry.js → p-86250ce1.entry.js} +1 -1
  317. package/dist/dso-toolkit/{p-ec04f087.entry.js → p-8bfb71c6.entry.js} +1 -1
  318. package/dist/dso-toolkit/{p-4c305060.entry.js → p-8cbecafb.entry.js} +1 -1
  319. package/dist/dso-toolkit/{p-b63c1d6a.entry.js → p-8dbdfc2c.entry.js} +1 -1
  320. package/dist/dso-toolkit/{p-55a2d0ce.entry.js → p-8ec9c2e4.entry.js} +1 -1
  321. package/dist/dso-toolkit/{p-2391ab39.entry.js → p-9ddc4327.entry.js} +1 -1
  322. package/dist/dso-toolkit/{p-BlaG0Agw.js → p-B9WLR_Pd.js} +1 -1
  323. package/dist/dso-toolkit/p-BIfnbekk.js +2 -0
  324. package/dist/dso-toolkit/{p-Ce5efsIs.js → p-BaoXsbsy.js} +1 -1
  325. package/dist/dso-toolkit/p-BuFNkQa2.js +1 -0
  326. package/dist/dso-toolkit/p-CJ3poofC.js +1 -0
  327. package/dist/dso-toolkit/p-Co-_Hv5Q.js +1 -0
  328. package/dist/dso-toolkit/p-DEQj4hHE.js +1 -0
  329. package/dist/dso-toolkit/p-DHajDj9P.js +1 -0
  330. package/dist/dso-toolkit/p-ULwgxD7S.js +1 -0
  331. package/dist/dso-toolkit/p-Vx2gP-Bl.js +1 -0
  332. package/dist/dso-toolkit/{p-e1dca044.entry.js → p-a1bbab8d.entry.js} +1 -1
  333. package/dist/dso-toolkit/p-a1ce78db.entry.js +1 -0
  334. package/dist/dso-toolkit/{p-881da5bc.entry.js → p-a28f17f3.entry.js} +1 -1
  335. package/dist/dso-toolkit/{p-a22d7d1e.entry.js → p-a33024ef.entry.js} +1 -1
  336. package/dist/dso-toolkit/{p-7b2ac6ae.entry.js → p-ac214c2f.entry.js} +1 -1
  337. package/dist/dso-toolkit/p-b10d5ff7.entry.js +1 -0
  338. package/dist/dso-toolkit/{p-e47f6979.entry.js → p-bcb59685.entry.js} +1 -1
  339. package/dist/dso-toolkit/{p-bbf2a5cb.entry.js → p-c0235338.entry.js} +1 -1
  340. package/dist/dso-toolkit/p-c0974a7b.entry.js +1 -0
  341. package/dist/dso-toolkit/{p-d819289c.entry.js → p-c1bbf72e.entry.js} +1 -1
  342. package/dist/dso-toolkit/{p-f09a941a.entry.js → p-c485698f.entry.js} +1 -1
  343. package/dist/dso-toolkit/{p-0c6c3d19.entry.js → p-c9ad74b4.entry.js} +1 -1
  344. package/dist/dso-toolkit/{p-0bbe5de0.entry.js → p-cbc7268a.entry.js} +1 -1
  345. package/dist/dso-toolkit/{p-b0bc4aed.entry.js → p-d0bbc40a.entry.js} +1 -1
  346. package/dist/dso-toolkit/{p-25bb82be.entry.js → p-db1a32fc.entry.js} +1 -1
  347. package/dist/dso-toolkit/{p-c800076a.entry.js → p-dbbdb8de.entry.js} +1 -1
  348. package/dist/dso-toolkit/{p-0b4ddc17.entry.js → p-e1feb2cb.entry.js} +1 -1
  349. package/dist/dso-toolkit/{p-027fc4fe.entry.js → p-e331aecd.entry.js} +1 -1
  350. package/dist/dso-toolkit/{p-7c74a079.entry.js → p-e3ccc1f7.entry.js} +1 -1
  351. package/dist/dso-toolkit/{p-3631a64d.entry.js → p-ed940510.entry.js} +1 -1
  352. package/dist/dso-toolkit/{p-35c8afb5.entry.js → p-f9d75ac8.entry.js} +1 -1
  353. package/dist/dso-toolkit/p-zRaH89Qj.js +1 -0
  354. package/dist/esm/{annotation-body-Ce5c-0pe.js → annotation-body-XmHPl1j-.js} +1 -1
  355. package/dist/esm/{annotation-list-renvooi-values-B9Td2jg4.js → annotation-list-renvooi-values-BrskkBG_.js} +1 -1
  356. package/dist/esm/{annotation-watcher-Dk6POxYU.js → annotation-watcher-CXzFGupS.js} +1 -1
  357. package/dist/esm/dso-accordion-section.entry.js +2 -2
  358. package/dist/esm/dso-accordion.entry.js +1 -1
  359. package/dist/esm/dso-action-list-item.entry.js +2 -2
  360. package/dist/esm/dso-action-list.entry.js +2 -2
  361. package/dist/esm/dso-advanced-select.entry.js +2 -2
  362. package/dist/esm/dso-alert_7.entry.js +12 -12
  363. package/dist/esm/dso-annotation-activiteit.entry.js +4 -4
  364. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +3 -3
  365. package/dist/esm/dso-annotation-kaart.entry.js +2 -2
  366. package/dist/esm/dso-annotation-locatie_2.entry.js +4 -4
  367. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +4 -4
  368. package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
  369. package/dist/esm/dso-autosuggest.entry.js +3 -3
  370. package/dist/esm/dso-banner.entry.js +1 -1
  371. package/dist/esm/dso-button-group.entry.js +1 -1
  372. package/dist/esm/dso-card-container.entry.js +1 -1
  373. package/dist/esm/dso-card.entry.js +1 -1
  374. package/dist/esm/dso-contact-information.entry.js +1 -1
  375. package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
  376. package/dist/esm/dso-date-picker.entry.js +1 -1
  377. package/dist/esm/dso-document-card.entry.js +1 -1
  378. package/dist/esm/dso-dropdown-menu.entry.js +3 -3
  379. package/dist/esm/dso-header.entry.js +2 -2
  380. package/dist/esm/dso-highlight-box.entry.js +2 -2
  381. package/dist/esm/dso-history-item.entry.js +4 -4
  382. package/dist/esm/dso-icon_2.entry.js +6 -6
  383. package/dist/esm/dso-info-button.entry.js +7 -14
  384. package/dist/esm/dso-info_2.entry.js +3 -3
  385. package/dist/esm/dso-input-range.entry.js +3 -3
  386. package/dist/esm/dso-label_3.entry.js +5 -5
  387. package/dist/esm/dso-legend-group.entry.js +3 -3
  388. package/dist/esm/dso-legend-item.entry.js +3 -3
  389. package/dist/esm/dso-legend.entry.js +3 -3
  390. package/dist/esm/dso-list-button.entry.js +2 -2
  391. package/dist/esm/dso-logo.entry.js +2 -2
  392. package/dist/esm/dso-map-base-layers.entry.js +4 -4
  393. package/dist/esm/dso-map-controls.entry.js +3 -3
  394. package/dist/esm/dso-map-layer-object.entry.js +3 -3
  395. package/dist/esm/dso-map-layer.entry.js +3 -3
  396. package/dist/esm/dso-map-message.entry.js +3 -3
  397. package/dist/esm/dso-map-overlays.entry.js +4 -4
  398. package/dist/esm/dso-mark-bar.entry.js +2 -2
  399. package/dist/esm/dso-modal.entry.js +4 -4
  400. package/dist/esm/dso-onboarding-tip.entry.js +4 -4
  401. package/dist/esm/dso-pagination.entry.js +1 -1
  402. package/dist/esm/dso-plekinfo-card.entry.js +3 -3
  403. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  404. package/dist/esm/dso-project-item.entry.js +2 -2
  405. package/dist/esm/dso-responsive-element.entry.js +2 -2
  406. package/dist/esm/dso-scrollable.entry.js +3 -3
  407. package/dist/esm/dso-segmented-button.entry.js +2 -2
  408. package/dist/esm/dso-skiplink.entry.js +2 -2
  409. package/dist/esm/dso-survey-rating.entry.js +3 -3
  410. package/dist/esm/dso-tab.entry.js +1 -1
  411. package/dist/esm/dso-tabs.entry.js +2 -2
  412. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  413. package/dist/esm/dso-toggletip.entry.js +2 -2
  414. package/dist/esm/dso-toolkit.js +4 -4
  415. package/dist/esm/dso-tooltip.entry.js +2 -2
  416. package/dist/esm/dso-tree-view.entry.js +2 -2
  417. package/dist/esm/dso-viewer-grid.entry.js +2 -2
  418. package/dist/esm/dsot-document-component-demo.entry.js +3 -3
  419. package/dist/esm/{floating-ui.dom-BgyqGgJ8.js → floating-ui.dom-zRaH89Qj.js} +72 -64
  420. package/dist/esm/{i18n-FXEjFTzg.js → i18n-ULwgxD7S.js} +33 -12
  421. package/dist/esm/{index-ai7aDzJN.js → index-BIfnbekk.js} +23 -14
  422. package/dist/esm/loader.js +3 -3
  423. package/dist/esm/{parse-wijzigactie-from-node.function-DFRwNK3S.js → parse-wijzigactie-from-node.function-g0_S_VRv.js} +1 -1
  424. package/dist/esm/{position-tooltip.function-Db-YtSLm.js → position-tooltip.function-Cf2lM20T.js} +1 -1
  425. package/dist/esm/{tooltip.functional-component-TdyYX_ny.js → tooltip.functional-component-eBucNQlw.js} +1 -1
  426. package/dist/esm/{v4-C_akviUd.js → v4-DEQj4hHE.js} +1 -1
  427. package/dist/esm/{wrap-wijzigactie.functional-component-DDktk4pu.js → wrap-wijzigactie.functional-component-BB1TmP-v.js} +1 -1
  428. package/dist/types/components/history-item/history-item.d.ts +4 -0
  429. package/dist/types/components/info-button/info-button.d.ts +0 -5
  430. package/dist/types/components/toggletip/toggletip.d.ts +0 -4
  431. package/dist/types/components.d.ts +9 -18
  432. package/dist/types/stencil-public-runtime.d.ts +3 -1
  433. package/package.json +9 -10
  434. package/dist/dso-toolkit/p-1db16e23.entry.js +0 -1
  435. package/dist/dso-toolkit/p-297777c1.entry.js +0 -1
  436. package/dist/dso-toolkit/p-453c359e.entry.js +0 -1
  437. package/dist/dso-toolkit/p-7df48674.entry.js +0 -1
  438. package/dist/dso-toolkit/p-863dde86.entry.js +0 -1
  439. package/dist/dso-toolkit/p-88a5dc4d.entry.js +0 -1
  440. package/dist/dso-toolkit/p-BgyqGgJ8.js +0 -1
  441. package/dist/dso-toolkit/p-C_akviUd.js +0 -1
  442. package/dist/dso-toolkit/p-CiFROHm0.js +0 -1
  443. package/dist/dso-toolkit/p-DMMFbykw.js +0 -1
  444. package/dist/dso-toolkit/p-DQQwiKx8.js +0 -1
  445. package/dist/dso-toolkit/p-Dmt6eQ2x.js +0 -1
  446. package/dist/dso-toolkit/p-Dnozu1V0.js +0 -1
  447. package/dist/dso-toolkit/p-FXEjFTzg.js +0 -1
  448. package/dist/dso-toolkit/p-ac8d2b73.entry.js +0 -1
  449. package/dist/dso-toolkit/p-ai7aDzJN.js +0 -2
  450. package/dist/dso-toolkit/p-c3c19b60.entry.js +0 -1
  451. package/dist/dso-toolkit/p-f5348bf8.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{h as e,F as t}from"./p-ai7aDzJN.js";const r=({mark:r,text:n,emitMarkItemHighlight:i})=>{const o=r(n);return e(t,null,o&&0!==o.length?o.map((r=>"string"==typeof r?e(t,null,r):e("mark",{class:r.highlight?"dso-highlight":void 0,ref:e=>r.highlight&&e&&i(r.text,e)},r.text))):n)},n=new DOMParser;function i(e){if(!e)return;const t=n.parseFromString(e,"application/xml");if(!t.querySelector("parsererror"))return t;console.error({message:"Unable to parse XML",input:e,document:t},null,2)}function o(e){const t=e instanceof Element?e.getAttribute("wijzigactie"):void 0;return"voegtoe"===t||"verwijder"===t?t:void 0}export{r as M,o as a,i as p}
@@ -1 +0,0 @@
1
- import{h as o,F as a}from"./p-ai7aDzJN.js";const l=({values:l})=>o(a,null,l?.map(((l,s)=>o(a,null,s>0&&", ",o("dso-renvooi",{value:l})))));export{l as A}
@@ -1 +0,0 @@
1
- import{h as s}from"./p-ai7aDzJN.js";const a=({wijzigactie:a,class:i},e)=>"voegtoe"===a?s("ins",{class:i},e):"verwijder"===a?s("del",{class:i},e):i?s("div",{class:i},e):e;export{a as W}
@@ -1 +0,0 @@
1
- import{h as o}from"./p-ai7aDzJN.js";import{c as i}from"./p-ChV9xqsO.js";const s=({visible:s,onAfterHidden:t,tipElementRef:e,tipArrowElementRef:r},p)=>o("div",{popover:"manual",class:i(["dso-tooltip",{visible:s}]),ref:e,onTransitionEnd:o=>{o.stopPropagation(),"opacity"!==o.propertyName||s||t?.()}},o("span",{class:"tooltip-arrow",ref:r}),o("div",{class:"tooltip-inner"},p));export{s as T}
@@ -1 +0,0 @@
1
- const t=t=>"string"==typeof t,s=()=>{let t,s;const i=new Promise(((i,e)=>{t=i,s=e}));return i.resolve=t,i.reject=s,i},i=t=>null==t?"":""+t,e=/###/g,n=t=>t&&t.indexOf("###")>-1?t.replace(e,"."):t,o=s=>!s||t(s),r=(s,i,e)=>{const r=t(i)?i.split("."):i;let h=0;for(;h<r.length-1;){if(o(s))return{};const t=n(r[h]);!s[t]&&e&&(s[t]=new e),s=Object.prototype.hasOwnProperty.call(s,t)?s[t]:{},++h}return o(s)?{}:{obj:s,k:n(r[h])}},h=(t,s,i)=>{const{obj:e,k:n}=r(t,s,Object);if(void 0!==e||1===s.length)return void(e[n]=i);let o=s[s.length-1],h=s.slice(0,s.length-1),a=r(t,h,Object);for(;void 0===a.obj&&h.length;)o=`${h[h.length-1]}.${o}`,h=h.slice(0,h.length-1),a=r(t,h,Object),a?.obj&&void 0!==a.obj[`${a.k}.${o}`]&&(a.obj=void 0);a.obj[`${a.k}.${o}`]=i},a=(t,s)=>{const{obj:i,k:e}=r(t,s);if(i&&Object.prototype.hasOwnProperty.call(i,e))return i[e]},c=(s,i,e)=>{for(const n in i)"__proto__"!==n&&"constructor"!==n&&(n in s?t(s[n])||s[n]instanceof String||t(i[n])||i[n]instanceof String?e&&(s[n]=i[n]):c(s[n],i[n],e):s[n]=i[n]);return s},l=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var u={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const d=s=>t(s)?s.replace(/[&<>"'\/]/g,(t=>u[t])):s,f=[" ",",","?","!",";"],p=new class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const s=this.regExpMap.get(t);if(void 0!==s)return s;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}(20),g=(t,s,i=".")=>{if(!t)return;if(t[s]){if(!Object.prototype.hasOwnProperty.call(t,s))return;return t[s]}const e=s.split(i);let n=t;for(let t=0;t<e.length;){if(!n||"object"!=typeof n)return;let s,o="";for(let r=t;r<e.length;++r)if(r!==t&&(o+=i),o+=e[r],s=n[o],void 0!==s){if(["string","number","boolean"].indexOf(typeof s)>-1&&r<e.length-1)continue;t+=r-t+1;break}n=s}return n},y=t=>t?.replace("_","-"),m={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,s){console?.[t]?.apply?.(console,s)}};class v{constructor(t,s={}){this.init(t,s)}init(t,s={}){this.prefix=s.prefix||"i18next:",this.logger=t||m,this.options=s,this.debug=s.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(s,i,e,n){return n&&!this.debug?null:(t(s[0])&&(s[0]=`${e}${this.prefix} ${s[0]}`),this.logger[i](s))}create(t){return new v(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new v(this.logger,t)}}var $=new v;class b{constructor(){this.observers={}}on(t,s){return t.split(" ").forEach((t=>{this.observers[t]||(this.observers[t]=new Map);const i=this.observers[t].get(s)||0;this.observers[t].set(s,i+1)})),this}off(t,s){this.observers[t]&&(s?this.observers[t].delete(s):delete this.observers[t])}emit(t,...s){this.observers[t]&&Array.from(this.observers[t].entries()).forEach((([t,i])=>{for(let e=0;e<i;e++)t(...s)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((([i,e])=>{for(let n=0;n<e;n++)i.apply(i,[t,...s])}))}}class x extends b{constructor(t,s={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=s,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const s=this.options.ns.indexOf(t);s>-1&&this.options.ns.splice(s,1)}getResource(s,i,e,n={}){const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,r=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let h;s.indexOf(".")>-1?h=s.split("."):(h=[s,i],e&&(Array.isArray(e)?h.push(...e):t(e)&&o?h.push(...e.split(o)):h.push(e)));const c=a(this.data,h);return!c&&!i&&!e&&s.indexOf(".")>-1&&(s=h[0],i=h[1],e=h.slice(2).join(".")),!c&&r&&t(e)?g(this.data?.[s]?.[i],e,o):c}addResource(t,s,i,e,n={silent:!1}){const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator;let r=[t,s];i&&(r=r.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(r=t.split("."),e=s,s=r[1]),this.addNamespaces(s),h(this.data,r,e),n.silent||this.emit("added",t,s,i,e)}addResources(s,i,e,n={silent:!1}){for(const n in e)(t(e[n])||Array.isArray(e[n]))&&this.addResource(s,i,n,e[n],{silent:!0});n.silent||this.emit("added",s,i,e)}addResourceBundle(t,s,i,e,n,o={silent:!1,skipCopy:!1}){let r=[t,s];t.indexOf(".")>-1&&(r=t.split("."),e=i,i=s,s=r[1]),this.addNamespaces(s);let l=a(this.data,r)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),e?c(l,i,n):l={...l,...i},h(this.data,r,l),o.silent||this.emit("added",t,s,i)}removeResourceBundle(t,s){this.hasResourceBundle(t,s)&&delete this.data[t][s],this.removeNamespaces(s),this.emit("removed",t,s)}hasResourceBundle(t,s){return void 0!==this.getResource(t,s)}getResourceBundle(t,s){return s||(s=this.options.defaultNS),this.getResource(t,s)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const s=this.getDataByLanguage(t);return!!(s&&Object.keys(s)||[]).find((t=>s[t]&&Object.keys(s[t]).length>0))}toJSON(){return this.data}}var w={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,s,i,e,n){return t.forEach((t=>{s=this.processors[t]?.process(s,i,e,n)??s})),s}};const j=Symbol("i18next/PATH_KEY");function O(t,s){const{[j]:i}=t(function(){const t=[],s=Object.create(null);let i;return s.get=(e,n)=>(i?.revoke?.(),n===j?t:(t.push(n),i=Proxy.revocable(e,s),i.proxy)),Proxy.revocable(Object.create(null),s).proxy}());return i.join(s?.keySeparator??".")}const S={},k=s=>!t(s)&&"boolean"!=typeof s&&"number"!=typeof s;class N extends b{constructor(t,s={}){var i,e;super(),i=t,e=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((t=>{i[t]&&(e[t]=i[t])})),this.options=s,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=$.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,s={interpolation:{}}){const i={...s};if(null==t)return!1;const e=this.resolve(t,i);if(void 0===e?.res)return!1;const n=k(e.res);return!1!==i.returnObjects||!n}extractFromKey(s,i){let e=void 0!==i.nsSeparator?i.nsSeparator:this.options.nsSeparator;void 0===e&&(e=":");const n=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let o=i.ns||this.options.defaultNS||[];const r=e&&s.indexOf(e)>-1,h=!(this.options.userDefinedKeySeparator||i.keySeparator||this.options.userDefinedNsSeparator||i.nsSeparator||((t,s,i)=>{s=s||"",i=i||"";const e=f.filter((t=>s.indexOf(t)<0&&i.indexOf(t)<0));if(0===e.length)return!0;const n=p.getRegExp(`(${e.map((t=>"?"===t?"\\?":t)).join("|")})`);let o=!n.test(t);if(!o){const s=t.indexOf(i);s>0&&!n.test(t.substring(0,s))&&(o=!0)}return o})(s,e,n));if(r&&!h){const i=s.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:s,namespaces:t(o)?[o]:o};const r=s.split(e);(e!==n||e===n&&this.options.ns.indexOf(r[0])>-1)&&(o=r.shift()),s=r.join(n)}return{key:s,namespaces:t(o)?[o]:o}}translate(s,i,e){let n="object"==typeof i?{...i}:i;if("object"!=typeof n&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof n&&(n={...n}),n||(n={}),null==s)return"";"function"==typeof s&&(s=O(s,{...this.options,...n})),Array.isArray(s)||(s=[String(s)]);const o=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,r=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,{key:h,namespaces:a}=this.extractFromKey(s[s.length-1],n),c=a[a.length-1];let l=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===l&&(l=":");const u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===u?.toLowerCase())return d?o?{res:`${c}${l}${h}`,usedKey:h,exactUsedKey:h,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${l}${h}`:o?{res:h,usedKey:h,exactUsedKey:h,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:h;const f=this.resolve(s,n);let p=f?.res;const g=f?.usedKey||h,y=f?.exactUsedKey||h,m=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,$=void 0!==n.count&&!t(n.count),b=N.hasDefaultValue(n),x=$?this.pluralResolver.getSuffix(u,n.count,n):"",w=n.ordinal&&$?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",j=$&&!n.ordinal&&0===n.count,S=j&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${x}`]||n[`defaultValue${w}`]||n.defaultValue;let L=p;v&&!p&&b&&(L=S);const R=k(L),P=Object.prototype.toString.apply(L);if(!(v&&L&&R&&["[object Number]","[object Function]","[object RegExp]"].indexOf(P)<0)||t(m)&&Array.isArray(L))if(v&&t(m)&&Array.isArray(p))p=p.join(m),p&&(p=this.extendTranslation(p,s,n,e));else{let t=!1,i=!1;!this.isValidLookup(p)&&b&&(t=!0,p=S),this.isValidLookup(p)||(i=!0,p=h);const o=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:p,a=b&&S!==p&&this.options.updateMissing;if(i||t||a){if(this.logger.log(a?"updateKey":"missingKey",u,c,h,a?S:p),r){const t=this.resolve(h,{...n,keySeparator:!1});t&&t.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let t=[];const s=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&s&&s[0])for(let i=0;i<s.length;i++)t.push(s[i]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(n.lng||this.language):t.push(n.lng||this.language);const i=(t,s,i)=>{const e=b&&i!==p?i:o;this.options.missingKeyHandler?this.options.missingKeyHandler(t,c,s,e,a,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(t,c,s,e,a,n),this.emit("missingKey",t,c,s,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&$?t.forEach((t=>{const s=this.pluralResolver.getSuffixes(t,n);j&&n[`defaultValue${this.options.pluralSeparator}zero`]&&s.indexOf(`${this.options.pluralSeparator}zero`)<0&&s.push(`${this.options.pluralSeparator}zero`),s.forEach((s=>{i([t],h+s,n[`defaultValue${s}`]||S)}))})):i(t,h,S))}p=this.extendTranslation(p,s,n,f,e),i&&p===h&&this.options.appendNamespaceToMissingKey&&(p=`${c}${l}${h}`),(i||t)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${l}${h}`:h,t?p:void 0,n))}else{if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,L,{...n,ns:a}):`key '${h} (${this.language})' returned an object instead of string.`;return o?(f.res=t,f.usedParams=this.getUsedParamsDetails(n),f):t}if(r){const t=Array.isArray(L),s=t?[]:{},i=t?y:g;for(const t in L)if(Object.prototype.hasOwnProperty.call(L,t)){const e=`${i}${r}${t}`;s[t]=this.translate(e,b&&!p?{...n,defaultValue:k(S)?S[t]:void 0,joinArrays:!1,ns:a}:{...n,joinArrays:!1,ns:a}),s[t]===e&&(s[t]=L[t])}p=s}}return o?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(s,i,e,n,o){if(this.i18nFormat?.parse)s=this.i18nFormat.parse(s,{...this.options.interpolation.defaultVariables,...e},e.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!e.skipInterpolation){e.interpolation&&this.interpolator.init({...e,interpolation:{...this.options.interpolation,...e.interpolation}});const r=t(s)&&(void 0!==e?.interpolation?.skipOnVariables?e.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(r){const t=s.match(this.interpolator.nestingRegexp);h=t&&t.length}let a=e.replace&&!t(e.replace)?e.replace:e;if(this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),s=this.interpolator.interpolate(s,a,e.lng||this.language||n.usedLng,e),r){const t=s.match(this.interpolator.nestingRegexp);h<(t&&t.length)&&(e.nest=!1)}!e.lng&&n&&n.res&&(e.lng=this.language||n.usedLng),!1!==e.nest&&(s=this.interpolator.nest(s,((...t)=>o?.[0]!==t[0]||e.context?this.translate(...t,i):(this.logger.warn(`It seems you are nesting recursively key: ${t[0]} in key: ${i[0]}`),null)),e)),e.interpolation&&this.interpolator.reset()}const r=e.postProcess||this.options.postProcess,h=t(r)?[r]:r;return null!=s&&h?.length&&!1!==e.applyPostProcessor&&(s=w.handle(h,s,i,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(e)},...e}:e,this)),s}resolve(s,i={}){let e,n,o,r,h;return t(s)&&(s=[s]),s.forEach((s=>{if(this.isValidLookup(e))return;const a=this.extractFromKey(s,i),c=a.key;n=c;let l=a.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));const u=void 0!==i.count&&!t(i.count),d=u&&!i.ordinal&&0===i.count,f=void 0!==i.context&&(t(i.context)||"number"==typeof i.context)&&""!==i.context,p=i.lngs?i.lngs:this.languageUtils.toResolveHierarchy(i.lng||this.language,i.fallbackLng);l.forEach((t=>{this.isValidLookup(e)||(h=t,S[`${p[0]}-${t}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(h)||(S[`${p[0]}-${t}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${h}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((s=>{if(this.isValidLookup(e))return;r=s;const n=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(n,c,s,t,i);else{let t;u&&(t=this.pluralResolver.getSuffix(s,i.count,i));const e=`${this.options.pluralSeparator}zero`,o=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(i.ordinal&&0===t.indexOf(o)&&n.push(c+t.replace(o,this.options.pluralSeparator)),n.push(c+t),d&&n.push(c+e)),f){const s=`${c}${this.options.contextSeparator||"_"}${i.context}`;n.push(s),u&&(i.ordinal&&0===t.indexOf(o)&&n.push(s+t.replace(o,this.options.pluralSeparator)),n.push(s+t),d&&n.push(s+e))}}let h;for(;h=n.pop();)this.isValidLookup(e)||(o=h,e=this.getResource(s,t,h,i))})))}))})),{res:e,usedKey:n,exactUsedKey:o,usedLng:r,usedNS:h}}isValidLookup(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}getResource(t,s,i,e={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,s,i,e):this.resourceStore.getResource(t,s,i,e)}getUsedParamsDetails(s={}){const i=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],e=s.replace&&!t(s.replace);let n=e?s.replace:s;if(e&&void 0!==s.count&&(n.count=s.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!e){n={...n};for(const t of i)delete n[t]}return n}static hasDefaultValue(t){for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&"defaultValue"===s.substring(0,12)&&void 0!==t[s])return!0;return!1}}class L{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=$.create("languageUtils")}getScriptPartFromCode(t){if(!(t=y(t))||t.indexOf("-")<0)return null;const s=t.split("-");return 2===s.length?null:(s.pop(),"x"===s[s.length-1].toLowerCase()?null:this.formatLanguageCode(s.join("-")))}getLanguagePartFromCode(t){if(!(t=y(t))||t.indexOf("-")<0)return t;const s=t.split("-");return this.formatLanguageCode(s[0])}formatLanguageCode(s){if(t(s)&&s.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(s)[0]}catch(t){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?s.toLowerCase():s)}return this.options.cleanCode||this.options.lowerCaseLng?s.toLowerCase():s}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let s;return t.forEach((t=>{if(s)return;const i=this.formatLanguageCode(t);this.options.supportedLngs&&!this.isSupportedCode(i)||(s=i)})),!s&&this.options.supportedLngs&&t.forEach((t=>{if(s)return;const i=this.getScriptPartFromCode(t);if(this.isSupportedCode(i))return s=i;const e=this.getLanguagePartFromCode(t);if(this.isSupportedCode(e))return s=e;s=this.options.supportedLngs.find((t=>t===e?t:t.indexOf("-")<0&&e.indexOf("-")<0?void 0:t.indexOf("-")>0&&e.indexOf("-")<0&&t.substring(0,t.indexOf("-"))===e||0===t.indexOf(e)&&e.length>1?t:void 0))})),s||(s=this.getFallbackCodes(this.options.fallbackLng)[0]),s}getFallbackCodes(s,i){if(!s)return[];if("function"==typeof s&&(s=s(i)),t(s)&&(s=[s]),Array.isArray(s))return s;if(!i)return s.default||[];let e=s[i];return e||(e=s[this.getScriptPartFromCode(i)]),e||(e=s[this.formatLanguageCode(i)]),e||(e=s[this.getLanguagePartFromCode(i)]),e||(e=s.default),e||[]}toResolveHierarchy(s,i){const e=this.getFallbackCodes((!1===i?[]:i)||this.options.fallbackLng||[],s),n=[],o=t=>{t&&(this.isSupportedCode(t)?n.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return t(s)&&(s.indexOf("-")>-1||s.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(s)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(s)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(s))):t(s)&&o(this.formatLanguageCode(s)),e.forEach((t=>{n.indexOf(t)<0&&o(this.formatLanguageCode(t))})),n}}const R={zero:0,one:1,two:2,few:3,many:4,other:5},P={select:t=>1===t?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class E{constructor(t,s={}){this.languageUtils=t,this.options=s,this.logger=$.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,s={}){const i=y("dev"===t?"en":t),e=s.ordinal?"ordinal":"cardinal",n=JSON.stringify({cleanedCode:i,type:e});if(n in this.pluralRulesCache)return this.pluralRulesCache[n];let o;try{o=new Intl.PluralRules(i,{type:e})}catch(i){if("undefined"==typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),P;if(!t.match(/-|_/))return P;const e=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(e,s)}return this.pluralRulesCache[n]=o,o}needsPlural(t,s={}){let i=this.getRule(t,s);return i||(i=this.getRule("dev",s)),i?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,s,i={}){return this.getSuffixes(t,i).map((t=>`${s}${t}`))}getSuffixes(t,s={}){let i=this.getRule(t,s);return i||(i=this.getRule("dev",s)),i?i.resolvedOptions().pluralCategories.sort(((t,s)=>R[t]-R[s])).map((t=>`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${t}`)):[]}getSuffix(t,s,i={}){const e=this.getRule(t,i);return e?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${e.select(s)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",s,i))}}const C=(s,i,e,n=".",o=!0)=>{let r=((t,s,i)=>{const e=a(t,i);return void 0!==e?e:a(s,i)})(s,i,e);return!r&&o&&t(e)&&(r=g(s,e,n),void 0===r&&(r=g(i,e,n))),r},I=t=>t.replace(/\$/g,"$$$$");class T{constructor(t={}){this.logger=$.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(t=>t),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:s,escapeValue:i,useRawValueToEscape:e,prefix:n,prefixEscaped:o,suffix:r,suffixEscaped:h,formatSeparator:a,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:f,nestingPrefixEscaped:p,nestingSuffix:g,nestingSuffixEscaped:y,nestingOptionsSeparator:m,maxReplaces:v,alwaysFormat:$}=t.interpolation;this.escape=void 0!==s?s:d,this.escapeValue=void 0===i||i,this.useRawValueToEscape=void 0!==e&&e,this.prefix=n?l(n):o||"{{",this.suffix=r?l(r):h||"}}",this.formatSeparator=a||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?l(f):p||l("$t("),this.nestingSuffix=g?l(g):y||l(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==$&&$,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(t,s)=>t?.source===s?(t.lastIndex=0,t):new RegExp(s,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(s,e,n,o){let r,h,a;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=t=>{if(t.indexOf(this.formatSeparator)<0){const s=C(e,c,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(s,void 0,n,{...o,...e,interpolationkey:t}):s}const s=t.split(this.formatSeparator),i=s.shift().trim(),r=s.join(this.formatSeparator).trim();return this.format(C(e,c,i,this.options.keySeparator,this.options.ignoreJSONStructure),r,n,{...o,...e,interpolationkey:i})};this.resetRegExp();const u=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=void 0!==o?.interpolation?.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:t=>I(t)},{regex:this.regexp,safeValue:t=>I(this.escapeValue?this.escape(t):t)}].forEach((e=>{for(a=0;r=e.regex.exec(s);){const n=r[1].trim();if(h=l(n),void 0===h)if("function"==typeof u){const i=u(s,r,o);h=t(i)?i:""}else if(o&&Object.prototype.hasOwnProperty.call(o,n))h="";else{if(d){h=r[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${s}`),h=""}else t(h)||this.useRawValueToEscape||(h=i(h));const c=e.safeValue(h);if(s=s.replace(r[0],c),d?(e.regex.lastIndex+=h.length,e.regex.lastIndex-=r[0].length):e.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),s}nest(s,e,n={}){let o,r,h;const a=(t,s)=>{const i=this.nestingOptionsSeparator;if(t.indexOf(i)<0)return t;const e=t.split(new RegExp(`${l(i)}[ ]*{`));let n=`{${e[1]}`;t=e[0],n=this.interpolate(n,h);const o=n.match(/'/g),r=n.match(/"/g);((o?.length??0)%2==0&&!r||(r?.length??0)%2!=0)&&(n=n.replace(/'/g,'"'));try{h=JSON.parse(n),s&&(h={...s,...h})}catch(s){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,s),`${t}${i}${n}`}return h.defaultValue&&h.defaultValue.indexOf(this.prefix)>-1&&delete h.defaultValue,t};for(;o=this.nestingRegexp.exec(s);){let c=[];h={...n},h=h.replace&&!t(h.replace)?h.replace:h,h.applyPostProcessor=!1,delete h.defaultValue;const l=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(-1!==l&&(c=o[1].slice(l).split(this.formatSeparator).map((t=>t.trim())).filter(Boolean),o[1]=o[1].slice(0,l)),r=e(a.call(this,o[1].trim(),h),h),r&&o[0]===s&&!t(r))return r;t(r)||(r=i(r)),r||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${s}`),r=""),c.length&&(r=c.reduce(((t,s)=>this.format(t,s,n.lng,{...n,interpolationkey:o[1].trim()})),r.trim())),s=s.replace(o[0],r),this.regexp.lastIndex=0}return s}}const z=t=>{const s={};return(i,e,n)=>{let o=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(o={...o,[n.interpolationkey]:void 0});const r=e+JSON.stringify(o);let h=s[r];return h||(h=t(y(e),n),s[r]=h),h(i)}},A=t=>(s,i,e)=>t(y(i),e)(s);class V{constructor(t={}){this.logger=$.create("formatter"),this.options=t,this.init(t)}init(t,s={interpolation:{}}){this.formatSeparator=s.interpolation.formatSeparator||",";const i=s.cacheInBuiltFormats?z:A;this.formats={number:i(((t,s)=>{const i=new Intl.NumberFormat(t,{...s});return t=>i.format(t)})),currency:i(((t,s)=>{const i=new Intl.NumberFormat(t,{...s,style:"currency"});return t=>i.format(t)})),datetime:i(((t,s)=>{const i=new Intl.DateTimeFormat(t,{...s});return t=>i.format(t)})),relativetime:i(((t,s)=>{const i=new Intl.RelativeTimeFormat(t,{...s});return t=>i.format(t,s.range||"day")})),list:i(((t,s)=>{const i=new Intl.ListFormat(t,{...s});return t=>i.format(t)}))}}add(t,s){this.formats[t.toLowerCase().trim()]=s}addCached(t,s){this.formats[t.toLowerCase().trim()]=z(s)}format(t,s,i,e={}){const n=s.split(this.formatSeparator);if(n.length>1&&n[0].indexOf("(")>1&&n[0].indexOf(")")<0&&n.find((t=>t.indexOf(")")>-1))){const t=n.findIndex((t=>t.indexOf(")")>-1));n[0]=[n[0],...n.splice(1,t)].join(this.formatSeparator)}return n.reduce(((t,s)=>{const{formatName:n,formatOptions:o}=(t=>{let s=t.toLowerCase().trim();const i={};if(t.indexOf("(")>-1){const e=t.split("(");s=e[0].toLowerCase().trim();const n=e[1].substring(0,e[1].length-1);"currency"===s&&n.indexOf(":")<0?i.currency||(i.currency=n.trim()):"relativetime"===s&&n.indexOf(":")<0?i.range||(i.range=n.trim()):n.split(";").forEach((t=>{if(t){const[s,...e]=t.split(":"),n=e.join(":").trim().replace(/^'+|'+$/g,""),o=s.trim();i[o]||(i[o]=n),"false"===n&&(i[o]=!1),"true"===n&&(i[o]=!0),isNaN(n)||(i[o]=parseInt(n,10))}}))}return{formatName:s,formatOptions:i}})(s);if(this.formats[n]){let s=t;try{const r=e?.formatParams?.[e.interpolationkey]||{};s=this.formats[n](t,r.locale||r.lng||e.locale||e.lng||i,{...o,...e,...r})}catch(t){this.logger.warn(t)}return s}return this.logger.warn(`there was no format function for ${n}`),t}),t)}}class K extends b{constructor(t,s,i,e={}){super(),this.backend=t,this.store=s,this.services=i,this.languageUtils=i.languageUtils,this.options=e,this.logger=$.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=e.maxParallelReads||10,this.readingCalls=0,this.maxRetries=e.maxRetries>=0?e.maxRetries:5,this.retryTimeout=e.retryTimeout>=1?e.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(i,e.backend,e)}queueLoad(t,s,i,e){const n={},o={},r={},h={};return t.forEach((t=>{let e=!0;s.forEach((s=>{const r=`${t}|${s}`;!i.reload&&this.store.hasResourceBundle(t,s)?this.state[r]=2:this.state[r]<0||(1===this.state[r]?void 0===o[r]&&(o[r]=!0):(this.state[r]=1,e=!1,void 0===o[r]&&(o[r]=!0),void 0===n[r]&&(n[r]=!0),void 0===h[s]&&(h[s]=!0)))})),e||(r[t]=!0)})),(Object.keys(n).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:e}),{toLoad:Object.keys(n),pending:Object.keys(o),toLoadLanguages:Object.keys(r),toLoadNamespaces:Object.keys(h)}}loaded(t,s,i){const e=t.split("|"),n=e[0],o=e[1];s&&this.emit("failedLoading",n,o,s),!s&&i&&this.store.addResourceBundle(n,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=s?-1:2,s&&i&&(this.state[t]=0);const h={};this.queue.forEach((i=>{((t,s,i)=>{const{obj:e,k:n}=r(t,s,Object);e[n]=e[n]||[],e[n].push(i)})(i.loaded,[n],o),((t,s)=>{void 0!==t.pending[s]&&(delete t.pending[s],t.pendingCount--)})(i,t),s&&i.errors.push(s),0!==i.pendingCount||i.done||(Object.keys(i.loaded).forEach((t=>{h[t]||(h[t]={});const s=i.loaded[t];s.length&&s.forEach((s=>{void 0===h[t][s]&&(h[t][s]=!0)}))})),i.done=!0,i.errors.length?i.callback(i.errors):i.callback())})),this.emit("loaded",h),this.queue=this.queue.filter((t=>!t.done))}read(t,s,i,e=0,n=this.retryTimeout,o){if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:t,ns:s,fcName:i,tried:e,wait:n,callback:o});this.readingCalls++;const r=(r,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}r&&h&&e<this.maxRetries?setTimeout((()=>{this.read.call(this,t,s,i,e+1,2*n,o)}),n):o(r,h)},h=this.backend[i].bind(this.backend);if(2!==h.length)return h(t,s,r);try{const i=h(t,s);i&&"function"==typeof i.then?i.then((t=>r(null,t))).catch(r):r(null,i)}catch(t){r(t)}}prepareLoading(s,i,e={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();t(s)&&(s=this.languageUtils.toResolveHierarchy(s)),t(i)&&(i=[i]);const o=this.queueLoad(s,i,e,n);if(!o.toLoad.length)return o.pending.length||n(),null;o.toLoad.forEach((t=>{this.loadOne(t)}))}load(t,s,i){this.prepareLoading(t,s,{},i)}reload(t,s,i){this.prepareLoading(t,s,{reload:!0},i)}loadOne(t,s=""){const i=t.split("|"),e=i[0],n=i[1];this.read(e,n,"read",void 0,void 0,((i,o)=>{i&&this.logger.warn(`${s}loading namespace ${n} for language ${e} failed`,i),!i&&o&&this.logger.log(`${s}loaded namespace ${n} for language ${e}`,o),this.loaded(t,i,o)}))}saveMissing(t,s,i,e,n,o={},r=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(s)){if(null!=i&&""!==i){if(this.backend?.create){const h={...o,isUpdate:n},a=this.backend.create.bind(this.backend);if(a.length<6)try{let n;n=5===a.length?a(t,s,i,e,h):a(t,s,i,e),n&&"function"==typeof n.then?n.then((t=>r(null,t))).catch(r):r(null,n)}catch(t){r(t)}else a(t,s,i,e,r,h)}t&&t[0]&&this.store.addResource(t[0],s,i,e)}}else this.logger.warn(`did not save key "${i}" as the namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const B=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:s=>{let i={};if("object"==typeof s[1]&&(i=s[1]),t(s[1])&&(i.defaultValue=s[1]),t(s[2])&&(i.tDescription=s[2]),"object"==typeof s[2]||"object"==typeof s[3]){const t=s[3]||s[2];Object.keys(t).forEach((s=>{i[s]=t[s]}))}return i},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),M=s=>(t(s.ns)&&(s.ns=[s.ns]),t(s.fallbackLng)&&(s.fallbackLng=[s.fallbackLng]),t(s.fallbackNS)&&(s.fallbackNS=[s.fallbackNS]),s.supportedLngs?.indexOf?.("cimode")<0&&(s.supportedLngs=s.supportedLngs.concat(["cimode"])),"boolean"==typeof s.initImmediate&&(s.initAsync=s.initImmediate),s),_=()=>{},F="__i18next_supportNoticeShown";class D extends b{constructor(t={},s){var i;if(super(),this.options=M(t),this.services={},this.logger=$,this.modules={external:[]},i=this,Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t=>{"function"==typeof i[t]&&(i[t]=i[t].bind(i))})),s&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,s),this;setTimeout((()=>{this.init(t,s)}),0)}}init(i={},e){this.isInitializing=!0,"function"==typeof i&&(e=i,i={}),null==i.defaultNS&&i.ns&&(t(i.ns)?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));const n=B();var o;this.options={...n,...this.options,...M(i)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==i.keySeparator&&(this.options.userDefinedKeySeparator=i.keySeparator),void 0!==i.nsSeparator&&(this.options.userDefinedNsSeparator=i.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),!1===this.options.showSupportNotice||(o=this,o?.modules?.backend?.name?.indexOf("Locize")>0||o?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||o?.options?.backend?.backends&&o.options.backend.backends.some((t=>t?.name?.indexOf("Locize")>0||t?.constructor?.name?.indexOf("Locize")>0))||o?.options?.backend?.projectId||o?.options?.backend?.backendOptions&&o.options.backend.backendOptions.some((t=>t?.projectId)))||"undefined"!=typeof globalThis&&globalThis[F]||("undefined"!=typeof console&&void 0!==console.info&&console.info("🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),"undefined"!=typeof globalThis&&(globalThis[F]=!0));const r=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let t;$.init(this.modules.logger?r(this.modules.logger):null,this.options),t=this.modules.formatter?this.modules.formatter:V;const s=new L(this.options);this.store=new x(this.options.resources,this.options);const i=this.services;i.logger=$,i.resourceStore=this.store,i.languageUtils=s,i.pluralResolver=new E(s,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!t||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(i.formatter=r(t),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new T(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new K(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",((t,...s)=>{this.emit(t,...s)})),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new N(this.services,this.options),this.translator.on("*",((t,...s)=>{this.emit(t,...s)})),this.modules.external.forEach((t=>{t.init&&t.init(this)}))}if(this.format=this.options.interpolation.format,e||(e=_),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=(...s)=>this.store[t](...s)})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=(...s)=>(this.store[t](...s),this)}));const h=s(),a=()=>{const t=(t,s)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),h.resolve(s),e(t,s)};if(this.languages&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),h}loadResources(s,i=_){let e=i;const n=t(s)?s:this.language;if("function"==typeof s&&(e=s),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===n?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return e();const t=[],s=s=>{s&&"cimode"!==s&&this.services.languageUtils.toResolveHierarchy(s).forEach((s=>{"cimode"!==s&&t.indexOf(s)<0&&t.push(s)}))};n?s(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((t=>s(t))),this.options.preload?.forEach?.((t=>s(t))),this.services.backendConnector.load(t,this.options.ns,(t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),e(t)}))}else e(null)}reloadResources(t,i,e){const n=s();return"function"==typeof t&&(e=t,t=void 0),"function"==typeof i&&(e=i,i=void 0),t||(t=this.languages),i||(i=this.options.ns),e||(e=_),this.services.backendConnector.reload(t,i,(t=>{n.resolve(),e(t)})),n}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&w.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1)){for(let t=0;t<this.languages.length;t++){const s=this.languages[t];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(i,e){this.isLanguageChangingTo=i;const n=s();this.emit("languageChanging",i);const o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},r=(t,s)=>{s?this.isLanguageChangingTo===i&&(o(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,n.resolve(((...t)=>this.t(...t))),e&&e(t,((...t)=>this.t(...t)))},h=s=>{i||s||!this.services.languageDetector||(s=[]);const e=t(s)?s:s&&s[0],n=this.store.hasLanguageSomeTranslations(e)?e:this.services.languageUtils.getBestMatchFromCodes(t(s)?[s]:s);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector?.cacheUserLanguage?.(n)),this.loadResources(n,(t=>{r(t,n)}))};return i||!this.services.languageDetector||this.services.languageDetector.async?!i&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(h):this.services.languageDetector.detect(h):h(i):h(this.services.languageDetector.detect()),n}getFixedT(s,i,e){const n=(t,s,...i)=>{let o;o="object"!=typeof s?this.options.overloadTranslationOptionHandler([t,s].concat(i)):{...s},o.lng=o.lng||n.lng,o.lngs=o.lngs||n.lngs,o.ns=o.ns||n.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||e||n.keyPrefix);const r=this.options.keySeparator||".";let h;return o.keyPrefix&&Array.isArray(t)?h=t.map((t=>("function"==typeof t&&(t=O(t,{...this.options,...s})),`${o.keyPrefix}${r}${t}`))):("function"==typeof t&&(t=O(t,{...this.options,...s})),h=o.keyPrefix?`${o.keyPrefix}${r}${t}`:t),this.t(h,o)};return t(s)?n.lng=s:n.lngs=s,n.ns=i,n.keyPrefix=e,n}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,s={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=s.lng||this.resolvedLanguage||this.languages[0],e=!!this.options&&this.options.fallbackLng,n=this.languages[this.languages.length-1];if("cimode"===i.toLowerCase())return!0;const o=(t,s)=>{const i=this.services.backendConnector.state[`${t}|${s}`];return-1===i||0===i||2===i};if(s.precheck){const t=s.precheck(this,o);if(void 0!==t)return t}return!(!this.hasResourceBundle(i,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(i,t)||e&&!o(n,t)))}loadNamespaces(i,e){const n=s();return this.options.ns?(t(i)&&(i=[i]),i.forEach((t=>{this.options.ns.indexOf(t)<0&&this.options.ns.push(t)})),this.loadResources((t=>{n.resolve(),e&&e(t)})),n):(e&&e(),Promise.resolve())}loadLanguages(i,e){const n=s();t(i)&&(i=[i]);const o=this.options.preload||[],r=i.filter((t=>o.indexOf(t)<0&&this.services.languageUtils.isSupportedCode(t)));return r.length?(this.options.preload=o.concat(r),this.loadResources((t=>{n.resolve(),e&&e(t)})),n):(e&&e(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const s=new Intl.Locale(t);if(s&&s.getTextInfo){const t=s.getTextInfo();if(t&&t.direction)return t.direction}}catch(t){}const s=this.services?.languageUtils||new L(B());return t.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(s.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},s){const i=new D(t,s);return i.createInstance=D.createInstance,i}cloneInstance(t={},s=_){const i=t.forkResourceStore;i&&delete t.forkResourceStore;const e={...this.options,...t,isClone:!0},n=new D(e);if(void 0===t.debug&&void 0===t.prefix||(n.logger=n.logger.clone(t)),["store","services","language"].forEach((t=>{n[t]=this[t]})),n.services={...this.services},n.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},i){const t=Object.keys(this.store.data).reduce(((t,s)=>(t[s]={...this.store.data[s]},t[s]=Object.keys(t[s]).reduce(((i,e)=>(i[e]={...t[s][e]},i)),t[s]),t)),{});n.store=new x(t,e),n.services.resourceStore=n.store}if(t.interpolation){const s={...B().interpolation,...this.options.interpolation,...t.interpolation},i={...e,interpolation:s};n.services.interpolator=new T(i)}return n.translator=new N(n.services,e),n.translator.on("*",((t,...s)=>{n.emit(t,...s)})),n.init(e,s),n.translator.options=e,n.translator.backendConnector.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},n}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const H=D.createInstance().createInstance,J="nl";function U(t){const s=t.closest("[lang]");return s instanceof HTMLElement?s.lang||J:t.parentNode instanceof ShadowRoot&&t.parentNode.host instanceof HTMLElement?U(t.parentNode.host):t.parentElement instanceof HTMLElement?U(t.parentElement):J}function W(t,s){const i=t(),e=H();e.init({fallbackLng:J,resources:s,defaultNS:i.tagName.toLowerCase(),interpolation:{escapeValue:!1}});let n=!1;return(t,s)=>{if(!n){n=!0;const t=U(i);e.changeLanguage(t)}return e.t(t,s)}}export{W as i}
@@ -1 +0,0 @@
1
- import{r as t,d as e,h as s,a as o,g as i}from"./p-ai7aDzJN.js";import{c as a}from"./p-ChV9xqsO.js";import{i as r}from"./p-FXEjFTzg.js";import{i as n}from"./p-Hgv-pDpy.js";const d={en:{"dso-legend":{closeLegend:"Close legend"}},nl:{"dso-legend":{closeLegend:"Sluit legenda"}}},b=class{constructor(s){t(this,s),this.dsoContentSwitch=e(this,"dsoContentSwitch",7),this.dsoClose=e(this,"dsoClose",7),this.tabItems=[],this.text=r((()=>this.host),d),this.keyUpHandler=t=>{if(t.target instanceof HTMLElement)switch(t.key){case"ArrowRight":case"ArrowDown":this.moveFocusToNextTab(t.target);break;case"ArrowLeft":case"ArrowUp":this.moveFocusToPreviousTab(t.target);break;default:return}},this.clickHandler=t=>{const e=this.tabs.findIndex((e=>e===t.currentTarget)),s=this.tabItems[e];s&&!s.active&&this.dsoContentSwitch.emit({originalEvent:t,isModifiedEvent:n(t)})}}get tabs(){return Array.from(this.host.shadowRoot.querySelectorAll('[role="tab"]'))}get firstTab(){return this.tabs[0]}get lastTab(){return this.tabs[this.tabs.length-1]}moveFocusToTab(t){t?.focus()}moveFocusToPreviousTab(t){const e=this.tabs.findIndex((e=>e===t));this.moveFocusToTab(this.tabs[e-1]??this.lastTab)}moveFocusToNextTab(t){const e=this.tabs.findIndex((e=>e===t));this.moveFocusToTab(this.tabs[e+1]??this.firstTab)}render(){return s(o,{key:"861f432e2d8ce27a7bbe63c82cd60055eb7413ad"},s("div",{key:"d037fd2f22ee6cc741198cd7b72175332f7fae9c",class:"topbar"},s("div",{key:"914313db54eb054490df98e578230a779516d346",class:"tabs",role:"tablist",onKeyUp:this.keyUpHandler},this.tabItems.map((t=>s("button",{class:a("tab",{active:t.active}),role:"tab","aria-selected":t.active?"true":"false",...t.active?{}:{tabIndex:-1},onClick:this.clickHandler},t.label)))),s("dso-icon-button",{key:"fa0f103700d0219914821447bcf8c7652bbb448e",icon:"cross",variant:"tertiary",label:this.text("closeLegend"),class:"close-button",onDsoClick:t=>this.dsoClose.emit({originalEvent:t.detail.originalEvent})})),s("dso-scrollable",{key:"14b5ca6c83e21a27e871cb83aa5fbdf427e774cb",class:"content"},s("div",{key:"84abd921c424f152c1d64930b6014f3c772db7e5",role:"tabpanel",tabIndex:0},s("slot",{key:"54b44cb357111bd2172492ca353ccca4ffc5299d"}))))}get host(){return i(this)}};b.style="*,*::after,*::before{box-sizing:border-box}:host{position:relative;display:block;inline-size:344px;background-color:#fff;box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.3);border-radius:4px}:host .topbar{padding-block-start:8px;padding-inline:16px}:host .topbar .tabs{inline-size:100%;padding:0;list-style:none;display:inline-flex;border-block-end:1px solid #ccc}:host .topbar .tabs .tab{font-size:inherit;font-family:inherit;line-height:inherit;background-color:transparent;cursor:pointer;display:block;border:0;color:#275937;padding-block:6px;padding-inline:8px;border-block-end:4px solid transparent}:host .topbar .tabs .tab:hover{text-decoration:underline}:host .topbar .tabs .tab.active{font-weight:bold;border-color:#8b4a6a}:host .topbar .close-button{position:absolute;inset-block-start:8px;inset-inline-end:8px}:host ::slotted(dso-legend-group:last-child){margin-block-end:8px}:host .content{--_dso-form-group-margin-block-end:0;--_dt-scrollable-container-border-end-start-radius:4px;--_dt-scrollable-container-border-end-end-radius:4px;--_dt-scrollable-container-padding-inline:16px;max-block-size:52vh;border-end-start-radius:4px;border-end-end-radius:4px}";export{b as dso_legend}
@@ -1,2 +0,0 @@
1
- const t="dso-toolkit",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!0,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0};var n,o,s={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},r=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(r||{}),i=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(i||{}),l="type",c="value",a="serialized:",u=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),o)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[o]=n.i.has(o)?n.i.get(o):e}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},d=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&u(t,n))},h=(t,n)=>{const o={u:0,$hostElement$:t,o:n,i:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&u(t,o),s},p=(t,e)=>e in t,m=(t,e)=>(n||console.error)(t,e),v=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],g=(...t)=>console.error(...v,...t),$=(...t)=>console.warn(...v,...t),b=(...t)=>console.info(...v,...t),y=new Map,S=(t,n,o)=>{const s=t.C.replace(/-/g,"_"),r=t._;if(e.isDev&&"string"!=typeof r)return void g(`Trying to lazily load component <${t.C}> with style mode "${n.N}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&y.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||y.set(r,t),t[s])),(t=>{m(t,n.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,j=[],x="s-id",O="sty-id",C="c-id",_="_stencilDocData",E={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",T=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],R="undefined"!=typeof window?window:{},L=R.HTMLElement||class{},M={u:0,k:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},A=e.shadowDom,D=t=>Promise.resolve(t),I=!!e.constructableCSS&&(()=>{try{return!!R.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),H=!!I&&(()=>!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable)(),F=0,P=!1,U=[],B=[],z=[],V=(t,e)=>n=>{t.push(n),P||(P=!0,e&&4&M.u?X(J):M.raf(J))},W=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){m(t)}t.length=0},Y=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){m(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},J=()=>{if(e.asyncQueue&&F++,W(U),e.asyncQueue){const t=2==(6&M.u)?performance.now()+14*Math.ceil(.1*F):1/0;Y(B,t),Y(z,t),B.length>0&&(z.push(...B),B.length=0),(P=U.length+B.length+z.length>0)?M.raf(J):F=0}else W(B),(P=U.length>0)&&M.raf(J)},X=t=>D().then(t),q=V(U,!1),K=V(B,!0);function Q(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const s=this.attachShadow(n);void 0===o&&(o=null),o&&(H?s.adoptedStyleSheets.push(o):s.adoptedStyleSheets=[...s.adoptedStyleSheets,o])}var G=t=>{const e=Nt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&tt(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!et(t,st(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Nt(t,"childNodes").length&&G(t)}},Z=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function tt(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||st(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...tt(o.childNodes,e,n)]}return r}var et=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)st(s)!==e||!n&&s["s-sr"]||o.push(s);return o},nt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,ot=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=Nt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Nt(i,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},st=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function rt(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:Z(s.childNodes)).forEach((t=>{o===st(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function it(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function lt(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=st(t)||"";return{slotNode:tt(Nt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ct=t=>{at(t),ut(t),ht(t),dt(t),gt(t),pt(t),mt(t),vt(t),$t(t),bt(t),ft(t)},at=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&A,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)t=i[o]["s-nr"],n=r.every((t=>!i[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},ut=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=lt(t,this);if(n){ot(t,n);const o=et(n,e),s=o[o.length-1],r=Nt(s,"parentNode"),i=Nt(r,"insertBefore")(t,s.nextSibling);return it(n),G(this),i}return this.__appendChild(t)})},ft=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&tt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void G(this)):this.__removeChild(t)})},dt=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=st(e))||"",o=tt(Nt(this,"childNodes"),this.tagName,n)[0];if(o){ot(e,o,!0);const t=et(o,n)[0],s=Nt(t,"parentNode"),r=Nt(s,"insertBefore")(e,Nt(t,"nextSibling"));return it(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},ht=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},pt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},mt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},vt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=lt(t,this),s=this.__childNodes?this.childNodes:Z(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(r=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){ot(t,o);const n=Nt(e,"parentNode");Nt(n,"insertBefore")(t,e),it(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},gt=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},$t=t=>{Et("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:Z(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:Z(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},bt=t=>{class e extends Array{item(t){return this[t]}}Et("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Et("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Et("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Et("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...Z(this.__childNodes)),t}})},yt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(St(t),jt(t),Ot(t),t.nodeType===Node.ELEMENT_NODE&&(wt(t),xt(t)))},St=t=>{t&&!t.__nextSibling&&(Et("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},wt=t=>{t&&!t.__nextElementSibling&&(Et("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},jt=t=>{t&&!t.__previousSibling&&(Et("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},xt=t=>{t&&!t.__previousElementSibling&&(Et("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},Ot=t=>{t&&!t.__parentNode&&(Et("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},Ct=["children","nextElementSibling","previousElementSibling"],_t=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Et(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;Ct.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):_t.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Nt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var kt=0,Tt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${kt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Rt(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var Lt=new WeakMap,Mt=(t,e,n)=>{let o=w.get(t);I&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,w.set(t,o)},At=(t,n,o)=>{var s,r,i;const l=It(n,o),c=w.get(l);if(!e.attachStyles||!R.document)return l;if(t=11===t.nodeType?t:R.document,c)if("string"==typeof c){let o,i=Lt.get(t=t.head||t);i||Lt.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${O}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=R.document.createElement("style"),o.textContent=c;const a=null!=(s=M.T)?s:Rt(R.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(O,l),!(1&n.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(I){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),H?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=c+e.textContent:t.prepend(o)}else t.append(o);1&n.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=N),i&&i.add(l)}}else if(e.constructableCSS){let n=Lt.get(t);if(n||Lt.set(t,n=new Set),!n.has(l)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(H?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(l),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${O}="${l}"]`);e&&K((()=>e.remove()))}}}return l},Dt=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Tt("attachStyles",n.C),i=At(e.shadowDom&&A&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.N);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},It=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Ht=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ft=()=>{if(!R.document)return;const t=R.document.querySelectorAll(`[${O}]`);let e=0;for(;e<t.length;e++)Mt(t[e].getAttribute(O),Ht(t[e].innerHTML),!0)},Pt=t=>"object"==(t=typeof t)||"function"===t,Ut=(t,n,...o)=>{"string"==typeof t&&(t=Kn(t));let s=null,r=null,i=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof t&&!Pt(s))?s+="":e.isDev&&"function"!=typeof t&&void 0===s.u&&g("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].R+=s:a.push(l?Bt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&Xt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(i=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(Vt)&&g("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Wt);const f=Bt(t,null);return f.L=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=i),f},Bt=(t,n)=>{const o={u:0,I:t,R:null!=n?n:null,F:null,M:null};return e.vdomAttribute&&(o.L=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},zt={},Vt=t=>t&&t.I===zt,Wt={forEach:(t,e)=>t.map(Yt).forEach(e),map:(t,e)=>t.map(Yt).map(e).map(Jt)},Yt=t=>({vattrs:t.L,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.R}),Jt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Ut(t.vtag,e,...t.vchildren||[])}const e=Bt(t.vtag,t.vtext);return e.L=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},Xt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),i=e.indexOf("step");(n<o||n<s||n<r||n<i)&&$('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},qt=(t,n,o,s,r,i,l,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===i.nodeType){if(a=i.getAttribute(C),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Qt({u:0,P:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),F:i,L:{class:i.className||""}}),n.push(f),i.removeAttribute(C),t.M||(t.M=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.L.class+=" "+h);const r=f.F.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(Gt(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.F["s-sn"]=r,f.F.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.F)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)qt(t,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)qt(t,n,o,s,r,p[d],l,c)}else if(8===i.nodeType)u=i.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=Qt({P:u[1],U:u[2],B:u[3],V:u[4]||"0",F:i,L:null,M:null,A:null,D:null,I:null,R:null}),"t"===a?(f.F=oe(i,3),f.F&&3===f.F.nodeType&&(f.R=f.F.textContent,n.push(f),i.remove(),l===f.P&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.F))):"c"===a?(f.F=oe(i,8),f.F&&8===f.F.nodeType&&(n.push(f),i.remove())):f.P===l&&("s"===a?Gt(i["s-sn"]=u[5]||"",u[2],f,i,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?i.remove():e.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.I){const e=Bt(null,i.textContent);e.F=i,e.V="0",t.M=[e]}return t},Kt=(t,e)=>{if(1===t.nodeType){const n=t[x]||t.getAttribute(x);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Kt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Kt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Qt=t=>({u:0,P:null,U:null,B:null,V:"0",F:null,L:null,M:null,A:null,D:null,I:null,R:null,...t});function Gt(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.F)?r.F["s-id"]||r.F.getAttribute("s-id"):"";if(e.shadowDom&&c&&R.document){const e=o.F=R.document.createElement(o.I);o.D&&o.F.setAttribute("name",t),r.F.shadowRoot&&u&&u!==o.P?Nt(r.F,"insertBefore")(e,Nt(r.F,"children")[0]):Nt(Nt(s,"parentNode"),"insertBefore")(e,s),ne(a,n,t,s,o.P),s.remove(),"0"===o.B&&(c[o.V]=o.F)}else{const e=o.F,i=u&&u!==o.P&&r.F.shadowRoot;ne(a,n,t,s,i?u:o.P),rt(s),i&&r.F.insertBefore(e,r.F.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var Zt,te,ee,ne=(t,e,n,o,s)=>{var r,i;let l=o.nextSibling;if(t[e]=t[e]||[],l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},oe=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},se=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),re="-shadowcsshost",ie="-shadowcssslotted",le="-shadowcsscontext",ce=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ae=RegExp("("+re+ce,"gim"),ue=RegExp("("+le+ce,"gim"),fe=RegExp("("+ie+ce,"gim"),de=re+"-no-combinator",he=/-shadowcsshost-no-combinator([^\s]*)/,pe=[/::shadow/g,/::content/g],me=/__part-(\d+)__/g,ve=/-shadowcsshost/gim,ge=t=>{const e=se(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},$e=/\/\*\s*[\s\S]*?\*\//g,be=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,ye=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Se=/([{}])/g,we=/(^.*?[^\\])??((:+)(.*)|$)/,je="%BLOCK%",xe=(t,e)=>{const n=Oe(t);let o=0;return n.escapedString.replace(ye,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+je)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${i}`}))},Oe=t=>{const e=t.split(Se),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const i=e[t];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(je),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(je)),{escapedString:n.join(""),blocks:o}},Ce=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(de,r,t[3]))}return o.join(",")}return de+t[3]})),_e=(t,e,n)=>t+e.replace(re,"")+n,Ee=(t,e,n)=>e.indexOf(re)>-1?_e(t,e,n):t+e+n+", "+e+" "+t+n,Ne=(t,e)=>t.replace(we,((t,n="",o,s="",r="")=>n+e+s+r)),ke=(t,e,n,o)=>xe(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(de)>-1)s=((t,e,n)=>{if(ve.lastIndex=0,ve.test(t)){const e="."+n;return t.replace(he,((t,n)=>Ne(n,e))).replace(ve,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(ve,"");e.length>0&&(s=Ne(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(de)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(de)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(me)&&(u||f.indexOf(de)>-1),l+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,l)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(r=ke(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Te=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Re=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match(be)||[])(t);t=(t=>t.replace($e,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=xe(t,(t=>"@"!==t.selector[0]?e(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=xe(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(fe,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const i=(r+s).trim(),l=`${r.trimEnd()}${s.trim()}`.trim();return i!==l&&o.push({orgSelector:i,updatedSelector:`${l}, ${i}`}),s}return de+t[3]})),{selectors:o,cssText:t}})(t=(t=>Ce(t,ue,Ee))(t=(t=>Ce(t,ae,_e))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=ge("::slotted"),o=ge(":host"),s=ge(":host-context");return t=t.replace(s,"$1"+le).replace(o,"$1"+re).replace(n,"$1"+ie),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>pe.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=ke(t,e,n,o)),{cssText:(t=(t=Te(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Te(t.orgSelector,n),updatedSelector:Te(t.updatedSelector,n)})))}})(t,e,n,o);return t=[i.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),i.slottedSelectors.forEach((e=>{const n=RegExp(se(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return xe(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},Le=t=>j.map((e=>e(t))).find((t=>!!t)),Me=class t{static fromLocalValue(e){const n=e[l],o=c in e?e[c]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return RegExp(r,i);case"set":const l=new Set;for(const e of o)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(l))return!1;const e=t[l];return!!Object.values({...r,...i}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(c))}},Ae=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(a)?t=function(t){return"string"==typeof t&&t.startsWith(a)?Me.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Pt(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?t+"":t,De=t=>{var n;return e.lazyLoad?null==(n=f(t))?void 0:n.$hostElement$:t},Ie=(t,n,o)=>{const s=De(t);return{emit:t=>(e.isDev&&!s.isConnected&&$(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),He(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},He=(t,e,n)=>{const o=M.ce(e,n);return t.dispatchEvent(o),o},Fe=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=p(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Ue(o);let i=Ue(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];i.push(e),r.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else n.remove(...r.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!r.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&un(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=f(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const l=Pt(s);if((c||l&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(k,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(k,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):p(R,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(Be);n=n.replace(ze,""),o&&M.rel(t,n,o,e),s&&M.ael(t,n,s,e)}},Pe=/\s/,Ue=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Pe):[]),Be="Capture",ze=RegExp(Be+"$"),Ve=(t,n,o,s)=>{const r=11===n.F.nodeType&&n.F.host?n.F.host:n.F,i=t&&t.L||{},l=n.L||{};if(e.updatable)for(const t of We(Object.keys(i)))t in l||Fe(r,t,i[t],void 0,o,n.u,s);for(const t of We(Object.keys(l)))Fe(r,t,i[t],l[t],o,n.u,s)};function We(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Ye=!1,Je=!1,Xe=!1,qe=!1,Ke=[],Qe=[],Ge=(t,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(e.slotRelocation&&!Ye&&(Xe=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.F&&g(`The JSX ${null!==r.R?`"${r.R}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.R)i=r.F=R.document.createTextNode(r.R);else if(e.slotRelocation&&1&r.u)i=r.F=e.isDebug||e.hydrateServerSide?pn(r):R.document.createTextNode(""),e.vdomAttribute&&Ve(null,r,qe);else{if(e.svg&&!qe&&(qe="svg"===r.I),!R.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.F=e.svg?R.document.createElementNS(qe?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Ye&&e.slotRelocation&&2&r.u?"slot-fb":r.I):R.document.createElement(!Ye&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&qe&&"foreignObject"===r.I&&(qe=!1),e.vdomAttribute&&Ve(null,r,qe),(e.scoped||e.hydrateServerSide)&&null!=Zt&&void 0!==Zt&&i["s-si"]!==Zt&&i.classList.add(i["s-si"]=Zt),r.M){const e="template"===r.I?i.content:i;for(a=0;a<r.M.length;++a)l=Ge(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.I?qe=!1:"foreignObject"===i.tagName&&(qe=!0))}return i["s-hn"]=ee,e.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=te,i["s-sn"]=r.D||"",i["s-rf"]=null==(s=r.L)?void 0:s.ref,rt(i),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.F&&Ze(t.F),(e.scoped||e.hydrateServerSide)&&dn(te,i,n.F,null==t?void 0:t.F)),i},Ze=t=>{M.u|=1;const e=t.closest(ee.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(fn(e,t,null!=n?n:null),t["s-sh"]=void 0,Xe=!0)}M.u&=-2},tn=(t,e)=>{M.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===ee&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==ee&&o["s-ol"]&&(fn(sn(o).parentNode,o,sn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Xe=!0),e&&tn(o,e)}M.u&=-2},en=(t,n,o,s,r,i)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===ee&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=i;++r)s[r]&&(l=Ge(null,o,r),l&&(s[r].F=l,fn(c,l,e.slotRelocation?sn(n):n)))},nn=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.F;an(n),t&&(e.slotRelocation&&(Je=!0,t["s-ol"]?t["s-ol"].remove():tn(t,!0)),t.remove())}}},on=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),sn=t=>t&&t["s-ol"]||t,rn=(t,n,o=!1)=>{const s=n.F=t.F,r=t.M,i=n.M,l=n.I,c=n.R;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.R!==c&&(s.data=c):(e.svg&&(qe="svg"===l||"foreignObject"!==l&&qe),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!Ye&&t.D!==n.D&&(n.F["s-sn"]=n.D||"",Ze(n.F.parentElement)),Ve(t,n,qe,o)),e.updatable&&null!==r&&null!==i?((t,n,o,s,r=!1)=>{let i,l,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];const $="template"===o.I?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(on(h,v,r))rn(h,v,r),h=n[++c],v=s[++a];else if(on(p,g,r))rn(p,g,r),p=n[--d],g=s[--m];else if(on(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||tn(h.F.parentNode,!1),rn(h,g,r),fn($,h.F,p.F.nextSibling),h=n[++c],g=s[--m];else if(on(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||tn(p.F.parentNode,!1),rn(p,v,r),fn($,p.F,h.F),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=Ge(n&&n[a],o,u):(rn(l,v,r),n[u]=void 0,i=l.F),v=s[++a]):(i=Ge(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?fn(sn(h.F).parentNode,i,sn(h.F)):fn(h.F.parentNode,i,h.F))}c>d?en(t,null==s[m+1]?null:s[m+1].F,o,s,a,m):e.updatable&&a>m&&nn(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.R&&(s.textContent=""),en(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?nn(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.M=r),e.svg&&qe&&"svg"===l&&(qe=!1))},ln=[],cn=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(nt(e,s)){let n=ln.find((t=>t.W===e));Je=!0,e["s-sn"]=e["s-sn"]||s,n?(n.W["s-sh"]=t["s-hn"],n.Y=t):(e["s-sh"]=t["s-hn"],ln.push({Y:t,W:e})),e["s-sr"]&&ln.map((t=>{nt(t.W,e["s-sn"])&&(n=ln.find((t=>t.W===e)),n&&!t.Y&&(t.Y=n.Y))}))}else ln.some((t=>t.W===e))||ln.push({W:e})}1===t.nodeType&&cn(t)}},an=t=>{e.vdomRef&&(t.L&&t.L.ref&&Ke.push((()=>t.L.ref(null))),t.M&&t.M.map(an))},un=(t,n)=>{e.vdomRef&&Qe.push((()=>t(n)))},fn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])dn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Ot(n),t.insertBefore(n,o);const{slotNode:r}=lt(n);return r&&!s&&it(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function dn(t,e,n,o){var s,r;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===l&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var hn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.J||Bt(null,null),d=Vt(n)?n:Ut(null,null,n);if(ee=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Vt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${ee.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.X&&(d.L=d.L||{},u.X.forEach((([n,o])=>{d.L[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.L)for(const t of Object.keys(d.L))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.L[t]=a[t]);if(d.I=null,d.u|=4,t.J=d,d.F=f.F=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Zt=a["s-sc"]),Ye=A&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(te=a["s-cr"],Je=!1),rn(f,d,o),e.slotRelocation){if(M.u|=1,Xe){cn(d.F);for(const t of ln){const n=t.W;if(!n["s-ol"]&&R.document){const t=e.isDebug||e.hydrateServerSide?mn(n):R.document.createTextNode("");t["s-nr"]=n,fn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of ln){const n=t.W,c=t.Y;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(i=e["s-nr"])?i:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(fn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=R.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,fn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}Je&&G(d.F),M.u&=-2,ln.length=0}if(e.slotRelocation&&!Ye&&!(1&u.u)&&a["s-cr"]){const t=d.F.__childNodes||d.F.childNodes;for(const e of t)if(e["s-hn"]!==ee&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=R.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],fn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}te=void 0,e.vdomRef&&(Ke.forEach((t=>t())),Ke.length=0,Qe.forEach((t=>t())),Qe.length=0)},pn=t=>{var e;return null==(e=R.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${ee.toLowerCase()})`)},mn=t=>{var e;return null==(e=R.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},vn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},gn=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);vn(t,t.K);const o=()=>$n(t,n);if(!n)return e.taskQueue?K(o):o();queueMicrotask((()=>{o()}))},$n=(t,n)=>{const o=t.$hostElement$,s=Tt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.l:o;if(!r)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,_n(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>_n(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),En(o,"componentWillLoad"),i=_n(r,"componentWillLoad",void 0,o)):(En(o,"componentWillUpdate"),i=_n(r,"componentWillUpdate",void 0,o)),En(o,"componentWillRender"),i=bn(i,(()=>_n(r,"componentWillRender",void 0,o))),s(),bn(i,(()=>Sn(t,r,n)))},bn=(t,e)=>yn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),yn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Sn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Tt("update",t.o.C),l=r["s-rc"];e.style&&o&&Dt(t);const c=Tt("render",t.o.C);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await jn(t,n,r,o):jn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{kn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){m(t,r)}if(e.asyncLoading&&l&&(l.map((t=>t())),r["s-rc"]=void 0),c(),i(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>xn(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else xn(t)},wn=null,jn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(wn=n,n=(r||n.render)&&n.render(),c&&l&&(t.u&=-17),(c||i)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>hn(t,e,s)));hn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){m(e,t.$hostElement$)}return wn=null,null},xn=t=>{const n=t.o.C,o=t.$hostElement$,s=Tt("postUpdate",n),r=e.lazyLoad?t.l:o,i=t.K;e.isDev&&(t.u|=1024),_n(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-1025),En(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),_n(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-1025),En(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&Nn(o),e.isDev&&(t.u|=2048),_n(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-2049),En(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),i||Cn(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&X((()=>gn(t,!1))),t.u&=-517)},On=t=>{var n;if(e.updatable&&(s.isBrowser||s.isTesting)){const e=f(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&gn(e,!1),o}return!1},Cn=n=>{var o;e.asyncQueue&&(M.u|=2),X((()=>He(R,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=M.tt)?void 0:o.size)&&M.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},_n=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){m(t,o)}},En=(n,o)=>{e.lifecycleDOMEvents&&He(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Nn=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},kn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),kn(n)}},Tn=(t,e)=>f(t).i.get(e),Rn=(t,n,o,s)=>{const r=f(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);if(e.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const i=e.lazyLoad?r.$hostElement$:t,l=r.i.get(n),c=r.u,a=e.lazyLoad?r.l:i;if(o=Ae(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==l||o===l||Number.isNaN(l)&&Number.isNaN(o))){if(r.i.set(n,o),e.serializer&&e.reflect&&s.X&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.l)}))}if(e.isDev&&(1024&r.u?$(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",o,"\nOld value",l):2048&r.u&&$(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",o,"\nOld value",l)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,l,n):r.O.push((()=>{r.l[e](o,l,n)})))}catch(t){m(t,i)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n)&&!(16&c))return;16&c||gn(r,!1)}}},Ln=(t,n,o)=>{var s,r;const i=t.prototype;if(e.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&o&&T.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=f(this),i=e.lazyLoad?null==r?void 0:r.l:this;if(i){const s=e.lazyLoad?i[t]:n;"function"==typeof s&&s.call(i,...o)}else null==(s=null==r?void 0:r.S)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=t.watchers),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=Object.getOwnPropertyDescriptor(i,t)||{};r&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(i,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Tn(this,t);const e=f(this),o=e?e.l:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):Tn(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=f(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||$(`@Prop() "${t}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(r=i.i.get(t)),l.call(this,Ae(r,s,e.formAssociated&&!!(64&n.u))),void Rn(this,t,r=32&s?this[t]:i.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return Rn(this,t,r,n),void(1&o&&!i.l&&i.O.push((()=>{4096&n.t[t][0]&&i.l[t]!==i.i.get(t)&&(i.l[t]=r)})));const l=()=>{const o=i.l[t];!i.i.get(t)&&o&&i.i.set(t,o),i.l[t]=Ae(r,s,e.formAssociated&&!!(64&n.u)),Rn(this,t,i.l[t],n)};i.l?l():i.O.push((()=>{l()}))}}else Rn(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=f(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(t,s,r){M.jmp((()=>{var c;const a=o.get(t),u=f(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.l?t(n,u.l):u.O.push((()=>{t(n,u.l)})):t(n,this)}return}if(i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&r!==s){const i=e.lazyLoad?u.l:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.nt)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=i[n]&&(128&o||1&l)&&i[n].call(i,r,s,t)}))}return}const d=l.find((([t])=>t===a));d&&4&d[1][0]&&(r=null!==r&&"false"!==r);const h=Object.getOwnPropertyDescriptor(i,a);r==this[a]||h.get&&!h.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...l.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const i=s[1]||t;return o.set(i,t),e.reflect&&512&s[0]&&(null==(r=n.X)||r.push([t,i])),i}))]))}}return t},Mn=async(t,n,o,s)=>{let r;try{if(!(32&n.u)){if(n.u|=32,e.lazyLoad&&o._){const i=S(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.N}`,`[Stencil] Load module for <${o.C}>`);r=await i,t()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.N}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=r.watchers,o.et=r.serializers,o.ot=r.deserializers),Ln(r,o,2),r.isProxied=!0);const l=Tt("createInstance",o.C);e.member&&(n.u|=8);try{new r(n)}catch(e){m(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),e.slotRelocation&&4&o.u?n.G=!0:An(n.l,t)}else r=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&r&&r.style){let i;"string"==typeof r.style?i=r.style:e.mode&&"string"!=typeof r.style&&(n.N=Le(t),n.N&&(i=r.style[n.N]),e.hydrateServerSide&&n.N&&t.setAttribute("s-mode",n.N));const l=It(o,n.N);if(!w.has(l)||e.hotModuleReplacement&&s){const t=Tt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(i=Re(i,l)),Mt(l,i,!!(1&o.u)),t()}}}const i=n.K,l=()=>gn(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()}catch(o){m(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),e.asyncLoading&&n.j&&n.j(t)}},An=(t,n)=>{e.lazyLoad&&_n(t,"connectedCallback",void 0,n)},Dn=t=>{if(!(1&M.u)){const n=f(t);if(!n)return;const o=n.o,s=Tt("connectedCallback",o.C);if(e.hostListenerTargetParent&&zn(t,n,o.st,!0),1&n.u)zn(t,n,o.st,!1),(null==n?void 0:n.l)?An(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>An(n.l,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(x),s)){if(e.shadowDom&&A&&1&o.u){const n=e.mode?At(t.shadowRoot,o,t.getAttribute("s-mode")):At(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=It(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Tt("hydrateClient",n),u=t.shadowRoot,d=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Bt(n,null);let g;if(v.F=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!R.document||M.tt&&M.tt.size||Kt(R.document.body,M.tt=new Map),t[x]=o,t.removeAttribute(x),s.J=qt(v,d,h,m,t,t,o,p);let $=0;const b=d.length;let y;for(;$<b;$++){y=d[$];const o=y.P+"."+y.U,s=M.tt.get(o),i=y.F;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.F.shadowRoot){const t=f(y.F);if(t){const n=It(t.o,e.mode?y.F.getAttribute("s-mode"):void 0),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=Kn(n).toUpperCase(),"slot"===y.I&&(i["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.F["s-sn"]||y.F.name||null,y.M?(y.u|=2,y.F.childNodes.length||y.M.forEach((t=>{y.F.appendChild(t.F)}))):y.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),u||(i["s-oo"]=parseInt(y.U))),s&&!s["s-id"]&&M.tt.delete(o)}const S=[],w=p.length;let j,O,C,_,E=0,N=0;for(;E<w;E++)if(j=p[E],j&&j.length)for(C=j.length,O=0;O<C;O++){if(_=j[O],S[_.hostId]||(S[_.hostId]=M.tt.get(_.hostId)),!S[_.hostId])continue;const t=S[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=j[O-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&u||(_.slot["s-cr"]||(_.slot["s-cr"]=t["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),ot(_.node,_.slot,!1,_.node["s-oo"]||N),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&yt(_.node)),N=(_.node["s-oo"]||N)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.F.parentElement.classList.add(g+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&In(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){vn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?X((()=>Mn(t,n,o))):Mn(t,n,o)}s()}},In=t=>{if(!R.document)return;const n=t["s-cr"]=R.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,fn(t,n,t.firstChild)},Hn=(t,n)=>{e.lazyLoad&&_n(t,"disconnectedCallback",void 0,n||t)},Fn=async t=>{if(!(1&M.u)){const n=f(t);e.hostListener&&(null==n?void 0:n.rt)&&(n.rt.map((t=>t())),n.rt=void 0),e.lazyLoad?(null==n?void 0:n.l)?Hn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Hn(n.l,t))):Hn(t)}Lt.has(t)&&Lt.delete(t),t.shadowRoot&&Lt.has(t.shadowRoot)&&Lt.delete(t.shadowRoot)},Pn=(t,n)=>{const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=t.nt,o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!A&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?ct(t.prototype):(e.slotChildNodesFix&&bt(t.prototype),e.cloneNodeFix&&at(t.prototype),e.appendChildSlotFix&&ut(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&$t(t.prototype)):e.cloneNodeFix&&at(t.prototype),e.hydrateClientSide&&e.shadowDom&&Ft();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){h(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=f(this);if(!t)return;zn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}Dn(this),s&&s.call(this)},disconnectedCallback(){Fn(this),r&&r.call(this)},__attachShadow(){if(A)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Q.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),Ln(t,o,3)}catch(e){return m(e),t}},Un=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=R.stencil=R.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=f(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.i,serializerValues:e.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.l,vnode:e.J,modeName:e.N,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,queuedListeners:e.Z,rmListeners:e.rt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!R.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Tt("bootstrapLazy"),r=[],i=n.exclude||[],l=R.customElements,c=R.document.head,a=c.querySelector("meta[charset]"),u=R.document.createElement("style"),d=[];let p,m=!0;Object.assign(M,n),M.k=new URL(n.resourcesUrl||"./",R.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(M.u|=4),e.hydrateClientSide&&(M.u|=2),e.hydrateClientSide&&e.shadowDom&&Ft();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c,a;const u={u:o[0],C:o[1],t:o[2],st:o[3]};4&u.u&&(v=!0),e.member&&(u.t=o[2]),e.hostListener&&(u.st=o[3]),e.reflect&&(u.X=[]),e.propChangeCallback&&(u.nt=null!=(s=o[4])?s:{},u.et=null!=(c=o[5])?c:{},u.ot=null!=(a=o[6])?a:{}),e.shadowDom&&!A&&1&u.u&&(u.u|=8);const g=e.transformTagName&&n.transformTagName?n.transformTagName(u.C):Kn(u.C),$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),h(t=this,u),e.shadowDom&&1&u.u)if(A)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Q.call(t,u);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=f(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,zn(this,t,u.st,!1)),p&&(clearTimeout(p),p=null),m?d.push(this):M.jmp((()=>Dn(this))))}disconnectedCallback(){M.jmp((()=>Fn(this))),M.raf((()=>{var t;const e=f(this);if(!e)return;const n=d.findIndex((t=>t===this));n>-1&&d.splice(n,1),(null==(t=null==e?void 0:e.J)?void 0:t.F)instanceof Node&&!e.J.F.isConnected&&delete e.J.F}))}componentOnReady(){var t;return null==(t=f(this))?void 0:t.S}};!(1&u.u)&&256&u.u?e.experimentalSlotFixes?ct($.prototype):(e.slotChildNodesFix&&bt($.prototype),e.cloneNodeFix&&at($.prototype),e.appendChildSlotFix&&ut($.prototype),e.scopedSlotTextContentFix&&2&u.u&&$t($.prototype)):e.cloneNodeFix&&at($.prototype),e.formAssociated&&64&u.u&&($.formAssociated=!0),e.hotModuleReplacement&&($.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=f(t);o&&(o.u=1,Mn(t,o,e,n))})(this,u,t)}),u._=t[0],i.includes(g)||l.get(g)||(r.push(g),l.define(g,Ln($,u,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=N),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=M.T)?o:Rt(R.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,d.length?d.map((t=>t.connectedCallback())):M.jmp(e.profile?()=>p=setTimeout(Cn,30,"timeout"):()=>p=setTimeout(Cn,30)),s()},Bn=(t,e)=>e,zn=(t,n,o,s)=>{e.hostListener&&o&&R.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const i=e.hostListenerTarget?Wn(R.document,t,o):t,l=Vn(n,r),c=Yn(o);M.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>M.rel(i,s,l,c)))})))},Vn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.l)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){m(e,t.$hostElement$)}},Wn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?R:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,Yn=t=>({passive:!!(1&t),capture:!!(2&t)}),Jn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Xn=t=>M.T=t,qn=void 0;function Kn(t){return qn?qn(t):t}function Qn(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)}var Gn=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=f(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||Zn(t,e,s.J,n,{nodeIds:0}),Gn(t,e,n,o)}))},Zn=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(x,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{to(t,n,s,r,e,o)}))}if(e&&n&&n.F&&!e.hasAttribute(C)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.F.setAttribute(C,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},to=(t,e,n,o,s,r)=>{const i=e.F;if(null==i)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${r}`;if(i["s-host-id"]=o,i["s-node-id"]=l,1===i.nodeType)i.setAttribute(C,c),"string"!=typeof i["s-sn"]||i.getAttribute("slot")||i.setAttribute("s-sn",i["s-sn"]);else if(3===i.nodeType){const e=i.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);fn(e,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{to(t,e,n,o,r,s)}))}},eo=Object.freeze({__proto__:null,BUILD:e,Build:s,Env:{},Fragment:Bn,H:L,HTMLElement:L,HYDRATED_STYLE_ID:O,Host:zt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Jn)},NAMESPACE:t,STENCIL_DEV_MODE:v,addHostEventListeners:zn,bootstrapLazy:Un,cmpModules:y,connectedCallback:Dn,consoleDevError:g,consoleDevInfo:b,consoleDevWarn:$,consoleError:m,createEvent:Ie,defineCustomElement:(t,e)=>{customElements.define(Kn(e[1]),Pn(t,e))},disconnectedCallback:Fn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Le(t),n=f(t);if(n&&n.N!==e){const o=n.o,s=t["s-sc"],r=It(o,e),i=t.constructor.style[e],l=o.u;i&&(w.has(r)||Mt(r,i,!!(1&l)),n.N=e,t.classList.remove(s+"-h",s+"-s"),Dt(n),On(t))}}},forceUpdate:On,getAssetPath:t=>{const e=new URL(t,M.k);return e.origin!==R.location.origin?e.href:e.pathname},getElement:De,getHostRef:f,getMode:t=>{var e;return null==(e=f(t))?void 0:e.N},getRenderingRef:()=>wn,getValue:Tn,h:Ut,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=_ in t?t[_]:{...E};n.staticComponents=new Set(e);const o=[];Gn(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],i=s["s-node-id"],l=`${r}.${i}`;if(null==r)if(r=0,n.rootLevelIds++,i=n.rootLevelIds,l=`${r}.${i}`,1===s.nodeType)s.setAttribute(C,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue="t."+l,fn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(l);e.nodeValue="c."+l,s.parentNode.insertBefore(e,s)}let c="o."+l;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:p,jsx:Qn,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)},jsxs:function(t,e,n){return Qn(t,e,n)},loadModule:S,modeResolutionChain:j,needsScopedSSR:()=>!1,nextTick:X,parsePropertyValue:Ae,plt:M,postUpdateComponent:xn,promiseResolve:D,proxyComponent:Ln,proxyCustomElement:Pn,readTask:q,registerHost:h,registerInstance:d,render:function(t,e){hn({o:{u:0,C:e.tagName},$hostElement$:e},t)},renderVdom:hn,setAssetPath:t=>M.k=t,setErrorHandler:t=>n=t,setMode:t=>j.push(t),setNonce:Xn,setPlatformHelpers:t=>{Object.assign(M,t)},setPlatformOptions:t=>Object.assign(M,t),setScopedSSR:()=>{},setTagTransformer:function(t){qn&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),qn=t},setValue:Rn,styles:w,supportsConstructableStylesheets:I,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:H,supportsShadow:A,transformTag:Kn,win:R,writeTask:K});export{e as B,Bn as F,L as H,t as N,eo as S,zt as a,Un as b,b as c,Ie as d,On as f,De as g,Ut as h,D as p,d as r,Xn as s,R as w}
@@ -1 +0,0 @@
1
- import{r as e,d as t,f as i,h as s,F as a,g as o}from"./p-ai7aDzJN.js";import{i as n}from"./p-Hgv-pDpy.js";const c=class{constructor(i){e(this,i),this.dsoClick=t(this,"dsoClick",3),this.typeIcons={ontwerp:"pencil","in-werking":"document","tijdelijk-regelingdeel":"document","tijdelijk-regelingdeel-besluit":"hammer",waarschuwing:"status-warning-red-solid",besluit:"hammer"}}connectedCallback(){this.mutationObserver=new MutationObserver((()=>i(this.host))),this.mutationObserver.observe(this.host,{attributes:!0,childList:!0})}disconnectedCallback(){this.mutationObserver?.disconnect(),delete this.mutationObserver}clickEventHandler(e){if(e.target instanceof HTMLElement&&this.href)return this.dsoClick.emit({originalEvent:e,isModifiedEvent:n(e)})}get titleSlottedElement(){return this.host.querySelector("[slot='title']")}get explanationSlottedElement(){return this.host.querySelector("[slot='explanation']")}get warningSlottedElement(){return this.host.querySelector("[slot='warning']")}render(){return s(a,{key:"d05fb1b3b74f630c55be5d2206b2de17470f9836"},s("div",{key:"2220bc35211c7d74074311d4bbe271e2c362cd7d",class:"history-item-date"},s("slot",{key:"92a7a233908dac9d72ef222a39d702260cc660b1",name:"date"})),s("div",{key:"45909a839a7d2727d8e24b65e28c778f246ec6cc",class:"history-item-content"},s("div",{key:"3ee1710117fca87d899a5aee3949b4d097df02a0",class:"history-item-status-message"},s("dso-icon",{key:"c5895e1c3516cec47dde55c2ec88425a02e2f5a5",icon:this.typeIcons[this.type],"aria-hidden":"true"}),s("slot",{key:"5b051c37f443ee272a9caf22a1a6a84194220770",name:"status"})),null!==this.titleSlottedElement&&this.href&&s("div",{key:"a15fc4d566a7419b9474cccec5320b44cfbd8be2",class:"history-item-title"},s("a",{key:"8e2f412d7a43b053b54127a25801230e7e0f9f0b",href:this.href,class:"title-anchor",onClick:e=>this.clickEventHandler(e)},s("slot",{key:"f7c0f17a4bb6cdf39023158b5754ccce8c936a62",name:"title"}))),null!==this.explanationSlottedElement&&s("div",{key:"edfc85eb17064138c632396dacb827ab78591cd1",class:"history-item-explanation"},s("slot",{key:"f89fc4ca79480fc2b8d067cc30aeee0f97a057e7",name:"explanation"})),null!==this.warningSlottedElement&&s("div",{key:"ece55196701e4f81b57c33dd105b3b8ffba9d103",class:"history-item-warning"},s("dso-icon",{key:"6aea77caa1aba4e2e6e6343c09efba8afa857387",icon:"status-warning-red-solid",role:"img","aria-label":"Waarschuwing"}),s("slot",{key:"f5300141a66ff1d080576b53604976224cffb636",name:"warning"}))))}get host(){return o(this)}};c.style=":host{border-block-end:1px solid #e5e5e5;display:flex;gap:8px;inline-size:100%;padding-block:16px}:host:has(.history-item-title a:is(:hover,:focus-visible)){background-color:#f2f2f2}*,*::after,*::before{box-sizing:border-box}:host([type=tijdelijk-regelingdeel]) .history-item-status-message{color:#8b4a6a}:host([type=tijdelijk-regelingdeel-besluit]) .history-item-status-message{color:#8b4a6a}:host([type=waarschuwing]) .history-item-status-message{color:#b62f41}.history-item-date,.history-item-content{display:flex;flex-direction:column}.history-item-date{flex:0 0 90px}.history-item-status-message,.history-item-warning{display:flex}.history-item-status-message dso-icon,.history-item-warning dso-icon{flex-shrink:0;margin-inline-end:8px}.history-item-warning{color:#b62f41}.history-item-title,.history-item-explanation,.history-item-warning{margin-block-start:8px;margin-inline-start:32px}.title-anchor{color:#39870c;font-weight:600;text-decoration:none}.title-anchor:hover{color:#39870c;text-decoration:underline}.title-anchor:visited{color:#39870c}";export{c as dso_history_item}
@@ -1 +0,0 @@
1
- import{r as o,d,h as s,g as l}from"./p-ai7aDzJN.js";import{g as a}from"./p-BWkWD1Z2.js";import{i}from"./p-FXEjFTzg.js";import{v as e}from"./p-C_akviUd.js";const t={en:{"dso-modal":{close:"Close",dialog:"Dialog"}},nl:{"dso-modal":{close:"Sluiten",dialog:"Dialoog"}}},r=class{constructor(s){o(this,s),this.dsoClose=d(this,"dsoClose",7),this.ariaId=e(),this.dialogRole="dialog",this.returnFocus=void 0,this.closable=!1,this.text=i((()=>this.host),t),this.blockEscapeKey=o=>{"Escape"===o.key&&(o.preventDefault(),this.closable&&this.dsoClose.emit({originalEvent:o}))}}get hasFooter(){return null!==this.host.querySelector("[slot='footer']")}componentDidLoad(){if(this.htmlDialogElement?.isConnected){const o=a();o instanceof HTMLElement&&(this.returnFocusElement=o),this.htmlDialogElement.showModal()}}disconnectedCallback(){this.htmlDialogElement?.close(),!1!==this.returnFocus&&(this.returnFocus??this.returnFocusElement)?.focus()}handleDialogClick(o){this.closable&&o.target===this.htmlDialogElement&&this.dsoClose.emit({originalEvent:o})}render(){return s("dialog",{key:"0a59daede2da8cea1862697b21a2c0cefe2ad2ba",class:"dso-modal",role:this.dialogRole??void 0,"aria-modal":"true","aria-labelledby":this.ariaId,ref:o=>this.htmlDialogElement=o,onClick:o=>this.handleDialogClick(o),onKeyDown:o=>this.blockEscapeKey(o)},s("div",{key:"1aa3945eefc77e466cf5f5a8176441f3341227c9",class:"dso-dialog",role:"document"},this.modalTitle?s("div",{class:"dso-header"},s("h2",{id:this.ariaId},this.modalTitle),this.closable&&s("dso-icon-button",{id:"close-modal",icon:"cross",variant:"tertiary",label:this.text("close"),onDsoClick:o=>this.dsoClose.emit({originalEvent:o})})):s("span",{class:"sr-only",id:this.ariaId},this.text("dialog")),s("dso-scrollable",{key:"8b4f73119c03e79c411cf2be522a22347d5734ba"},s("div",{key:"eaf1dd3795fd7f29f784b19028a29f4adef739b1",class:"dso-body",tabIndex:0},s("slot",{key:"6941bcfc9c5c38fbc1b4a7e54f5f6abf9b83938c",name:"body"}))),this.hasFooter&&s("div",{key:"f1367f0059cde476a93126459a97e79be952ae4e",class:"dso-footer"},s("slot",{key:"0ac156c12718075bebb54010cc360c118faa7bfd",name:"footer"}))))}get host(){return l(this)}};r.style="@keyframes ModalFadeIn{0%{opacity:0}100%{opacity:1}}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([fullscreen]) dialog{inline-size:100dvi;block-size:100dvb}:host([fullscreen]) dialog .dso-dialog{display:flex;flex-direction:column;inline-size:100%;block-size:100%}:host([fullscreen]) dialog .dso-dialog>dso-scrollable{flex-grow:1;max-block-size:unset}:host([fullscreen]) dialog .dso-footer{flex-shrink:0}@media screen and (max-width: 480px){:host dialog{inline-size:100dvi;block-size:100dvb}:host dialog .dso-dialog{display:flex;flex-direction:column;inline-size:100%;block-size:100%}:host dialog .dso-dialog>dso-scrollable{flex-grow:1;max-block-size:unset}:host dialog .dso-footer{flex-shrink:0}}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}button{-webkit-appearance:button;color:inherit;cursor:pointer;font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}button[disabled]{cursor:default}button::-moz-focus-inner{border:0;padding:0}.dso-modal{overflow:visible;padding:0;border:0}.dso-modal::backdrop{background-color:rgba(255, 255, 255, 0.8)}.dso-modal .dso-dialog{inline-size:640px;background-color:#fff;opacity:1;box-shadow:0 8px 24px 0 rgba(25, 25, 25, 0.4);animation:200ms ease-out 0s 1 ModalFadeIn}.dso-modal .dso-header{position:relative;padding:16px;border-block-end:1px solid #ccc}.dso-modal .dso-header h2{max-inline-size:calc(100% - 24px);margin:0;color:#275937}.dso-modal .dso-header .dso-close{position:absolute;inset-block-start:16px;inset-inline-end:13px;block-size:32px;inline-size:32px;padding:0;background-color:transparent;border:0;text-align:center}.dso-modal>.dso-dialog>.dso-body p{margin-block:0 var(--_dt-rich-content-margin-block, 16px);margin-inline:0}.dso-modal>.dso-dialog>.dso-body ul,.dso-modal>.dso-dialog>.dso-body ol{margin-block-end:16px}.dso-modal>.dso-dialog>.dso-body ul:not(.list-group):not(.dso-link-list):not(.dso-columns-list),.dso-modal>.dso-dialog>.dso-body ol:not(.list-group):not(.dso-link-list):not(.dso-columns-list){padding-inline-start:24px}.dso-modal>.dso-dialog>.dso-body ul ul,.dso-modal>.dso-dialog>.dso-body ul ol,.dso-modal>.dso-dialog>.dso-body ol ul,.dso-modal>.dso-dialog>.dso-body ol ol{margin-block-end:0}.dso-modal>.dso-dialog>.dso-body pre{margin-block:0 16px;margin-inline:0}.dso-modal>.dso-dialog>.dso-body blockquote{padding-block:16px;padding-inline:24px}.dso-modal>.dso-dialog>.dso-body dso-highlight-box,.dso-modal>.dso-dialog>.dso-body .dso-highlight-box{margin-block-end:24px}.dso-modal>.dso-dialog>.dso-body img{block-size:auto;max-inline-size:100%}.dso-modal>.dso-dialog>.dso-body{block-size:calc(100% - 96px - 1.5rem);max-block-size:calc(70vh - 144px - 1.5em);min-block-size:1.5rem;overflow-x:auto;padding:32px}.dso-modal>.dso-dialog>dso-scrollable{block-size:calc(100% - 96px - 1.5rem);max-block-size:calc(70vh - 144px - 1.5em);min-block-size:6.5rem}.dso-modal>.dso-dialog>dso-scrollable .dso-body p{margin-block:0 var(--_dt-rich-content-margin-block, 16px);margin-inline:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol{margin-block-end:16px}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul:not(.list-group):not(.dso-link-list):not(.dso-columns-list),.dso-modal>.dso-dialog>dso-scrollable .dso-body ol:not(.list-group):not(.dso-link-list):not(.dso-columns-list){padding-inline-start:24px}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ul ol,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol ol{margin-block-end:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body pre{margin-block:0 16px;margin-inline:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body blockquote{padding-block:16px;padding-inline:24px}.dso-modal>.dso-dialog>dso-scrollable .dso-body dso-highlight-box,.dso-modal>.dso-dialog>dso-scrollable .dso-body .dso-highlight-box{margin-block-end:24px}.dso-modal>.dso-dialog>dso-scrollable .dso-body img{block-size:auto;max-inline-size:100%}.dso-modal>.dso-dialog>dso-scrollable .dso-body{padding:32px}.dso-modal .dso-body:focus-visible{outline:none}@media screen and (max-width: 767px){.dso-modal .dso-footer .dso-primary+.dso-primary,.dso-modal .dso-footer .dso-primary+.dso-secondary,.dso-modal .dso-footer .dso-primary+.dso-tertiary,.dso-modal .dso-footer .dso-secondary+.dso-primary,.dso-modal .dso-footer .dso-secondary+.dso-secondary,.dso-modal .dso-footer .dso-secondary+.dso-tertiary,.dso-modal .dso-footer .dso-tertiary+.dso-primary,.dso-modal .dso-footer .dso-tertiary+.dso-secondary,.dso-modal .dso-footer .dso-tertiary+.dso-tertiary{margin-inline-start:0}.dso-modal .dso-footer button{inline-size:100%;text-align:center}.dso-modal .dso-footer button+button{margin-block-start:8px}.dso-modal .dso-footer button.dso-tertiary,.dso-modal .dso-footer button.dso-tertiary span{float:none}}.dso-modal .dso-footer{min-block-size:80px;padding-block:16px;padding-inline:32px;text-align:end}@media screen and (min-width: 768px){.dso-modal .dso-footer .dso-primary+.dso-secondary,.dso-modal .dso-footer .dso-secondary+.dso-secondary,.dso-modal .dso-footer .dso-tertiary+.dso-secondary{margin-inline-start:16px}.dso-modal .dso-footer .dso-primary+.dso-tertiary,.dso-modal .dso-footer .dso-secondary+.dso-tertiary,.dso-modal .dso-footer .dso-tertiary+.dso-tertiary{margin-inline-start:0}}@media screen and (max-width: 767px){.dso-modal .dso-dialog{max-inline-size:100%;margin-block-start:0}.dso-modal .dso-footer .dso-primary+.dso-primary,.dso-modal .dso-footer .dso-primary+.dso-secondary,.dso-modal .dso-footer .dso-primary+.dso-tertiary,.dso-modal .dso-footer .dso-secondary+.dso-primary,.dso-modal .dso-footer .dso-secondary+.dso-secondary,.dso-modal .dso-footer .dso-secondary+.dso-tertiary,.dso-modal .dso-footer .dso-tertiary+.dso-primary,.dso-modal .dso-footer .dso-tertiary+.dso-secondary,.dso-modal .dso-footer .dso-tertiary+.dso-tertiary{margin-inline-start:0}.dso-modal .dso-footer button{inline-size:100%;text-align:center}.dso-modal .dso-footer button+button{margin-block-start:8px}.dso-modal .dso-footer button.dso-tertiary,.dso-modal .dso-footer button.dso-tertiary span{float:none}}@media screen and (max-height: 380px){.dso-modal .dso-dialog{min-block-size:216px;margin-block-start:8px;margin-block-end:8px}.dso-modal .dso-header{padding-block:8px;padding-inline:16px}.dso-modal .dso-header .dso-close{inset-block-start:8px}.dso-modal .dso-body{padding-block:16px;padding-inline:24px}.dso-modal .dso-footer{min-block-size:auto;overflow:auto;padding-block:8px;padding-inline:32px}}.dso-modal .dso-header dso-icon-button{position:absolute;inset-block-start:22px;inset-inline-end:17px}";export{r as dso_modal}