@public-ui/components 2.2.13 → 2.2.14-rc.1

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 (742) hide show
  1. package/custom-elements.json +55 -55
  2. package/dist/cjs/{Alert-36337509.js → Alert-2cc79499.js} +1 -1
  3. package/dist/cjs/{Alert-36337509.js.map → Alert-2cc79499.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-d784a1a7.js → Collapsible-eaece2d6.js} +1 -1
  5. package/dist/cjs/{Collapsible-d784a1a7.js.map → Collapsible-eaece2d6.js.map} +1 -1
  6. package/dist/cjs/{FormFieldMsg-fe14afe0.js → FormFieldMsg-7ee50b54.js} +1 -1
  7. package/dist/cjs/{FormFieldMsg-fe14afe0.js.map → FormFieldMsg-7ee50b54.js.map} +1 -1
  8. package/dist/cjs/{InternalUnderlinedBadgeText-cd62d8be.js → InternalUnderlinedBadgeText-eacd0140.js} +1 -1
  9. package/dist/cjs/{InternalUnderlinedBadgeText-cd62d8be.js.map → InternalUnderlinedBadgeText-eacd0140.js.map} +1 -1
  10. package/dist/cjs/{app-globals-72a61e5b.js → app-globals-21fdb510.js} +1 -1
  11. package/dist/cjs/{app-globals-72a61e5b.js.map → app-globals-21fdb510.js.map} +1 -1
  12. package/dist/cjs/{dev.utils-fbc7efdc.js → dev.utils-51439c0a.js} +1 -1
  13. package/dist/cjs/{dev.utils-fbc7efdc.js.map → dev.utils-51439c0a.js.map} +1 -1
  14. package/dist/cjs/{devtools-65a61092.js → devtools-9bd2321c.js} +1 -1
  15. package/dist/cjs/{devtools-65a61092.js.map → devtools-9bd2321c.js.map} +1 -1
  16. package/dist/cjs/index-69461f08.js +4 -0
  17. package/dist/cjs/index-69461f08.js.map +1 -0
  18. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  19. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  20. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  21. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  22. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  23. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  24. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  25. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  26. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  27. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  28. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  29. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  30. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  31. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  32. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  33. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  35. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  37. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  38. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  39. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  41. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  43. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  45. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  47. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-drawer.cjs.entry.js.map +1 -1
  49. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  51. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  54. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  62. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  64. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  66. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  74. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  78. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  85. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  87. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  93. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-span-wc.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  119. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  121. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  126. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  127. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  128. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  129. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  130. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  131. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  132. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  133. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  134. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  136. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  138. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  141. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  142. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  143. package/dist/cjs/kolibri.cjs.js +1 -1
  144. package/dist/cjs/loader.cjs.js +1 -1
  145. package/dist/cjs/test-component.cjs.entry.js +1 -1
  146. package/dist/components/kol-abbr.js +1 -1
  147. package/dist/components/kol-abbr.js.map +1 -1
  148. package/dist/components/kol-accordion.js +1 -1
  149. package/dist/components/kol-accordion.js.map +1 -1
  150. package/dist/components/kol-alert.js +1 -1
  151. package/dist/components/kol-alert.js.map +1 -1
  152. package/dist/components/kol-avatar.js +1 -1
  153. package/dist/components/kol-avatar.js.map +1 -1
  154. package/dist/components/kol-badge.js +1 -1
  155. package/dist/components/kol-badge.js.map +1 -1
  156. package/dist/components/kol-breadcrumb.js +1 -1
  157. package/dist/components/kol-breadcrumb.js.map +1 -1
  158. package/dist/components/kol-button-group.js +1 -1
  159. package/dist/components/kol-button-group.js.map +1 -1
  160. package/dist/components/kol-button-link.js +1 -1
  161. package/dist/components/kol-button-link.js.map +1 -1
  162. package/dist/components/kol-button-wc.js +1 -1
  163. package/dist/components/kol-button-wc.js.map +1 -1
  164. package/dist/components/kol-button.js +1 -1
  165. package/dist/components/kol-button.js.map +1 -1
  166. package/dist/components/kol-card.js +1 -1
  167. package/dist/components/kol-card.js.map +1 -1
  168. package/dist/components/kol-combobox.js +1 -1
  169. package/dist/components/kol-combobox.js.map +1 -1
  170. package/dist/components/kol-details.js +1 -1
  171. package/dist/components/kol-details.js.map +1 -1
  172. package/dist/components/kol-drawer.js +1 -1
  173. package/dist/components/kol-drawer.js.map +1 -1
  174. package/dist/components/kol-form.js +1 -1
  175. package/dist/components/kol-form.js.map +1 -1
  176. package/dist/components/kol-heading.js +1 -1
  177. package/dist/components/kol-heading.js.map +1 -1
  178. package/dist/components/kol-image.js +1 -1
  179. package/dist/components/kol-image.js.map +1 -1
  180. package/dist/components/kol-indented-text.js +1 -1
  181. package/dist/components/kol-indented-text.js.map +1 -1
  182. package/dist/components/kol-input-checkbox.js +1 -1
  183. package/dist/components/kol-input-checkbox.js.map +1 -1
  184. package/dist/components/kol-input-color.js +1 -1
  185. package/dist/components/kol-input-color.js.map +1 -1
  186. package/dist/components/kol-input-date.js +1 -1
  187. package/dist/components/kol-input-date.js.map +1 -1
  188. package/dist/components/kol-input-email.js +1 -1
  189. package/dist/components/kol-input-email.js.map +1 -1
  190. package/dist/components/kol-input-file.js +1 -1
  191. package/dist/components/kol-input-file.js.map +1 -1
  192. package/dist/components/kol-input-number.js +1 -1
  193. package/dist/components/kol-input-number.js.map +1 -1
  194. package/dist/components/kol-input-password.js +1 -1
  195. package/dist/components/kol-input-password.js.map +1 -1
  196. package/dist/components/kol-input-radio.js +1 -1
  197. package/dist/components/kol-input-radio.js.map +1 -1
  198. package/dist/components/kol-input-range.js +1 -1
  199. package/dist/components/kol-input-range.js.map +1 -1
  200. package/dist/components/kol-input-text.js +1 -1
  201. package/dist/components/kol-input-text.js.map +1 -1
  202. package/dist/components/kol-kolibri.js +1 -1
  203. package/dist/components/kol-kolibri.js.map +1 -1
  204. package/dist/components/kol-link-button.js +1 -1
  205. package/dist/components/kol-link-button.js.map +1 -1
  206. package/dist/components/kol-link-group.js +1 -1
  207. package/dist/components/kol-link-group.js.map +1 -1
  208. package/dist/components/kol-link-wc.js +1 -1
  209. package/dist/components/kol-link-wc.js.map +1 -1
  210. package/dist/components/kol-link.js +1 -1
  211. package/dist/components/kol-link.js.map +1 -1
  212. package/dist/components/kol-logo.js +1 -1
  213. package/dist/components/kol-logo.js.map +1 -1
  214. package/dist/components/kol-modal.js +1 -1
  215. package/dist/components/kol-modal.js.map +1 -1
  216. package/dist/components/kol-nav.js +1 -1
  217. package/dist/components/kol-nav.js.map +1 -1
  218. package/dist/components/kol-pagination.js +1 -1
  219. package/dist/components/kol-pagination.js.map +1 -1
  220. package/dist/components/kol-popover-button.js +1 -1
  221. package/dist/components/kol-popover-button.js.map +1 -1
  222. package/dist/components/kol-progress.js +1 -1
  223. package/dist/components/kol-progress.js.map +1 -1
  224. package/dist/components/kol-quote.js +1 -1
  225. package/dist/components/kol-quote.js.map +1 -1
  226. package/dist/components/kol-select.js +1 -1
  227. package/dist/components/kol-select.js.map +1 -1
  228. package/dist/components/kol-single-select.js +1 -1
  229. package/dist/components/kol-single-select.js.map +1 -1
  230. package/dist/components/kol-skip-nav.js +1 -1
  231. package/dist/components/kol-skip-nav.js.map +1 -1
  232. package/dist/components/kol-span-wc.js +1 -1
  233. package/dist/components/kol-span-wc.js.map +1 -1
  234. package/dist/components/kol-spin.js +1 -1
  235. package/dist/components/kol-spin.js.map +1 -1
  236. package/dist/components/kol-split-button.js +1 -1
  237. package/dist/components/kol-split-button.js.map +1 -1
  238. package/dist/components/kol-table-stateful.js +1 -1
  239. package/dist/components/kol-table-stateful.js.map +1 -1
  240. package/dist/components/kol-table-stateless.js +1 -1
  241. package/dist/components/kol-table-stateless.js.map +1 -1
  242. package/dist/components/kol-tabs.js +1 -1
  243. package/dist/components/kol-tabs.js.map +1 -1
  244. package/dist/components/kol-textarea.js +1 -1
  245. package/dist/components/kol-textarea.js.map +1 -1
  246. package/dist/components/kol-toast-container.js +1 -1
  247. package/dist/components/kol-toast-container.js.map +1 -1
  248. package/dist/components/kol-toolbar.js +1 -1
  249. package/dist/components/kol-toolbar.js.map +1 -1
  250. package/dist/components/kol-tree-item-wc.js.map +1 -1
  251. package/dist/components/kol-tree-item.js +1 -1
  252. package/dist/components/kol-tree-item.js.map +1 -1
  253. package/dist/components/kol-tree.js +1 -1
  254. package/dist/components/kol-tree.js.map +1 -1
  255. package/dist/components/kol-version.js +1 -1
  256. package/dist/components/kol-version.js.map +1 -1
  257. package/dist/esm/{Alert-11addbd6.js → Alert-561bc32f.js} +1 -1
  258. package/dist/esm/{Alert-11addbd6.js.map → Alert-561bc32f.js.map} +1 -1
  259. package/dist/esm/{Collapsible-dadae8b5.js → Collapsible-5a6bdda0.js} +1 -1
  260. package/dist/esm/{Collapsible-dadae8b5.js.map → Collapsible-5a6bdda0.js.map} +1 -1
  261. package/dist/esm/{FormFieldMsg-27ff69aa.js → FormFieldMsg-e6bf3e68.js} +1 -1
  262. package/dist/esm/{FormFieldMsg-27ff69aa.js.map → FormFieldMsg-e6bf3e68.js.map} +1 -1
  263. package/dist/esm/{InternalUnderlinedBadgeText-dfefcdf1.js → InternalUnderlinedBadgeText-58b62771.js} +1 -1
  264. package/dist/esm/{InternalUnderlinedBadgeText-dfefcdf1.js.map → InternalUnderlinedBadgeText-58b62771.js.map} +1 -1
  265. package/dist/esm/{access-and-short-key-91c639af.js → access-and-short-key-a34a0af0.js} +1 -1
  266. package/dist/esm/{access-and-short-key-91c639af.js.map → access-and-short-key-a34a0af0.js.map} +1 -1
  267. package/dist/esm/{align-be31be0d.js → align-bc8d98ac.js} +1 -1
  268. package/dist/esm/{align-be31be0d.js.map → align-bc8d98ac.js.map} +1 -1
  269. package/dist/esm/{align-floating-elements-3e1809c4.js → align-floating-elements-f88f945f.js} +1 -1
  270. package/dist/esm/{align-floating-elements-3e1809c4.js.map → align-floating-elements-f88f945f.js.map} +1 -1
  271. package/dist/esm/{app-globals-94850a56.js → app-globals-0e5d6a32.js} +1 -1
  272. package/dist/esm/{app-globals-94850a56.js.map → app-globals-0e5d6a32.js.map} +1 -1
  273. package/dist/esm/{associated.controller-8d1afc0c.js → associated.controller-3dab1e00.js} +1 -1
  274. package/dist/esm/{associated.controller-8d1afc0c.js.map → associated.controller-3dab1e00.js.map} +1 -1
  275. package/dist/esm/badge-text-c7f39390.js +4 -0
  276. package/dist/esm/{badge-text-1ca461ea.js.map → badge-text-c7f39390.js.map} +1 -1
  277. package/dist/esm/{button-variant-78bbe695.js → button-variant-fe0f7f45.js} +1 -1
  278. package/dist/esm/{button-variant-78bbe695.js.map → button-variant-fe0f7f45.js.map} +1 -1
  279. package/dist/esm/{color-a8821a60.js → color-a464afb7.js} +1 -1
  280. package/dist/esm/{color-a8821a60.js.map → color-a464afb7.js.map} +1 -1
  281. package/dist/esm/{controller-a44f67e1.js → controller-4fa871d2.js} +1 -1
  282. package/dist/esm/{controller-a44f67e1.js.map → controller-4fa871d2.js.map} +1 -1
  283. package/dist/esm/{controller-136e6dc3.js → controller-87dfc9ee.js} +1 -1
  284. package/dist/esm/{controller-136e6dc3.js.map → controller-87dfc9ee.js.map} +1 -1
  285. package/dist/esm/{controller-adcb064f.js → controller-8ace9659.js} +1 -1
  286. package/dist/esm/{controller-adcb064f.js.map → controller-8ace9659.js.map} +1 -1
  287. package/dist/esm/{controller-05af8f06.js → controller-cfa11279.js} +1 -1
  288. package/dist/esm/{controller-05af8f06.js.map → controller-cfa11279.js.map} +1 -1
  289. package/dist/esm/{controller-f0a8cd72.js → controller-e97b79b7.js} +1 -1
  290. package/dist/esm/{controller-f0a8cd72.js.map → controller-e97b79b7.js.map} +1 -1
  291. package/dist/esm/{controller-icon-87de6942.js → controller-icon-811adcf4.js} +1 -1
  292. package/dist/esm/{controller-icon-87de6942.js.map → controller-icon-811adcf4.js.map} +1 -1
  293. package/dist/esm/{custom-class-927da4c2.js → custom-class-6eaba98d.js} +1 -1
  294. package/dist/esm/{custom-class-927da4c2.js.map → custom-class-6eaba98d.js.map} +1 -1
  295. package/dist/esm/{debounce-90c878d0.js → debounce-112fa67e.js} +1 -1
  296. package/dist/esm/{debounce-90c878d0.js.map → debounce-112fa67e.js.map} +1 -1
  297. package/dist/esm/{dev.utils-c4154967.js → dev.utils-7b67c292.js} +1 -1
  298. package/dist/esm/{dev.utils-c4154967.js.map → dev.utils-7b67c292.js.map} +1 -1
  299. package/dist/esm/{devtools-b39e940f.js → devtools-489db95f.js} +1 -1
  300. package/dist/esm/{devtools-b39e940f.js.map → devtools-489db95f.js.map} +1 -1
  301. package/dist/esm/disabled-f923601e.js +4 -0
  302. package/dist/esm/{disabled-9966b1f0.js.map → disabled-f923601e.js.map} +1 -1
  303. package/dist/esm/{has-closer-64270429.js → has-closer-a7dc359b.js} +1 -1
  304. package/dist/esm/{has-closer-64270429.js.map → has-closer-a7dc359b.js.map} +1 -1
  305. package/dist/esm/{hide-label-da89c332.js → hide-label-2b46168f.js} +1 -1
  306. package/dist/esm/{hide-label-da89c332.js.map → hide-label-2b46168f.js.map} +1 -1
  307. package/dist/esm/href-823c69d8.js +4 -0
  308. package/dist/esm/{href-d4bde881.js.map → href-823c69d8.js.map} +1 -1
  309. package/dist/esm/{i18n-a1dec0cc.js → i18n-820d85c7.js} +1 -1
  310. package/dist/esm/{i18n-a1dec0cc.js.map → i18n-820d85c7.js.map} +1 -1
  311. package/dist/esm/{icons-be30e67a.js → icons-d29928c3.js} +1 -1
  312. package/dist/esm/{icons-be30e67a.js.map → icons-d29928c3.js.map} +1 -1
  313. package/dist/esm/{image-source-d479e44b.js → image-source-bd7ca7b4.js} +1 -1
  314. package/dist/esm/{image-source-d479e44b.js.map → image-source-bd7ca7b4.js.map} +1 -1
  315. package/dist/esm/index-3c6a28da.js +4 -0
  316. package/dist/esm/index-3c6a28da.js.map +1 -0
  317. package/dist/esm/{index-bac313b4.js → index-4fb06bbb.js} +1 -1
  318. package/dist/esm/{index-bac313b4.js.map → index-4fb06bbb.js.map} +1 -1
  319. package/dist/esm/index.js +1 -1
  320. package/dist/esm/kol-abbr.entry.js +1 -1
  321. package/dist/esm/kol-abbr.entry.js.map +1 -1
  322. package/dist/esm/kol-accordion.entry.js +1 -1
  323. package/dist/esm/kol-accordion.entry.js.map +1 -1
  324. package/dist/esm/kol-alert-wc.entry.js +1 -1
  325. package/dist/esm/kol-alert.entry.js +1 -1
  326. package/dist/esm/kol-alert.entry.js.map +1 -1
  327. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  328. package/dist/esm/kol-avatar.entry.js +1 -1
  329. package/dist/esm/kol-avatar.entry.js.map +1 -1
  330. package/dist/esm/kol-badge.entry.js +1 -1
  331. package/dist/esm/kol-badge.entry.js.map +1 -1
  332. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  333. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  334. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  335. package/dist/esm/kol-button-group.entry.js +1 -1
  336. package/dist/esm/kol-button-group.entry.js.map +1 -1
  337. package/dist/esm/kol-button-link.entry.js +1 -1
  338. package/dist/esm/kol-button-link.entry.js.map +1 -1
  339. package/dist/esm/kol-button-wc.entry.js +1 -1
  340. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  341. package/dist/esm/kol-button.entry.js +1 -1
  342. package/dist/esm/kol-button.entry.js.map +1 -1
  343. package/dist/esm/kol-card.entry.js +1 -1
  344. package/dist/esm/kol-card.entry.js.map +1 -1
  345. package/dist/esm/kol-combobox.entry.js +1 -1
  346. package/dist/esm/kol-combobox.entry.js.map +1 -1
  347. package/dist/esm/kol-details.entry.js +1 -1
  348. package/dist/esm/kol-details.entry.js.map +1 -1
  349. package/dist/esm/kol-drawer.entry.js +1 -1
  350. package/dist/esm/kol-drawer.entry.js.map +1 -1
  351. package/dist/esm/kol-form.entry.js +1 -1
  352. package/dist/esm/kol-form.entry.js.map +1 -1
  353. package/dist/esm/kol-heading-wc.entry.js +1 -1
  354. package/dist/esm/kol-heading.entry.js +1 -1
  355. package/dist/esm/kol-heading.entry.js.map +1 -1
  356. package/dist/esm/kol-icon.entry.js +1 -1
  357. package/dist/esm/kol-image.entry.js +1 -1
  358. package/dist/esm/kol-image.entry.js.map +1 -1
  359. package/dist/esm/kol-indented-text-wc.entry.js +1 -1
  360. package/dist/esm/kol-indented-text.entry.js +1 -1
  361. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  362. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  363. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  364. package/dist/esm/kol-input-color.entry.js +1 -1
  365. package/dist/esm/kol-input-color.entry.js.map +1 -1
  366. package/dist/esm/kol-input-date.entry.js +1 -1
  367. package/dist/esm/kol-input-date.entry.js.map +1 -1
  368. package/dist/esm/kol-input-email.entry.js +1 -1
  369. package/dist/esm/kol-input-email.entry.js.map +1 -1
  370. package/dist/esm/kol-input-file.entry.js +1 -1
  371. package/dist/esm/kol-input-file.entry.js.map +1 -1
  372. package/dist/esm/kol-input-number.entry.js +1 -1
  373. package/dist/esm/kol-input-number.entry.js.map +1 -1
  374. package/dist/esm/kol-input-password.entry.js +1 -1
  375. package/dist/esm/kol-input-password.entry.js.map +1 -1
  376. package/dist/esm/kol-input-radio.entry.js +1 -1
  377. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  378. package/dist/esm/kol-input-range.entry.js +1 -1
  379. package/dist/esm/kol-input-range.entry.js.map +1 -1
  380. package/dist/esm/kol-input-text.entry.js +1 -1
  381. package/dist/esm/kol-input-text.entry.js.map +1 -1
  382. package/dist/esm/kol-input.entry.js +1 -1
  383. package/dist/esm/kol-kolibri.entry.js +1 -1
  384. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  385. package/dist/esm/kol-link-button.entry.js +1 -1
  386. package/dist/esm/kol-link-button.entry.js.map +1 -1
  387. package/dist/esm/kol-link-group.entry.js +1 -1
  388. package/dist/esm/kol-link-group.entry.js.map +1 -1
  389. package/dist/esm/kol-link-wc.entry.js +1 -1
  390. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  391. package/dist/esm/kol-link.entry.js +1 -1
  392. package/dist/esm/kol-link.entry.js.map +1 -1
  393. package/dist/esm/kol-logo.entry.js +1 -1
  394. package/dist/esm/kol-logo.entry.js.map +1 -1
  395. package/dist/esm/kol-modal.entry.js +1 -1
  396. package/dist/esm/kol-modal.entry.js.map +1 -1
  397. package/dist/esm/kol-nav.entry.js +1 -1
  398. package/dist/esm/kol-nav.entry.js.map +1 -1
  399. package/dist/esm/kol-pagination.entry.js +1 -1
  400. package/dist/esm/kol-pagination.entry.js.map +1 -1
  401. package/dist/esm/kol-popover-button.entry.js +1 -1
  402. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  403. package/dist/esm/kol-popover-wc.entry.js +1 -1
  404. package/dist/esm/kol-progress.entry.js +1 -1
  405. package/dist/esm/kol-progress.entry.js.map +1 -1
  406. package/dist/esm/kol-quote.entry.js +1 -1
  407. package/dist/esm/kol-quote.entry.js.map +1 -1
  408. package/dist/esm/kol-select.entry.js +1 -1
  409. package/dist/esm/kol-select.entry.js.map +1 -1
  410. package/dist/esm/kol-single-select.entry.js +1 -1
  411. package/dist/esm/kol-single-select.entry.js.map +1 -1
  412. package/dist/esm/kol-skip-nav.entry.js +1 -1
  413. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  414. package/dist/esm/kol-span-wc.entry.js +1 -1
  415. package/dist/esm/kol-span-wc.entry.js.map +1 -1
  416. package/dist/esm/kol-spin.entry.js +1 -1
  417. package/dist/esm/kol-spin.entry.js.map +1 -1
  418. package/dist/esm/kol-split-button.entry.js +1 -1
  419. package/dist/esm/kol-split-button.entry.js.map +1 -1
  420. package/dist/esm/kol-symbol.entry.js +1 -1
  421. package/dist/esm/kol-table-stateful.entry.js +1 -1
  422. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  423. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  424. package/dist/esm/kol-table-stateless.entry.js +1 -1
  425. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  426. package/dist/esm/kol-table.entry.js +1 -1
  427. package/dist/esm/kol-tabs.entry.js +1 -1
  428. package/dist/esm/kol-tabs.entry.js.map +1 -1
  429. package/dist/esm/kol-textarea.entry.js +1 -1
  430. package/dist/esm/kol-textarea.entry.js.map +1 -1
  431. package/dist/esm/kol-toast-container.entry.js +1 -1
  432. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  433. package/dist/esm/kol-toolbar.entry.js +1 -1
  434. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  435. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  436. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  437. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  438. package/dist/esm/kol-tree-item.entry.js +1 -1
  439. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  440. package/dist/esm/kol-tree-wc.entry.js +1 -1
  441. package/dist/esm/kol-tree.entry.js +1 -1
  442. package/dist/esm/kol-tree.entry.js.map +1 -1
  443. package/dist/esm/kol-version.entry.js +1 -1
  444. package/dist/esm/kol-version.entry.js.map +1 -1
  445. package/dist/esm/kolibri.js +1 -1
  446. package/dist/esm/{label-c79c6289.js → label-51d66c9d.js} +1 -1
  447. package/dist/esm/{label-c79c6289.js.map → label-51d66c9d.js.map} +1 -1
  448. package/dist/esm/loader.js +1 -1
  449. package/dist/esm/{open-be7c436f.js → open-47cb3e2a.js} +1 -1
  450. package/dist/esm/{open-be7c436f.js.map → open-47cb3e2a.js.map} +1 -1
  451. package/dist/esm/{rows-4f235475.js → rows-92682fe5.js} +1 -1
  452. package/dist/esm/{rows-4f235475.js.map → rows-92682fe5.js.map} +1 -1
  453. package/dist/esm/show-82afe4f8.js +4 -0
  454. package/dist/esm/{show-5fbb1930.js.map → show-82afe4f8.js.map} +1 -1
  455. package/dist/esm/{spell-check-e6bd6453.js → spell-check-5b365d45.js} +1 -1
  456. package/dist/esm/{spell-check-e6bd6453.js.map → spell-check-5b365d45.js.map} +1 -1
  457. package/dist/esm/{suggestions-68844c85.js → suggestions-7e70d4e3.js} +1 -1
  458. package/dist/esm/{suggestions-68844c85.js.map → suggestions-7e70d4e3.js.map} +1 -1
  459. package/dist/esm/{table-selection-3aa020c8.js → table-selection-eaee72ee.js} +1 -1
  460. package/dist/esm/{table-selection-3aa020c8.js.map → table-selection-eaee72ee.js.map} +1 -1
  461. package/dist/esm/test-component.entry.js +1 -1
  462. package/dist/esm/tooltip-align-de415afb.js +4 -0
  463. package/dist/esm/{tooltip-align-d17bc994.js.map → tooltip-align-de415afb.js.map} +1 -1
  464. package/dist/esm/unique-nav-labels-917eec2b.js +4 -0
  465. package/dist/esm/{unique-nav-labels-18107ff2.js.map → unique-nav-labels-917eec2b.js.map} +1 -1
  466. package/dist/esm/{validation-18d1226d.js → validation-c4177384.js} +1 -1
  467. package/dist/esm/{validation-18d1226d.js.map → validation-c4177384.js.map} +1 -1
  468. package/dist/esm/validation-db4e7b56.js +4 -0
  469. package/dist/esm/{validation-89efeeb9.js.map → validation-db4e7b56.js.map} +1 -1
  470. package/dist/kolibri/{Alert-11addbd6.js → Alert-561bc32f.js} +1 -1
  471. package/dist/kolibri/{Collapsible-dadae8b5.js → Collapsible-5a6bdda0.js} +1 -1
  472. package/dist/kolibri/FormFieldMsg-e6bf3e68.js +4 -0
  473. package/dist/kolibri/InternalUnderlinedBadgeText-58b62771.js +4 -0
  474. package/dist/kolibri/access-and-short-key-a34a0af0.js +4 -0
  475. package/dist/kolibri/align-bc8d98ac.js +4 -0
  476. package/dist/kolibri/{align-floating-elements-3e1809c4.js → align-floating-elements-f88f945f.js} +1 -1
  477. package/dist/kolibri/app-globals-0e5d6a32.js +4 -0
  478. package/dist/kolibri/{associated.controller-8d1afc0c.js → associated.controller-3dab1e00.js} +1 -1
  479. package/dist/kolibri/badge-text-c7f39390.js +4 -0
  480. package/dist/kolibri/{button-variant-78bbe695.js → button-variant-fe0f7f45.js} +1 -1
  481. package/dist/kolibri/{color-a8821a60.js → color-a464afb7.js} +1 -1
  482. package/dist/kolibri/{controller-a44f67e1.js → controller-4fa871d2.js} +1 -1
  483. package/dist/kolibri/{controller-136e6dc3.js → controller-87dfc9ee.js} +1 -1
  484. package/dist/kolibri/{controller-adcb064f.js → controller-8ace9659.js} +1 -1
  485. package/dist/kolibri/{controller-05af8f06.js → controller-cfa11279.js} +1 -1
  486. package/dist/kolibri/{controller-f0a8cd72.js → controller-e97b79b7.js} +1 -1
  487. package/dist/kolibri/{controller-icon-87de6942.js → controller-icon-811adcf4.js} +1 -1
  488. package/dist/kolibri/custom-class-6eaba98d.js +4 -0
  489. package/dist/kolibri/{debounce-90c878d0.js → debounce-112fa67e.js} +1 -1
  490. package/dist/kolibri/{dev.utils-c4154967.js → dev.utils-7b67c292.js} +1 -1
  491. package/dist/kolibri/{devtools-b39e940f.js → devtools-489db95f.js} +1 -1
  492. package/dist/kolibri/disabled-f923601e.js +4 -0
  493. package/dist/kolibri/has-closer-a7dc359b.js +4 -0
  494. package/dist/kolibri/hide-label-2b46168f.js +4 -0
  495. package/dist/kolibri/href-823c69d8.js +4 -0
  496. package/dist/kolibri/{i18n-a1dec0cc.js → i18n-820d85c7.js} +1 -1
  497. package/dist/kolibri/{icons-be30e67a.js → icons-d29928c3.js} +1 -1
  498. package/dist/kolibri/image-source-bd7ca7b4.js +4 -0
  499. package/dist/kolibri/{index-b44d567a.js → index-3c6a28da.js} +2 -2
  500. package/dist/kolibri/index-3c6a28da.js.map +1 -0
  501. package/dist/kolibri/{index-bac313b4.js → index-4fb06bbb.js} +1 -1
  502. package/dist/kolibri/index.esm.js +1 -1
  503. package/dist/kolibri/kol-abbr.entry.js +1 -1
  504. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  505. package/dist/kolibri/kol-accordion.entry.js +1 -1
  506. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  507. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  508. package/dist/kolibri/kol-alert.entry.js +1 -1
  509. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  510. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  511. package/dist/kolibri/kol-avatar.entry.js +1 -1
  512. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  513. package/dist/kolibri/kol-badge.entry.js +1 -1
  514. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  515. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  516. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  517. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  518. package/dist/kolibri/kol-button-group.entry.js +1 -1
  519. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  520. package/dist/kolibri/kol-button-link.entry.js +1 -1
  521. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  522. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  523. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  524. package/dist/kolibri/kol-button.entry.js +1 -1
  525. package/dist/kolibri/kol-button.entry.js.map +1 -1
  526. package/dist/kolibri/kol-card.entry.js +1 -1
  527. package/dist/kolibri/kol-card.entry.js.map +1 -1
  528. package/dist/kolibri/kol-combobox.entry.js +1 -1
  529. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  530. package/dist/kolibri/kol-details.entry.js +1 -1
  531. package/dist/kolibri/kol-details.entry.js.map +1 -1
  532. package/dist/kolibri/kol-drawer.entry.js +1 -1
  533. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  534. package/dist/kolibri/kol-form.entry.js +1 -1
  535. package/dist/kolibri/kol-form.entry.js.map +1 -1
  536. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  537. package/dist/kolibri/kol-heading.entry.js +1 -1
  538. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  539. package/dist/kolibri/kol-icon.entry.js +1 -1
  540. package/dist/kolibri/kol-image.entry.js +1 -1
  541. package/dist/kolibri/kol-image.entry.js.map +1 -1
  542. package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
  543. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  544. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  545. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  546. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  547. package/dist/kolibri/kol-input-color.entry.js +1 -1
  548. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  549. package/dist/kolibri/kol-input-date.entry.js +1 -1
  550. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  551. package/dist/kolibri/kol-input-email.entry.js +1 -1
  552. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  553. package/dist/kolibri/kol-input-file.entry.js +1 -1
  554. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  555. package/dist/kolibri/kol-input-number.entry.js +1 -1
  556. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  557. package/dist/kolibri/kol-input-password.entry.js +1 -1
  558. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  559. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  560. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  561. package/dist/kolibri/kol-input-range.entry.js +1 -1
  562. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  563. package/dist/kolibri/kol-input-text.entry.js +1 -1
  564. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  565. package/dist/kolibri/kol-input.entry.js +1 -1
  566. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  567. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  568. package/dist/kolibri/kol-link-button.entry.js +1 -1
  569. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  570. package/dist/kolibri/kol-link-group.entry.js +1 -1
  571. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  572. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  573. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  574. package/dist/kolibri/kol-link.entry.js +1 -1
  575. package/dist/kolibri/kol-link.entry.js.map +1 -1
  576. package/dist/kolibri/kol-logo.entry.js +1 -1
  577. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  578. package/dist/kolibri/kol-modal.entry.js +1 -1
  579. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  580. package/dist/kolibri/kol-nav.entry.js +1 -1
  581. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  582. package/dist/kolibri/kol-pagination.entry.js +1 -1
  583. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  584. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  585. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  586. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  587. package/dist/kolibri/kol-popover-wc.entry.js.map +1 -1
  588. package/dist/kolibri/kol-progress.entry.js +1 -1
  589. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  590. package/dist/kolibri/kol-quote.entry.js +1 -1
  591. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  592. package/dist/kolibri/kol-select.entry.js +1 -1
  593. package/dist/kolibri/kol-select.entry.js.map +1 -1
  594. package/dist/kolibri/kol-single-select.entry.js +1 -1
  595. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  596. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  597. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  598. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  599. package/dist/kolibri/kol-span-wc.entry.js.map +1 -1
  600. package/dist/kolibri/kol-spin.entry.js +1 -1
  601. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  602. package/dist/kolibri/kol-split-button.entry.js +1 -1
  603. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  604. package/dist/kolibri/kol-symbol.entry.js +1 -1
  605. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  606. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  607. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  608. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  609. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  610. package/dist/kolibri/kol-table.entry.js +1 -1
  611. package/dist/kolibri/kol-tabs.entry.js +1 -1
  612. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  613. package/dist/kolibri/kol-textarea.entry.js +1 -1
  614. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  615. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  616. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  617. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  618. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  619. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  620. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  621. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  622. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  623. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  624. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  625. package/dist/kolibri/kol-tree.entry.js +1 -1
  626. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  627. package/dist/kolibri/kol-version.entry.js +1 -1
  628. package/dist/kolibri/kol-version.entry.js.map +1 -1
  629. package/dist/kolibri/kolibri.esm.js +1 -1
  630. package/dist/kolibri/{label-c79c6289.js → label-51d66c9d.js} +1 -1
  631. package/dist/kolibri/open-47cb3e2a.js +4 -0
  632. package/dist/kolibri/rows-92682fe5.js +4 -0
  633. package/dist/kolibri/show-82afe4f8.js +4 -0
  634. package/dist/kolibri/spell-check-5b365d45.js +4 -0
  635. package/dist/kolibri/{suggestions-68844c85.js → suggestions-7e70d4e3.js} +1 -1
  636. package/dist/kolibri/{table-selection-3aa020c8.js → table-selection-eaee72ee.js} +1 -1
  637. package/dist/kolibri/test-component.entry.js +1 -1
  638. package/dist/kolibri/tooltip-align-de415afb.js +4 -0
  639. package/dist/kolibri/{unique-nav-labels-18107ff2.js → unique-nav-labels-917eec2b.js} +1 -1
  640. package/dist/kolibri/validation-c4177384.js +4 -0
  641. package/dist/kolibri/{validation-89efeeb9.js → validation-db4e7b56.js} +1 -1
  642. package/dist/types/components/input-checkbox/shadow.d.ts +1 -0
  643. package/dist/types/components.d.ts +168 -0
  644. package/doc/accordion.md +1 -1
  645. package/doc/button-link.md +2 -2
  646. package/doc/button.md +2 -2
  647. package/doc/combobox.md +2 -2
  648. package/doc/details.md +1 -1
  649. package/doc/drawer.md +2 -2
  650. package/doc/form.md +1 -1
  651. package/doc/input-checkbox.md +2 -2
  652. package/doc/input-color.md +2 -2
  653. package/doc/input-date.md +3 -3
  654. package/doc/input-email.md +2 -2
  655. package/doc/input-file.md +2 -2
  656. package/doc/input-number.md +2 -2
  657. package/doc/input-password.md +2 -2
  658. package/doc/input-radio.md +2 -2
  659. package/doc/input-range.md +2 -2
  660. package/doc/input-text.md +2 -2
  661. package/doc/link-button.md +1 -1
  662. package/doc/link.md +1 -1
  663. package/doc/modal.md +2 -2
  664. package/doc/select.md +2 -2
  665. package/doc/single-select.md +2 -2
  666. package/doc/split-button.md +1 -1
  667. package/doc/table-stateful.md +1 -1
  668. package/doc/textarea.md +2 -2
  669. package/doc/toaster.md +2 -2
  670. package/doc/tree-item.md +4 -4
  671. package/package.json +1 -1
  672. package/dist/cjs/index-d5758704.js +0 -4
  673. package/dist/cjs/index-d5758704.js.map +0 -1
  674. package/dist/esm/badge-text-1ca461ea.js +0 -4
  675. package/dist/esm/disabled-9966b1f0.js +0 -4
  676. package/dist/esm/href-d4bde881.js +0 -4
  677. package/dist/esm/index-b44d567a.js +0 -4
  678. package/dist/esm/index-b44d567a.js.map +0 -1
  679. package/dist/esm/show-5fbb1930.js +0 -4
  680. package/dist/esm/tooltip-align-d17bc994.js +0 -4
  681. package/dist/esm/unique-nav-labels-18107ff2.js +0 -4
  682. package/dist/esm/validation-89efeeb9.js +0 -4
  683. package/dist/kolibri/FormFieldMsg-27ff69aa.js +0 -4
  684. package/dist/kolibri/InternalUnderlinedBadgeText-dfefcdf1.js +0 -4
  685. package/dist/kolibri/access-and-short-key-91c639af.js +0 -4
  686. package/dist/kolibri/align-be31be0d.js +0 -4
  687. package/dist/kolibri/app-globals-94850a56.js +0 -4
  688. package/dist/kolibri/badge-text-1ca461ea.js +0 -4
  689. package/dist/kolibri/custom-class-927da4c2.js +0 -4
  690. package/dist/kolibri/disabled-9966b1f0.js +0 -4
  691. package/dist/kolibri/has-closer-64270429.js +0 -4
  692. package/dist/kolibri/hide-label-da89c332.js +0 -4
  693. package/dist/kolibri/href-d4bde881.js +0 -4
  694. package/dist/kolibri/image-source-d479e44b.js +0 -4
  695. package/dist/kolibri/index-b44d567a.js.map +0 -1
  696. package/dist/kolibri/open-be7c436f.js +0 -4
  697. package/dist/kolibri/rows-4f235475.js +0 -4
  698. package/dist/kolibri/show-5fbb1930.js +0 -4
  699. package/dist/kolibri/spell-check-e6bd6453.js +0 -4
  700. package/dist/kolibri/tooltip-align-d17bc994.js +0 -4
  701. package/dist/kolibri/validation-18d1226d.js +0 -4
  702. /package/dist/kolibri/{Alert-11addbd6.js.map → Alert-561bc32f.js.map} +0 -0
  703. /package/dist/kolibri/{Collapsible-dadae8b5.js.map → Collapsible-5a6bdda0.js.map} +0 -0
  704. /package/dist/kolibri/{FormFieldMsg-27ff69aa.js.map → FormFieldMsg-e6bf3e68.js.map} +0 -0
  705. /package/dist/kolibri/{InternalUnderlinedBadgeText-dfefcdf1.js.map → InternalUnderlinedBadgeText-58b62771.js.map} +0 -0
  706. /package/dist/kolibri/{access-and-short-key-91c639af.js.map → access-and-short-key-a34a0af0.js.map} +0 -0
  707. /package/dist/kolibri/{align-be31be0d.js.map → align-bc8d98ac.js.map} +0 -0
  708. /package/dist/kolibri/{align-floating-elements-3e1809c4.js.map → align-floating-elements-f88f945f.js.map} +0 -0
  709. /package/dist/kolibri/{app-globals-94850a56.js.map → app-globals-0e5d6a32.js.map} +0 -0
  710. /package/dist/kolibri/{associated.controller-8d1afc0c.js.map → associated.controller-3dab1e00.js.map} +0 -0
  711. /package/dist/kolibri/{badge-text-1ca461ea.js.map → badge-text-c7f39390.js.map} +0 -0
  712. /package/dist/kolibri/{button-variant-78bbe695.js.map → button-variant-fe0f7f45.js.map} +0 -0
  713. /package/dist/kolibri/{color-a8821a60.js.map → color-a464afb7.js.map} +0 -0
  714. /package/dist/kolibri/{controller-a44f67e1.js.map → controller-4fa871d2.js.map} +0 -0
  715. /package/dist/kolibri/{controller-136e6dc3.js.map → controller-87dfc9ee.js.map} +0 -0
  716. /package/dist/kolibri/{controller-adcb064f.js.map → controller-8ace9659.js.map} +0 -0
  717. /package/dist/kolibri/{controller-05af8f06.js.map → controller-cfa11279.js.map} +0 -0
  718. /package/dist/kolibri/{controller-f0a8cd72.js.map → controller-e97b79b7.js.map} +0 -0
  719. /package/dist/kolibri/{controller-icon-87de6942.js.map → controller-icon-811adcf4.js.map} +0 -0
  720. /package/dist/kolibri/{custom-class-927da4c2.js.map → custom-class-6eaba98d.js.map} +0 -0
  721. /package/dist/kolibri/{debounce-90c878d0.js.map → debounce-112fa67e.js.map} +0 -0
  722. /package/dist/kolibri/{dev.utils-c4154967.js.map → dev.utils-7b67c292.js.map} +0 -0
  723. /package/dist/kolibri/{devtools-b39e940f.js.map → devtools-489db95f.js.map} +0 -0
  724. /package/dist/kolibri/{disabled-9966b1f0.js.map → disabled-f923601e.js.map} +0 -0
  725. /package/dist/kolibri/{has-closer-64270429.js.map → has-closer-a7dc359b.js.map} +0 -0
  726. /package/dist/kolibri/{hide-label-da89c332.js.map → hide-label-2b46168f.js.map} +0 -0
  727. /package/dist/kolibri/{href-d4bde881.js.map → href-823c69d8.js.map} +0 -0
  728. /package/dist/kolibri/{i18n-a1dec0cc.js.map → i18n-820d85c7.js.map} +0 -0
  729. /package/dist/kolibri/{icons-be30e67a.js.map → icons-d29928c3.js.map} +0 -0
  730. /package/dist/kolibri/{image-source-d479e44b.js.map → image-source-bd7ca7b4.js.map} +0 -0
  731. /package/dist/kolibri/{index-bac313b4.js.map → index-4fb06bbb.js.map} +0 -0
  732. /package/dist/kolibri/{label-c79c6289.js.map → label-51d66c9d.js.map} +0 -0
  733. /package/dist/kolibri/{open-be7c436f.js.map → open-47cb3e2a.js.map} +0 -0
  734. /package/dist/kolibri/{rows-4f235475.js.map → rows-92682fe5.js.map} +0 -0
  735. /package/dist/kolibri/{show-5fbb1930.js.map → show-82afe4f8.js.map} +0 -0
  736. /package/dist/kolibri/{spell-check-e6bd6453.js.map → spell-check-5b365d45.js.map} +0 -0
  737. /package/dist/kolibri/{suggestions-68844c85.js.map → suggestions-7e70d4e3.js.map} +0 -0
  738. /package/dist/kolibri/{table-selection-3aa020c8.js.map → table-selection-eaee72ee.js.map} +0 -0
  739. /package/dist/kolibri/{tooltip-align-d17bc994.js.map → tooltip-align-de415afb.js.map} +0 -0
  740. /package/dist/kolibri/{unique-nav-labels-18107ff2.js.map → unique-nav-labels-917eec2b.js.map} +0 -0
  741. /package/dist/kolibri/{validation-18d1226d.js.map → validation-c4177384.js.map} +0 -0
  742. /package/dist/kolibri/{validation-89efeeb9.js.map → validation-db4e7b56.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as t}from"./index-bac313b4.js";const n=["top","right","bottom","left"],e=["start","end"],o=n.reduce(((t,n)=>t.concat(n,n+"-"+e[0],n+"-"+e[1])),[]),s=Math.min,i=Math.max,r=Math.round,c=Math.floor,l=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function u(t,e,n){return i(t,s(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}function w(t){return["top","bottom"].includes(m(t))?"y":"x"}function g(t){return h(w(t))}function x(t,e,n){void 0===n&&(n=!1);const o=p(t),i=g(t),r=y(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=R(l)),[l,R(l)]}function v(t){const e=R(t);return[b(t),e,b(e)]}function b(t){return t.replace(/start|end/g,(t=>f[t]))}function A(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:l;default:return[]}}function O(t,e,n,o){const i=p(t);let r=A(m(t),"start"===n,o);return i&&(r=r.map((t=>t+"-"+i)),e&&(r=r.concat(r.map(b)))),r}function R(t){return t.replace(/left|right|bottom|top/g,(t=>a[t]))}function k(t){return{top:0,right:0,bottom:0,left:0,...t}}function S(t){return"number"!=typeof t?k(t):{top:t,right:t,bottom:t,left:t}}function D(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function F(t,e,n){let{reference:o,floating:i}=t;const r=w(e),l=g(e),c=y(l),s=m(e),a="y"===r,f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,d=o[c]/2-i[c]/2;let h;switch(s){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-i.width,y:u};break;default:h={x:o.x,y:o.y}}switch(p(e)){case"start":h[l]-=d*(n&&a?-1:1);break;case"end":h[l]+=d*(n&&a?-1:1)}return h}const P=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,c=r.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=F(a,o,s),d=o,m={},h=0;for(let n=0;n<c.length;n++){const{name:r,fn:p}=c[n],{x:g,y:y,data:w,reset:x}=await p({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[r]:{...m[r],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(a=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:f,y:u}=F(a,d,s))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}};async function $(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:c,strategy:s}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=d(e,t),p=S(h),g=c[m?"floating"===u?"reference":"floating":u],y=D(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(g)))||n?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:s})),w="floating"===u?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(c.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=D(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+p.top)/v.y,bottom:(b.bottom-y.bottom+p.bottom)/v.y,left:(y.left-b.left+p.left)/v.x,right:(b.right-y.right+p.right)/v.x}}const T=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:l,elements:c,middlewareData:a}=e,{element:f,padding:m=0}=d(t,e)||{};if(null==f)return{};const h=S(m),w={x:n,y:o},x=g(i),v=y(x),b=await l.getDimensions(f),R="y"===x,A=R?"top":"left",L=R?"bottom":"right",T=R?"clientHeight":"clientWidth",D=r.reference[v]+r.reference[x]-w[x]-r.floating[v],E=w[x]-r.reference[x],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=O?O[T]:0;C&&await(null==l.isElement?void 0:l.isElement(O))||(C=c.floating[T]||r.floating[v]);const P=D/2-E/2,H=C/2-b[v]/2-1,F=s(h[A],H),B=s(h[L],H),W=F,k=C-b[v]-B,$=C/2-b[v]/2+P,G=u(W,$,k),z=!a.arrow&&null!=p(i)&&$!==G&&r.reference[v]/2-($<W?F:B)-b[v]/2<0,Q=z?$<W?$-W:$-k:0;return{[x]:w[x]+Q,data:{[x]:G,centerOffset:$-G-Q,...z&&{alignmentOffset:Q}},reset:z}}});function C(t,e,n){const o=t?[...n.filter((e=>p(e)===t)),...n.filter((e=>p(e)!==t))]:n.filter((t=>m(t)===t));return o.filter((n=>!t||(p(n)===t||!!e&&b(n)!==n)))}const E=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,r;const{rects:l,middlewareData:c,placement:s,platform:a,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=o,autoAlignment:y=!0,...w}=d(t,e),v=void 0!==h||g===o?C(h||null,y,g):g,b=await $(e,w),R=(null==(n=c.autoPlacement)?void 0:n.index)||0,A=v[R];if(null==A)return{};const L=x(A,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(s!==A)return{reset:{placement:v[0]}};const T=[b[m(A)],b[L[0]],b[L[1]]],D=[...(null==(i=c.autoPlacement)?void 0:i.overflows)||[],{placement:A,overflows:T}],E=v[R+1];if(E)return{data:{index:R+1,overflows:D},reset:{placement:E}};const O=D.map((t=>{const e=p(t.placement);return[t.placement,e&&u?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),P=O.filter((t=>t[2].slice(0,p(t[0])?2:3).every((t=>t<=0)))),H=(null==(r=P[0])?void 0:r[0])||O[0][0];return H!==s?{data:{index:R+1,overflows:D},reset:{placement:H}}:{}}}},z=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:c,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...b}=d(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const A=m(i),L=w(c),T=m(c)===c,D=await(null==s.isRTL?void 0:s.isRTL(a.floating)),E=h||(T||!y?[R(c)]:v(c)),C="none"!==g;!h&&C&&E.push(...O(c,y,g,D));const P=[c,...E],H=await $(e,b),S=[];let F=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&S.push(H[A]),u){const t=x(i,l,D);S.push(H[t[0]],H[t[1]])}if(F=[...F,{placement:i,overflows:S}],!S.every((t=>t<=0))){var B,W;const t=((null==(B=r.flip)?void 0:B.index)||0)+1,e=P[t];if(e){if(!("alignment"===u&&L!==w(e))||F.every((t=>t.overflows[0]>0&&w(t.placement)===L)))return{data:{index:t,overflows:F},reset:{placement:e}}}let n=null==(W=F.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:W.placement;if(!n)switch(p){case"bestFit":{var k;const t=null==(k=F.filter((t=>{if(C){const e=w(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:k[0];t&&(n=t);break}case"initialPlacement":n=c}if(i!==n)return{reset:{placement:n}}}return{}}}};function B(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function H(t){return n.some((e=>t[e]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=d(t,e);switch(o){case"referenceHidden":{const t=B(await $(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:H(t)}}}case"escaped":{const t=B(await $(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:H(t)}}}default:return{}}}}};function j(t){const e=s(...t.map((t=>t.left))),n=s(...t.map((t=>t.top)));return{x:e,y:n,width:i(...t.map((t=>t.right)))-e,height:i(...t.map((t=>t.bottom)))-n}}function L(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const i=e[t];!o||i.y-o.y>o.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map((t=>D(j(t))))}const I=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:r,platform:l,strategy:c}=e,{padding:a=2,x:f,y:u}=d(t,e),h=Array.from(await(null==l.getClientRects?void 0:l.getClientRects(o.reference))||[]),p=L(h),g=D(j(h)),y=S(a);const x=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=f&&null!=u)return p.find((t=>f>t.left-y.left&&f<t.right+y.right&&u>t.top-y.top&&u<t.bottom+y.bottom))||g;if(p.length>=2){if("y"===w(n)){const t=p[0],e=p[p.length-1],o="top"===m(n),i=t.top,r=e.bottom,l=o?t.left:e.left,c=o?t.right:e.right;return{top:i,bottom:r,left:l,right:c,width:c-l,height:r-i,x:l,y:i}}const t="left"===m(n),e=i(...p.map((t=>t.right))),o=s(...p.map((t=>t.left))),r=p.filter((n=>t?n.left===o:n.right===e)),l=r[0].top,c=r[r.length-1].bottom;return{top:l,bottom:c,left:o,right:e,width:e-o,height:c-l,x:o,y:l}}return g}},floating:o.floating,strategy:c});return r.reference.x!==x.reference.x||r.reference.y!==x.reference.y||r.reference.width!==x.reference.width||r.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}};async function N(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=m(n),c=p(n),s="y"===w(n),a=["left","top"].includes(l)?-1:1,f=r&&s?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&"number"==typeof y&&(g="end"===c?-1*y:y),s?{x:g*f,y:h*a}:{x:h*a,y:g*f}}const q=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:l,middlewareData:c}=e,s=await N(e,t);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},W=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=d(t,e),a={x:n,y:o},f=await $(e,s),p=w(m(i)),g=h(p);let y=a[g],x=a[p];if(r){const t="y"===g?"bottom":"right";y=u(y+f["y"===g?"top":"left"],y,y-f[t])}if(l){const t="y"===p?"bottom":"right";x=u(x+f["y"===p?"top":"left"],x,x-f[t])}const v=c.fn({...e,[g]:y,[p]:x});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[g]:r,[p]:l}}}}}},V=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:c=0,mainAxis:s=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=w(i),p=h(u);let g=f[p],y=f[u];const x=d(c,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;g<e?g=e:g>n&&(g=n)}if(a){var b,R;const t="y"===p?"width":"height",e=["top","left"].includes(m(i)),n=r.reference[u]-r.floating[t]+(e&&(null==(b=l.offset)?void 0:b[u])||0)+(e?0:v.crossAxis),o=r.reference[u]+r.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[u])||0)-(e?v.crossAxis:0);y<n?y=n:y>o&&(y=o)}return{[p]:g,[u]:y}}}},X=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:l,platform:c,elements:a}=e,{apply:f=()=>{},...u}=d(t,e),h=await $(e,u),g=m(r),y=p(r),x="y"===w(r),{width:v,height:b}=l.floating;let R,A;"top"===g||"bottom"===g?(R=g,A=y===(await(null==c.isRTL?void 0:c.isRTL(a.floating))?"start":"end")?"left":"right"):(A=g,R="end"===y?"top":"bottom");const L=b-h.top-h.bottom,T=v-h.left-h.right,D=s(b-h[R],L),E=s(v-h[A],T),O=!e.middlewareData.shift;let C=D,P=E;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(P=T),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(C=L),O&&!y){const t=i(h.left,0),e=i(h.right,0),n=i(h.top,0),o=i(h.bottom,0);x?P=v-2*(0!==t||0!==e?t+e:i(h.left,h.right)):C=b-2*(0!==n||0!==o?n+o:i(h.top,h.bottom))}await f({...e,availableWidth:P,availableHeight:C});const H=await c.getDimensions(a.floating);return v!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};function Y(){return"undefined"!=typeof window}function _(t){return K(t)?(t.nodeName||"").toLowerCase():"#document"}function G(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function J(t){var e;return null==(e=(K(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function K(t){return!!Y()&&(t instanceof Node||t instanceof G(t).Node)}function Q(t){return!!Y()&&(t instanceof Element||t instanceof G(t).Element)}function U(t){return!!Y()&&(t instanceof HTMLElement||t instanceof G(t).HTMLElement)}function Z(t){return!(!Y()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof G(t).ShadowRoot)}function tt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function nt(t){return["table","td","th"].includes(_(t))}function et(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function ot(t){const e=it(),n=Q(t)?ct(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!n[t]&&"none"!==n[t]))||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function st(t){let e=at(t);for(;U(e)&&!rt(e);){if(ot(e))return e;if(et(e))return null;e=at(e)}return null}function it(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function rt(t){return["html","body","#document"].includes(_(t))}function ct(t){return G(t).getComputedStyle(t)}function lt(t){return Q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function at(t){if("html"===_(t))return t;const e=t.assignedSlot||t.parentNode||Z(t)&&t.host||J(t);return Z(e)?e.host:e}function ft(t){const e=at(t);return rt(e)?t.ownerDocument?t.ownerDocument.body:t.body:U(e)&&tt(e)?e:ft(e)}function ut(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=ft(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=G(i);if(r){const t=dt(l);return e.concat(l,l.visualViewport||[],tt(i)?i:[],t&&n?ut(t):[])}return e.concat(i,ut(i,[],n))}function dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function mt(t){const e=ct(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=U(t),l=i?t.offsetWidth:n,c=i?t.offsetHeight:o,s=r(n)!==l||r(o)!==c;return s&&(n=l,o=c),{width:n,height:o,$:s}}function pt(t){return Q(t)?t:t.contextElement}function ht(t){const e=pt(t);if(!U(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:c}=mt(e);let s=(c?r(n.width):n.width)/o,a=(c?r(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const yt=l(0);function wt(t){const e=G(t);return it()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:yt}function gt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==G(t))&&e}function xt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=pt(t);let c=l(1);e&&(o?Q(o)&&(c=ht(o)):c=ht(t));const s=gt(r,n,o)?wt(r):l(0);let a=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,d=i.height/c.y;if(r){const t=G(r),e=o&&Q(o)?G(o):o;let n=t,i=dt(n);for(;i&&o&&e!==n;){const t=ht(i),e=i.getBoundingClientRect(),o=ct(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,f*=t.y,u*=t.x,d*=t.y,a+=r,f+=l,n=G(i),i=dt(n)}}return D({width:u,height:d,x:a,y:f})}function vt(t,e){const n=lt(t).scrollLeft;return e?e.left+n:xt(J(t)).left+n}function bt(t,e,n){void 0===n&&(n=!1);const o=t.getBoundingClientRect();return{x:o.left+e.scrollLeft-(n?0:vt(t,o)),y:o.top+e.scrollTop}}function At(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,c=J(o),s=!!e&&et(e.floating);if(o===c||s&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=U(o);if((d||!d&&!r)&&(("body"!==_(o)||tt(c))&&(a=lt(o)),U(o))){const t=xt(o);f=ht(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}const m=!c||d||r?l(0):bt(c,a,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x+m.x,y:n.y*f.y-a.scrollTop*f.y+u.y+m.y}}function Ot(t){return Array.from(t.getClientRects())}function Rt(t){const e=J(t),n=lt(t),o=t.ownerDocument.body,r=i(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),l=i(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let c=-n.scrollLeft+vt(t);const s=-n.scrollTop;return"rtl"===ct(o).direction&&(c+=i(e.clientWidth,o.clientWidth)-r),{width:r,height:l,x:c,y:s}}function kt(t,e){const n=G(t),o=J(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,c=0,s=0;if(i){r=i.width,l=i.height;const t=it();(!t||t&&"fixed"===e)&&(c=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:c,y:s}}function St(t,e){const n=xt(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=U(t)?ht(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function Dt(t,e,n){let o;if("viewport"===e)o=kt(t,n);else if("document"===e)o=Rt(J(t));else if(Q(e))o=St(e,n);else{const n=wt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return D(o)}function Ft(t,e){const n=at(t);return!(n===e||!Q(n)||rt(n))&&("fixed"===ct(n).position||Ft(n,e))}function Pt(t,e){const n=e.get(t);if(n)return n;let o=ut(t,[],!1).filter((t=>Q(t)&&"body"!==_(t))),i=null;const r="fixed"===ct(t).position;let l=r?at(t):t;for(;Q(l)&&!rt(l);){const e=ct(l),n=ot(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||tt(l)&&!n&&Ft(t,l))?o=o.filter((t=>t!==l)):i=e,l=at(l)}return e.set(t,o),o}function $t(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===n?et(e)?[]:Pt(e,this._c):[].concat(n),o],c=l[0],a=l.reduce(((t,n)=>{const o=Dt(e,n,r);return t.top=i(o.top,t.top),t.right=s(o.right,t.right),t.bottom=s(o.bottom,t.bottom),t.left=i(o.left,t.left),t}),Dt(e,c,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Tt(t){const{width:e,height:n}=mt(t);return{width:e,height:n}}function Ct(t,e,n){const o=U(e),i=J(e),r="fixed"===n,c=xt(t,!0,r,e);let s={scrollLeft:0,scrollTop:0};const a=l(0);function f(){a.x=vt(i)}if(o||!o&&!r)if(("body"!==_(e)||tt(i))&&(s=lt(e)),o){const t=xt(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&f();r&&!o&&i&&f();const u=!i||o||r?l(0):bt(i,s);return{x:c.left+s.scrollLeft-a.x-u.x,y:c.top+s.scrollTop-a.y-u.y,width:c.width,height:c.height}}function Et(t){return"static"===ct(t).position}function zt(t,e){if(!U(t)||"fixed"===ct(t).position)return null;if(e)return e(t);let n=t.offsetParent;return J(t)===n&&(n=n.ownerDocument.body),n}function Bt(t,e){const n=G(t);if(et(t))return n;if(!U(t)){let e=at(t);for(;e&&!rt(e);){if(Q(e)&&!Et(e))return e;e=at(e)}return n}let o=zt(t,e);for(;o&&nt(o)&&Et(o);)o=zt(o,e);return o&&rt(o)&&Et(o)&&!ot(o)?n:o||st(t)||n}const Ht=async function(t){const e=this.getOffsetParent||Bt,n=this.getDimensions,o=await n(t.floating);return{reference:Ct(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Mt(t){return"rtl"===ct(t).direction}const jt={convertOffsetParentRelativeRectToViewportRelativeRect:At,getDocumentElement:J,getClippingRect:$t,getOffsetParent:Bt,getElementRects:Ht,getClientRects:Ot,getDimensions:Tt,getScale:ht,isElement:Q,isRTL:Mt};function Lt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function It(t,e){let n,o=null;const r=J(t);function l(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function a(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:p,height:g}=d;if(f||e(),!p||!g)return;const y={rootMargin:-c(h)+"px "+-c(r.clientWidth-(m+p))+"px "+-c(r.clientHeight-(h+g))+"px "+-c(m)+"px",threshold:i(0,s(1,u))||1};let w=!0;function x(e){const o=e[0].intersectionRatio;if(o!==u){if(!w)return a();o?a(!1,o):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==o||Lt(d,t.getBoundingClientRect())||a(),w=!1}try{o=new IntersectionObserver(x,{...y,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,y)}o.observe(t)}(!0),l}function Nt(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,a=pt(t),f=i||r?[...a?ut(a):[],...ut(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&c?It(a,n):null;let d,m=-1,h=null;l&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===a&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=h)||t.observe(e)}))),n()})),a&&!s&&h.observe(a),h.observe(e));let p=s?xt(t):null;return s&&function e(){const o=xt(t);p&&!Lt(p,o)&&n();p=o,d=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach((t=>{i&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==u||u(),null==(t=h)||t.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const qt=q,Wt=W,Vt=z,Xt=T,Yt=(t,e,n)=>{const o=new Map,i={platform:jt,...n},r={...i.platform,_c:o};return P(t,e,{...i,platform:r})},_t=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,c;if("test"!==t){const t=[qt(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),Vt(),Wt()];o&&t.push(Xt({element:o}));const{x:s,y:a,middlewareData:f,placement:u}=await Yt(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${s}px`,top:`${a}px`,visibility:"visible"}),o&&((null===(l=f.arrow)||void 0===l?void 0:l.x)?Object.assign(o.style,{left:`${f.arrow.x}px`,top:"bottom"===u?-o.offsetHeight/2+"px":"",bottom:"top"===u?-o.offsetHeight/2+"px":""}):(null===(c=f.arrow)||void 0===c?void 0:c.y)&&Object.assign(o.style,{left:"right"===u?-o.offsetWidth/2+"px":"",right:"left"===u?-o.offsetWidth/2+"px":"",top:`${f.arrow.y}px`}))}};export{_t as a,Nt as b};
4
+ import{p as t}from"./index-4fb06bbb.js";const n=["top","right","bottom","left"],e=["start","end"],o=n.reduce(((t,n)=>t.concat(n,n+"-"+e[0],n+"-"+e[1])),[]),s=Math.min,i=Math.max,r=Math.round,c=Math.floor,l=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},a={start:"end",end:"start"};function u(t,e,n){return i(t,s(e,n))}function d(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}function w(t){return["top","bottom"].includes(m(t))?"y":"x"}function g(t){return h(w(t))}function x(t,e,n){void 0===n&&(n=!1);const o=p(t),i=g(t),r=y(i);let l="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=R(l)),[l,R(l)]}function v(t){const e=R(t);return[b(t),e,b(e)]}function b(t){return t.replace(/start|end/g,(t=>a[t]))}function A(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:l;default:return[]}}function O(t,e,n,o){const i=p(t);let r=A(m(t),"start"===n,o);return i&&(r=r.map((t=>t+"-"+i)),e&&(r=r.concat(r.map(b)))),r}function R(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function k(t){return{top:0,right:0,bottom:0,left:0,...t}}function S(t){return"number"!=typeof t?k(t):{top:t,right:t,bottom:t,left:t}}function D(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function F(t,e,n){let{reference:o,floating:i}=t;const r=w(e),l=g(e),c=y(l),s=m(e),a="y"===r,f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,d=o[c]/2-i[c]/2;let h;switch(s){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:u};break;case"left":h={x:o.x-i.width,y:u};break;default:h={x:o.x,y:o.y}}switch(p(e)){case"start":h[l]-=d*(n&&a?-1:1);break;case"end":h[l]+=d*(n&&a?-1:1)}return h}const P=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,c=r.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let a=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=F(a,o,s),d=o,m={},h=0;for(let n=0;n<c.length;n++){const{name:r,fn:p}=c[n],{x:g,y:y,data:w,reset:x}=await p({x:f,y:u,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=y?y:u,m={...m,[r]:{...m[r],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(a=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:f,y:u}=F(a,d,s))),n=-1)}return{x:f,y:u,placement:d,strategy:i,middlewareData:m}};async function $(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:l,elements:c,strategy:s}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=d(e,t),p=S(h),g=c[m?"floating"===u?"reference":"floating":u],y=D(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(g)))||n?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:s})),w="floating"===u?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(c.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=D(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:x,strategy:s}):w);return{top:(y.top-b.top+p.top)/v.y,bottom:(b.bottom-y.bottom+p.bottom)/v.y,left:(y.left-b.left+p.left)/v.x,right:(b.right-y.right+p.right)/v.x}}const T=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:l,elements:c,middlewareData:a}=e,{element:f,padding:m=0}=d(t,e)||{};if(null==f)return{};const h=S(m),w={x:n,y:o},x=g(i),v=y(x),b=await l.getDimensions(f),R="y"===x,A=R?"top":"left",L=R?"bottom":"right",T=R?"clientHeight":"clientWidth",D=r.reference[v]+r.reference[x]-w[x]-r.floating[v],E=w[x]-r.reference[x],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=O?O[T]:0;C&&await(null==l.isElement?void 0:l.isElement(O))||(C=c.floating[T]||r.floating[v]);const P=D/2-E/2,H=C/2-b[v]/2-1,F=s(h[A],H),B=s(h[L],H),W=F,k=C-b[v]-B,$=C/2-b[v]/2+P,G=u(W,$,k),z=!a.arrow&&null!=p(i)&&$!==G&&r.reference[v]/2-($<W?F:B)-b[v]/2<0,Q=z?$<W?$-W:$-k:0;return{[x]:w[x]+Q,data:{[x]:G,centerOffset:$-G-Q,...z&&{alignmentOffset:Q}},reset:z}}});function C(t,e,n){const o=t?[...n.filter((e=>p(e)===t)),...n.filter((e=>p(e)!==t))]:n.filter((t=>m(t)===t));return o.filter((n=>!t||(p(n)===t||!!e&&b(n)!==n)))}const E=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,r;const{rects:l,middlewareData:c,placement:s,platform:a,elements:f}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=o,autoAlignment:y=!0,...w}=d(t,e),v=void 0!==h||g===o?C(h||null,y,g):g,b=await $(e,w),R=(null==(n=c.autoPlacement)?void 0:n.index)||0,A=v[R];if(null==A)return{};const L=x(A,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(s!==A)return{reset:{placement:v[0]}};const T=[b[m(A)],b[L[0]],b[L[1]]],D=[...(null==(i=c.autoPlacement)?void 0:i.overflows)||[],{placement:A,overflows:T}],E=v[R+1];if(E)return{data:{index:R+1,overflows:D},reset:{placement:E}};const O=D.map((t=>{const e=p(t.placement);return[t.placement,e&&u?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),P=O.filter((t=>t[2].slice(0,p(t[0])?2:3).every((t=>t<=0)))),H=(null==(r=P[0])?void 0:r[0])||O[0][0];return H!==s?{data:{index:R+1,overflows:D},reset:{placement:H}}:{}}}},z=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:c,platform:s,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...b}=d(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const A=m(i),L=w(c),T=m(c)===c,D=await(null==s.isRTL?void 0:s.isRTL(a.floating)),E=h||(T||!y?[R(c)]:v(c)),C="none"!==g;!h&&C&&E.push(...O(c,y,g,D));const P=[c,...E],H=await $(e,b),S=[];let F=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&S.push(H[A]),u){const t=x(i,l,D);S.push(H[t[0]],H[t[1]])}if(F=[...F,{placement:i,overflows:S}],!S.every((t=>t<=0))){var B,W;const t=((null==(B=r.flip)?void 0:B.index)||0)+1,e=P[t];if(e){if(!("alignment"===u&&L!==w(e))||F.every((t=>t.overflows[0]>0&&w(t.placement)===L)))return{data:{index:t,overflows:F},reset:{placement:e}}}let n=null==(W=F.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:W.placement;if(!n)switch(p){case"bestFit":{var k;const t=null==(k=F.filter((t=>{if(C){const e=w(t.placement);return e===L||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:k[0];t&&(n=t);break}case"initialPlacement":n=c}if(i!==n)return{reset:{placement:n}}}return{}}}};function B(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function H(t){return n.some((e=>t[e]>=0))}const M=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=d(t,e);switch(o){case"referenceHidden":{const t=B(await $(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:H(t)}}}case"escaped":{const t=B(await $(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:H(t)}}}default:return{}}}}};function j(t){const e=s(...t.map((t=>t.left))),n=s(...t.map((t=>t.top)));return{x:e,y:n,width:i(...t.map((t=>t.right)))-e,height:i(...t.map((t=>t.bottom)))-n}}function L(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const i=e[t];!o||i.y-o.y>o.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map((t=>D(j(t))))}const I=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:r,platform:l,strategy:c}=e,{padding:a=2,x:f,y:u}=d(t,e),h=Array.from(await(null==l.getClientRects?void 0:l.getClientRects(o.reference))||[]),p=L(h),g=D(j(h)),y=S(a);const x=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=f&&null!=u)return p.find((t=>f>t.left-y.left&&f<t.right+y.right&&u>t.top-y.top&&u<t.bottom+y.bottom))||g;if(p.length>=2){if("y"===w(n)){const t=p[0],e=p[p.length-1],o="top"===m(n),i=t.top,r=e.bottom,l=o?t.left:e.left,c=o?t.right:e.right;return{top:i,bottom:r,left:l,right:c,width:c-l,height:r-i,x:l,y:i}}const t="left"===m(n),e=i(...p.map((t=>t.right))),o=s(...p.map((t=>t.left))),r=p.filter((n=>t?n.left===o:n.right===e)),l=r[0].top,c=r[r.length-1].bottom;return{top:l,bottom:c,left:o,right:e,width:e-o,height:c-l,x:o,y:l}}return g}},floating:o.floating,strategy:c});return r.reference.x!==x.reference.x||r.reference.y!==x.reference.y||r.reference.width!==x.reference.width||r.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}};async function N(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),l=m(n),c=p(n),s="y"===w(n),a=["left","top"].includes(l)?-1:1,f=r&&s?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&"number"==typeof y&&(g="end"===c?-1*y:y),s?{x:g*f,y:h*a}:{x:h*a,y:g*f}}const q=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:l,middlewareData:c}=e,s=await N(e,t);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},W=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=d(t,e),a={x:n,y:o},f=await $(e,s),p=w(m(i)),g=h(p);let y=a[g],x=a[p];if(r){const t="y"===g?"bottom":"right";y=u(y+f["y"===g?"top":"left"],y,y-f[t])}if(l){const t="y"===p?"bottom":"right";x=u(x+f["y"===p?"top":"left"],x,x-f[t])}const v=c.fn({...e,[g]:y,[p]:x});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[g]:r,[p]:l}}}}}},V=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=e,{offset:c=0,mainAxis:s=!0,crossAxis:a=!0}=d(t,e),f={x:n,y:o},u=w(i),p=h(u);let g=f[p],y=f[u];const x=d(c,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){const t="y"===p?"height":"width",e=r.reference[p]-r.floating[t]+v.mainAxis,n=r.reference[p]+r.reference[t]-v.mainAxis;g<e?g=e:g>n&&(g=n)}if(a){var b,R;const t="y"===p?"width":"height",e=["top","left"].includes(m(i)),n=r.reference[u]-r.floating[t]+(e&&(null==(b=l.offset)?void 0:b[u])||0)+(e?0:v.crossAxis),o=r.reference[u]+r.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[u])||0)-(e?v.crossAxis:0);y<n?y=n:y>o&&(y=o)}return{[p]:g,[u]:y}}}},X=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:l,platform:c,elements:a}=e,{apply:f=()=>{},...u}=d(t,e),h=await $(e,u),g=m(r),y=p(r),x="y"===w(r),{width:v,height:b}=l.floating;let R,A;"top"===g||"bottom"===g?(R=g,A=y===(await(null==c.isRTL?void 0:c.isRTL(a.floating))?"start":"end")?"left":"right"):(A=g,R="end"===y?"top":"bottom");const L=b-h.top-h.bottom,T=v-h.left-h.right,D=s(b-h[R],L),E=s(v-h[A],T),O=!e.middlewareData.shift;let C=D,P=E;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(P=T),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(C=L),O&&!y){const t=i(h.left,0),e=i(h.right,0),n=i(h.top,0),o=i(h.bottom,0);x?P=v-2*(0!==t||0!==e?t+e:i(h.left,h.right)):C=b-2*(0!==n||0!==o?n+o:i(h.top,h.bottom))}await f({...e,availableWidth:P,availableHeight:C});const H=await c.getDimensions(a.floating);return v!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};function Y(){return"undefined"!=typeof window}function _(t){return K(t)?(t.nodeName||"").toLowerCase():"#document"}function G(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function J(t){var e;return null==(e=(K(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function K(t){return!!Y()&&(t instanceof Node||t instanceof G(t).Node)}function Q(t){return!!Y()&&(t instanceof Element||t instanceof G(t).Element)}function U(t){return!!Y()&&(t instanceof HTMLElement||t instanceof G(t).HTMLElement)}function Z(t){return!(!Y()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof G(t).ShadowRoot)}function tt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=ct(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function nt(t){return["table","td","th"].includes(_(t))}function et(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function ot(t){const e=it(),n=Q(t)?ct(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!n[t]&&"none"!==n[t]))||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function st(t){let e=ft(t);for(;U(e)&&!rt(e);){if(ot(e))return e;if(et(e))return null;e=ft(e)}return null}function it(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function rt(t){return["html","body","#document"].includes(_(t))}function ct(t){return G(t).getComputedStyle(t)}function lt(t){return Q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ft(t){if("html"===_(t))return t;const e=t.assignedSlot||t.parentNode||Z(t)&&t.host||J(t);return Z(e)?e.host:e}function at(t){const e=ft(t);return rt(e)?t.ownerDocument?t.ownerDocument.body:t.body:U(e)&&tt(e)?e:at(e)}function ut(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=at(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),l=G(i);if(r){const t=dt(l);return e.concat(l,l.visualViewport||[],tt(i)?i:[],t&&n?ut(t):[])}return e.concat(i,ut(i,[],n))}function dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function mt(t){const e=ct(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=U(t),l=i?t.offsetWidth:n,c=i?t.offsetHeight:o,s=r(n)!==l||r(o)!==c;return s&&(n=l,o=c),{width:n,height:o,$:s}}function pt(t){return Q(t)?t:t.contextElement}function ht(t){const e=pt(t);if(!U(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:c}=mt(e);let s=(c?r(n.width):n.width)/o,a=(c?r(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const yt=l(0);function wt(t){const e=G(t);return it()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:yt}function gt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==G(t))&&e}function xt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=pt(t);let c=l(1);e&&(o?Q(o)&&(c=ht(o)):c=ht(t));const s=gt(r,n,o)?wt(r):l(0);let a=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,u=i.width/c.x,d=i.height/c.y;if(r){const t=G(r),e=o&&Q(o)?G(o):o;let n=t,i=dt(n);for(;i&&o&&e!==n;){const t=ht(i),e=i.getBoundingClientRect(),o=ct(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;a*=t.x,f*=t.y,u*=t.x,d*=t.y,a+=r,f+=l,n=G(i),i=dt(n)}}return D({width:u,height:d,x:a,y:f})}function vt(t,e){const n=lt(t).scrollLeft;return e?e.left+n:xt(J(t)).left+n}function bt(t,e,n){void 0===n&&(n=!1);const o=t.getBoundingClientRect();return{x:o.left+e.scrollLeft-(n?0:vt(t,o)),y:o.top+e.scrollTop}}function At(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,c=J(o),s=!!e&&et(e.floating);if(o===c||s&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=U(o);if((d||!d&&!r)&&(("body"!==_(o)||tt(c))&&(a=lt(o)),U(o))){const t=xt(o);f=ht(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}const m=!c||d||r?l(0):bt(c,a,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x+m.x,y:n.y*f.y-a.scrollTop*f.y+u.y+m.y}}function Ot(t){return Array.from(t.getClientRects())}function Rt(t){const e=J(t),n=lt(t),o=t.ownerDocument.body,r=i(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),l=i(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let c=-n.scrollLeft+vt(t);const s=-n.scrollTop;return"rtl"===ct(o).direction&&(c+=i(e.clientWidth,o.clientWidth)-r),{width:r,height:l,x:c,y:s}}function kt(t,e){const n=G(t),o=J(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,c=0,s=0;if(i){r=i.width,l=i.height;const t=it();(!t||t&&"fixed"===e)&&(c=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:c,y:s}}function St(t,e){const n=xt(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=U(t)?ht(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function Dt(t,e,n){let o;if("viewport"===e)o=kt(t,n);else if("document"===e)o=Rt(J(t));else if(Q(e))o=St(e,n);else{const n=wt(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return D(o)}function Ft(t,e){const n=ft(t);return!(n===e||!Q(n)||rt(n))&&("fixed"===ct(n).position||Ft(n,e))}function Pt(t,e){const n=e.get(t);if(n)return n;let o=ut(t,[],!1).filter((t=>Q(t)&&"body"!==_(t))),i=null;const r="fixed"===ct(t).position;let l=r?ft(t):t;for(;Q(l)&&!rt(l);){const e=ct(l),n=ot(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||tt(l)&&!n&&Ft(t,l))?o=o.filter((t=>t!==l)):i=e,l=ft(l)}return e.set(t,o),o}function $t(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===n?et(e)?[]:Pt(e,this._c):[].concat(n),o],c=l[0],a=l.reduce(((t,n)=>{const o=Dt(e,n,r);return t.top=i(o.top,t.top),t.right=s(o.right,t.right),t.bottom=s(o.bottom,t.bottom),t.left=i(o.left,t.left),t}),Dt(e,c,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Tt(t){const{width:e,height:n}=mt(t);return{width:e,height:n}}function Ct(t,e,n){const o=U(e),i=J(e),r="fixed"===n,c=xt(t,!0,r,e);let s={scrollLeft:0,scrollTop:0};const a=l(0);function f(){a.x=vt(i)}if(o||!o&&!r)if(("body"!==_(e)||tt(i))&&(s=lt(e)),o){const t=xt(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&f();r&&!o&&i&&f();const u=!i||o||r?l(0):bt(i,s);return{x:c.left+s.scrollLeft-a.x-u.x,y:c.top+s.scrollTop-a.y-u.y,width:c.width,height:c.height}}function Et(t){return"static"===ct(t).position}function zt(t,e){if(!U(t)||"fixed"===ct(t).position)return null;if(e)return e(t);let n=t.offsetParent;return J(t)===n&&(n=n.ownerDocument.body),n}function Bt(t,e){const n=G(t);if(et(t))return n;if(!U(t)){let e=ft(t);for(;e&&!rt(e);){if(Q(e)&&!Et(e))return e;e=ft(e)}return n}let o=zt(t,e);for(;o&&nt(o)&&Et(o);)o=zt(o,e);return o&&rt(o)&&Et(o)&&!ot(o)?n:o||st(t)||n}const Ht=async function(t){const e=this.getOffsetParent||Bt,n=this.getDimensions,o=await n(t.floating);return{reference:Ct(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Mt(t){return"rtl"===ct(t).direction}const jt={convertOffsetParentRelativeRectToViewportRelativeRect:At,getDocumentElement:J,getClippingRect:$t,getOffsetParent:Bt,getElementRects:Ht,getClientRects:Ot,getDimensions:Tt,getScale:ht,isElement:Q,isRTL:Mt};function Lt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function It(t,e){let n,o=null;const r=J(t);function l(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function a(f,u){void 0===f&&(f=!1),void 0===u&&(u=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:p,height:g}=d;if(f||e(),!p||!g)return;const y={rootMargin:-c(h)+"px "+-c(r.clientWidth-(m+p))+"px "+-c(r.clientHeight-(h+g))+"px "+-c(m)+"px",threshold:i(0,s(1,u))||1};let w=!0;function x(e){const o=e[0].intersectionRatio;if(o!==u){if(!w)return a();o?a(!1,o):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==o||Lt(d,t.getBoundingClientRect())||a(),w=!1}try{o=new IntersectionObserver(x,{...y,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,y)}o.observe(t)}(!0),l}function Nt(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,a=pt(t),f=i||r?[...a?ut(a):[],...ut(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&c?It(a,n):null;let d,m=-1,h=null;l&&(h=new ResizeObserver((t=>{let[o]=t;o&&o.target===a&&h&&(h.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=h)||t.observe(e)}))),n()})),a&&!s&&h.observe(a),h.observe(e));let p=s?xt(t):null;return s&&function e(){const o=xt(t);p&&!Lt(p,o)&&n();p=o,d=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach((t=>{i&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==u||u(),null==(t=h)||t.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const qt=q,Wt=W,Vt=z,Xt=T,Yt=(t,e,n)=>{const o=new Map,i={platform:jt,...n},r={...i.platform,_c:o};return P(t,e,{...i,platform:r})},_t=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,c;if("test"!==t){const t=[qt(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),Vt(),Wt()];o&&t.push(Xt({element:o}));const{x:s,y:a,middlewareData:f,placement:u}=await Yt(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${s}px`,top:`${a}px`,visibility:"visible"}),o&&((null===(l=f.arrow)||void 0===l?void 0:l.x)?Object.assign(o.style,{left:`${f.arrow.x}px`,top:"bottom"===u?-o.offsetHeight/2+"px":"",bottom:"top"===u?-o.offsetHeight/2+"px":""}):(null===(c=f.arrow)||void 0===c?void 0:c.y)&&Object.assign(o.style,{left:"right"===u?-o.offsetWidth/2+"px":"",right:"left"===u?-o.offsetWidth/2+"px":"",top:`${f.arrow.y}px`}))}};export{_t as a,Nt as b};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{L as o,n as t,b as a}from"./index-4fb06bbb.js";import{a as f}from"./index-3c6a28da.js";f((o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,a(o))}catch(o){}return"default"})),import("./devtools-489db95f.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((t=>{o.error(t)}));const n=()=>{},s=n;export{s as g};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{y as t,E as e,C as i,F as s}from"./index-bac313b4.js";const o=(e,i,s)=>{t(e,"_name",i,s)},a=t=>"KOL-BUTTON"===t||"KOL-COMBOBOX"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-SINGLE-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(t,s,o){var r,n,l;if(this.experimentalMode=e(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(o),this.type=s,this.experimentalMode&&a(null===(r=this.host)||void 0===r?void 0:r.tagName)&&t._name){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach((t=>{i.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}}));break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}}validateName(t){o(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
4
+ import{y as t,E as e,C as i,G as s}from"./index-4fb06bbb.js";const o=(e,i,s)=>{t(e,"_name",i,s)},a=t=>"KOL-BUTTON"===t||"KOL-COMBOBOX"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-SINGLE-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(t,s,o){var r,n,l;if(this.experimentalMode=e(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(o),this.type=s,this.experimentalMode&&a(null===(r=this.host)||void 0===r?void 0:r.tagName)&&t._name){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach((t=>{i.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),i.appendChild(t)}}));break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}}validateName(t){o(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as b}from"./index-4fb06bbb.js";const e=(e,o)=>{b(e,"_badgeText",o)};export{e as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as t,y as a,j as n}from"./index-bac313b4.js";const o=["button","link","tab","treeitem"],r=(a,e)=>{t(a,"_role",(t=>"string"==typeof t&&o.includes(t)),new Set([`KoliBriAlternativeButtonLinkRole {${o.join(", ")}`]),e)},e=(t,e)=>{a(t,"_ariaDescription",e)},i=(t,a)=>{n(t,"_ariaExpanded",a)},s=["primary","secondary","normal","tertiary","danger","ghost","custom"],c=(a,e)=>{t(a,"_variant",(t=>"string"==typeof t&&s.includes(t)),new Set([`KoliBriButtonVariant {${s.join(", ")}`]),e,{defaultValue:"normal"})};export{i as a,r as b,c,e as v};
4
+ import{w as t,y as a,j as n}from"./index-4fb06bbb.js";const o=["button","link","tab","treeitem"],r=(a,e)=>{t(a,"_role",(t=>"string"==typeof t&&o.includes(t)),new Set([`KoliBriAlternativeButtonLinkRole {${o.join(", ")}`]),e)},e=(t,e)=>{a(t,"_ariaDescription",e)},i=(t,a)=>{n(t,"_ariaExpanded",a)},s=["primary","secondary","normal","tertiary","danger","ghost","custom"],c=(a,e)=>{t(a,"_variant",(t=>"string"==typeof t&&s.includes(t)),new Set([`KoliBriButtonVariant {${s.join(", ")}`]),e,{defaultValue:"normal"})};export{i as a,r as b,c,e as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{r as e,q as r,w as a,L as t,f as n}from"./index-bac313b4.js";var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=l,o=u,s={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function u(e){var r,a,o=[],t=1;if("string"==typeof e)if(e=e.toLowerCase(),i[e])o=i[e].slice(),a="rgb";else if("transparent"===e)t=0,a="rgb",o=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var n=e.slice(1);t=1,(g=n.length)<=4?(o=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===g&&(t=parseInt(n[3]+n[3],16)/255)):(o=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===g&&(t=parseInt(n[6]+n[7],16)/255)),o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var l=r[1],u="rgb"===l;a=n=l.replace(/a$/,"");var g="cmyk"===n?4:"gray"===n?1:3;o=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===n?255*parseFloat(e)/100:parseFloat(e);if("h"===n[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==s[e])return s[e]}return parseFloat(e)})),l===n&&o.push(1),t=u||void 0===o[g]?1:o[g],o=o.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(o=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(o=[e[0],e[1],e[2]],a="rgb",t=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",o=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",o=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),t=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(t/=100)):(a="rgb",o=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:o,alpha:t}}var g=o,f=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=g(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=d(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function d(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const c=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,h=(a,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=r(e.hex(`rgba(${a.join(",")},1)`),e.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:a,foreground:l,contrast:i}:h(a,l,t,n)},p=new Map,y=(e,r,a,o=1)=>{if(p.has(e))return p.get(e);const t=h(e,r,a,o);return p.set(e,t),t},b=(r,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof r?(o=f(r),t=o):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(o=f(r.background),t="string"==typeof r.foreground?f(r.foreground):o);const n=c(o[0],o[1],o[2]),l=y([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:e.hex(`rgba(${o.join(",")})`),foreground:e.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},v=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function m(e){return v.test(e)}function k(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if(M(r))return{type:"ColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function w(e){if(e)if("string"==typeof e){if(m(e))return{type:"string",valid:!0,value:e};{const r=k(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if(M(r))return{type:"ColorPair",valid:!0,value:r}}return{type:null,valid:!1,value:""}}function M(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function $(e){const r=w(e);switch(r.type){case null:return!1;case"string":case"ColorPair":return r.valid}}const q=(e,r,o)=>{a(e,"_color",$,new Set(["rgb in hex","ColorPair"]),r,o)},I=e=>{var r;let a;const o=w(e);switch(o.type){case"string":a=b(o.value);break;case"ColorPair":{const e=o.value;let t="";"string"==typeof e.foregroundColor?t=e.foregroundColor:(null===(r=e.foregroundColor)||void 0===r?void 0:r.primary)&&(t=e.foregroundColor.primary),t&&"string"==typeof t||(t="#fff"),a=b({background:e.backgroundColor,foreground:t});break}case null:t.warn(`_color was empty or invalid (${JSON.stringify(e)})`),a=b({background:"#000",foreground:"#000"})}return a.contrast<7&&n(`[KolBadge] The contrast of ${a.contrast} (≥7, AAA) is to low, between the color pair ${a.background} and ${a.foreground}.`),{backgroundColor:a.background,foregroundColor:a.foreground}};export{f as c,I as h,q as v};
4
+ import{r as e,q as r,w as a,L as t,f as n}from"./index-4fb06bbb.js";var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=l,o=u,s={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function u(e){var r,a,o=[],t=1;if("string"==typeof e)if(e=e.toLowerCase(),i[e])o=i[e].slice(),a="rgb";else if("transparent"===e)t=0,a="rgb",o=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var n=e.slice(1);t=1,(g=n.length)<=4?(o=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===g&&(t=parseInt(n[3]+n[3],16)/255)):(o=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===g&&(t=parseInt(n[6]+n[7],16)/255)),o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var l=r[1],u="rgb"===l;a=n=l.replace(/a$/,"");var g="cmyk"===n?4:"gray"===n?1:3;o=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===n?255*parseFloat(e)/100:parseFloat(e);if("h"===n[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==s[e])return s[e]}return parseFloat(e)})),l===n&&o.push(1),t=u||void 0===o[g]?1:o[g],o=o.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(o=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(o=[e[0],e[1],e[2]],a="rgb",t=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",o=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",o=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),t=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(t/=100)):(a="rgb",o=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:o,alpha:t}}var g=o,f=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=g(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=d(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function d(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const c=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,h=(a,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=r(e.hex(`rgba(${a.join(",")},1)`),e.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:a,foreground:l,contrast:i}:h(a,l,t,n)},p=new Map,y=(e,r,a,o=1)=>{if(p.has(e))return p.get(e);const t=h(e,r,a,o);return p.set(e,t),t},b=(r,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof r?(o=f(r),t=o):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(o=f(r.background),t="string"==typeof r.foreground?f(r.foreground):o);const n=c(o[0],o[1],o[2]),l=y([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:e.hex(`rgba(${o.join(",")})`),foreground:e.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},v=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function m(e){return v.test(e)}function k(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if(M(r))return{type:"ColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function w(e){if(e)if("string"==typeof e){if(m(e))return{type:"string",valid:!0,value:e};{const r=k(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if(M(r))return{type:"ColorPair",valid:!0,value:r}}return{type:null,valid:!1,value:""}}function M(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function $(e){const r=w(e);switch(r.type){case null:return!1;case"string":case"ColorPair":return r.valid}}const q=(e,r,o)=>{a(e,"_color",$,new Set(["rgb in hex","ColorPair"]),r,o)},I=e=>{var r;let a;const o=w(e);switch(o.type){case"string":a=b(o.value);break;case"ColorPair":{const e=o.value;let t="";"string"==typeof e.foregroundColor?t=e.foregroundColor:(null===(r=e.foregroundColor)||void 0===r?void 0:r.primary)&&(t=e.foregroundColor.primary),t&&"string"==typeof t||(t="#fff"),a=b({background:e.backgroundColor,foreground:t});break}case null:t.warn(`_color was empty or invalid (${JSON.stringify(e)})`),a=b({background:"#000",foreground:"#000"})}return a.contrast<7&&n(`[KolBadge] The contrast of ${a.contrast} (≥7, AAA) is to low, between the color pair ${a.background} and ${a.foreground}.`),{backgroundColor:a.background,foregroundColor:a.foreground}};export{f as c,I as h,q as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{j as t,o as i,l as s,w as e,i as o,k as h,f as a,y as r,C as n,m as l}from"./index-bac313b4.js";import{s as d,t as c}from"./events-29e84d75.js";import{A as u}from"./associated.controller-8d1afc0c.js";import{v as f,a as v,b as p,c as y}from"./access-and-short-key-91c639af.js";import{v as m}from"./hide-label-da89c332.js";import{a as b}from"./label-c79c6289.js";import{v as g}from"./tooltip-align-d17bc994.js";const _=(o,e)=>{t(o,"_adjustHeight",e)},j=(o,e,n)=>{t(o,"_hideError",e,n)},k=(t,n)=>{i(n,(()=>{try{n=s(n)}catch(t){}e(t,"_msg",(t=>o(t)&&"string"==typeof(null==t?void 0:t._description)),new Set(["MsgPropType"]),n,{defaultValue:{_description:"",_type:"error"}})}))},x=(o,e)=>{t(o,"_touched",e)},A=t=>{var o,e;const n=Boolean("error"===(null===(o=t._msg)||void 0===o?void 0:o._type)&&t._msg._description&&(null===(e=t._msg._description)||void 0===e?void 0:e.length)>0)&&!0===t._touched,i="string"==typeof t._hint&&t._hint.length>0,s=[];return!0===n&&s.push(`${t._id}-error`),!0===i&&s.push(`${t._id}-hint`),{hasError:n,hasHint:i,ariaDescribedBy:s}};class B extends u{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){x(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class C extends B{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){f(this.component,t),v(t,this.component._shortKey)}validateAdjustHeight(t){_(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&h()}validateTooltipAlign(t){g(this.component,t)}validateError(t){"string"==typeof t&&t.length>0?this.validateMsg({_description:t,_type:"error"}):this.validateMsg(void 0)}validateHideError(t){j(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&a("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){m(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&a("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){r(this.component,"_hint",t)}validateId(t){r(this.component,"_id",t,{minLength:1}),""!==t&&void 0!==t||n("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(t){b(this.component,t,{required:!0})}validateMsg(t){k(this.component,t)}validateOn(t){"object"==typeof t&&l(this.component,"_on",t)}validateShortKey(t){p(this.component,t),v(this.component._accessKey,t)}validateSmartButton(t){i(t,(()=>{try{t=s(t)}catch(t){}l(this.component,"_smartButton",t)}))}validateTabIndex(t){y(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.component._msg&&this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),v(this.component._accessKey,this.component._shortKey)}onBlur(t){var o;this.component._touched=!0,d(t),c("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t,o){var e;o=null!=o?o:t.target.value,c("change",this.host,o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o),this.valueChangeListeners.forEach((t=>t(o)))}onInput(t,o=!0,e){var n;e=null!=e?e:t.target.value,d(t),c("input",this.host,e),o&&this.setFormAssociatedValue(e),"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onInput)&&this.component._on.onInput(t,e)}onClick(t){var o;d(t),c("click",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;d(t),c("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{C as I,A as g};
4
+ import{j as t,o as i,l as s,w as e,i as o,k as h,f as a,y as r,C as n,m as l}from"./index-4fb06bbb.js";import{s as d,t as u}from"./events-29e84d75.js";import{A as c}from"./associated.controller-3dab1e00.js";import{v as f,a as v,b as p,c as y}from"./access-and-short-key-a34a0af0.js";import{v as m}from"./hide-label-2b46168f.js";import{a as b}from"./label-51d66c9d.js";import{v as g}from"./tooltip-align-de415afb.js";const _=(o,e)=>{t(o,"_adjustHeight",e)},j=(o,e,n)=>{t(o,"_hideError",e,n)},k=(t,n)=>{i(n,(()=>{try{n=s(n)}catch(t){}e(t,"_msg",(t=>o(t)&&"string"==typeof(null==t?void 0:t._description)),new Set(["MsgPropType"]),n,{defaultValue:{_description:"",_type:"error"}})}))},x=(o,e)=>{t(o,"_touched",e)},A=t=>{var o,e;const n=Boolean("error"===(null===(o=t._msg)||void 0===o?void 0:o._type)&&t._msg._description&&(null===(e=t._msg._description)||void 0===e?void 0:e.length)>0)&&!0===t._touched,i="string"==typeof t._hint&&t._hint.length>0,s=[];return!0===n&&s.push(`${t._id}-error`),!0===i&&s.push(`${t._id}-hint`),{hasError:n,hasHint:i,ariaDescribedBy:s}};class B extends c{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){x(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class C extends B{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){f(this.component,t),v(t,this.component._shortKey)}validateAdjustHeight(t){_(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&h()}validateTooltipAlign(t){g(this.component,t)}validateError(t){"string"==typeof t&&t.length>0?this.validateMsg({_description:t,_type:"error"}):this.validateMsg(void 0)}validateHideError(t){j(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&a("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){m(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&a("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){r(this.component,"_hint",t)}validateId(t){r(this.component,"_id",t,{minLength:1}),""!==t&&void 0!==t||n("A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.")}validateLabel(t){b(this.component,t,{required:!0})}validateMsg(t){k(this.component,t)}validateOn(t){"object"==typeof t&&l(this.component,"_on",t)}validateShortKey(t){p(this.component,t),v(this.component._accessKey,t)}validateSmartButton(t){i(t,(()=>{try{t=s(t)}catch(t){}l(this.component,"_smartButton",t)}))}validateTabIndex(t){y(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.component._msg&&this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),v(this.component._accessKey,this.component._shortKey)}onBlur(t){var o;this.component._touched=!0,d(t),u("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t,o){var e;o=null!=o?o:t.target.value,u("change",this.host,o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o),this.valueChangeListeners.forEach((t=>t(o)))}onInput(t,o=!0,e){var n;e=null!=e?e:t.target.value,d(t),u("input",this.host,e),o&&this.setFormAssociatedValue(e),"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onInput)&&this.component._on.onInput(t,e)}onClick(t){var o;d(t),u("click",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;d(t),u("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{C as I,A as g};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{I as e,a as o,E as t,C as n,L as i}from"./index-bac313b4.js";import{m as s}from"./component-names-4cb1c62b.js";const f=e=>{for(t()&&(n("↓ Search form element start."),i.debug(e));e instanceof HTMLElement&&"FORM"!==e.tagName&&e.tagName!==s.toUpperCase();){try{e=e.parentElement instanceof HTMLElement?e.parentElement:e.parentNode instanceof ShadowRoot?e.parentNode.host:null}catch(e){}t()&&(i.debug(e),n("↑ Search form element finished."))}return e},a=(t={})=>{var n,a;const i=f(t.form);if(i instanceof HTMLElement){const t=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)e(t,i),i.dispatchEvent(t);else if(i.tagName===s.toUpperCase()){e(t,o.querySelector("form",i));const s=i;"function"==typeof(null===(n=s._on)||void 0===n?void 0:n.onReset)&&(null===(a=s._on)||void 0===a||a.onReset(t))}}},l=(a={})=>{const i=f(a.form);if(i instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:i});if("FORM"===i.tagName)t()&&!1===i.noValidate&&n("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout((()=>{"function"==typeof i.requestSubmit?i.requestSubmit():(e(a,i),i.dispatchEvent(a))}));else if(i.tagName===s.toUpperCase()){e(a,o.querySelector("form",i));const t=i;setTimeout((()=>{var e,o;"function"==typeof(null===(e=t._on)||void 0===e?void 0:e.onSubmit)&&(null===(o=t._on)||void 0===o||o.onSubmit(a))}))}}};export{a,l as p};
4
+ import{D as e,a as o,E as t,C as n,L as i}from"./index-4fb06bbb.js";import{m as f}from"./component-names-4cb1c62b.js";const s=e=>{for(t()&&(n("↓ Search form element start."),i.debug(e));e instanceof HTMLElement&&"FORM"!==e.tagName&&e.tagName!==f.toUpperCase();){try{e=e.parentElement instanceof HTMLElement?e.parentElement:e.parentNode instanceof ShadowRoot?e.parentNode.host:null}catch(e){}t()&&(i.debug(e),n("↑ Search form element finished."))}return e},l=(t={})=>{var n,a;const i=s(t.form);if(i instanceof HTMLElement){const t=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)e(t,i),i.dispatchEvent(t);else if(i.tagName===f.toUpperCase()){e(t,o.querySelector("form",i));const s=i;"function"==typeof(null===(n=s._on)||void 0===n?void 0:n.onReset)&&(null===(a=s._on)||void 0===a||a.onReset(t))}}},a=(a={})=>{const i=s(a.form);if(i instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:i});if("FORM"===i.tagName)t()&&!1===i.noValidate&&n("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),setTimeout((()=>{"function"==typeof i.requestSubmit?i.requestSubmit():(e(a,i),i.dispatchEvent(a))}));else if(i.tagName===f.toUpperCase()){e(a,o.querySelector("form",i));const t=i;setTimeout((()=>{var e,o;"function"==typeof(null===(e=t._on)||void 0===e?void 0:e.onSubmit)&&(null===(o=t._on)||void 0===o||o.onSubmit(a))}))}}};export{l as a,a as p};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as t,D as i,y as s,j as e,m as a}from"./index-bac313b4.js";import{I as h}from"./controller-icon-87de6942.js";import{d as o,v as r}from"./debounce-90c878d0.js";const n=["default","visibility-toggle"],l=(e,o)=>{t(e,"_variant",(t=>"string"==typeof t&&n.includes(t)),new Set(n),o)};class d extends h{constructor(t,e,n){super(t,e,n),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&(this.component.state._currentLength=this.component._value.length,this.component.state._currentLengthDebounced=this.component._value.length)},this.updateCurrentLengthDebounced=o((t=>{a(this.component,"_currentLengthDebounced",t)}),500),this.component=t}validateAutoComplete(e){t(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),e)}validateHasCounter(t){r(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){l(this.component,t)}validateMaxLength(t){i(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){s(this.component,"_pattern",t)}validatePlaceholder(t){s(this.component,"_placeholder",t)}validateReadOnly(t){e(this.component,"_readOnly",t)}validateRequired(t){e(this.component,"_required",t)}validateValue(t){s(this.component,"_value",t,{hooks:{afterPatch:this.afterSyncCharCounter}}),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validateVariant(this.component._variant)}}export{d as I};
4
+ import{w as t,F as i,y as s,j as e,m as a}from"./index-4fb06bbb.js";import{I as h}from"./controller-icon-811adcf4.js";import{d as o,v as r}from"./debounce-112fa67e.js";const n=["default","visibility-toggle"],l=(e,o)=>{t(e,"_variant",(t=>"string"==typeof t&&n.includes(t)),new Set(n),o)};class d extends h{constructor(t,e,n){super(t,e,n),this.afterSyncCharCounter=()=>{"string"==typeof this.component._value&&(this.component.state._currentLength=this.component._value.length,this.component.state._currentLengthDebounced=this.component._value.length)},this.updateCurrentLengthDebounced=o((t=>{a(this.component,"_currentLengthDebounced",t)}),500),this.component=t}validateAutoComplete(e){t(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),e)}validateHasCounter(t){r(this.component,t,{hooks:{afterPatch:this.afterSyncCharCounter}})}validateVariant(t){l(this.component,t)}validateMaxLength(t){i(this.component,"_maxLength",t,{hooks:{afterPatch:this.afterSyncCharCounter},min:0})}validatePattern(t){s(this.component,"_pattern",t)}validatePlaceholder(t){s(this.component,"_placeholder",t)}validateReadOnly(t){e(this.component,"_readOnly",t)}validateRequired(t){e(this.component,"_required",t)}validateValue(t){s(this.component,"_value",t,{hooks:{afterPatch:this.afterSyncCharCounter}}),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateValue(this.component._value),this.validateVariant(this.component._variant)}}export{d as I};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as s}from"./index-bac313b4.js";import{I as t}from"./controller-adcb064f.js";import{v as e}from"./spell-check-e6bd6453.js";import{v as i}from"./suggestions-68844c85.js";const o=["text","search","url","tel"];class r extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){e(this.component,t)}validateType(t){s(this.component,"_type",(t=>"string"==typeof t&&o.includes(t)),new Set([`String {${o.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
4
+ import{w as s}from"./index-4fb06bbb.js";import{I as t}from"./controller-8ace9659.js";import{v as e}from"./spell-check-5b365d45.js";import{v as i}from"./suggestions-7e70d4e3.js";const o=["text","search","url","tel"];class r extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateSuggestions(t){i(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,e,o){super(t,e,o),this.hasError=!1,this.component=t}validateSpellCheck(t){e(this.component,t)}validateType(t){s(this.component,"_type",(t=>"string"==typeof t&&o.includes(t)),new Set([`String {${o.join(", ")}`]),t)}componentWillLoad(){super.componentWillLoad(),this.validateSpellCheck(this.component._spellCheck),this.validateType(this.component._type)}}export{r as I,a};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{f as t,v as s,i as e,j as i,w as a,m as r}from"./index-bac313b4.js";import{I as o}from"./controller-a44f67e1.js";import{b as n,c as f}from"./label-c79c6289.js";const l=e=>{if("object"==typeof e&&null!==e){if("string"==typeof e.label&&e.label.length>0)return e.disabled=!0===e.disabled,e.label=`${e.label}`.trim(),!1===n(e.label,3)&&!1===f(e.label)&&t(`A differing Aria-Label (${e.label}) is not accessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(e.options)||void 0===e.options.find((t=>!1===l(t)));if("number"==typeof e.label)return!0}return!1},h=(t,o,a={})=>{s(t,"_options",(t=>e(t)&&"string"==typeof t.label&&t.label.length>0),o,void 0,a)},c=(t,e,o={})=>{s(t,"_options",l,e,void 0,o)},u=(t,e)=>{i(t,"_required",e)},p=["horizontal","vertical"],d=(t,e,o="")=>{e.forEach(((e,a)=>{const i=`${o}-${a}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?d(t,e.options,i):t.set(i,e))}))};class b extends o{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){u(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class y extends b{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.afterPatchOptions=(t,e,o,a)=>{"_value"===a&&this.setFormAssociatedValue(t)},this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;Array.isArray(o)&&o.length>0&&(this.keyOptionMap.clear(),d(this.keyOptionMap,o))},this.component=t}validateOrientation(t){a(this.component,"_orientation",(t=>"string"==typeof t&&p.includes(t)),new Set([`Orientation {${p.join(", ")}`]),t,{defaultValue:"vertical"})}validateOptions(t){h(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=Array.isArray(t)?t[0]:t,r(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(){super.componentWillLoad(),this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options),this.validateValue(this.component._value)}}export{b as I,y as a,h as b,d as f,c as v};
4
+ import{f as t,v as s,i as e,j as i,w as a,m as r}from"./index-4fb06bbb.js";import{I as o}from"./controller-4fa871d2.js";import{b as n,c as f}from"./label-51d66c9d.js";const l=e=>{if("object"==typeof e&&null!==e){if("string"==typeof e.label&&e.label.length>0)return e.disabled=!0===e.disabled,e.label=`${e.label}`.trim(),!1===n(e.label,3)&&!1===f(e.label)&&t(`A differing Aria-Label (${e.label}) is not accessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(e.options)||void 0===e.options.find((t=>!1===l(t)));if("number"==typeof e.label)return!0}return!1},h=(t,o,i={})=>{s(t,"_options",(t=>e(t)&&"string"==typeof t.label&&t.label.length>0),o,void 0,i)},c=(t,e,o={})=>{s(t,"_options",l,e,void 0,o)},u=(t,e)=>{i(t,"_required",e)},d=["horizontal","vertical"],p=(t,e,o="")=>{e.forEach(((e,i)=>{const a=`${o}-${i}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?p(t,e.options,a):t.set(a,e))}))};class b extends o{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){u(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class y extends b{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.afterPatchOptions=(t,e,o,i)=>{"_value"===i&&this.setFormAssociatedValue(t)},this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;Array.isArray(o)&&o.length>0&&(this.keyOptionMap.clear(),p(this.keyOptionMap,o))},this.component=t}validateOrientation(t){a(this.component,"_orientation",(t=>"string"==typeof t&&d.includes(t)),new Set([`Orientation {${d.join(", ")}`]),t,{defaultValue:"vertical"})}validateOptions(t){h(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=Array.isArray(t)?t[0]:t,r(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(){super.componentWillLoad(),this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options),this.validateValue(this.component._value)}}export{b as I,y as a,h as b,p as f,c as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import"./index-bac313b4.js";import{I as s}from"./controller-a44f67e1.js";import{v as o}from"./icons-be30e67a.js";class t extends s{constructor(o,s,t){super(o,s,t),this.component=o}validateIcons(s){o(this.component,s)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{t as I};
4
+ import"./index-4fb06bbb.js";import{I as s}from"./controller-4fa871d2.js";import{v as o}from"./icons-d29928c3.js";class t extends s{constructor(o,s,t){super(o,s,t),this.component=o}validateIcons(s){o(this.component,s)}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons)}}export{t as I};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as s}from"./index-4fb06bbb.js";const e=(e,o)=>{s(e,"_customClass",o,{defaultValue:void 0})};export{e as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{j as n}from"./index-bac313b4.js";const e=(t,r,e)=>{n(t,"_hasCounter",r,e)};var r="object"==typeof global&&global&&global.Object===Object&&global;const t=r;var u="object"==typeof self&&self&&self.Object===Object&&self,i=t||u||Function("return this")();const f=i;var o=f.Symbol;const a=o;var c=Object.prototype,v=c.hasOwnProperty,d=c.toString,l=a?a.toStringTag:void 0;function s(t){var n=v.call(t,l),r=t[l];try{t[l]=void 0;var e=!0}catch(t){}var o=d.call(t);return e&&(n?t[l]=r:delete t[l]),o}var b=Object.prototype,j=b.toString;function p(t){return j.call(t)}var y="[object Null]",m="[object Undefined]",h=a?a.toStringTag:void 0;function T(t){return null==t?void 0===t?m:y:h&&h in Object(t)?s(t):p(t)}function g(t){return null!=t&&"object"==typeof t}var x="[object Symbol]";function O(t){return"symbol"==typeof t||g(t)&&T(t)==x}var w=/\s/;function $(t){for(var n=t.length;n--&&w.test(t.charAt(n)););return n}var E=/^\s+/;function M(t){return t?t.slice(0,$(t)+1).replace(E,""):t}function C(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var F=NaN,I=/^[-+]0x[0-9a-f]+$/i,N=/^0b[01]+$/i,S=/^0o[0-7]+$/i,U=parseInt;function W(t){if("number"==typeof t)return t;if(O(t))return F;if(C(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=C(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=M(t);var r=N.test(t);return r||S.test(t)?U(t.slice(2),r?2:8):I.test(t)?F:+t}var _=function(){return f.Date.now()};const k=_;var q="Expected a function",z=Math.max,A=Math.min;function B(t,n,r){var e,o,i,a,u,c,f=0,l=!1,v=!1,s=!0;if("function"!=typeof t)throw new TypeError(q);function b(n){var r=e,i=o;return e=o=void 0,f=n,a=t.apply(i,r)}function p(t){var r=t-c;return void 0===c||r>=n||r<0||v&&t-f>=i}function d(){var t=k();if(p(t))return y(t);u=setTimeout(d,function(t){var r=n-(t-c);return v?A(r,i-(t-f)):r}(t))}function y(t){return u=void 0,s&&e?b(t):(e=o=void 0,a)}function j(){var t=k(),r=p(t);if(e=arguments,o=this,c=t,r){if(void 0===u)return function(t){return f=t,u=setTimeout(d,n),l?b(t):a}(c);if(v)return clearTimeout(u),u=setTimeout(d,n),b(c)}return void 0===u&&(u=setTimeout(d,n)),a}return n=W(n)||0,C(r)&&(l=!!r.leading,i=(v="maxWait"in r)?z(W(r.maxWait)||0,n):i,s="trailing"in r?!!r.trailing:s),j.cancel=function(){void 0!==u&&clearTimeout(u),f=0,e=c=o=u=void 0},j.flush=function(){return void 0===u?a:y(k())},j}export{B as d,e as v};
4
+ import{j as n}from"./index-4fb06bbb.js";const e=(t,r,e)=>{n(t,"_hasCounter",r,e)};var r="object"==typeof global&&global&&global.Object===Object&&global;const t=r;var u="object"==typeof self&&self&&self.Object===Object&&self,i=t||u||Function("return this")();const f=i;var o=f.Symbol;const a=o;var c=Object.prototype,v=c.hasOwnProperty,d=c.toString,l=a?a.toStringTag:void 0;function s(t){var n=v.call(t,l),r=t[l];try{t[l]=void 0;var e=!0}catch(t){}var o=d.call(t);return e&&(n?t[l]=r:delete t[l]),o}var b=Object.prototype,j=b.toString;function p(t){return j.call(t)}var y="[object Null]",m="[object Undefined]",h=a?a.toStringTag:void 0;function T(t){return null==t?void 0===t?m:y:h&&h in Object(t)?s(t):p(t)}function g(t){return null!=t&&"object"==typeof t}var x="[object Symbol]";function O(t){return"symbol"==typeof t||g(t)&&T(t)==x}var w=/\s/;function $(t){for(var n=t.length;n--&&w.test(t.charAt(n)););return n}var E=/^\s+/;function M(t){return t?t.slice(0,$(t)+1).replace(E,""):t}function C(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}var F=NaN,I=/^[-+]0x[0-9a-f]+$/i,N=/^0b[01]+$/i,S=/^0o[0-7]+$/i,U=parseInt;function W(t){if("number"==typeof t)return t;if(O(t))return F;if(C(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=C(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=M(t);var r=N.test(t);return r||S.test(t)?U(t.slice(2),r?2:8):I.test(t)?F:+t}var _=function(){return f.Date.now()};const k=_;var q="Expected a function",z=Math.max,A=Math.min;function B(t,n,r){var e,o,i,a,u,c,f=0,l=!1,v=!1,s=!0;if("function"!=typeof t)throw new TypeError(q);function b(n){var r=e,i=o;return e=o=void 0,f=n,a=t.apply(i,r)}function p(t){var r=t-c;return void 0===c||r>=n||r<0||v&&t-f>=i}function d(){var t=k();if(p(t))return y(t);u=setTimeout(d,function(t){var r=n-(t-c);return v?A(r,i-(t-f)):r}(t))}function y(t){return u=void 0,s&&e?b(t):(e=o=void 0,a)}function j(){var t=k(),r=p(t);if(e=arguments,o=this,c=t,r){if(void 0===u)return function(t){return f=t,u=setTimeout(d,n),l?b(t):a}(c);if(v)return clearTimeout(u),u=setTimeout(d,n),b(c)}return void 0===u&&(u=setTimeout(d,n)),a}return n=W(n)||0,C(r)&&(l=!!r.leading,i=(v="maxWait"in r)?z(W(r.maxWait)||0,n):i,s="trailing"in r?!!r.trailing:s),j.cancel=function(){void 0!==u&&clearTimeout(u),f=0,e=c=o=u=void 0},j.flush=function(){return void 0===u?a:y(k())},j}export{B as d,e as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{L as e,g as t,s as n,c as i,d as o,p as s,e as a}from"./index-bac313b4.js";import{E as r}from"./index-b44d567a.js";const c=()=>{const e=t().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(n(t.includes("dev-mode=true")),i(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),e.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${r.kolibriVersion}\n\t`,{forceLog:!0})},b=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),e.debug("\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"))};let f=()=>Math.floor(16777215*Math.random()).toString(16);"test"===s&&(f=()=>"nonce");export{l as i,f as n,b as r};
4
+ import{L as e,g as t,s as n,c as i,d as o,p as s,e as a}from"./index-4fb06bbb.js";import{E as r}from"./index-3c6a28da.js";const c=()=>{const e=t().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(n(t.includes("dev-mode=true")),i(t.includes("experimental-mode=true")),o(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=a().KoliBri;return void 0===e&&(e={},Object.defineProperty(a(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),e.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${r.kolibriVersion}\n\t`,{forceLog:!0})},b=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),e.debug("\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"))};let f=()=>Math.floor(16777215*Math.random()).toString(16);"test"===s&&(f=()=>"nonce");export{l as i,f as n,b as r};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{R as t,g as e,L as o,E as s,T as l,U as a,N as i,W as n,X as r,Y as c,l as f,Z as d,e as L}from"./index-bac313b4.js";import{i as p,r as m}from"./dev.utils-c4154967.js";import"./index-b44d567a.js";const u=()=>{let t=L().KoliBri;return void 0===t&&(t={},Object.defineProperty(L(),"KoliBri",{value:t,writable:!1})),t};function h(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){o.debug(`KoliBri property ${t} is already bind.`)}}const v=(t,e)=>o.debug(`${t} ${e?"":"not "}activated`),g=()=>{if(p(),t()){m(),h("a11yColorContrast",a),h("querySelector",i),h("querySelectorAll",n),h("querySelectorColors",r),h("utils",(function(){return c})),h("parseJson",f),h("stringifyJson",d);const o=e().body,p=e().createElement("svg");if(p.setAttribute("aria-label","KoliBri-DevTools"),p.setAttribute("xmlns","http://www.w3.org/2000/svg"),p.setAttribute("role","toolbar"),p.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),p.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().body.appendChild(p),v("Development mode",t()),v("Experimental mode",s()),v("Color contrast analysis",l()),l()){const t=setTimeout((()=>{clearTimeout(t),setInterval((()=>{c.queryHtmlElementColors(e().createElement("div"),a(o),!1,!1)}),1e4)}),2500)}}};export{g as initialize};
4
+ import{R as t,g as e,L as o,E as s,T as l,U as a,N as i,W as n,X as r,Y as c,l as f,Z as d,e as L}from"./index-4fb06bbb.js";import{i as p,r as m}from"./dev.utils-7b67c292.js";import"./index-3c6a28da.js";const u=()=>{let t=L().KoliBri;return void 0===t&&(t={},Object.defineProperty(L(),"KoliBri",{value:t,writable:!1})),t};function b(t,e){try{Object.defineProperty(u(),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`),v=()=>{if(p(),t()){m(),b("a11yColorContrast",a),b("querySelector",i),b("querySelectorAll",n),b("querySelectorColors",r),b("utils",(function(){return c})),b("parseJson",f),b("stringifyJson",d);const o=e().body,p=e().createElement("svg");if(p.setAttribute("aria-label","KoliBri-DevTools"),p.setAttribute("xmlns","http://www.w3.org/2000/svg"),p.setAttribute("role","toolbar"),p.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),p.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().body.appendChild(p),h("Development mode",t()),h("Experimental mode",s()),h("Color contrast analysis",l()),l()){const t=setTimeout((()=>{clearTimeout(t),setInterval((()=>{c.queryHtmlElementColors(e().createElement("div"),a(o),!1,!1)}),1e4)}),2500)}}};export{v as initialize};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{j as s,k as a}from"./index-4fb06bbb.js";const o=(o,b)=>{s(o,"_disabled",b,{hooks:{afterPatch:s=>{!0===s&&a()}}})};export{o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{j as s}from"./index-4fb06bbb.js";const o=(o,b)=>{s(o,"_hasCloser",b)};export{o as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{j as b}from"./index-4fb06bbb.js";const e=(e,o,s={})=>{b(e,"_hideLabel",o,s)};export{e as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as b}from"./index-4fb06bbb.js";const o=(o,r,s={})=>{b(o,"_href",r,s)};export{o as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{g as t,i as r}from"./i18n-b14e6088.js";import{p as s}from"./index-bac313b4.js";let e=(e,s)=>{var a;return(null!==(a=t())&&void 0!==a?a:r("de")).translate(e,s)};"test"===s&&(e=t=>t);export{e as t};
4
+ import{g as t,i as r}from"./i18n-b14e6088.js";import{p as s}from"./index-4fb06bbb.js";let e=(e,s)=>{var a;return(null!==(a=t())&&void 0!==a?a:r("de")).translate(e,s)};"test"===s&&(e=t=>t);export{e as t};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{o,l as i,w as t,z as n,i as e,G as c}from"./index-bac313b4.js";const l=(t,o,l)=>{e(l)?t[o]=l:n(l,1)&&(t[o]={icon:l})},s=t=>{let o={};if(n(t,1))o={left:{icon:t}};else if(e(t)){const e=t;l(o,"top",e.top),l(o,"right",e.right),l(o,"bottom",e.bottom),l(o,"left",e.left)}return o},d=t=>{var o,e,n;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(n=t.nextState)||void 0===n||n.set("_icons",s(o))}},f=t=>e(t)&&(void 0===t.style||c(t.style))&&(void 0===t.label||n(t.label))&&n(t.icon,1),a=(l,s,a={})=>{o(s,(()=>{var o;try{s=i(s)}catch(o){}t(l,"_icons",(t=>{const o=e(t)&&0===Object.keys(t).length;return null===t||o||n(t,1)||e(t)&&(n(t.left,1)||f(t.left)||n(t.right,1)||f(t.right)||n(t.top,1)||f(t.top)||n(t.bottom,1)||f(t.bottom))}),new Set(["KoliBriIcon"]),s,Object.assign(Object.assign({},a),{defaultValue:{},hooks:{afterPatch:null===(o=a.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,n)=>{var l,i;"function"==typeof(null===(l=a.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(i=a.hooks)||void 0===i||i.beforePatch(t,o,e,n)),d(e)}}}))}))};export{a as v};
4
+ import{o,l as i,w as t,z as n,i as e,H as c}from"./index-4fb06bbb.js";const l=(t,o,l)=>{e(l)?t[o]=l:n(l,1)&&(t[o]={icon:l})},s=t=>{let o={};if(n(t,1))o={left:{icon:t}};else if(e(t)){const e=t;l(o,"top",e.top),l(o,"right",e.right),l(o,"bottom",e.bottom),l(o,"left",e.left)}return o},f=t=>{var o,e,n;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(n=t.nextState)||void 0===n||n.set("_icons",s(o))}},d=t=>e(t)&&(void 0===t.style||c(t.style))&&(void 0===t.label||n(t.label))&&n(t.icon,1),a=(l,s,a={})=>{o(s,(()=>{var o;try{s=i(s)}catch(o){}t(l,"_icons",(t=>{const o=e(t)&&0===Object.keys(t).length;return null===t||o||n(t,1)||e(t)&&(n(t.left,1)||d(t.left)||n(t.right,1)||d(t.right)||n(t.top,1)||d(t.top)||n(t.bottom,1)||d(t.bottom))}),new Set(["KoliBriIcon"]),s,Object.assign(Object.assign({},a),{defaultValue:{},hooks:{afterPatch:null===(o=a.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,n)=>{var l,i;"function"==typeof(null===(l=a.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(i=a.hooks)||void 0===i||i.beforePatch(t,o,e,n)),f(e)}}}))}))};export{a as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{y as s}from"./index-4fb06bbb.js";const b=(b,o,r)=>{s(b,"_src",o,r)};export{b as v};
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- const e="kolibri",t={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},l={kolibriVersion:"2.2.13"};var n=Object.defineProperty,r=(e,t)=>{for(var s in t)n(e,s,{get:t[s],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},d=new Map,h=[],p="r",m="o",$="s",y="t",w="s-id",b="sty-id",g="c-id",S="{visibility:hidden}.hydrated{visibility:inherit}",k="slot-fb{display:contents}slot-fb[hidden]{display:none}",x="http://www.w3.org/1999/xlink",C="undefined"!=typeof window?window:{},j=C.document||{head:{}},O={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},R=t.shadowDom,T=(()=>{let e=!1;try{j.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),E=e=>Promise.resolve(e),D=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),L=e=>E().then(e),F={},M="http://www.w3.org/2000/svg",A="http://www.w3.org/1999/xhtml",P=e=>null!=e,N=e=>"object"===(e=typeof e)||"function"===e;function U(e){var t,n,s;return null!=(s=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}var W={};r(W,{err:()=>H,map:()=>z,ok:()=>I,unwrap:()=>B,unwrapErr:()=>Q});var I=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function z(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>I(e))):I(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var be,ge,Se,B=e=>{if(e.isOk)return e.value;throw e.value},Q=e=>{if(e.isErr)return e.value;throw e.value},V=(e,t="")=>()=>{},q=(e,t)=>()=>{},G=(e,t,...n)=>{let s=null,o=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?c(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!N(s))&&(s=String(s)),r&&i?a[a.length-1].k+=s:a.push(r?K(null,s):s),i=r)};if(c(n),t){t.key&&(o=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,J);const d=K(e,null);return d.C=t,a.length>0&&(d.j=a),d.O=o,d.R=l,d},K=(e,t)=>{const n={l:0,T:e,k:t,D:null,j:null,C:null,O:null,R:null};return n},X={},_=e=>e&&e.T===X,J={forEach:(e,t)=>e.map(Y).forEach(t),map:(e,t)=>e.map(Y).map(t).map(Z)},Y=e=>({vattrs:e.C,vchildren:e.j,vkey:e.O,vname:e.R,vtag:e.T,vtext:e.k}),Z=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),G(e.vtag,t,...e.vchildren||[])}const t=K(e.vtag,e.vtext);return t.C=e.vattrs,t.j=e.vchildren,t.O=e.vkey,t.R=e.vname,t},ee=(e,t,n,s)=>{const o=V("hydrateClient",t),l=e.shadowRoot,r=[],i=l?[]:null,a=s.L=K(t,null);O.F||le(j.body,O.F=new Map),e[w]=n,e.removeAttribute(w),te(a,r,[],i,e,e,n),r.map((e=>{const n=e.M+"."+e.A,s=O.F.get(n),o=e.D;s&&R&&""===s["s-en"]&&s.parentNode.insertBefore(o,s.nextSibling),l||(o["s-hn"]=t,s&&(o["s-ol"]=s,o["s-ol"]["s-nr"]=o)),O.F.delete(n)})),l&&i.map((e=>{e&&l.appendChild(e)})),o()},te=(e,t,n,s,o,l,r)=>{let i,a,c,d;if(1===l.nodeType){if(i=l.getAttribute(g),i&&(a=i.split("."),a[0]!==r&&"0"!==a[0]||(c={l:0,M:a[0],A:a[1],P:a[2],N:a[3],T:l.tagName.toLowerCase(),D:l,C:null,j:null,O:null,R:null,k:null},t.push(c),l.removeAttribute(g),e.j||(e.j=[]),e.j[c.N]=c,e=c,s&&"0"===c.P&&(s[c.N]=c.D))),l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.shadowRoot.childNodes[d],r);for(d=l.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.childNodes[d],r)}else if(8===l.nodeType)a=l.nodeValue.split("."),a[1]!==r&&"0"!==a[1]||(i=a[0],c={l:0,M:a[1],A:a[2],P:a[3],N:a[4],D:l,C:null,j:null,O:null,R:null,T:null,k:null},i===y?(c.D=l.nextSibling,c.D&&3===c.D.nodeType&&(c.k=c.D.textContent,t.push(c),l.remove(),e.j||(e.j=[]),e.j[c.N]=c,s&&"0"===c.P&&(s[c.N]=c.D))):c.M===r&&(i===$?(c.T="slot",a[5]?l["s-sn"]=c.R=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.D=j.createElement(c.T),c.R&&c.D.setAttribute("name",c.R),l.parentNode.insertBefore(c.D,l),l.remove(),"0"===c.P&&(s[c.N]=c.D)),n.push(c),e.j||(e.j=[]),e.j[c.N]=c):i===p&&(s?l.remove():(o["s-cr"]=l,l["s-cn"]=!0))));else if(e&&"style"===e.T){const t=K(null,l.textContent);t.D=l,t.N="0",e.j=[t]}},le=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)le(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)le(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===m&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},ne=e=>h.map((t=>t(e))).find((e=>!!e)),re=e=>h.push(e),se=(e,t)=>null==e||N(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,ie=e=>i(e).$hostElement$,oe=(e,t,n)=>{const s=O.ce(t,n);return e.dispatchEvent(s),s},ae=new WeakMap,fe=(e,t,n)=>{let s=d.get(e);D&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,d.set(e,s)},ce=(e,t,n)=>{var s;const o=ve(t,n),l=d.get(o);if(e=11===e.nodeType?e:j,l)if("string"==typeof l){e=e.head||e;let n,r=ae.get(e);if(r||ae.set(e,r=new Set),!r.has(o)){if(e.host&&(n=e.querySelector(`[${b}="${o}"]`)))n.innerHTML=l;else{n=j.createElement("style"),n.innerHTML=l;const o=null!=(s=O.U)?s:U(j);null!=o&&n.setAttribute("nonce",o);(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(n,e.querySelector("link"))}4&t.l&&(n.innerHTML+=k),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o},ue=e=>{const t=e.i,n=e.$hostElement$,s=t.l,o=V("attachStyles",t.m),l=ce(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.W);10&s&&2&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},ve=(e,t)=>"sc-"+(t&&32&e.l?e.m+"-"+t:e.m),de=(e,t,n,s,o,l)=>{if(n!==s){let r=f(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=pe(n),l=pe(s);t.remove(...o.filter((e=>e&&!l.includes(e)))),t.add(...l.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const a=N(s);if((r||a&&null!==s)&&!o)try{if(e.tagName.includes("-"))e[t]=s;else{const o=null==s?"":s;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let c=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,c=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(x,t):e.removeAttribute(t)):(!r||4&l||o)&&!a&&(s=!0===s?"":s,c?e.setAttributeNS(x,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):f(C,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith(me);t=t.replace($e,""),n&&O.rel(e,t,n,o),s&&O.ael(e,t,s,o)}}},he=/\s/,pe=e=>e?e.split(he):[],me="Capture",$e=new RegExp(me+"$"),ye=(e,t,n)=>{const s=11===t.D.nodeType&&t.D.host?t.D.host:t.D,o=e&&e.C||F,l=t.C||F;for(const e of we(Object.keys(o)))e in l||de(s,e,o[e],void 0,n,t.l);for(const e of we(Object.keys(l)))de(s,e,o[e],l[e],n,t.l)};function we(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var ke=!1,xe=!1,Ce=!1,je=!1,Oe=(e,n,s,o)=>{var l;const r=n.j[s];let i,a,c,d=0;if(ke||(Ce=!0,"slot"===r.T&&(be&&o.classList.add(be+"-s"),r.l|=r.j?2:1)),null!==r.k)i=r.D=j.createTextNode(r.k);else if(1&r.l)i=r.D=j.createTextNode("");else{je||(je="svg"===r.T),i=r.D=j.createElementNS(je?M:A,!ke&&t.slotRelocation&&2&r.l?"slot-fb":r.T),je&&"foreignObject"===r.T&&(je=!1),ye(null,r,je);if(!!i.getRootNode().querySelector("body")&&t.scoped&&P(be)&&i["s-si"]!==be&&i.classList.add(i["s-si"]=be),r.j)for(d=0;d<r.j.length;++d)a=Oe(e,r,d,i),a&&i.appendChild(a);"svg"===r.T?je=!1:"foreignObject"===i.tagName&&(je=!0)}return i["s-hn"]=Se,3&r.l&&(i["s-sr"]=!0,i["s-cr"]=ge,i["s-sn"]=r.R||"",i["s-rf"]=null==(l=r.C)?void 0:l.ref,c=e&&e.j&&e.j[s],c&&c.T===r.T&&e.D&&Re(e.D,!1)),i},Re=(e,n)=>{O.l|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Se&&s.push(t)}for(let e=s.length-1;e>=0;e--){const t=s[e];t["s-hn"]!==Se&&t["s-ol"]&&(He(Me(t),t,Fe(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,Ce=!0),n&&Re(t,n)}O.l&=-2},Te=(e,t,n,s,o,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===Se&&(i=i.shadowRoot);o<=l;++o)s[o]&&(r=Oe(null,n,o,e),r&&(s[o].D=r,He(i,r,Fe(t))))},Ee=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.D;Ie(t),e&&(xe=!0,e["s-ol"]?e["s-ol"].remove():Re(e,!0),e.remove())}}},De=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],p=t[u],f=s.length-1,m=s[0],v=s[f];for(;i<=u&&a<=f;)if(null==h)h=t[++i];else if(null==p)p=t[--u];else if(null==m)m=s[++a];else if(null==v)v=s[--f];else if(Le(h,m,o))Ae(h,m,o),h=t[++i],m=s[++a];else if(Le(p,v,o))Ae(p,v,o),p=t[--u],v=s[--f];else if(Le(h,v,o))"slot"!==h.T&&"slot"!==v.T||Re(h.D.parentNode,!1),Ae(h,v,o),He(e,h.D,p.D.nextSibling),h=t[++i],v=s[--f];else if(Le(p,m,o))"slot"!==h.T&&"slot"!==v.T||Re(p.D.parentNode,!1),Ae(p,m,o),He(e,p.D,h.D),p=t[--u],m=s[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].O&&t[d].O===m.O){c=d;break}c>=0?(r=t[c],r.T!==m.T?l=Oe(t&&t[a],n,c,e):(Ae(r,m,o),t[c]=void 0,l=r.D),m=s[++a]):(l=Oe(t&&t[a],n,a,e),m=s[++a]),l&&He(Me(h.D),l,Fe(h.D))}i>u?Te(e,null==s[f+1]?null:s[f+1].D,n,s,a,f):a>f&&Ee(t,i,u)},Le=(e,t,n=!1)=>e.T===t.T&&("slot"===e.T?(!("A"in e)||!n||8===e.D.nodeType)&&e.R===t.R:!!n||e.O===t.O),Fe=e=>e&&e["s-ol"]||e,Me=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Ae=(e,n,s=!1)=>{const o=n.D=e.D,l=e.j,r=n.j,i=n.T,a=n.k;let c;null===a?(je="svg"===i||"foreignObject"!==i&&je,("slot"!==i||ke)&&ye(e,n,je),null!==l&&null!==r?De(o,l,n,r,s):null!==r?(null!==e.k&&(o.textContent=""),Te(o,null,n,r,0,r.length-1)):!s&&t.updatable&&null!==l&&Ee(l,0,l.length-1),je&&"svg"===i&&(je=!1)):(c=o["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(o.data=a)},Pe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const s of t)if(s!==e)if(s["s-hn"]!==e["s-hn"]||""!==n){if(1===s.nodeType&&(n===s.getAttribute("slot")||n===s["s-sn"])||3===s.nodeType&&n===s["s-sn"]){e.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){e.hidden=!0;break}}Pe(e)}},Ne=[],Ue=e=>{let n,s,o;for(const l of e.childNodes){if(l["s-sr"]&&(n=l["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=l["s-sn"];for(o=s.length-1;o>=0;o--)if(n=s[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==l["s-hn"]&&!t.experimentalSlotFixes)if(We(n,e)){let t=Ne.find((e=>e.I===n));xe=!0,n["s-sn"]=n["s-sn"]||e,t?(t.I["s-sh"]=l["s-hn"],t.H=l):(n["s-sh"]=l["s-hn"],Ne.push({H:l,I:n})),n["s-sr"]&&Ne.map((e=>{We(e.I,n["s-sn"])&&(t=Ne.find((e=>e.I===n)),t&&!e.H&&(e.H=t.H))}))}else Ne.some((e=>e.I===n))||Ne.push({I:n})}1===l.nodeType&&Ue(l)}},We=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Ie=e=>{e.C&&e.C.ref&&e.C.ref(null),e.j&&e.j.map(Ie)},He=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ze=(e,t,n=!1)=>{var s,o,l,r;const i=e.$hostElement$,a=e.i,c=e.L||K(null,null),d=_(t)?t:G(null,null,t);if(Se=i.tagName,a.B&&(d.C=d.C||{},a.B.map((([e,t])=>d.C[t]=i[e]))),n&&d.C)for(const e of Object.keys(d.C))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.C[e]=i[e]);if(d.T=null,d.l|=4,e.L=d,d.D=c.D=i.shadowRoot||i,be=i["s-sc"],ke=!!(1&a.l),ge=i["s-cr"],xe=!1,Ae(c,d,n),O.l|=1,Ce){Ue(d.D);for(const e of Ne){const t=e.I;if(!t["s-ol"]){const e=j.createTextNode("");e["s-nr"]=t,He(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ne){const t=e.I,i=e.H;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(s=t["s-ol"])?void 0:s.previousSibling;for(;l;){let s=null!=(o=l["s-nr"])?o:null;if(s&&s["s-sn"]===t["s-sn"]&&e===s.parentNode){for(s=s.nextSibling;s===t||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){n=s;break}}l=l.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),He(e,t,n),1===t.nodeType&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}xe&&Pe(d.D),O.l&=-2,Ne.length=0,ge=void 0},Be=(e,t)=>{t&&!e.V&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.V=t)))},Qe=(e,t)=>{if(4&e.l)return void(e.l|=512);Be(e,e.q);return Ve(e,t)},Ve=(e,t)=>{const n=e.$hostElement$,s=V("scheduleUpdate",e.i.m),o=e.t;if(!o)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.l|=256,e.G&&(e.G.map((([e,t])=>Ye(o,e,t))),e.G=void 0),l=Ye(o,"componentWillLoad")),l=qe(l,(()=>Ye(o,"componentWillRender"))),s(),qe(l,(()=>Ke(e,o,t)))},qe=(e,t)=>Ge(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Ke=async(e,t,n)=>{var s;const o=e.$hostElement$,l=V("update",e.i.m),r=o["s-rc"];n&&ue(e);const i=V("render",e.i.m);Xe(e,t,o,n),r&&(r.map((e=>e())),o["s-rc"]=void 0),i(),l();{const t=null!=(s=o["s-p"])?s:[],n=()=>_e(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Xe=(e,t,n,s)=>{try{t=t.render&&t.render(),e.l|=2,ze(e,t,s)}catch(t){c(t,e.$hostElement$)}return null},_e=e=>{const t=e.i.m,n=e.$hostElement$,s=V("postUpdate",t),o=e.t,l=e.q;Ye(o,"componentDidRender"),64&e.l?s():(e.l|=64,Ze(n),Ye(o,"componentDidLoad"),s(),e.p(n),l||Je()),e.v(n),e.V&&(e.V(),e.V=void 0),512&e.l&&L((()=>Qe(e,!1))),e.l&=-517},Je=t=>{Ze(j.documentElement),L((()=>oe(C,"appload",{detail:{namespace:e}})))},Ye=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){c(e)}},Ze=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},et=(e,t)=>i(e).o.get(t),tt=(e,t,n,s)=>{const o=i(e);if(!o)throw new Error(`Couldn't find host element for "${s.m}" 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/ionic-team/stencil/issues/5457).`);const l=o.$hostElement$,r=o.o.get(t),a=o.l,d=o.t;n=se(n,s.K[t][0]);const u=Number.isNaN(r)&&Number.isNaN(n);if((!(8&a)||void 0===r)&&(n!==r&&!u)&&(o.o.set(t,n),d)){if(s.X&&128&a){const e=s.X[t];e&&e.map((e=>{try{d[e](n,r,t)}catch(e){c(e,l)}}))}2==(18&a)&&Qe(o,!1)}},lt=(e,t,n)=>{var s,o;const l=e.prototype;if(t.K||t.X||e.watchers){e.watchers&&!t.X&&(t.X=e.watchers);const r=Object.entries(null!=(s=t.K)?s:{});if(r.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,e,{get(){return et(this,e)},set(n){tt(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(l,e,{value(...t){var n;const s=i(this);return null==(n=null==s?void 0:s.u)?void 0:n.then((()=>{var n;return null==(n=s.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(e,s,o){O.jmp((()=>{var r;const a=n.get(e);if(this.hasOwnProperty(a))o=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==o)return;if(null==a){const n=i(this),l=null==n?void 0:n.l;if(l&&!(8&l)&&128&l&&o!==s){const l=n.t,i=null==(r=t.X)?void 0:r[e];null==i||i.forEach((t=>{null!=l[t]&&l[t].call(l,o,s,e)}))}return}}this[a]=(null!==o||"boolean"!=typeof this[a])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.X)?o:{}),...r.filter((([e,t])=>15&t[0])).map((([e,s])=>{var o;const l=s[1]||e;return n.set(l,e),512&s[0]&&(null==(o=t.B)||o.push([e,l])),l}))]))}}return e},nt=async(e,t,n,s)=>{let o;if(!(32&t.l)){t.l|=32;if(n.$){const s=v(n);if(s&&"then"in s){const e=q();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.m}#${t.W}" was not found`);o.isProxied||(n.X=o.watchers,lt(o,n,2),o.isProxied=!0);const l=V("createInstance",n.m);t.l|=8;try{new o(t)}catch(e){c(e)}t.l&=-9,t.l|=128,l(),rt(t.t)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(t.W=ne(e),t.W&&(s=o.style[t.W]));const l=ve(n,t.W);if(!d.has(l)){const e=V("registerStyles",n.m);fe(l,s,!!(1&n.l)),e()}}}const l=t.q,r=()=>Qe(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},rt=e=>{Ye(e,"connectedCallback")},st=e=>{if(!(1&O.l)){const t=i(e),n=t.i,s=V("connectedCallback",n.m);if(1&t.l)ut(e,t,n._),(null==t?void 0:t.t)?rt(t.t):(null==t?void 0:t.h)&&t.h.then((()=>rt(t.t)));else{let s;if(t.l|=1,s=e.getAttribute(w),s){if(1&n.l){const t=ce(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}ee(e,n.m,s,t)}s||12&n.l&&it(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Be(t,t.q=n);break}}n.K&&Object.entries(n.K).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),nt(e,t,n)}s()}},it=e=>{const t=e["s-cr"]=j.createComment("");t["s-cn"]=!0,He(e,t,e.firstChild)},ot=e=>{Ye(e,"disconnectedCallback")},at=async e=>{if(!(1&O.l)){const t=i(e);t.J&&(t.J.map((e=>e())),t.J=void 0),(null==t?void 0:t.t)?ot(t.t):(null==t?void 0:t.h)&&t.h.then((()=>ot(t.t)))}},ft=(e,t={})=>{var n;const s=V(),o=[],l=t.exclude||[],r=C.customElements,c=j.head,d=c.querySelector("meta[charset]"),u=j.createElement("style"),h=[];let p,f=!0;Object.assign(O,t),O.S=new URL(t.resourcesUrl||"./",j.baseURI).href,O.l|=2;let m=!1;if(e.map((e=>{e[1].map((n=>{var s;const c={l:n[0],m:n[1],K:n[2],_:n[3]};4&c.l&&(m=!0),c.K=n[2],c._=n[3],c.B=[],c.X=null!=(s=n[4])?s:{};const d=t.transformTagName?t.transformTagName(c.m):c.m,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,a(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${c.m}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const e=i(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ut(this,e,c._)),p&&(clearTimeout(p),p=null),f?h.push(this):O.jmp((()=>st(this)))}disconnectedCallback(){O.jmp((()=>at(this)))}componentOnReady(){return i(this).h}};c.$=e[0],l.includes(d)||r.get(d)||(o.push(d),r.define(d,lt(u,c,1)))}))})),o.length>0&&(m&&(u.textContent+=k),u.textContent+=o.sort()+S,u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=O.U)?n:U(j);null!=e&&u.setAttribute("nonce",e),c.insertBefore(u,d?d.nextSibling:c.firstChild)}f=!1,h.length?h.map((e=>e.connectedCallback())):O.jmp((()=>p=setTimeout(Je,30))),s()},ct=(e,t)=>t,ut=(e,t,n,s)=>{n&&n.map((([n,s,o])=>{const l=dt(e,n),r=vt(t,o),i=ht(n);O.ael(l,s,r,i),(t.J=t.J||[]).push((()=>O.rel(l,s,r,i)))}))},vt=(e,t)=>n=>{var s;try{256&e.l?null==(s=e.t)||s[t](n):(e.G=e.G||[]).push([t,n])}catch(e){c(e)}},dt=(e,t)=>8&t?C:e,ht=e=>T?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),pt=e=>O.U=e;export{l as E,ct as F,X as H,re as a,ft as b,ie as g,G as h,E as p,o as r,pt as s};
4
+ const e="kolibri",t={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!0,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!0,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!1,transformTagName:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},r={kolibriVersion:"2.2.14-rc.1"};var l=Object.defineProperty,n=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:!0})},s=new WeakMap,i=e=>s.get(e),o=(e,t)=>s.set(t.t=e,t),a=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};return n.u=new Promise((e=>n.v=e)),n.h=new Promise((e=>n.p=e)),e["s-p"]=[],e["s-rc"]=[],s.set(e,n)},f=(e,t)=>t in e,c=(e,t)=>(0,console.error)(e,t),u=new Map,v=(e,t,n)=>{const s=e.m.replace(/-/g,"_"),o=e.$;if(!o)return;const l=u.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(u.set(o,e),e[s])),c)
5
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},d=new Map,h=[],p="r",m="o",$="s",y="t",w="s-id",b="sty-id",g="c-id",S="{visibility:hidden}.hydrated{visibility:inherit}",k="slot-fb{display:contents}slot-fb[hidden]{display:none}",x="http://www.w3.org/1999/xlink",C="undefined"!=typeof window?window:{},j=C.document||{head:{}},O={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},R=t.shadowDom,T=(()=>{let e=!1;try{j.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),E=e=>Promise.resolve(e),D=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),L=e=>E().then(e),F={},M="http://www.w3.org/2000/svg",A="http://www.w3.org/1999/xhtml",P=e=>null!=e,N=e=>"object"===(e=typeof e)||"function"===e;function U(e){var t,n,s;return null!=(s=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}var W={};n(W,{err:()=>H,map:()=>z,ok:()=>I,unwrap:()=>B,unwrapErr:()=>Q});var I=e=>({isOk:!0,isErr:!1,value:e}),H=e=>({isOk:!1,isErr:!0,value:e});function z(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>I(e))):I(n)}if(e.isErr){const t=e.value;return H(t)}throw"should never get here"}var be,ge,Se,B=e=>{if(e.isOk)return e.value;throw e.value},Q=e=>{if(e.isErr)return e.value;throw e.value},V=(e,t="")=>()=>{},q=(e,t)=>()=>{},G=(e,t,...n)=>{let s=null,o=null,l=null,r=!1,i=!1;const a=[],c=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?c(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!N(s))&&(s=String(s)),r&&i?a[a.length-1].k+=s:a.push(r?K(null,s):s),i=r)};if(c(n),t){t.key&&(o=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,J);const d=K(e,null);return d.C=t,a.length>0&&(d.j=a),d.O=o,d.R=l,d},K=(e,t)=>{const n={l:0,T:e,k:t,D:null,j:null,C:null,O:null,R:null};return n},X={},_=e=>e&&e.T===X,J={forEach:(e,t)=>e.map(Y).forEach(t),map:(e,t)=>e.map(Y).map(t).map(Z)},Y=e=>({vattrs:e.C,vchildren:e.j,vkey:e.O,vname:e.R,vtag:e.T,vtext:e.k}),Z=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),G(e.vtag,t,...e.vchildren||[])}const t=K(e.vtag,e.vtext);return t.C=e.vattrs,t.j=e.vchildren,t.O=e.vkey,t.R=e.vname,t},ee=(e,t,n,s)=>{const o=V("hydrateClient",t),l=e.shadowRoot,r=[],i=l?[]:null,a=s.L=K(t,null);O.F||re(j.body,O.F=new Map),e[w]=n,e.removeAttribute(w),te(a,r,[],i,e,e,n),r.map((e=>{const n=e.M+"."+e.A,s=O.F.get(n),o=e.D;s&&R&&""===s["s-en"]&&s.parentNode.insertBefore(o,s.nextSibling),l||(o["s-hn"]=t,s&&(o["s-ol"]=s,o["s-ol"]["s-nr"]=o)),O.F.delete(n)})),l&&i.map((e=>{e&&l.appendChild(e)})),o()},te=(e,t,n,s,o,l,r)=>{let i,a,c,d;if(1===l.nodeType){if(i=l.getAttribute(g),i&&(a=i.split("."),a[0]!==r&&"0"!==a[0]||(c={l:0,M:a[0],A:a[1],P:a[2],N:a[3],T:l.tagName.toLowerCase(),D:l,C:null,j:null,O:null,R:null,k:null},t.push(c),l.removeAttribute(g),e.j||(e.j=[]),e.j[c.N]=c,e=c,s&&"0"===c.P&&(s[c.N]=c.D))),l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.shadowRoot.childNodes[d],r);for(d=l.childNodes.length-1;d>=0;d--)te(e,t,n,s,o,l.childNodes[d],r)}else if(8===l.nodeType)a=l.nodeValue.split("."),a[1]!==r&&"0"!==a[1]||(i=a[0],c={l:0,M:a[1],A:a[2],P:a[3],N:a[4],D:l,C:null,j:null,O:null,R:null,T:null,k:null},i===y?(c.D=l.nextSibling,c.D&&3===c.D.nodeType&&(c.k=c.D.textContent,t.push(c),l.remove(),e.j||(e.j=[]),e.j[c.N]=c,s&&"0"===c.P&&(s[c.N]=c.D))):c.M===r&&(i===$?(c.T="slot",a[5]?l["s-sn"]=c.R=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.D=j.createElement(c.T),c.R&&c.D.setAttribute("name",c.R),l.parentNode.insertBefore(c.D,l),l.remove(),"0"===c.P&&(s[c.N]=c.D)),n.push(c),e.j||(e.j=[]),e.j[c.N]=c):i===p&&(s?l.remove():(o["s-cr"]=l,l["s-cn"]=!0))));else if(e&&"style"===e.T){const t=K(null,l.textContent);t.D=l,t.N="0",e.j=[t]}},re=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)re(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)re(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===m&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},le=e=>h.map((t=>t(e))).find((e=>!!e)),ne=e=>h.push(e),se=(e,t)=>null==e||N(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,ie=e=>i(e).$hostElement$,oe=(e,t,n)=>{const s=O.ce(t,n);return e.dispatchEvent(s),s},ae=new WeakMap,fe=(e,t,n)=>{let s=d.get(e);D&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,d.set(e,s)},ce=(e,t,n)=>{var s;const o=ve(t,n),l=d.get(o);if(e=11===e.nodeType?e:j,l)if("string"==typeof l){e=e.head||e;let n,r=ae.get(e);if(r||ae.set(e,r=new Set),!r.has(o)){if(e.host&&(n=e.querySelector(`[${b}="${o}"]`)))n.innerHTML=l;else{n=j.createElement("style"),n.innerHTML=l;const o=null!=(s=O.U)?s:U(j);null!=o&&n.setAttribute("nonce",o);(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(n,e.querySelector("link"))}4&t.l&&(n.innerHTML+=k),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o},ue=e=>{const t=e.i,n=e.$hostElement$,s=t.l,o=V("attachStyles",t.m),l=ce(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.W);10&s&&2&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},ve=(e,t)=>"sc-"+(t&&32&e.l?e.m+"-"+t:e.m),de=(e,t,n,s,o,l)=>{if(n!==s){let r=f(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=pe(n),l=pe(s);t.remove(...o.filter((e=>e&&!l.includes(e)))),t.add(...l.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)s&&null!=s[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in s)n&&s[t]===n[t]||(t.includes("-")?e.style.setProperty(t,s[t]):e.style[t]=s[t])}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const a=N(s);if((r||a&&null!==s)&&!o)try{if(e.tagName.includes("-"))e[t]=s;else{const o=null==s?"":s;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let c=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,c=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(x,t):e.removeAttribute(t)):(!r||4&l||o)&&!a&&(s=!0===s?"":s,c?e.setAttributeNS(x,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):f(C,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith(me);t=t.replace($e,""),n&&O.rel(e,t,n,o),s&&O.ael(e,t,s,o)}}},he=/\s/,pe=e=>e?e.split(he):[],me="Capture",$e=new RegExp(me+"$"),ye=(e,t,n)=>{const s=11===t.D.nodeType&&t.D.host?t.D.host:t.D,o=e&&e.C||F,l=t.C||F;for(const e of we(Object.keys(o)))e in l||de(s,e,o[e],void 0,n,t.l);for(const e of we(Object.keys(l)))de(s,e,o[e],l[e],n,t.l)};function we(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var ke=!1,xe=!1,Ce=!1,je=!1,Oe=(e,n,s,o)=>{var l;const r=n.j[s];let i,a,c,d=0;if(ke||(Ce=!0,"slot"===r.T&&(be&&o.classList.add(be+"-s"),r.l|=r.j?2:1)),null!==r.k)i=r.D=j.createTextNode(r.k);else if(1&r.l)i=r.D=j.createTextNode("");else{je||(je="svg"===r.T),i=r.D=j.createElementNS(je?M:A,!ke&&t.slotRelocation&&2&r.l?"slot-fb":r.T),je&&"foreignObject"===r.T&&(je=!1),ye(null,r,je);if(!!i.getRootNode().querySelector("body")&&t.scoped&&P(be)&&i["s-si"]!==be&&i.classList.add(i["s-si"]=be),r.j)for(d=0;d<r.j.length;++d)a=Oe(e,r,d,i),a&&i.appendChild(a);"svg"===r.T?je=!1:"foreignObject"===i.tagName&&(je=!0)}return i["s-hn"]=Se,3&r.l&&(i["s-sr"]=!0,i["s-cr"]=ge,i["s-sn"]=r.R||"",i["s-rf"]=null==(l=r.C)?void 0:l.ref,c=e&&e.j&&e.j[s],c&&c.T===r.T&&e.D&&Re(e.D,!1)),i},Re=(e,n)=>{O.l|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===Se&&s.push(t)}for(let e=s.length-1;e>=0;e--){const t=s[e];t["s-hn"]!==Se&&t["s-ol"]&&(He(Me(t),t,Fe(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,Ce=!0),n&&Re(t,n)}O.l&=-2},Te=(e,t,n,s,o,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===Se&&(i=i.shadowRoot);o<=l;++o)s[o]&&(r=Oe(null,n,o,e),r&&(s[o].D=r,He(i,r,Fe(t))))},Ee=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.D;Ie(t),e&&(xe=!0,e["s-ol"]?e["s-ol"].remove():Re(e,!0),e.remove())}}},De=(e,t,n,s,o=!1)=>{let l,r,i=0,a=0,c=0,d=0,u=t.length-1,h=t[0],p=t[u],f=s.length-1,m=s[0],v=s[f];for(;i<=u&&a<=f;)if(null==h)h=t[++i];else if(null==p)p=t[--u];else if(null==m)m=s[++a];else if(null==v)v=s[--f];else if(Le(h,m,o))Ae(h,m,o),h=t[++i],m=s[++a];else if(Le(p,v,o))Ae(p,v,o),p=t[--u],v=s[--f];else if(Le(h,v,o))"slot"!==h.T&&"slot"!==v.T||Re(h.D.parentNode,!1),Ae(h,v,o),He(e,h.D,p.D.nextSibling),h=t[++i],v=s[--f];else if(Le(p,m,o))"slot"!==h.T&&"slot"!==v.T||Re(p.D.parentNode,!1),Ae(p,m,o),He(e,p.D,h.D),p=t[--u],m=s[++a];else{for(c=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].O&&t[d].O===m.O){c=d;break}c>=0?(r=t[c],r.T!==m.T?l=Oe(t&&t[a],n,c,e):(Ae(r,m,o),t[c]=void 0,l=r.D),m=s[++a]):(l=Oe(t&&t[a],n,a,e),m=s[++a]),l&&He(Me(h.D),l,Fe(h.D))}i>u?Te(e,null==s[f+1]?null:s[f+1].D,n,s,a,f):a>f&&Ee(t,i,u)},Le=(e,t,n=!1)=>e.T===t.T&&("slot"===e.T?(!("A"in e)||!n||8===e.D.nodeType)&&e.R===t.R:!!n||e.O===t.O),Fe=e=>e&&e["s-ol"]||e,Me=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Ae=(e,n,s=!1)=>{const o=n.D=e.D,l=e.j,r=n.j,i=n.T,a=n.k;let c;null===a?(je="svg"===i||"foreignObject"!==i&&je,("slot"!==i||ke)&&ye(e,n,je),null!==l&&null!==r?De(o,l,n,r,s):null!==r?(null!==e.k&&(o.textContent=""),Te(o,null,n,r,0,r.length-1)):!s&&t.updatable&&null!==l&&Ee(l,0,l.length-1),je&&"svg"===i&&(je=!1)):(c=o["s-cr"])?c.parentNode.textContent=a:e.k!==a&&(o.data=a)},Pe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const s of t)if(s!==e)if(s["s-hn"]!==e["s-hn"]||""!==n){if(1===s.nodeType&&(n===s.getAttribute("slot")||n===s["s-sn"])||3===s.nodeType&&n===s["s-sn"]){e.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){e.hidden=!0;break}}Pe(e)}},Ne=[],Ue=e=>{let n,s,o;for(const l of e.childNodes){if(l["s-sr"]&&(n=l["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=l["s-sn"];for(o=s.length-1;o>=0;o--)if(n=s[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==l["s-hn"]&&!t.experimentalSlotFixes)if(We(n,e)){let t=Ne.find((e=>e.I===n));xe=!0,n["s-sn"]=n["s-sn"]||e,t?(t.I["s-sh"]=l["s-hn"],t.H=l):(n["s-sh"]=l["s-hn"],Ne.push({H:l,I:n})),n["s-sr"]&&Ne.map((e=>{We(e.I,n["s-sn"])&&(t=Ne.find((e=>e.I===n)),t&&!e.H&&(e.H=t.H))}))}else Ne.some((e=>e.I===n))||Ne.push({I:n})}1===l.nodeType&&Ue(l)}},We=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Ie=e=>{e.C&&e.C.ref&&e.C.ref(null),e.j&&e.j.map(Ie)},He=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ze=(e,t,n=!1)=>{var s,o,l,r;const i=e.$hostElement$,a=e.i,c=e.L||K(null,null),d=_(t)?t:G(null,null,t);if(Se=i.tagName,a.B&&(d.C=d.C||{},a.B.map((([e,t])=>d.C[t]=i[e]))),n&&d.C)for(const e of Object.keys(d.C))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.C[e]=i[e]);if(d.T=null,d.l|=4,e.L=d,d.D=c.D=i.shadowRoot||i,be=i["s-sc"],ke=!!(1&a.l),ge=i["s-cr"],xe=!1,Ae(c,d,n),O.l|=1,Ce){Ue(d.D);for(const e of Ne){const t=e.I;if(!t["s-ol"]){const e=j.createTextNode("");e["s-nr"]=t,He(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ne){const t=e.I,i=e.H;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(s=t["s-ol"])?void 0:s.previousSibling;for(;l;){let s=null!=(o=l["s-nr"])?o:null;if(s&&s["s-sn"]===t["s-sn"]&&e===s.parentNode){for(s=s.nextSibling;s===t||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){n=s;break}}l=l.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),He(e,t,n),1===t.nodeType&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}xe&&Pe(d.D),O.l&=-2,Ne.length=0,ge=void 0},Be=(e,t)=>{t&&!e.V&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.V=t)))},Qe=(e,t)=>{if(4&e.l)return void(e.l|=512);Be(e,e.q);return Ve(e,t)},Ve=(e,t)=>{const n=e.$hostElement$,s=V("scheduleUpdate",e.i.m),o=e.t;if(!o)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.l|=256,e.G&&(e.G.map((([e,t])=>Ye(o,e,t))),e.G=void 0),l=Ye(o,"componentWillLoad")),l=qe(l,(()=>Ye(o,"componentWillRender"))),s(),qe(l,(()=>Ke(e,o,t)))},qe=(e,t)=>Ge(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Ke=async(e,t,n)=>{var s;const o=e.$hostElement$,l=V("update",e.i.m),r=o["s-rc"];n&&ue(e);const i=V("render",e.i.m);Xe(e,t,o,n),r&&(r.map((e=>e())),o["s-rc"]=void 0),i(),l();{const t=null!=(s=o["s-p"])?s:[],n=()=>_e(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Xe=(e,t,n,s)=>{try{t=t.render&&t.render(),e.l|=2,ze(e,t,s)}catch(t){c(t,e.$hostElement$)}return null},_e=e=>{const t=e.i.m,n=e.$hostElement$,s=V("postUpdate",t),o=e.t,l=e.q;Ye(o,"componentDidRender"),64&e.l?s():(e.l|=64,Ze(n),Ye(o,"componentDidLoad"),s(),e.p(n),l||Je()),e.v(n),e.V&&(e.V(),e.V=void 0),512&e.l&&L((()=>Qe(e,!1))),e.l&=-517},Je=t=>{Ze(j.documentElement),L((()=>oe(C,"appload",{detail:{namespace:e}})))},Ye=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){c(e)}},Ze=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},et=(e,t)=>i(e).o.get(t),tt=(e,t,n,s)=>{const o=i(e);if(!o)throw new Error(`Couldn't find host element for "${s.m}" 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/ionic-team/stencil/issues/5457).`);const l=o.$hostElement$,r=o.o.get(t),a=o.l,d=o.t;n=se(n,s.K[t][0]);const u=Number.isNaN(r)&&Number.isNaN(n);if((!(8&a)||void 0===r)&&(n!==r&&!u)&&(o.o.set(t,n),d)){if(s.X&&128&a){const e=s.X[t];e&&e.map((e=>{try{d[e](n,r,t)}catch(e){c(e,l)}}))}2==(18&a)&&Qe(o,!1)}},rt=(e,t,n)=>{var s,o;const l=e.prototype;if(t.K||t.X||e.watchers){e.watchers&&!t.X&&(t.X=e.watchers);const r=Object.entries(null!=(s=t.K)?s:{});if(r.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(l,e,{get(){return et(this,e)},set(n){tt(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(l,e,{value(...t){var n;const s=i(this);return null==(n=null==s?void 0:s.u)?void 0:n.then((()=>{var n;return null==(n=s.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(e,s,o){O.jmp((()=>{var r;const a=n.get(e);if(this.hasOwnProperty(a))o=this[a],delete this[a];else{if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==o)return;if(null==a){const n=i(this),l=null==n?void 0:n.l;if(l&&!(8&l)&&128&l&&o!==s){const l=n.t,i=null==(r=t.X)?void 0:r[e];null==i||i.forEach((t=>{null!=l[t]&&l[t].call(l,o,s,e)}))}return}}this[a]=(null!==o||"boolean"!=typeof this[a])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.X)?o:{}),...r.filter((([e,t])=>15&t[0])).map((([e,s])=>{var o;const l=s[1]||e;return n.set(l,e),512&s[0]&&(null==(o=t.B)||o.push([e,l])),l}))]))}}return e},lt=async(e,t,n,s)=>{let o;if(!(32&t.l)){t.l|=32;if(n.$){const s=v(n);if(s&&"then"in s){const e=q();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.m}#${t.W}" was not found`);o.isProxied||(n.X=o.watchers,rt(o,n,2),o.isProxied=!0);const l=V("createInstance",n.m);t.l|=8;try{new o(t)}catch(e){c(e)}t.l&=-9,t.l|=128,l(),nt(t.t)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(t.W=le(e),t.W&&(s=o.style[t.W]));const l=ve(n,t.W);if(!d.has(l)){const e=V("registerStyles",n.m);fe(l,s,!!(1&n.l)),e()}}}const l=t.q,r=()=>Qe(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},nt=e=>{Ye(e,"connectedCallback")},st=e=>{if(!(1&O.l)){const t=i(e),n=t.i,s=V("connectedCallback",n.m);if(1&t.l)ut(e,t,n._),(null==t?void 0:t.t)?nt(t.t):(null==t?void 0:t.h)&&t.h.then((()=>nt(t.t)));else{let s;if(t.l|=1,s=e.getAttribute(w),s){if(1&n.l){const t=ce(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}ee(e,n.m,s,t)}s||12&n.l&&it(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Be(t,t.q=n);break}}n.K&&Object.entries(n.K).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),lt(e,t,n)}s()}},it=e=>{const t=e["s-cr"]=j.createComment("");t["s-cn"]=!0,He(e,t,e.firstChild)},ot=e=>{Ye(e,"disconnectedCallback")},at=async e=>{if(!(1&O.l)){const t=i(e);t.J&&(t.J.map((e=>e())),t.J=void 0),(null==t?void 0:t.t)?ot(t.t):(null==t?void 0:t.h)&&t.h.then((()=>ot(t.t)))}},ft=(e,t={})=>{var n;const s=V(),o=[],l=t.exclude||[],r=C.customElements,c=j.head,d=c.querySelector("meta[charset]"),u=j.createElement("style"),h=[];let p,f=!0;Object.assign(O,t),O.S=new URL(t.resourcesUrl||"./",j.baseURI).href,O.l|=2;let m=!1;if(e.map((e=>{e[1].map((n=>{var s;const c={l:n[0],m:n[1],K:n[2],_:n[3]};4&c.l&&(m=!0),c.K=n[2],c._=n[3],c.B=[],c.X=null!=(s=n[4])?s:{};const d=t.transformTagName?t.transformTagName(c.m):c.m,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,a(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${c.m}! Mode is set to ${e.shadowRoot.mode} but KoliBri only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const e=i(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ut(this,e,c._)),p&&(clearTimeout(p),p=null),f?h.push(this):O.jmp((()=>st(this)))}disconnectedCallback(){O.jmp((()=>at(this)))}componentOnReady(){return i(this).h}};c.$=e[0],l.includes(d)||r.get(d)||(o.push(d),r.define(d,rt(u,c,1)))}))})),o.length>0&&(m&&(u.textContent+=k),u.textContent+=o.sort()+S,u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=O.U)?n:U(j);null!=e&&u.setAttribute("nonce",e),c.insertBefore(u,d?d.nextSibling:c.firstChild)}f=!1,h.length?h.map((e=>e.connectedCallback())):O.jmp((()=>p=setTimeout(Je,30))),s()},ct=(e,t)=>t,ut=(e,t,n,s)=>{n&&n.map((([n,s,o])=>{const l=dt(e,n),r=vt(t,o),i=ht(n);O.ael(l,s,r,i),(t.J=t.J||[]).push((()=>O.rel(l,s,r,i)))}))},vt=(e,t)=>n=>{var s;try{256&e.l?null==(s=e.t)||s[t](n):(e.G=e.G||[]).push([t,n])}catch(e){c(e)}},dt=(e,t)=>8&t?C:e,ht=e=>T?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),pt=e=>O.U=e;export{r as E,ct as F,X as H,ne as a,ft as b,ie as g,G as h,E as p,o as r,pt as s};