@public-ui/components 2.1.4-alpha.1 → 2.1.5-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (544) hide show
  1. package/custom-elements.json +216 -32
  2. package/dist/cjs/{InternalUnderlinedAccessKey-9908abb2.js → InternalUnderlinedAccessKey-032e39db.js} +1 -1
  3. package/dist/cjs/{InternalUnderlinedAccessKey-9908abb2.js.map → InternalUnderlinedAccessKey-032e39db.js.map} +1 -1
  4. package/dist/cjs/{app-globals-22aa54ed.js → app-globals-042e5a69.js} +1 -1
  5. package/dist/cjs/{app-globals-22aa54ed.js.map → app-globals-042e5a69.js.map} +1 -1
  6. package/dist/cjs/component-names-aa6c2521.js +4 -0
  7. package/dist/cjs/component-names-aa6c2521.js.map +1 -0
  8. package/dist/cjs/{controller-8649175b.js → controller-0e749839.js} +1 -1
  9. package/dist/cjs/{controller-8649175b.js.map → controller-0e749839.js.map} +1 -1
  10. package/dist/cjs/{dev.utils-cf2db529.js → dev.utils-cc304714.js} +1 -1
  11. package/dist/cjs/{dev.utils-cf2db529.js.map → dev.utils-cc304714.js.map} +1 -1
  12. package/dist/cjs/{devtools-05c27e74.js → devtools-527acdcf.js} +1 -1
  13. package/dist/cjs/{devtools-05c27e74.js.map → devtools-527acdcf.js.map} +1 -1
  14. package/dist/cjs/{form-field-msg-74092e71.js → form-field-msg-e67c6eb6.js} +1 -1
  15. package/dist/cjs/{form-field-msg-74092e71.js.map → form-field-msg-e67c6eb6.js.map} +1 -1
  16. package/dist/cjs/{i18n-86815e80.js → i18n-2207af53.js} +1 -1
  17. package/dist/cjs/i18n-2207af53.js.map +1 -0
  18. package/dist/cjs/i18n-50cc2ee1.js +4 -0
  19. package/dist/cjs/i18n-50cc2ee1.js.map +1 -0
  20. package/dist/cjs/index-fcc8f5a8.js +4 -0
  21. package/dist/cjs/index-fcc8f5a8.js.map +1 -0
  22. package/dist/cjs/index.cjs.js +1 -1
  23. package/dist/cjs/index.cjs.js.map +1 -1
  24. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  25. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  26. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  27. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  28. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  29. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  30. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  31. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  32. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  33. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-button-group.cjs.entry.js +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-combobox.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  44. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  46. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  49. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  59. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  61. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  65. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  67. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  69. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  71. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  73. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  77. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  80. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  87. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  89. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  107. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  114. package/dist/cjs/kolibri.cjs.js +1 -1
  115. package/dist/cjs/loader.cjs.js +1 -1
  116. package/dist/components/component-names.js +1 -1
  117. package/dist/components/component-names.js.map +1 -1
  118. package/dist/components/events2.js +1 -1
  119. package/dist/components/i18n.js +1 -1
  120. package/dist/components/i18n.js.map +1 -1
  121. package/dist/components/i18n2.js.map +1 -1
  122. package/dist/components/icons.js +1 -1
  123. package/dist/components/index.js.map +1 -1
  124. package/dist/components/kol-accordion.js +1 -1
  125. package/dist/components/kol-accordion.js.map +1 -1
  126. package/dist/components/kol-button-link.js +1 -1
  127. package/dist/components/kol-button-link.js.map +1 -1
  128. package/dist/components/kol-button-wc.js +1 -1
  129. package/dist/components/kol-button-wc.js.map +1 -1
  130. package/dist/components/kol-button.js +1 -1
  131. package/dist/components/kol-button.js.map +1 -1
  132. package/dist/components/kol-combobox.js +1 -1
  133. package/dist/components/kol-combobox.js.map +1 -1
  134. package/dist/components/kol-details.js +1 -1
  135. package/dist/components/kol-details.js.map +1 -1
  136. package/dist/components/kol-input-checkbox.js +1 -1
  137. package/dist/components/kol-input-checkbox.js.map +1 -1
  138. package/dist/components/kol-input-color.js +1 -1
  139. package/dist/components/kol-input-color.js.map +1 -1
  140. package/dist/components/kol-input-date.js +1 -1
  141. package/dist/components/kol-input-date.js.map +1 -1
  142. package/dist/components/kol-input-email.js +1 -1
  143. package/dist/components/kol-input-email.js.map +1 -1
  144. package/dist/components/kol-input-file.js +1 -1
  145. package/dist/components/kol-input-file.js.map +1 -1
  146. package/dist/components/kol-input-number.js +1 -1
  147. package/dist/components/kol-input-number.js.map +1 -1
  148. package/dist/components/kol-input-password.js +1 -1
  149. package/dist/components/kol-input-password.js.map +1 -1
  150. package/dist/components/kol-input-radio.js +1 -1
  151. package/dist/components/kol-input-radio.js.map +1 -1
  152. package/dist/components/kol-input-range.js +1 -1
  153. package/dist/components/kol-input-range.js.map +1 -1
  154. package/dist/components/kol-input-text.js +1 -1
  155. package/dist/components/kol-input-text.js.map +1 -1
  156. package/dist/components/kol-link-button.js +1 -1
  157. package/dist/components/kol-link-button.js.map +1 -1
  158. package/dist/components/kol-link-wc.js +1 -1
  159. package/dist/components/kol-link-wc.js.map +1 -1
  160. package/dist/components/kol-link.js +1 -1
  161. package/dist/components/kol-link.js.map +1 -1
  162. package/dist/components/kol-select.js +1 -1
  163. package/dist/components/kol-select.js.map +1 -1
  164. package/dist/components/kol-span-wc.js +1 -1
  165. package/dist/components/kol-spin.js +1 -1
  166. package/dist/components/kol-split-button.js +1 -1
  167. package/dist/components/kol-symbol.js +1 -1
  168. package/dist/components/kol-table-stateful.js +1 -1
  169. package/dist/components/kol-table-stateless-wc.js +1 -1
  170. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  171. package/dist/components/kol-table-stateless.js +1 -1
  172. package/dist/components/kol-table.js +1 -1
  173. package/dist/components/kol-tabs.js +1 -1
  174. package/dist/components/kol-textarea.js +1 -1
  175. package/dist/components/kol-textarea.js.map +1 -1
  176. package/dist/components/kol-toast-container.js +1 -1
  177. package/dist/components/kol-toolbar.js +1 -1
  178. package/dist/components/kol-toolbar.js.map +1 -1
  179. package/dist/components/kol-tooltip-wc.js +1 -1
  180. package/dist/components/kol-tree-item-wc.js +1 -1
  181. package/dist/components/kol-tree-item-wc.js.map +1 -1
  182. package/dist/components/kol-tree-item.js +1 -1
  183. package/dist/components/kol-tree-wc.js +1 -1
  184. package/dist/components/kol-tree.js +1 -1
  185. package/dist/components/kol-version.js +1 -1
  186. package/dist/components/reuse.js +1 -1
  187. package/dist/esm/{InternalUnderlinedAccessKey-fd8927df.js → InternalUnderlinedAccessKey-5c8d29fc.js} +1 -1
  188. package/dist/esm/{InternalUnderlinedAccessKey-fd8927df.js.map → InternalUnderlinedAccessKey-5c8d29fc.js.map} +1 -1
  189. package/dist/esm/{align-floating-elements-9f85ac8b.js → align-floating-elements-e596c0fa.js} +1 -1
  190. package/dist/esm/{align-floating-elements-9f85ac8b.js.map → align-floating-elements-e596c0fa.js.map} +1 -1
  191. package/dist/esm/{app-globals-94e8e6c8.js → app-globals-71552c42.js} +1 -1
  192. package/dist/esm/{app-globals-94e8e6c8.js.map → app-globals-71552c42.js.map} +1 -1
  193. package/dist/esm/component-names-3f4a13bb.js +4 -0
  194. package/dist/esm/component-names-3f4a13bb.js.map +1 -0
  195. package/dist/esm/{controller-cc7e4e3f.js → controller-13997e91.js} +1 -1
  196. package/dist/esm/{controller-cc7e4e3f.js.map → controller-13997e91.js.map} +1 -1
  197. package/dist/esm/{controller-cbe5ff75.js → controller-618eff75.js} +1 -1
  198. package/dist/esm/{controller-cbe5ff75.js.map → controller-618eff75.js.map} +1 -1
  199. package/dist/esm/{controller-2976d21c.js → controller-78a57072.js} +1 -1
  200. package/dist/esm/{controller-2976d21c.js.map → controller-78a57072.js.map} +1 -1
  201. package/dist/esm/{controller-icon-b6046f95.js → controller-icon-1fda7e70.js} +1 -1
  202. package/dist/esm/{controller-icon-b6046f95.js.map → controller-icon-1fda7e70.js.map} +1 -1
  203. package/dist/esm/{dev.utils-a14ff412.js → dev.utils-167104e2.js} +1 -1
  204. package/dist/esm/{dev.utils-a14ff412.js.map → dev.utils-167104e2.js.map} +1 -1
  205. package/dist/esm/{devtools-38b004b8.js → devtools-6ea9df1d.js} +1 -1
  206. package/dist/esm/{devtools-38b004b8.js.map → devtools-6ea9df1d.js.map} +1 -1
  207. package/dist/esm/{events-ba948f16.js → events-2b67c17a.js} +1 -1
  208. package/dist/esm/{events-ba948f16.js.map → events-2b67c17a.js.map} +1 -1
  209. package/dist/esm/{form-field-msg-c7c48d5a.js → form-field-msg-66ebc479.js} +1 -1
  210. package/dist/esm/{form-field-msg-c7c48d5a.js.map → form-field-msg-66ebc479.js.map} +1 -1
  211. package/dist/esm/i18n-3dcfca85.js +4 -0
  212. package/dist/esm/i18n-3dcfca85.js.map +1 -0
  213. package/dist/esm/{i18n-112381e9.js → i18n-59fb5a46.js} +1 -1
  214. package/dist/esm/i18n-59fb5a46.js.map +1 -0
  215. package/dist/esm/{icons-e32ba753.js → icons-05788852.js} +1 -1
  216. package/dist/esm/{icons-e32ba753.js.map → icons-05788852.js.map} +1 -1
  217. package/dist/esm/index-22a31dab.js +4 -0
  218. package/dist/esm/index-22a31dab.js.map +1 -0
  219. package/dist/esm/index.js +1 -1
  220. package/dist/esm/index.js.map +1 -1
  221. package/dist/esm/kol-abbr.entry.js +1 -1
  222. package/dist/esm/kol-accordion.entry.js +1 -1
  223. package/dist/esm/kol-accordion.entry.js.map +1 -1
  224. package/dist/esm/kol-alert-wc.entry.js +1 -1
  225. package/dist/esm/kol-alert.entry.js +1 -1
  226. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  227. package/dist/esm/kol-avatar.entry.js +1 -1
  228. package/dist/esm/kol-badge.entry.js +1 -1
  229. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  230. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  231. package/dist/esm/kol-button-group.entry.js +1 -1
  232. package/dist/esm/kol-button-link.entry.js +1 -1
  233. package/dist/esm/kol-button-link.entry.js.map +1 -1
  234. package/dist/esm/kol-button-wc.entry.js +1 -1
  235. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  236. package/dist/esm/kol-button.entry.js +1 -1
  237. package/dist/esm/kol-button.entry.js.map +1 -1
  238. package/dist/esm/kol-card.entry.js +1 -1
  239. package/dist/esm/kol-combobox.entry.js +1 -1
  240. package/dist/esm/kol-combobox.entry.js.map +1 -1
  241. package/dist/esm/kol-details.entry.js +1 -1
  242. package/dist/esm/kol-details.entry.js.map +1 -1
  243. package/dist/esm/kol-drawer.entry.js +1 -1
  244. package/dist/esm/kol-form.entry.js +1 -1
  245. package/dist/esm/kol-heading-wc.entry.js +1 -1
  246. package/dist/esm/kol-heading.entry.js +1 -1
  247. package/dist/esm/kol-icon.entry.js +1 -1
  248. package/dist/esm/kol-image.entry.js +1 -1
  249. package/dist/esm/kol-indented-text.entry.js +1 -1
  250. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  251. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  252. package/dist/esm/kol-input-color.entry.js +1 -1
  253. package/dist/esm/kol-input-color.entry.js.map +1 -1
  254. package/dist/esm/kol-input-date.entry.js +1 -1
  255. package/dist/esm/kol-input-date.entry.js.map +1 -1
  256. package/dist/esm/kol-input-email.entry.js +1 -1
  257. package/dist/esm/kol-input-email.entry.js.map +1 -1
  258. package/dist/esm/kol-input-file.entry.js +1 -1
  259. package/dist/esm/kol-input-file.entry.js.map +1 -1
  260. package/dist/esm/kol-input-number.entry.js +1 -1
  261. package/dist/esm/kol-input-number.entry.js.map +1 -1
  262. package/dist/esm/kol-input-password.entry.js +1 -1
  263. package/dist/esm/kol-input-password.entry.js.map +1 -1
  264. package/dist/esm/kol-input-radio.entry.js +1 -1
  265. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  266. package/dist/esm/kol-input-range.entry.js +1 -1
  267. package/dist/esm/kol-input-range.entry.js.map +1 -1
  268. package/dist/esm/kol-input-text.entry.js +1 -1
  269. package/dist/esm/kol-input-text.entry.js.map +1 -1
  270. package/dist/esm/kol-input.entry.js +1 -1
  271. package/dist/esm/kol-kolibri.entry.js +1 -1
  272. package/dist/esm/kol-link-button.entry.js +1 -1
  273. package/dist/esm/kol-link-button.entry.js.map +1 -1
  274. package/dist/esm/kol-link-group.entry.js +1 -1
  275. package/dist/esm/kol-link-wc.entry.js +1 -1
  276. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  277. package/dist/esm/kol-link.entry.js +1 -1
  278. package/dist/esm/kol-link.entry.js.map +1 -1
  279. package/dist/esm/kol-logo.entry.js +1 -1
  280. package/dist/esm/kol-modal.entry.js +1 -1
  281. package/dist/esm/kol-nav.entry.js +1 -1
  282. package/dist/esm/kol-pagination.entry.js +1 -1
  283. package/dist/esm/kol-popover-wc.entry.js +1 -1
  284. package/dist/esm/kol-progress.entry.js +1 -1
  285. package/dist/esm/kol-quote.entry.js +1 -1
  286. package/dist/esm/kol-select.entry.js +1 -1
  287. package/dist/esm/kol-select.entry.js.map +1 -1
  288. package/dist/esm/kol-skip-nav.entry.js +1 -1
  289. package/dist/esm/kol-span-wc.entry.js +1 -1
  290. package/dist/esm/kol-spin.entry.js +1 -1
  291. package/dist/esm/kol-split-button.entry.js +1 -1
  292. package/dist/esm/kol-symbol.entry.js +1 -1
  293. package/dist/esm/kol-table-stateful.entry.js +1 -1
  294. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  295. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  296. package/dist/esm/kol-table-stateless.entry.js +1 -1
  297. package/dist/esm/kol-table.entry.js +1 -1
  298. package/dist/esm/kol-tabs.entry.js +1 -1
  299. package/dist/esm/kol-textarea.entry.js +1 -1
  300. package/dist/esm/kol-textarea.entry.js.map +1 -1
  301. package/dist/esm/kol-toast-container.entry.js +1 -1
  302. package/dist/esm/kol-toolbar.entry.js +1 -1
  303. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  304. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  305. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  306. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  307. package/dist/esm/kol-tree-item.entry.js +1 -1
  308. package/dist/esm/kol-tree-wc.entry.js +1 -1
  309. package/dist/esm/kol-tree.entry.js +1 -1
  310. package/dist/esm/kol-version.entry.js +1 -1
  311. package/dist/esm/kolibri.js +1 -1
  312. package/dist/esm/loader.js +1 -1
  313. package/dist/esm/{reuse-b66836de.js → reuse-108ee8f5.js} +1 -1
  314. package/dist/esm/{reuse-b66836de.js.map → reuse-108ee8f5.js.map} +1 -1
  315. package/dist/kolibri/InternalUnderlinedAccessKey-5c8d29fc.js +4 -0
  316. package/dist/kolibri/{align-floating-elements-9f85ac8b.js → align-floating-elements-e596c0fa.js} +1 -1
  317. package/dist/kolibri/app-globals-71552c42.js +4 -0
  318. package/dist/kolibri/{app-globals-94e8e6c8.js.map → app-globals-71552c42.js.map} +1 -1
  319. package/dist/kolibri/component-names-3f4a13bb.js +4 -0
  320. package/dist/kolibri/component-names-3f4a13bb.js.map +1 -0
  321. package/dist/kolibri/{controller-cc7e4e3f.js → controller-13997e91.js} +1 -1
  322. package/dist/kolibri/{controller-cbe5ff75.js → controller-618eff75.js} +1 -1
  323. package/dist/kolibri/{controller-2976d21c.js → controller-78a57072.js} +1 -1
  324. package/dist/kolibri/{controller-icon-b6046f95.js → controller-icon-1fda7e70.js} +1 -1
  325. package/dist/kolibri/{dev.utils-a14ff412.js → dev.utils-167104e2.js} +1 -1
  326. package/dist/kolibri/{devtools-38b004b8.js → devtools-6ea9df1d.js} +1 -1
  327. package/dist/kolibri/{events-ba948f16.js → events-2b67c17a.js} +1 -1
  328. package/dist/kolibri/form-field-msg-66ebc479.js +4 -0
  329. package/dist/kolibri/i18n-3dcfca85.js +4 -0
  330. package/dist/kolibri/i18n-3dcfca85.js.map +1 -0
  331. package/dist/kolibri/i18n-59fb5a46.js +4 -0
  332. package/dist/kolibri/i18n-59fb5a46.js.map +1 -0
  333. package/dist/kolibri/{icons-e32ba753.js → icons-05788852.js} +1 -1
  334. package/dist/kolibri/index-22a31dab.js +5 -0
  335. package/dist/kolibri/index-22a31dab.js.map +1 -0
  336. package/dist/kolibri/index.esm.js +1 -1
  337. package/dist/kolibri/index.esm.js.map +1 -1
  338. package/dist/kolibri/kol-abbr.entry.js +1 -1
  339. package/dist/kolibri/kol-accordion.entry.js +1 -1
  340. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  341. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  342. package/dist/kolibri/kol-alert.entry.js +1 -1
  343. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  344. package/dist/kolibri/kol-avatar.entry.js +1 -1
  345. package/dist/kolibri/kol-badge.entry.js +1 -1
  346. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  347. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  348. package/dist/kolibri/kol-button-group.entry.js +1 -1
  349. package/dist/kolibri/kol-button-link.entry.js +1 -1
  350. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  351. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  352. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  353. package/dist/kolibri/kol-button.entry.js +1 -1
  354. package/dist/kolibri/kol-button.entry.js.map +1 -1
  355. package/dist/kolibri/kol-card.entry.js +1 -1
  356. package/dist/kolibri/kol-combobox.entry.js +1 -1
  357. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  358. package/dist/kolibri/kol-details.entry.js +1 -1
  359. package/dist/kolibri/kol-details.entry.js.map +1 -1
  360. package/dist/kolibri/kol-drawer.entry.js +1 -1
  361. package/dist/kolibri/kol-form.entry.js +1 -1
  362. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  363. package/dist/kolibri/kol-heading.entry.js +1 -1
  364. package/dist/kolibri/kol-icon.entry.js +1 -1
  365. package/dist/kolibri/kol-image.entry.js +1 -1
  366. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  367. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  368. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  369. package/dist/kolibri/kol-input-color.entry.js +1 -1
  370. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  371. package/dist/kolibri/kol-input-date.entry.js +1 -1
  372. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  373. package/dist/kolibri/kol-input-email.entry.js +1 -1
  374. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  375. package/dist/kolibri/kol-input-file.entry.js +1 -1
  376. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  377. package/dist/kolibri/kol-input-number.entry.js +1 -1
  378. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  379. package/dist/kolibri/kol-input-password.entry.js +1 -1
  380. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  381. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  382. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  383. package/dist/kolibri/kol-input-range.entry.js +1 -1
  384. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  385. package/dist/kolibri/kol-input-text.entry.js +1 -1
  386. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  387. package/dist/kolibri/kol-input.entry.js +1 -1
  388. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  389. package/dist/kolibri/kol-link-button.entry.js +1 -1
  390. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  391. package/dist/kolibri/kol-link-group.entry.js +1 -1
  392. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  393. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  394. package/dist/kolibri/kol-link.entry.js +1 -1
  395. package/dist/kolibri/kol-link.entry.js.map +1 -1
  396. package/dist/kolibri/kol-logo.entry.js +1 -1
  397. package/dist/kolibri/kol-modal.entry.js +1 -1
  398. package/dist/kolibri/kol-nav.entry.js +1 -1
  399. package/dist/kolibri/kol-pagination.entry.js +1 -1
  400. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  401. package/dist/kolibri/kol-progress.entry.js +1 -1
  402. package/dist/kolibri/kol-quote.entry.js +1 -1
  403. package/dist/kolibri/kol-select.entry.js +1 -1
  404. package/dist/kolibri/kol-select.entry.js.map +1 -1
  405. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  406. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  407. package/dist/kolibri/kol-spin.entry.js +1 -1
  408. package/dist/kolibri/kol-split-button.entry.js +1 -1
  409. package/dist/kolibri/kol-symbol.entry.js +1 -1
  410. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  411. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  412. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  413. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  414. package/dist/kolibri/kol-table.entry.js +1 -1
  415. package/dist/kolibri/kol-tabs.entry.js +1 -1
  416. package/dist/kolibri/kol-textarea.entry.js +1 -1
  417. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  418. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  419. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  420. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  421. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  422. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  423. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  424. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  425. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  426. package/dist/kolibri/kol-tree.entry.js +1 -1
  427. package/dist/kolibri/kol-version.entry.js +1 -1
  428. package/dist/kolibri/kolibri.esm.js +1 -1
  429. package/dist/kolibri/kolibri.esm.js.map +1 -1
  430. package/dist/kolibri/{reuse-b66836de.js → reuse-108ee8f5.js} +1 -1
  431. package/dist/types/components/accordion/shadow.d.ts +5 -3
  432. package/dist/types/components/button/component.d.ts +4 -3
  433. package/dist/types/components/button/shadow.d.ts +5 -3
  434. package/dist/types/components/button-link/shadow.d.ts +5 -3
  435. package/dist/types/components/combobox/shadow.d.ts +1 -0
  436. package/dist/types/components/details/shadow.d.ts +4 -3
  437. package/dist/types/components/input-checkbox/shadow.d.ts +5 -1
  438. package/dist/types/components/input-color/shadow.d.ts +5 -3
  439. package/dist/types/components/input-date/shadow.d.ts +5 -3
  440. package/dist/types/components/input-email/shadow.d.ts +5 -3
  441. package/dist/types/components/input-file/shadow.d.ts +5 -3
  442. package/dist/types/components/input-number/shadow.d.ts +5 -3
  443. package/dist/types/components/input-password/shadow.d.ts +6 -4
  444. package/dist/types/components/input-radio/shadow.d.ts +5 -3
  445. package/dist/types/components/input-range/shadow.d.ts +4 -2
  446. package/dist/types/components/input-text/shadow.d.ts +5 -3
  447. package/dist/types/components/link/component.d.ts +4 -4
  448. package/dist/types/components/link/shadow.d.ts +5 -3
  449. package/dist/types/components/link-button/shadow.d.ts +5 -3
  450. package/dist/types/components/select/shadow.d.ts +5 -3
  451. package/dist/types/components/span/test/html.mock.d.ts +0 -1
  452. package/dist/types/components/table-stateless/component.d.ts +1 -0
  453. package/dist/types/components/textarea/shadow.d.ts +5 -3
  454. package/dist/types/components.d.ts +92 -47
  455. package/dist/types/core/component-names.d.ts +0 -1
  456. package/dist/types/i18n.d.ts +2 -1
  457. package/dist/types/index.d.ts +1 -1
  458. package/dist/types/locales/de.d.ts +3 -0
  459. package/dist/types/locales/en.d.ts +3 -0
  460. package/dist/types/schema/index.d.ts +1 -0
  461. package/dist/types/schema/interfaces/FocusableElement.d.ts +3 -0
  462. package/dist/types/schema/interfaces/index.d.ts +1 -0
  463. package/doc/accordion.md +25 -0
  464. package/doc/alert.md +2 -0
  465. package/doc/avatar.md +2 -0
  466. package/doc/button-link.md +20 -0
  467. package/doc/button.md +20 -0
  468. package/doc/combobox.md +2 -0
  469. package/doc/details.md +25 -0
  470. package/doc/drawer.md +2 -0
  471. package/doc/image.md +2 -0
  472. package/doc/input-checkbox.md +20 -0
  473. package/doc/input-color.md +20 -0
  474. package/doc/input-date.md +22 -0
  475. package/doc/input-email.md +20 -0
  476. package/doc/input-file.md +22 -0
  477. package/doc/input-number.md +20 -0
  478. package/doc/input-password.md +20 -0
  479. package/doc/input-radio.md +22 -0
  480. package/doc/input-range.md +22 -0
  481. package/doc/input-text.md +22 -0
  482. package/doc/link-button.md +23 -0
  483. package/doc/link.md +23 -0
  484. package/doc/modal.md +5 -1
  485. package/doc/nav.md +2 -0
  486. package/doc/select.md +22 -0
  487. package/doc/spin.md +2 -0
  488. package/doc/table-stateful.md +2 -0
  489. package/doc/table-stateless.md +2 -0
  490. package/doc/table.md +2 -0
  491. package/doc/tabs.md +2 -0
  492. package/doc/textarea.md +20 -0
  493. package/doc/toaster.md +2 -0
  494. package/doc/tooltip.md +2 -0
  495. package/doc/tree.md +2 -0
  496. package/package.json +1 -1
  497. package/vscode-custom-data.json +27 -27
  498. package/dist/cjs/component-names-b370a3a3.js +0 -4
  499. package/dist/cjs/component-names-b370a3a3.js.map +0 -1
  500. package/dist/cjs/i18n-86815e80.js.map +0 -1
  501. package/dist/cjs/i18n-bbd0642f.js +0 -4
  502. package/dist/cjs/i18n-bbd0642f.js.map +0 -1
  503. package/dist/cjs/index-5cf289dd.js +0 -4
  504. package/dist/cjs/index-5cf289dd.js.map +0 -1
  505. package/dist/cjs/kol-span.cjs.entry.js +0 -4
  506. package/dist/cjs/kol-span.cjs.entry.js.map +0 -1
  507. package/dist/components/kol-span.d.ts +0 -11
  508. package/dist/components/kol-span.js +0 -4
  509. package/dist/components/kol-span.js.map +0 -1
  510. package/dist/esm/component-names-068dc2ae.js +0 -4
  511. package/dist/esm/component-names-068dc2ae.js.map +0 -1
  512. package/dist/esm/i18n-112381e9.js.map +0 -1
  513. package/dist/esm/i18n-66b52d13.js +0 -4
  514. package/dist/esm/i18n-66b52d13.js.map +0 -1
  515. package/dist/esm/index-b2c61df0.js +0 -4
  516. package/dist/esm/index-b2c61df0.js.map +0 -1
  517. package/dist/esm/kol-span.entry.js +0 -4
  518. package/dist/esm/kol-span.entry.js.map +0 -1
  519. package/dist/kolibri/InternalUnderlinedAccessKey-fd8927df.js +0 -4
  520. package/dist/kolibri/app-globals-94e8e6c8.js +0 -4
  521. package/dist/kolibri/component-names-068dc2ae.js +0 -4
  522. package/dist/kolibri/component-names-068dc2ae.js.map +0 -1
  523. package/dist/kolibri/form-field-msg-c7c48d5a.js +0 -4
  524. package/dist/kolibri/i18n-112381e9.js +0 -4
  525. package/dist/kolibri/i18n-112381e9.js.map +0 -1
  526. package/dist/kolibri/i18n-66b52d13.js +0 -4
  527. package/dist/kolibri/i18n-66b52d13.js.map +0 -1
  528. package/dist/kolibri/index-b2c61df0.js +0 -5
  529. package/dist/kolibri/index-b2c61df0.js.map +0 -1
  530. package/dist/kolibri/kol-span.entry.js +0 -4
  531. package/dist/kolibri/kol-span.entry.js.map +0 -1
  532. package/dist/types/components/span/shadow.d.ts +0 -9
  533. /package/dist/kolibri/{InternalUnderlinedAccessKey-fd8927df.js.map → InternalUnderlinedAccessKey-5c8d29fc.js.map} +0 -0
  534. /package/dist/kolibri/{align-floating-elements-9f85ac8b.js.map → align-floating-elements-e596c0fa.js.map} +0 -0
  535. /package/dist/kolibri/{controller-cc7e4e3f.js.map → controller-13997e91.js.map} +0 -0
  536. /package/dist/kolibri/{controller-cbe5ff75.js.map → controller-618eff75.js.map} +0 -0
  537. /package/dist/kolibri/{controller-2976d21c.js.map → controller-78a57072.js.map} +0 -0
  538. /package/dist/kolibri/{controller-icon-b6046f95.js.map → controller-icon-1fda7e70.js.map} +0 -0
  539. /package/dist/kolibri/{dev.utils-a14ff412.js.map → dev.utils-167104e2.js.map} +0 -0
  540. /package/dist/kolibri/{devtools-38b004b8.js.map → devtools-6ea9df1d.js.map} +0 -0
  541. /package/dist/kolibri/{events-ba948f16.js.map → events-2b67c17a.js.map} +0 -0
  542. /package/dist/kolibri/{form-field-msg-c7c48d5a.js.map → form-field-msg-66ebc479.js.map} +0 -0
  543. /package/dist/kolibri/{icons-e32ba753.js.map → icons-05788852.js.map} +0 -0
  544. /package/dist/kolibri/{reuse-b66836de.js.map → reuse-108ee8f5.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- const isObject=t=>"object"==typeof t&&null!==t,isString=(t,e=0)=>"string"==typeof t&&t.length>=e,isStyle=t=>{if("object"!=typeof t||null===t)return isString(t,1);for(const e in t)if(!1===isString(e,1))return!1;return!0},STATE_CHANGE_EVENT=new Event("StateChange"),propagateFocus=(t,e)=>{isObject(t)&&t&&(t.focus=t=>null==e?void 0:e.focus(t))};let processEnv="development";try{processEnv="production"}catch(t){processEnv="production"}const handleSlotContent=(t,e,s)=>{if(t&&e&&"string"==typeof s){const o=t.querySelector(`[slot="${s}"]`);o&&e.appendChild(o)}},showExpertSlot=t=>""===t;export{STATE_CHANGE_EVENT as S,propagateFocus as a,isStyle as b,isObject as c,handleSlotContent as h,isString as i,processEnv as p,showExpertSlot as s};
4
+ const isObject=t=>"object"==typeof t&&null!==t,isString=(t,e=0)=>"string"==typeof t&&t.length>=e,isStyle=t=>{if("object"!=typeof t||null===t)return isString(t,1);for(const e in t)if(!1===isString(e,1))return!1;return!0},STATE_CHANGE_EVENT=new Event("StateChange"),propagateFocus=(t,e)=>{isObject(t)&&t&&(t.focus=t=>null==e?void 0:e.focus(t))};let processEnv="development";try{processEnv="production"}catch(t){processEnv="production"}const handleSlotContent=(t,e,s)=>{if(t&&e&&"string"==typeof s){const o=t.querySelector(`[slot="${s}"]`);o&&e.appendChild(o)}},showExpertSlot=t=>""===t;export{STATE_CHANGE_EVENT as S,isStyle as a,isObject as b,propagateFocus as c,handleSlotContent as h,isString as i,processEnv as p,showExpertSlot as s};
@@ -1 +1 @@
1
- {"file":"reuse-b66836de.js","mappings":";;;MAAa,QAAQ,GAAG,CAAC,KAAc,KAAc,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,KAAK;MAEpF,QAAQ,GAAG,CAAC,KAAc,EAAE,SAAS,GAAG,CAAC,KAAc,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,IAAI,UAAU;MAE9G,OAAO,GAAG,CAAC,KAA8B;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE;QAChD,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE;YAC7B,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,KAAK,KAAK,EAAE;gBACpC,OAAO,KAAK,CAAC;aACb;SACD;KACD;SAAM;QACN,OAAO,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;KAC1B;IACD,OAAO,IAAI,CAAC;AACb,EAAE;MAKW,kBAAkB,GAAG,IAAI,KAAK,CAAC,aAAa;;MClB5C,cAAc,GAAG,CAA+C,IAAQ,EAAE,GAAO;IAC7F,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE;QAC3B,IAAI,CAAC,KAAK,GAAG,CAAC,GAAiB,KAAK,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,KAAK,CAAC,GAAG,CAAC,CAAC;KACpD;AACF,EAAE;IAIS,UAAU,GAAe,cAAc;AAClD,IAAI;IACH,UAAU,GAAG,YAAkC,CAAC;AACjD,CAAC;AAAC,OAAO,CAAC,EAAE;IACX,UAAU,GAAG,YAAY,CAAC;AAC3B,CAAC;MAMY,iBAAiB,GAAG,CAAC,OAAoB,EAAE,OAAoB,EAAE,QAAgB;IAC7F,IAAI,OAAO,IAAI,OAAO,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QACvD,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,QAAQ,IAAI,CAAC,CAAC;QAC9D,IAAI,OAAO,EAAE;YACZ,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;SAC7B;KACD;AACF,EAAE;MAOW,cAAc,GAAG,CAAC,KAAc,KAAK,KAAK,KAAK;;;;","names":[],"sources":["src/schema/validators/common.ts","src/schema/utils/reuse.ts"],"sourcesContent":["export const isObject = (value: unknown): boolean => typeof value === 'object' && value !== null;\n\nexport const isString = (value: unknown, minLength = 0): boolean => typeof value === 'string' && value.length >= minLength;\n\nexport const isStyle = (style?: Record<string, string>): boolean => {\n\tif (typeof style === 'object' && style !== null) {\n\t\tfor (const property in style) {\n\t\t\tif (isString(property, 1) === false) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t} else {\n\t\treturn isString(style, 1);\n\t}\n\treturn true;\n};\n\n/**\n * Fix event instance for state changes.\n */\nexport const STATE_CHANGE_EVENT = new Event('StateChange');\n","import { isObject } from '../validators';\n\nexport const propagateFocus = <H extends HTMLElement, R extends HTMLElement>(host?: H, ref?: R) => {\n\tif (isObject(host) && host) {\n\t\thost.focus = (ops: FocusOptions) => ref?.focus(ops);\n\t}\n};\n\nconst PROCESS_ENVS = ['development', 'production', 'test'] as const;\ntype ProcessEnv = (typeof PROCESS_ENVS)[number];\nexport let processEnv: ProcessEnv = 'development';\ntry {\n\tprocessEnv = process.env.NODE_ENV as ProcessEnv;\n} catch (e) {\n\tprocessEnv = 'production';\n}\n\n/**\n * This function is used to handle the slot content by\n * moving a DOM element to a defined slot element.\n */\nexport const handleSlotContent = (hostRef: HTMLElement, slotRef: HTMLElement, slotName: string) => {\n\tif (hostRef && slotRef && typeof slotName === 'string') {\n\t\tconst content = hostRef.querySelector(`[slot=\"${slotName}\"]`);\n\t\tif (content) {\n\t\t\tslotRef.appendChild(content);\n\t\t}\n\t}\n};\n\n/**\n * This function is used to check if a label is an empty string.\n * @param label The label of the slot\n * @returns True if the label is an empty string\n */\nexport const showExpertSlot = (label: unknown) => label === '';\n"],"version":3}
1
+ {"file":"reuse-108ee8f5.js","mappings":";;;MAAa,QAAQ,GAAG,CAAC,KAAc,KAAc,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,KAAK;MAEpF,QAAQ,GAAG,CAAC,KAAc,EAAE,SAAS,GAAG,CAAC,KAAc,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,IAAI,UAAU;MAE9G,OAAO,GAAG,CAAC,KAA8B;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE;QAChD,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE;YAC7B,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,KAAK,KAAK,EAAE;gBACpC,OAAO,KAAK,CAAC;aACb;SACD;KACD;SAAM;QACN,OAAO,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;KAC1B;IACD,OAAO,IAAI,CAAC;AACb,EAAE;MAKW,kBAAkB,GAAG,IAAI,KAAK,CAAC,aAAa;;MClB5C,cAAc,GAAG,CAA+C,IAAQ,EAAE,GAAO;IAC7F,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE;QAC3B,IAAI,CAAC,KAAK,GAAG,CAAC,GAAiB,KAAK,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,KAAK,CAAC,GAAG,CAAC,CAAC;KACpD;AACF,EAAE;IAIS,UAAU,GAAe,cAAc;AAClD,IAAI;IACH,UAAU,GAAG,YAAkC,CAAC;AACjD,CAAC;AAAC,OAAO,CAAC,EAAE;IACX,UAAU,GAAG,YAAY,CAAC;AAC3B,CAAC;MAMY,iBAAiB,GAAG,CAAC,OAAoB,EAAE,OAAoB,EAAE,QAAgB;IAC7F,IAAI,OAAO,IAAI,OAAO,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QACvD,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,QAAQ,IAAI,CAAC,CAAC;QAC9D,IAAI,OAAO,EAAE;YACZ,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;SAC7B;KACD;AACF,EAAE;MAOW,cAAc,GAAG,CAAC,KAAc,KAAK,KAAK,KAAK;;;;","names":[],"sources":["src/schema/validators/common.ts","src/schema/utils/reuse.ts"],"sourcesContent":["export const isObject = (value: unknown): boolean => typeof value === 'object' && value !== null;\n\nexport const isString = (value: unknown, minLength = 0): boolean => typeof value === 'string' && value.length >= minLength;\n\nexport const isStyle = (style?: Record<string, string>): boolean => {\n\tif (typeof style === 'object' && style !== null) {\n\t\tfor (const property in style) {\n\t\t\tif (isString(property, 1) === false) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t} else {\n\t\treturn isString(style, 1);\n\t}\n\treturn true;\n};\n\n/**\n * Fix event instance for state changes.\n */\nexport const STATE_CHANGE_EVENT = new Event('StateChange');\n","import { isObject } from '../validators';\n\nexport const propagateFocus = <H extends HTMLElement, R extends HTMLElement>(host?: H, ref?: R) => {\n\tif (isObject(host) && host) {\n\t\thost.focus = (ops: FocusOptions) => ref?.focus(ops);\n\t}\n};\n\nconst PROCESS_ENVS = ['development', 'production', 'test'] as const;\ntype ProcessEnv = (typeof PROCESS_ENVS)[number];\nexport let processEnv: ProcessEnv = 'development';\ntry {\n\tprocessEnv = process.env.NODE_ENV as ProcessEnv;\n} catch (e) {\n\tprocessEnv = 'production';\n}\n\n/**\n * This function is used to handle the slot content by\n * moving a DOM element to a defined slot element.\n */\nexport const handleSlotContent = (hostRef: HTMLElement, slotRef: HTMLElement, slotName: string) => {\n\tif (hostRef && slotRef && typeof slotName === 'string') {\n\t\tconst content = hostRef.querySelector(`[slot=\"${slotName}\"]`);\n\t\tif (content) {\n\t\t\tslotRef.appendChild(content);\n\t\t}\n\t}\n};\n\n/**\n * This function is used to check if a label is an empty string.\n * @param label The label of the slot\n * @returns True if the label is an empty string\n */\nexport const showExpertSlot = (label: unknown) => label === '';\n"],"version":3}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as l,F as e}from"./index-22a31dab.js";const n=({accessKey:n,label:t})=>{let[s,...a]=t.split(n);return 0===a.length&&(n=n.toUpperCase(),[s,...a]=t.split(n)),0===a.length&&(n=n.toLowerCase(),[s,...a]=t.split(n)),l(e,null,s,a.length?l(e,null,l("u",null,n),a.join(n)):null)};export{n as I};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as t}from"./reuse-b66836de.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=O(l)),[l,O(l)]}function v(t){const e=O(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 R(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 O(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),s=y(l),c=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[s]/2-i[s]/2;let h;switch(c){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,s=r.filter(Boolean),c=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,c),d=o,m={},h=0;for(let n=0;n<s.length;n++){const{name:r,fn:p}=s[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,c))),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:s,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=d(e,t),p=S(h),g=s[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(s.floating)),boundary:a,rootBoundary:f,strategy:c})),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(s.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:s,rect:w,offsetParent:x,strategy:c}):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,T=R?"top":"left",A=R?"bottom":"right",L=R?"clientHeight":"clientWidth",E=r.reference[v]+r.reference[x]-w[x]-r.floating[v],D=w[x]-r.reference[x],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=O?O[L]:0;C&&await(null==l.isElement?void 0:l.isElement(O))||(C=c.floating[L]||r.floating[v]);const H=E/2-D/2,P=C/2-b[v]/2-1,F=s(h[T],P),k=s(h[A],P),W=F,$=C-b[v]-k,B=C/2-b[v]/2+H,_=u(W,B,$),z=!a.arrow&&null!=p(i)&&B!==_&&r.reference[v]/2-(B<W?F:k)-b[v]/2<0,K=z?B<W?B-W:B-$:0;return{[x]:w[x]+K,data:{[x]:_,centerOffset:B-_-K,...z&&{alignmentOffset:K}},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:s,placement:c,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=s.autoPlacement)?void 0:n.index)||0,T=v[R];if(null==T)return{};const A=x(T,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(c!==T)return{reset:{placement:v[0]}};const L=[b[m(T)],b[A[0]],b[A[1]]],E=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:T,overflows:L}],D=v[R+1];if(D)return{data:{index:R+1,overflows:E},reset:{placement:D}};const O=E.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])),H=O.filter((t=>t[2].slice(0,p(t[0])?2:3).every((t=>t<=0)))),P=(null==(r=H[0])?void 0:r[0])||O[0][0];return P!==c?{data:{index:R+1,overflows:E},reset:{placement:P}}:{}}}},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:s,platform:c,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 T=m(i),A=w(s),L=m(s)===s,E=await(null==c.isRTL?void 0:c.isRTL(a.floating)),D=h||(L||!y?[O(s)]:v(s)),C="none"!==g;!h&&C&&D.push(...R(s,y,g,E));const H=[s,...D],P=await $(e,b),S=[];let F=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&S.push(P[T]),u){const t=x(i,l,E);S.push(P[t[0]],P[t[1]])}if(F=[...F,{placement:i,overflows:S}],!S.every((t=>t<=0))){var k,W;const t=((null==(k=r.flip)?void 0:k.index)||0)+1,e=H[t];if(e)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 B;const t=null==(B=F.filter((t=>{if(C){const e=w(t.placement);return e===A||"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:B[0];t&&(n=t);break}case"initialPlacement":n=s}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 L(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 j(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(L(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=j(h),g=D(L(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,s=o?t.right:e.right;return{top:i,bottom:r,left:l,right:s,width:s-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),s=p(n),c="y"===w(n),a=["left","top"].includes(l)?-1:1,f=r&&c?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return s&&"number"==typeof y&&(g="end"===s?-1*y:y),c?{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:s}=e,c=await N(e,t);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,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:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=d(t,e),a={x:n,y:o},f=await $(e,c),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=s.fn({...e,[g]:y,[p]:x});return{...v,data:{x:v.x-n,y:v.y-o}}}}},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:s=0,mainAxis:c=!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(s,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){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){const{placement:n,rects:o,platform:r,elements:l}=e,{apply:c=(()=>{}),...a}=d(t,e),f=await $(e,a),u=m(n),h=p(n),g="y"===w(n),{width:y,height:x}=o.floating;let v,b;"top"===u||"bottom"===u?(v=u,b=h===(await(null==r.isRTL?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(b=u,v="end"===h?"top":"bottom");const R=x-f.top-f.bottom,T=y-f.left-f.right,A=s(x-f[v],R),L=s(y-f[b],T),E=!e.middlewareData.shift;let D=A,O=L;if(g?O=h||E?s(L,T):T:D=h||E?s(A,R):R,E&&!h){const t=i(f.left,0),e=i(f.right,0),n=i(f.top,0),o=i(f.bottom,0);g?O=y-2*(0!==t||0!==e?t+e:i(f.left,f.right)):D=x-2*(0!==n||0!==o?n+o:i(f.top,f.bottom))}await c({...e,availableWidth:O,availableHeight:D});const C=await r.getDimensions(l.floating);return y!==C.width||x!==C.height?{reset:{rects:!0}}:{}}}};function Y(t){return J(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function G(t){var e;return null==(e=(J(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function J(t){return t instanceof Node||t instanceof _(t).Node}function K(t){return t instanceof Element||t instanceof _(t).Element}function Q(t){return t instanceof HTMLElement||t instanceof _(t).HTMLElement}function U(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof _(t).ShadowRoot)}function Z(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=rt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function tt(t){return["table","td","th"].includes(Y(t))}function nt(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function et(t){const e=st(),n=rt(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function ot(t){let e=lt(t);for(;Q(e)&&!it(e);){if(nt(e))return null;if(et(e))return e;e=lt(e)}return null}function st(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function it(t){return["html","body","#document"].includes(Y(t))}function rt(t){return _(t).getComputedStyle(t)}function ct(t){return K(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function lt(t){if("html"===Y(t))return t;const e=t.assignedSlot||t.parentNode||U(t)&&t.host||G(t);return U(e)?e.host:e}function at(t){const e=lt(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:Q(e)&&Z(e)?e:at(e)}function ft(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=_(i);return r?e.concat(l,l.visualViewport||[],Z(i)?i:[],l.frameElement&&n?ft(l.frameElement):[]):e.concat(i,ft(i,[],n))}function ut(t){const e=rt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=Q(t),l=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=r(n)!==l||r(o)!==s;return c&&(n=l,o=s),{width:n,height:o,$:c}}function dt(t){return K(t)?t:t.contextElement}function mt(t){const e=dt(t);if(!Q(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=ut(e);let c=(s?r(n.width):n.width)/o,a=(s?r(n.height):n.height)/i;return c&&Number.isFinite(c)||(c=1),a&&Number.isFinite(a)||(a=1),{x:c,y:a}}const pt=l(0);function ht(t){const e=_(t);return st()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:pt}function yt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==_(t))&&e}function wt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=dt(t);let s=l(1);e&&(o?K(o)&&(s=mt(o)):s=mt(t));const c=yt(r,n,o)?ht(r):l(0);let a=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(r){const t=_(r),e=o&&K(o)?_(o):o;let n=t,i=n.frameElement;for(;i&&o&&e!==n;){const t=mt(i),e=i.getBoundingClientRect(),o=rt(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=_(i),i=n.frameElement}}return D({width:u,height:d,x:a,y:f})}function gt(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,s=G(o),c=!!e&&nt(e.floating);if(o===s||c&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=Q(o);if((d||!d&&!r)&&(("body"!==Y(o)||Z(s))&&(a=ct(o)),Q(o))){const t=wt(o);f=mt(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x,y:n.y*f.y-a.scrollTop*f.y+u.y}}function xt(t){return Array.from(t.getClientRects())}function vt(t){return wt(G(t)).left+ct(t).scrollLeft}function bt(t){const e=G(t),n=ct(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 s=-n.scrollLeft+vt(t);const c=-n.scrollTop;return"rtl"===rt(o).direction&&(s+=i(e.clientWidth,o.clientWidth)-r),{width:r,height:l,x:s,y:c}}function At(t,e){const n=_(t),o=G(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,s=0,c=0;if(i){r=i.width,l=i.height;const t=st();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:r,height:l,x:s,y:c}}function Rt(t,e){const n=wt(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=Q(t)?mt(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function Ot(t,e,n){let o;if("viewport"===e)o=At(t,n);else if("document"===e)o=bt(G(t));else if(K(e))o=Rt(e,n);else{const n=ht(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return D(o)}function kt(t,e){const n=lt(t);return!(n===e||!K(n)||it(n))&&("fixed"===rt(n).position||kt(n,e))}function St(t,e){const n=e.get(t);if(n)return n;let o=ft(t,[],!1).filter((t=>K(t)&&"body"!==Y(t))),i=null;const r="fixed"===rt(t).position;let l=r?lt(t):t;for(;K(l)&&!it(l);){const e=rt(l),n=et(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||Z(l)&&!n&&kt(t,l))?o=o.filter((t=>t!==l)):i=e,l=lt(l)}return e.set(t,o),o}function Dt(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===n?nt(e)?[]:St(e,this._c):[].concat(n),o],c=l[0],a=l.reduce(((t,n)=>{const o=Ot(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}),Ot(e,c,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Ft(t){const{width:e,height:n}=ut(t);return{width:e,height:n}}function Pt(t,e,n){const o=Q(e),i=G(e),r="fixed"===n,s=wt(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const a=l(0);if(o||!o&&!r)if(("body"!==Y(e)||Z(i))&&(c=ct(e)),o){const t=wt(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&(a.x=vt(i));return{x:s.left+c.scrollLeft-a.x,y:s.top+c.scrollTop-a.y,width:s.width,height:s.height}}function $t(t){return"static"===rt(t).position}function Tt(t,e){return Q(t)&&"fixed"!==rt(t).position?e?e(t):t.offsetParent:null}function Ct(t,e){const n=_(t);if(nt(t))return n;if(!Q(t)){let e=lt(t);for(;e&&!it(e);){if(K(e)&&!$t(e))return e;e=lt(e)}return n}let o=Tt(t,e);for(;o&&tt(o)&&$t(o);)o=Tt(o,e);return o&&it(o)&&$t(o)&&!et(o)?n:o||ot(t)||n}const Et=async function(t){const e=this.getOffsetParent||Ct,n=this.getDimensions,o=await n(t.floating);return{reference:Pt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function zt(t){return"rtl"===rt(t).direction}const Bt={convertOffsetParentRelativeRectToViewportRelativeRect:gt,getDocumentElement:G,getClippingRect:Dt,getOffsetParent:Ct,getElementRects:Et,getClientRects:xt,getDimensions:Ft,getScale:mt,isElement:K,isRTL:zt};function Ht(t,e){let n,o=null;const r=G(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{left:d,top:m,width:h,height:p}=t.getBoundingClientRect();if(f||e(),!h||!p)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+h))+"px "+-c(r.clientHeight-(m+p))+"px "+-c(d)+"px",threshold:i(0,s(1,u))||1};let y=!0;function w(t){const e=t[0].intersectionRatio;if(e!==u){if(!y)return a();e?a(!1,e):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}y=!1}try{o=new IntersectionObserver(w,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(w,g)}o.observe(t)}(!0),l}function Mt(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,a=dt(t),f=i||r?[...a?ft(a):[],...ft(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&s?Ht(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&&!c&&h.observe(a),h.observe(e));let p=c?wt(t):null;return c&&function e(){const o=wt(t);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||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,c&&cancelAnimationFrame(d)}}const Lt=q,jt=W,It=z,Nt=T,qt=(t,e,n)=>{const o=new Map,i={platform:Bt,...n},r={...i.platform,_c:o};return P(t,e,{...i,platform:r})},Wt=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,s;if("test"!==t){const t=[Lt(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),It(),jt()];o&&t.push(Nt({element:o}));const{x:c,y:a,middlewareData:f,placement:u}=await qt(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${c}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===(s=f.arrow)||void 0===s?void 0:s.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{Wt as a,Mt as b};
4
+ import{p as t}from"./reuse-108ee8f5.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=O(l)),[l,O(l)]}function v(t){const e=O(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 R(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 O(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),s=y(l),c=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[s]/2-i[s]/2;let h;switch(c){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,s=r.filter(Boolean),c=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,c),d=o,m={},h=0;for(let n=0;n<s.length;n++){const{name:r,fn:p}=s[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,c))),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:s,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:h=0}=d(e,t),p=S(h),g=s[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(s.floating)),boundary:a,rootBoundary:f,strategy:c})),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(s.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:s,rect:w,offsetParent:x,strategy:c}):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,T=R?"top":"left",A=R?"bottom":"right",L=R?"clientHeight":"clientWidth",E=r.reference[v]+r.reference[x]-w[x]-r.floating[v],D=w[x]-r.reference[x],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(f));let C=O?O[L]:0;C&&await(null==l.isElement?void 0:l.isElement(O))||(C=c.floating[L]||r.floating[v]);const H=E/2-D/2,P=C/2-b[v]/2-1,F=s(h[T],P),k=s(h[A],P),W=F,$=C-b[v]-k,B=C/2-b[v]/2+H,_=u(W,B,$),z=!a.arrow&&null!=p(i)&&B!==_&&r.reference[v]/2-(B<W?F:k)-b[v]/2<0,K=z?B<W?B-W:B-$:0;return{[x]:w[x]+K,data:{[x]:_,centerOffset:B-_-K,...z&&{alignmentOffset:K}},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:s,placement:c,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=s.autoPlacement)?void 0:n.index)||0,T=v[R];if(null==T)return{};const A=x(T,l,await(null==a.isRTL?void 0:a.isRTL(f.floating)));if(c!==T)return{reset:{placement:v[0]}};const L=[b[m(T)],b[A[0]],b[A[1]]],E=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:T,overflows:L}],D=v[R+1];if(D)return{data:{index:R+1,overflows:E},reset:{placement:D}};const O=E.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])),H=O.filter((t=>t[2].slice(0,p(t[0])?2:3).every((t=>t<=0)))),P=(null==(r=H[0])?void 0:r[0])||O[0][0];return P!==c?{data:{index:R+1,overflows:E},reset:{placement:P}}:{}}}},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:s,platform:c,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 T=m(i),A=w(s),L=m(s)===s,E=await(null==c.isRTL?void 0:c.isRTL(a.floating)),D=h||(L||!y?[O(s)]:v(s)),C="none"!==g;!h&&C&&D.push(...R(s,y,g,E));const H=[s,...D],P=await $(e,b),S=[];let F=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&S.push(P[T]),u){const t=x(i,l,E);S.push(P[t[0]],P[t[1]])}if(F=[...F,{placement:i,overflows:S}],!S.every((t=>t<=0))){var k,W;const t=((null==(k=r.flip)?void 0:k.index)||0)+1,e=H[t];if(e)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 B;const t=null==(B=F.filter((t=>{if(C){const e=w(t.placement);return e===A||"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:B[0];t&&(n=t);break}case"initialPlacement":n=s}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 L(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 j(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(L(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=j(h),g=D(L(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,s=o?t.right:e.right;return{top:i,bottom:r,left:l,right:s,width:s-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),s=p(n),c="y"===w(n),a=["left","top"].includes(l)?-1:1,f=r&&c?-1:1,u=d(e,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return s&&"number"==typeof y&&(g="end"===s?-1*y:y),c?{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:s}=e,c=await N(e,t);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,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:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=d(t,e),a={x:n,y:o},f=await $(e,c),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=s.fn({...e,[g]:y,[p]:x});return{...v,data:{x:v.x-n,y:v.y-o}}}}},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:s=0,mainAxis:c=!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(s,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){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){const{placement:n,rects:o,platform:r,elements:l}=e,{apply:c=(()=>{}),...a}=d(t,e),f=await $(e,a),u=m(n),h=p(n),g="y"===w(n),{width:y,height:x}=o.floating;let v,b;"top"===u||"bottom"===u?(v=u,b=h===(await(null==r.isRTL?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(b=u,v="end"===h?"top":"bottom");const R=x-f.top-f.bottom,T=y-f.left-f.right,A=s(x-f[v],R),L=s(y-f[b],T),E=!e.middlewareData.shift;let D=A,O=L;if(g?O=h||E?s(L,T):T:D=h||E?s(A,R):R,E&&!h){const t=i(f.left,0),e=i(f.right,0),n=i(f.top,0),o=i(f.bottom,0);g?O=y-2*(0!==t||0!==e?t+e:i(f.left,f.right)):D=x-2*(0!==n||0!==o?n+o:i(f.top,f.bottom))}await c({...e,availableWidth:O,availableHeight:D});const C=await r.getDimensions(l.floating);return y!==C.width||x!==C.height?{reset:{rects:!0}}:{}}}};function Y(t){return J(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function G(t){var e;return null==(e=(J(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function J(t){return t instanceof Node||t instanceof _(t).Node}function K(t){return t instanceof Element||t instanceof _(t).Element}function Q(t){return t instanceof HTMLElement||t instanceof _(t).HTMLElement}function U(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof _(t).ShadowRoot)}function Z(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=rt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function tt(t){return["table","td","th"].includes(Y(t))}function nt(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function et(t){const e=st(),n=rt(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function ot(t){let e=lt(t);for(;Q(e)&&!it(e);){if(nt(e))return null;if(et(e))return e;e=lt(e)}return null}function st(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function it(t){return["html","body","#document"].includes(Y(t))}function rt(t){return _(t).getComputedStyle(t)}function ct(t){return K(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function lt(t){if("html"===Y(t))return t;const e=t.assignedSlot||t.parentNode||U(t)&&t.host||G(t);return U(e)?e.host:e}function at(t){const e=lt(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:Q(e)&&Z(e)?e:at(e)}function ft(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=_(i);return r?e.concat(l,l.visualViewport||[],Z(i)?i:[],l.frameElement&&n?ft(l.frameElement):[]):e.concat(i,ft(i,[],n))}function ut(t){const e=rt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=Q(t),l=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=r(n)!==l||r(o)!==s;return c&&(n=l,o=s),{width:n,height:o,$:c}}function dt(t){return K(t)?t:t.contextElement}function mt(t){const e=dt(t);if(!Q(e))return l(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=ut(e);let c=(s?r(n.width):n.width)/o,a=(s?r(n.height):n.height)/i;return c&&Number.isFinite(c)||(c=1),a&&Number.isFinite(a)||(a=1),{x:c,y:a}}const pt=l(0);function ht(t){const e=_(t);return st()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:pt}function yt(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==_(t))&&e}function wt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=dt(t);let s=l(1);e&&(o?K(o)&&(s=mt(o)):s=mt(t));const c=yt(r,n,o)?ht(r):l(0);let a=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(r){const t=_(r),e=o&&K(o)?_(o):o;let n=t,i=n.frameElement;for(;i&&o&&e!==n;){const t=mt(i),e=i.getBoundingClientRect(),o=rt(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=_(i),i=n.frameElement}}return D({width:u,height:d,x:a,y:f})}function gt(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,s=G(o),c=!!e&&nt(e.floating);if(o===s||c&&r)return n;let a={scrollLeft:0,scrollTop:0},f=l(1);const u=l(0),d=Q(o);if((d||!d&&!r)&&(("body"!==Y(o)||Z(s))&&(a=ct(o)),Q(o))){const t=wt(o);f=mt(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+u.x,y:n.y*f.y-a.scrollTop*f.y+u.y}}function xt(t){return Array.from(t.getClientRects())}function vt(t){return wt(G(t)).left+ct(t).scrollLeft}function bt(t){const e=G(t),n=ct(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 s=-n.scrollLeft+vt(t);const c=-n.scrollTop;return"rtl"===rt(o).direction&&(s+=i(e.clientWidth,o.clientWidth)-r),{width:r,height:l,x:s,y:c}}function At(t,e){const n=_(t),o=G(t),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,s=0,c=0;if(i){r=i.width,l=i.height;const t=st();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:r,height:l,x:s,y:c}}function Rt(t,e){const n=wt(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=Q(t)?mt(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}function Ot(t,e,n){let o;if("viewport"===e)o=At(t,n);else if("document"===e)o=bt(G(t));else if(K(e))o=Rt(e,n);else{const n=ht(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return D(o)}function kt(t,e){const n=lt(t);return!(n===e||!K(n)||it(n))&&("fixed"===rt(n).position||kt(n,e))}function St(t,e){const n=e.get(t);if(n)return n;let o=ft(t,[],!1).filter((t=>K(t)&&"body"!==Y(t))),i=null;const r="fixed"===rt(t).position;let l=r?lt(t):t;for(;K(l)&&!it(l);){const e=rt(l),n=et(l);n||"fixed"!==e.position||(i=null);(r?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||Z(l)&&!n&&kt(t,l))?o=o.filter((t=>t!==l)):i=e,l=lt(l)}return e.set(t,o),o}function Dt(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const l=[..."clippingAncestors"===n?nt(e)?[]:St(e,this._c):[].concat(n),o],c=l[0],a=l.reduce(((t,n)=>{const o=Ot(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}),Ot(e,c,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Ft(t){const{width:e,height:n}=ut(t);return{width:e,height:n}}function Pt(t,e,n){const o=Q(e),i=G(e),r="fixed"===n,s=wt(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const a=l(0);if(o||!o&&!r)if(("body"!==Y(e)||Z(i))&&(c=ct(e)),o){const t=wt(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&(a.x=vt(i));return{x:s.left+c.scrollLeft-a.x,y:s.top+c.scrollTop-a.y,width:s.width,height:s.height}}function $t(t){return"static"===rt(t).position}function Tt(t,e){return Q(t)&&"fixed"!==rt(t).position?e?e(t):t.offsetParent:null}function Ct(t,e){const n=_(t);if(nt(t))return n;if(!Q(t)){let e=lt(t);for(;e&&!it(e);){if(K(e)&&!$t(e))return e;e=lt(e)}return n}let o=Tt(t,e);for(;o&&tt(o)&&$t(o);)o=Tt(o,e);return o&&it(o)&&$t(o)&&!et(o)?n:o||ot(t)||n}const Et=async function(t){const e=this.getOffsetParent||Ct,n=this.getDimensions,o=await n(t.floating);return{reference:Pt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function zt(t){return"rtl"===rt(t).direction}const Bt={convertOffsetParentRelativeRectToViewportRelativeRect:gt,getDocumentElement:G,getClippingRect:Dt,getOffsetParent:Ct,getElementRects:Et,getClientRects:xt,getDimensions:Ft,getScale:mt,isElement:K,isRTL:zt};function Ht(t,e){let n,o=null;const r=G(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{left:d,top:m,width:h,height:p}=t.getBoundingClientRect();if(f||e(),!h||!p)return;const g={rootMargin:-c(m)+"px "+-c(r.clientWidth-(d+h))+"px "+-c(r.clientHeight-(m+p))+"px "+-c(d)+"px",threshold:i(0,s(1,u))||1};let y=!0;function w(t){const e=t[0].intersectionRatio;if(e!==u){if(!y)return a();e?a(!1,e):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}y=!1}try{o=new IntersectionObserver(w,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(w,g)}o.observe(t)}(!0),l}function Mt(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,a=dt(t),f=i||r?[...a?ft(a):[],...ft(e)]:[];f.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const u=a&&s?Ht(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&&!c&&h.observe(a),h.observe(e));let p=c?wt(t):null;return c&&function e(){const o=wt(t);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||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,c&&cancelAnimationFrame(d)}}const Lt=q,jt=W,It=z,Nt=T,qt=(t,e,n)=>{const o=new Map,i={platform:Bt,...n},r={...i.platform,_c:o};return P(t,e,{...i,platform:r})},Wt=async({floatingElement:e,referenceElement:n,arrowElement:o,align:i="top"})=>{var r,l,s;if("test"!==t){const t=[Lt(null!==(r=null==o?void 0:o.offsetHeight)&&void 0!==r?r:10),It(),jt()];o&&t.push(Nt({element:o}));const{x:c,y:a,middlewareData:f,placement:u}=await qt(n,e,{placement:i,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${c}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===(s=f.arrow)||void 0===s?void 0:s.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{Wt as a,Mt as b};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{s as o,j as t}from"./index-db4aa6e4.js";import{a}from"./index-22a31dab.js";import{L as s}from"./dev.utils-1ca991a2.js";a((a=>{try{a.shadowRoot instanceof ShadowRoot&&o(a,t(a))}catch(o){}return"default"})),import("./devtools-6ea9df1d.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((o=>{s.error(o)}));const e=()=>{},f=e,i=f;export{i as g};
@@ -1 +1 @@
1
- {"version":3,"names":["setMode","elm","shadowRoot","ShadowRoot","setThemeStyle","getThemeDetails","error","import","then","devTools","initialize","catch","Log","globalScripts","appGlobalScript"],"sources":["src/global/script.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from 'adopted-style-sheets';\n\nimport { Log } from '../schema';\nimport { setMode } from '@stencil/core';\n\nsetMode((elm) => {\n\ttry {\n\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t}\n\t} catch (error) {\n\t\t/**\n\t\t * Try is needed for SSR.\n\t\t * - no HTMLElement is available\n\t\t * - no ShadowRoot is available\n\t\t */\n\t}\n\treturn 'default';\n});\n\nimport('./devtools')\n\t.then((devTools) => {\n\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\tdevTools.initialize();\n\t\t}\n\t})\n\t.catch((error) => {\n\t\tLog.error(error);\n\t});\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\n"],"mappings":";;;mIAKAA,GAASC,IACR,IACC,GAAIA,EAAIC,sBAAsBC,WAAY,CACzCC,EAAcH,EAAKI,EAAgBJ,G,EAEnC,MAAOK,G,CAOT,MAAO,SAAS,IAGjBC,OAAO,0BACLC,MAAMC,IACN,UAAWA,IAAa,UAAYA,IAAa,aAAeA,EAASC,aAAe,WAAY,CACnGD,EAASC,Y,KAGVC,OAAOL,IACPM,EAAIN,MAAMA,EAAM,I,yBC1BN,MAACO,EAAgBC,S","ignoreList":[]}
1
+ {"version":3,"names":["setMode","elm","shadowRoot","ShadowRoot","setThemeStyle","getThemeDetails","error","import","then","devTools","initialize","catch","Log","globalScripts","appGlobalScript"],"sources":["src/global/script.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from 'adopted-style-sheets';\n\nimport { Log } from '../schema';\nimport { setMode } from '@stencil/core';\n\nsetMode((elm) => {\n\ttry {\n\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t}\n\t} catch (error) {\n\t\t/**\n\t\t * Try is needed for SSR.\n\t\t * - no HTMLElement is available\n\t\t * - no ShadowRoot is available\n\t\t */\n\t}\n\treturn 'default';\n});\n\nimport('./devtools')\n\t.then((devTools) => {\n\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\tdevTools.initialize();\n\t\t}\n\t})\n\t.catch((error) => {\n\t\tLog.error(error);\n\t});\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\n"],"mappings":";;;8HAKAA,GAASC,IACR,IACC,GAAIA,EAAIC,sBAAsBC,WAAY,CACzCC,EAAcH,EAAKI,EAAgBJ,G,EAEnC,MAAOK,G,CAOT,MAAO,SAAS,IAGjBC,OAAO,0BACLC,MAAMC,IACN,UAAWA,IAAa,UAAYA,IAAa,aAAeA,EAASC,aAAe,WAAY,CACnGD,EAASC,Y,KAGVC,OAAOL,IACPM,EAAIN,MAAMA,EAAM,I,yBC1BN,MAACO,EAAgBC,S","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ let l="kol-abbr",t="kol-accordion",e="kol-alert",o="kol-alert-wc",k="kol-avatar",a="kol-avatar-wc",s="kol-badge",n="kol-breadcrumb",i="kol-button-group",r="kol-button-group-wc",p="kol-button-link",u="kol-button",c="kol-button-wc",b="kol-card",d="kol-details",w="kol-drawer",g="kol-form",m="kol-heading",v="kol-heading-wc",x="kol-icon",f="kol-image",h="kol-indented-text",q="kol-input-checkbox",y="kol-input-color",j="kol-input-date",z="kol-input-email",K="kol-input-file",A="kol-input-number",B="kol-input-password",C="kol-input-radio",D="kol-input-range",E="kol-input",F="kol-input-text",G="kol-kolibri",H="kol-link-button",I="kol-link-group",J="kol-link",L="kol-link-wc",M="kol-logo",N="kol-modal",O="kol-nav",P="kol-pagination",Q="kol-popover-wc",R="kol-progress",S="kol-quote",T="kol-select",U="kol-skip-nav",V="kol-span-wc",W="kol-spin",X="kol-split-button",Y="kol-symbol",Z="kol-table-stateful",$="kol-table-stateless",_="kol-table-stateless-wc",ll="kol-table",tl="kol-tabs",el="kol-textarea",ol="kol-toast-container",kl="kol-tooltip-wc",al="kol-tree-item",sl="kol-tree-item-wc",nl="kol-tree",il="kol-tree-wc",rl="kol-version";const pl=pl=>{l=pl(l),t=pl(t),e=pl(e),o=pl(o),k=pl(k),a=pl(a),s=pl(s),n=pl(n),i=pl(i),r=pl(r),p=pl(p),u=pl(u),c=pl(c),b=pl(b),d=pl(d),w=pl(w),g=pl(g),m=pl(m),v=pl(v),x=pl(x),f=pl(f),h=pl(h),q=pl(q),y=pl(y),j=pl(j),z=pl(z),K=pl(K),A=pl(A),B=pl(B),C=pl(C),D=pl(D),E=pl(E),F=pl(F),G=pl(G),H=pl(H),I=pl(I),J=pl(J),L=pl(L),M=pl(M),N=pl(N),O=pl(O),P=pl(P),Q=pl(Q),R=pl(R),S=pl(S),T=pl(T),U=pl(U),V=pl(V),W=pl(W),X=pl(X),Y=pl(Y),Z=pl(Z),$=pl($),_=pl(_),ll=pl(ll),tl=pl(tl),el=pl(el),ol=pl(ol),pl(kl),kl=pl(kl),al=pl(al),sl=pl(sl),nl=pl(nl),il=pl(il),rl=pl(rl)};export{ol as K,kl as a,v as b,c,o as d,a as e,V as f,x as g,J as h,r as i,h as j,e as k,E as l,g as m,L as n,u as o,T as p,Z as q,_ as r,pl as s,P as t,il as u,sl as v,s as w,q as x,nl as y,al as z};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["KolAbbrTag","KolAccordionTag","KolAlertTag","KolAlertWcTag","KolAvatarTag","KolAvatarWcTag","KolBadgeTag","KolBreadcrumbTag","KolButtonGroupTag","KolButtonGroupWcTag","KolButtonLinkTag","KolButtonTag","KolButtonWcTag","KolCardTag","KolDetailsTag","KolDrawerTag","KolFormTag","KolHeadingTag","KolHeadingWcTag","KolIconTag","KolImageTag","KolIndentedTextTag","KolInputCheckboxTag","KolInputColorTag","KolInputDateTag","KolInputEmailTag","KolInputFileTag","KolInputNumberTag","KolInputPasswordTag","KolInputRadioTag","KolInputRangeTag","KolInputWcTag","KolInputTextTag","KolKolibriTag","KolLinkButtonTag","KolLinkGroupTag","KolLinkTag","KolLinkWcTag","KolLogoTag","KolModalTag","KolNavTag","KolPaginationTag","KolPopoverWcTag","KolProgressTag","KolQuoteTag","KolSelectTag","KolSkipNavTag","KolSpanWcTag","KolSpinTag","KolSplitButtonTag","KolSymbolTag","KolTableStatefulTag","KolTableStatelessTag","KolTableStatelessWcTag","KolTableTag","KolTabsTag","KolTextareaTag","KolToastContainerTag","KolTooltipWcTag","KolTreeItemTag","KolTreeItemWcTag","KolTreeTag","KolTreeWcTag","KolVersionTag","setCustomTagNames","transformTagName"],"sources":["src/core/component-names.ts"],"sourcesContent":["export let KolAbbrTag = 'kol-abbr' as const;\nexport let KolAccordionTag = 'kol-accordion' as const;\nexport let KolAlertTag = 'kol-alert' as const;\nexport let KolAlertWcTag = 'kol-alert-wc' as const;\nexport let KolAvatarTag = 'kol-avatar' as const;\nexport let KolAvatarWcTag = 'kol-avatar-wc' as const;\nexport let KolBadgeTag = 'kol-badge' as const;\nexport let KolBreadcrumbTag = 'kol-breadcrumb' as const;\nexport let KolButtonGroupTag = 'kol-button-group' as const;\nexport let KolButtonGroupWcTag = 'kol-button-group-wc' as const;\nexport let KolButtonLinkTag = 'kol-button-link' as const;\nexport let KolButtonTag = 'kol-button' as const;\nexport let KolButtonWcTag = 'kol-button-wc' as const;\nexport let KolCardTag = 'kol-card' as const;\nexport let KolDetailsTag = 'kol-details' as const;\nexport let KolDrawerTag = 'kol-drawer' as const;\nexport let KolFormTag = 'kol-form' as const;\nexport let KolHeadingTag = 'kol-heading' as const;\nexport let KolHeadingWcTag = 'kol-heading-wc' as const;\nexport let KolIconTag = 'kol-icon' as const;\nexport let KolImageTag = 'kol-image' as const;\nexport let KolIndentedTextTag = 'kol-indented-text' as const;\nexport let KolInputCheckboxTag = 'kol-input-checkbox' as const;\nexport let KolInputColorTag = 'kol-input-color' as const;\nexport let KolInputDateTag = 'kol-input-date' as const;\nexport let KolInputEmailTag = 'kol-input-email' as const;\nexport let KolInputFileTag = 'kol-input-file' as const;\nexport let KolInputNumberTag = 'kol-input-number' as const;\nexport let KolInputPasswordTag = 'kol-input-password' as const;\nexport let KolInputRadioTag = 'kol-input-radio' as const;\nexport let KolInputRangeTag = 'kol-input-range' as const;\nexport let KolInputWcTag = 'kol-input' as const;\nexport let KolInputTextTag = 'kol-input-text' as const;\nexport let KolKolibriTag = 'kol-kolibri' as const;\nexport let KolLinkButtonTag = 'kol-link-button' as const;\nexport let KolLinkGroupTag = 'kol-link-group' as const;\nexport let KolLinkTag = 'kol-link' as const;\nexport let KolLinkWcTag = 'kol-link-wc' as const;\nexport let KolLogoTag = 'kol-logo' as const;\nexport let KolModalTag = 'kol-modal' as const;\nexport let KolNavTag = 'kol-nav' as const;\nexport let KolPaginationTag = 'kol-pagination' as const;\nexport let KolPopoverWcTag = 'kol-popover-wc' as const;\nexport let KolProgressTag = 'kol-progress' as const;\nexport let KolQuoteTag = 'kol-quote' as const;\nexport let KolSelectTag = 'kol-select' as const;\nexport let KolSkipNavTag = 'kol-skip-nav' as const;\nexport let KolSpanWcTag = 'kol-span-wc' as const;\nexport let KolSpinTag = 'kol-spin' as const;\nexport let KolSplitButtonTag = 'kol-split-button' as const;\nexport let KolSymbolTag = 'kol-symbol' as const;\nexport let KolTableStatefulTag = 'kol-table-stateful';\nexport let KolTableStatelessTag = 'kol-table-stateless' as const;\nexport let KolTableStatelessWcTag = 'kol-table-stateless-wc' as const;\nexport let KolTableTag = 'kol-table' as const;\nexport let KolTabsTag = 'kol-tabs' as const;\nexport let KolTextareaTag = 'kol-textarea' as const;\nexport let KolToastContainerTag = 'kol-toast-container' as const;\nexport let KolToolbarTag = 'kol-toolbar' as const;\nexport let KolTooltipWcTag = 'kol-tooltip-wc' as const;\nexport let KolTreeItemTag = 'kol-tree-item' as const;\nexport let KolTreeItemWcTag = 'kol-tree-item-wc' as const;\nexport let KolTreeTag = 'kol-tree' as const;\nexport let KolTreeWcTag = 'kol-tree-wc' as const;\nexport let KolVersionTag = 'kol-version' as const;\n\nexport const setCustomTagNames = (transformTagName: (tagName: string) => string) => {\n\tKolAbbrTag = transformTagName(KolAbbrTag as string) as 'kol-abbr';\n\tKolAccordionTag = transformTagName(KolAccordionTag as string) as 'kol-accordion';\n\tKolAlertTag = transformTagName(KolAlertTag as string) as 'kol-alert';\n\tKolAlertWcTag = transformTagName(KolAlertWcTag as string) as 'kol-alert-wc';\n\tKolAvatarTag = transformTagName(KolAvatarTag as string) as 'kol-avatar';\n\tKolAvatarWcTag = transformTagName(KolAvatarWcTag as string) as 'kol-avatar-wc';\n\tKolBadgeTag = transformTagName(KolBadgeTag as string) as 'kol-badge';\n\tKolBreadcrumbTag = transformTagName(KolBreadcrumbTag as string) as 'kol-breadcrumb';\n\tKolButtonGroupTag = transformTagName(KolButtonGroupTag as string) as 'kol-button-group';\n\tKolButtonGroupWcTag = transformTagName(KolButtonGroupWcTag as string) as 'kol-button-group-wc';\n\tKolButtonLinkTag = transformTagName(KolButtonLinkTag as string) as 'kol-button-link';\n\tKolButtonTag = transformTagName(KolButtonTag as string) as 'kol-button';\n\tKolButtonWcTag = transformTagName(KolButtonWcTag as string) as 'kol-button-wc';\n\tKolCardTag = transformTagName(KolCardTag as string) as 'kol-card';\n\tKolDetailsTag = transformTagName(KolDetailsTag as string) as 'kol-details';\n\tKolDrawerTag = transformTagName(KolDrawerTag as string) as 'kol-drawer';\n\tKolFormTag = transformTagName(KolFormTag as string) as 'kol-form';\n\tKolHeadingTag = transformTagName(KolHeadingTag as string) as 'kol-heading';\n\tKolHeadingWcTag = transformTagName(KolHeadingWcTag as string) as 'kol-heading-wc';\n\tKolIconTag = transformTagName(KolIconTag as string) as 'kol-icon';\n\tKolImageTag = transformTagName(KolImageTag as string) as 'kol-image';\n\tKolIndentedTextTag = transformTagName(KolIndentedTextTag as string) as 'kol-indented-text';\n\tKolInputCheckboxTag = transformTagName(KolInputCheckboxTag as string) as 'kol-input-checkbox';\n\tKolInputColorTag = transformTagName(KolInputColorTag as string) as 'kol-input-color';\n\tKolInputDateTag = transformTagName(KolInputDateTag as string) as 'kol-input-date';\n\tKolInputEmailTag = transformTagName(KolInputEmailTag as string) as 'kol-input-email';\n\tKolInputFileTag = transformTagName(KolInputFileTag as string) as 'kol-input-file';\n\tKolInputNumberTag = transformTagName(KolInputNumberTag as string) as 'kol-input-number';\n\tKolInputPasswordTag = transformTagName(KolInputPasswordTag as string) as 'kol-input-password';\n\tKolInputRadioTag = transformTagName(KolInputRadioTag as string) as 'kol-input-radio';\n\tKolInputRangeTag = transformTagName(KolInputRangeTag as string) as 'kol-input-range';\n\tKolInputWcTag = transformTagName(KolInputWcTag as string) as 'kol-input';\n\tKolInputTextTag = transformTagName(KolInputTextTag as string) as 'kol-input-text';\n\tKolKolibriTag = transformTagName(KolKolibriTag as string) as 'kol-kolibri';\n\tKolLinkButtonTag = transformTagName(KolLinkButtonTag as string) as 'kol-link-button';\n\tKolLinkGroupTag = transformTagName(KolLinkGroupTag as string) as 'kol-link-group';\n\tKolLinkTag = transformTagName(KolLinkTag as string) as 'kol-link';\n\tKolLinkWcTag = transformTagName(KolLinkWcTag as string) as 'kol-link-wc';\n\tKolLogoTag = transformTagName(KolLogoTag as string) as 'kol-logo';\n\tKolModalTag = transformTagName(KolModalTag as string) as 'kol-modal';\n\tKolNavTag = transformTagName(KolNavTag as string) as 'kol-nav';\n\tKolPaginationTag = transformTagName(KolPaginationTag as string) as 'kol-pagination';\n\tKolPopoverWcTag = transformTagName(KolPopoverWcTag as string) as 'kol-popover-wc';\n\tKolProgressTag = transformTagName(KolProgressTag as string) as 'kol-progress';\n\tKolQuoteTag = transformTagName(KolQuoteTag as string) as 'kol-quote';\n\tKolSelectTag = transformTagName(KolSelectTag as string) as 'kol-select';\n\tKolSkipNavTag = transformTagName(KolSkipNavTag as string) as 'kol-skip-nav';\n\tKolSpanWcTag = transformTagName(KolSpanWcTag as string) as 'kol-span-wc';\n\tKolSpinTag = transformTagName(KolSpinTag as string) as 'kol-spin';\n\tKolSplitButtonTag = transformTagName(KolSplitButtonTag as string) as 'kol-split-button';\n\tKolSymbolTag = transformTagName(KolSymbolTag as string) as 'kol-symbol';\n\tKolTableStatefulTag = transformTagName(KolTableStatefulTag) as 'kol-table-stateful';\n\tKolTableStatelessTag = transformTagName(KolTableStatelessTag as string) as 'kol-table-stateless';\n\tKolTableStatelessWcTag = transformTagName(KolTableStatelessWcTag as string) as 'kol-table-stateless-wc';\n\tKolTableTag = transformTagName(KolTableTag as string) as 'kol-table';\n\tKolTabsTag = transformTagName(KolTabsTag as string) as 'kol-tabs';\n\tKolTextareaTag = transformTagName(KolTextareaTag as string) as 'kol-textarea';\n\tKolToastContainerTag = transformTagName(KolToastContainerTag as string) as 'kol-toast-container';\n\tKolToolbarTag = transformTagName(KolTooltipWcTag as string) as 'kol-toolbar';\n\tKolTooltipWcTag = transformTagName(KolTooltipWcTag as string) as 'kol-tooltip-wc';\n\tKolTreeItemTag = transformTagName(KolTreeItemTag as string) as 'kol-tree-item';\n\tKolTreeItemWcTag = transformTagName(KolTreeItemWcTag as string) as 'kol-tree-item-wc';\n\tKolTreeTag = transformTagName(KolTreeTag as string) as 'kol-tree';\n\tKolTreeWcTag = transformTagName(KolTreeWcTag as string) as 'kol-tree-wc';\n\tKolVersionTag = transformTagName(KolVersionTag as string) as 'kol-version';\n};\n"],"mappings":";;;AAAO,IAAIA,EAAa,WACjB,IAAIC,EAAkB,gB,IAClBC,EAAc,Y,IACdC,EAAgB,eACpB,IAAIC,EAAe,a,IACfC,EAAiB,gB,IACjBC,EAAc,YAClB,IAAIC,EAAmB,iBACvB,IAAIC,EAAoB,mB,IACpBC,EAAsB,sBAC1B,IAAIC,EAAmB,kB,IACnBC,EAAe,a,IACfC,EAAiB,gBACrB,IAAIC,EAAa,WACjB,IAAIC,EAAgB,cACpB,IAAIC,EAAe,a,IACfC,EAAa,WACjB,IAAIC,EAAgB,c,IAChBC,EAAkB,iB,IAClBC,EAAa,WACjB,IAAIC,EAAc,Y,IACdC,EAAqB,oB,IACrBC,EAAsB,qBAC1B,IAAIC,EAAmB,kBACvB,IAAIC,EAAkB,iBACtB,IAAIC,EAAmB,kBACvB,IAAIC,EAAkB,iBACtB,IAAIC,EAAoB,mBACxB,IAAIC,EAAsB,qBAC1B,IAAIC,EAAmB,kBACvB,IAAIC,EAAmB,kB,IACnBC,EAAgB,YACpB,IAAIC,EAAkB,iBACtB,IAAIC,EAAgB,cACpB,IAAIC,EAAmB,kBACvB,IAAIC,EAAkB,iB,IAClBC,EAAa,W,IACbC,EAAe,cACnB,IAAIC,EAAa,WACjB,IAAIC,EAAc,YAClB,IAAIC,EAAY,U,IACZC,EAAmB,iBACvB,IAAIC,EAAkB,iBACtB,IAAIC,EAAiB,eACrB,IAAIC,EAAc,Y,IACdC,EAAe,aACnB,IAAIC,EAAgB,e,IAChBC,EAAe,cACnB,IAAIC,EAAa,WACjB,IAAIC,EAAoB,mBACxB,IAAIC,EAAe,a,IACfC,EAAsB,qBAC1B,IAAIC,EAAuB,sB,IACvBC,EAAyB,yBAC7B,IAAIC,GAAc,YAClB,IAAIC,GAAa,WACjB,IAAIC,GAAiB,e,IACjBC,GAAuB,sB,IAEvBC,GAAkB,iB,IAClBC,GAAiB,gB,IACjBC,GAAmB,mB,IACnBC,GAAa,W,IACbC,GAAe,cACnB,IAAIC,GAAgB,c,MAEdC,GAAqBC,KACjCjE,EAAaiE,GAAiBjE,GAC9BC,EAAkBgE,GAAiBhE,GACnCC,EAAc+D,GAAiB/D,GAC/BC,EAAgB8D,GAAiB9D,GACjCC,EAAe6D,GAAiB7D,GAChCC,EAAiB4D,GAAiB5D,GAClCC,EAAc2D,GAAiB3D,GAC/BC,EAAmB0D,GAAiB1D,GACpCC,EAAoByD,GAAiBzD,GACrCC,EAAsBwD,GAAiBxD,GACvCC,EAAmBuD,GAAiBvD,GACpCC,EAAesD,GAAiBtD,GAChCC,EAAiBqD,GAAiBrD,GAClCC,EAAaoD,GAAiBpD,GAC9BC,EAAgBmD,GAAiBnD,GACjCC,EAAekD,GAAiBlD,GAChCC,EAAaiD,GAAiBjD,GAC9BC,EAAgBgD,GAAiBhD,GACjCC,EAAkB+C,GAAiB/C,GACnCC,EAAa8C,GAAiB9C,GAC9BC,EAAc6C,GAAiB7C,GAC/BC,EAAqB4C,GAAiB5C,GACtCC,EAAsB2C,GAAiB3C,GACvCC,EAAmB0C,GAAiB1C,GACpCC,EAAkByC,GAAiBzC,GACnCC,EAAmBwC,GAAiBxC,GACpCC,EAAkBuC,GAAiBvC,GACnCC,EAAoBsC,GAAiBtC,GACrCC,EAAsBqC,GAAiBrC,GACvCC,EAAmBoC,GAAiBpC,GACpCC,EAAmBmC,GAAiBnC,GACpCC,EAAgBkC,GAAiBlC,GACjCC,EAAkBiC,GAAiBjC,GACnCC,EAAgBgC,GAAiBhC,GACjCC,EAAmB+B,GAAiB/B,GACpCC,EAAkB8B,GAAiB9B,GACnCC,EAAa6B,GAAiB7B,GAC9BC,EAAe4B,GAAiB5B,GAChCC,EAAa2B,GAAiB3B,GAC9BC,EAAc0B,GAAiB1B,GAC/BC,EAAYyB,GAAiBzB,GAC7BC,EAAmBwB,GAAiBxB,GACpCC,EAAkBuB,GAAiBvB,GACnCC,EAAiBsB,GAAiBtB,GAClCC,EAAcqB,GAAiBrB,GAC/BC,EAAeoB,GAAiBpB,GAChCC,EAAgBmB,GAAiBnB,GACjCC,EAAekB,GAAiBlB,GAChCC,EAAaiB,GAAiBjB,GAC9BC,EAAoBgB,GAAiBhB,GACrCC,EAAee,GAAiBf,GAChCC,EAAsBc,GAAiBd,GACvCC,EAAuBa,GAAiBb,GACxCC,EAAyBY,GAAiBZ,GAC1CC,GAAcW,GAAiBX,IAC/BC,GAAaU,GAAiBV,IAC9BC,GAAiBS,GAAiBT,IAClCC,GAAuBQ,GAAiBR,IACxBQ,GAAiBP,IACjCA,GAAkBO,GAAiBP,IACnCC,GAAiBM,GAAiBN,IAClCC,GAAmBK,GAAiBL,IACpCC,GAAaI,GAAiBJ,IAC9BC,GAAeG,GAAiBH,IAChCC,GAAgBE,GAAiBF,GAAyC,S","ignoreList":[]}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{v as s,I as t}from"./controller-cbe5ff75.js";import{w as e}from"./prop.validators-db70e3c4.js";import{v as o}from"./suggestions-bca6edb5.js";const i=["text","search","url","tel"];class r extends t{constructor(t,o,s){super(t,o,s),this.component=t}validateSuggestions(t){o(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,o,s){super(t,o,s),this.hasError=!1,this.component=t}validateType(t){e(this.component,"_type",(t=>"string"==typeof t&&i.includes(t)),new Set([`String {${i.join(", ")}`]),t)}validateHasCounter(t){s(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateType(this.component._type),this.validateHasCounter(this.component._hasCounter)}}export{r as I,a};
4
+ import{v as s,I as t}from"./controller-618eff75.js";import{w as e}from"./prop.validators-db70e3c4.js";import{v as o}from"./suggestions-bca6edb5.js";const i=["text","search","url","tel"];class r extends t{constructor(t,o,s){super(t,o,s),this.component=t}validateSuggestions(t){o(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions)}}class a extends r{constructor(t,o,s){super(t,o,s),this.hasError=!1,this.component=t}validateType(t){e(this.component,"_type",(t=>"string"==typeof t&&i.includes(t)),new Set([`String {${i.join(", ")}`]),t)}validateHasCounter(t){s(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateType(this.component._type),this.validateHasCounter(this.component._hasCounter)}}export{r as I,a};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{b as t,w as i,k as s,i as a}from"./prop.validators-db70e3c4.js";import{I as e}from"./controller-icon-b6046f95.js";const h=(e,a)=>{t(e,"_hasCounter",a)},o=["default","visibility-toggle"],l=(t,e)=>{i(t,"_variant",(t=>"string"==typeof t&&o.includes(t)),new Set(o),e)};class r extends e{constructor(t,e,a){super(t,e,a),this.component=t}validateAutoComplete(t){i(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),t)}validateHasCounter(t){h(this.component,t)}validateVariant(t){l(this.component,t)}validateMaxLength(t){s(this.component,"_maxLength",t,{min:0})}validatePattern(t){a(this.component,"_pattern",t)}validatePlaceholder(t){a(this.component,"_placeholder",t)}validateReadOnly(e){t(this.component,"_readOnly",e)}validateRequired(e){t(this.component,"_required",e)}validateValue(t){a(this.component,"_value",t),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{r as I,h as v};
4
+ import{b as t,w as i,k as s,i as a}from"./prop.validators-db70e3c4.js";import{I as e}from"./controller-icon-1fda7e70.js";const h=(e,a)=>{t(e,"_hasCounter",a)},o=["default","visibility-toggle"],l=(t,e)=>{i(t,"_variant",(t=>"string"==typeof t&&o.includes(t)),new Set(o),e)};class r extends e{constructor(t,e,a){super(t,e,a),this.component=t}validateAutoComplete(t){i(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),t)}validateHasCounter(t){h(this.component,t)}validateVariant(t){l(this.component,t)}validateMaxLength(t){s(this.component,"_maxLength",t,{min:0})}validatePattern(t){a(this.component,"_pattern",t)}validatePlaceholder(t){a(this.component,"_placeholder",t)}validateReadOnly(e){t(this.component,"_readOnly",e)}validateRequired(e){t(this.component,"_required",e)}validateValue(t){a(this.component,"_value",t),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{r as I,h as v};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{m as e}from"./component-names-068dc2ae.js";import{q as o,K as t,j as n}from"./prop.validators-db70e3c4.js";import{a as i,L as s}from"./dev.utils-1ca991a2.js";const f=t=>{for(i()&&(n("↓ Search form element start."),s.debug(t));t instanceof HTMLElement&&"FORM"!==t.tagName&&t.tagName!==e.toUpperCase();){try{t=t.parentElement instanceof HTMLElement?t.parentElement:t.parentNode instanceof ShadowRoot?t.parentNode.host:null}catch(e){}i()&&(s.debug(t),n("↑ Search form element finished."))}return t},a=(n={})=>{var a,s;const i=f(n.form);if(i instanceof HTMLElement){const n=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)o(n,i),i.dispatchEvent(n);else if(i.tagName===e.toUpperCase()){o(n,t.querySelector("form",i));const e=i;"function"==typeof(null===(a=e._on)||void 0===a?void 0:a.onReset)&&(null===(s=e._on)||void 0===s||s.onReset(n))}}},l=(a={})=>{const s=f(a.form);if(s instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:s});if("FORM"===s.tagName)i()&&!1===s.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 s.requestSubmit?s.requestSubmit():(o(a,s),s.dispatchEvent(a))}));else if(s.tagName===e.toUpperCase()){o(a,t.querySelector("form",s));const e=s;setTimeout((()=>{var t,o;"function"==typeof(null===(t=e._on)||void 0===t?void 0:t.onSubmit)&&(null===(o=e._on)||void 0===o||o.onSubmit(a))}))}}};export{a,l as p};
4
+ import{m as e}from"./component-names-3f4a13bb.js";import{q as o,K as t,j as n}from"./prop.validators-db70e3c4.js";import{a as i,L as s}from"./dev.utils-1ca991a2.js";const f=t=>{for(i()&&(n("↓ Search form element start."),s.debug(t));t instanceof HTMLElement&&"FORM"!==t.tagName&&t.tagName!==e.toUpperCase();){try{t=t.parentElement instanceof HTMLElement?t.parentElement:t.parentNode instanceof ShadowRoot?t.parentNode.host:null}catch(e){}i()&&(s.debug(t),n("↑ Search form element finished."))}return t},a=(n={})=>{var a,s;const i=f(n.form);if(i instanceof HTMLElement){const n=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===i.tagName)o(n,i),i.dispatchEvent(n);else if(i.tagName===e.toUpperCase()){o(n,t.querySelector("form",i));const e=i;"function"==typeof(null===(a=e._on)||void 0===a?void 0:a.onReset)&&(null===(s=e._on)||void 0===s||s.onReset(n))}}},l=(a={})=>{const s=f(a.form);if(s instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:s});if("FORM"===s.tagName)i()&&!1===s.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 s.requestSubmit?s.requestSubmit():(o(a,s),s.dispatchEvent(a))}));else if(s.tagName===e.toUpperCase()){o(a,t.querySelector("form",s));const e=s;setTimeout((()=>{var t,o;"function"==typeof(null===(t=e._on)||void 0===t?void 0:t.onSubmit)&&(null===(o=e._on)||void 0===o||o.onSubmit(a))}))}}};export{a,l as p};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{I as o}from"./controller-fd9ca791.js";import{i as s}from"./icons-e32ba753.js";import{o as t,p as i,w as e}from"./prop.validators-db70e3c4.js";import{i as r}from"./reuse-b66836de.js";const c=(o,t)=>{const e=o;"object"==typeof e&&null!==e&&(r(e.right,1)&&(e.right={icon:e.right}),r(e.left,1)&&(e.left={icon:e.left}),t.set("_icons",e))};class a extends o{constructor(o,t,e){super(o,t,e),this.component=o}validateIcon(o){this.validateIcons(o)}validateIcons(o){t(o,(()=>{try{o=i(o)}catch(o){}e(this.component,"_icons",(o=>"object"==typeof o&&null!==o&&(r(o.left,1)||s(o.left)||r(o.right,1)||s(o.right))),new Set(["KoliBriHorizontalIcon"]),o,{hooks:{beforePatch:c},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{a as I};
4
+ import{I as o}from"./controller-fd9ca791.js";import{i as s}from"./icons-05788852.js";import{o as t,p as i,w as e}from"./prop.validators-db70e3c4.js";import{i as r}from"./reuse-108ee8f5.js";const c=(o,t)=>{const e=o;"object"==typeof e&&null!==e&&(r(e.right,1)&&(e.right={icon:e.right}),r(e.left,1)&&(e.left={icon:e.left}),t.set("_icons",e))};class a extends o{constructor(o,t,e){super(o,t,e),this.component=o}validateIcon(o){this.validateIcons(o)}validateIcons(o){t(o,(()=>{try{o=i(o)}catch(o){}e(this.component,"_icons",(o=>"object"==typeof o&&null!==o&&(r(o.left,1)||s(o.left)||r(o.right,1)||s(o.right))),new Set(["KoliBriHorizontalIcon"]),o,{hooks:{beforePatch:c},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{a as I};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{E as e}from"./index-b2c61df0.js";import{p as t}from"./reuse-b66836de.js";import{L as n,g as i,s as o,b as s,c as r,d as a}from"./dev.utils-1ca991a2.js";const c=()=>{const e=i().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(o(t.includes("dev-mode=true")),s(t.includes("experimental-mode=true")),r(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(),n.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${e.kolibriVersion}\n\t`,{forceLog:!0})},f=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),n.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 m=()=>Math.floor(16777215*Math.random()).toString(16);"test"===t&&(m=()=>"nonce");export{l as i,m as n,f as r};
4
+ import{E as e}from"./index-22a31dab.js";import{p as t}from"./reuse-108ee8f5.js";import{L as n,g as i,s as o,b as s,c as a,d as r}from"./dev.utils-1ca991a2.js";const c=()=>{const e=i().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const t=e.getAttribute("content");"string"==typeof t&&(o(t.includes("dev-mode=true")),s(t.includes("experimental-mode=true")),a(t.includes("color-contrast-analysis=true")))}},u=()=>{let e=r().KoliBri;return void 0===e&&(e={},Object.defineProperty(r(),"KoliBri",{value:e,writable:!1})),e},l=()=>{c(),n.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${e.kolibriVersion}\n\t`,{forceLog:!0})},f=()=>{!0!==u().adviceShown&&(Object.defineProperty(u(),"adviceShown",{get:function(){return!0}}),n.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 m=()=>Math.floor(16777215*Math.random()).toString(16);"test"===t&&(m=()=>"nonce");export{l as i,m as n,f as r};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{i as t,r as e}from"./dev.utils-a14ff412.js";import{e as o,g as s,L as a,a as r,f as i,d as l}from"./dev.utils-1ca991a2.js";import{z as n,A as d,v as f,B as c,C as p,p as m,D as L}from"./prop.validators-db70e3c4.js";import"./index-b2c61df0.js";import"./reuse-b66836de.js";import"./index-db4aa6e4.js";const u=()=>{let t=l().KoliBri;return void 0===t&&(t={},Object.defineProperty(l(),"KoliBri",{value:t,writable:!1})),t};function v(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){a.debug(`KoliBri property ${t} is already bind.`)}}const h=(t,e)=>a.debug(`${t} ${e?"":"not "}activated`),b=()=>{if(t(),o()){e(),v("a11yColorContrast",d),v("querySelector",f),v("querySelectorAll",c),v("querySelectorColors",p),v("utils",(function(){return n})),v("parseJson",m),v("stringifyJson",L);const t=s().body,a=s().createElement("svg");if(a.setAttribute("aria-label","KoliBri-DevTools"),a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("role","toolbar"),a.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),a.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>',s().body.appendChild(a),h("Development mode",o()),h("Experimental mode",r()),h("Color contrast analysis",i()),i()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{n.queryHtmlElementColors(s().createElement("div"),d(t),!1,!1)}),1e4)}),2500)}}};export{b as initialize};
4
+ import{i as t,r as e}from"./dev.utils-167104e2.js";import{e as o,g as s,L as a,a as r,f as i,d as l}from"./dev.utils-1ca991a2.js";import{z as n,A as d,v as f,B as p,C as c,p as m,D as L}from"./prop.validators-db70e3c4.js";import"./index-22a31dab.js";import"./reuse-108ee8f5.js";import"./index-db4aa6e4.js";const u=()=>{let t=l().KoliBri;return void 0===t&&(t={},Object.defineProperty(l(),"KoliBri",{value:t,writable:!1})),t};function v(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){a.debug(`KoliBri property ${t} is already bind.`)}}const h=(t,e)=>a.debug(`${t} ${e?"":"not "}activated`),g=()=>{if(t(),o()){e(),v("a11yColorContrast",d),v("querySelector",f),v("querySelectorAll",p),v("querySelectorColors",c),v("utils",(function(){return n})),v("parseJson",m),v("stringifyJson",L);const t=s().body,a=s().createElement("svg");if(a.setAttribute("aria-label","KoliBri-DevTools"),a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("role","toolbar"),a.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),a.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>',s().body.appendChild(a),h("Development mode",o()),h("Experimental mode",r()),h("Color contrast analysis",i()),i()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{n.queryHtmlElementColors(s().createElement("div"),d(t),!1,!1)}),1e4)}),2500)}}};export{g as initialize};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{w as o,t as n,o as e,p as t,s}from"./prop.validators-db70e3c4.js";import{c as a}from"./reuse-b66836de.js";const c=(e,n)=>{o(e,"_on",(o=>"object"==typeof o&&null!==o),new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange}"]),n)},r=(e,n)=>{o(e,"_on",(o=>"object"==typeof o&&null!==o),new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),n)},l=(o,a,r)=>{n(a,(()=>{e(a,(()=>{void 0===a&&(a=[]);try{a=t(a)}catch(o){}Array.isArray(a)&&a.every((o=>"object"==typeof o&&null!==o))&&s(o,"_data",a,r)}))}))},u=(o,a,r)=>{n(a,(()=>{e(a,(()=>{void 0===a&&(a=[]);try{a=t(a)}catch(o){}Array.isArray(a)&&a.every((o=>"object"==typeof o&&null!==o))&&s(o,"_dataFoot",a,r)}))}))},f=(o,e)=>{(o=>o&&a(o)&&"function"==typeof o.label&&(!o.selectedKeys||Array.isArray(o.selectedKeys)))("string"==typeof e?(()=>{try{return t(e)}catch(o){return}})():e)&&s(o,"_selection",e)};var i;!function(o){o.onBlur="onBlur",o.onChange="onChange",o.onClick="onClick",o.onDblClick="onDblClick",o.onFocus="onFocus",o.onInput="onInput",o.onKeyDown="onKeyDown",o.onKeyPress="onKeyPress",o.onKeyUp="onKeyUp",o.onMouseDown="onMouseDown",o.onMouseMove="onMouseMove",o.onMouseOut="onMouseOut",o.onMouseOver="onMouseOver",o.onMouseUp="onMouseUp",o.onReset="onReset",o.onSelect="onSelect",o.onSort="onSort",o.onSelectionChange="onSelectionChange",o.onSubmit="onSubmit"}(i||(i={}));export{i as E,u as a,f as b,r as c,c as d,l as v};
4
+ import{w as o,t as e,o as n,p as t,s}from"./prop.validators-db70e3c4.js";import{b as a}from"./reuse-108ee8f5.js";const c=(e,n)=>{o(e,"_on",(o=>"object"==typeof o&&null!==o),new Set(["TableCallbacksPropType {Events.onSort, Events.onSelectionChange}"]),n)},r=(e,n)=>{o(e,"_on",(o=>"object"==typeof o&&null!==o),new Set(["TableStatefulCallbacksPropType {Events.onSelectionChange}"]),n)},l=(o,a,r)=>{e(a,(()=>{n(a,(()=>{void 0===a&&(a=[]);try{a=t(a)}catch(o){}Array.isArray(a)&&a.every((o=>"object"==typeof o&&null!==o))&&s(o,"_data",a,r)}))}))},u=(o,a,r)=>{e(a,(()=>{n(a,(()=>{void 0===a&&(a=[]);try{a=t(a)}catch(o){}Array.isArray(a)&&a.every((o=>"object"==typeof o&&null!==o))&&s(o,"_dataFoot",a,r)}))}))},f=(o,e)=>{(o=>o&&a(o)&&"function"==typeof o.label&&(!o.selectedKeys||Array.isArray(o.selectedKeys)))("string"==typeof e?(()=>{try{return t(e)}catch(o){return}})():e)&&s(o,"_selection",e)};var i;!function(o){o.onBlur="onBlur",o.onChange="onChange",o.onClick="onClick",o.onDblClick="onDblClick",o.onFocus="onFocus",o.onInput="onInput",o.onKeyDown="onKeyDown",o.onKeyPress="onKeyPress",o.onKeyUp="onKeyUp",o.onMouseDown="onMouseDown",o.onMouseMove="onMouseMove",o.onMouseOut="onMouseOut",o.onMouseOver="onMouseOver",o.onMouseUp="onMouseUp",o.onReset="onReset",o.onSelect="onSelect",o.onSort="onSort",o.onSelectionChange="onSelectionChange",o.onSubmit="onSubmit"}(i||(i={}));export{i as E,u as a,f as b,r as c,c as d,l as v};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as r}from"./index-22a31dab.js";import{d as e}from"./component-names-3f4a13bb.js";const d=({_alert:d,_msg:i,_hideError:o,_id:a})=>r(e,Object.assign({"aria-hidden":"true",id:`${a}-error`,_alert:d,_type:"error",class:{error:!0,"visually-hidden":!0===o}},i),(null==i?void 0:i._description)||void 0);export{d as F};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ const e={error:"Fehler",warning:"Warnung",info:"Hinweis",success:"Erfolg",message:"Nachricht",close:"Schließen","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.",of:"von",characters:"Zeichen",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","change-order":"Sortierung von {{colLabel}} ändern","action-running":"Aktion wird ausgeführt...","action-done":"Aktion abgeschlossen",pagination:"Paginierung","page-first":"Direkt zur ersten Seite","page-back":"Eine Seite zurück","page-next":"Eine Seite weiter","page-last":"Direkt zur letzten Seite","entries-per-site":"Einträge pro Seite",page:"Seite","page-current":"Seite {{page}}","page-selected":"Seite {{page}} ist ausgewählt","page-per-site":"{{entries}} Einträge pro Seite","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren","logo-description":"Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}","open-link-in-tab":"Öffnet in neuem Tab.","kolibri-logo":"Logo von KoliBri","table-pagination-label":"Paginierung für die Tabelle {{label}}","avatar-alt":"Avatar von {{name}}","split-button-dropdown-label-open":"Optionen anzeigen","split-button-dropdown-label-close":"Optionen schließen","toast-close-all":"Alle schließen","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:",version:"Versionsnummer","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","table-selection-all":"Alle auswählen","table-selection-none":"Alle abwählen","table-selection-intermediate":"Alle auswählen bei teilweiser Auswahl",dropdown:"Auswahlliste","nav-label-open":"Untermenü zu {{label}} öffnen","nav-label-close":"Untermenü zu {{label}} schließen","close-alert":"Benachrichtigung {{label}} schließen","show-password":"einblenden","hide-password":"ausblenden"},n={error:"Error",warning:"Warning",info:"Note",success:"Success",message:"Message",close:"Close","form-description":"Form fields marked with an asterisk (*) are mandatory.",of:"of",characters:"characters",new:"New","no-entries":"No entries available.","change-order":"Change order of {{colLabel}}","action-running":"Action is running...","action-done":"Action done",pagination:"Pagination","page-first":"Directly to the first page","page-back":"One page back","page-next":"One page further","page-last":"Directly to the last page","entries-per-site":"Entries per page",page:"Page","page-current":"Page {{page}}","page-selected":"Page {{page}} is selected","page-per-site":"{{entries}} entries per page","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation","logo-description":"Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}","open-link-in-tab":"Opens in new tab.","kolibri-logo":"KoliBri logo","table-pagination-label":"Pagination for table {{label}}","avatar-alt":"Avatar of {{name}}","split-button-dropdown-label-open":"Show options","split-button-dropdown-label-close":"Hide options","toast-close-all":"Close all","error-list":"Error list","error-list-message":"Please correct the following errors",version:"Version number","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","table-selection-all":"Select all","table-selection-none":"Deselect all","table-selection-intermediate":"Select all with partial selection",dropdown:"Dropdown","nav-label-open":"Submenu for {{label}} open","nav-label-close":"Submenu for {{label}} close","close-alert":"Notification {{label}} close","show-password":"Show","hide-password":"Hide"},i=e=>Object.keys(e).reduce(((n,a)=>(n[`kol-${a}`]=e[a],n)),{}),t=new Set([e=>e("en",i(n)),n=>n("de",i(e))]),a=function(e,n,a){return e.split(n).join(a)};class o{constructor(e){this.resourceMap=new Map,this.language=null!=e?e:"de"}addTranslations(e){Array.isArray(e)?e=new Set(e):"function"==typeof e&&(e=new Set([e])),void 0!==e&&e.forEach((e=>e(((e,n)=>{let a=this.resourceMap.get(e);return a||(a=new Map,this.resourceMap.set(e,a)),Object.entries(n).forEach((([e,n])=>{n&&a.set(e,n)})),e}))))}setLanguage(e){this.language=e}translate(e,n){var i;let t=null===(i=this.resourceMap.get(this.language))||void 0===i?void 0:i.get(e);return t?(null==n?void 0:n.placeholders)&&Object.entries(n.placeholders).forEach((([e,n])=>{t=a(t,`{{${e}}}`,n)})):t=e,t}}let l;const r=()=>l,s=(e,n=t)=>(l=new o(e),l.addTranslations(n),l);export{r as g,s as i};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["locale_de","error","warning","info","success","message","close","of","characters","new","pagination","page","version","dropdown","locale_en","mapLocaleKeys","locale","Object","keys","reduce","a","c","TRANSLATIONS","Set","t","replaceAll","text","search","replacement","split","join","I18nService","constructor","initialLanguage","this","resourceMap","Map","language","addTranslations","translations","Array","isArray","undefined","forEach","l","resources","get","set","entries","k","v","setLanguage","lng","translate","key","options","result","_a","placeholders","i18n","getI18nInstance","initializeI18n"],"sources":["src/locales/de.ts","src/locales/en.ts","src/core/i18n.ts"],"sourcesContent":["export default {\n\terror: 'Fehler',\n\twarning: 'Warnung',\n\tinfo: 'Hinweis',\n\tsuccess: 'Erfolg',\n\tmessage: 'Nachricht',\n\tclose: 'Schließen',\n\t'form-description': 'Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.',\n\tof: 'von',\n\tcharacters: 'Zeichen',\n\tnew: 'Neu',\n\t'no-entries': 'Es sind keine Einträge vorhanden.',\n\t'change-order': 'Sortierung von {{colLabel}} ändern',\n\t'action-running': 'Aktion wird ausgeführt...',\n\t'action-done': 'Aktion abgeschlossen',\n\tpagination: 'Paginierung',\n\t'page-first': 'Direkt zur ersten Seite',\n\t'page-back': 'Eine Seite zurück',\n\t'page-next': 'Eine Seite weiter',\n\t'page-last': 'Direkt zur letzten Seite',\n\t'entries-per-site': 'Einträge pro Seite',\n\tpage: 'Seite',\n\t'page-current': 'Seite {{page}}',\n\t'page-selected': 'Seite {{page}} ist ausgewählt',\n\t'page-per-site': '{{entries}} Einträge pro Seite',\n\t'nav-maximize': 'Navigation maximieren',\n\t'nav-minimize': 'Navigation minimieren',\n\t'logo-description': 'Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}',\n\t'open-link-in-tab': 'Öffnet in neuem Tab.',\n\t'kolibri-logo': 'Logo von KoliBri',\n\t'table-pagination-label': 'Paginierung für die Tabelle {{label}}',\n\t'avatar-alt': 'Avatar von {{name}}',\n\t'split-button-dropdown-label-open': 'Optionen anzeigen',\n\t'split-button-dropdown-label-close': 'Optionen schließen',\n\t'toast-close-all': 'Alle schließen',\n\t'error-list': 'Fehlerliste',\n\t'error-list-message': 'Bitte korrigieren Sie folgende Fehler:',\n\tversion: 'Versionsnummer',\n\t'table-visible-range': 'Einträge {{start}} bis {{end}} von {{total}}',\n\t'table-selection-all': 'Alle auswählen',\n\t'table-selection-none': 'Alle abwählen',\n\t'table-selection-intermediate': 'Alle auswählen bei teilweiser Auswahl',\n\tdropdown: 'Auswahlliste',\n\t'nav-label-open': 'Untermenü zu {{label}} öffnen',\n\t'nav-label-close': 'Untermenü zu {{label}} schließen',\n\t'close-alert': 'Benachrichtigung {{label}} schließen',\n\t'show-password': 'einblenden',\n\t'hide-password': 'ausblenden',\n};\n","export default {\n\terror: 'Error',\n\twarning: 'Warning',\n\tinfo: 'Note',\n\tsuccess: 'Success',\n\tmessage: 'Message',\n\tclose: 'Close',\n\t'form-description': 'Form fields marked with an asterisk (*) are mandatory.',\n\tof: 'of',\n\tcharacters: 'characters',\n\tnew: 'New',\n\t'no-entries': 'No entries available.',\n\t'change-order': 'Change order of {{colLabel}}',\n\t'action-running': 'Action is running...',\n\t'action-done': 'Action done',\n\tpagination: 'Pagination',\n\t'page-first': 'Directly to the first page',\n\t'page-back': 'One page back',\n\t'page-next': 'One page further',\n\t'page-last': 'Directly to the last page',\n\t'entries-per-site': 'Entries per page',\n\tpage: 'Page',\n\t'page-current': 'Page {{page}}',\n\t'page-selected': 'Page {{page}} is selected',\n\t'page-per-site': '{{entries}} entries per page',\n\t'nav-maximize': 'Maximize navigation',\n\t'nav-minimize': 'Minimize navigation',\n\t'logo-description': 'Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}',\n\t'open-link-in-tab': 'Opens in new tab.',\n\t'kolibri-logo': 'KoliBri logo',\n\t'table-pagination-label': 'Pagination for table {{label}}',\n\t'avatar-alt': 'Avatar of {{name}}',\n\t'split-button-dropdown-label-open': 'Show options',\n\t'split-button-dropdown-label-close': 'Hide options',\n\t'toast-close-all': 'Close all',\n\t'error-list': 'Error list',\n\t'error-list-message': 'Please correct the following errors',\n\tversion: 'Version number',\n\t'table-visible-range': 'Entries {{start}} to {{end}} of {{total}}',\n\t'table-selection-all': 'Select all',\n\t'table-selection-none': 'Deselect all',\n\t'table-selection-intermediate': 'Select all with partial selection',\n\tdropdown: 'Dropdown',\n\t'nav-label-open': 'Submenu for {{label}} open',\n\t'nav-label-close': 'Submenu for {{label}} close',\n\t'close-alert': 'Notification {{label}} close',\n\t'show-password': 'Show',\n\t'hide-password': 'Hide',\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport locale_de from '../locales/de';\nimport locale_en from '../locales/en';\n\nexport type ResourcePrefix = 'Kol';\nexport type ComponentKeys = keyof typeof locale_de;\n\nconst mapLocaleKeys = (locale: { [K in ComponentKeys]: string }) =>\n\t(Object.keys(locale) as ComponentKeys[]).reduce((a, c) => ((a[`${'kol'}-${c}`] = locale[c]), a), {} as Generic.I18n.Map<ResourcePrefix, ComponentKeys>);\n\nconst TRANSLATIONS = new Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, ResourcePrefix, ComponentKeys>>([\n\t(t: (language: 'en', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('en', mapLocaleKeys(locale_en)),\n\t(t: (language: 'de', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('de', mapLocaleKeys(locale_de)),\n]);\n\ninterface ITranslationOptions {\n\t/**\n\t * Placeholders to insert into the text. Replacing {{key}} with the specified value if the \"key\".\n\t */\n\tplaceholders?: { [K: string]: string };\n}\n\n// String.replaceAll should be used but is only available with ECMAScript 2021.\nconst replaceAll = function (text: string, search: string, replacement: string) {\n\treturn text.split(search).join(replacement);\n};\n\ntype Resources = Map<string, string>;\n\nexport class I18nService {\n\tprivate resourceMap = new Map<Generic.I18n.Locale.ISO_639_1, Resources>();\n\tlanguage: Generic.I18n.Locale.ISO_639_1;\n\n\tpublic constructor(initialLanguage?: Generic.I18n.Locale.ISO_639_1) {\n\t\tthis.language = initialLanguage ?? 'de';\n\t}\n\n\t/**\n\t * Adds a resource bundle for the specified language.\n\t * @param lng the language the bundle is for\n\t * @param translationMap the translations of the given language\n\t */\n\tpublic addTranslations(\n\t\ttranslations?:\n\t\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>\n\t\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>[]\n\t\t\t| Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>>,\n\t) {\n\t\tif (Array.isArray(translations)) {\n\t\t\ttranslations = new Set(translations);\n\t\t} else if (typeof translations === 'function') {\n\t\t\ttranslations = new Set([translations]);\n\t\t}\n\n\t\tif (translations !== undefined) {\n\t\t\ttranslations.forEach((t) =>\n\t\t\t\tt((l, t) => {\n\t\t\t\t\tlet resources = this.resourceMap.get(l);\n\t\t\t\t\tif (!resources) {\n\t\t\t\t\t\tresources = new Map<string, string>();\n\t\t\t\t\t\tthis.resourceMap.set(l, resources);\n\t\t\t\t\t}\n\n\t\t\t\t\tObject.entries(t).forEach(([k, v]) => {\n\t\t\t\t\t\tif (v) {\n\t\t\t\t\t\t\tresources.set(k, v);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\treturn l;\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Set the current language.\n\t * @param lng the language the bundle is for\n\t */\n\tpublic setLanguage(lng: Generic.I18n.Locale.ISO_639_1) {\n\t\tthis.language = lng;\n\t}\n\n\t/**\n\t * Determines a human-readable translated text for the given resource key.\n\t * @param key the resource key\n\t * @param options optional translation parameters\n\t * @returns the translated text\n\t */\n\tpublic translate(key: string, options?: ITranslationOptions) {\n\t\tlet result = this.resourceMap.get(this.language)?.get(key);\n\t\tif (result) {\n\t\t\tif (options?.placeholders) {\n\t\t\t\tObject.entries(options.placeholders).forEach(([k, v]) => {\n\t\t\t\t\tresult = replaceAll(result!, `{{${k}}}`, v);\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tresult = key;\n\t\t}\n\t\treturn result;\n\t}\n}\n\nlet i18n: I18nService;\n\nexport const getI18nInstance = () => {\n\treturn i18n;\n};\n\nexport const initializeI18n = (\n\tlng: Generic.I18n.Locale.ISO_639_1,\n\ttranslations:\n\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>\n\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>[]\n\t\t| Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>> = TRANSLATIONS,\n) => {\n\ti18n = new I18nService(lng);\n\ti18n.addTranslations(translations);\n\treturn i18n;\n};\n"],"mappings":";;;AAAA,MAAAA,EAAe,CACdC,MAAO,SACPC,QAAS,UACTC,KAAM,UACNC,QAAS,SACTC,QAAS,YACTC,MAAO,YACP,mBAAoB,yFACpBC,GAAI,MACJC,WAAY,UACZC,IAAK,MACL,aAAc,oCACd,eAAgB,qCAChB,iBAAkB,4BAClB,cAAe,uBACfC,WAAY,cACZ,aAAc,0BACd,YAAa,oBACb,YAAa,oBACb,YAAa,2BACb,mBAAoB,qBACpBC,KAAM,QACN,eAAgB,iBAChB,gBAAiB,gCACjB,gBAAiB,iCACjB,eAAgB,wBAChB,eAAgB,wBAChB,mBAAoB,4EACpB,mBAAoB,uBACpB,eAAgB,mBAChB,yBAA0B,wCAC1B,aAAc,sBACd,mCAAoC,oBACpC,oCAAqC,qBACrC,kBAAmB,iBACnB,aAAc,cACd,qBAAsB,yCACtBC,QAAS,iBACT,sBAAuB,+CACvB,sBAAuB,iBACvB,uBAAwB,gBACxB,+BAAgC,wCAChCC,SAAU,eACV,iBAAkB,gCAClB,kBAAmB,mCACnB,cAAe,uCACf,gBAAiB,aACjB,gBAAiB,cC/ClB,MAAAC,EAAe,CACdb,MAAO,QACPC,QAAS,UACTC,KAAM,OACNC,QAAS,UACTC,QAAS,UACTC,MAAO,QACP,mBAAoB,yDACpBC,GAAI,KACJC,WAAY,aACZC,IAAK,MACL,aAAc,wBACd,eAAgB,+BAChB,iBAAkB,uBAClB,cAAe,cACfC,WAAY,aACZ,aAAc,6BACd,YAAa,gBACb,YAAa,mBACb,YAAa,4BACb,mBAAoB,mBACpBC,KAAM,OACN,eAAgB,gBAChB,gBAAiB,4BACjB,gBAAiB,+BACjB,eAAgB,sBAChB,eAAgB,sBAChB,mBAAoB,6EACpB,mBAAoB,oBACpB,eAAgB,eAChB,yBAA0B,iCAC1B,aAAc,qBACd,mCAAoC,eACpC,oCAAqC,eACrC,kBAAmB,YACnB,aAAc,aACd,qBAAsB,sCACtBC,QAAS,iBACT,sBAAuB,4CACvB,sBAAuB,aACvB,uBAAwB,eACxB,+BAAgC,oCAChCC,SAAU,WACV,iBAAkB,6BAClB,kBAAmB,8BACnB,cAAe,+BACf,gBAAiB,OACjB,gBAAiB,QCxClB,MAAME,EAAiBC,GACrBC,OAAOC,KAAKF,GAA4BG,QAAO,CAACC,EAAGC,KAAQD,EAAE,GAAG,SAASC,KAAOL,EAAOK,GAAKD,IAAI,IAElG,MAAME,EAAe,IAAIC,IAA8F,CACrHC,GAA0HA,EAAE,KAAMT,EAAcD,IAChJU,GAA0HA,EAAE,KAAMT,EAAcf,MAWlJ,MAAMyB,EAAa,SAAUC,EAAcC,EAAgBC,GAC1D,OAAOF,EAAKG,MAAMF,GAAQG,KAAKF,EAChC,E,MAIaG,EAIZ,WAAAC,CAAmBC,GAHXC,KAAAC,YAAc,IAAIC,IAIzBF,KAAKG,SAAWJ,IAAe,MAAfA,SAAe,EAAfA,EAAmB,I,CAQ7B,eAAAK,CACNC,GAKA,GAAIC,MAAMC,QAAQF,GAAe,CAChCA,EAAe,IAAIhB,IAAIgB,E,MACjB,UAAWA,IAAiB,WAAY,CAC9CA,EAAe,IAAIhB,IAAI,CAACgB,G,CAGzB,GAAIA,IAAiBG,UAAW,CAC/BH,EAAaI,SAASnB,GACrBA,GAAE,CAACoB,EAAGpB,KACL,IAAIqB,EAAYX,KAAKC,YAAYW,IAAIF,GACrC,IAAKC,EAAW,CACfA,EAAY,IAAIT,IAChBF,KAAKC,YAAYY,IAAIH,EAAGC,E,CAGzB5B,OAAO+B,QAAQxB,GAAGmB,SAAQ,EAAEM,EAAGC,MAC9B,GAAIA,EAAG,CACNL,EAAUE,IAAIE,EAAGC,E,KAGnB,OAAON,CAAC,K,EAUL,WAAAO,CAAYC,GAClBlB,KAAKG,SAAWe,C,CASV,SAAAC,CAAUC,EAAaC,G,MAC7B,IAAIC,GAASC,EAAAvB,KAAKC,YAAYW,IAAIZ,KAAKG,aAAS,MAAAoB,SAAA,SAAAA,EAAEX,IAAIQ,GACtD,GAAIE,EAAQ,CACX,GAAID,IAAO,MAAPA,SAAO,SAAPA,EAASG,aAAc,CAC1BzC,OAAO+B,QAAQO,EAAQG,cAAcf,SAAQ,EAAEM,EAAGC,MACjDM,EAAS/B,EAAW+B,EAAS,KAAKP,MAAOC,EAAE,G,MAGvC,CACNM,EAASF,C,CAEV,OAAOE,C,EAIT,IAAIG,E,MAESC,EAAkB,IACvBD,E,MAGKE,EAAiB,CAC7BT,EACAb,EAGoFjB,KAEpFqC,EAAO,IAAI5B,EAAYqB,GACvBO,EAAKrB,gBAAgBC,GACrB,OAAOoB,CAAI,S","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{g as e,i as r}from"./i18n-3dcfca85.js";import{p as s}from"./reuse-108ee8f5.js";let t=(t,s)=>{var a;return(null!==(a=e())&&void 0!==a?a:r("de")).translate(t,s)};"test"===s&&(t=e=>e);export{t};
@@ -0,0 +1 @@
1
+ {"version":3,"names":["translate","key","options","i18n","_a","getI18nInstance","initializeI18n","processEnv"],"sources":["src/i18n.ts"],"sourcesContent":["import type { ComponentKeys, ResourcePrefix } from './core/i18n';\nimport { getI18nInstance, initializeI18n } from './core/i18n';\nimport { processEnv } from './schema';\n\ntype Options = {\n\tcount?: number;\n\tplaceholders?: { [K: string]: string };\n};\n\nexport type TranslationKey = `${Lowercase<ResourcePrefix>}-${Lowercase<ComponentKeys>}`;\n\nexport let translate = (key: TranslationKey, options?: Options) => {\n\tconst i18n = getI18nInstance() ?? initializeI18n('de');\n\treturn i18n.translate(key, options);\n};\n\nif (processEnv === 'test') {\n\ttranslate = (key): string => key;\n}\n"],"mappings":";;;0FAWWA,EAAY,CAACC,EAAqBC,K,MAC5C,MAAMC,GAAOC,EAAAC,OAAiB,MAAAD,SAAA,EAAAA,EAAIE,EAAe,MACjD,OAAOH,EAAKH,UAAUC,EAAKC,EAAQ,EAGpC,GAAIK,IAAe,OAAQ,CAC1BP,EAAaC,GAAgBA,CAC9B,Q","ignoreList":[]}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{o,p as t,w as e}from"./prop.validators-db70e3c4.js";import{i,b as n,c as l}from"./reuse-b66836de.js";const c=(t,o,e)=>{l(e)?t[o]=e:i(e,1)&&(t[o]={icon:e})},s=t=>{let o={};return i(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(c(o,"top",t.top),c(o,"right",t.right),c(o,"bottom",t.bottom),c(o,"left",t.left)),o},f=t=>{var o,e,i;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===(i=t.nextState)||void 0===i||i.set("_icons",s(o))}},d=t=>"object"==typeof t&&null!==t&&(void 0===t.style||n(t.style))&&(void 0===t.label||i(t.label))&&i(t.icon,1),r=(l,n,c={})=>{o(n,(()=>{var o;try{n=t(n)}catch(o){}e(l,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||i(t,1)||"object"==typeof t&&null!==t&&(i(t.left,1)||d(t.left)||i(t.right,1)||d(t.right)||i(t.top,1)||d(t.top)||i(t.bottom,1)||d(t.bottom))}),new Set(["KoliBriIcon"]),n,Object.assign(Object.assign({},c),{defaultValue:{},hooks:{afterPatch:null===(o=c.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,i)=>{var l,n;"function"==typeof(null===(l=c.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(n=c.hooks)||void 0===n||n.beforePatch(t,o,e,i)),f(e)}}}))}))};export{d as i,r as v};
4
+ import{o,p as t,w as e}from"./prop.validators-db70e3c4.js";import{i,a as n,b as l}from"./reuse-108ee8f5.js";const c=(t,o,e)=>{l(e)?t[o]=e:i(e,1)&&(t[o]={icon:e})},s=t=>{let o={};return i(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(c(o,"top",t.top),c(o,"right",t.right),c(o,"bottom",t.bottom),c(o,"left",t.left)),o},f=t=>{var o,e,i;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===(i=t.nextState)||void 0===i||i.set("_icons",s(o))}},a=t=>"object"==typeof t&&null!==t&&(void 0===t.style||n(t.style))&&(void 0===t.label||i(t.label))&&i(t.icon,1),r=(l,n,c={})=>{o(n,(()=>{var o;try{n=t(n)}catch(o){}e(l,"_icons",(t=>{const o="object"==typeof t&&null!==t&&0===Object.keys(t).length;return null===t||o||i(t,1)||"object"==typeof t&&null!==t&&(i(t.left,1)||a(t.left)||i(t.right,1)||a(t.right)||i(t.top,1)||a(t.top)||i(t.bottom,1)||a(t.bottom))}),new Set(["KoliBriIcon"]),n,Object.assign(Object.assign({},c),{defaultValue:{},hooks:{afterPatch:null===(o=c.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,i)=>{var l,a;"function"==typeof(null===(l=c.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(a=c.hooks)||void 0===a||a.beforePatch(t,o,e,i)),f(e)}}}))}))};export{a as i,r as v};
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ const e="kolibri",t={allRenderFn:!0,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:!1,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.1.5-rc.0"};var l=Object.defineProperty,n=(e,t)=>{for(var n in t)l(e,n,{get:t[n],enumerable:!0})},s={},i="http://www.w3.org/2000/svg",o="http://www.w3.org/1999/xhtml",a=e=>null!=e,f=e=>"object"===(e=typeof e)||"function"===e;function c(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 u={};n(u,{err:()=>d,map:()=>h,ok:()=>v,unwrap:()=>p,unwrapErr:()=>m});var v=e=>({isOk:!0,isErr:!1,value:e}),d=e=>({isOk:!1,isErr:!0,value:e});function h(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>v(e))):v(n)}if(e.isErr){const t=e.value;return d(t)}throw"should never get here"}var le,ne,se,p=e=>{if(e.isOk)return e.value;throw e.value},m=e=>{if(e.isErr)return e.value;throw e.value},$=(e,t="")=>()=>{},y=(e,t)=>()=>{},w="r",b="o",g="s",S="t",k="s-id",C="sty-id",x="c-id",j="{visibility:hidden}.hydrated{visibility:inherit}",O="slot-fb{display:contents}slot-fb[hidden]{display:none}",R="http://www.w3.org/1999/xlink",T=(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&&!f(s))&&(s=String(s)),r&&i?a[a.length-1].t+=s:a.push(r?L(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,F);const d=L(e,null);return d.l=t,a.length>0&&(d.i=a),d.o=o,d.u=l,d},L=(e,t)=>{const n={v:0,h:e,t:t,p:null,i:null,l:null,o:null,u:null};return n},D={},E=e=>e&&e.h===D,F={forEach:(e,t)=>e.map(M).forEach(t),map:(e,t)=>e.map(M).map(t).map(P)},M=e=>({vattrs:e.l,vchildren:e.i,vkey:e.o,vname:e.u,vtag:e.h,vtext:e.t}),P=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),T(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.l=e.vattrs,t.i=e.vchildren,t.o=e.vkey,t.u=e.vname,t},A=(e,t,n,s)=>{const o=$("hydrateClient",t),l=e.shadowRoot,r=[],i=l?[]:null,a=s.m=L(t,null);ut.$||U(ct.body,ut.$=new Map),e[k]=n,e.removeAttribute(k),N(a,r,[],i,e,e,n),r.map((e=>{const n=e.S+"."+e.k,s=ut.$.get(n),o=e.p;s&&vt&&""===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)),ut.$.delete(n)})),l&&i.map((e=>{e&&l.appendChild(e)})),o()},N=(e,t,n,s,o,l,r)=>{let i,a,c,d;if(1===l.nodeType){for(i=l.getAttribute(x),i&&(a=i.split("."),a[0]!==r&&"0"!==a[0]||(c={v:0,S:a[0],k:a[1],C:a[2],j:a[3],h:l.tagName.toLowerCase(),p:l,l:null,i:null,o:null,u:null,t:null},t.push(c),l.removeAttribute(x),e.i||(e.i=[]),e.i[c.j]=c,e=c,s&&"0"===c.C&&(s[c.j]=c.p))),d=l.childNodes.length-1;d>=0;d--)N(e,t,n,s,o,l.childNodes[d],r);if(l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)N(e,t,n,s,o,l.shadowRoot.childNodes[d],r)}else if(8===l.nodeType)a=l.nodeValue.split("."),a[1]!==r&&"0"!==a[1]||(i=a[0],c={v:0,S:a[1],k:a[2],C:a[3],j:a[4],p:l,l:null,i:null,o:null,u:null,h:null,t:null},i===S?(c.p=l.nextSibling,c.p&&3===c.p.nodeType&&(c.t=c.p.textContent,t.push(c),l.remove(),e.i||(e.i=[]),e.i[c.j]=c,s&&"0"===c.C&&(s[c.j]=c.p))):c.S===r&&(i===g?(c.h="slot",a[5]?l["s-sn"]=c.u=a[5]:l["s-sn"]="",l["s-sr"]=!0,s&&(c.p=ct.createElement(c.h),c.u&&c.p.setAttribute("name",c.u),l.parentNode.insertBefore(c.p,l),l.remove(),"0"===c.C&&(s[c.j]=c.p)),n.push(c),e.i||(e.i=[]),e.i[c.j]=c):i===w&&(s?l.remove():(o["s-cr"]=l,l["s-cn"]=!0))));else if(e&&"style"===e.h){const t=L(null,l.textContent);t.p=l,t.j="0",e.i=[t]}},U=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)U(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)U(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");n[0]===b&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},W=e=>at.map((t=>t(e))).find((e=>!!e)),I=e=>at.push(e),H=(e,t)=>null==e||f(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e,z=e=>et(e).$hostElement$,B=(e,t,n)=>{const s=ut.ce(t,n);return e.dispatchEvent(s),s},Q=new WeakMap,V=(e,t,n)=>{let s=ot.get(e);pt&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=t:s.replaceSync(t)):s=t,ot.set(e,s)},q=(e,t,n)=>{var s;const o=K(t,n),l=ot.get(o);if(e=11===e.nodeType?e:ct,l)if("string"==typeof l){e=e.head||e;let n,r=Q.get(e);if(r||Q.set(e,r=new Set),!r.has(o)){if(e.host&&(n=e.querySelector(`[${C}="${o}"]`)))n.innerHTML=l;else{n=ct.createElement("style"),n.innerHTML=l;const t=null!=(s=ut.O)?s:c(ct);null!=t&&n.setAttribute("nonce",t),e.insertBefore(n,e.querySelector("link"))}4&t.v&&(n.innerHTML+=O),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o},G=e=>{const t=e.R,n=e.$hostElement$,s=t.v,o=$("attachStyles",t.T),l=q(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.L);10&s&&(n["s-sc"]=l,n.classList.add(l+"-h")),o()},K=(e,t)=>"sc-"+(t&&32&e.v?e.T+"-"+t:e.T),X=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),_=(e,t,n,s,o,l)=>{if(n!==s){let r=lt(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,o=Y(n),l=Y(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=f(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(R,t):e.removeAttribute(t)):(!r||4&l||o)&&!a&&(s=!0===s?"":s,c?e.setAttributeNS(R,t,s):e.setAttribute(t,s))}else if(t="-"===t[2]?t.slice(3):lt(ft,i)?i.slice(2):i[2]+t.slice(3),n||s){const o=t.endsWith(Z);t=t.replace(ee,""),n&&ut.rel(e,t,n,o),s&&ut.ael(e,t,s,o)}}},J=/\s/,Y=e=>e?e.split(J):[],Z="Capture",ee=new RegExp(Z+"$"),te=(e,t,n)=>{const o=11===t.p.nodeType&&t.p.host?t.p.host:t.p,l=e&&e.l||s,r=t.l||s;for(const e of re(Object.keys(l)))e in r||_(o,e,l[e],void 0,n,t.v);for(const e of re(Object.keys(r)))_(o,e,l[e],r[e],n,t.v)};function re(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var ie=!1,oe=!1,ae=!1,fe=!1,ce=(e,t,n,s)=>{var l;const r=t.i[n];let c,d,u,h=0;if(ie||(ae=!0,"slot"===r.h&&(le&&s.classList.add(le+"-s"),r.v|=r.i?2:1)),null!==r.t)c=r.p=ct.createTextNode(r.t);else if(1&r.v)c=r.p=ct.createTextNode("");else{if(fe||(fe="svg"===r.h),c=r.p=ct.createElementNS(fe?i:o,2&r.v?"slot-fb":r.h),fe&&"foreignObject"===r.h&&(fe=!1),te(null,r,fe),a(le)&&c["s-si"]!==le&&c.classList.add(c["s-si"]=le),r.i)for(h=0;h<r.i.length;++h)d=ce(e,r,h,c),d&&c.appendChild(d);"svg"===r.h?fe=!1:"foreignObject"===c.tagName&&(fe=!0)}return c["s-hn"]=se,3&r.v&&(c["s-sr"]=!0,c["s-cr"]=ne,c["s-sn"]=r.u||"",c["s-rf"]=null==(l=r.l)?void 0:l.ref,u=e&&e.i&&e.i[n],u&&u.h===r.h&&e.p&&ue(e.p,!1)),c},ue=(e,n)=>{ut.v|=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"]&&(Ce($e(t),t,me(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,ae=!0),n&&ue(t,n)}ut.v&=-2},ve=(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=ce(null,n,o,e),r&&(s[o].p=r,Ce(i,r,me(t))))},de=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.p;ke(t),e&&(oe=!0,e["s-ol"]?e["s-ol"].remove():ue(e,!0),e.remove())}}},he=(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(pe(h,m,o))ye(h,m,o),h=t[++i],m=s[++a];else if(pe(p,v,o))ye(p,v,o),p=t[--u],v=s[--f];else if(pe(h,v,o))"slot"!==h.h&&"slot"!==v.h||ue(h.p.parentNode,!1),ye(h,v,o),Ce(e,h.p,p.p.nextSibling),h=t[++i],v=s[--f];else if(pe(p,m,o))"slot"!==h.h&&"slot"!==v.h||ue(p.p.parentNode,!1),ye(p,m,o),Ce(e,p.p,h.p),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.h!==m.h?l=ce(t&&t[a],n,c,e):(ye(r,m,o),t[c]=void 0,l=r.p),m=s[++a]):(l=ce(t&&t[a],n,a,e),m=s[++a]),l&&Ce($e(h.p),l,me(h.p))}i>u?ve(e,null==s[f+1]?null:s[f+1].p,n,s,a,f):a>f&&de(t,i,u)},pe=(e,t,n=!1)=>e.h===t.h&&("slot"===e.h?e.u===t.u:!!n||e.o===t.o),me=e=>e&&e["s-ol"]||e,$e=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ye=(e,t,n=!1)=>{const s=t.p=e.p,o=e.i,l=t.i,r=t.h,i=t.t;let a;null===i?(fe="svg"===r||"foreignObject"!==r&&fe,("slot"!==r||ie)&&te(e,t,fe),null!==o&&null!==l?he(s,o,t,l,n):null!==l?(null!==e.t&&(s.textContent=""),ve(s,null,t,l,0,l.length-1)):null!==o&&de(o,0,o.length-1),fe&&"svg"===r&&(fe=!1)):(a=s["s-cr"])?a.parentNode.textContent=i:e.t!==i&&(s.data=i)},we=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}}we(e)}},be=[],ge=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(Se(n,e)){let t=be.find((e=>e.D===n));oe=!0,n["s-sn"]=n["s-sn"]||e,t?(t.D["s-sh"]=l["s-hn"],t.F=l):(n["s-sh"]=l["s-hn"],be.push({F:l,D:n})),n["s-sr"]&&be.map((e=>{Se(e.D,n["s-sn"])&&(t=be.find((e=>e.D===n)),t&&!e.F&&(e.F=t.F))}))}else be.some((e=>e.D===n))||be.push({D:n})}1===l.nodeType&&ge(l)}},Se=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,ke=e=>{e.l&&e.l.ref&&e.l.ref(null),e.i&&e.i.map(ke)},Ce=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),xe=(e,t,n=!1)=>{var s,o,l,r;const i=e.$hostElement$,a=e.R,c=e.m||L(null,null),d=E(t)?t:T(null,null,t);if(se=i.tagName,a.M&&(d.l=d.l||{},a.M.map((([e,t])=>d.l[t]=i[e]))),n&&d.l)for(const e of Object.keys(d.l))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.l[e]=i[e]);if(d.h=null,d.v|=4,e.m=d,d.p=c.p=i.shadowRoot||i,le=i["s-sc"],ie=!!(1&a.v),ne=i["s-cr"],oe=!1,ye(c,d,n),ut.v|=1,ae){ge(d.p);for(const e of be){const t=e.D;if(!t["s-ol"]){const e=ct.createTextNode("");e["s-nr"]=t,Ce(t.parentNode,t["s-ol"]=e,t)}}for(const e of be){const t=e.D,i=e.F;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),Ce(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)}}oe&&we(d.p),ut.v&=-2,be.length=0,ne=void 0},je=(e,t)=>{t&&!e.P&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.P=t)))},Oe=(e,t)=>{if(4&e.v)return void(e.v|=512);je(e,e.A);return Re(e,t)},Re=(e,t)=>{const n=e.$hostElement$,s=$("scheduleUpdate",e.R.T),o=e.N;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.v|=256,e.U&&(e.U.map((([e,t])=>Pe(o,e,t))),e.U=void 0),l=Pe(o,"componentWillLoad")),l=Te(l,(()=>Pe(o,"componentWillRender"))),s(),Te(l,(()=>De(e,o,t)))},Te=(e,t)=>Le(e)?e.then(t):t(),Le=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,De=async(e,t,n)=>{var s;const o=e.$hostElement$,l=$("update",e.R.T),r=o["s-rc"];n&&G(e);const i=$("render",e.R.T);Ee(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=()=>Fe(e);0===t.length?n():(Promise.all(t).then(n),e.v|=4,t.length=0)}},Ee=(e,t,n,s)=>{try{t=t.render(),e.v|=2,xe(e,t,s)}catch(t){nt(t,e.$hostElement$)}return null},Fe=e=>{const t=e.R.T,n=e.$hostElement$,s=$("postUpdate",t),o=e.N,l=e.A;Pe(o,"componentDidRender"),64&e.v?s():(e.v|=64,Ae(n),Pe(o,"componentDidLoad"),s(),e.W(n),l||Me()),e.I(n),e.P&&(e.P(),e.P=void 0),512&e.v&&mt((()=>Oe(e,!1))),e.v&=-517},Me=t=>{Ae(ct.documentElement),mt((()=>B(ft,"appload",{detail:{namespace:e}})))},Pe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){nt(e)}},Ae=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},Ne=(e,t)=>et(e).H.get(t),Ue=(e,t,n,s)=>{const o=et(e);if(!o)throw new Error(`Couldn't find host element for "${s.T}" 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.H.get(t),i=o.v,a=o.N;n=H(n,s.B[t][0]);const c=Number.isNaN(r)&&Number.isNaN(n);if((!(8&i)||void 0===r)&&(n!==r&&!c)&&(o.H.set(t,n),a)){if(s.V&&128&i){const e=s.V[t];e&&e.map((e=>{try{a[e](n,r,t)}catch(e){nt(e,l)}}))}2==(18&i)&&Oe(o,!1)}},We=(e,t,n)=>{var s;const o=e.prototype;if(t.B){e.watchers&&(t.V=e.watchers);const l=Object.entries(t.B);if(l.map((([e,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(o,e,{get(){return Ne(this,e)},set(n){Ue(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(o,e,{value(...t){var n;const s=et(this);return null==(n=null==s?void 0:s.q)?void 0:n.then((()=>{var n;return null==(n=s.N)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,s,l){ut.jmp((()=>{var r;const i=n.get(e);if(this.hasOwnProperty(i))l=this[i],delete this[i];else{if(o.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==l)return;if(null==i){const n=et(this),o=null==n?void 0:n.v;if(o&&!(8&o)&&128&o&&l!==s){const o=n.N,i=null==(r=t.V)?void 0:r[e];null==i||i.forEach((t=>{null!=o[t]&&o[t].call(o,l,s,e)}))}return}}this[i]=(null!==l||"boolean"!=typeof this[i])&&l}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.V)?s:{}),...l.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.M)||o.push([e,l])),l}))]))}}return e},Ie=async(e,t,n,s)=>{let o;if(!(32&t.v)){t.v|=32;if(n.G){const s=it(n);if(s&&"then"in s){const e=y();o=await s,e()}else o=s;if(!o)throw new Error(`Constructor for "${n.T}#${t.L}" was not found`);o.isProxied||(n.V=o.watchers,We(o,n,2),o.isProxied=!0);const l=$("createInstance",n.T);t.v|=8;try{new o(t)}catch(e){nt(e)}t.v&=-9,t.v|=128,l(),He(t.N)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.v|=128))}if(o&&o.style){let s=o.style;"string"!=typeof s&&(t.L=W(e),t.L&&(s=s[t.L]));const l=K(n,t.L);if(!ot.has(l)){const e=$("registerStyles",n.T);V(l,s,!!(1&n.v)),e()}}}const l=t.A,r=()=>Oe(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},He=e=>{Pe(e,"connectedCallback")},ze=e=>{if(!(1&ut.v)){const t=et(e),n=t.R,s=$("connectedCallback",n.T);if(1&t.v)Ke(e,t,n.K),(null==t?void 0:t.N)?He(t.N):(null==t?void 0:t.X)&&t.X.then((()=>He(t.N)));else{let s;if(t.v|=1,s=e.getAttribute(k),s){if(1&n.v){const t=q(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}A(e,n.T,s,t)}s||12&n.v&&Be(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){je(t,t.A=n);break}}n.B&&Object.entries(n.B).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),Ie(e,t,n)}s()}},Be=e=>{const t=e["s-cr"]=ct.createComment("");t["s-cn"]=!0,Ce(e,t,e.firstChild)},Qe=e=>{Pe(e,"disconnectedCallback")},Ve=async e=>{if(!(1&ut.v)){const t=et(e);t._&&(t._.map((e=>e())),t._=void 0),(null==t?void 0:t.N)?Qe(t.N):(null==t?void 0:t.X)&&t.X.then((()=>Qe(t.N)))}},qe=(e,t={})=>{var n;const s=$(),o=[],l=t.exclude||[],r=ft.customElements,i=ct.head,a=i.querySelector("meta[charset]"),d=ct.createElement("style"),u=[],h=ct.querySelectorAll(`[${C}]`);let p,f=!0,m=0;for(Object.assign(ut,t),ut.J=new URL(t.resourcesUrl||"./",ct.baseURI).href,ut.v|=2;m<h.length;m++)V(h[m].getAttribute(C),X(h[m].innerHTML),!0);let v=!1;if(e.map((e=>{e[1].map((n=>{var s;const i={v:n[0],T:n[1],B:n[2],K:n[3]};4&i.v&&(v=!0),i.B=n[2],i.K=n[3],i.M=[],i.V=null!=(s=n[4])?s:{};const a=t.transformTagName?t.transformTagName(i.T):i.T,c=class extends HTMLElement{constructor(e){super(e),rt(e=this,i),1&i.v&&e.attachShadow({mode:"open"})}connectedCallback(){p&&(clearTimeout(p),p=null),f?u.push(this):ut.jmp((()=>ze(this)))}disconnectedCallback(){ut.jmp((()=>Ve(this)))}componentOnReady(){return et(this).X}};i.G=e[0],l.includes(a)||r.get(a)||(o.push(a),r.define(a,We(c,i,1)))}))})),o.length>0&&(v&&(d.textContent+=O),d.textContent+=o+j,d.innerHTML.length)){d.setAttribute("data-styles","");const e=null!=(n=ut.O)?n:c(ct);null!=e&&d.setAttribute("nonce",e),i.insertBefore(d,a?a.nextSibling:i.firstChild)}f=!1,u.length?u.map((e=>e.connectedCallback())):ut.jmp((()=>p=setTimeout(Me,30))),s()},Ge=(e,t)=>t,Ke=(e,t,n,s)=>{n&&n.map((([n,s,o])=>{const l=_e(e,n),r=Xe(t,o),i=Je(n);ut.ael(l,s,r,i),(t._=t._||[]).push((()=>ut.rel(l,s,r,i)))}))},Xe=(e,t)=>n=>{var s;try{256&e.v?null==(s=e.N)||s[t](n):(e.U=e.U||[]).push([t,n])}catch(e){nt(e)}},_e=(e,t)=>8&t?ft:e,Je=e=>dt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Ye=e=>ut.O=e,Ze=new WeakMap,et=e=>Ze.get(e),tt=(e,t)=>Ze.set(t.N=e,t),rt=(e,t)=>{const n={v:0,$hostElement$:e,R:t,H:new Map};return n.q=new Promise((e=>n.I=e)),n.X=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[],Ke(e,n,t.K),Ze.set(e,n)},lt=(e,t)=>t in e,nt=(e,t)=>(0,console.error)(e,t),st=new Map,it=(e,t,n)=>{const s=e.T.replace(/-/g,"_"),o=e.G;if(!o)return;const l=st.get(o);return l?l[s]:import(`./${o}.entry.js`).then((e=>(st.set(o,e),e[s])),nt)
5
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},ot=new Map,at=[],ft="undefined"!=typeof window?window:{},ct=ft.document||{head:{}},ut={v:0,J:"",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)},vt=!0,dt=(()=>{let e=!1;try{ct.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(e){}return e})(),ht=e=>Promise.resolve(e),pt=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),mt=e=>ht().then(e);export{r as E,Ge as F,D as H,I as a,qe as b,z as g,T as h,ht as p,tt as r,Ye as s};