@public-ui/components 3.0.4 → 3.0.5-rc.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 (350) hide show
  1. package/custom-elements.json +1 -1
  2. package/dist/cjs/{Alert-cn2Kv0FC.js → Alert-C3vof8gc.js} +1 -1
  3. package/dist/cjs/{Alert-cn2Kv0FC.js.map → Alert-C3vof8gc.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-D6Rx6EuQ.js → Collapsible-BwQQh0mz.js} +1 -1
  5. package/dist/cjs/{Collapsible-D6Rx6EuQ.js.map → Collapsible-BwQQh0mz.js.map} +1 -1
  6. package/dist/cjs/{CustomSuggestionsToggle-c31ciioQ.js → CustomSuggestionsToggle-B-bTmnBQ.js} +1 -1
  7. package/dist/cjs/{CustomSuggestionsToggle-c31ciioQ.js.map → CustomSuggestionsToggle-B-bTmnBQ.js.map} +1 -1
  8. package/dist/cjs/{FieldControlStateWrapper-Dvxn9pqq.js → FieldControlStateWrapper-Cmlj42uN.js} +1 -1
  9. package/dist/cjs/{FieldControlStateWrapper-Dvxn9pqq.js.map → FieldControlStateWrapper-Cmlj42uN.js.map} +1 -1
  10. package/dist/cjs/{FormFieldStateWrapper-BpKPX_8A.js → FormFieldStateWrapper-B3KooWZ3.js} +1 -1
  11. package/dist/cjs/{FormFieldStateWrapper-BpKPX_8A.js.map → FormFieldStateWrapper-B3KooWZ3.js.map} +1 -1
  12. package/dist/cjs/{Heading-CtmpC6WX.js → Heading-BXbctWBt.js} +1 -1
  13. package/dist/{esm/Heading-K34kz2yJ.js.map → cjs/Heading-BXbctWBt.js.map} +1 -1
  14. package/dist/cjs/{Icon-D3jAAEmG.js → Icon-ttrOpSx4.js} +1 -1
  15. package/dist/cjs/{Icon-D3jAAEmG.js.map → Icon-ttrOpSx4.js.map} +1 -1
  16. package/dist/cjs/{Input-CGtUCWlW.js → Input-jk9vBtZy.js} +1 -1
  17. package/dist/cjs/{Input-CGtUCWlW.js.map → Input-jk9vBtZy.js.map} +1 -1
  18. package/dist/cjs/{InputStateWrapper-GOIpzL9H.js → InputStateWrapper-BUpZkpZ4.js} +1 -1
  19. package/dist/cjs/{InputStateWrapper-GOIpzL9H.js.map → InputStateWrapper-BUpZkpZ4.js.map} +1 -1
  20. package/dist/cjs/{InternalUnderlinedBadgeText-CXiVmsfF.js → InternalUnderlinedBadgeText-B9JCUpQ0.js} +1 -1
  21. package/dist/cjs/{InternalUnderlinedBadgeText-CXiVmsfF.js.map → InternalUnderlinedBadgeText-B9JCUpQ0.js.map} +1 -1
  22. package/dist/cjs/{Span-SEBNg7Ys.js → Span-B82DoaCk.js} +1 -1
  23. package/dist/cjs/{Span-SEBNg7Ys.js.map → Span-B82DoaCk.js.map} +1 -1
  24. package/dist/cjs/{app-globals-pBuoPDZL.js → app-globals-BBL5j1Pg.js} +1 -1
  25. package/dist/cjs/{app-globals-pBuoPDZL.js.map → app-globals-BBL5j1Pg.js.map} +1 -1
  26. package/dist/cjs/{associated.controller-DliVZLxU.js → associated.controller-DCjDhSZx.js} +1 -1
  27. package/dist/cjs/{associated.controller-DliVZLxU.js.map → associated.controller-DCjDhSZx.js.map} +1 -1
  28. package/dist/cjs/bootstrap-CtGLo8kW.js +4 -0
  29. package/dist/cjs/bootstrap-CtGLo8kW.js.map +1 -0
  30. package/dist/cjs/{controller-CWp-nBmW.js → controller-Ck-2hdGT.js} +1 -1
  31. package/dist/cjs/{controller-CWp-nBmW.js.map → controller-Ck-2hdGT.js.map} +1 -1
  32. package/dist/cjs/{controller-V4SgR2qi.js → controller-CspoQhj4.js} +1 -1
  33. package/dist/cjs/{controller-V4SgR2qi.js.map → controller-CspoQhj4.js.map} +1 -1
  34. package/dist/cjs/{controller-onlXPSoa.js → controller-VVml6XNp.js} +1 -1
  35. package/dist/cjs/{controller-onlXPSoa.js.map → controller-VVml6XNp.js.map} +1 -1
  36. package/dist/cjs/{controller-icon-DLwh9hYY.js → controller-icon-5A-2C49Q.js} +1 -1
  37. package/dist/cjs/{controller-icon-DLwh9hYY.js.map → controller-icon-5A-2C49Q.js.map} +1 -1
  38. package/dist/cjs/{dev.utils-DXEgSGmp.js → dev.utils-BmcUr5ps.js} +1 -1
  39. package/dist/cjs/{dev.utils-DXEgSGmp.js.map → dev.utils-BmcUr5ps.js.map} +1 -1
  40. package/dist/cjs/{devtools-z-oG8s9h.js → devtools-D1oXS0lZ.js} +1 -1
  41. package/dist/cjs/{devtools-z-oG8s9h.js.map → devtools-D1oXS0lZ.js.map} +1 -1
  42. package/dist/cjs/index-DZ4EBybr.js +4 -0
  43. package/dist/cjs/index-DZ4EBybr.js.map +1 -0
  44. package/dist/cjs/index.cjs.js +1 -1
  45. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  107. package/dist/cjs/kolibri.cjs.js +1 -1
  108. package/dist/cjs/loader.cjs.js +1 -1
  109. package/dist/cjs/test-component.cjs.entry.js +1 -1
  110. package/dist/components/Heading.js.map +1 -1
  111. package/dist/components/bootstrap.js +1 -1
  112. package/dist/components/bootstrap.js.map +1 -1
  113. package/dist/esm/{Alert-BD7M6uRz.js → Alert-C9KodDn-.js} +1 -1
  114. package/dist/{kolibri/Alert-BD7M6uRz.js.map → esm/Alert-C9KodDn-.js.map} +1 -1
  115. package/dist/esm/{Collapsible-Cm151Fs4.js → Collapsible-DFegUHMu.js} +1 -1
  116. package/dist/esm/{Collapsible-Cm151Fs4.js.map → Collapsible-DFegUHMu.js.map} +1 -1
  117. package/dist/esm/{CustomSuggestionsToggle-C-nYEmvT.js → CustomSuggestionsToggle-YLF12END.js} +1 -1
  118. package/dist/{kolibri/CustomSuggestionsToggle-C-nYEmvT.js.map → esm/CustomSuggestionsToggle-YLF12END.js.map} +1 -1
  119. package/dist/esm/{FieldControlStateWrapper-C1_urHeO.js → FieldControlStateWrapper-DlhKEQYv.js} +1 -1
  120. package/dist/{kolibri/FieldControlStateWrapper-C1_urHeO.js.map → esm/FieldControlStateWrapper-DlhKEQYv.js.map} +1 -1
  121. package/dist/esm/{FormFieldStateWrapper-C90koSDb.js → FormFieldStateWrapper-CGvaBC47.js} +1 -1
  122. package/dist/{kolibri/FormFieldStateWrapper-C90koSDb.js.map → esm/FormFieldStateWrapper-CGvaBC47.js.map} +1 -1
  123. package/dist/esm/{Heading-K34kz2yJ.js → Heading-BPYmDTUk.js} +1 -1
  124. package/dist/{cjs/Heading-CtmpC6WX.js.map → esm/Heading-BPYmDTUk.js.map} +1 -1
  125. package/dist/esm/Icon-CPJLro7v.js +4 -0
  126. package/dist/esm/{Icon-FjmG-C5E.js.map → Icon-CPJLro7v.js.map} +1 -1
  127. package/dist/esm/Input-DjC4bpJ5.js +4 -0
  128. package/dist/{kolibri/Input-B3EAo7Zn.js.map → esm/Input-DjC4bpJ5.js.map} +1 -1
  129. package/dist/esm/{InputStateWrapper-C5Wdo05z.js → InputStateWrapper-C2VyGe6a.js} +1 -1
  130. package/dist/esm/{InputStateWrapper-C5Wdo05z.js.map → InputStateWrapper-C2VyGe6a.js.map} +1 -1
  131. package/dist/esm/InternalUnderlinedBadgeText-Cx9AyLre.js +4 -0
  132. package/dist/esm/{InternalUnderlinedBadgeText-9Tu8seHa.js.map → InternalUnderlinedBadgeText-Cx9AyLre.js.map} +1 -1
  133. package/dist/esm/{Span-BlZWELRP.js → Span-BebyS5Q1.js} +1 -1
  134. package/dist/esm/{Span-BlZWELRP.js.map → Span-BebyS5Q1.js.map} +1 -1
  135. package/dist/esm/{app-globals-h0jVpMUb.js → app-globals-CESfn_CS.js} +1 -1
  136. package/dist/esm/{app-globals-h0jVpMUb.js.map → app-globals-CESfn_CS.js.map} +1 -1
  137. package/dist/esm/{associated.controller-BBBKf7S0.js → associated.controller-BVXWSO2G.js} +1 -1
  138. package/dist/esm/{associated.controller-BBBKf7S0.js.map → associated.controller-BVXWSO2G.js.map} +1 -1
  139. package/dist/esm/bootstrap-YDZ8Qb_h.js +4 -0
  140. package/dist/esm/bootstrap-YDZ8Qb_h.js.map +1 -0
  141. package/dist/esm/{controller-BshDxmnY.js → controller-BhAbvioO.js} +1 -1
  142. package/dist/esm/{controller-BshDxmnY.js.map → controller-BhAbvioO.js.map} +1 -1
  143. package/dist/esm/{controller-czapbbAQ.js → controller-DOh6Y7if.js} +1 -1
  144. package/dist/esm/{controller-czapbbAQ.js.map → controller-DOh6Y7if.js.map} +1 -1
  145. package/dist/esm/{controller-vMa681y9.js → controller-DR6tEetQ.js} +1 -1
  146. package/dist/esm/{controller-vMa681y9.js.map → controller-DR6tEetQ.js.map} +1 -1
  147. package/dist/esm/{controller-icon-DB58M2Dn.js → controller-icon-Dak8u7ck.js} +1 -1
  148. package/dist/{kolibri/controller-icon-DB58M2Dn.js.map → esm/controller-icon-Dak8u7ck.js.map} +1 -1
  149. package/dist/esm/{dev.utils-B8InC9wC.js → dev.utils-CMSYtmAz.js} +1 -1
  150. package/dist/esm/{dev.utils-B8InC9wC.js.map → dev.utils-CMSYtmAz.js.map} +1 -1
  151. package/dist/esm/{devtools-D2tZX5IH.js → devtools-CDwLKwYR.js} +1 -1
  152. package/dist/esm/{devtools-D2tZX5IH.js.map → devtools-CDwLKwYR.js.map} +1 -1
  153. package/dist/esm/index-BRWth_lT.js +4 -0
  154. package/dist/esm/index-BRWth_lT.js.map +1 -0
  155. package/dist/esm/index.js +1 -1
  156. package/dist/esm/kol-abbr.entry.js +1 -1
  157. package/dist/esm/kol-accordion.entry.js +1 -1
  158. package/dist/esm/kol-alert-wc.entry.js +1 -1
  159. package/dist/esm/kol-alert.entry.js +1 -1
  160. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  161. package/dist/esm/kol-avatar.entry.js +1 -1
  162. package/dist/esm/kol-badge.entry.js +1 -1
  163. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  164. package/dist/esm/kol-button-link.entry.js +1 -1
  165. package/dist/esm/kol-button-wc.entry.js +1 -1
  166. package/dist/esm/kol-button.entry.js +1 -1
  167. package/dist/esm/kol-card-wc.entry.js +1 -1
  168. package/dist/esm/kol-card.entry.js +1 -1
  169. package/dist/esm/kol-combobox.entry.js +1 -1
  170. package/dist/esm/kol-details.entry.js +1 -1
  171. package/dist/esm/kol-drawer.entry.js +1 -1
  172. package/dist/esm/kol-form.entry.js +1 -1
  173. package/dist/esm/kol-heading.entry.js +1 -1
  174. package/dist/esm/kol-icon.entry.js +1 -1
  175. package/dist/esm/kol-image.entry.js +1 -1
  176. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  177. package/dist/esm/kol-input-color.entry.js +1 -1
  178. package/dist/esm/kol-input-date.entry.js +1 -1
  179. package/dist/esm/kol-input-email.entry.js +1 -1
  180. package/dist/esm/kol-input-file.entry.js +1 -1
  181. package/dist/esm/kol-input-number.entry.js +1 -1
  182. package/dist/esm/kol-input-password.entry.js +1 -1
  183. package/dist/esm/kol-input-radio.entry.js +1 -1
  184. package/dist/esm/kol-input-range.entry.js +1 -1
  185. package/dist/esm/kol-input-text.entry.js +1 -1
  186. package/dist/esm/kol-kolibri.entry.js +1 -1
  187. package/dist/esm/kol-link-button.entry.js +1 -1
  188. package/dist/esm/kol-link-wc.entry.js +1 -1
  189. package/dist/esm/kol-link.entry.js +1 -1
  190. package/dist/esm/kol-modal.entry.js +1 -1
  191. package/dist/esm/kol-nav.entry.js +1 -1
  192. package/dist/esm/kol-pagination-wc.entry.js +1 -1
  193. package/dist/esm/kol-pagination.entry.js +1 -1
  194. package/dist/esm/kol-popover-button-wc.entry.js +1 -1
  195. package/dist/esm/kol-popover-button.entry.js +1 -1
  196. package/dist/esm/kol-popover-wc.entry.js +1 -1
  197. package/dist/esm/kol-progress.entry.js +1 -1
  198. package/dist/esm/kol-quote.entry.js +1 -1
  199. package/dist/esm/kol-select.entry.js +1 -1
  200. package/dist/esm/kol-single-select.entry.js +1 -1
  201. package/dist/esm/kol-skip-nav.entry.js +1 -1
  202. package/dist/esm/kol-spin.entry.js +1 -1
  203. package/dist/esm/kol-split-button.entry.js +1 -1
  204. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  205. package/dist/esm/kol-table-stateful.entry.js +1 -1
  206. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  207. package/dist/esm/kol-table-stateless.entry.js +1 -1
  208. package/dist/esm/kol-tabs.entry.js +1 -1
  209. package/dist/esm/kol-textarea.entry.js +1 -1
  210. package/dist/esm/kol-toast-container.entry.js +1 -1
  211. package/dist/esm/kol-toolbar.entry.js +1 -1
  212. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  213. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  214. package/dist/esm/kol-tree-item.entry.js +1 -1
  215. package/dist/esm/kol-tree-wc.entry.js +1 -1
  216. package/dist/esm/kol-tree.entry.js +1 -1
  217. package/dist/esm/kol-version.entry.js +1 -1
  218. package/dist/esm/kolibri.js +1 -1
  219. package/dist/esm/loader.js +1 -1
  220. package/dist/esm/test-component.entry.js +1 -1
  221. package/dist/kolibri/{Alert-BD7M6uRz.js → Alert-C9KodDn-.js} +1 -1
  222. package/dist/{esm/Alert-BD7M6uRz.js.map → kolibri/Alert-C9KodDn-.js.map} +1 -1
  223. package/dist/kolibri/Collapsible-DFegUHMu.js +4 -0
  224. package/dist/kolibri/{Collapsible-Cm151Fs4.js.map → Collapsible-DFegUHMu.js.map} +1 -1
  225. package/dist/kolibri/{CustomSuggestionsToggle-C-nYEmvT.js → CustomSuggestionsToggle-YLF12END.js} +1 -1
  226. package/dist/{esm/CustomSuggestionsToggle-C-nYEmvT.js.map → kolibri/CustomSuggestionsToggle-YLF12END.js.map} +1 -1
  227. package/dist/kolibri/FieldControlStateWrapper-DlhKEQYv.js +4 -0
  228. package/dist/{esm/FieldControlStateWrapper-C1_urHeO.js.map → kolibri/FieldControlStateWrapper-DlhKEQYv.js.map} +1 -1
  229. package/dist/kolibri/{FormFieldStateWrapper-C90koSDb.js → FormFieldStateWrapper-CGvaBC47.js} +1 -1
  230. package/dist/{esm/FormFieldStateWrapper-C90koSDb.js.map → kolibri/FormFieldStateWrapper-CGvaBC47.js.map} +1 -1
  231. package/dist/kolibri/{Heading-K34kz2yJ.js → Heading-BPYmDTUk.js} +1 -1
  232. package/dist/kolibri/{Heading-K34kz2yJ.js.map → Heading-BPYmDTUk.js.map} +1 -1
  233. package/dist/kolibri/Icon-CPJLro7v.js +4 -0
  234. package/dist/kolibri/{Icon-FjmG-C5E.js.map → Icon-CPJLro7v.js.map} +1 -1
  235. package/dist/kolibri/Input-DjC4bpJ5.js +4 -0
  236. package/dist/{esm/Input-B3EAo7Zn.js.map → kolibri/Input-DjC4bpJ5.js.map} +1 -1
  237. package/dist/kolibri/{InputStateWrapper-C5Wdo05z.js → InputStateWrapper-C2VyGe6a.js} +1 -1
  238. package/dist/kolibri/{InputStateWrapper-C5Wdo05z.js.map → InputStateWrapper-C2VyGe6a.js.map} +1 -1
  239. package/dist/kolibri/InternalUnderlinedBadgeText-Cx9AyLre.js +4 -0
  240. package/dist/kolibri/{InternalUnderlinedBadgeText-9Tu8seHa.js.map → InternalUnderlinedBadgeText-Cx9AyLre.js.map} +1 -1
  241. package/dist/kolibri/Span-BebyS5Q1.js +4 -0
  242. package/dist/kolibri/{Span-BlZWELRP.js.map → Span-BebyS5Q1.js.map} +1 -1
  243. package/dist/kolibri/{app-globals-h0jVpMUb.js → app-globals-CESfn_CS.js} +1 -1
  244. package/dist/kolibri/{app-globals-h0jVpMUb.js.map → app-globals-CESfn_CS.js.map} +1 -1
  245. package/dist/kolibri/{associated.controller-BBBKf7S0.js → associated.controller-BVXWSO2G.js} +1 -1
  246. package/dist/kolibri/{associated.controller-BBBKf7S0.js.map → associated.controller-BVXWSO2G.js.map} +1 -1
  247. package/dist/kolibri/bootstrap-YDZ8Qb_h.js +4 -0
  248. package/dist/kolibri/bootstrap-YDZ8Qb_h.js.map +1 -0
  249. package/dist/kolibri/{controller-BshDxmnY.js → controller-BhAbvioO.js} +1 -1
  250. package/dist/kolibri/{controller-BshDxmnY.js.map → controller-BhAbvioO.js.map} +1 -1
  251. package/dist/kolibri/{controller-czapbbAQ.js → controller-DOh6Y7if.js} +1 -1
  252. package/dist/kolibri/{controller-czapbbAQ.js.map → controller-DOh6Y7if.js.map} +1 -1
  253. package/dist/kolibri/{controller-vMa681y9.js → controller-DR6tEetQ.js} +1 -1
  254. package/dist/kolibri/{controller-vMa681y9.js.map → controller-DR6tEetQ.js.map} +1 -1
  255. package/dist/kolibri/{controller-icon-DB58M2Dn.js → controller-icon-Dak8u7ck.js} +1 -1
  256. package/dist/{esm/controller-icon-DB58M2Dn.js.map → kolibri/controller-icon-Dak8u7ck.js.map} +1 -1
  257. package/dist/kolibri/{dev.utils-B8InC9wC.js → dev.utils-CMSYtmAz.js} +1 -1
  258. package/dist/kolibri/{dev.utils-B8InC9wC.js.map → dev.utils-CMSYtmAz.js.map} +1 -1
  259. package/dist/kolibri/{devtools-D2tZX5IH.js → devtools-CDwLKwYR.js} +1 -1
  260. package/dist/kolibri/{devtools-D2tZX5IH.js.map → devtools-CDwLKwYR.js.map} +1 -1
  261. package/dist/kolibri/{index-2YbJq5J3.js → index-BRWth_lT.js} +2 -2
  262. package/dist/kolibri/index-BRWth_lT.js.map +1 -0
  263. package/dist/kolibri/index.esm.js +1 -1
  264. package/dist/kolibri/kol-abbr.entry.js +1 -1
  265. package/dist/kolibri/kol-accordion.entry.js +1 -1
  266. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  267. package/dist/kolibri/kol-alert.entry.js +1 -1
  268. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  269. package/dist/kolibri/kol-avatar.entry.js +1 -1
  270. package/dist/kolibri/kol-badge.entry.js +1 -1
  271. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  272. package/dist/kolibri/kol-button-link.entry.js +1 -1
  273. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  274. package/dist/kolibri/kol-button.entry.js +1 -1
  275. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  276. package/dist/kolibri/kol-card.entry.js +1 -1
  277. package/dist/kolibri/kol-combobox.entry.js +1 -1
  278. package/dist/kolibri/kol-details.entry.js +1 -1
  279. package/dist/kolibri/kol-drawer.entry.js +1 -1
  280. package/dist/kolibri/kol-form.entry.js +1 -1
  281. package/dist/kolibri/kol-heading.entry.js +1 -1
  282. package/dist/kolibri/kol-icon.entry.js +1 -1
  283. package/dist/kolibri/kol-image.entry.js +1 -1
  284. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  285. package/dist/kolibri/kol-input-color.entry.js +1 -1
  286. package/dist/kolibri/kol-input-date.entry.js +1 -1
  287. package/dist/kolibri/kol-input-email.entry.js +1 -1
  288. package/dist/kolibri/kol-input-file.entry.js +1 -1
  289. package/dist/kolibri/kol-input-number.entry.js +1 -1
  290. package/dist/kolibri/kol-input-password.entry.js +1 -1
  291. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  292. package/dist/kolibri/kol-input-range.entry.js +1 -1
  293. package/dist/kolibri/kol-input-text.entry.js +1 -1
  294. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  295. package/dist/kolibri/kol-link-button.entry.js +1 -1
  296. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  297. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  298. package/dist/kolibri/kol-link.entry.js +1 -1
  299. package/dist/kolibri/kol-modal.entry.js +1 -1
  300. package/dist/kolibri/kol-nav.entry.js +1 -1
  301. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  302. package/dist/kolibri/kol-pagination.entry.js +1 -1
  303. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  304. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  305. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  306. package/dist/kolibri/kol-progress.entry.js +1 -1
  307. package/dist/kolibri/kol-quote.entry.js +1 -1
  308. package/dist/kolibri/kol-select.entry.js +1 -1
  309. package/dist/kolibri/kol-single-select.entry.js +1 -1
  310. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  311. package/dist/kolibri/kol-spin.entry.js +1 -1
  312. package/dist/kolibri/kol-split-button.entry.js +1 -1
  313. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  314. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  315. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  316. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  317. package/dist/kolibri/kol-tabs.entry.js +1 -1
  318. package/dist/kolibri/kol-textarea.entry.js +1 -1
  319. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  320. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  321. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  322. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  323. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  324. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  325. package/dist/kolibri/kol-tree.entry.js +1 -1
  326. package/dist/kolibri/kol-version.entry.js +1 -1
  327. package/dist/kolibri/kolibri.esm.js +1 -1
  328. package/dist/kolibri/test-component.entry.js +1 -1
  329. package/dist/types/functional-components/Heading/Heading.d.ts +2 -1
  330. package/package.json +1 -1
  331. package/dist/cjs/bootstrap-CKtJWjuP.js +0 -4
  332. package/dist/cjs/bootstrap-CKtJWjuP.js.map +0 -1
  333. package/dist/cjs/index-Dv9GHNjE.js +0 -4
  334. package/dist/cjs/index-Dv9GHNjE.js.map +0 -1
  335. package/dist/esm/Icon-FjmG-C5E.js +0 -4
  336. package/dist/esm/Input-B3EAo7Zn.js +0 -4
  337. package/dist/esm/InternalUnderlinedBadgeText-9Tu8seHa.js +0 -4
  338. package/dist/esm/bootstrap-B_0ftOOI.js +0 -4
  339. package/dist/esm/bootstrap-B_0ftOOI.js.map +0 -1
  340. package/dist/esm/index-2YbJq5J3.js +0 -4
  341. package/dist/esm/index-2YbJq5J3.js.map +0 -1
  342. package/dist/kolibri/Collapsible-Cm151Fs4.js +0 -4
  343. package/dist/kolibri/FieldControlStateWrapper-C1_urHeO.js +0 -4
  344. package/dist/kolibri/Icon-FjmG-C5E.js +0 -4
  345. package/dist/kolibri/Input-B3EAo7Zn.js +0 -4
  346. package/dist/kolibri/InternalUnderlinedBadgeText-9Tu8seHa.js +0 -4
  347. package/dist/kolibri/Span-BlZWELRP.js +0 -4
  348. package/dist/kolibri/bootstrap-B_0ftOOI.js +0 -4
  349. package/dist/kolibri/bootstrap-B_0ftOOI.js.map +0 -1
  350. package/dist/kolibri/index-2YbJq5J3.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"dev.utils-B8InC9wC.js","sources":["src/utils/dev.utils.ts"],"sourcesContent":["import { Log, getDocument, isTestMode, setColorContrastAnalysis, setExperimentalMode } from '../schema';\n\nimport { getWindow } from '../schema';\nimport { Env } from '@stencil/core';\n\nconst initMeta = (): void => {\n\ttry {\n\t\tconst document = getDocument();\n\t\tif (!document || typeof document.querySelector !== 'function') {\n\t\t\treturn; // Skip meta initialization if document is not available\n\t\t}\n\n\t\tconst meta = document.querySelector('meta[name=\"kolibri\"]');\n\t\tif (meta && meta.hasAttribute('content')) {\n\t\t\tconst content = meta.getAttribute('content');\n\t\t\tif (typeof content === 'string') {\n\t\t\t\tsetExperimentalMode(content.includes('experimental-mode=true'));\n\t\t\t\tsetColorContrastAnalysis(content.includes('color-contrast-analysis=true'));\n\t\t\t}\n\t\t}\n\t} catch (error) {\n\t\t// Ignore meta initialization errors in test/SSR environments\n\t}\n};\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nexport { getKoliBri };\n\nexport const initKoliBri = (): void => {\n\tinitMeta();\n\tLog.debug(\n\t\t`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \\`--' | |) /_ ,--.--. \\`--'\n| . ' | .-. | | | ,--. | .-. \\\\ | .--' ,--.\n| |\\\\ \\\\ | '-' | | | | | | '--' / | | | |\n\\`--' \\`--´ \\`---´ \\`--' \\`--' \\`------´ \\`--' \\`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Env.kolibriVersion}\n\t`,\n\t\t{\n\t\t\tforceLog: true,\n\t\t},\n\t);\n};\n\nexport const renderDevAdvice = (): void => {\n\tif (getKoliBri().adviceShown !== true) {\n\t\tObject.defineProperty(getKoliBri(), 'adviceShown', {\n\t\t\tget: function () {\n\t\t\t\treturn true;\n\t\t\t},\n\t\t});\n\t\tLog.debug(\n\t\t\t`\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n`,\n\t\t);\n\t}\n};\n\nlet nonce = (): string => Math.floor(Math.random() * 16777215).toString(16);\n\nif (isTestMode()) {\n\tnonce = (): string => 'nonce';\n}\n\nexport { nonce };\n"],"names":[],"mappings":";;;;;;AAKA,MAAM,QAAQ,GAAG,MAAW;AAC3B,IAAA,IAAI;AACH,QAAA,MAAM,QAAQ,GAAG,WAAW,EAAE;QAC9B,IAAI,CAAC,QAAQ,IAAI,OAAO,QAAQ,CAAC,aAAa,KAAK,UAAU,EAAE;YAC9D;;QAGD,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC;QAC3D,IAAI,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE;YACzC,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC;AAC5C,YAAA,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;gBAChC,mBAAmB,CAAC,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;gBAC/D,wBAAwB,CAAC,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC;;;;IAG3E,OAAO,KAAK,EAAE;;AAGjB,CAAC;AAED,MAAM,UAAU,GAAG,MAA8B;AAChD,IAAA,IAAI,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO;AACjC,IAAA,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE;AACZ,QAAA,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE;AAC7C,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,QAAQ,EAAE,KAAK;AACf,SAAA,CAAC;;AAEH,IAAA,OAAO,OAAO;AACf,CAAC;AAIM,MAAM,WAAW,GAAG,MAAW;AACrC,IAAA,QAAQ,EAAE;IACV,GAAG,CAAC,KAAK,CACR;;;;;;AAMmE,mEAAA,EAAA,GAAG,CAAC,cAAc;EACrF,EACA;AACC,QAAA,QAAQ,EAAE,IAAI;AACd,KAAA,CACD;AACF;AAEO,MAAM,eAAe,GAAG,MAAW;AACzC,IAAA,IAAI,UAAU,EAAE,CAAC,WAAW,KAAK,IAAI,EAAE;AACtC,QAAA,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,EAAE,aAAa,EAAE;AAClD,YAAA,GAAG,EAAE,YAAA;AACJ,gBAAA,OAAO,IAAI;aACX;AACD,SAAA,CAAC;QACF,GAAG,CAAC,KAAK,CACR;;;;;AAKF,CAAA,CACE;;AAEH;AAEI,IAAA,KAAK,GAAG,MAAc,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC,QAAQ,CAAC,EAAE;AAE1E,IAAI,UAAU,EAAE,EAAE;AACjB,IAAA,KAAK,GAAG,MAAc,OAAO;AAC9B;;;;"}
1
+ {"version":3,"file":"dev.utils-CMSYtmAz.js","sources":["src/utils/dev.utils.ts"],"sourcesContent":["import { Log, getDocument, isTestMode, setColorContrastAnalysis, setExperimentalMode } from '../schema';\n\nimport { getWindow } from '../schema';\nimport { Env } from '@stencil/core';\n\nconst initMeta = (): void => {\n\ttry {\n\t\tconst document = getDocument();\n\t\tif (!document || typeof document.querySelector !== 'function') {\n\t\t\treturn; // Skip meta initialization if document is not available\n\t\t}\n\n\t\tconst meta = document.querySelector('meta[name=\"kolibri\"]');\n\t\tif (meta && meta.hasAttribute('content')) {\n\t\t\tconst content = meta.getAttribute('content');\n\t\t\tif (typeof content === 'string') {\n\t\t\t\tsetExperimentalMode(content.includes('experimental-mode=true'));\n\t\t\t\tsetColorContrastAnalysis(content.includes('color-contrast-analysis=true'));\n\t\t\t}\n\t\t}\n\t} catch (error) {\n\t\t// Ignore meta initialization errors in test/SSR environments\n\t}\n};\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nexport { getKoliBri };\n\nexport const initKoliBri = (): void => {\n\tinitMeta();\n\tLog.debug(\n\t\t`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \\`--' | |) /_ ,--.--. \\`--'\n| . ' | .-. | | | ,--. | .-. \\\\ | .--' ,--.\n| |\\\\ \\\\ | '-' | | | | | | '--' / | | | |\n\\`--' \\`--´ \\`---´ \\`--' \\`--' \\`------´ \\`--' \\`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Env.kolibriVersion}\n\t`,\n\t\t{\n\t\t\tforceLog: true,\n\t\t},\n\t);\n};\n\nexport const renderDevAdvice = (): void => {\n\tif (getKoliBri().adviceShown !== true) {\n\t\tObject.defineProperty(getKoliBri(), 'adviceShown', {\n\t\t\tget: function () {\n\t\t\t\treturn true;\n\t\t\t},\n\t\t});\n\t\tLog.debug(\n\t\t\t`\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n`,\n\t\t);\n\t}\n};\n\nlet nonce = (): string => Math.floor(Math.random() * 16777215).toString(16);\n\nif (isTestMode()) {\n\tnonce = (): string => 'nonce';\n}\n\nexport { nonce };\n"],"names":[],"mappings":";;;;;;AAKA,MAAM,QAAQ,GAAG,MAAW;AAC3B,IAAA,IAAI;AACH,QAAA,MAAM,QAAQ,GAAG,WAAW,EAAE;QAC9B,IAAI,CAAC,QAAQ,IAAI,OAAO,QAAQ,CAAC,aAAa,KAAK,UAAU,EAAE;YAC9D;;QAGD,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC;QAC3D,IAAI,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE;YACzC,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC;AAC5C,YAAA,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;gBAChC,mBAAmB,CAAC,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;gBAC/D,wBAAwB,CAAC,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC;;;;IAG3E,OAAO,KAAK,EAAE;;AAGjB,CAAC;AAED,MAAM,UAAU,GAAG,MAA8B;AAChD,IAAA,IAAI,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO;AACjC,IAAA,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE;AACZ,QAAA,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE;AAC7C,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,QAAQ,EAAE,KAAK;AACf,SAAA,CAAC;;AAEH,IAAA,OAAO,OAAO;AACf,CAAC;AAIM,MAAM,WAAW,GAAG,MAAW;AACrC,IAAA,QAAQ,EAAE;IACV,GAAG,CAAC,KAAK,CACR;;;;;;AAMmE,mEAAA,EAAA,GAAG,CAAC,cAAc;EACrF,EACA;AACC,QAAA,QAAQ,EAAE,IAAI;AACd,KAAA,CACD;AACF;AAEO,MAAM,eAAe,GAAG,MAAW;AACzC,IAAA,IAAI,UAAU,EAAE,CAAC,WAAW,KAAK,IAAI,EAAE;AACtC,QAAA,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,EAAE,aAAa,EAAE;AAClD,YAAA,GAAG,EAAE,YAAA;AACJ,gBAAA,OAAO,IAAI;aACX;AACD,SAAA,CAAC;QACF,GAAG,CAAC,KAAK,CACR;;;;;AAKF,CAAA,CACE;;AAEH;AAEI,IAAA,KAAK,GAAG,MAAc,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC,QAAQ,CAAC,EAAE;AAE1E,IAAI,UAAU,EAAE,EAAE;AACjB,IAAA,KAAK,GAAG,MAAc,OAAO;AAC9B;;;;"}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{U as t,L as o,A as i,D as n,W as e,P as s,X as l,Y as a,Z as r,p as c,_ as f,J as d,$ as u}from"./common-zXZUsQ7l.js";import{i as p,r as m}from"./dev.utils-B8InC9wC.js";import"./index-2YbJq5J3.js";const v=()=>{let t=n().KoliBri;return void 0===t&&(t={},Object.defineProperty(n(),"KoliBri",{value:t,writable:!1})),t};function L(t,e){try{Object.defineProperty(v(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const y=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),h=()=>{if(p(),t()&&(m(),L("a11yColorContrast",e),L("querySelector",s),L("querySelectorAll",l),L("querySelectorColors",a),L("utils",function(){return r}),L("parseJson",c),L("stringifyJson",f),y("Development mode",t()),y("Experimental mode",d()),y("Color contrast analysis",u()),setTimeout(()=>{try{const t=i(),e=null==t?void 0:t.body;if(t&&e&&"function"==typeof t.createElement){const o=t.createElement("svg");o.setAttribute("aria-label","KoliBri-DevTools"),o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("role","toolbar"),o.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),o.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',e.appendChild(o)}}catch(t){o.debug(["Could not initialize DevTools UI (likely in SSR/test environment):",t])}},100),u())){const t=setTimeout(()=>{clearTimeout(t);try{const t=i(),o=null==t?void 0:t.body;t&&o&&"function"==typeof t.createElement&&setInterval(()=>{r.queryHtmlElementColors(t.createElement("div"),e(o),!1,!1)},1e4)}catch(t){o.debug(["Could not initialize color contrast analysis:",t])}},2500)}};export{h as initialize};
4
+ import{U as t,L as o,A as i,D as e,W as n,P as l,X as s,Y as a,Z as r,p as c,_ as f,J as d,$ as u}from"./common-zXZUsQ7l.js";import{i as m,r as p}from"./dev.utils-CMSYtmAz.js";import"./index-BRWth_lT.js";const v=()=>{let t=e().KoliBri;return void 0===t&&(t={},Object.defineProperty(e(),"KoliBri",{value:t,writable:!1})),t};function L(t,e){try{Object.defineProperty(v(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const h=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),y=()=>{if(m(),t()&&(p(),L("a11yColorContrast",n),L("querySelector",l),L("querySelectorAll",s),L("querySelectorColors",a),L("utils",function(){return r}),L("parseJson",c),L("stringifyJson",f),h("Development mode",t()),h("Experimental mode",d()),h("Color contrast analysis",u()),setTimeout(()=>{try{const t=i(),e=null==t?void 0:t.body;if(t&&e&&"function"==typeof t.createElement){const o=t.createElement("svg");o.setAttribute("aria-label","KoliBri-DevTools"),o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("role","toolbar"),o.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),o.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',e.appendChild(o)}}catch(t){o.debug(["Could not initialize DevTools UI (likely in SSR/test environment):",t])}},100),u())){const t=setTimeout(()=>{clearTimeout(t);try{const t=i(),e=null==t?void 0:t.body;t&&e&&"function"==typeof t.createElement&&setInterval(()=>{r.queryHtmlElementColors(t.createElement("div"),n(e),!1,!1)},1e4)}catch(t){o.debug(["Could not initialize color contrast analysis:",t])}},2500)}};export{y as initialize};
@@ -1 +1 @@
1
- {"version":3,"file":"devtools-D2tZX5IH.js","sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tisDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (isDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tmetaModeLog('Development mode', isDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\t// Delay DOM manipulation to ensure document is ready\n\t\tsetTimeout(() => {\n\t\t\ttry {\n\t\t\t\tconst document = getDocument();\n\t\t\t\tconst body = document?.body;\n\n\t\t\t\t// Only proceed if we have a valid document and body\n\t\t\t\tif (document && body && typeof document.createElement === 'function') {\n\t\t\t\t\tconst div = document.createElement('svg');\n\t\t\t\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\t\t\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\t\t\t\tdiv.setAttribute('role', 'toolbar');\n\t\t\t\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\t\t\t\tdiv.innerHTML = `<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"50\"\n height=\"50\"\n viewBox=\"0 0 600 600\"\n>\n <path d=\"M353 322L213 304V434L353 322Z\" fill=\"#047\" />\n <path d=\"M209 564V304L149 434L209 564Z\" fill=\"#047\" />\n <path d=\"M357 316L417 250L361 210L275 244L357 316Z\" fill=\"#047\" />\n <path d=\"M353 318L35 36L213 300L353 318Z\" fill=\"#047\" />\n <path d=\"M329 218L237 92L250 222L272 241L329 218Z\" fill=\"#047\" />\n <path d=\"M391 286L565 272L421 252L391 286Z\" fill=\"#047\" />\n</svg>`;\n\n\t\t\t\t\tbody.appendChild(div);\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tLog.debug(['Could not initialize DevTools UI (likely in SSR/test environment):', error]);\n\t\t\t}\n\t\t}, 100);\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\ttry {\n\t\t\t\t\tconst document = getDocument();\n\t\t\t\t\tconst body = document?.body;\n\t\t\t\t\tif (document && body && typeof document.createElement === 'function') {\n\t\t\t\t\t\tsetInterval(() => {\n\t\t\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(document.createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t\t\t}, 10000);\n\t\t\t\t\t}\n\t\t\t\t} catch (error) {\n\t\t\t\t\tLog.debug(['Could not initialize color contrast analysis:', error]);\n\t\t\t\t}\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"devtools-CDwLKwYR.js","sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tisDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (isDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tmetaModeLog('Development mode', isDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\t// Delay DOM manipulation to ensure document is ready\n\t\tsetTimeout(() => {\n\t\t\ttry {\n\t\t\t\tconst document = getDocument();\n\t\t\t\tconst body = document?.body;\n\n\t\t\t\t// Only proceed if we have a valid document and body\n\t\t\t\tif (document && body && typeof document.createElement === 'function') {\n\t\t\t\t\tconst div = document.createElement('svg');\n\t\t\t\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\t\t\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\t\t\t\tdiv.setAttribute('role', 'toolbar');\n\t\t\t\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\t\t\t\tdiv.innerHTML = `<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"50\"\n height=\"50\"\n viewBox=\"0 0 600 600\"\n>\n <path d=\"M353 322L213 304V434L353 322Z\" fill=\"#047\" />\n <path d=\"M209 564V304L149 434L209 564Z\" fill=\"#047\" />\n <path d=\"M357 316L417 250L361 210L275 244L357 316Z\" fill=\"#047\" />\n <path d=\"M353 318L35 36L213 300L353 318Z\" fill=\"#047\" />\n <path d=\"M329 218L237 92L250 222L272 241L329 218Z\" fill=\"#047\" />\n <path d=\"M391 286L565 272L421 252L391 286Z\" fill=\"#047\" />\n</svg>`;\n\n\t\t\t\t\tbody.appendChild(div);\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tLog.debug(['Could not initialize DevTools UI (likely in SSR/test environment):', error]);\n\t\t\t}\n\t\t}, 100);\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\ttry {\n\t\t\t\t\tconst document = getDocument();\n\t\t\t\t\tconst body = document?.body;\n\t\t\t\t\tif (document && body && typeof document.createElement === 'function') {\n\t\t\t\t\t\tsetInterval(() => {\n\t\t\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(document.createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t\t\t}, 10000);\n\t\t\t\t\t}\n\t\t\t\t} catch (error) {\n\t\t\t\t\tLog.debug(['Could not initialize color contrast analysis:', error]);\n\t\t\t\t}\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"names":[],"mappings":"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"}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./common-zXZUsQ7l.js";const e="kolibri",t={hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0},n={kolibriVersion:"3.0.4"};var r=Object.defineProperty,i=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l="http://www.w3.org/2000/svg",o="http://www.w3.org/1999/xhtml",s=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(s||{}),f=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(f||{}),a="type",c="value",u="serialized:",v=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},d=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},p=(e,t)=>{const n={i:0,$hostElement$:e,l:t,o:new Map};n.u=new Promise(e=>n.v=e),n.p=new Promise(e=>n.h=e),e["s-p"]=[],e["s-rc"]=[];const o=n;return e.__stencil__getHostRef=()=>o,o},h=(e,t)=>t in e,$=(e,t)=>(0,console.error)(e,t),y=new Map,m=(e,t,n)=>{const o=e.$.replace(/-/g,"_"),s=e.m;if(!s)return;const l=y.get(s);return l?l[o]:import(`./${s}.entry.js`).then(e=>(y.set(s,e),e[o]),e=>{$(e,t.$hostElement$)})
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,b=[],g="r",S="o",j="s",O="t",k="c",x="s-id",N="sty-id",E="c-id",C="{visibility:hidden}.hydrated{visibility:inherit}",I="slot-fb{display:contents}slot-fb[hidden]{display:none}",M="http://www.w3.org/1999/xlink",R="undefined"!=typeof window?window:{},L={i:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},U=(()=>{var e;let t=!1;try{null==(e=R.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),F=e=>Promise.resolve(e),P=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),T=!!P&&(!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable),A=e=>F().then(e),D=e=>"object"===(e=typeof e)||"function"===e;function B(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var V=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),W=class e{static fromLocalValue(t){const n=t[a],o=c in t?t[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(t=>e.fromLocalValue(t));case"date":return new Date(o);case"map":const t=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?e.fromLocalValue(n):n,l=e.fromLocalValue(s);t.set(o,l)}return t;case"object":const s={};for(const[t,n]of o)s[t]=e.fromLocalValue(n);return s;case"regexp":const{pattern:l,flags:r}=o;return new RegExp(l,r);case"set":const i=new Set;for(const t of o)i.add(e.fromLocalValue(t));return i;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(a))return!1;const t=e[a];return!!Object.values({...s,...f}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(c))}},z={};i(z,{err:()=>H,map:()=>q,ok:()=>_,unwrap:()=>J,unwrapErr:()=>Y});var _=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function q(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(e=>_(e)):_(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var X,J=e=>{if(e.isOk)return e.value;throw e.value},Y=e=>{if(e.isErr)return e.value;throw e.value};function G(e){return"string"==typeof e&&e.startsWith(u)?W.fromLocalValue(JSON.parse(atob(e.slice(u.length)))):e}function Q(e){}function Z(e){var t;const n=this.attachShadow({mode:"open",delegatesFocus:!!(16&e.i)});void 0===X&&(X=null!=(t=Q())?t:null),X&&(T?n.adoptedStyleSheets.push(X):n.adoptedStyleSheets=[...n.adoptedStyleSheets,X])}var K=e=>{const t=se(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&te(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(ne(e,le(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&se(e,"childNodes").length&&K(e)}},ee=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function te(e,t,n){let o,s=0,l=[];for(;s<e.length;s++)o=e[s],!o["s-sr"]||t&&o["s-hn"]!==t||void 0!==n||l.push(o),l=[...l,...te(o.childNodes,t,n)];return l}var ne=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)le(s)!==t||!n&&s["s-sr"]||o.push(s);return o},re=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,ie=(e,t,n,o)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const l=t["s-cr"].parentNode,r=se(l,"appendChild");if(void 0!==o){s["s-oo"]=o;const e=se(l,"childNodes"),t=[s];e.forEach(e=>{e["s-nr"]&&t.push(e)}),t.sort((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0),t.forEach(e=>r.call(l,e))}else r.call(l,s);e["s-ol"]=s,e["s-sh"]=t["s-hn"]},le=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function oe(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for KoliBri 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 KoliBri repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:ee(s.childNodes)).forEach(e=>{o===le(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function se(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var fe=(e,t="")=>()=>{},ae=(e,t)=>()=>{},ce=new WeakMap,ue=(e,t,n)=>{let o=w.get(e);P&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,w.set(e,o)},ve=(e,t,n)=>{var o;const s=pe(t,n),l=w.get(s);if(!R.document)return s;if(e=11===e.nodeType?e:R.document,l)if("string"==typeof l){e=e.head||e;let n,r=ce.get(e);if(r||ce.set(e,r=new Set),!r.has(s)){if(e.host&&(n=e.querySelector(`[${N}="${s}"]`)))n.innerHTML=l;else{n=R.document.createElement("style"),n.innerHTML=l;const s=null!=(o=L.j)?o:B(R.document);if(null!=s&&n.setAttribute("nonce",s),!(1&t.i))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(P){const t=new CSSStyleSheet;t.replaceSync(l),T?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(n)}else e.append(n);1&t.i&&e.insertBefore(n,null)}4&t.i&&(n.innerHTML+=I),r&&r.add(s)}}else e.adoptedStyleSheets.includes(l)||(T?e.adoptedStyleSheets.push(l):e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return s},de=e=>{const t=e.l,n=e.$hostElement$,o=t.i,s=fe("attachStyles",t.$),l=ve(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.O);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h")),s()},pe=(e,t)=>"sc-"+(t&&32&e.i?e.$+"-"+t:e.$),he=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),$e=()=>{if(!R.document)return;const e=R.document.querySelectorAll(`[${N}]`);let t=0;for(;t<e.length;t++)ue(e[t].getAttribute(N),he(e[t].innerHTML),!0)},ye=(e,t,...n)=>{let o=null,s=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!D(o))&&(o=String(o)),r&&i?a[a.length-1].k+=o:a.push(r?me(null,o):o),i=r)};if(c(n),t){t.key&&(s=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,ge);const d=me(e,null);return d.N=t,a.length>0&&(d.C=a),d.I=s,d.M=l,d},me=(e,t)=>{const n={i:0,R:e,k:t,L:null,C:null,N:null,I:null,M:null};return n},we={},be=e=>e&&e.R===we,ge={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(je)},Se=e=>({vattrs:e.N,vchildren:e.C,vkey:e.I,vname:e.M,vtag:e.R,vtext:e.k}),je=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),ye(e.vtag,t,...e.vchildren||[])}const t=me(e.vtag,e.vtext);return t.N=e.vattrs,t.C=e.vchildren,t.I=e.vkey,t.M=e.vname,t},Oe=(e,t,n,o)=>{var s,l,r;const i=fe("hydrateClient",t),a=e.shadowRoot,c=[],d=[],u=a?[]:null,h=me(t,null);h.L=e;Object.entries((null==(s=o.l)?void 0:s.U)||{}).forEach(([t,[n,s]])=>{var l;if(!(31&n))return;const r=s||t,i=e.getAttribute(r);if(null!==i){const e=Ue(i,n);null==(l=null==o?void 0:o.o)||l.set(t,e)}}),!R.document||L.F&&L.F.size||xe(R.document.body,L.F=new Map),e[x]=n,e.removeAttribute(x),o.P=ke(h,c,[],u,e,e,n,d);let f=0;const p=c.length;let m;for(;f<p;f++){m=c[f];const n=m.T+"."+m.A,o=L.F.get(n),s=m.L;if(a){if((null==(l=m.R)?void 0:l.toString().includes("-"))&&"slot-fb"!==m.R&&!m.L.shadowRoot){const t=v(m.L);if(t){const n=pe(t.l,m.L.getAttribute("s-mode")),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&e.shadowRoot.append(o.cloneNode(!0))}}}else s["s-hn"]=t.toUpperCase(),"slot"===m.R&&(s["s-cr"]=e["s-cr"]);"slot"===m.R&&(m.M=m.L["s-sn"]||m.L.name||null,m.C?(m.i|=2,m.L.childNodes.length||m.C.forEach(e=>{m.L.appendChild(e.L)})):m.i|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),a||(s["s-oo"]=parseInt(m.A))),o&&!o["s-id"]&&L.F.delete(n)}const y=[],g=d.length;let b,w,N,S,C=0;for(;C<g;C++)if(b=d[C],b&&b.length)for(N=b.length,w=0;w<N;w++){if(S=b[w],y[S.hostId]||(y[S.hostId]=L.F.get(S.hostId)),!y[S.hostId])continue;const e=y[S.hostId];e.shadowRoot&&S.node.parentElement!==e&&e.appendChild(S.node),e.shadowRoot&&a||(S.slot["s-cr"]||(S.slot["s-cr"]=e["s-cr"],!S.slot["s-cr"]&&e.shadowRoot?S.slot["s-cr"]=e:S.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]),ie(S.node,S.slot,!1,S.node["s-oo"]),(null==(r=S.node.parentElement)?void 0:r.shadowRoot)&&S.node.getAttribute&&S.node.getAttribute("slot")&&S.node.removeAttribute("slot"))}if(a){let t=0;const n=u.length;if(n){for(;t<n;t++){const e=u[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach(e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):(8===e.nodeType&&!e.nodeValue||3===e.nodeType&&!e.wholeText.trim())&&e.parentNode.removeChild(e))})}}o.$hostElement$=e,i()},ke=(e,t,n,o,s,l,r,i=[])=>{let a,c,d,u;if(1===l.nodeType){if(a=l.getAttribute(E),a&&(c=a.split("."),c[0]===r||"0"===c[0])){d=Ne({i:0,T:c[0],A:c[1],D:c[2],B:c[3],R:l.tagName.toLowerCase(),L:l,N:{class:l.className||""}}),t.push(d),l.removeAttribute(E),e.C||(e.C=[]);const s=d.L.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===d.R&&Ee(s,c[2],d,l,e,t,n,o,i),d.L["s-sn"]=s,d.L.removeAttribute("s-sn")),void 0!==d.B&&(e.C[d.B]=d),e=d,o&&"0"===d.D&&(o[d.B]=d.L)}if(l.shadowRoot)for(u=l.shadowRoot.childNodes.length-1;u>=0;u--)ke(e,t,n,o,s,l.shadowRoot.childNodes[u],r,i);const h=l.__childNodes||l.childNodes;for(u=h.length-1;u>=0;u--)ke(e,t,n,o,s,h[u],r,i)}else if(8===l.nodeType){if(c=l.nodeValue.split("."),c[1]===r||"0"===c[1])if(a=c[0],d=Ne({T:c[1],A:c[2],D:c[3],B:c[4]||"0",L:l,N:null,C:null,I:null,M:null,R:null,k:null}),a===O)d.L=Ie(l,3),d.L&&3===d.L.nodeType&&(d.k=d.L.textContent,t.push(d),l.remove(),r===d.T&&(e.C||(e.C=[]),e.C[d.B]=d),o&&"0"===d.D&&(o[d.B]=d.L));else if(a===k)d.L=Ie(l,8),d.L&&8===d.L.nodeType&&(t.push(d),l.remove());else if(d.T===r)if(a===j){Ee(l["s-sn"]=c[5]||"",c[2],d,l,e,t,n,o,i)}else a===g&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))}else if(e&&"style"===e.R){const t=me(null,l.textContent);t.L=l,t.B="0",e.C=[t]}else 3!==l.nodeType||l.wholeText.trim()||l["s-nr"]||l.remove();return e},xe=(e,t)=>{if(1===e.nodeType){const n=e[x]||e.getAttribute(x);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)xe(e.shadowRoot.childNodes[o],t);const s=e.__childNodes||e.childNodes;for(o=0;o<s.length;o++)xe(s[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===S&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},Ne=e=>({i:0,T:null,A:null,D:null,B:"0",L:null,N:null,C:null,I:null,M:null,R:null,k:null,...e});function Ee(e,t,n,o,s,l,r,i,a){o["s-sr"]=!0,n.M=e||null,n.R="slot";const c=(null==s?void 0:s.L)?s.L["s-id"]||s.L.getAttribute("s-id"):"";if(i&&R.document){const l=n.L=R.document.createElement(n.R);n.M&&n.L.setAttribute("name",e),s.L.shadowRoot&&c&&c!==n.T?se(s.L,"insertBefore")(l,se(s.L,"children")[0]):se(se(o,"parentNode"),"insertBefore")(l,o),Ce(a,t,e,o,n.T),o.remove(),"0"===n.D&&(i[n.B]=n.L)}else{const l=n.L,r=c&&c!==n.T&&s.L.shadowRoot;Ce(a,t,e,o,r?c:n.T),oe(o),r&&s.L.insertBefore(l,s.L.children[0])}l.push(n),r.push(n),s.C||(s.C=[]),s.C[n.B]=n}var Ce=(e,t,n,o,s)=>{var l,r;let i=o.nextSibling;if(e[t]=e[t]||[],i&&!(null==(l=i.nodeValue)?void 0:l.startsWith(j+".")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,e[t].push({slot:o,node:i,hostId:s})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(r=i.nodeValue)?void 0:r.startsWith(j+".")))},Ie=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},Me=e=>{const t=V(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};Me("::slotted"),Me(":host"),Me(":host-context");var _e,He,Re=e=>b.map(t=>t(e)).find(e=>!!e),Le=e=>b.push(e),Ue=(e,t,n)=>{if("string"==typeof e&&e.startsWith(u))return e=G(e);if("string"==typeof e&&(16&t||8&t)&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]")))try{return JSON.parse(e)}catch(e){}return null==e||D(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e},Fe=e=>{var t;return null==(t=v(e))?void 0:t.$hostElement$},Pe=(e,t,n)=>{const o=L.ce(t,n);return e.dispatchEvent(o),o},Te=(e,t,n,o,s,l,r)=>{if(n===o)return;let i=h(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=De(n);let l=De(o);if((e["s-si"]||e["s-sc"])&&r){const n=e["s-sc"]||e["s-si"];l.push(n),s.forEach(e=>{e.startsWith(n)&&l.push(e)}),l=[...new Set(l)].filter(e=>e),t.add(...l)}else t.remove(...s.filter(e=>e&&!l.includes(e))),t.add(...l.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=D(o);if((i||r&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(M,t):e.removeAttribute(t)):(!i||4&l||s)&&!r&&1===e.nodeType&&(o=!0===o?"":o,c?e.setAttributeNS(M,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):h(R,a)?a.slice(2):a[2]+t.slice(3),n||o){const s=t.endsWith(Be);t=t.replace(Ve,""),n&&L.rel(e,t,n,s),o&&L.ael(e,t,o,s)}},Ae=/\s/,De=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(Ae):[]),Be="Capture",Ve=new RegExp(Be+"$"),We=(e,t,n,o)=>{const s=11===t.L.nodeType&&t.L.host?t.L.host:t.L,l=e&&e.N||{},r=t.N||{};for(const e of ze(Object.keys(l)))e in r||Te(s,e,l[e],void 0,n,t.i,o);for(const e of ze(Object.keys(r)))Te(s,e,l[e],r[e],n,t.i,o)};function ze(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var qe=!1,Je=!1,Ye=!1,Ge=!1,Qe=(e,n,s)=>{var r;const i=n.C[s];let a,c,d,u=0;if(qe||(Ye=!0,"slot"===i.R&&(i.i|=i.C?2:1)),null!==i.k)a=i.L=R.document.createTextNode(i.k);else if(1&i.i)a=i.L=R.document.createTextNode(""),We(null,i,Ge);else{if(Ge||(Ge="svg"===i.R),!R.document)throw new Error("You are trying to render a KoliBri component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(a=i.L=R.document.createElementNS(Ge?l:o,!qe&&t.slotRelocation&&2&i.i?"slot-fb":i.R),Ge&&"foreignObject"===i.R&&(Ge=!1),We(null,i,Ge),i.C)for(u=0;u<i.C.length;++u)c=Qe(e,i,u),c&&a.appendChild(c);"svg"===i.R?Ge=!1:"foreignObject"===a.tagName&&(Ge=!0)}return a["s-hn"]=He,3&i.i&&(a["s-sr"]=!0,a["s-cr"]=_e,a["s-sn"]=i.M||"",a["s-rf"]=null==(r=i.N)?void 0:r.ref,oe(a),d=e&&e.C&&e.C[s],d&&d.R===i.R&&e.L&&Xe(e.L,!1)),a},Xe=(e,t)=>{L.i|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==He&&o["s-ol"]&&(st(nt(o).parentNode,o,nt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Ye=!0),t&&Xe(o,t)}L.i&=-2},Ze=(e,t,n,o,s,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===He&&(i=i.shadowRoot);s<=l;++s)o[s]&&(r=Qe(null,n,s),r&&(o[s].L=r,st(i,r,nt(t))))},Ke=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.L;ot(t),e&&(Je=!0,e["s-ol"]?e["s-ol"].remove():Xe(e,!0),e.remove())}}},et=(e,t,n,o,s=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],f=t[u],p=o.length-1,m=o[0],v=o[p];for(;i<=u&&a<=p;)if(null==h)h=t[++i];else if(null==f)f=t[--u];else if(null==m)m=o[++a];else if(null==v)v=o[--p];else if(tt(h,m,s))rt(h,m,s),h=t[++i],m=o[++a];else if(tt(f,v,s))rt(f,v,s),f=t[--u],v=o[--p];else if(tt(h,v,s))"slot"!==h.R&&"slot"!==v.R||Xe(h.L.parentNode,!1),rt(h,v,s),st(e,h.L,f.L.nextSibling),h=t[++i],v=o[--p];else if(tt(f,m,s))"slot"!==h.R&&"slot"!==v.R||Xe(f.L.parentNode,!1),rt(f,m,s),st(e,f.L,h.L),f=t[--u],m=o[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].I&&t[d].I===m.I){c=d;break}c>=0?(r=t[c],r.R!==m.R?l=Qe(t&&t[a],n,c):(rt(r,m,s),t[c]=void 0,l=r.L),m=o[++a]):(l=Qe(t&&t[a],n,a),m=o[++a]),l&&st(nt(h.L).parentNode,l,nt(h.L))}i>u?Ze(e,null==o[p+1]?null:o[p+1].L,n,o,a,p):a>p&&Ke(t,i,u)},tt=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?e.M===t.M:n?(n&&!e.I&&t.I&&(e.I=t.I),!0):e.I===t.I),nt=e=>e&&e["s-ol"]||e,rt=(e,n,o=!1)=>{const s=n.L=e.L,l=e.C,r=n.C,i=n.R,a=n.k;let c;null===a?(We(e,n,Ge="svg"===i||"foreignObject"!==i&&Ge,o),null!==l&&null!==r?et(s,l,n,r,o):null!==r?(null!==e.k&&(s.textContent=""),Ze(s,null,n,r,0,r.length-1)):!o&&t.updatable&&null!==l?Ke(l,0,l.length-1):o&&t.updatable&&null!==l&&null===r&&(n.C=l),Ge&&"svg"===i&&(Ge=!1)):(c=s["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(s.data=a)},it=[],lt=e=>{let t,n,o;const s=e.__childNodes||e.childNodes;for(const e of s){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const s=e["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"])if(re(t,s)){let n=it.find(e=>e.V===t);Je=!0,t["s-sn"]=t["s-sn"]||s,n?(n.V["s-sh"]=e["s-hn"],n.W=e):(t["s-sh"]=e["s-hn"],it.push({W:e,V:t})),t["s-sr"]&&it.map(e=>{re(e.V,t["s-sn"])&&(n=it.find(e=>e.V===t),n&&!e.W&&(e.W=n.W))})}else it.some(e=>e.V===t)||it.push({V:t})}1===e.nodeType&&lt(e)}},ot=e=>{e.N&&e.N.ref&&e.N.ref(null),e.C&&e.C.map(ot)},st=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ft=(e,t,n=!1)=>{var o,s,l,r;const i=e.$hostElement$,a=e.l,c=e.P||me(null,null),d=be(t)?t:ye(null,null,t);if(He=i.tagName,a._&&(d.N=d.N||{},a._.map(([e,t])=>d.N[t]=i[e])),n&&d.N)for(const e of Object.keys(d.N))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.N[e]=i[e]);if(d.R=null,d.i|=4,e.P=d,d.L=c.L=i.shadowRoot||i,qe=!(!(1&a.i)||128&a.i),_e=i["s-cr"],Je=!1,rt(c,d,n),L.i|=1,Ye){lt(d.L);for(const e of it){const t=e.V;if(!t["s-ol"]&&R.document){const e=R.document.createTextNode("");e["s-nr"]=t,st(t.parentNode,t["s-ol"]=e,t)}}for(const e of it){const t=e.V,i=e.W;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}const r=t.__parentNode||t.parentNode,a=t.__nextSibling||t.nextSibling;(!n&&e!==r||a!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),st(e,t,n),1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}Je&&K(d.L),L.i&=-2,it.length=0,_e=void 0},at=(e,t)=>{if(t&&!e.H&&t["s-p"]){const n=t["s-p"].push(new Promise(o=>e.H=()=>{t["s-p"].splice(n-1,1),o()}))}},ct=(e,t)=>{if(4&e.i)return void(e.i|=512);at(e,e.q);const n=()=>ut(e,t);if(!t)return n();queueMicrotask(()=>{n()})},ut=(e,t)=>{const n=e.$hostElement$,o=fe("scheduleUpdate",e.l.$),s=e.t;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid KoliBri 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 l;return t?(e.i|=256,e.J&&(e.J.map(([e,t])=>mt(s,e,t,n)),e.J=void 0),l=mt(s,"componentWillLoad",void 0,n)):l=mt(s,"componentWillUpdate",void 0,n),l=vt(l,()=>mt(s,"componentWillRender",void 0,n)),o(),vt(l,()=>pt(e,s,t))},vt=(e,t)=>dt(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),dt=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,pt=async(e,t,n)=>{var o;const s=e.$hostElement$,l=fe("update",e.l.$),r=s["s-rc"];n&&de(e);const i=fe("render",e.l.$);ht(e,t,s,n),r&&(r.map(e=>e()),s["s-rc"]=void 0),i(),l();{const t=null!=(o=s["s-p"])?o:[],n=()=>$t(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},ht=(e,t,n,o)=>{try{t=t.render&&t.render(),e.i|=2,ft(e,t,o)}catch(t){$(t,e.$hostElement$)}return null},$t=e=>{const t=e.l.$,n=e.$hostElement$,o=fe("postUpdate",t),s=e.t,l=e.q;mt(s,"componentDidRender",void 0,n),64&e.i?(mt(s,"componentDidUpdate",void 0,n),o()):(e.i|=64,wt(n),mt(s,"componentDidLoad",void 0,n),o(),e.h(n),l||yt()),e.v(n),e.H&&(e.H(),e.H=void 0),512&e.i&&A(()=>ct(e,!1)),e.i&=-517},yt=t=>{var n;A(()=>Pe(R,"appload",{detail:{namespace:e}})),(null==(n=L.F)?void 0:n.size)&&L.F.clear()},mt=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){$(e,o)}},wt=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},bt=(e,t)=>v(e).o.get(t),gt=(e,t,n,o)=>{const s=v(e);if(!s)return;if(!s)throw new Error(`Couldn't find host element for "${o.$}" as it is unknown to this KoliBri runtime. This usually happens when integrating a 3rd party KoliBri component with another KoliBri component or application. Please reach out to the maintainers of the 3rd party KoliBri component or report this on the KoliBri Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,r=s.o.get(t),i=s.i,a=s.t;n=Ue(n,o.U[t][0]);const c=Number.isNaN(r)&&Number.isNaN(n);if((!(8&i)||void 0===r)&&(n!==r&&!c)&&(s.o.set(t,n),a)){if(o.Y&&128&i){const e=o.Y[t];e&&e.map(e=>{try{a[e](n,r,t)}catch(e){$(e,l)}})}if(2==(18&i)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,r,t))return;ct(s,!1)}}},St=(e,n,o)=>{var s,l;const r=e.prototype;if(n.U||n.Y||e.watchers){e.watchers&&!n.Y&&(n.Y=e.watchers);const i=Object.entries(null!=(s=n.U)?s:{});if(i.map(([e,[t]])=>{if(31&t||2&o&&32&t){const{get:s,set:l}=Object.getOwnPropertyDescriptor(r,e)||{};s&&(n.U[e][0]|=2048),l&&(n.U[e][0]|=4096),(1&o||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&n.U[e][0]))return bt(this,e);const t=v(this),o=t?t.t:r;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(s){const r=v(this);if(r){if(l){const o=32&t?this[e]:r.$hostElement$[e];return void 0===o&&r.o.get(e)?s=r.o.get(e):!r.o.get(e)&&o&&r.o.set(e,o),l.apply(this,[Ue(s,t)]),s=32&t?this[e]:r.$hostElement$[e],void gt(this,e,s,n)}{if(!(1&o&&4096&n.U[e][0]))return gt(this,e,s,n),void(1&o&&!r.t&&r.p.then(()=>{4096&n.U[e][0]&&r.t[e]!==r.o.get(e)&&(r.t[e]=s)}));const l=()=>{const o=r.t[e];!r.o.get(e)&&o&&r.o.set(e,o),r.t[e]=Ue(s,t),gt(this,e,r.t[e],n)};r.t?l():r.p.then(()=>l())}}}})}else 1&o&&64&t&&Object.defineProperty(r,e,{value(...t){var n;const o=v(this);return null==(n=null==o?void 0:o.u)?void 0:n.then(()=>{var n;return null==(n=o.t)?void 0:n[e](...t)})}})}),1&o){const o=new Map;r.attributeChangedCallback=function(e,s,l){L.jmp(()=>{var i;const a=o.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad)l=this[a],delete this[a];else{if(r.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==l)return;if(null==a){const t=v(this),o=null==t?void 0:t.i;if(t&&o&&!(8&o)&&128&o&&l!==s){const o=t.t,r=null==(i=n.Y)?void 0:i[e];null==r||r.forEach(t=>{null!=o[t]&&o[t].call(o,l,s,e)})}return}}const c=Object.getOwnPropertyDescriptor(r,a);(l=(null!==l||"boolean"!=typeof this[a])&&l)===this[a]||c.get&&!c.set||(this[a]=l)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.Y)?l:{}),...i.filter(([e,t])=>31&t[0]).map(([e,t])=>{var s;const l=t[1]||e;return o.set(l,e),512&t[0]&&(null==(s=n._)||s.push([e,l])),l})]))}}return e},jt=async(e,t,n,o)=>{let s;if(!(32&t.i)){t.i|=32;if(n.m){const o=m(n,t);if(o&&"then"in o){const e=ae();s=await o,e()}else s=o;if(!s)throw new Error(`Constructor for "${n.$}#${t.O}" was not found`);s.isProxied||(n.Y=s.watchers,St(s,n,2),s.isProxied=!0);const l=fe("createInstance",n.$);t.i|=8;try{new s(t)}catch(t){$(t,e)}t.i&=-9,t.i|=128,l(),Ot(t.t,e)}else{s=e.constructor;const n=e.localName;customElements.whenDefined(n).then(()=>t.i|=128)}if(s&&s.style){let o;"string"==typeof s.style?o=s.style:"string"!=typeof s.style&&(t.O=Re(e),t.O&&(o=s.style[t.O]));const l=pe(n,t.O);if(!w.has(l)){const e=fe("registerStyles",n.$);ue(l,o,!!(1&n.i)),e()}}}const l=t.q,r=()=>ct(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},Ot=(e,t)=>{mt(e,"connectedCallback",void 0,t)},kt=e=>{if(!(1&L.i)){const t=v(e);if(!t)return;const n=t.l,o=fe("connectedCallback",n.$);if(1&t.i)Mt(e,t,n.G),(null==t?void 0:t.t)?Ot(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Ot(t.t,e));else{let o;if(t.i|=1,o=e.getAttribute(x),o){if(1&n.i){const t=ve(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}Oe(e,n.$,o,t)}o||12&n.i&&xt(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){at(t,t.q=n);break}}n.U&&Object.entries(n.U).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),jt(e,t,n)}o()}},xt=e=>{if(!R.document)return;const t=e["s-cr"]=R.document.createComment("");t["s-cn"]=!0,st(e,t,e.firstChild)},Nt=(e,t)=>{mt(e,"disconnectedCallback",void 0,t||e)},Et=async e=>{if(!(1&L.i)){const t=v(e);(null==t?void 0:t.X)&&(t.X.map(e=>e()),t.X=void 0),(null==t?void 0:t.t)?Nt(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Nt(t.t,e))}ce.has(e)&&ce.delete(e),e.shadowRoot&&ce.has(e.shadowRoot)&&ce.delete(e.shadowRoot)},Ct=(e,t={})=>{var n;if(!R.document)return void console.warn("KoliBri: No document found. Skipping bootstrapping lazy components.");const o=fe(),s=[],l=t.exclude||[],r=R.customElements,i=R.document.head,a=i.querySelector("meta[charset]"),c=R.document.createElement("style"),d=[];let u,h=!0;Object.assign(L,t),L.S=new URL(t.resourcesUrl||"./",R.document.baseURI).href,L.i|=2,$e();let f=!1;if(e.map(e=>{e[1].map(n=>{var o;const i={i:n[0],$:n[1],U:n[2],G:n[3]};4&i.i&&(f=!0),i.U=n[2],i.G=n[3],i._=[],i.Y=null!=(o=n[4])?o:{};const a=t.transformTagName?t.transformTagName(i.$):i.$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,p(e=this,i),1&i.i)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${i.$}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else Z.call(e,i)}connectedCallback(){const e=v(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Mt(this,e,i.G)),u&&(clearTimeout(u),u=null),h?d.push(this):L.jmp(()=>kt(this)))}disconnectedCallback(){L.jmp(()=>Et(this)),L.raf(()=>{var e;const t=v(this);if(!t)return;const n=d.findIndex(e=>e===this);n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.P)?void 0:e.L)instanceof Node&&!t.P.L.isConnected&&delete t.P.L})}componentOnReady(){var e;return null==(e=v(this))?void 0:e.p}};i.m=e[0],l.includes(a)||r.get(a)||(s.push(a),r.define(a,St(c,i,1)))})}),s.length>0&&(f&&(c.textContent+=I),c.textContent+=s.sort()+C,c.innerHTML.length)){c.setAttribute("data-styles","");const e=null!=(n=L.j)?n:B(R.document);null!=e&&c.setAttribute("nonce",e),i.insertBefore(c,a?a.nextSibling:i.firstChild)}h=!1,d.length?d.map(e=>e.connectedCallback()):L.jmp(()=>u=setTimeout(yt,30)),o()},It=(e,t)=>t,Mt=(e,t,n,o)=>{n&&R.document&&n.map(([n,o,s])=>{const l=Lt(R.document,e,n),r=Rt(t,s),i=Ut(n);L.ael(l,o,r,i),(t.X=t.X||[]).push(()=>L.rel(l,o,r,i))})},Rt=(e,t)=>n=>{var o;try{256&e.i?null==(o=e.t)||o[t](n):(e.J=e.J||[]).push([t,n])}catch(t){$(t,e.$hostElement$)}},Lt=(e,t,n)=>8&n?R:t,Ut=e=>U?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Ft=e=>L.j=e;export{n as E,It as F,we as H,Le as a,Ct as b,Fe as g,ye as h,F as p,d as r,Ft as s};
4
+ import"./common-zXZUsQ7l.js";const e="kolibri",t={hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0},n={kolibriVersion:"3.0.5-rc.0"};var r=Object.defineProperty,i=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l="http://www.w3.org/2000/svg",o="http://www.w3.org/1999/xhtml",s=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(s||{}),f=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(f||{}),a="type",c="value",u="serialized:",v=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},d=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},p=(e,t)=>{const n={i:0,$hostElement$:e,l:t,o:new Map};n.u=new Promise(e=>n.v=e),n.p=new Promise(e=>n.h=e),e["s-p"]=[],e["s-rc"]=[];const o=n;return e.__stencil__getHostRef=()=>o,o},h=(e,t)=>t in e,$=(e,t)=>(0,console.error)(e,t),y=new Map,m=(e,t,n)=>{const o=e.$.replace(/-/g,"_"),s=e.m;if(!s)return;const r=y.get(s);return r?r[o]:import(`./${s}.entry.js`).then(e=>(y.set(s,e),e[o]),e=>{$(e,t.$hostElement$)})
5
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,b=[],g="r",S="o",j="s",O="t",k="c",x="s-id",N="sty-id",E="c-id",C="{visibility:hidden}.hydrated{visibility:inherit}",I="slot-fb{display:contents}slot-fb[hidden]{display:none}",M="http://www.w3.org/1999/xlink",R="undefined"!=typeof window?window:{},L={i:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},U=(()=>{var e;let t=!1;try{null==(e=R.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),F=e=>Promise.resolve(e),P=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),T=!!P&&(!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable),A=e=>F().then(e),D=e=>"object"===(e=typeof e)||"function"===e;function B(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var V=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),W=class e{static fromLocalValue(t){const n=t[a],o=c in t?t[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(t=>e.fromLocalValue(t));case"date":return new Date(o);case"map":const t=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?e.fromLocalValue(n):n,r=e.fromLocalValue(s);t.set(o,r)}return t;case"object":const s={};for(const[t,n]of o)s[t]=e.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:l}=o;return new RegExp(r,l);case"set":const i=new Set;for(const t of o)i.add(e.fromLocalValue(t));return i;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(a))return!1;const t=e[a];return!!Object.values({...s,...f}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(c))}},z={};i(z,{err:()=>H,map:()=>q,ok:()=>_,unwrap:()=>J,unwrapErr:()=>Y});var _=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function q(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(e=>_(e)):_(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var X,J=e=>{if(e.isOk)return e.value;throw e.value},Y=e=>{if(e.isErr)return e.value;throw e.value};function G(e){return"string"==typeof e&&e.startsWith(u)?W.fromLocalValue(JSON.parse(atob(e.slice(u.length)))):e}function Q(e){}function Z(e){var t;const n=this.attachShadow({mode:"open",delegatesFocus:!!(16&e.i)});void 0===X&&(X=null!=(t=Q())?t:null),X&&(T?n.adoptedStyleSheets.push(X):n.adoptedStyleSheets=[...n.adoptedStyleSheets,X])}var K=e=>{const t=se(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&te(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(ne(e,le(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&se(e,"childNodes").length&&K(e)}},ee=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function te(e,t,n){let o,s=0,r=[];for(;s<e.length;s++)o=e[s],!o["s-sr"]||t&&o["s-hn"]!==t||void 0!==n||r.push(o),r=[...r,...te(o.childNodes,t,n)];return r}var ne=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)le(s)!==t||!n&&s["s-sr"]||o.push(s);return o},re=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,ie=(e,t,n,o)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const r=t["s-cr"].parentNode,l=se(r,"appendChild");if(void 0!==o){s["s-oo"]=o;const e=se(r,"childNodes"),t=[s];e.forEach(e=>{e["s-nr"]&&t.push(e)}),t.sort((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0),t.forEach(e=>l.call(r,e))}else l.call(r,s);e["s-ol"]=s,e["s-sh"]=t["s-hn"]},le=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function oe(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for KoliBri 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 KoliBri repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:ee(s.childNodes)).forEach(e=>{o===le(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function se(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var fe=(e,t="")=>()=>{},ae=(e,t)=>()=>{},ce=new WeakMap,ue=(e,t,n)=>{let o=w.get(e);P&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,w.set(e,o)},ve=(e,t,n)=>{var o;const s=pe(t,n),r=w.get(s);if(!R.document)return s;if(e=11===e.nodeType?e:R.document,r)if("string"==typeof r){e=e.head||e;let n,l=ce.get(e);if(l||ce.set(e,l=new Set),!l.has(s)){if(e.host&&(n=e.querySelector(`[${N}="${s}"]`)))n.innerHTML=r;else{n=R.document.createElement("style"),n.innerHTML=r;const s=null!=(o=L.j)?o:B(R.document);if(null!=s&&n.setAttribute("nonce",s),!(1&t.i))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(P){const t=new CSSStyleSheet;t.replaceSync(r),T?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=r+t.innerHTML:e.prepend(n)}else e.append(n);1&t.i&&e.insertBefore(n,null)}4&t.i&&(n.innerHTML+=I),l&&l.add(s)}}else e.adoptedStyleSheets.includes(r)||(T?e.adoptedStyleSheets.push(r):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return s},de=e=>{const t=e.l,n=e.$hostElement$,o=t.i,s=fe("attachStyles",t.$),r=ve(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.O);10&o&&(n["s-sc"]=r,n.classList.add(r+"-h")),s()},pe=(e,t)=>"sc-"+(t&&32&e.i?e.$+"-"+t:e.$),he=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),$e=()=>{if(!R.document)return;const e=R.document.querySelectorAll(`[${N}]`);let t=0;for(;t<e.length;t++)ue(e[t].getAttribute(N),he(e[t].innerHTML),!0)},ye=(e,t,...n)=>{let o=null,s=null,r=null,l=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof e&&!D(o))&&(o=String(o)),l&&i?a[a.length-1].k+=o:a.push(l?me(null,o):o),i=l)};if(c(n),t){t.key&&(s=t.key),t.name&&(r=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,a,ge);const d=me(e,null);return d.N=t,a.length>0&&(d.C=a),d.I=s,d.M=r,d},me=(e,t)=>{const n={i:0,R:e,k:t,L:null,C:null,N:null,I:null,M:null};return n},we={},be=e=>e&&e.R===we,ge={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(je)},Se=e=>({vattrs:e.N,vchildren:e.C,vkey:e.I,vname:e.M,vtag:e.R,vtext:e.k}),je=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),ye(e.vtag,t,...e.vchildren||[])}const t=me(e.vtag,e.vtext);return t.N=e.vattrs,t.C=e.vchildren,t.I=e.vkey,t.M=e.vname,t},Oe=(e,t,n,o)=>{var s,r,l;const i=fe("hydrateClient",t),a=e.shadowRoot,c=[],d=[],u=a?[]:null,h=me(t,null);h.L=e;Object.entries((null==(s=o.l)?void 0:s.U)||{}).forEach(([t,[n,s]])=>{var r;if(!(31&n))return;const l=s||t,i=e.getAttribute(l);if(null!==i){const e=Ue(i,n);null==(r=null==o?void 0:o.o)||r.set(t,e)}}),!R.document||L.F&&L.F.size||xe(R.document.body,L.F=new Map),e[x]=n,e.removeAttribute(x),o.P=ke(h,c,[],u,e,e,n,d);let f=0;const p=c.length;let m;for(;f<p;f++){m=c[f];const n=m.T+"."+m.A,o=L.F.get(n),s=m.L;if(a){if((null==(r=m.R)?void 0:r.toString().includes("-"))&&"slot-fb"!==m.R&&!m.L.shadowRoot){const t=v(m.L);if(t){const n=pe(t.l,m.L.getAttribute("s-mode")),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&e.shadowRoot.append(o.cloneNode(!0))}}}else s["s-hn"]=t.toUpperCase(),"slot"===m.R&&(s["s-cr"]=e["s-cr"]);"slot"===m.R&&(m.M=m.L["s-sn"]||m.L.name||null,m.C?(m.i|=2,m.L.childNodes.length||m.C.forEach(e=>{m.L.appendChild(e.L)})):m.i|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),a||(s["s-oo"]=parseInt(m.A))),o&&!o["s-id"]&&L.F.delete(n)}const y=[],g=d.length;let b,w,N,S,C=0;for(;C<g;C++)if(b=d[C],b&&b.length)for(N=b.length,w=0;w<N;w++){if(S=b[w],y[S.hostId]||(y[S.hostId]=L.F.get(S.hostId)),!y[S.hostId])continue;const e=y[S.hostId];e.shadowRoot&&S.node.parentElement!==e&&e.appendChild(S.node),e.shadowRoot&&a||(S.slot["s-cr"]||(S.slot["s-cr"]=e["s-cr"],!S.slot["s-cr"]&&e.shadowRoot?S.slot["s-cr"]=e:S.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]),ie(S.node,S.slot,!1,S.node["s-oo"]),(null==(l=S.node.parentElement)?void 0:l.shadowRoot)&&S.node.getAttribute&&S.node.getAttribute("slot")&&S.node.removeAttribute("slot"))}if(a){let t=0;const n=u.length;if(n){for(;t<n;t++){const e=u[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach(e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):(8===e.nodeType&&!e.nodeValue||3===e.nodeType&&!e.wholeText.trim())&&e.parentNode.removeChild(e))})}}o.$hostElement$=e,i()},ke=(e,t,n,o,s,r,l,i=[])=>{let a,c,d,u;if(1===r.nodeType){if(a=r.getAttribute(E),a&&(c=a.split("."),c[0]===l||"0"===c[0])){d=Ne({i:0,T:c[0],A:c[1],D:c[2],B:c[3],R:r.tagName.toLowerCase(),L:r,N:{class:r.className||""}}),t.push(d),r.removeAttribute(E),e.C||(e.C=[]);const s=d.L.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===d.R&&Ee(s,c[2],d,r,e,t,n,o,i),d.L["s-sn"]=s,d.L.removeAttribute("s-sn")),void 0!==d.B&&(e.C[d.B]=d),e=d,o&&"0"===d.D&&(o[d.B]=d.L)}if(r.shadowRoot)for(u=r.shadowRoot.childNodes.length-1;u>=0;u--)ke(e,t,n,o,s,r.shadowRoot.childNodes[u],l,i);const h=r.__childNodes||r.childNodes;for(u=h.length-1;u>=0;u--)ke(e,t,n,o,s,h[u],l,i)}else if(8===r.nodeType){if(c=r.nodeValue.split("."),c[1]===l||"0"===c[1])if(a=c[0],d=Ne({T:c[1],A:c[2],D:c[3],B:c[4]||"0",L:r,N:null,C:null,I:null,M:null,R:null,k:null}),a===O)d.L=Ie(r,3),d.L&&3===d.L.nodeType&&(d.k=d.L.textContent,t.push(d),r.remove(),l===d.T&&(e.C||(e.C=[]),e.C[d.B]=d),o&&"0"===d.D&&(o[d.B]=d.L));else if(a===k)d.L=Ie(r,8),d.L&&8===d.L.nodeType&&(t.push(d),r.remove());else if(d.T===l)if(a===j){Ee(r["s-sn"]=c[5]||"",c[2],d,r,e,t,n,o,i)}else a===g&&(o?r.remove():(s["s-cr"]=r,r["s-cn"]=!0))}else if(e&&"style"===e.R){const t=me(null,r.textContent);t.L=r,t.B="0",e.C=[t]}else 3!==r.nodeType||r.wholeText.trim()||r["s-nr"]||r.remove();return e},xe=(e,t)=>{if(1===e.nodeType){const n=e[x]||e.getAttribute(x);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)xe(e.shadowRoot.childNodes[o],t);const s=e.__childNodes||e.childNodes;for(o=0;o<s.length;o++)xe(s[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===S&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},Ne=e=>({i:0,T:null,A:null,D:null,B:"0",L:null,N:null,C:null,I:null,M:null,R:null,k:null,...e});function Ee(e,t,n,o,s,r,l,i,a){o["s-sr"]=!0,n.M=e||null,n.R="slot";const c=(null==s?void 0:s.L)?s.L["s-id"]||s.L.getAttribute("s-id"):"";if(i&&R.document){const r=n.L=R.document.createElement(n.R);n.M&&n.L.setAttribute("name",e),s.L.shadowRoot&&c&&c!==n.T?se(s.L,"insertBefore")(r,se(s.L,"children")[0]):se(se(o,"parentNode"),"insertBefore")(r,o),Ce(a,t,e,o,n.T),o.remove(),"0"===n.D&&(i[n.B]=n.L)}else{const r=n.L,l=c&&c!==n.T&&s.L.shadowRoot;Ce(a,t,e,o,l?c:n.T),oe(o),l&&s.L.insertBefore(r,s.L.children[0])}r.push(n),l.push(n),s.C||(s.C=[]),s.C[n.B]=n}var Ce=(e,t,n,o,s)=>{var r,l;let i=o.nextSibling;if(e[t]=e[t]||[],i&&!(null==(r=i.nodeValue)?void 0:r.startsWith(j+".")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,e[t].push({slot:o,node:i,hostId:s})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(l=i.nodeValue)?void 0:l.startsWith(j+".")))},Ie=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},Me=e=>{const t=V(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};Me("::slotted"),Me(":host"),Me(":host-context");var _e,He,Re=e=>b.map(t=>t(e)).find(e=>!!e),Le=e=>b.push(e),Ue=(e,t,n)=>{if("string"==typeof e&&e.startsWith(u))return e=G(e);if("string"==typeof e&&(16&t||8&t)&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]")))try{return JSON.parse(e)}catch(e){}return null==e||D(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e},Fe=e=>{var t;return null==(t=v(e))?void 0:t.$hostElement$},Pe=(e,t,n)=>{const o=L.ce(t,n);return e.dispatchEvent(o),o},Te=(e,t,n,o,s,r,l)=>{if(n===o)return;let i=h(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=De(n);let r=De(o);if((e["s-si"]||e["s-sc"])&&l){const n=e["s-sc"]||e["s-si"];r.push(n),s.forEach(e=>{e.startsWith(n)&&r.push(e)}),r=[...new Set(r)].filter(e=>e),t.add(...r)}else t.remove(...s.filter(e=>e&&!r.includes(e))),t.add(...r.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const l=D(o);if((i||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(M,t):e.removeAttribute(t)):(!i||4&r||s)&&!l&&1===e.nodeType&&(o=!0===o?"":o,c?e.setAttributeNS(M,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):h(R,a)?a.slice(2):a[2]+t.slice(3),n||o){const s=t.endsWith(Be);t=t.replace(Ve,""),n&&L.rel(e,t,n,s),o&&L.ael(e,t,o,s)}},Ae=/\s/,De=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(Ae):[]),Be="Capture",Ve=new RegExp(Be+"$"),We=(e,t,n,o)=>{const s=11===t.L.nodeType&&t.L.host?t.L.host:t.L,r=e&&e.N||{},l=t.N||{};for(const e of ze(Object.keys(r)))e in l||Te(s,e,r[e],void 0,n,t.i,o);for(const e of ze(Object.keys(l)))Te(s,e,r[e],l[e],n,t.i,o)};function ze(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var qe=!1,Je=!1,Ye=!1,Ge=!1,Qe=(e,n,s)=>{var r;const i=n.C[s];let a,c,d,u=0;if(qe||(Ye=!0,"slot"===i.R&&(i.i|=i.C?2:1)),null!==i.k)a=i.L=R.document.createTextNode(i.k);else if(1&i.i)a=i.L=R.document.createTextNode(""),We(null,i,Ge);else{if(Ge||(Ge="svg"===i.R),!R.document)throw new Error("You are trying to render a KoliBri component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(a=i.L=R.document.createElementNS(Ge?l:o,!qe&&t.slotRelocation&&2&i.i?"slot-fb":i.R),Ge&&"foreignObject"===i.R&&(Ge=!1),We(null,i,Ge),i.C)for(u=0;u<i.C.length;++u)c=Qe(e,i,u),c&&a.appendChild(c);"svg"===i.R?Ge=!1:"foreignObject"===a.tagName&&(Ge=!0)}return a["s-hn"]=He,3&i.i&&(a["s-sr"]=!0,a["s-cr"]=_e,a["s-sn"]=i.M||"",a["s-rf"]=null==(r=i.N)?void 0:r.ref,oe(a),d=e&&e.C&&e.C[s],d&&d.R===i.R&&e.L&&Xe(e.L,!1)),a},Xe=(e,t)=>{L.i|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==He&&o["s-ol"]&&(st(nt(o).parentNode,o,nt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Ye=!0),t&&Xe(o,t)}L.i&=-2},Ze=(e,t,n,o,s,r)=>{let l,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===He&&(i=i.shadowRoot);s<=r;++s)o[s]&&(l=Qe(null,n,s),l&&(o[s].L=l,st(i,l,nt(t))))},Ke=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.L;ot(t),e&&(Je=!0,e["s-ol"]?e["s-ol"].remove():Xe(e,!0),e.remove())}}},et=(e,t,n,o,s=!1)=>{let r,l,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],f=t[u],p=o.length-1,m=o[0],v=o[p];for(;i<=u&&a<=p;)if(null==h)h=t[++i];else if(null==f)f=t[--u];else if(null==m)m=o[++a];else if(null==v)v=o[--p];else if(tt(h,m,s))rt(h,m,s),h=t[++i],m=o[++a];else if(tt(f,v,s))rt(f,v,s),f=t[--u],v=o[--p];else if(tt(h,v,s))"slot"!==h.R&&"slot"!==v.R||Xe(h.L.parentNode,!1),rt(h,v,s),st(e,h.L,f.L.nextSibling),h=t[++i],v=o[--p];else if(tt(f,m,s))"slot"!==h.R&&"slot"!==v.R||Xe(f.L.parentNode,!1),rt(f,m,s),st(e,f.L,h.L),f=t[--u],m=o[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].I&&t[d].I===m.I){c=d;break}c>=0?(l=t[c],l.R!==m.R?r=Qe(t&&t[a],n,c):(rt(l,m,s),t[c]=void 0,r=l.L),m=o[++a]):(r=Qe(t&&t[a],n,a),m=o[++a]),r&&st(nt(h.L).parentNode,r,nt(h.L))}i>u?Ze(e,null==o[p+1]?null:o[p+1].L,n,o,a,p):a>p&&Ke(t,i,u)},tt=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?e.M===t.M:n?(n&&!e.I&&t.I&&(e.I=t.I),!0):e.I===t.I),nt=e=>e&&e["s-ol"]||e,rt=(e,n,o=!1)=>{const s=n.L=e.L,r=e.C,l=n.C,i=n.R,a=n.k;let c;null===a?(We(e,n,Ge="svg"===i||"foreignObject"!==i&&Ge,o),null!==r&&null!==l?et(s,r,n,l,o):null!==l?(null!==e.k&&(s.textContent=""),Ze(s,null,n,l,0,l.length-1)):!o&&t.updatable&&null!==r?Ke(r,0,r.length-1):o&&t.updatable&&null!==r&&null===l&&(n.C=r),Ge&&"svg"===i&&(Ge=!1)):(c=s["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(s.data=a)},it=[],lt=e=>{let t,n,o;const s=e.__childNodes||e.childNodes;for(const e of s){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const s=e["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"])if(re(t,s)){let n=it.find(e=>e.V===t);Je=!0,t["s-sn"]=t["s-sn"]||s,n?(n.V["s-sh"]=e["s-hn"],n.W=e):(t["s-sh"]=e["s-hn"],it.push({W:e,V:t})),t["s-sr"]&&it.map(e=>{re(e.V,t["s-sn"])&&(n=it.find(e=>e.V===t),n&&!e.W&&(e.W=n.W))})}else it.some(e=>e.V===t)||it.push({V:t})}1===e.nodeType&&lt(e)}},ot=e=>{e.N&&e.N.ref&&e.N.ref(null),e.C&&e.C.map(ot)},st=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ft=(e,t,n=!1)=>{var o,s,r,l;const i=e.$hostElement$,a=e.l,c=e.P||me(null,null),d=be(t)?t:ye(null,null,t);if(He=i.tagName,a._&&(d.N=d.N||{},a._.map(([e,t])=>d.N[t]=i[e])),n&&d.N)for(const e of Object.keys(d.N))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.N[e]=i[e]);if(d.R=null,d.i|=4,e.P=d,d.L=c.L=i.shadowRoot||i,qe=!(!(1&a.i)||128&a.i),_e=i["s-cr"],Je=!1,rt(c,d,n),L.i|=1,Ye){lt(d.L);for(const e of it){const t=e.V;if(!t["s-ol"]&&R.document){const e=R.document.createTextNode("");e["s-nr"]=t,st(t.parentNode,t["s-ol"]=e,t)}}for(const e of it){const t=e.V,i=e.W;if(i){const e=i.parentNode;let n=i.nextSibling;{let r=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;r;){let o=null!=(s=r["s-nr"])?s:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}r=r.previousSibling}}const l=t.__parentNode||t.parentNode,a=t.__nextSibling||t.nextSibling;(!n&&e!==l||a!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),st(e,t,n),1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(r=t["s-ih"])&&r)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(l=t.hidden)&&l),t.hidden=!0)}}Je&&K(d.L),L.i&=-2,it.length=0,_e=void 0},at=(e,t)=>{if(t&&!e.H&&t["s-p"]){const n=t["s-p"].push(new Promise(o=>e.H=()=>{t["s-p"].splice(n-1,1),o()}))}},ct=(e,t)=>{if(4&e.i)return void(e.i|=512);at(e,e.q);const n=()=>ut(e,t);if(!t)return n();queueMicrotask(()=>{n()})},ut=(e,t)=>{const n=e.$hostElement$,o=fe("scheduleUpdate",e.l.$),s=e.t;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid KoliBri 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 r;return t?(e.i|=256,e.J&&(e.J.map(([e,t])=>mt(s,e,t,n)),e.J=void 0),r=mt(s,"componentWillLoad",void 0,n)):r=mt(s,"componentWillUpdate",void 0,n),r=vt(r,()=>mt(s,"componentWillRender",void 0,n)),o(),vt(r,()=>pt(e,s,t))},vt=(e,t)=>dt(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),dt=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,pt=async(e,t,n)=>{var o;const s=e.$hostElement$,r=fe("update",e.l.$),l=s["s-rc"];n&&de(e);const i=fe("render",e.l.$);ht(e,t,s,n),l&&(l.map(e=>e()),s["s-rc"]=void 0),i(),r();{const t=null!=(o=s["s-p"])?o:[],n=()=>$t(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},ht=(e,t,n,o)=>{try{t=t.render&&t.render(),e.i|=2,ft(e,t,o)}catch(t){$(t,e.$hostElement$)}return null},$t=e=>{const t=e.l.$,n=e.$hostElement$,o=fe("postUpdate",t),s=e.t,r=e.q;mt(s,"componentDidRender",void 0,n),64&e.i?(mt(s,"componentDidUpdate",void 0,n),o()):(e.i|=64,wt(n),mt(s,"componentDidLoad",void 0,n),o(),e.h(n),r||yt()),e.v(n),e.H&&(e.H(),e.H=void 0),512&e.i&&A(()=>ct(e,!1)),e.i&=-517},yt=t=>{var n;A(()=>Pe(R,"appload",{detail:{namespace:e}})),(null==(n=L.F)?void 0:n.size)&&L.F.clear()},mt=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){$(e,o)}},wt=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},bt=(e,t)=>v(e).o.get(t),gt=(e,t,n,o)=>{const s=v(e);if(!s)return;if(!s)throw new Error(`Couldn't find host element for "${o.$}" as it is unknown to this KoliBri runtime. This usually happens when integrating a 3rd party KoliBri component with another KoliBri component or application. Please reach out to the maintainers of the 3rd party KoliBri component or report this on the KoliBri Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=s.$hostElement$,l=s.o.get(t),i=s.i,a=s.t;n=Ue(n,o.U[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n);if((!(8&i)||void 0===l)&&(n!==l&&!c)&&(s.o.set(t,n),a)){if(o.Y&&128&i){const e=o.Y[t];e&&e.map(e=>{try{a[e](n,l,t)}catch(e){$(e,r)}})}if(2==(18&i)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,l,t))return;ct(s,!1)}}},St=(e,n,o)=>{var s,r;const l=e.prototype;if(n.U||n.Y||e.watchers){e.watchers&&!n.Y&&(n.Y=e.watchers);const i=Object.entries(null!=(s=n.U)?s:{});if(i.map(([e,[t]])=>{if(31&t||2&o&&32&t){const{get:s,set:r}=Object.getOwnPropertyDescriptor(l,e)||{};s&&(n.U[e][0]|=2048),r&&(n.U[e][0]|=4096),(1&o||!s)&&Object.defineProperty(l,e,{get(){{if(!(2048&n.U[e][0]))return bt(this,e);const t=v(this),o=t?t.t:l;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(s){const l=v(this);if(l){if(r){const o=32&t?this[e]:l.$hostElement$[e];return void 0===o&&l.o.get(e)?s=l.o.get(e):!l.o.get(e)&&o&&l.o.set(e,o),r.apply(this,[Ue(s,t)]),s=32&t?this[e]:l.$hostElement$[e],void gt(this,e,s,n)}{if(!(1&o&&4096&n.U[e][0]))return gt(this,e,s,n),void(1&o&&!l.t&&l.p.then(()=>{4096&n.U[e][0]&&l.t[e]!==l.o.get(e)&&(l.t[e]=s)}));const r=()=>{const o=l.t[e];!l.o.get(e)&&o&&l.o.set(e,o),l.t[e]=Ue(s,t),gt(this,e,l.t[e],n)};l.t?r():l.p.then(()=>r())}}}})}else 1&o&&64&t&&Object.defineProperty(l,e,{value(...t){var n;const o=v(this);return null==(n=null==o?void 0:o.u)?void 0:n.then(()=>{var n;return null==(n=o.t)?void 0:n[e](...t)})}})}),1&o){const o=new Map;l.attributeChangedCallback=function(e,s,r){L.jmp(()=>{var i;const a=o.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad)r=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const t=v(this),o=null==t?void 0:t.i;if(t&&o&&!(8&o)&&128&o&&r!==s){const o=t.t,l=null==(i=n.Y)?void 0:i[e];null==l||l.forEach(t=>{null!=o[t]&&o[t].call(o,r,s,e)})}return}}const c=Object.getOwnPropertyDescriptor(l,a);(r=(null!==r||"boolean"!=typeof this[a])&&r)===this[a]||c.get&&!c.set||(this[a]=r)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.Y)?r:{}),...i.filter(([e,t])=>31&t[0]).map(([e,t])=>{var s;const r=t[1]||e;return o.set(r,e),512&t[0]&&(null==(s=n._)||s.push([e,r])),r})]))}}return e},jt=async(e,t,n,o)=>{let s;if(!(32&t.i)){t.i|=32;if(n.m){const o=m(n,t);if(o&&"then"in o){const e=ae();s=await o,e()}else s=o;if(!s)throw new Error(`Constructor for "${n.$}#${t.O}" was not found`);s.isProxied||(n.Y=s.watchers,St(s,n,2),s.isProxied=!0);const r=fe("createInstance",n.$);t.i|=8;try{new s(t)}catch(t){$(t,e)}t.i&=-9,t.i|=128,r(),Ot(t.t,e)}else{s=e.constructor;const n=e.localName;customElements.whenDefined(n).then(()=>t.i|=128)}if(s&&s.style){let o;"string"==typeof s.style?o=s.style:"string"!=typeof s.style&&(t.O=Re(e),t.O&&(o=s.style[t.O]));const r=pe(n,t.O);if(!w.has(r)){const e=fe("registerStyles",n.$);ue(r,o,!!(1&n.i)),e()}}}const r=t.q,l=()=>ct(t,!0);r&&r["s-rc"]?r["s-rc"].push(l):l()},Ot=(e,t)=>{mt(e,"connectedCallback",void 0,t)},kt=e=>{if(!(1&L.i)){const t=v(e);if(!t)return;const n=t.l,o=fe("connectedCallback",n.$);if(1&t.i)Mt(e,t,n.G),(null==t?void 0:t.t)?Ot(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Ot(t.t,e));else{let o;if(t.i|=1,o=e.getAttribute(x),o){if(1&n.i){const t=ve(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}Oe(e,n.$,o,t)}o||12&n.i&&xt(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){at(t,t.q=n);break}}n.U&&Object.entries(n.U).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),jt(e,t,n)}o()}},xt=e=>{if(!R.document)return;const t=e["s-cr"]=R.document.createComment("");t["s-cn"]=!0,st(e,t,e.firstChild)},Nt=(e,t)=>{mt(e,"disconnectedCallback",void 0,t||e)},Et=async e=>{if(!(1&L.i)){const t=v(e);(null==t?void 0:t.X)&&(t.X.map(e=>e()),t.X=void 0),(null==t?void 0:t.t)?Nt(t.t,e):(null==t?void 0:t.p)&&t.p.then(()=>Nt(t.t,e))}ce.has(e)&&ce.delete(e),e.shadowRoot&&ce.has(e.shadowRoot)&&ce.delete(e.shadowRoot)},Ct=(e,t={})=>{var n;if(!R.document)return void console.warn("KoliBri: No document found. Skipping bootstrapping lazy components.");const o=fe(),s=[],r=t.exclude||[],l=R.customElements,i=R.document.head,a=i.querySelector("meta[charset]"),c=R.document.createElement("style"),d=[];let u,h=!0;Object.assign(L,t),L.S=new URL(t.resourcesUrl||"./",R.document.baseURI).href,L.i|=2,$e();let f=!1;if(e.map(e=>{e[1].map(n=>{var o;const i={i:n[0],$:n[1],U:n[2],G:n[3]};4&i.i&&(f=!0),i.U=n[2],i.G=n[3],i._=[],i.Y=null!=(o=n[4])?o:{};const a=t.transformTagName?t.transformTagName(i.$):i.$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,p(e=this,i),1&i.i)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${i.$}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else Z.call(e,i)}connectedCallback(){const e=v(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Mt(this,e,i.G)),u&&(clearTimeout(u),u=null),h?d.push(this):L.jmp(()=>kt(this)))}disconnectedCallback(){L.jmp(()=>Et(this)),L.raf(()=>{var e;const t=v(this);if(!t)return;const n=d.findIndex(e=>e===this);n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.P)?void 0:e.L)instanceof Node&&!t.P.L.isConnected&&delete t.P.L})}componentOnReady(){var e;return null==(e=v(this))?void 0:e.p}};i.m=e[0],r.includes(a)||l.get(a)||(s.push(a),l.define(a,St(c,i,1)))})}),s.length>0&&(f&&(c.textContent+=I),c.textContent+=s.sort()+C,c.innerHTML.length)){c.setAttribute("data-styles","");const e=null!=(n=L.j)?n:B(R.document);null!=e&&c.setAttribute("nonce",e),i.insertBefore(c,a?a.nextSibling:i.firstChild)}h=!1,d.length?d.map(e=>e.connectedCallback()):L.jmp(()=>u=setTimeout(yt,30)),o()},It=(e,t)=>t,Mt=(e,t,n,o)=>{n&&R.document&&n.map(([n,o,s])=>{const r=Lt(R.document,e,n),l=Rt(t,s),i=Ut(n);L.ael(r,o,l,i),(t.X=t.X||[]).push(()=>L.rel(r,o,l,i))})},Rt=(e,t)=>n=>{var o;try{256&e.i?null==(o=e.t)||o[t](n):(e.J=e.J||[]).push([t,n])}catch(t){$(t,e.$hostElement$)}},Lt=(e,t,n)=>8&n?R:t,Ut=e=>U?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Ft=e=>L.j=e;export{n as E,It as F,we as H,Le as a,Ct as b,Fe as g,ye as h,F as p,d as r,Ft as s};