@public-ui/visual-tests 5.0.0-beta.1 → 5.0.0-beta.3

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 (565) hide show
  1. package/app/dist/assets/Heading-foerLIu9-C8Z-Y3A9.js +2 -0
  2. package/app/dist/assets/Heading-foerLIu9-C8Z-Y3A9.js.map +1 -0
  3. package/app/dist/assets/access-and-short-key-BTEwnScd-DQDS6xWw.js +2 -0
  4. package/app/dist/assets/access-and-short-key-BTEwnScd-DQDS6xWw.js.map +1 -0
  5. package/app/dist/assets/api-Ba9FNPRn-DO3TgwXB.js +2 -0
  6. package/app/dist/assets/api-Ba9FNPRn-DO3TgwXB.js.map +1 -0
  7. package/app/dist/assets/aria-labelledby-C4wUnR-v-BSVXl8GR.js +2 -0
  8. package/app/dist/assets/aria-labelledby-C4wUnR-v-BSVXl8GR.js.map +1 -0
  9. package/app/dist/assets/base-AKIr0rpk-Bt9tlYG0.js +2 -0
  10. package/app/dist/assets/base-AKIr0rpk-Bt9tlYG0.js.map +1 -0
  11. package/app/dist/assets/base-C7nTPc7u-C_0ZSuMf.js +2 -0
  12. package/app/dist/assets/base-C7nTPc7u-C_0ZSuMf.js.map +1 -0
  13. package/app/dist/assets/base-CpUNedp9-D8E_mNip.js +2 -0
  14. package/app/dist/assets/base-CpUNedp9-D8E_mNip.js.map +1 -0
  15. package/app/dist/assets/base-D7qItqyf-Z_NBnjON.js +2 -0
  16. package/app/dist/assets/base-D7qItqyf-Z_NBnjON.js.map +1 -0
  17. package/app/dist/assets/base-web-component-B3wi5eWH-DOZwPieT.js +2 -0
  18. package/app/dist/assets/base-web-component-B3wi5eWH-DOZwPieT.js.map +1 -0
  19. package/app/dist/assets/base-web-component-BpL_hXcg-BXEOESQQ.js +2 -0
  20. package/app/dist/assets/base-web-component-BpL_hXcg-BXEOESQQ.js.map +1 -0
  21. package/app/dist/assets/base-web-component-DorOeD_U-FjzFaoDq.js +2 -0
  22. package/app/dist/assets/base-web-component-DorOeD_U-FjzFaoDq.js.map +1 -0
  23. package/app/dist/assets/behavior-D9BHiFnH-Baadh3Ou.js +2 -0
  24. package/app/dist/assets/behavior-D9BHiFnH-Baadh3Ou.js.map +1 -0
  25. package/app/dist/assets/behavior-DDo87iUM-CHUbkT9S.js +2 -0
  26. package/app/dist/assets/behavior-DDo87iUM-CHUbkT9S.js.map +1 -0
  27. package/app/dist/assets/{behavior-DW7_5Wxp-BJ-KnMzo.js → behavior-XAV9GSxI-BxZ2JIJA.js} +2 -2
  28. package/app/dist/assets/behavior-XAV9GSxI-BxZ2JIJA.js.map +1 -0
  29. package/app/dist/assets/{color-eAL9I7Wq-BrnlaL02.js → color-CnVBqZd5-BmDynLEI.js} +2 -2
  30. package/app/dist/assets/color-CnVBqZd5-BmDynLEI.js.map +1 -0
  31. package/app/dist/assets/{component-8ALsFV4i-6geJde-u.js → component-0npqUhj2-g8qzC-uD.js} +2 -2
  32. package/app/dist/assets/component-0npqUhj2-g8qzC-uD.js.map +1 -0
  33. package/app/dist/assets/component-BCKsZOoB-B951Az5h.js +2 -0
  34. package/app/dist/assets/component-BCKsZOoB-B951Az5h.js.map +1 -0
  35. package/app/dist/assets/component-BZjDp_Lf-Cus8xati.js +2 -0
  36. package/app/dist/assets/component-BZjDp_Lf-Cus8xati.js.map +1 -0
  37. package/app/dist/assets/component-CjdTbGlP-lVGTFFlY.js +4 -0
  38. package/app/dist/assets/component-CjdTbGlP-lVGTFFlY.js.map +1 -0
  39. package/app/dist/assets/component-Cn693XeT-D0CDpef1.js +2 -0
  40. package/app/dist/assets/component-Cn693XeT-D0CDpef1.js.map +1 -0
  41. package/app/dist/assets/component-Cvd5HXbX-DW_UbKkt.js +2 -0
  42. package/app/dist/assets/component-Cvd5HXbX-DW_UbKkt.js.map +1 -0
  43. package/app/dist/assets/component-CvdxCpjC-DU-CAO_9.js +2 -0
  44. package/app/dist/assets/component-CvdxCpjC-DU-CAO_9.js.map +1 -0
  45. package/app/dist/assets/component-DFhRTaqb-9pUhAERd.js +2 -0
  46. package/app/dist/assets/component-DFhRTaqb-9pUhAERd.js.map +1 -0
  47. package/app/dist/assets/component-DP_p5few-CO0ERebu.js +2 -0
  48. package/app/dist/assets/component-DP_p5few-CO0ERebu.js.map +1 -0
  49. package/app/dist/assets/component-DlROeCCe-Bm6WJ9JO.js +2 -0
  50. package/app/dist/assets/component-DlROeCCe-Bm6WJ9JO.js.map +1 -0
  51. package/app/dist/assets/contrast-BHjNzQvB-yCenqyKl.js +2 -0
  52. package/app/dist/assets/contrast-BHjNzQvB-yCenqyKl.js.map +1 -0
  53. package/app/dist/assets/controller-DYkXzFqc-CAZxvyaC.js +2 -0
  54. package/app/dist/assets/controller-DYkXzFqc-CAZxvyaC.js.map +1 -0
  55. package/app/dist/assets/dev.utils-BgFDROtc-BlrIUMA8.js +2 -0
  56. package/app/dist/assets/dev.utils-BgFDROtc-BlrIUMA8.js.map +1 -0
  57. package/app/dist/assets/devtools-D2b3ZmNd.js +14 -0
  58. package/app/dist/assets/devtools-D2b3ZmNd.js.map +1 -0
  59. package/app/dist/assets/disabled-BZIZZ6wy-D7LMSlCr.js +2 -0
  60. package/app/dist/assets/disabled-BZIZZ6wy-D7LMSlCr.js.map +1 -0
  61. package/app/dist/assets/element-focus-C0L8NWU8-CqksWTPt.js +2 -0
  62. package/app/dist/assets/element-focus-C0L8NWU8-CqksWTPt.js.map +1 -0
  63. package/app/dist/assets/element-interaction-B3GEli6r-DVZcGKTr.js +2 -0
  64. package/app/dist/assets/element-interaction-B3GEli6r-DVZcGKTr.js.map +1 -0
  65. package/app/dist/assets/field-control-QF0yTcyb-DDccvFeo.js +2 -0
  66. package/app/dist/assets/field-control-QF0yTcyb-DDccvFeo.js.map +1 -0
  67. package/app/dist/assets/group-8Me6YSO8-ohJTLUIL.js +2 -0
  68. package/app/dist/assets/group-8Me6YSO8-ohJTLUIL.js.map +1 -0
  69. package/app/dist/assets/has-closer-B-uYNNCw-Dijrwx3z.js +2 -0
  70. package/app/dist/assets/has-closer-B-uYNNCw-Dijrwx3z.js.map +1 -0
  71. package/app/dist/assets/href-DKPJq0Rh-Dvqcgc5O.js +2 -0
  72. package/app/dist/assets/href-DKPJq0Rh-Dvqcgc5O.js.map +1 -0
  73. package/app/dist/assets/i18n-Uze_l4Ts-y99yc-Xm.js +2 -0
  74. package/app/dist/assets/i18n-Uze_l4Ts-y99yc-Xm.js.map +1 -0
  75. package/app/dist/assets/id-CkUYl2hO-B6eWS16s.js +2 -0
  76. package/app/dist/assets/id-CkUYl2hO-B6eWS16s.js.map +1 -0
  77. package/app/dist/assets/index-BToyeIaL.js +111 -0
  78. package/app/dist/assets/index-BToyeIaL.js.map +1 -0
  79. package/app/dist/assets/index-D1fZ9xFt-rYeqDpjK.js +19 -0
  80. package/app/dist/assets/index-D1fZ9xFt-rYeqDpjK.js.map +1 -0
  81. package/app/dist/assets/index-qGYkSxLY.css +1 -0
  82. package/app/dist/assets/input-DwlolkOG-CfxZJz0T.js +2 -0
  83. package/app/dist/assets/input-DwlolkOG-CfxZJz0T.js.map +1 -0
  84. package/app/dist/assets/input-container-DC3x4oGg-B_0aF7fB.js +2 -0
  85. package/app/dist/assets/input-container-DC3x4oGg-B_0aF7fB.js.map +1 -0
  86. package/app/dist/assets/item-DThxrTZc-ww8MIPa0.js +2 -0
  87. package/app/dist/assets/item-DThxrTZc-ww8MIPa0.js.map +1 -0
  88. package/app/dist/assets/item-cArH2C6l-VFBFsNo1.js +2 -0
  89. package/app/dist/assets/item-cArH2C6l-VFBFsNo1.js.map +1 -0
  90. package/app/dist/assets/item-pool-D4qvvY-S-80Z2WwPL.js +2 -0
  91. package/app/dist/assets/item-pool-D4qvvY-S-80Z2WwPL.js.map +1 -0
  92. package/app/dist/assets/item-uC3h4pj3-Bz0Zp12y.js +2 -0
  93. package/app/dist/assets/item-uC3h4pj3-Bz0Zp12y.js.map +1 -0
  94. package/app/dist/assets/item-zPmzbSvE-jgRNtFxS.js +2 -0
  95. package/app/dist/assets/item-zPmzbSvE-jgRNtFxS.js.map +1 -0
  96. package/app/dist/assets/keyboard-DzlBdECG-CgY5gyXI.js +2 -0
  97. package/app/dist/assets/keyboard-DzlBdECG-CgY5gyXI.js.map +1 -0
  98. package/app/dist/assets/kol-abbr.entry-BIPsuJNX.js +2 -0
  99. package/app/dist/assets/kol-abbr.entry-BIPsuJNX.js.map +1 -0
  100. package/app/dist/assets/kol-accordion.entry-CCLlNiSb.js +2 -0
  101. package/app/dist/assets/kol-accordion.entry-CCLlNiSb.js.map +1 -0
  102. package/app/dist/assets/kol-alert.entry-CAPG9ZII.js +2 -0
  103. package/app/dist/assets/kol-alert.entry-CAPG9ZII.js.map +1 -0
  104. package/app/dist/assets/kol-avatar.entry-BwHThK1v.js +2 -0
  105. package/app/dist/assets/kol-avatar.entry-BwHThK1v.js.map +1 -0
  106. package/app/dist/assets/kol-badge.entry-Ca4dbUvh.js +2 -0
  107. package/app/dist/assets/kol-badge.entry-Ca4dbUvh.js.map +1 -0
  108. package/app/dist/assets/kol-breadcrumb.entry-DnYjHoIB.js +2 -0
  109. package/app/dist/assets/kol-breadcrumb.entry-DnYjHoIB.js.map +1 -0
  110. package/app/dist/assets/kol-button-link.entry-D3oRMN8J.js +2 -0
  111. package/app/dist/assets/kol-button-link.entry-D3oRMN8J.js.map +1 -0
  112. package/app/dist/assets/kol-button.entry-CChg_FSo.js +2 -0
  113. package/app/dist/assets/kol-button.entry-CChg_FSo.js.map +1 -0
  114. package/app/dist/assets/kol-card.entry-DCDNyu0P.js +2 -0
  115. package/app/dist/assets/kol-card.entry-DCDNyu0P.js.map +1 -0
  116. package/app/dist/assets/kol-combobox.entry-Cw_4l5mV.js +2 -0
  117. package/app/dist/assets/kol-combobox.entry-Cw_4l5mV.js.map +1 -0
  118. package/app/dist/assets/kol-details.entry-CgniSdcA.js +2 -0
  119. package/app/dist/assets/kol-details.entry-CgniSdcA.js.map +1 -0
  120. package/app/dist/assets/{kol-modal.entry-BgHsd0Wi.js → kol-dialog.entry-CRfrUA-7.js} +2 -2
  121. package/app/dist/assets/kol-dialog.entry-CRfrUA-7.js.map +1 -0
  122. package/app/dist/assets/kol-drawer.entry-BtabOUtv.js +2 -0
  123. package/app/dist/assets/kol-drawer.entry-BtabOUtv.js.map +1 -0
  124. package/app/dist/assets/kol-form.entry-BZfL30zj.js +2 -0
  125. package/app/dist/assets/kol-form.entry-BZfL30zj.js.map +1 -0
  126. package/app/dist/assets/kol-heading.entry-DoBlwOl4.js +2 -0
  127. package/app/dist/assets/kol-heading.entry-DoBlwOl4.js.map +1 -0
  128. package/app/dist/assets/kol-icon.entry-66FGdmyh.js +2 -0
  129. package/app/dist/assets/kol-icon.entry-66FGdmyh.js.map +1 -0
  130. package/app/dist/assets/kol-image.entry-B74rY-MM.js +2 -0
  131. package/app/dist/assets/kol-image.entry-B74rY-MM.js.map +1 -0
  132. package/app/dist/assets/kol-input-checkbox.entry-BrJF4SXH.js +2 -0
  133. package/app/dist/assets/kol-input-checkbox.entry-BrJF4SXH.js.map +1 -0
  134. package/app/dist/assets/kol-input-color.entry-CSiMptuJ.js +2 -0
  135. package/app/dist/assets/kol-input-color.entry-CSiMptuJ.js.map +1 -0
  136. package/app/dist/assets/kol-input-date.entry-CUOL-yhc.js +2 -0
  137. package/app/dist/assets/kol-input-date.entry-CUOL-yhc.js.map +1 -0
  138. package/app/dist/assets/kol-input-email.entry-D-8706Xe.js +2 -0
  139. package/app/dist/assets/kol-input-email.entry-D-8706Xe.js.map +1 -0
  140. package/app/dist/assets/kol-input-file.entry-DaDQDFNU.js +2 -0
  141. package/app/dist/assets/kol-input-file.entry-DaDQDFNU.js.map +1 -0
  142. package/app/dist/assets/kol-input-number.entry-Bl9TM5fc.js +2 -0
  143. package/app/dist/assets/kol-input-number.entry-Bl9TM5fc.js.map +1 -0
  144. package/app/dist/assets/kol-input-password.entry-Cp1v-EMY.js +2 -0
  145. package/app/dist/assets/kol-input-password.entry-Cp1v-EMY.js.map +1 -0
  146. package/app/dist/assets/kol-input-radio.entry-UNZNbgh-.js +2 -0
  147. package/app/dist/assets/kol-input-radio.entry-UNZNbgh-.js.map +1 -0
  148. package/app/dist/assets/kol-input-range.entry-DFjc9sQv.js +2 -0
  149. package/app/dist/assets/kol-input-range.entry-DFjc9sQv.js.map +1 -0
  150. package/app/dist/assets/kol-input-text.entry-aFKk1bXa.js +2 -0
  151. package/app/dist/assets/kol-input-text.entry-aFKk1bXa.js.map +1 -0
  152. package/app/dist/assets/kol-kolibri.entry-ECQRJz-z.js +2 -0
  153. package/app/dist/assets/kol-kolibri.entry-ECQRJz-z.js.map +1 -0
  154. package/app/dist/assets/kol-link-button.entry-DC4_VG2W.js +2 -0
  155. package/app/dist/assets/kol-link-button.entry-DC4_VG2W.js.map +1 -0
  156. package/app/dist/assets/kol-link.entry-Cshw3gXs.js +2 -0
  157. package/app/dist/assets/kol-link.entry-Cshw3gXs.js.map +1 -0
  158. package/app/dist/assets/kol-meter.entry-Aj-BeeF1.js +2 -0
  159. package/app/dist/assets/kol-meter.entry-Aj-BeeF1.js.map +1 -0
  160. package/app/dist/assets/{kol-dialog.entry-Cgg6m_UC.js → kol-modal.entry-D6BorAQx.js} +2 -2
  161. package/app/dist/assets/kol-modal.entry-D6BorAQx.js.map +1 -0
  162. package/app/dist/assets/kol-nav.entry-DfyflEsr.js +2 -0
  163. package/app/dist/assets/kol-nav.entry-DfyflEsr.js.map +1 -0
  164. package/app/dist/assets/kol-pagination.entry-CdIbixjW.js +2 -0
  165. package/app/dist/assets/kol-pagination.entry-CdIbixjW.js.map +1 -0
  166. package/app/dist/assets/kol-popover-button.entry-95nIE2vC.js +2 -0
  167. package/app/dist/assets/kol-popover-button.entry-95nIE2vC.js.map +1 -0
  168. package/app/dist/assets/kol-progress.entry-DXWEKKU_.js +2 -0
  169. package/app/dist/assets/kol-progress.entry-DXWEKKU_.js.map +1 -0
  170. package/app/dist/assets/kol-quote.entry-BWaaIJg8.js +2 -0
  171. package/app/dist/assets/kol-quote.entry-BWaaIJg8.js.map +1 -0
  172. package/app/dist/assets/kol-select.entry-BBzi4mzI.js +2 -0
  173. package/app/dist/assets/kol-select.entry-BBzi4mzI.js.map +1 -0
  174. package/app/dist/assets/kol-single-select.entry-CMbGkafH.js +2 -0
  175. package/app/dist/assets/kol-single-select.entry-CMbGkafH.js.map +1 -0
  176. package/app/dist/assets/kol-skip-nav.entry-DHZiwYVs.js +2 -0
  177. package/app/dist/assets/kol-skip-nav.entry-DHZiwYVs.js.map +1 -0
  178. package/app/dist/assets/kol-spin.entry-BLRNBTJM.js +2 -0
  179. package/app/dist/assets/kol-spin.entry-BLRNBTJM.js.map +1 -0
  180. package/app/dist/assets/kol-split-button.entry-3kDditVs.js +2 -0
  181. package/app/dist/assets/kol-split-button.entry-3kDditVs.js.map +1 -0
  182. package/app/dist/assets/kol-table-stateful.entry-B5Wfd4qT.js +2 -0
  183. package/app/dist/assets/kol-table-stateful.entry-B5Wfd4qT.js.map +1 -0
  184. package/app/dist/assets/kol-table-stateless.entry-BQq1mgvh.js +2 -0
  185. package/app/dist/assets/kol-table-stateless.entry-BQq1mgvh.js.map +1 -0
  186. package/app/dist/assets/kol-tabs.entry-DrN7bHQY.js +2 -0
  187. package/app/dist/assets/kol-tabs.entry-DrN7bHQY.js.map +1 -0
  188. package/app/dist/assets/kol-textarea.entry-DUnvPxP-.js +2 -0
  189. package/app/dist/assets/kol-textarea.entry-DUnvPxP-.js.map +1 -0
  190. package/app/dist/assets/kol-toast-container.entry-BeuEWG2I.js +2 -0
  191. package/app/dist/assets/kol-toast-container.entry-BeuEWG2I.js.map +1 -0
  192. package/app/dist/assets/kol-toolbar.entry-bg5bcLEz.js +2 -0
  193. package/app/dist/assets/kol-toolbar.entry-bg5bcLEz.js.map +1 -0
  194. package/app/dist/assets/kol-tree-item.entry-DPFYq_u6.js +2 -0
  195. package/app/dist/assets/kol-tree-item.entry-DPFYq_u6.js.map +1 -0
  196. package/app/dist/assets/kol-tree.entry-C3m-IR4t.js +2 -0
  197. package/app/dist/assets/kol-tree.entry-C3m-IR4t.js.map +1 -0
  198. package/app/dist/assets/kol-version.entry-CeT50Q5n.js +2 -0
  199. package/app/dist/assets/kol-version.entry-CeT50Q5n.js.map +1 -0
  200. package/app/dist/assets/kolicons/kolicons.eot +0 -0
  201. package/app/dist/assets/kolicons/kolicons.ttf +0 -0
  202. package/app/dist/assets/kolicons/kolicons.woff +0 -0
  203. package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
  204. package/app/dist/assets/kolicons/style.css +6 -6
  205. package/app/dist/assets/label-G82W4YoW-Bx7j-BDU.js +2 -0
  206. package/app/dist/assets/label-G82W4YoW-Bx7j-BDU.js.map +1 -0
  207. package/app/dist/assets/label-hints-DiRb_zIZ-COzZu0iB.js +2 -0
  208. package/app/dist/assets/label-hints-DiRb_zIZ-COzZu0iB.js.map +1 -0
  209. package/app/dist/assets/label-lang-segment-BSVexfSR-BN9oC3WZ.js +2 -0
  210. package/app/dist/assets/label-lang-segment-BSVexfSR-BN9oC3WZ.js.map +1 -0
  211. package/app/dist/assets/label-with-expert-slot-C1i0atAL-OAw04aBS.js +2 -0
  212. package/app/dist/assets/label-with-expert-slot-C1i0atAL-OAw04aBS.js.map +1 -0
  213. package/app/dist/assets/level-CWkPM-CS-4xH6K0qw.js +2 -0
  214. package/app/dist/assets/level-CWkPM-CS-4xH6K0qw.js.map +1 -0
  215. package/app/dist/assets/link-target-B2OC2sZU-we8cHqp6.js +2 -0
  216. package/app/dist/assets/link-target-B2OC2sZU-we8cHqp6.js.map +1 -0
  217. package/app/dist/assets/links-CiNHSAYH-Dl5v1vyN.js +2 -0
  218. package/app/dist/assets/links-CiNHSAYH-Dl5v1vyN.js.map +1 -0
  219. package/app/dist/assets/multiple-CuU2AuEM-C92iCxHu.js +2 -0
  220. package/app/dist/assets/multiple-CuU2AuEM-C92iCxHu.js.map +1 -0
  221. package/app/dist/assets/number-value-adUq1zr1-C_o6i5KM.js +2 -0
  222. package/app/dist/assets/number-value-adUq1zr1-C_o6i5KM.js.map +1 -0
  223. package/app/dist/assets/open-DR8Z7RtS-DcJW6joq.js +2 -0
  224. package/app/dist/assets/open-DR8Z7RtS-DcJW6joq.js.map +1 -0
  225. package/app/dist/assets/open-items-cache-CS2mDRNB-CpeZjBHN.js +2 -0
  226. package/app/dist/assets/open-items-cache-CS2mDRNB-CpeZjBHN.js.map +1 -0
  227. package/app/dist/assets/options-BDTJtk6H-CvilGuCF.js +2 -0
  228. package/app/dist/assets/options-BDTJtk6H-CvilGuCF.js.map +1 -0
  229. package/app/dist/assets/{options-DCaUcfAu-3o3GAJat.js → options-BPwcDIDO-gj93FIBB.js} +2 -2
  230. package/app/dist/assets/options-BPwcDIDO-gj93FIBB.js.map +1 -0
  231. package/app/dist/assets/orientation-BUPO9LJU-DpMFHqiJ.js +2 -0
  232. package/app/dist/assets/orientation-BUPO9LJU-DpMFHqiJ.js.map +1 -0
  233. package/app/dist/assets/placeholder-BTFnryTd-xEc_iS8t.js +2 -0
  234. package/app/dist/assets/placeholder-BTFnryTd-xEc_iS8t.js.map +1 -0
  235. package/app/dist/assets/props-from-config-DqFgiUwD-C_D8gT_Q.js +2 -0
  236. package/app/dist/assets/props-from-config-DqFgiUwD-C_D8gT_Q.js.map +1 -0
  237. package/app/dist/assets/read-only-DRmmHb2G-DIcC3FO9.js +2 -0
  238. package/app/dist/assets/read-only-DRmmHb2G-DIcC3FO9.js.map +1 -0
  239. package/app/dist/assets/required-D4CdAA4s--TEuaM-p.js +2 -0
  240. package/app/dist/assets/required-D4CdAA4s--TEuaM-p.js.map +1 -0
  241. package/app/dist/assets/{resolve-props-D2KiItuv-CXg1tKV0.js → resolve-props-BAambGug-Z2N1R6Xh.js} +2 -2
  242. package/app/dist/assets/resolve-props-BAambGug-Z2N1R6Xh.js.map +1 -0
  243. package/app/dist/assets/resolve-props-Dpl38Wpe-CwC7ku3x.js +2 -0
  244. package/app/dist/assets/resolve-props-Dpl38Wpe-CwC7ku3x.js.map +1 -0
  245. package/app/dist/assets/rows-DRKSoawJ-A1A_XxPI.js +2 -0
  246. package/app/dist/assets/rows-DRKSoawJ-A1A_XxPI.js.map +1 -0
  247. package/app/dist/assets/scroll-lock-C66lpb8L-k_MmA5zj.js +2 -0
  248. package/app/dist/assets/scroll-lock-C66lpb8L-k_MmA5zj.js.map +1 -0
  249. package/app/dist/assets/shared-state-Dn94ivRg-CA5TKdPv.js +2 -0
  250. package/app/dist/assets/shared-state-Dn94ivRg-CA5TKdPv.js.map +1 -0
  251. package/app/dist/assets/smart-button-BYEk3DzS-hWeGM3sn.js +2 -0
  252. package/app/dist/assets/smart-button-BYEk3DzS-hWeGM3sn.js.map +1 -0
  253. package/app/dist/assets/spell-check-DlQ_d2GL-DqZQ_jmx.js +2 -0
  254. package/app/dist/assets/spell-check-DlQ_d2GL-DqZQ_jmx.js.map +1 -0
  255. package/app/dist/assets/src-Cikg9qhP-B91HPLVD.js +2 -0
  256. package/app/dist/assets/src-Cikg9qhP-B91HPLVD.js.map +1 -0
  257. package/app/dist/assets/step-C7WPZrUp-BtXCUIlN.js +2 -0
  258. package/app/dist/assets/step-C7WPZrUp-BtXCUIlN.js.map +1 -0
  259. package/app/dist/assets/{suggestions-Dy1X-Pc3-I_G69Lii.js → suggestions-CotfxJG1-BIQx3wy2.js} +2 -2
  260. package/app/dist/assets/suggestions-CotfxJG1-BIQx3wy2.js.map +1 -0
  261. package/app/dist/assets/suggestions-qW9OdwO3-DRhfkCBB.js +2 -0
  262. package/app/dist/assets/suggestions-qW9OdwO3-DRhfkCBB.js.map +1 -0
  263. package/app/dist/assets/test-component.entry-soZpdAEg.js +2 -0
  264. package/app/dist/assets/test-component.entry-soZpdAEg.js.map +1 -0
  265. package/app/dist/assets/toggle-handler-BB_SIgS1-CdCN59HJ.js +2 -0
  266. package/app/dist/assets/toggle-handler-BB_SIgS1-CdCN59HJ.js.map +1 -0
  267. package/app/dist/assets/unique-nav-labels-CQgKoOXd-wgTrR91A.js +2 -0
  268. package/app/dist/assets/unique-nav-labels-CQgKoOXd-wgTrR91A.js.map +1 -0
  269. package/app/dist/assets/unit-D2lG-lEM-C8mw6q43.js +2 -0
  270. package/app/dist/assets/unit-D2lG-lEM-C8mw6q43.js.map +1 -0
  271. package/app/dist/assets/validators-yh10eyXe-DZioL89-.js +2 -0
  272. package/app/dist/assets/validators-yh10eyXe-DZioL89-.js.map +1 -0
  273. package/app/dist/assets/value-string-DwEIOG1f-BMnvCKtm.js +2 -0
  274. package/app/dist/assets/value-string-DwEIOG1f-BMnvCKtm.js.map +1 -0
  275. package/app/dist/assets/width-xawzWTVW-BsYKRTjQ.js +2 -0
  276. package/app/dist/assets/width-xawzWTVW-BsYKRTjQ.js.map +1 -0
  277. package/app/dist/index.html +4 -5
  278. package/app/public/assets/kolicons/kolicons.eot +0 -0
  279. package/app/public/assets/kolicons/kolicons.ttf +0 -0
  280. package/app/public/assets/kolicons/kolicons.woff +0 -0
  281. package/app/public/assets/kolicons/kolicons.woff2 +0 -0
  282. package/app/public/assets/kolicons/style.css +6 -6
  283. package/app/src/react.main.tsx +36 -41
  284. package/package.json +5 -5
  285. package/src/index.js +22 -0
  286. package/tests/sample-app.routes.js +1 -1
  287. package/app/dist/assets/Heading-BVhjT9av-DXP-gC0o.js +0 -2
  288. package/app/dist/assets/Heading-BVhjT9av-DXP-gC0o.js.map +0 -1
  289. package/app/dist/assets/access-and-short-key-ijzCZfHm-Dx5Q-CAn.js +0 -2
  290. package/app/dist/assets/access-and-short-key-ijzCZfHm-Dx5Q-CAn.js.map +0 -1
  291. package/app/dist/assets/api-D92_O-0H-1k0e72cW.js +0 -2
  292. package/app/dist/assets/api-D92_O-0H-1k0e72cW.js.map +0 -1
  293. package/app/dist/assets/aria-labelledby-CLehu03h-ngumAVvb.js +0 -2
  294. package/app/dist/assets/aria-labelledby-CLehu03h-ngumAVvb.js.map +0 -1
  295. package/app/dist/assets/base-BLBSJu_1-D_Eeqb50.js +0 -2
  296. package/app/dist/assets/base-BLBSJu_1-D_Eeqb50.js.map +0 -1
  297. package/app/dist/assets/base-CHmdLgoO-BCkLU89R.js +0 -2
  298. package/app/dist/assets/base-CHmdLgoO-BCkLU89R.js.map +0 -1
  299. package/app/dist/assets/base-DIcqHqMz-CdjfOXP3.js +0 -2
  300. package/app/dist/assets/base-DIcqHqMz-CdjfOXP3.js.map +0 -1
  301. package/app/dist/assets/base-qvPPg-dn-B9zLOk-h.js +0 -2
  302. package/app/dist/assets/base-qvPPg-dn-B9zLOk-h.js.map +0 -1
  303. package/app/dist/assets/base-web-component-CaAexWy_-KDwdCSfq.js +0 -2
  304. package/app/dist/assets/base-web-component-CaAexWy_-KDwdCSfq.js.map +0 -1
  305. package/app/dist/assets/base-web-component-DbagnM7m-C9lX5Eok.js +0 -2
  306. package/app/dist/assets/base-web-component-DbagnM7m-C9lX5Eok.js.map +0 -1
  307. package/app/dist/assets/base-web-component-XgI4wUyN-DicnhRXg.js +0 -2
  308. package/app/dist/assets/base-web-component-XgI4wUyN-DicnhRXg.js.map +0 -1
  309. package/app/dist/assets/behavior-B08CXmI4-5kZdzsUL.js +0 -2
  310. package/app/dist/assets/behavior-B08CXmI4-5kZdzsUL.js.map +0 -1
  311. package/app/dist/assets/behavior-CwUUkdaP-B0YD5Z6Z.js +0 -2
  312. package/app/dist/assets/behavior-CwUUkdaP-B0YD5Z6Z.js.map +0 -1
  313. package/app/dist/assets/behavior-DW7_5Wxp-BJ-KnMzo.js.map +0 -1
  314. package/app/dist/assets/block-bem-BpQSY04L-DbbV-3s4.js +0 -2
  315. package/app/dist/assets/block-bem-BpQSY04L-DbbV-3s4.js.map +0 -1
  316. package/app/dist/assets/clsx-COFh-Vc8-DWAop4cA.js +0 -2
  317. package/app/dist/assets/clsx-COFh-Vc8-DWAop4cA.js.map +0 -1
  318. package/app/dist/assets/color-eAL9I7Wq-BrnlaL02.js.map +0 -1
  319. package/app/dist/assets/component-8ALsFV4i-6geJde-u.js.map +0 -1
  320. package/app/dist/assets/component-BTMWoACz-vEOEo0S_.js +0 -2
  321. package/app/dist/assets/component-BTMWoACz-vEOEo0S_.js.map +0 -1
  322. package/app/dist/assets/component-Bc1n82Y8-mPU7X4Fv.js +0 -2
  323. package/app/dist/assets/component-Bc1n82Y8-mPU7X4Fv.js.map +0 -1
  324. package/app/dist/assets/component-CZZNha2e-CsuU0l9r.js +0 -15
  325. package/app/dist/assets/component-CZZNha2e-CsuU0l9r.js.map +0 -1
  326. package/app/dist/assets/component-CdKSiR5P-Dq93_RmH.js +0 -2
  327. package/app/dist/assets/component-CdKSiR5P-Dq93_RmH.js.map +0 -1
  328. package/app/dist/assets/component-Cdnq5GYF-IUF1gYXZ.js +0 -2
  329. package/app/dist/assets/component-Cdnq5GYF-IUF1gYXZ.js.map +0 -1
  330. package/app/dist/assets/component-D0mBOGjS-SE7kA5Ev.js +0 -2
  331. package/app/dist/assets/component-D0mBOGjS-SE7kA5Ev.js.map +0 -1
  332. package/app/dist/assets/component-DBAicJ2u-Bq6leD51.js +0 -2
  333. package/app/dist/assets/component-DBAicJ2u-Bq6leD51.js.map +0 -1
  334. package/app/dist/assets/component-DCw1ZAE5-CLTcMIV0.js +0 -2
  335. package/app/dist/assets/component-DCw1ZAE5-CLTcMIV0.js.map +0 -1
  336. package/app/dist/assets/component-DLSlbWg8-Yie7UAo-.js +0 -2
  337. package/app/dist/assets/component-DLSlbWg8-Yie7UAo-.js.map +0 -1
  338. package/app/dist/assets/component-DeMf195P-BFyN5pY3.js +0 -2
  339. package/app/dist/assets/component-DeMf195P-BFyN5pY3.js.map +0 -1
  340. package/app/dist/assets/component-nR5Bf9G5-DXXAPaw0.js +0 -2
  341. package/app/dist/assets/component-nR5Bf9G5-DXXAPaw0.js.map +0 -1
  342. package/app/dist/assets/component-names-CrfBV37S-unMTSn8y.js +0 -2
  343. package/app/dist/assets/component-names-CrfBV37S-unMTSn8y.js.map +0 -1
  344. package/app/dist/assets/contrast-D78VGPFR-Deg3HX7K.js +0 -2
  345. package/app/dist/assets/contrast-D78VGPFR-Deg3HX7K.js.map +0 -1
  346. package/app/dist/assets/controller-C3O9ohSP-BND5cx2S.js +0 -2
  347. package/app/dist/assets/controller-C3O9ohSP-BND5cx2S.js.map +0 -1
  348. package/app/dist/assets/dev.utils-wYkYn08d-DgFCw372.js +0 -9
  349. package/app/dist/assets/dev.utils-wYkYn08d-DgFCw372.js.map +0 -1
  350. package/app/dist/assets/devtools-DrBkkLdP-BAmIGl-I.js +0 -14
  351. package/app/dist/assets/devtools-DrBkkLdP-BAmIGl-I.js.map +0 -1
  352. package/app/dist/assets/disabled-Cqhc40CU-CRm1KmcK.js +0 -2
  353. package/app/dist/assets/disabled-Cqhc40CU-CRm1KmcK.js.map +0 -1
  354. package/app/dist/assets/element-focus-BIRmGg5W-BXXDH1_D.js +0 -2
  355. package/app/dist/assets/element-focus-BIRmGg5W-BXXDH1_D.js.map +0 -1
  356. package/app/dist/assets/element-interaction-sGYdEpmv-DkRSXuZE.js +0 -2
  357. package/app/dist/assets/element-interaction-sGYdEpmv-DkRSXuZE.js.map +0 -1
  358. package/app/dist/assets/field-control-Cs5VvsYo-BXQgOCva.js +0 -2
  359. package/app/dist/assets/field-control-Cs5VvsYo-BXQgOCva.js.map +0 -1
  360. package/app/dist/assets/group-uNo1CfbK-dSKlSEwU.js +0 -2
  361. package/app/dist/assets/group-uNo1CfbK-dSKlSEwU.js.map +0 -1
  362. package/app/dist/assets/has-closer-B9NQY7BK-D9JmxA8X.js +0 -2
  363. package/app/dist/assets/has-closer-B9NQY7BK-D9JmxA8X.js.map +0 -1
  364. package/app/dist/assets/href-JqLbNBsW-yYhi9tN2.js +0 -2
  365. package/app/dist/assets/href-JqLbNBsW-yYhi9tN2.js.map +0 -1
  366. package/app/dist/assets/i18n-Dl6Jjofb-CX4anLip.js +0 -2
  367. package/app/dist/assets/i18n-Dl6Jjofb-CX4anLip.js.map +0 -1
  368. package/app/dist/assets/i18n-DtLKn3Xt-Sm4nS4xb.js +0 -2
  369. package/app/dist/assets/i18n-DtLKn3Xt-Sm4nS4xb.js.map +0 -1
  370. package/app/dist/assets/id-CIYvVaNr-DwcmvIyp.js +0 -2
  371. package/app/dist/assets/id-CIYvVaNr-DwcmvIyp.js.map +0 -1
  372. package/app/dist/assets/index-BKEJuyFi-BIHNDvwu.js +0 -21
  373. package/app/dist/assets/index-BKEJuyFi-BIHNDvwu.js.map +0 -1
  374. package/app/dist/assets/index-C3ZgfueX.css +0 -1
  375. package/app/dist/assets/index-CcQDmtxr.js +0 -97
  376. package/app/dist/assets/index-CcQDmtxr.js.map +0 -1
  377. package/app/dist/assets/input-Dja5Qioc-BQtUcQrd.js +0 -2
  378. package/app/dist/assets/input-Dja5Qioc-BQtUcQrd.js.map +0 -1
  379. package/app/dist/assets/input-container-C2Am7LEP-BnEfIMrQ.js +0 -2
  380. package/app/dist/assets/input-container-C2Am7LEP-BnEfIMrQ.js.map +0 -1
  381. package/app/dist/assets/item-C4AmpdVD-BrXcigWM.js +0 -2
  382. package/app/dist/assets/item-C4AmpdVD-BrXcigWM.js.map +0 -1
  383. package/app/dist/assets/item-ConW1c81-C27kEJus.js +0 -2
  384. package/app/dist/assets/item-ConW1c81-C27kEJus.js.map +0 -1
  385. package/app/dist/assets/item-D627ShRd-lBLRVDAw.js +0 -2
  386. package/app/dist/assets/item-D627ShRd-lBLRVDAw.js.map +0 -1
  387. package/app/dist/assets/item-DIAFIFSy-DXhWAXzE.js +0 -2
  388. package/app/dist/assets/item-DIAFIFSy-DXhWAXzE.js.map +0 -1
  389. package/app/dist/assets/item-pool-BOxAYePG-7TsT6kC_.js +0 -2
  390. package/app/dist/assets/item-pool-BOxAYePG-7TsT6kC_.js.map +0 -1
  391. package/app/dist/assets/keyboard-Cnv7zP3N-Day-K4ic.js +0 -2
  392. package/app/dist/assets/keyboard-Cnv7zP3N-Day-K4ic.js.map +0 -1
  393. package/app/dist/assets/kol-abbr.entry-DPvs-aCY.js +0 -2
  394. package/app/dist/assets/kol-abbr.entry-DPvs-aCY.js.map +0 -1
  395. package/app/dist/assets/kol-accordion.entry-YZJWAay7.js +0 -2
  396. package/app/dist/assets/kol-accordion.entry-YZJWAay7.js.map +0 -1
  397. package/app/dist/assets/kol-alert.entry-CdsgKKeI.js +0 -2
  398. package/app/dist/assets/kol-alert.entry-CdsgKKeI.js.map +0 -1
  399. package/app/dist/assets/kol-avatar.entry-Bq1GiVE_.js +0 -2
  400. package/app/dist/assets/kol-avatar.entry-Bq1GiVE_.js.map +0 -1
  401. package/app/dist/assets/kol-badge.entry-Bidq10P1.js +0 -2
  402. package/app/dist/assets/kol-badge.entry-Bidq10P1.js.map +0 -1
  403. package/app/dist/assets/kol-breadcrumb.entry-DYSXydrl.js +0 -2
  404. package/app/dist/assets/kol-breadcrumb.entry-DYSXydrl.js.map +0 -1
  405. package/app/dist/assets/kol-button-link.entry-VpwG32k1.js +0 -2
  406. package/app/dist/assets/kol-button-link.entry-VpwG32k1.js.map +0 -1
  407. package/app/dist/assets/kol-button.entry-RGRksMGH.js +0 -2
  408. package/app/dist/assets/kol-button.entry-RGRksMGH.js.map +0 -1
  409. package/app/dist/assets/kol-card.entry-CcJy1anr.js +0 -2
  410. package/app/dist/assets/kol-card.entry-CcJy1anr.js.map +0 -1
  411. package/app/dist/assets/kol-click-button.entry-CwUTjQyx.js +0 -2
  412. package/app/dist/assets/kol-click-button.entry-CwUTjQyx.js.map +0 -1
  413. package/app/dist/assets/kol-combobox.entry-DxzpwtWc.js +0 -2
  414. package/app/dist/assets/kol-combobox.entry-DxzpwtWc.js.map +0 -1
  415. package/app/dist/assets/kol-details.entry-QfHdK6IH.js +0 -2
  416. package/app/dist/assets/kol-details.entry-QfHdK6IH.js.map +0 -1
  417. package/app/dist/assets/kol-dialog.entry-Cgg6m_UC.js.map +0 -1
  418. package/app/dist/assets/kol-drawer.entry-BqsJ7MZW.js +0 -2
  419. package/app/dist/assets/kol-drawer.entry-BqsJ7MZW.js.map +0 -1
  420. package/app/dist/assets/kol-form.entry-D-_-g9PU.js +0 -2
  421. package/app/dist/assets/kol-form.entry-D-_-g9PU.js.map +0 -1
  422. package/app/dist/assets/kol-heading.entry-B8rJ88s-.js +0 -2
  423. package/app/dist/assets/kol-heading.entry-B8rJ88s-.js.map +0 -1
  424. package/app/dist/assets/kol-icon.entry-Dxe593Yf.js +0 -2
  425. package/app/dist/assets/kol-icon.entry-Dxe593Yf.js.map +0 -1
  426. package/app/dist/assets/kol-image.entry-t8fNYgPa.js +0 -2
  427. package/app/dist/assets/kol-image.entry-t8fNYgPa.js.map +0 -1
  428. package/app/dist/assets/kol-input-checkbox.entry-CyL-YihK.js +0 -2
  429. package/app/dist/assets/kol-input-checkbox.entry-CyL-YihK.js.map +0 -1
  430. package/app/dist/assets/kol-input-color.entry-DfSnk_Jp.js +0 -2
  431. package/app/dist/assets/kol-input-color.entry-DfSnk_Jp.js.map +0 -1
  432. package/app/dist/assets/kol-input-date.entry-DsE8T-O8.js +0 -2
  433. package/app/dist/assets/kol-input-date.entry-DsE8T-O8.js.map +0 -1
  434. package/app/dist/assets/kol-input-email.entry-CIyDy4nO.js +0 -2
  435. package/app/dist/assets/kol-input-email.entry-CIyDy4nO.js.map +0 -1
  436. package/app/dist/assets/kol-input-file.entry-DvDzhqlT.js +0 -2
  437. package/app/dist/assets/kol-input-file.entry-DvDzhqlT.js.map +0 -1
  438. package/app/dist/assets/kol-input-number.entry-D0zSoyep.js +0 -2
  439. package/app/dist/assets/kol-input-number.entry-D0zSoyep.js.map +0 -1
  440. package/app/dist/assets/kol-input-password.entry-DP9Q7uFA.js +0 -2
  441. package/app/dist/assets/kol-input-password.entry-DP9Q7uFA.js.map +0 -1
  442. package/app/dist/assets/kol-input-radio.entry-CY2t7MDq.js +0 -2
  443. package/app/dist/assets/kol-input-radio.entry-CY2t7MDq.js.map +0 -1
  444. package/app/dist/assets/kol-input-range.entry-DiN5FgtD.js +0 -2
  445. package/app/dist/assets/kol-input-range.entry-DiN5FgtD.js.map +0 -1
  446. package/app/dist/assets/kol-input-text.entry-Do_QSHzW.js +0 -2
  447. package/app/dist/assets/kol-input-text.entry-Do_QSHzW.js.map +0 -1
  448. package/app/dist/assets/kol-kolibri.entry-Cvu6RWxq.js +0 -2
  449. package/app/dist/assets/kol-kolibri.entry-Cvu6RWxq.js.map +0 -1
  450. package/app/dist/assets/kol-link-button.entry-BsHXpQFO.js +0 -2
  451. package/app/dist/assets/kol-link-button.entry-BsHXpQFO.js.map +0 -1
  452. package/app/dist/assets/kol-link.entry-BtGbtRVU.js +0 -2
  453. package/app/dist/assets/kol-link.entry-BtGbtRVU.js.map +0 -1
  454. package/app/dist/assets/kol-meter.entry-DrJx_Ax1.js +0 -2
  455. package/app/dist/assets/kol-meter.entry-DrJx_Ax1.js.map +0 -1
  456. package/app/dist/assets/kol-modal.entry-BgHsd0Wi.js.map +0 -1
  457. package/app/dist/assets/kol-nav.entry-DrUT0z3U.js +0 -2
  458. package/app/dist/assets/kol-nav.entry-DrUT0z3U.js.map +0 -1
  459. package/app/dist/assets/kol-pagination.entry-BWiHpVdT.js +0 -2
  460. package/app/dist/assets/kol-pagination.entry-BWiHpVdT.js.map +0 -1
  461. package/app/dist/assets/kol-popover-button.entry-YJwrN-QQ.js +0 -2
  462. package/app/dist/assets/kol-popover-button.entry-YJwrN-QQ.js.map +0 -1
  463. package/app/dist/assets/kol-progress.entry-DrV-xIx9.js +0 -2
  464. package/app/dist/assets/kol-progress.entry-DrV-xIx9.js.map +0 -1
  465. package/app/dist/assets/kol-quote.entry-DAZsJQCB.js +0 -2
  466. package/app/dist/assets/kol-quote.entry-DAZsJQCB.js.map +0 -1
  467. package/app/dist/assets/kol-select.entry-yY9Fiv2m.js +0 -2
  468. package/app/dist/assets/kol-select.entry-yY9Fiv2m.js.map +0 -1
  469. package/app/dist/assets/kol-single-select.entry-ufwtb77g.js +0 -2
  470. package/app/dist/assets/kol-single-select.entry-ufwtb77g.js.map +0 -1
  471. package/app/dist/assets/kol-skeleton.entry-B7_rhVBv.js +0 -2
  472. package/app/dist/assets/kol-skeleton.entry-B7_rhVBv.js.map +0 -1
  473. package/app/dist/assets/kol-skip-nav.entry-B-Sr1_ki.js +0 -2
  474. package/app/dist/assets/kol-skip-nav.entry-B-Sr1_ki.js.map +0 -1
  475. package/app/dist/assets/kol-spin.entry-BIHHT6Zl.js +0 -2
  476. package/app/dist/assets/kol-spin.entry-BIHHT6Zl.js.map +0 -1
  477. package/app/dist/assets/kol-split-button.entry-CyapCiZS.js +0 -2
  478. package/app/dist/assets/kol-split-button.entry-CyapCiZS.js.map +0 -1
  479. package/app/dist/assets/kol-table-stateful.entry-fisz4zsA.js +0 -2
  480. package/app/dist/assets/kol-table-stateful.entry-fisz4zsA.js.map +0 -1
  481. package/app/dist/assets/kol-table-stateless.entry-euP3VTfr.js +0 -2
  482. package/app/dist/assets/kol-table-stateless.entry-euP3VTfr.js.map +0 -1
  483. package/app/dist/assets/kol-tabs.entry-kgaxMz7v.js +0 -2
  484. package/app/dist/assets/kol-tabs.entry-kgaxMz7v.js.map +0 -1
  485. package/app/dist/assets/kol-textarea.entry-CQgFc5Hn.js +0 -2
  486. package/app/dist/assets/kol-textarea.entry-CQgFc5Hn.js.map +0 -1
  487. package/app/dist/assets/kol-toast-container.entry-CiYVSVTm.js +0 -2
  488. package/app/dist/assets/kol-toast-container.entry-CiYVSVTm.js.map +0 -1
  489. package/app/dist/assets/kol-toolbar.entry-CRJ8scUM.js +0 -2
  490. package/app/dist/assets/kol-toolbar.entry-CRJ8scUM.js.map +0 -1
  491. package/app/dist/assets/kol-tree-item.entry-Bg2ljEi3.js +0 -2
  492. package/app/dist/assets/kol-tree-item.entry-Bg2ljEi3.js.map +0 -1
  493. package/app/dist/assets/kol-tree.entry-DmnBX9XC.js +0 -2
  494. package/app/dist/assets/kol-tree.entry-DmnBX9XC.js.map +0 -1
  495. package/app/dist/assets/kol-version.entry-ztGOyvgK.js +0 -2
  496. package/app/dist/assets/kol-version.entry-ztGOyvgK.js.map +0 -1
  497. package/app/dist/assets/label-BRosRgdX-CErDuk_V.js +0 -2
  498. package/app/dist/assets/label-BRosRgdX-CErDuk_V.js.map +0 -1
  499. package/app/dist/assets/label-hints-Jn18RUT--Do6w4I59.js +0 -2
  500. package/app/dist/assets/label-hints-Jn18RUT--Do6w4I59.js.map +0 -1
  501. package/app/dist/assets/label-lang-segment-2_GnxjFp-SnkrnK3k.js +0 -2
  502. package/app/dist/assets/label-lang-segment-2_GnxjFp-SnkrnK3k.js.map +0 -1
  503. package/app/dist/assets/label-with-expert-slot-CicRes-W-BIpMdOgC.js +0 -2
  504. package/app/dist/assets/label-with-expert-slot-CicRes-W-BIpMdOgC.js.map +0 -1
  505. package/app/dist/assets/level-CA1s1_Mf-DPuRBKY0.js +0 -2
  506. package/app/dist/assets/level-CA1s1_Mf-DPuRBKY0.js.map +0 -1
  507. package/app/dist/assets/link-target-FX94oqMo-BQMA7tPL.js +0 -2
  508. package/app/dist/assets/link-target-FX94oqMo-BQMA7tPL.js.map +0 -1
  509. package/app/dist/assets/links-DwucTqcR-C4Td7KwG.js +0 -2
  510. package/app/dist/assets/links-DwucTqcR-C4Td7KwG.js.map +0 -1
  511. package/app/dist/assets/multiple-DqrZxybx-BwCNEBTn.js +0 -2
  512. package/app/dist/assets/multiple-DqrZxybx-BwCNEBTn.js.map +0 -1
  513. package/app/dist/assets/name-B2Yf3EpX-C-_eYGkT.js +0 -2
  514. package/app/dist/assets/name-B2Yf3EpX-C-_eYGkT.js.map +0 -1
  515. package/app/dist/assets/number-value-B-SJ1dRo-C6SGsc8j.js +0 -2
  516. package/app/dist/assets/number-value-B-SJ1dRo-C6SGsc8j.js.map +0 -1
  517. package/app/dist/assets/open-DRRv1KFK-DmhAJTc1.js +0 -2
  518. package/app/dist/assets/open-DRRv1KFK-DmhAJTc1.js.map +0 -1
  519. package/app/dist/assets/open-items-cache-D-kml1h6-Ce94d8eX.js +0 -2
  520. package/app/dist/assets/open-items-cache-D-kml1h6-Ce94d8eX.js.map +0 -1
  521. package/app/dist/assets/options-B0rBHetL-BwxiS_20.js +0 -2
  522. package/app/dist/assets/options-B0rBHetL-BwxiS_20.js.map +0 -1
  523. package/app/dist/assets/options-DCaUcfAu-3o3GAJat.js.map +0 -1
  524. package/app/dist/assets/orientation-XNOCaPwy-wmLshcHe.js +0 -2
  525. package/app/dist/assets/orientation-XNOCaPwy-wmLshcHe.js.map +0 -1
  526. package/app/dist/assets/placeholder-BeLIzdJv-BUtA8boJ.js +0 -2
  527. package/app/dist/assets/placeholder-BeLIzdJv-BUtA8boJ.js.map +0 -1
  528. package/app/dist/assets/props-from-config-Ci0dILpz-9TGzV2dG.js +0 -2
  529. package/app/dist/assets/props-from-config-Ci0dILpz-9TGzV2dG.js.map +0 -1
  530. package/app/dist/assets/read-only-Bby9r6ZX-CnIbV-5U.js +0 -2
  531. package/app/dist/assets/read-only-Bby9r6ZX-CnIbV-5U.js.map +0 -1
  532. package/app/dist/assets/required-hoaT7UmZ-BzsdpKGQ.js +0 -2
  533. package/app/dist/assets/required-hoaT7UmZ-BzsdpKGQ.js.map +0 -1
  534. package/app/dist/assets/resolve-props-BLZxWC3j-Cyjs1p_E.js +0 -2
  535. package/app/dist/assets/resolve-props-BLZxWC3j-Cyjs1p_E.js.map +0 -1
  536. package/app/dist/assets/resolve-props-D2KiItuv-CXg1tKV0.js.map +0 -1
  537. package/app/dist/assets/rows-B0x8CR7K-2PGLX4uJ.js +0 -2
  538. package/app/dist/assets/rows-B0x8CR7K-2PGLX4uJ.js.map +0 -1
  539. package/app/dist/assets/scroll-lock-Y2hf47KW-BncxY2bp.js +0 -2
  540. package/app/dist/assets/scroll-lock-Y2hf47KW-BncxY2bp.js.map +0 -1
  541. package/app/dist/assets/smart-button-CS_ZriPt-DdMI-njs.js +0 -2
  542. package/app/dist/assets/smart-button-CS_ZriPt-DdMI-njs.js.map +0 -1
  543. package/app/dist/assets/spell-check-DzgftyqL-B1DXa99s.js +0 -2
  544. package/app/dist/assets/spell-check-DzgftyqL-B1DXa99s.js.map +0 -1
  545. package/app/dist/assets/src-DaGhmCL1-BRqWHP5L.js +0 -2
  546. package/app/dist/assets/src-DaGhmCL1-BRqWHP5L.js.map +0 -1
  547. package/app/dist/assets/step-Bdj89bGO-CDs0pJVu.js +0 -2
  548. package/app/dist/assets/step-Bdj89bGO-CDs0pJVu.js.map +0 -1
  549. package/app/dist/assets/suggestions-DuqzGDve-Ba4zorB_.js +0 -2
  550. package/app/dist/assets/suggestions-DuqzGDve-Ba4zorB_.js.map +0 -1
  551. package/app/dist/assets/suggestions-Dy1X-Pc3-I_G69Lii.js.map +0 -1
  552. package/app/dist/assets/test-component.entry-BWBFlQBn.js +0 -2
  553. package/app/dist/assets/test-component.entry-BWBFlQBn.js.map +0 -1
  554. package/app/dist/assets/toggle-handler-BRLmxe1J-B3CgeikE.js +0 -2
  555. package/app/dist/assets/toggle-handler-BRLmxe1J-B3CgeikE.js.map +0 -1
  556. package/app/dist/assets/unique-nav-labels-h2KOu5Qy-B1WT1_VC.js +0 -2
  557. package/app/dist/assets/unique-nav-labels-h2KOu5Qy-B1WT1_VC.js.map +0 -1
  558. package/app/dist/assets/unit-BUhhJbhT-DVfqBsRY.js +0 -2
  559. package/app/dist/assets/unit-BUhhJbhT-DVfqBsRY.js.map +0 -1
  560. package/app/dist/assets/validators-BVM40IEr-BjoU91EO.js +0 -2
  561. package/app/dist/assets/validators-BVM40IEr-BjoU91EO.js.map +0 -1
  562. package/app/dist/assets/value-string-e9pwLcS--BElmVFMK.js +0 -2
  563. package/app/dist/assets/value-string-e9pwLcS--BElmVFMK.js.map +0 -1
  564. package/app/dist/assets/width-CgYY17tL-Ct_Wvlzq.js +0 -2
  565. package/app/dist/assets/width-CgYY17tL-Ct_Wvlzq.js.map +0 -1
@@ -0,0 +1,111 @@
1
+ import{H as e,U as t,V as n,a as r,i,j as a,l as o,o as s,s as c,t as l,v as u,z as d}from"./index-D1fZ9xFt-rYeqDpjK.js";import{t as f}from"./shared-state-Dn94ivRg-CA5TKdPv.js";var p=Object.create,m=Object.defineProperty,h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,_=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,y=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),b=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=g(t),a=0,o=i.length,s;a<o;a++)s=i[a],!v.call(e,s)&&s!==n&&m(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=h(t,s))||r.enumerable});return e},x=(e,t,n)=>(n=e==null?{}:p(_(e)),b(t||!e||!e.__esModule||!v.call(e,`default`)?m(n,`default`,{value:e,enumerable:!0}):n,e));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var S=y((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ee(e,t){return E(e.type,t,e.props)}function te(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ne(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var re=/\/+/g;function ie(e,t){return typeof e==`object`&&e&&e.key!=null?ne(``+e.key):t.toString(36)}function ae(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function oe(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,oe(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+ie(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(re,`$&/`)+`/`),oe(o,r,i,``,function(e){return e})):o!=null&&(te(o)&&(o=ee(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(re,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+ie(a,u),c+=oe(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+ie(a,u++),c+=oe(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return oe(ae(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function D(e,t,n){if(e==null)return e;var r=[],i=0;return oe(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function O(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var se=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ce={map:D,forEach:function(e,t,n){D(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return D(e,function(){t++}),t},toArray:function(e){return D(e,function(e){return e})||[]},only:function(e){if(!te(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ce,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=te,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:O}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,se)}catch(e){se(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.8`})),C=y(((e,t)=>{t.exports=S()})),w=x(C(),1),T=`modulepreload`,E=function(e,t){return new URL(e,t).href},ee={},te=function(e){return e.pathname.endsWith(`.css`)},ne=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},re=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=E(t,n);let r=s(t),i=te(r);return ne(ee,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:T,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},ie=()=>{a.A11yUi=f(`themes`,()=>a.A11yUi)},ae={"action-done":`Aktion abgeschlossen`,"action-running":`Aktion wird ausgeführt`,"avatar-alt":`Avatar von {{name}}`,"character-counter-current":`{{current}} Zeichen`,"character-counter-current-of-max":`{{current}}/{{max}} Zeichen`,"character-counter-current-of-max-aria":`{{current}} von {{max}} Zeichen`,"character-counter-max-aria":`Zeichenlimit erreicht!`,"character-limit-exceeded":`Es sind {{over}} Zeichen zu viel.`,"character-limit-hint":`Es können bis zu {{limit}} Zeichen eingegeben werden.`,"character-limit-remaining":`Es sind noch {{remaining}} Zeichen verfügbar.`,"clear-search":`Suche löschen`,close:`Schließen`,"close-alert":`Benachrichtigung schließen`,"data-browse-text":`Datei auswählen`,"delete-selection":`Auswahl entfernen`,"entries-per-site":`Einträge pro Seite`,error:`Fehler`,"error-list":`Fehlerliste`,"error-list-message":`Bitte korrigieren Sie folgende Fehler:`,"filename-text":`Datei auswählen oder hier ablegen`,"form-description":`Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.`,"hide-password":`Passwort verbergen`,info:`Hinweis`,"kolibri-logo":`Logo von KoliBri`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} von {{max}} {{unit}}`,message:`Nachricht`,"meter-state-critical":`Kritisch`,"meter-state-optimum":`Optimal`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Navigation maximieren`,"nav-minimize":`Navigation minimieren`,new:`Neu`,"no-entries":`Es sind keine Einträge vorhanden.`,"no-results-message":`Keine Ergebnisse gefunden.`,"open-link-in-tab":`Öffnet in neuem Tab.`,page:`Seite`,"page-back":`Eine Seite zurück`,"page-first":`Direkt zur ersten Seite`,"page-last":`Direkt zur letzten Seite`,"page-next":`Eine Seite weiter`,pagination:`Paginierung`,"pagination-position-bottom":`unten`,"pagination-position-top":`oben`,progress:`Fortschritt`,readonly:`schreibgeschützt`,"show-password":`Passwort einblenden`,"show-suggestions":`Vorschläge anzeigen`,sort:`sortieren`,"split-button-dropdown-label-open":`Optionen anzeigen`,success:`Erfolg`,"table-data-loading":`Daten für Tabelle {{caption}} werden geladen.`,"table-data-loaded":`Daten für Tabelle {{caption}} wurden geladen.`,"table-pagination-label":`Paginierung für die Tabelle {{label}}`,"table-selection":`Auswahl`,"table-selection-all":`Alle auswählen`,"table-selection-indeterminate":`Alle auswählen bei teilweiser Auswahl`,"table-selection-none":`Alle abwählen`,"table-settings":`Tabellenkonfiguration`,"table-settings-apply":`Übernehmen`,"table-settings-cancel":`Abbrechen`,"table-settings-column-hidable":`Spalte "{{column}}" ausblenden.`,"table-settings-column-not-hidable":`Spalte "{{column}}" kann nicht ausgeblendet werden.`,"table-settings-column-width":`Breite von Spalte "{{column}}" in Pixel.`,"table-settings-error-all-invisible":`Mindestens eine Spalte muss sichtbar sein.`,"table-settings-move-down":`Spalte "{{column}}" nach unten verschieben.`,"table-settings-move-up":`Spalte "{{column}}" nach oben verschieben.`,"table-settings-not-move":`Spalte "{{column}}" kann nicht verschoben werden.`,"table-sort-order":`Priorität {{order}}`,"table-visible-range":`Einträge {{start}} bis {{end}} von {{total}}`,"toast-close-all":`Alle Benachrichtigungen schließen`,version:`Versionsnummer`,warning:`Warnung`},oe={"action-done":`Action done`,"action-running":`Action is running`,"avatar-alt":`Avatar of {{name}}`,"character-counter-current":`{{current}} characters`,"character-counter-current-of-max":`{{current}}/{{max}} characters`,"character-counter-current-of-max-aria":`{{current}} of {{max}} characters`,"character-counter-max-aria":`Character limit reached!`,"character-limit-exceeded":`You have {{over}} characters too many.`,"character-limit-hint":`You can enter up to {{limit}} characters`,"character-limit-remaining":`You have {{remaining}} characters remaining.`,"clear-search":`Clear search`,close:`Close`,"close-alert":`Close notification`,"data-browse-text":`Browse`,"delete-selection":`Delete selection`,"entries-per-site":`Entries per page`,error:`Error`,"error-list":`Error list`,"error-list-message":`Please correct the following errors`,"filename-text":`Choose a file or drop it here`,"form-description":`Form fields marked with an asterisk (*) are mandatory.`,"hide-password":`Hide password`,info:`Note`,"kolibri-logo":`KoliBri logo`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} of {{max}} {{unit}}`,message:`Message`,"meter-state-critical":`Critical`,"meter-state-optimum":`Optimum`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Maximize navigation`,"nav-minimize":`Minimize navigation`,new:`New`,"no-entries":`No entries available.`,"no-results-message":`No results found.`,"open-link-in-tab":`Opens in new tab.`,page:`Page`,"page-back":`One page back`,"page-first":`Directly to the first page`,"page-last":`Directly to the last page`,"page-next":`One page further`,pagination:`Pagination`,"pagination-position-bottom":`bottom`,"pagination-position-top":`top`,progress:`Progress`,readonly:`read-only`,"show-password":`Show password`,"show-suggestions":`Show suggestions`,sort:`sort`,"split-button-dropdown-label-open":`Show options`,success:`Success`,"table-data-loading":`Data in table {{caption}} is loading.`,"table-data-loaded":`Data in table {{caption}} got loaded.`,"table-pagination-label":`Pagination for table {{label}}`,"table-selection":`Selection`,"table-selection-all":`Select all`,"table-selection-indeterminate":`Select all with partial selection`,"table-selection-none":`Deselect all`,"table-settings":`Table configuration`,"table-settings-apply":`Apply`,"table-settings-cancel":`Cancel`,"table-settings-column-hidable":`Hide column "{{column}}".`,"table-settings-column-not-hidable":`Column "{{column}}" cannot be hidden.`,"table-settings-column-width":`Width of column "{{column}}" in pixel.`,"table-settings-error-all-invisible":`At least one column must be visible.`,"table-settings-move-down":`Move column "{{column}}" down.`,"table-settings-move-up":`Move column "{{column}}" up.`,"table-settings-not-move":`Column "{{column}}" cannot be moved.`,"table-sort-order":`Priority {{order}}`,"table-visible-range":`Entries {{start}} to {{end}} of {{total}}`,"toast-close-all":`Close all notifications`,version:`Version number`,warning:`Warning`},D=e=>Object.keys(e).reduce((t,n)=>(t[`kol-${n}`]=e[n],t),{}),O=new Set([e=>e(`en`,D(oe)),e=>e(`de`,D(ae))]),se=function(e,t,n){return e.split(t).join(n)},ce=class{constructor(e){this.resourceMap=new Map,this.language=e??`de`}addTranslations(e){Array.isArray(e)?e=new Set(e):typeof e==`function`&&(e=new Set([e])),e!==void 0&&e.forEach(e=>e((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach(([e,t])=>{t&&n.set(e,t)}),e}))}setLanguage(e){this.language=e}translate(e,t){let n=this.resourceMap.get(this.language)?.get(e);return n?t?.placeholders&&Object.entries(t.placeholders).forEach(([e,t])=>{n=se(n,`{{${e}}}`,t)}):n=e,n}},le=f(`i18n`,()=>({})),ue=()=>le.instance,de=(e,t)=>{let n=new ce(e);return n.addTranslations(O),n.addTranslations(t),le.instance=n,n},fe=`kol-abbr`,pe=`kol-accordion`,me=`kol-alert`,he=`kol-avatar`,ge=`kol-badge`,_e=`kol-breadcrumb`,ve=`kol-button-link`,ye=`kol-button`,be=`kol-card`,xe=`kol-combobox`,Se=`kol-details`,Ce=`kol-dialog`,we=`kol-drawer`,Te=`kol-form`,Ee=`kol-heading`,De=`kol-icon`,Oe=`kol-image`,ke=`kol-input-checkbox`,Ae=`kol-input-color`,je=`kol-input-date`,Me=`kol-input-email`,Ne=`kol-input-file`,Pe=`kol-input-number`,Fe=`kol-input-password`,Ie=`kol-input-radio`,Le=`kol-input-range`,Re=`kol-input`,ze=`kol-input-text`,Be=`kol-kolibri`,Ve=`kol-link-button`,He=`kol-link`,Ue=`kol-meter`,We=`kol-modal`,Ge=`kol-nav`,Ke=`kol-pagination`,qe=`kol-popover-button`,Je=`kol-progress`,Ye=`kol-quote`,Xe=`kol-select`,Ze=`kol-single-select`,Qe=`kol-skip-nav`,$e=`kol-spin`,et=`kol-split-button`,tt=`kol-table-stateful`,nt=`kol-table-stateless`,rt=`kol-tabs`,it=`kol-textarea`,at=`kol-toast-container`,ot=`kol-toolbar`,st=`kol-tree-item`,ct=`kol-tree`,lt=Object.freeze({__proto__:null,KolAbbrTag:fe,KolAccordionTag:pe,KolAlertTag:me,KolAvatarTag:he,KolBadgeTag:ge,KolBreadcrumbTag:_e,KolButtonLinkTag:ve,KolButtonTag:ye,KolCardTag:be,KolComboboxTag:xe,KolDetailsTag:Se,KolDialogTag:Ce,KolDrawerTag:we,KolFormTag:Te,KolHeadingTag:Ee,KolIconTag:De,KolImageTag:Oe,KolInputCheckboxTag:ke,KolInputColorTag:Ae,KolInputDateTag:je,KolInputEmailTag:Me,KolInputFileTag:Ne,KolInputNumberTag:Pe,KolInputPasswordTag:Fe,KolInputRadioTag:Ie,KolInputRangeTag:Le,KolInputTag:Re,KolInputTextTag:ze,KolKolibriTag:Be,KolLinkButtonTag:Ve,KolLinkTag:He,KolMeterTag:Ue,KolModalTag:We,KolNavTag:Ge,KolPaginationTag:Ke,KolPopoverButtonTag:qe,KolProgressTag:Je,KolQuoteTag:Ye,KolSelectTag:Xe,KolSingleSelectTag:Ze,KolSkipNavTag:Qe,KolSpinTag:$e,KolSplitButtonTag:et,KolTableStatefulTag:tt,KolTableStatelessTag:nt,KolTabsTag:rt,KolTextareaTag:it,KolToastContainerTag:at,KolToolbarTag:ot,KolTreeItemTag:st,KolTreeTag:ct,KolVersionTag:`kol-version`}),ut=f(`tag-transformer`,()=>({})),dt=e=>typeof customElements<`u`&&customElements.get(t(e))!==void 0,ft=t=>{ut.transformer&&s.warn(`The tag name transformer was already registered. Components already defined keep their current tag and will not resolve under the new one.`,{forceLog:!0}),Object.values(lt).some(e=>dt(e)||dt(t(e)))&&s.warn(`Components are already defined while the tag name transformer is registered. They keep their current tag and will not resolve under the transformed one.`,{forceLog:!0});let n=e=>e.startsWith(`kol-`)?t(e):e;return e(n),ut.transformer=n,n},pt=()=>ut.transformer,mt=f(`bootstrap`,()=>({})),ht=!1;ie();var gt=async(e,t,r)=>{let i=typeof process<`u`?`production`:void 0;n(r?.environment||i||`production`),de(r?.translation?.name??`de`,r?.translations),r?.transformTagName&&ft(r.transformTagName);let a=await d(e,t,r);return ht=!0,mt.options=r,s.info(`Development mode active - Enhanced debugging features available`),a},_t=()=>ht,vt=()=>mt.options,yt=f(`location`,()=>({subscribers:[]})),bt=e=>{yt.current=e,yt.subscribers.forEach(t=>{t(e)})},xt=(e,t=!0)=>(t&&typeof yt.current==`string`&&e(yt.current),yt.subscribers.push(e),()=>{let t=yt.subscribers.indexOf(e);t>=0&&yt.subscribers.splice(t,1)}),St,Ct;function wt(){return Ct||(Ct=1,St=function(e){return function(t,n){if(!t)return e;var r;typeof t==`string`?r=t:n=t;var i=e;return r&&(i+=`__`+r),i+(n?Object.keys(n).reduce(function(e,t){var r=n[t];return r&&(e+=` `+(typeof r==`boolean`?i+`--`+t:i+`--`+t+`_`+r)),e},``):``)}}),St}var Tt=wt(),Et=u(Tt);function Dt(){let e=new Map,t=(t,n,r)=>{try{return e.get(t)(n,r)}catch{return e.set(t,Et(t)).get(t)(n,r)}};return t.forBlock=e=>{let n=(n,r)=>t(e,n,r);return n.forElement=n=>r=>t(e,n,r),n},t}var Ot=Dt(),kt;(function(e){e.blur=`blur`,e.cancel=`cancel`,e.change=`change`,e.changeHeaderCells=`changeheadercells`,e.changePage=`changepage`,e.changePageSize=`changepagesize`,e.click=`click`,e.close=`close`,e.create=`create`,e.error=`error`,e.focus=`focus`,e.input=`input`,e.keydown=`keydown`,e.load=`load`,e.mousedown=`mousedown`,e.reset=`reset`,e.select=`select`,e.selectionChange=`selectionchange`,e.sortChange=`sortchange`,e.sort=`sort`,e.submit=`submit`,e.toggle=`toggle`})(kt||={});var At={bubbles:!0,cancelable:!0,composed:!0};function jt(e,t=null){return new CustomEvent(e,Object.assign(Object.assign({},At),{detail:t}))}function Mt(e,t,n){return e.dispatchEvent(jt(t,n))}function Nt(e,t=null,n){let r=jt(e,t);return n&&(Object.defineProperty(r,"target",{value:n}),Object.defineProperty(r,"currentTarget",{value:n})),r}var Pt=f(`tooltips`,()=>({open:0})),Ft=()=>{Pt.open++},It=()=>{Pt.open=Math.max(0,Pt.open-1)},Lt=e=>{Pt.open>0&&e.preventDefault()};new l(`kol`,i,o);var Rt=class e{constructor(e,n){this.document=e,this.options=n,this.toastContainerElement=this.document.createElement(t(at)),this.document.body.prepend(this.toastContainerElement),this.options?.defaultVariant&&s.info(`ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.`)}static getInstance(t,n){if(!_t())throw Error(`Toaster: Call KoliBri bootstrap/register method first.`);let r=this.instances.get(t);return r||(r=new e(t,n),this.instances.set(t,r)),r}dispose(){let e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):s.warn(`Toaster service is already disposed.`)}enqueue(e){if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue==`function`)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll==`function`&&this.toastContainerElement.closeAll(e)}};Rt.instances=new Map;var zt;(function(e){e[`Die Bundesregierung`]=`BReg`,e[`Bundesministerium der Finanzen`]=`BMF`,e[`Bundesministerium des Innern, für Bau und Heimat`]=`BMI`,e[`Auswärtiges Amt`]=`AA`,e[`Bundesministerium für Wirtschaft und Energie`]=`BMWi`,e[`Bundesministerium der Justiz und für Verbraucherschutz`]=`BMJV`,e[`Bundesministerium für Arbeit und Soziales`]=`BMAS`,e[`Bundesministerium der Verteidigung`]=`BMVg`,e[`Bundesministerium für Ernährung und Landwirtschaft`]=`BMEL`,e[`Bundesministerium für Familie, Senioren, Frauen und Jugend`]=`BMFSFJ`,e[`Bundesministerium für Gesundheit`]=`BMG`,e[`Bundesministerium für Verkehr und digitale Infrastruktur`]=`BMVI`,e[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`]=`BMU`,e[`Bundesministerium für Bildung und Forschung`]=`BMBF`,e[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`]=`BMZ`})(zt||={}),Object.getOwnPropertyNames(zt);var Bt;(function(e){e[`Beschaffungsamt des Bundesministeriums des Innern`]=`BeschA`,e[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`]=`BAAINBw`,e[`Bundesamt für äußere Restitutionen`]=`BAR`,e[`Bundesamt für Bauwesen und Raumordnung`]=`BBR`,e[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`]=`BBK`,e[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`]=`BAFzA`,e[`Bundesamt für Güterverkehr`]=`BAG`,e[`Bundesamt für Justiz`]=`BfJ`,e[`Bundesamt für Kartographie und Geodäsie`]=`BKG`,e[`Bundesamt für kerntechnische Entsorgungssicherheit`]=`BASE`,e[`Bundesamt für Migration und Flüchtlinge`]=`BAMF`,e[`Bundesamt für Sicherheit in der Informationstechnik`]=`BSI`,e[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`]=`BVL`,e[`Bundesamt für Verfassungsschutz`]=`BfV`,e[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`]=`BAFA`,e[`Bundesamt für zentrale Dienste und offene Vermögensfragen`]=`BADV`,e[`Bundesanstalt für Verwaltungsdienstleistungen`]=`BAV`,e.Bundesarchiv=`BArch`,e[`Bundesaufsichtsamt für Flugsicherung`]=`BAF`,e.Bundesausgleichsamt=`BAA`,e.Bundeskartellamt=`BKartA`,e.Bundeskriminalamt=`BKA`,e.Bundesnachrichtendienst=`BND`,e[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`]=`BNetzA`,e.Bundespolizeipräsidium=`BPOLP`,e[`Bundesprüfstelle für jugendgefährdende Medien`]=`BPjM`,e.Bundessortenamt=`BSA`,e.Bundessprachenamt=`BSprA`,e[`Bundesamt für Soziale Sicherung`]=`BAS`,e.Bundesverwaltungsamt=`BVA`,e[`Bundeszentralamt für Steuern`]=`BZSt`,e[`Deutsches Patent- und Markenamt`]=`DPMA`,e[`Eisenbahn-Bundesamt`]=`EBA`,e.Generalzolldirektion=`GZD`,e[`Militärischer Abschirmdienst`]=`MAD`,e[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`]=`ZITiS`})(Bt||={}),Object.getOwnPropertyNames(Bt);var Vt;(function(e){e[`Informationstechnikzentrum Bund`]=`ITZBund`,e[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`]=`BDBOS`,e[`Bundesanstalt für Landwirtschaft und Ernährung`]=`BLE`,e[`Bundesanstalt Technisches Hilfswerk`]=`THW`,e[`Bundesinstitut für Arzneimittel und Medizinprodukte`]=`BfArM`,e[`Bundesinstitut für Bevölkerungsforschung`]=`BiB`,e[`Bundesinstitut für Sportwissenschaft`]=`BISp`})(Vt||={}),Object.getOwnPropertyNames(Vt);var k=new Map;k.set(zt[`Die Bundesregierung`],[`Die`,`Bundesregierung`]),k.set(zt[`Bundesministerium der Finanzen`],[`Bundesministerium`,`der Finanzen`]),k.set(zt[`Bundesministerium des Innern, für Bau und Heimat`],[`Bundesministerium`,`des Inneren, für Bau`,`und Heimat`]),k.set(zt[`Auswärtiges Amt`],[`Auswärtiges Amt`]),k.set(zt[`Bundesministerium für Wirtschaft und Energie`],[`Bundesministerium`,`für Wirtschaft`,`und Energie`]),k.set(zt[`Bundesministerium der Justiz und für Verbraucherschutz`],[`Bundesministerium`,`der Justiz und`,`für Verbraucherschutz`]),k.set(zt[`Bundesministerium für Arbeit und Soziales`],[`Bundesministerium`,`für Arbeit und Soziales`]),k.set(zt[`Bundesministerium der Verteidigung`],[`Bundesministerium`,`der Verteidigung`]),k.set(zt[`Bundesministerium für Bildung und Forschung`],[`Bundesministerium`,`für Bildung`,`und Forschung`]),k.set(zt[`Bundesministerium für Ernährung und Landwirtschaft`],[`Bundesministerium`,`für Ernährung`,`und Landwirtschaft`]),k.set(zt[`Bundesministerium für Familie, Senioren, Frauen und Jugend`],[`Bundesministerium`,`für Familie, Senioren, Frauen`,`und Jugend`]),k.set(zt[`Bundesministerium für Gesundheit`],[`Bundesministerium`,`für Gesundheit`]),k.set(zt[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`],[`Bundesministerium`,`für Umwelt, Naturschutz`,`und nukleare Sicherheit`]),k.set(zt[`Bundesministerium für Verkehr und digitale Infrastruktur`],[`Bundesministerium`,`für Verkehr und`,`digitale Infrastruktur`]),k.set(zt[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`],[`Bundesministerium`,`für wirtschaftliche Zusammenarbeit`,`und Entwicklung`]),k.set(Bt[`Beschaffungsamt des Bundesministeriums des Innern`],[`Beschaffungsamt`,`des Bundesministeriums`,`des Innern`]),k.set(Bt[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`],[]),k.set(Bt[`Bundesamt für äußere Restitutionen`],[]),k.set(Bt[`Bundesamt für Bauwesen und Raumordnung`],[]),k.set(Bt[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`],[`Bundesamt`,`für Bevölkerungsschutz`,`und Katastrophenhilfe`]),k.set(Bt[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`],[`Bundesamt`,`für Familie und`,`zivilgesellschaftliche Aufgaben`]),k.set(Bt[`Bundesamt für Güterverkehr`],[`Bundesamt`,`für Güterverkehr`]),k.set(Bt[`Bundesamt für Justiz`],[`Bundesamt für`,`Justiz`]),k.set(Bt[`Bundesamt für Kartographie und Geodäsie`],[`Bundesamt für`,`Kartographie und Geodäsie`]),k.set(Bt[`Bundesamt für kerntechnische Entsorgungssicherheit`],[`Bundesamt für`,`kerntechnische`,`Entsorgungssicherheit`]),k.set(Bt[`Bundesamt für Migration und Flüchtlinge`],[`Bundesamt`,`für Migration`,`und Flüchtlinge`]),k.set(Bt[`Bundesamt für Sicherheit in der Informationstechnik`],[`Bundesamt`,`für Sicherheit in der`,`Informationstechnik`]),k.set(Bt[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`],[`Bundesamt für`,`Verbraucherschutz und`,`Lebensmittelsicherheit`]),k.set(Bt[`Bundesamt für Verfassungsschutz`],[`Bundesamt für`,`Verfassungsschutz`]),k.set(Bt[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`],[`Bundesamt`,`für Wirtschaft`,`Ausfuhrkontrolle`]),k.set(Bt[`Bundesamt für zentrale Dienste und offene Vermögensfragen`],[`Bundesamt`,`für zentrale Dienste und`,`offene Vermögensfragen`]),k.set(Bt[`Bundesanstalt für Verwaltungsdienstleistungen`],[`Bundesanstalt`,`für Verwaltungsdienstleistungen`]),k.set(Bt.Bundesarchiv,[`Das`,`Bundesarchiv`]),k.set(Bt[`Bundesaufsichtsamt für Flugsicherung`],[`Bundesaufsichtsamt`,`für Flugsicherung`]),k.set(Bt.Bundesausgleichsamt,[`Bundesausgleichsamt`]),k.set(Bt.Bundeskartellamt,[`Bundeskartellamt`]),k.set(Bt.Bundeskriminalamt,[`Bundeskriminalamt`]),k.set(Bt.Bundesnachrichtendienst,[`Bundesnachrichtendienst`]),k.set(Bt[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`],[`Bundesnetzagentur`]),k.set(Bt.Bundespolizeipräsidium,[`Bundespolizeipräsidium`]),k.set(Bt[`Bundesprüfstelle für jugendgefährdende Medien`],[`Bundesprüfstelle`,`für jugendgefährdende`,`Medien`]),k.set(Bt.Bundessortenamt,[`Bundessortenamt`]),k.set(Bt.Bundessprachenamt,[`Bundessprachenamt`]),k.set(Bt[`Bundesamt für Soziale Sicherung`],[`Bundesamt`,`für Soziale Sicherung`]),k.set(Bt.Bundesverwaltungsamt,[`Bundesverwaltungsamt`]),k.set(Bt[`Bundeszentralamt für Steuern`],[`Bundeszentralamt`,`für Steuern`]),k.set(Bt[`Deutsches Patent- und Markenamt`],[`Deutsches`,`Patent- und Markenamt`]),k.set(Bt[`Eisenbahn-Bundesamt`],[`Eisenbahn-Bundesamt`]),k.set(Bt.Generalzolldirektion,[`Generalzolldirektion`]),k.set(Bt[`Militärischer Abschirmdienst`],[`Bundesamt für den`,`Militärischen Abschirmdienst`]),k.set(Bt[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`],[`Zentrale Stelle`,`für Informationstechnik`,`im Sicherheitsbereich`]),k.set(Vt[`Informationstechnikzentrum Bund`],[`Informations`,`Technik`,`Zentrum Bund`]),k.set(Vt[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`],[`Bundesanstalt`,`für den Digitalfunk der Behörden und`,`Organisationen mit Sicherheitsaufgaben`]),k.set(Vt[`Bundesanstalt für Landwirtschaft und Ernährung`],[`Bundesanstalt für`,`Landwirtschaft und Ernährung`]),k.set(Vt[`Bundesanstalt Technisches Hilfswerk`],[`Bundesanstalt`,`Technisches Hilfswerk`]),k.set(Vt[`Bundesinstitut für Arzneimittel und Medizinprodukte`],[`Bundesinstitut`,`für Arzneimittel`,`und Medizinprodukte`]),k.set(Vt[`Bundesinstitut für Bevölkerungsforschung`],[`Bundesinstitut`,`für Bevölkerungsforschung`]),k.set(Vt[`Bundesinstitut für Sportwissenschaft`],[`Bundesinstitut`,`für Sportwissenschaft`]);var Ht=`hydrated`,Ut={kolibriVersion:`5.0.0-beta.3`},Wt=(e=>(e.Undefined=`undefined`,e.Null=`null`,e.String=`string`,e.Number=`number`,e.SpecialNumber=`number`,e.Boolean=`boolean`,e.BigInt=`bigint`,e))(Wt||{}),Gt=(e=>(e.Array=`array`,e.Date=`date`,e.Map=`map`,e.Object=`object`,e.RegularExpression=`regexp`,e.Set=`set`,e.Channel=`channel`,e.Symbol=`symbol`,e))(Gt||{}),Kt=`type`,qt=`value`,Jt=`serialized:`;function Yt(e,t,n){let r=typeof HTMLElement<`u`?HTMLElement.prototype:null;for(;e&&e!==r;){let r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!n||r.get))return r;e=Object.getPrototypeOf(e)}}var Xt,Zt=(e,t)=>{Object.entries(t.o.t??{}).map((([n,[r]])=>{if(31&r||32&r){let r=e[n],i=Yt(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(e,n,{get(){return i.get.call(this)},set(e){i.set.call(this,e)},configurable:!0,enumerable:!0}),t.i.has(n)?e[n]=t.i.get(n):r!==void 0&&(e[n]=r)}}))},Qt=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},$t=(e,t)=>t in e,en=(e,t)=>(0,console.error)(e,t),tn=new Map,nn=[],rn=`s-id`,an=`sty-id`,on=`c-id`,sn=`http://www.w3.org/1999/xlink`,cn=typeof window<`u`?window:{},ln=cn.HTMLElement||class{},un={u:0,p:``,jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},dn=(()=>{var e;let t=!1;try{(e=cn.document)==null||e.addEventListener(`e`,null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),fn=(()=>{try{return!!cn.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync==`function`)}catch{}return!1})(),pn=!!fn&&!!cn.document&&Object.getOwnPropertyDescriptor(cn.document.adoptedStyleSheets,`length`).writable,mn=!1,hn=[],gn=[],_n=()=>cn.document?.hidden?setTimeout(bn,16):un.raf(bn),vn=(e,t)=>n=>{e.push(n),mn||(mn=!0,t&&4&un.u?xn(bn):_n())},yn=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){en(e)}e.length=0},bn=()=>{yn(hn),yn(gn),(mn=hn.length>0)&&_n()},xn=e=>Promise.resolve(void 0).then(e),Sn=vn(gn,!0);function Cn(){let e=this.attachShadow({mode:`open`});Xt===void 0&&(Xt=null),Xt&&(pn?e.adoptedStyleSheets.push(Xt):e.adoptedStyleSheets=[...e.adoptedStyleSheets,Xt])}var wn=(e,t,n,r)=>{if(e[`s-ol`]&&e[`s-ol`].isConnected)return;let i=document.createTextNode(``);if(i[`s-nr`]=e,!t[`s-cr`]||!t[`s-cr`].parentNode)return;let a=t[`s-cr`].parentNode,o=Tn(a,`appendChild`);if(r!==void 0){i[`s-oo`]=r;let e=Tn(a,`childNodes`),t=[i];e.forEach((e=>{e[`s-nr`]&&t.push(e)})),t.sort(((e,t)=>!e[`s-oo`]||e[`s-oo`]<(t[`s-oo`]||0)?-1:+(!t[`s-oo`]||t[`s-oo`]<e[`s-oo`]))),t.forEach((e=>o.call(a,e)))}else o.call(a,i);e[`s-ol`]=i,e[`s-sh`]=t[`s-hn`]};function Tn(e,t){if(`__`+t in e){let n=e[`__`+t];return typeof n==`function`?n.bind(e):n}return typeof e[t]==`function`?e[t].bind(e):e[t]}var En=new WeakMap,Dn=(e,t,n)=>{let r=tn.get(e);fn&&n?(r||=new CSSStyleSheet,typeof r==`string`?r=t:r.replaceSync(t)):r=t,tn.set(e,r)},On=(e,t,n)=>{let r=kn(t,n),i=tn.get(r);if(!cn.document)return r;if(e=e.nodeType===11?e:cn.document,i){if(typeof i==`string`){let n,a=En.get(e=e.head||e);if(a||En.set(e,a=new Set),e.querySelector(`[${an}="${r}"]`))a.add(r);else if(!a.has(r)){n=cn.document.createElement(`style`),n.textContent=i;let o=un.m??function(){return(cn.document.head?.querySelector(`meta[name="csp-nonce"]`))?.getAttribute(`content`)??void 0}();if(o!=null&&n.setAttribute(`nonce`,o),!(1&t.u)){if(e.nodeName===`HEAD`){let t=e.querySelectorAll(`link[rel=preconnect]`),r=t.length>0?t[t.length-1].nextSibling:e.querySelector(`style`);e.insertBefore(n,r?.parentNode===e?r:null)}else if(`host`in e){if(fn){let t=new(e.defaultView??e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(i),pn?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{let t=e.querySelector(`style`);t?t.textContent=i+t.textContent:e.prepend(n)}}else e.append(n)}1&t.u&&e.insertBefore(n,null),4&t.u&&(n.textContent+=`slot-fb{display:contents}slot-fb[hidden]{display:none}`),a&&a.add(r)}}else{let t=En.get(e);if(t||En.set(e,t=new Set),!t.has(r)){let n=e.defaultView??e.ownerDocument.defaultView,a;if(i.constructor===n.CSSStyleSheet)a=i;else{a=new n.CSSStyleSheet;for(let e=0;e<i.cssRules.length;e++)a.insertRule(i.cssRules[e].cssText,e)}if(pn?e.adoptedStyleSheets.push(a):e.adoptedStyleSheets=[...e.adoptedStyleSheets,a],t.add(r),`host`in e){let t=e.querySelector(`[${an}="${r}"]`);t&&Sn((()=>t.remove()))}}}}return r},kn=(e,t)=>`sc-`+(t&&32&e.u?e.v+`-`+t:e.v),An=e=>(e=typeof e)==`object`||e===`function`,A=(e,t,...n)=>{typeof e==`string`&&(e=N(e));let r=null,i=null,a=!1,o=!1,s=[],c=t=>{for(let n=0;n<t.length;n++)if(r=t[n],Array.isArray(r))c(r);else if(r!=null&&typeof r!=`boolean`){if(a=typeof e!=`function`&&!An(r))r=String(r);else if(typeof e!=`function`&&r.u===void 0){en(`Invalid vNode child`);continue}a&&o?s[s.length-1].$+=r:s.push(a?jn(null,r):r),o=a}};if(c(n),t){t.key&&(i=t.key);{let e=t.className||t.class;e&&(t.class=typeof e==`object`?Object.keys(e).filter((t=>e[t])).join(` `):e)}}if(typeof e==`function`)return e(t===null?{}:t,s,Mn);let l=jn(e,null);return l.k=t,s.length>0&&(l.T=s),l.O=i,l},jn=(e,t)=>({u:0,j:e,$:t??null,M:null,T:null,k:null,O:null}),j={},Mn={forEach:(e,t)=>e.map(Nn).forEach(t),map:(e,t)=>e.map(Nn).map(t).map(Pn)},Nn=e=>({vattrs:e.k,vchildren:e.T,vkey:e.O,vname:e.N,vtag:e.j,vtext:e.$}),Pn=e=>{if(typeof e.vtag==`function`){let t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),A(e.vtag,t,...e.vchildren||[])}let t=jn(e.vtag,e.vtext);return t.k=e.vattrs,t.T=e.vchildren,t.O=e.vkey,t.N=e.vname,t},Fn=(e,t,n,r,i,a,o,s=[])=>{let c,l,u,d;if(a.nodeType===1){if(c=a.getAttribute(on),c&&a!==i&&(l=c.split(`.`),l[0]===o||l[0]===`0`)){u=Ln({u:0,A:l[0],I:l[1],C:l[2],_:l[3],j:a.tagName.toLowerCase(),M:a,k:{class:a.className||``}}),t.push(u),a.removeAttribute(on),e.T||(e.T=[]);let i=u.M.getAttribute(`s-sn`);typeof i==`string`&&(u.j===`slot-fb`&&Rn(i,l[2],u,a,e,t,n,r,s),u.M[`s-sn`]=i,u.M.removeAttribute(`s-sn`)),u._!==void 0&&(e.T[u._]=u),e=u,r&&u.C===`0`&&(r[u._]=u.M)}if(a.shadowRoot)for(d=a.shadowRoot.childNodes.length-1;d>=0;d--)Fn(e,t,n,r,i,a.shadowRoot.childNodes[d],o,s);let f=a.__childNodes||a.childNodes;for(d=f.length-1;d>=0;d--)Fn(e,t,n,r,i,f[d],o,s)}else if(a.nodeType===8)l=a.nodeValue.split(`.`),(l[1]===o||l[1]===`0`)&&(c=l[0],u=Ln({A:l[1],I:l[2],C:l[3],_:l[4]||`0`,M:a,k:null,T:null,O:null,N:null,j:null,$:null}),c===`t`?(u.M=Bn(a,3),u.M&&u.M.nodeType===3&&(u.$=u.M.textContent,t.push(u),a.remove(),o===u.A&&(e.T||(e.T=[]),e.T[u._]=u),r&&u.C===`0`&&(r[u._]=u.M))):c===`c`?(u.M=Bn(a,8),u.M&&u.M.nodeType===8&&(t.push(u),a.remove())):u.A===o&&(c===`s`?Rn(a[`s-sn`]=l[5]||``,l[2],u,a,e,t,n,r,s):c===`r`&&r&&a.remove()));else if(e&&e.j===`style`){let t=jn(null,a.textContent);t.M=a,t._=`0`,e.T=[t]}return e},In=(e,t)=>{if(e.nodeType===1){let n=e[rn]||e.getAttribute(rn);n&&t.set(n,e);let r=0;if(e.shadowRoot)for(;r<e.shadowRoot.childNodes.length;r++)In(e.shadowRoot.childNodes[r],t);let i=e.__childNodes||e.childNodes;for(r=0;r<i.length;r++)In(i[r],t)}else if(e.nodeType===8){let n=e.nodeValue.split(`.`);n[0]===`o`&&(t.set(n[1]+`.`+n[2],e),e.nodeValue=``,e[`s-en`]=n[3])}},Ln=e=>({u:0,A:null,I:null,C:null,_:`0`,M:null,k:null,T:null,O:null,N:null,j:null,$:null,...e});function Rn(e,t,n,r,i,a,o,s,c){r[`s-sr`]=!0,n.N=e||null,n.j=`slot`;let l=i?.M?i.M[`s-id`]||i.M.getAttribute(`s-id`):``;if(s&&cn.document){let a=n.M=cn.document.createElement(n.j);n.N&&n.M.setAttribute(`name`,e),i.M.shadowRoot&&l&&l!==n.A?Tn(i.M,`insertBefore`)(a,Tn(i.M,`children`)[0]):Tn(Tn(r,`parentNode`),`insertBefore`)(a,r),zn(c,t,e,r,n.A),r.remove(),n.C===`0`&&(s[n._]=n.M)}else{let a=n.M,o=l&&l!==n.A&&i.M.shadowRoot;zn(c,t,e,r,o?l:n.A),function(e){if(e.assignedElements||e.assignedNodes||!e[`s-sr`])return;let t=t=>function(e){let n=[],r=this[`s-sn`];e!=null&&e.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
4
+ If you have a particular use case, please open an issue on the Stencil repo.
5
+ `);let i=this[`s-cr`].parentElement;return(i.__childNodes?i.childNodes:(e=>{let t=[];for(let n=0;n<e.length;n++){let r=e[n][`s-nr`]||void 0;r&&r.isConnected&&t.push(r)}return t})(i.childNodes)).forEach((e=>{r===(e=>typeof e[`s-sn`]==`string`?e[`s-sn`]:e.nodeType===1&&e.getAttribute(`slot`)||void 0)(e)&&n.push(e)})),t?n.filter((e=>e.nodeType===1)):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}(r),o&&i.M.insertBefore(a,i.M.children[0])}a.push(n),o.push(n),i.T||=[],i.T[n._]=n}var zn=(e,t,n,r,i)=>{let a=r.nextSibling;if(e[t]=e[t]||[],a&&!a.nodeValue?.startsWith(`s.`))do!a||(a.getAttribute&&a.getAttribute(`slot`)||a[`s-sn`])!==n&&(n!==``||a[`s-sn`]||a.getAttribute&&a.getAttribute(`slot`)||a.nodeType!==8&&a.nodeType!==3)||(a[`s-sn`]=n,e[t].push({slot:r,node:a,hostId:i})),a=a?.nextSibling;while(a&&!a.nodeValue?.startsWith(`s.`))},Bn=(e,t)=>{let n=e;do n=n.nextSibling;while(n&&(n.nodeType!==t||!n.nodeValue));return n},Vn=e=>{nn.length=0,nn.push(e)},Hn=e=>{if(!e)return;let t=Object.keys(e);if(t.length===0)return;let n=!1;for(let r of t){if(n)break;for(let t of e[r])if(typeof t==`string`){n=!0;break}}if(!n)return e;let r={};for(let n of t)r[n]=e[n].map((e=>typeof e==`string`?{[e]:0}:e));return r},Un=class e{static fromLocalValue(t){let n=t[Kt],r=qt in t?t[qt]:void 0;switch(n){case`string`:case`boolean`:return r;case`bigint`:return BigInt(r);case`undefined`:return;case`null`:return null;case`number`:return r===`NaN`?NaN:r===`-0`?-0:r===`Infinity`?1/0:r===`-Infinity`?-1/0:r;case`array`:return r.map((t=>e.fromLocalValue(t)));case`date`:return new Date(r);case`map`:let t=new Map;for(let[n,i]of r){let r=typeof n==`object`&&n?e.fromLocalValue(n):n,a=e.fromLocalValue(i);t.set(r,a)}return t;case`object`:let i={};for(let[t,n]of r)i[t]=e.fromLocalValue(n);return i;case`regexp`:let{pattern:a,flags:o}=r;return new RegExp(a,o);case`set`:let s=new Set;for(let t of r)s.add(e.fromLocalValue(t));return s;case`symbol`:return Symbol(r);default:throw Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(Kt))return!1;let t=e[Kt];return!!Object.values({...Wt,...Gt}).includes(t)&&(t===`null`||t===`undefined`||e.hasOwnProperty(qt))}},Wn,Gn=(e,t)=>{return typeof e==`string`&&e.startsWith(Jt)?e=typeof(n=e)==`string`&&n.startsWith(Jt)?Un.fromLocalValue(JSON.parse(function(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return new TextDecoder().decode(n)}(n.slice(11)))):n:e==null||An(e)?e:4&t?e!==`false`&&(e===``||!!e):2&t?typeof e==`string`?parseFloat(e):typeof e==`number`?e:NaN:1&t?String(e):e;var n},Kn=(e,t,n,r,i,a,o)=>{if(n===r)return;let s=$t(e,t),c=t.toLowerCase();if(t===`class`){let t=e.classList,i=Zn(n),s=Zn(r);if((e[`s-si`]||e[`s-sc`])&&o){let n=e[`s-sc`]||e[`s-si`];s.push(n),i.forEach((e=>{e.startsWith(n)&&s.push(e)})),s=[...new Set(s)].filter((e=>e)),t.add(...s)}else{let n=i.filter((e=>e&&!s.includes(e)));if(o&&!(4&a)){let t=Xn(e);n=n.filter((e=>!t.includes(e)))}t.remove(...n),t.add(...s.filter((e=>e&&!i.includes(e))))}}else if(t===`style`){for(let t in n)r&&r[t]!=null||(t.includes(`-`)?e.style.removeProperty(t):e.style[t]=``);for(let t in r)n&&r[t]===n[t]||(t.includes(`-`)?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if(t!==`key`){if(t===`ref`)r&&fr(r,e);else if(e.__lookupSetter__(t)||t[0]!==`o`||t[1]!==`n`){if(t[0]===`a`&&t.startsWith(`attr:`)){let n=t.slice(5),i;{let t=Qt(e);if(t&&t.o&&t.o.t){let e=t.o.t[n];e&&e[1]&&(i=e[1])}}i||=n.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),r==null||!1===r?!1===r&&e.getAttribute(i)!==``||e.removeAttribute(i):e.setAttribute(i,!0===r?``:r);return}if(t[0]===`p`&&t.startsWith(`prop:`)){let n=t.slice(5);try{e[n]=r}catch{}return}{let o=An(r);if((s||o&&r!==null)&&!i)try{if(e.tagName.includes(`-`))e[t]!==r&&(e[t]=r);else{let i=r??``;t===`list`?s=!1:n!=null&&e[t]===i||(typeof e.__lookupSetter__(t)==`function`?e[t]=i:e.setAttribute(t,i))}}catch{}let l=!1;c!==(c=c.replace(/^xlink\:?/,``))&&(t=c,l=!0),r==null||!1===r?(!1!==r||e.getAttribute(t)===``||4&a&&!Jn(t))&&(l?e.removeAttributeNS(sn,t):e.removeAttribute(t)):(!s||4&a||i)&&!o&&e.nodeType===1&&(r=!0===r?``:r,l?e.setAttributeNS(sn,t,r):e.setAttribute(t,r))}}else if(t=t[2]===`-`?t.slice(3):$t(cn,c)?c.slice(2):c[2]+t.slice(3),n||r){let i=t.endsWith(Qn);t=t.replace($n,``),n&&un.rel(e,t,n,i),r&&un.ael(e,t,r,i)}}},qn=new Set([`draggable`,`contenteditable`,`spellcheck`]),Jn=e=>qn.has(e)||e.startsWith(`aria-`),Yn=/\s/,Xn=e=>{let t=Qt(e);if(!(t&&2&t.u))return[];let n=Zn(t.F?.k?.class);return n.push(Ht??`hydrated`),n},Zn=e=>(typeof e==`object`&&e&&`baseVal`in e&&(e=e.baseVal),e&&typeof e==`string`?e.split(Yn):[]),Qn=`Capture`,$n=RegExp(Qn+`$`),er=(e,t,n,r)=>{let i=t.M.nodeType===11&&t.M.host?t.M.host:t.M,a=e&&e.k||{},o=t.k||{};for(let e of tr(Object.keys(a)))e in o||Kn(i,e,a[e],void 0,n,t.u,r);for(let e of tr(Object.keys(o)))Kn(i,e,a[e],o[e],n,t.u,r)};function tr(e){return e.includes(`ref`)?[...e.filter((e=>e!==`ref`)),`ref`]:e}var nr=!1,rr=!1,ir=[],ar=[],or=(e,t,n)=>{let r=t.T[n],i,a,o=0;if(r.$!=null)i=r.M=cn.document.createTextNode(r.$);else{if(rr||=r.j===`svg`,!cn.document)throw Error(`You are trying to render a Stencil component in an environment that doesn't support the DOM.`);if(i=r.M=cn.document.createElementNS(rr?`http://www.w3.org/2000/svg`:`http://www.w3.org/1999/xhtml`,r.j),rr&&r.j===`foreignObject`&&(rr=!1),er(null,r,rr),r.T){let t=r.j===`template`?i.content:i;for(o=0;o<r.T.length;++o)a=or(e,r,o),a&&t.appendChild(a)}r.j===`svg`?rr=!1:i.tagName===`foreignObject`&&(rr=!0)}return i[`s-hn`]=Wn,i},sr=(e,t,n,r,i,a)=>{let o,s=e;for(s.shadowRoot&&s.tagName===Wn&&(s=s.shadowRoot),n.j===`template`&&(s=s.content);i<=a;++i)r[i]&&(o=or(null,n,i),o&&(r[i].M=o,pr(s,o,t)))},cr=(e,t,n)=>{for(let r=t;r<=n;++r){let t=e[r];if(t){let e=t.M;dr(t),e&&e.remove()}}},lr=(e,t,n=!1)=>e.j===t.j&&(n?(n&&!e.O&&t.O&&(e.O=t.O),!0):e.O===t.O),ur=(e,t,n=!1)=>{let r=t.M=e.M,i=e.T,a=t.T,o=t.j,s=t.$;s==null?(rr=o===`svg`||o!==`foreignObject`&&rr,o!==`slot`||nr||e.N!==t.N&&(t.M[`s-sn`]=t.N||``,(e=>{un.u|=1;let t=e.closest(Wn.toLowerCase());if(t!=null){let n=Array.from(t.__childNodes||t.childNodes).find((e=>e[`s-cr`])),r=Array.from(e.__childNodes||e.childNodes);for(let e of n?r.reverse():r)e[`s-sh`]!=null&&(pr(t,e,n??null),e[`s-sh`]=void 0)}un.u&=-2})(t.M.parentElement)),er(e,t,rr,n),i!==null&&a!==null?((e,t,n,r,i=!1)=>{let a,o,s=0,c=0,l=0,u=0,d=t.length-1,f=t[0],p=t[d],m=r.length-1,h=r[0],g=r[m],_=n.j===`template`?e.content:e;for(;s<=d&&c<=m;)if(f==null)f=t[++s];else if(p==null)p=t[--d];else if(h==null)h=r[++c];else if(g==null)g=r[--m];else if(lr(f,h,i))ur(f,h,i),f=t[++s],h=r[++c];else if(lr(p,g,i))ur(p,g,i),p=t[--d],g=r[--m];else if(lr(f,g,i))ur(f,g,i),pr(_,f.M,p.M.nextSibling),f=t[++s],g=r[--m];else if(lr(p,h,i))ur(p,h,i),pr(_,p.M,f.M),p=t[--d],h=r[++c];else{for(l=-1,u=s;u<=d;++u)if(t[u]&&t[u].O!==null&&t[u].O===h.O){l=u;break}l>=0?(o=t[l],o.j===h.j?(ur(o,h,i),t[l]=void 0,a=o.M):a=or(t&&t[c],n,c),h=r[++c]):(a=or(t&&t[c],n,c),h=r[++c]),a&&pr(f.M.parentNode,a,f.M)}s>d?sr(e,r[m+1]==null?null:r[m+1].M,n,r,c,m):c>m&&cr(t,s,d)})(r,i,t,a,n):a===null?n||i===null?n&&i!==null&&a===null&&(t.T=i):cr(i,0,i.length-1):(e.$!==null&&(r.textContent=``),sr(r,null,t,a,0,a.length-1)),rr&&o===`svg`&&(rr=!1)):e.$!==s&&(r.data=s)},dr=e=>{e.k&&e.k.ref&&ir.push((()=>e.k.ref(null))),e.T&&e.T.map(dr)},fr=(e,t)=>{ar.push((()=>e(t)))},pr=(e,t,n)=>e?.insertBefore(t,n),mr=(e,t,n=!1)=>{let r=e.$hostElement$,i=e.o,a=e.F||jn(null,null);var o;let s=(o=t)&&o.j===j?t:A(null,null,t);if(Wn=r.tagName,i.U&&(s.k=s.k||{},i.U.forEach((([e,t])=>{s.k[t]=r[e]}))),n&&s.k)for(let e of Object.keys(s.k))r.hasAttribute(e)&&![`key`,`ref`,`style`,`class`].includes(e)&&(s.k[e]=r[e]);s.j=null,s.u|=4,e.F=s,s.M=a.M=r.shadowRoot||r,nr=!(!(1&i.u)||128&i.u),ur(a,s,n),ir.forEach((e=>e())),ir.length=0,ar.forEach((e=>e())),ar.length=0},hr=(e,t)=>{if(t&&!e.P&&t[`s-p`]){let n=t[`s-p`].push(new Promise((r=>e.P=()=>{t[`s-p`].splice(n-1,1),r()})))}},gr=(e,t)=>{if(e.u|=16,4&e.u)return void(e.u|=512);hr(e,e.q);let n=()=>_r(e,t);if(!t)return n();queueMicrotask((()=>{n()}))},_r=(e,t)=>{let n=e.$hostElement$,r=n;if(!r)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=Tr(r,t?`componentWillLoad`:`componentWillUpdate`,void 0,n),i=vr(i,(()=>Tr(r,`componentWillRender`,void 0,n))),vr(i,(()=>br(e,r,t)))},vr=(e,t)=>yr(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),yr=e=>e instanceof Promise||e&&e.then&&typeof e.then==`function`,br=async(e,t,n)=>{let r=e.$hostElement$,i=r[`s-rc`];n&&(e=>{let t=e.o,n=e.$hostElement$,r=t.u,i=On(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.D);10&r&&(n[`s-sc`]=i,n.classList.add(i+`-h`))})(e),xr(e,t,r,n),i&&(i.map((e=>e())),r[`s-rc`]=void 0);{let t=r[`s-p`]??[],n=()=>Sr(e);t.length===0?n():(Promise.all(t).then(n).catch(n),e.u|=4,t.length=0)}},xr=(e,t,n,r)=>{try{t=t.render&&t.render(),e.u&=-17,e.u|=2,mr(e,t,r)}catch(t){en(t,e.$hostElement$)}return null},Sr=e=>{let t=e.$hostElement$,n=t,r=e.q;Tr(n,`componentDidRender`,void 0,t),64&e.u?Tr(n,`componentDidUpdate`,void 0,t):(e.u|=64,Er(t),Tr(n,`componentDidLoad`,void 0,t),e.W(t),r||wr()),e.P&&=(e.P(),void 0),512&e.u&&xn((()=>gr(e,!1))),e.u&=-517},Cr=e=>{{let t=Qt(e),n=t?.$hostElement$?.isConnected;return n&&(18&t.u)==2&&gr(t,!1),n}},wr=()=>{var e;xn((()=>(e=>{let t=un.ce(`appload`,{detail:{namespace:`kolibri`}});return e.dispatchEvent(t),t})(cn))),(e=un.J)!=null&&e.size&&un.J.clear()},Tr=(e,t,n,r)=>{if(e&&e[t])try{return e[t](n)}catch(e){en(e,r)}},Er=e=>e.classList.add(Ht??`hydrated`),Dr=(e,t,n,r)=>{let i=Qt(e);if(!i)return;let a=e,o=i.i.get(t),s=i.u,c=a;if(n=Gn(n,r.t[t][0]),n!==o&&!(Number.isNaN(o)&&Number.isNaN(n))){if(i.i.set(t,n),r.V){let e=r.V[t];e&&e.map((e=>{try{let[[r,a]]=Object.entries(e);(128&s||1&a)&&(c?c[r](n,o,t):i.K.push((()=>{i.Y[r](n,o,t)})))}catch(e){en(e,a)}}))}if(2&s){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,o,t)&&!(16&s))return;16&s||gr(i,!1)}}},Or=(e,t)=>{let n=e.prototype;{e.watchers&&!t.V&&(t.V=Hn(e.watchers)),e.deserializers&&!t.Z&&(t.Z=e.deserializers),e.serializers&&!t.X&&(t.X=e.serializers);let r=Object.entries(t.t??{});r.map((([e,[r]])=>{if(31&r||32&r){let{get:i,set:a}=Yt(n,e)||{};i&&(t.t[e][0]|=2048),a&&(t.t[e][0]|=4096),Object.defineProperty(n,e,{get(){return i?i.apply(this):(t=e,Qt(this).i.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(n,e,{set(n){let i=Qt(this);if(i){if(a)return(32&r?this[e]:i.$hostElement$[e])===void 0&&i.i.get(e)&&(n=i.i.get(e)),a.apply(this,[Gn(n,r)]),void Dr(this,e,n=32&r?this[e]:i.$hostElement$[e],t);Dr(this,e,n,t)}}})}}));{let i=new Map;n.attributeChangedCallback=function(e,a,o){un.jmp((()=>{let s=i.get(e),c=Qt(this);if(this.hasOwnProperty(s),n.hasOwnProperty(s)&&typeof this[s]==`number`&&this[s]==o)return;if(s==null){let n=c?.u;if(c&&n&&!(8&n)&&o!==a){let r=this;(t.V?.[e])?.forEach((t=>{let[[i,s]]=Object.entries(t);r?.[i]!=null&&(128&n||1&s)&&r[i].call(r,o,a,e)}))}return}let l=r.find((([e])=>e===s)),u=l?l[1][0]:0,d=4&u;if(512&u&&8&u&&!An(this[s])&&((f=this[s])==null||!1===f?null:!0===f?``:String(f))===o)return;var f;let p=d&&o===null&&this[s]===void 0;d&&(o=o!==null&&o!==`false`);let m=Object.getOwnPropertyDescriptor(n,s);p||o===this[s]||o==null&&this[s]==null||m.get&&!m.set||(this[s]=o)}))},e.observedAttributes=Array.from(new Set([...Object.keys(t.V??{}),...r.filter((([e,t])=>31&t[0])).map((([e,n])=>{var r;let a=n[1]||e;return i.set(a,e),512&n[0]&&((r=t.U)==null||r.push([e,a])),a}))]))}}return e},kr=async(e,t,n)=>{let r;try{if(!(32&t.u)&&(t.u|=32,t.u&=-1025,r=e.constructor,customElements.whenDefined(e.localName).then((()=>t.u|=128)),r&&r.style)){let i;typeof r.style==`string`?i=r.style:typeof r.style!=`string`&&(t.D=(e=>nn.map((t=>t(e))).find((e=>!!e)))(e),t.D&&(i=r.style[t.D]));let a=kn(n,t.D);tn.has(a)||Dn(a,i,!!(1&n.u))}let i=t.q,a=()=>gr(t,!0);i&&i[`s-rc`]?i[`s-rc`].push(a):a()}catch(n){en(n,e),t.P&&=(t.P(),void 0),!t.W||1024&t.u||t.W(e)}},M=(e,t)=>{let n={u:t[0],v:t[1]};try{n.t=t[2],n.ee=t[3],n.V=Hn(e.V),n.Z=e.Z,n.X=e.X,n.U=[],(e=>{if(!cn.document)return;let t=cn.document.querySelectorAll(`[${an}]`),n=0;for(;n<t.length;n++){let r=t[n].getAttribute(an);e.some((e=>{let t=`sc-`+e.v;return 1&e.u&&(r===t||32&e.u&&r.startsWith(t+`-`))}))&&Dn(r,t[n].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,`$1{`),!0)}})([n]);let r=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,t)=>{let n={u:0,$hostElement$:e,o:t,i:new Map,te:new Map};n.ne=new Promise((e=>n.W=e)),e[`s-p`]=[],e[`s-rc`]=[];let r=n;e.__stencil__getHostRef=()=>r,512&t.u&&Zt(e,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){let e=Qt(this);if(!e)return;jr(this,e,n.ee),this.__hasHostListenerAttached=!0}(e=>{if(!(1&un.u)){let t=Qt(e);if(!t)return;let n=t.o;if(1&t.u)jr(e,t,n.ee),t!=null&&t.Y||(1024&t.u?setTimeout((()=>kr(e,t,n)),1e3):t!=null&&t.ne&&t.ne.then((()=>{})));else{let r;if(t.u|=1,r=e.getAttribute(rn),r){if(1&n.u){let t=On(e.shadowRoot,n,e.getAttribute(`s-mode`));e.classList.remove(t+`-h`,t+`-s`)}((e,t,n,r)=>{var i;let a=e.shadowRoot,o=[],s=[],c=a?[]:null,l=jn(t,null);l.M=e,!cn.document||un.J&&un.J.size||In(cn.document.body,un.J=new Map),e[rn]=n,e.removeAttribute(rn),r.F=Fn(l,o,[],c,e,e,n,s);let u=0,d=o.length,f;for(;u<d;u++){f=o[u];let n=f.A+`.`+f.I,r=un.J.get(n),i=f.M;if(a){if(f.j?.toString().includes(`-`)&&f.j!==`slot-fb`&&!f.M.shadowRoot){let e=Qt(f.M);if(e){let t=kn(e.o,f.M.getAttribute(`s-mode`)),n=cn.document.querySelector(`style[sty-id="${t}"]`);n&&c.unshift(n.cloneNode(!0))}}}else i[`s-hn`]=N(t).toUpperCase(),f.j===`slot`&&(i[`s-cr`]=e[`s-cr`]);f.j===`slot`&&(f.N=f.M[`s-sn`]||f.M.name||null,f.T?(f.u|=2,f.M.childNodes.length||f.T.forEach((e=>{f.M.appendChild(e.M)}))):f.u|=1),r&&r.isConnected&&(r.parentElement.shadowRoot&&r[`s-en`]===``&&r.parentNode.insertBefore(i,r.nextSibling),r.parentNode.removeChild(r),a||(i[`s-oo`]=parseInt(f.I))),r&&!r[`s-id`]&&un.J.delete(n)}let p=[],m=s.length,h,g,_,v,y=0,b=0;for(;y<m;y++)if(h=s[y],h&&h.length)for(_=h.length,g=0;g<_;g++){if(v=h[g],p[v.hostId]||(p[v.hostId]=un.J.get(v.hostId)),!p[v.hostId])continue;let e=p[v.hostId];e.shadowRoot&&v.node.parentElement!==e&&e.insertBefore(v.node,h[g-1]?.node?.nextSibling),e.shadowRoot&&a||(v.slot[`s-cr`]||(v.slot[`s-cr`]=e[`s-cr`],v.slot[`s-cr`]=!v.slot[`s-cr`]&&e.shadowRoot?e:(e.__childNodes||e.childNodes)[0]),wn(v.node,v.slot,0,v.node[`s-oo`]||b),(i=v.node.parentElement)!=null&&i.shadowRoot&&v.node.getAttribute&&v.node.getAttribute(`slot`)&&v.node.removeAttribute(`slot`)),b=(v.node[`s-oo`]||b)+1}if(a&&!a.childNodes.length){let t=0,n=c.length;if(n){for(;t<n;t++){let e=c[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach((e=>{typeof e[`s-en`]!=`string`&&typeof e[`s-sn`]!=`string`&&(e.nodeType===1&&e.slot&&e.hidden?e.removeAttribute(`hidden`):e.nodeType!==8||e.nodeValue||e.parentNode.removeChild(e))}))}}r.$hostElement$=e})(e,n.v,r,t)}{let n=e;for(;n=n.parentNode||n.host;)if(n.nodeType===1&&n.hasAttribute(`s-id`)&&n[`s-p`]||n[`s-p`]){hr(t,t.q=n);break}}n.t&&Object.entries(n.t).map((([t,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];delete e[t],e[t]=n}})),kr(e,t,n)}}})(this),r&&r.call(this)},disconnectedCallback(){(async e=>{if(!(1&un.u)){let t=Qt(e);t!=null&&t.oe&&(t.oe.map((e=>e())),t.oe=void 0)}En.has(e)&&En.delete(e),e.shadowRoot&&En.has(e.shadowRoot)&&En.delete(e.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!==`open`)throw Error(`Unable to re-use existing shadow root for ${n.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Cn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.v,configurable:!0}),Or(e,n)}catch(t){return en(t),e}},Ar=(e,t)=>t,jr=(e,t,n)=>{n&&cn.document&&n.map((([n,r,i])=>{let a=e,o=Mr(t,i),s=Nr(n);un.ael(a,r,o,s),(t.oe=t.oe||[]).push((()=>un.rel(a,r,o,s)))}))},Mr=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(t){en(t,e.$hostElement$)}},Nr=e=>dn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Pr=void 0;function N(e){return Pr?Pr(e):e}function Fr(e){Pr&&console.warn(`
6
+ A tagTransformer has already been set.
7
+ Overwriting it may lead to error and unexpected results if your components have already been defined.
8
+ `),Pr=e}function Ir(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}var Lr,Rr,zr,Br={exports:{}},Vr=Ir((Lr||(Lr=1,Rr=Br.exports,zr=function(){var e=function(){},t=`undefined`,n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=[`trace`,`debug`,`info`,`warn`,`error`],i={},a=null;function o(e,t){var n=e[t];if(typeof n.bind==`function`)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch{return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(){for(var n=this.getLevel(),i=0;i<r.length;i++){var a=r[i];this[a]=i<n?e:this.methodFactory(a,n,this.name)}if(this.log=this.debug,typeof console===t&&n<this.levels.SILENT)return`No console available for logging`}function l(e){return function(){typeof console!==t&&(c.call(this),this[e].apply(this,arguments))}}function u(r,i,a){return function(r){return r===`debug`&&(r=`log`),typeof console!==t&&(r===`trace`&&n?s:console[r]===void 0?console.log===void 0?e:o(console,`log`):o(console,r))}(r)||l.apply(this,arguments)}function d(e,n){var o,s,l,d=this,f=`loglevel`;function p(){var e;if(typeof window!==t&&f){try{e=window.localStorage[f]}catch{}if(typeof e===t)try{var n=window.document.cookie,r=encodeURIComponent(f),i=n.indexOf(r+`=`);i!==-1&&(e=/^([^;]+)/.exec(n.slice(i+r.length+1))[1])}catch{}return d.levels[e]===void 0&&(e=void 0),e}}function m(e){var t=e;if(typeof t==`string`&&d.levels[t.toUpperCase()]!==void 0&&(t=d.levels[t.toUpperCase()]),typeof t==`number`&&t>=0&&t<=d.levels.SILENT)return t;throw TypeError(`log.setLevel() called with invalid level: `+e)}typeof e==`string`?f+=`:`+e:typeof e==`symbol`&&(f=void 0),d.name=e,d.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},d.methodFactory=n||u,d.getLevel=function(){return l??s??o},d.setLevel=function(e,n){return l=m(e),!1!==n&&function(e){var n=(r[e]||`silent`).toUpperCase();if(typeof window!==t&&f){try{window.localStorage[f]=n;return}catch{}try{window.document.cookie=encodeURIComponent(f)+`=`+n+`;`}catch{}}}(l),c.call(d)},d.setDefaultLevel=function(e){s=m(e),p()||d.setLevel(e,!1)},d.resetLevel=function(){l=null,function(){if(typeof window!==t&&f){try{window.localStorage.removeItem(f)}catch{}try{window.document.cookie=encodeURIComponent(f)+`=; expires=Thu, 01 Jan 1970 00:00:00 UTC`}catch{}}}(),c.call(d)},d.enableAll=function(e){d.setLevel(d.levels.TRACE,e)},d.disableAll=function(e){d.setLevel(d.levels.SILENT,e)},d.rebuild=function(){if(a!==d&&(o=m(a.getLevel())),c.call(d),a===d)for(var e in i)i[e].rebuild()},o=m(a?a.getLevel():`WARN`);var h=p();h!=null&&(l=m(h)),c.call(d)}(a=new d).getLogger=function(e){if(typeof e!=`symbol`&&typeof e!=`string`||e===``)throw TypeError(`You must supply a name when creating a logger.`);var t=i[e];return t||=i[e]=new d(e,a.methodFactory),t};var f=typeof window===t?void 0:window.log;return a.noConflict=function(){return typeof window!==t&&window.log===a&&(window.log=f),a},a.getLoggers=function(){return i},a.default=a,a},Br.exports?Br.exports=zr():Rr.log=zr()),Br.exports)),Hr={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:(()=>{let e={},t=e.NODE_ENV===`test`,n=`VITEST`in e,r=`JEST_WORKER_ID`in e,i=`PLAYWRIGHT_TEST_BASE_URL`in e,a=e.CI===`true`,o=e.TEST===`true`||e.IS_TEST===`true`,s=typeof navigator<`u`&&!0===navigator.webdriver,c=typeof navigator<`u`&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||n||r||i||a||o||s||c})(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{let e={};for(let[t,n]of Hr.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[n.totalTime/n.count,n.count];let t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,n]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:n}])))),e}}},Ur=!0,Wr=!1,Gr=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,Kr=e=>{if(!(e=>typeof e==`string`&&Gr.test(e))(e))throw Error(`[Theming] The theme identifier "${typeof e==`string`?e:``}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},qr=e=>e.replace(/\/\*[\s\S]*?\*\//g,``).replace(/\s*([{},;])\s*/g,`$1`).replace(/:\s+/g,`:`).replace(/\s+/g,` `).replace(/;\}/g,`}`).trim(),Jr=(e,t,n,r)=>{(r??={}).append=r.append??!1,Kr(e),Ur&&!Wr&&(Wr=!0,Vr.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n import { register } from 'adopted-style-sheets';\n import { defineCustomElements } from '...';\n import { THEME } from '...';\n\n register(THEME, defineCustomElements)\n .then(() => {\n // run your app or website\n })\n .catch(console.warn);`));let i=Hr.A11yUi.THEMES.get(e);if(i||(i=new Map,Hr.A11yUi.THEMES.set(e,i)),r.append&&i.has(t)){let e=i.get(t);i.set(t,qr(`${e}${n}`))}else i.set(t,qr(n))},Yr=(e,t,n,r)=>(Kr(e),typeof t==`object`&&t&&Object.getOwnPropertyNames(t).forEach((i=>{let a=t[i],o=i.toLowerCase(),s=typeof r?.transformTagName!=`function`||[`GLOBAL`,`PROPERTIES`].includes(i)?i:r.transformTagName(o);typeof a==`string`&&a.length>0&&Jr(e,s.toUpperCase(),a,n)})),e),Xr=e=>{if(e instanceof HTMLElement){if(typeof e.dataset.theme==`string`)return e;{let t=e.parentNode;for(;typeof ShadowRoot<`u`&&t instanceof ShadowRoot;)t=t.host;return Xr(t)}}return null},Zr=(e={})=>e.themeEncroachCss!==`false`&&e.themeReset!==`true`&&{mode:e.themeEncroachCssMode===`after`||e.themeEncroachCssMode===`before`?e.themeEncroachCssMode:`before`},Qr=()=>typeof Hr.A11yUi.Theme==`object`&&Hr.A11yUi.Theme!==null&&typeof Hr.A11yUi.Theme.cache==`boolean`&&typeof Hr.A11yUi.Theme.encroachCss==`object`&&Hr.A11yUi.Theme.encroachCss!==null&&typeof Hr.A11yUi.Theme.encroachCss.mode==`string`&&typeof Hr.A11yUi.Theme.name==`string`,$r=e=>{if(Qr())return Hr.A11yUi.Theme;{let t={cache:!0,encroachCss:Zr(),loglevel:`silent`,mode:`csr`,name:null},n=Xr(e);return n instanceof HTMLElement&&(t.cache=n.dataset.themeCache!==`false`,t.encroachCss=Zr(n.dataset),t.loglevel=n.dataset.themeLoglevel===`debug`?n.dataset.themeLoglevel:`silent`,t.mode=n.dataset.themeMode===`ssr`?n.dataset.themeMode:`csr`,t.name=n.dataset.theme||null),t}},ei=()=>Qr()?Hr.A11yUi.Theme.name:null,ti=(e,t)=>{let n=Hr.A11yUi.FEATURES[e];if(n!==void 0)return n;let r=(e=>$r(e).name)(t??null)??ei();if(r!==null){let t=Hr.A11yUi.THEME_FEATURES[r];if(t&&t[e]!==void 0)return t[e]}},ni=new Set,ri=new Map,ii=/--[^;]+/g,ai=/:/,oi=typeof MutationObserver<`u`,si=25,ci=()=>{si=Math.min(25+20*Math.log2(Hr.A11yUi.STYLING_TASK_QUEUE.size+1),250)},li=(e,t)=>{let n=Hr.A11yUi.THEMES.get(e);if(n instanceof Map){let e=n.get(t);if(e!==void 0)return e}return``},ui=(e,t,n,r)=>{let i=Hr.A11yUi.Theme?.loglevel===`debug`,a=i?performance.now():0;if((e=>{let t=e.firstChild;if(t instanceof HTMLStyleElement&&t.dataset.themingFallback===void 0)for(let t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&t.tagName===`STYLE`&&t.dataset.themingFallback===void 0))break;e.removeChild(t)}})(t),((e,t)=>{try{if(Hr.A11yUi.Theme?.mode===`ssr`)throw Error(`SSR`);e.adoptedStyleSheets=t.filter((e=>typeof e==`string`&&e.length>0)).map((e=>{let t=ri.get(e);return t||(t=new CSSStyleSheet,t.replaceSync(e),ri.set(e,t)),t}))}catch{for(let n=t.length-1;n>=0;n--){let r=t[n];if(typeof r!=`string`||r.length===0)continue;let i=t.length-1-n,a=document.createElement(`style`);switch(a.dataset.themingFallback=``,i){case 4:a.dataset.themingBaseA11y=``;break;case 3:a.dataset.themingBaseGlobal=``;break;case 2:a.dataset.themingBaseComponent=``;break;case 1:a.dataset.themingCustomGlobal=``;break;case 0:a.dataset.themingCustomComponent=``;break;default:a.dataset.themingUnknown=``}a.innerHTML=r,e.insertBefore(a,e.firstChild)}}})(t,n),yi(e),requestAnimationFrame(r),i){let t=performance.now()-a,n=Hr.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);n?(n.count+=1,n.totalTime+=t):Hr.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:t})}},di=e=>{let t=Hr.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){let{resetCss:n,themeDetails:r}=t;((e,t,n)=>{let r=t.name||`default`,i;try{if(e.shadowRoot===null)throw Error(`ShadowRoot is null`);i=e.shadowRoot}catch{i=e}let a=Hr.A11yUi.CSS_STYLE_CACHE.get(r)?.get(e.tagName);if(a)ui(e,i,a,n);else{let a=li(r,`PROPERTIES`),o=li(r,`GLOBAL`),s=li(r,e.tagName);!1===ni.has(r)&&((e,t)=>{let n=t.match(ii);if(Array.isArray(n)){n=n.filter((e=>ai.test(e)));let t=document.createElement(`style`);t.innerHTML=`.${e} {${n.join(`;`)}}`,document.querySelector(`head`)?.appendChild(t)}ni.add(e)})(r,o);let c=[a,o,s];if(((e,t,n)=>{if(!1===n||n?.mode!==`before`&&n?.mode!==`after`)return;let r=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&e.tagName===`STYLE`)),i;try{i=Array.from(e.adoptedStyleSheets)}catch{i=[]}if(r.length!==0||i.length!==0){if(n.mode===`before`){let e=[...i.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(``))),...r.map((e=>e.innerHTML))];t.unshift(...e)}else r.forEach((e=>t.push(e.innerHTML))),i.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(``))))}})(i,c,t.encroachCss),!0===t.cache){let t=Hr.A11yUi.CSS_STYLE_CACHE.get(r);t||(t=new Map,Hr.A11yUi.CSS_STYLE_CACHE.set(r,t)),t.set(e.tagName,c)}ui(e,i,c,n)}})(e,r,n)}},fi=(e,t=0)=>{if(t>=100)return;let n=setTimeout((()=>{clearTimeout(n),e.classList.contains(`hydrated`)?di(e):fi(e,t+1)}),si)},pi={attributes:!0,attributeFilter:[`class`],childList:!1,subtree:!1},mi={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},hi=oi?new MutationObserver(((e,t)=>{let n=[];for(let t of e){let e=t.target;e.classList.contains(`hydrated`)&&Hr.A11yUi.STYLING_TASK_QUEUE.has(e)&&(di(e),n.push(e))}for(let e of n)t.observe(e,mi)})):null;hi&&(fi=e=>hi.observe(e,pi),ci=()=>{});var gi=new Map,_i=(e,t)=>{if(t){let e=gi.get(t);if(e!==void 0)return e}let n=getComputedStyle(e).getPropertyValue(`--theme-visibility-delay`).trim(),r;if(n.endsWith(`ms`))r=parseFloat(n);else if(n.endsWith(`s`))r=1e3*parseFloat(n);else{let e=parseFloat(n);r=isNaN(e)?0:e}return t&&gi.set(t,r),r};Hr.A11yUi.IS_TEST_ENVIRONMENT&&(_i=()=>0);var vi=(e,t)=>{e.style.setProperty(`visibility`,t),e.dataset.themed=``},yi=e=>{Hr.A11yUi.STYLING_TASK_QUEUE.delete(e),ci()},bi=(e,t)=>{((e,t)=>{let n=e.style.visibility||null,r=t.name||`default`;Hr.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{let t=_i(e,r);t>0?setTimeout((()=>{vi(e,n)}),t):vi(e,n)},themeDetails:t}),t.mode!==`ssr`&&e.style.setProperty(`visibility`,`hidden`,`important`),fi(e)})(e,{...Hr.A11yUi.Theme,...t})},xi=class{Prefix;Key;Tag;createTheme=(e,t,n)=>((e,t,n)=>r=>r(e,t,{append:!1},n))(e,t,n);createTranslation=(e,t)=>((e,t)=>n=>n(e,t))(e,t);constructor(e,t,n){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}},Si,Ci;(function(e){e[e[`action-done`]=0]=`action-done`,e[e[`action-running`]=1]=`action-running`,e[e[`avatar-alt`]=2]=`avatar-alt`,e[e[`character-counter-current`]=3]=`character-counter-current`,e[e[`character-counter-current-of-max`]=4]=`character-counter-current-of-max`,e[e[`character-counter-current-of-max-aria`]=5]=`character-counter-current-of-max-aria`,e[e[`character-counter-max-aria`]=6]=`character-counter-max-aria`,e[e[`character-limit-exceeded`]=7]=`character-limit-exceeded`,e[e[`character-limit-hint`]=8]=`character-limit-hint`,e[e[`character-limit-remaining`]=9]=`character-limit-remaining`,e[e[`clear-search`]=10]=`clear-search`,e[e.close=11]=`close`,e[e[`close-alert`]=12]=`close-alert`,e[e[`data-browse-text`]=13]=`data-browse-text`,e[e[`delete-selection`]=14]=`delete-selection`,e[e[`entries-per-site`]=15]=`entries-per-site`,e[e.error=16]=`error`,e[e[`error-list`]=17]=`error-list`,e[e[`error-list-message`]=18]=`error-list-message`,e[e[`filename-text`]=19]=`filename-text`,e[e[`form-description`]=20]=`form-description`,e[e[`hide-password`]=21]=`hide-password`,e[e.info=22]=`info`,e[e[`kolibri-logo`]=23]=`kolibri-logo`,e[e[`live-value`]=24]=`live-value`,e[e[`live-value-bounded`]=25]=`live-value-bounded`,e[e.message=26]=`message`,e[e[`meter-state-critical`]=27]=`meter-state-critical`,e[e[`meter-state-optimum`]=28]=`meter-state-optimum`,e[e[`meter-state-suboptimal`]=29]=`meter-state-suboptimal`,e[e[`nav-maximize`]=30]=`nav-maximize`,e[e[`nav-minimize`]=31]=`nav-minimize`,e[e.new=32]=`new`,e[e[`no-entries`]=33]=`no-entries`,e[e[`no-results-message`]=34]=`no-results-message`,e[e[`open-link-in-tab`]=35]=`open-link-in-tab`,e[e.page=36]=`page`,e[e[`page-back`]=37]=`page-back`,e[e[`page-first`]=38]=`page-first`,e[e[`page-last`]=39]=`page-last`,e[e[`page-next`]=40]=`page-next`,e[e.pagination=41]=`pagination`,e[e[`pagination-position-bottom`]=42]=`pagination-position-bottom`,e[e[`pagination-position-top`]=43]=`pagination-position-top`,e[e.progress=44]=`progress`,e[e.readonly=45]=`readonly`,e[e[`show-password`]=46]=`show-password`,e[e[`show-suggestions`]=47]=`show-suggestions`,e[e.sort=48]=`sort`,e[e[`split-button-dropdown-label-open`]=49]=`split-button-dropdown-label-open`,e[e.success=50]=`success`,e[e[`table-data-loading`]=51]=`table-data-loading`,e[e[`table-data-loaded`]=52]=`table-data-loaded`,e[e[`table-pagination-label`]=53]=`table-pagination-label`,e[e[`table-selection`]=54]=`table-selection`,e[e[`table-selection-all`]=55]=`table-selection-all`,e[e[`table-selection-indeterminate`]=56]=`table-selection-indeterminate`,e[e[`table-selection-none`]=57]=`table-selection-none`,e[e[`table-settings`]=58]=`table-settings`,e[e[`table-settings-apply`]=59]=`table-settings-apply`,e[e[`table-settings-cancel`]=60]=`table-settings-cancel`,e[e[`table-settings-column-hidable`]=61]=`table-settings-column-hidable`,e[e[`table-settings-column-not-hidable`]=62]=`table-settings-column-not-hidable`,e[e[`table-settings-column-width`]=63]=`table-settings-column-width`,e[e[`table-settings-error-all-invisible`]=64]=`table-settings-error-all-invisible`,e[e[`table-settings-move-down`]=65]=`table-settings-move-down`,e[e[`table-settings-move-up`]=66]=`table-settings-move-up`,e[e[`table-settings-not-move`]=67]=`table-settings-not-move`,e[e[`table-sort-order`]=68]=`table-sort-order`,e[e[`table-visible-range`]=69]=`table-visible-range`,e[e[`toast-close-all`]=70]=`toast-close-all`,e[e.version=71]=`version`,e[e.warning=72]=`warning`})(Si||={}),function(e){e[e.abbr=0]=`abbr`,e[e.accordion=1]=`accordion`,e[e.alert=2]=`alert`,e[e.avatar=3]=`avatar`,e[e.badge=4]=`badge`,e[e.breadcrumb=5]=`breadcrumb`,e[e.button=6]=`button`,e[e[`button-link`]=7]=`button-link`,e[e.card=8]=`card`,e[e.combobox=9]=`combobox`,e[e.details=10]=`details`,e[e.dialog=11]=`dialog`,e[e.drawer=12]=`drawer`,e[e.form=13]=`form`,e[e.heading=14]=`heading`,e[e.icon=15]=`icon`,e[e.image=16]=`image`,e[e[`input-checkbox`]=17]=`input-checkbox`,e[e[`input-color`]=18]=`input-color`,e[e[`input-date`]=19]=`input-date`,e[e[`input-email`]=20]=`input-email`,e[e[`input-file`]=21]=`input-file`,e[e[`input-number`]=22]=`input-number`,e[e[`input-password`]=23]=`input-password`,e[e[`input-radio`]=24]=`input-radio`,e[e[`input-range`]=25]=`input-range`,e[e[`input-text`]=26]=`input-text`,e[e.kolibri=27]=`kolibri`,e[e.link=28]=`link`,e[e[`link-button`]=29]=`link-button`,e[e.logo=30]=`logo`,e[e.meter=31]=`meter`,e[e.modal=32]=`modal`,e[e.nav=33]=`nav`,e[e.pagination=34]=`pagination`,e[e[`popover-button`]=35]=`popover-button`,e[e.progress=36]=`progress`,e[e.quote=37]=`quote`,e[e.select=38]=`select`,e[e[`single-select`]=39]=`single-select`,e[e[`skip-nav`]=40]=`skip-nav`,e[e.spin=41]=`spin`,e[e[`split-button`]=42]=`split-button`,e[e.symbol=43]=`symbol`,e[e.table=44]=`table`,e[e[`table-stateful`]=45]=`table-stateful`,e[e[`table-stateless`]=46]=`table-stateless`,e[e.tabs=47]=`tabs`,e[e.textarea=48]=`textarea`,e[e[`toast-container`]=49]=`toast-container`,e[e.toolbar=50]=`toolbar`,e[e.tooltip=51]=`tooltip`,e[e.tree=52]=`tree`,e[e[`tree-item`]=53]=`tree-item`,e[e.version=54]=`version`}(Ci||={});var wi=()=>typeof window<`u`?window:{},Ti=()=>{let e=wi();return e&&e.document!==void 0?e.document:{}},Ei=[`development`,`production`,`test`],Di=`production`,Oi=e=>{try{if(!Ei.includes(e))throw Error(`Invalid NODE_ENV value: ${e}. Expected one of ${Ei.join(`, `)}.`);Di=e}catch{Di=`production`}},ki=()=>{try{return typeof process<`u`?`production`:void 0}catch{return}};Oi((()=>{let e=ki();return e&&Ei.includes(e)?e:`production`})());var Ai=!1,ji=!1,Mi=()=>Di===`development`,Ni=()=>Di===`test`,Pi=()=>Di!==`production`||ki()!==`production`,Fi=()=>!0===Ai,Ii=e=>{Ai=!0===e},Li=()=>!0===ji,Ri=e=>{ji=!0===e},zi=e=>Array.isArray(e)?e:[e],Bi=e=>`%c${e}`,Vi=(e,t)=>typeof t==`string`&&t.length>0?`${Bi(e)} | ${t}`:Bi(e),Hi=(e,t)=>[Vi(e,t?.classifier),`color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000;${t?.overwriteStyle||``}`],Ui=e=>Mi()||!0===e,Wi=new class{constructor(e){this.label=e}debug(e,t){Ui(t?.forceLog)&&console.debug(...Hi(this.label,t),...zi(e))}info(e,t){Ui(t?.forceLog)&&console.info(...Hi(this.label,t),...zi(e))}trace(e,t){Ui(t?.forceLog)&&console.trace(...Hi(this.label,t),...zi(e))}warn(e,t){Ui(t?.forceLog)&&console.warn(...Hi(this.label,t),...zi(e))}error(e,t){console.error(...Hi(this.label,t),...zi(e))}throw(e,t){if(Ui(t?.forceLog))throw Error(...Hi(this.label,t),...zi(e))}}(`KoliBri`),Gi=new Set,Ki=e=>{!1===Gi.has(e)&&(Gi.add(e),Wi.debug([e],{classifier:`✋ a11y`,forceLog:!1,overwriteStyle:`; background-color: #09f`}))},qi=new Set,Ji=e=>{!1===qi.has(e)&&(qi.add(e),Wi.warn([e],{classifier:`🔥 deprecated`,forceLog:!1,overwriteStyle:`; background-color: #f00`}))},Yi=new Set,Xi=(e,t)=>{(!1===Yi.has(e)||t!=null&&t.force)&&(Yi.add(e),Wi.debug([e].concat(t?.details||[]),{classifier:`💻 dev`,forceLog:!!t?.force,overwriteStyle:`; background-color: #f09`}))},Zi=e=>{!1===Yi.has(e)&&(Yi.add(e),Wi.warn([e],{classifier:`⚠️ dev`,forceLog:!1,overwriteStyle:`; background-color: #f09`}))},Qi=new Set,$i=(e,t=!1)=>{!1===Qi.has(e)&&(Qi.add(e),Wi.debug([e+=!0===t?` ✅`:``],{classifier:`🌟 feature`,forceLog:!1,overwriteStyle:`; background-color: #309`}))};Xi(`We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!`);var ea=new Set,ta=e=>{!1===ea.has(e)&&(ea.add(e),Wi.debug([e],{classifier:`📑 ui/ux`,forceLog:!1,overwriteStyle:`; background-color: #060;`}))},na=e=>{typeof e==`string`&&e!==``||Ki(`Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.
9
+ - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`)},ra=(e,t=8)=>{t>7&&ta(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)},ia=/^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;function aa(e){return typeof e==`string`&&ia.test(e)&&Number.isFinite(Number(e))}var oa=e=>typeof e==`object`&&!!e,sa=(e,t=0)=>typeof e==`string`&&e.length>=t,ca=e=>{if(typeof e!=`object`||!e)return sa(e,1);for(let t in e)if(!1===sa(t,1))return!1;return!0},la=new Event(`StateChange`),ua,da,fa,pa,ma=Ir(function(){if(pa)return fa;pa=1;var e=da?ua:(da=1,ua={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]});fa=function(n){var r,i,a=[],o=1;if(typeof n==`string`){if(n=n.toLowerCase(),e[n])a=e[n].slice(),i=`rgb`;else if(n===`transparent`)o=0,i=`rgb`,a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1);o=1,(u=s.length)<=4?(a=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],u===4&&(o=parseInt(s[3]+s[3],16)/255)):(a=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],u===8&&(o=parseInt(s[6]+s[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),i=`rgb`}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var c=r[1],l=c===`rgb`;i=s=c.replace(/a$/,``);var u=s===`cmyk`?4:s===`gray`?1:3;a=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,n){if(/%$/.test(e))return n===u?parseFloat(e)/100:s===`rgb`?255*parseFloat(e)/100:parseFloat(e);if(s[n]===`h`){if(/deg$/.test(e))return parseFloat(e);if(t[e]!==void 0)return t[e]}return parseFloat(e)})),c===s&&a.push(1),o=l||a[u]===void 0?1:a[u],a=a.slice(0,u)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(a=n.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),i=n.match(/([a-z])/gi).join(``).toLowerCase())}else isNaN(n)?Array.isArray(n)||n.length?(a=[n[0],n[1],n[2]],i=`rgb`,o=n.length===4?n[3]:1):n instanceof Object&&(n.r!=null||n.red!=null||n.R!=null?(i=`rgb`,a=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(i=`hsl`,a=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),o=n.a||n.alpha||n.opacity||1,n.opacity!=null&&(o/=100)):(i=`rgb`,a=[n>>>16,(65280&n)>>>8,255&n]);return{space:i,values:a,alpha:o}};var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};return fa}()),ha={min:[0,0,0],max:[255,255,255]},ga={name:`hsl`,min:[0,0,0],max:[360,100,100],channel:[`hue`,`saturation`,`lightness`],alias:[`HSL`],rgb:function(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,c=e[2]/100,l=0;if(s===0)return[a=255*c,a,a];for(t=2*c-(n=c<.5?c*(1+s):c+s-c*s),i=[0,0,0];l<3;)(r=o+1/3*-(l-1))<0?r++:r>1&&r--,i[l++]=255*(a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return i}};ha.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),c=s-o;return s===o?t=0:r===s?t=(i-a)/c:i===s?t=2+(a-r)/c:a===s&&(t=4+(r-i)/c),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?c/(s+o):c/(2-s-o)),100*n]};var _a,va={exports:{}},ya=Ir(function(){if(_a)return va.exports;function e(e){var n=t(e);return n.length==3?n.concat(255):(n[3]=Math.round(n[3]),n)}function t(e){return typeof e==`string`?((t=e=e.toLowerCase())==`red`?[255,0,0]:t==`green`?[0,255,0]:t==`blue`?[0,0,255]:t==`black`?[0,0,0]:t==`white`?[255,255,255]:t==`cyan`?[0,255,255]:t==`gray`||t==`grey`?[128,128,128]:t==`magenta`||t==`pink`?[255,0,255]:t==`yellow`?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,``),n=t.length;if(n==3||n==4){var i=r(t[0]),a=r(t[1]),o=r(t[2]),s=n==3?255:r(t[3]);return isNaN(i)||isNaN(a)||isNaN(o)||isNaN(s)?void 0:[i,a,o,s]}}(e)||function(e){var t=e.replace(/^#/,``),n=t.length;if(n==6||n==8){var i=r(t.slice(0,2)),a=r(t.slice(2,4)),o=r(t.slice(4,6)),s=n==6?255:r(t.slice(6,8));return isNaN(i)||isNaN(a)||isNaN(o)||isNaN(s)?void 0:[i,a,o,s]}}(e)||function(e){if(e.substr(0,4)==`rgb(`){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=i(t[0],!0),r=i(t[1],!0),a=i(t[2],!0);if(n!=-1&&r!=-1&&a!=-1)return[n,r,a,255]}}(e)||function(e){if(e.substr(0,5)==`rgba(`){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=i(t[0],!0),r=i(t[1],!0),a=i(t[2],!0),o=i(255*t[3]);if(n!=-1&&r!=-1&&a!=-1&&o!=-1)return[n,r,a,o]}}(e)||[0,0,0,255]:function(e){if(Object.prototype.toString.call(e)===`[object Object]`&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=i(e.r==null?e.red==null?0:e.red:e.r,!0),n=i(e.g==null?e.green==null?0:e.green:e.g,!0),r=i(e.b==null?e.blue==null?0:e.blue:e.b,!0),a=i(e.a==null?e.alpha==null?255:e.alpha:e.a,!0);if(t!=-1&&n!=-1&&r!=-1&&a!=-1)return[t,n,r,a]}}(e)||function(e){if(Array.isArray(e)&&(e.length==3||e.length==4)){var t=i(e[0],!0),n=i(e[1],!0),r=i(e[2],!0),a=i(e[3]==null?255:e[3],!0);if(t!=-1&&n!=-1&&r!=-1&&a!=-1)return[t,n,r,a]}}(e)||function(e){if(typeof e==`number`&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}(e)||[0,0,0,255];var t}function n(e){var t=e.toString(16);return t.length==1?`0`+t:t}function r(e){return e.length==1?parseInt(e+e,16):parseInt(e,16)}function i(e,t){return typeof e!=`number`||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}return _a=1,va.exports=e,va.exports.arr=e,va.exports.obj=function(e){var n=t(e);return{r:n[0],g:n[1],b:n[2],a:n.length==3?255:Math.round(n[3])}},va.exports.css=function(e){var n=t(e);return n.length==3&&n.push(255),n[3]==255?`rgb(`+n[0]+`, `+n[1]+`, `+n[2]+`)`:n[3]==0?`rgba(`+n[0]+`, `+n[1]+`, `+n[2]+`, 0)`:`rgba(`+n[0]+`, `+n[1]+`, `+n[2]+`, `+String(n[3]/255).substr(1)+`)`},va.exports.hex=function(e){var r=t(e);r.length==3&&r.push(255);var i=r[3]==255,a=n(r[0]),o=n(r[1]),s=n(r[2]),c=function(e,t,n,r){var i=[`ff`,`00`,`11`,`22`,`33`,`44`,`55`,`66`,`77`,`88`,`99`,`aa`,`bb`,`cc`,`dd`,`ee`];return i.indexOf(e)!=-1&&i.indexOf(t)!=-1&&i.indexOf(n)!=-1&&i.indexOf(r)!=-1}(a,o,s,r=n(Math.round(r[3])));return i?c?`#`+a.charAt(0)+o.charAt(0)+s.charAt(0):`#`+a+o+s:c?`#`+a.charAt(0)+o.charAt(0)+s.charAt(0)+r.charAt(0):`#`+a+o+s+r},va.exports.num=function(e){var n=t(e);return n.length==3?n.push(255):n[3]=Math.round(n[3]),(n[3]<<24>>>0|n[0]<<16|n[1]<<8|n[2])>>>0},va.exports}()),ba=1/12.92;function xa(e){return((e+.055)/1.055)**2.4}function Sa(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return .2126*(t<=.03928?t*ba:xa(t))+.7152*(n<=.03928?n*ba:xa(n))+.0722*(r<=.03928?r*ba:xa(r))}function Ca(e){var t=255;(e=e.replace(/^#/,``)).length===8&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),e.length===4&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function wa(e,t){return function(e,t){return function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}(Sa(e),Sa(t))}(Ca(e),Ca(t))}var Ta=/\[object Object\]/,Ea=(e,t)=>{typeof e==`string`&&Ta.test(e)||t()},Da=(e,t)=>{Fi()&&(Wi.debug([e,t]),Wi.debug(`↑ We propagate the (submit) event to this target.`)),Object.defineProperty(e,"target",{value:t,writable:!1})},Oa=e=>{try{return JSON.stringify(e).replace(/"/g,`'`)}catch{throw Wi.warn([`stringifyJson`,e]),Wi.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`),Error()}},ka=/^[{[]/,Aa=e=>{if(typeof e==`string`)try{return JSON.parse(e)}catch{if(ka.test(e))try{return JSON.parse(e.replace(/'/g,`"`))}catch{Wi.warn([`parseJson`,e]),Wi.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).`)}}throw Error()},ja=(e,t)=>{if(!e)return;let n=new Set,r=[e],i=0;for(;i<r.length;){let e=r[i++];if(n.has(e))continue;if(n.add(e),t(e))return;let a=Array.from(e.children||[]);for(let e=0;e<a.length;e++)r.push(a[e]);if(e instanceof HTMLElement&&e.shadowRoot&&r.push(e.shadowRoot),e instanceof HTMLSlotElement){let t=e.assignedNodes({flatten:!0});for(let e=0;e<t.length;e++)t[e]instanceof Element&&r.push(t[e])}}},Ma=(e,t)=>((e,t)=>{let n=null;return ja(t,(t=>!!(t instanceof Element&&t.matches(e))&&(n=t,!0))),n})(e,t||Ti()),Na=(e,t)=>((e,t)=>{let n=[];return ja(t,(t=>(t instanceof Element&&t.matches(e)&&n.push(t),!1))),n})(e,t||Ti()),Pa=null,Fa=()=>(Pa||={backgroundColor:`#00000000`,color:`#00000000`,domNode:Ti().body,level:`Fail`,score:1},Pa),Ia=/(\d+, ){3}0\)/,La=(e,t=Fa())=>{let n=getComputedStyle(e),r=Ia.test(n.backgroundColor)?t.backgroundColor:ya.hex(n.backgroundColor),i=Ia.test(n.color)?t.color:ya.hex(n.color),a=wa(r,i),o={backgroundColor:r,color:i,domNode:e,level:(s=a,s>=7?`AAA`:s>=4.5?`AA`:s>=3?`AA Large`:`Fail`),score:a};var s;return a<4.5&&Wi.error([`Color-Contrast-Error`,{backgroundColor:o.backgroundColor,color:o.color,level:o.level,score:o.score},o.domNode]),o},Ra=(e,t=Fa())=>{t.domNode instanceof HTMLElement&&(t=La(t.domNode,t));let n=t.domNode.querySelector(e);if(n===null){let n=t.domNode.querySelectorAll(`[class="hydrated"]`);for(let r=0;r<n.length&&(t.domNode=n[r],(t=Ra(e,t)).domNode===null);r++);return t}return La(n,t)},za=class e{static queryHtmlElementColors(t,n,r=!1,i=!0){let a=null;if(!0===r||!1===e.executionLock){if(!1===r&&(e.cache.clear(),e.cache.set(n.domNode,n),e.executionLock=!0,!0===i&&Wi.debug(`[KoliBriUtils] Color contrast analysis started...`)),t===n.domNode)a=n;else{let r=new Set;if(n.domNode.shadowRoot){let e=n.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)r.add(e[t])}let i=n.domNode;if(typeof i.assignedNodes==`function`){let e=i.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&r.add(e[t])}let o=n.domNode.children;for(let e=0;e<o.length;e++)r.add(o[e]);let s=Array.from(r);for(let r=0;r<s.length;r++){let i=e.cache.get(s[r]);i===void 0&&(i=La(s[r],n)),e.cache.set(s[r],i);let o=e.queryHtmlElementColors(t,i,!0,!1);if(o!==null){a=o;break}}}}else Wi.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);return!1===r&&(!0===i&&Wi.debug(`[KoliBriUtils] Color contrast analysis finished (${e.cache.size} DOM elements are analysed).`),e.executionLock=!1,e.cache.clear()),a}};za.executionLock=!1,za.cache=new Map;var Ba=class{};Ba.getCssStyle=li,Ba.patchTheme=(e,t,n,r)=>Yr(e,t,n,r),Ba.patchThemeTag=(e,t,n,r)=>Jr(e,t,n,r),Ba.querySelector=Ma,Ba.querySelectorAll=Na,Ba.stringifyJson=Oa;var Va=(e,t)=>{var n;let r=(n=globalThis).KoliBriGlobals??(n.KoliBriGlobals={});return r[e]??(r[e]=t()),r[e]},Ha={"action-done":`Aktion abgeschlossen`,"action-running":`Aktion wird ausgeführt`,"avatar-alt":`Avatar von {{name}}`,"character-counter-current":`{{current}} Zeichen`,"character-counter-current-of-max":`{{current}}/{{max}} Zeichen`,"character-counter-current-of-max-aria":`{{current}} von {{max}} Zeichen`,"character-counter-max-aria":`Zeichenlimit erreicht!`,"character-limit-exceeded":`Es sind {{over}} Zeichen zu viel.`,"character-limit-hint":`Es können bis zu {{limit}} Zeichen eingegeben werden.`,"character-limit-remaining":`Es sind noch {{remaining}} Zeichen verfügbar.`,"clear-search":`Suche löschen`,close:`Schließen`,"close-alert":`Benachrichtigung schließen`,"data-browse-text":`Datei auswählen`,"delete-selection":`Auswahl entfernen`,"entries-per-site":`Einträge pro Seite`,error:`Fehler`,"error-list":`Fehlerliste`,"error-list-message":`Bitte korrigieren Sie folgende Fehler:`,"filename-text":`Datei auswählen oder hier ablegen`,"form-description":`Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.`,"hide-password":`Passwort verbergen`,info:`Hinweis`,"kolibri-logo":`Logo von KoliBri`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} von {{max}} {{unit}}`,message:`Nachricht`,"meter-state-critical":`Kritisch`,"meter-state-optimum":`Optimal`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Navigation maximieren`,"nav-minimize":`Navigation minimieren`,new:`Neu`,"no-entries":`Es sind keine Einträge vorhanden.`,"no-results-message":`Keine Ergebnisse gefunden.`,"open-link-in-tab":`Öffnet in neuem Tab.`,page:`Seite`,"page-back":`Eine Seite zurück`,"page-first":`Direkt zur ersten Seite`,"page-last":`Direkt zur letzten Seite`,"page-next":`Eine Seite weiter`,pagination:`Paginierung`,"pagination-position-bottom":`unten`,"pagination-position-top":`oben`,progress:`Fortschritt`,readonly:`schreibgeschützt`,"show-password":`Passwort einblenden`,"show-suggestions":`Vorschläge anzeigen`,sort:`sortieren`,"split-button-dropdown-label-open":`Optionen anzeigen`,success:`Erfolg`,"table-data-loading":`Daten für Tabelle {{caption}} werden geladen.`,"table-data-loaded":`Daten für Tabelle {{caption}} wurden geladen.`,"table-pagination-label":`Paginierung für die Tabelle {{label}}`,"table-selection":`Auswahl`,"table-selection-all":`Alle auswählen`,"table-selection-indeterminate":`Alle auswählen bei teilweiser Auswahl`,"table-selection-none":`Alle abwählen`,"table-settings":`Tabellenkonfiguration`,"table-settings-apply":`Übernehmen`,"table-settings-cancel":`Abbrechen`,"table-settings-column-hidable":`Spalte "{{column}}" ausblenden.`,"table-settings-column-not-hidable":`Spalte "{{column}}" kann nicht ausgeblendet werden.`,"table-settings-column-width":`Breite von Spalte "{{column}}" in Pixel.`,"table-settings-error-all-invisible":`Mindestens eine Spalte muss sichtbar sein.`,"table-settings-move-down":`Spalte "{{column}}" nach unten verschieben.`,"table-settings-move-up":`Spalte "{{column}}" nach oben verschieben.`,"table-settings-not-move":`Spalte "{{column}}" kann nicht verschoben werden.`,"table-sort-order":`Priorität {{order}}`,"table-visible-range":`Einträge {{start}} bis {{end}} von {{total}}`,"toast-close-all":`Alle Benachrichtigungen schließen`,version:`Versionsnummer`,warning:`Warnung`},Ua={"action-done":`Action done`,"action-running":`Action is running`,"avatar-alt":`Avatar of {{name}}`,"character-counter-current":`{{current}} characters`,"character-counter-current-of-max":`{{current}}/{{max}} characters`,"character-counter-current-of-max-aria":`{{current}} of {{max}} characters`,"character-counter-max-aria":`Character limit reached!`,"character-limit-exceeded":`You have {{over}} characters too many.`,"character-limit-hint":`You can enter up to {{limit}} characters`,"character-limit-remaining":`You have {{remaining}} characters remaining.`,"clear-search":`Clear search`,close:`Close`,"close-alert":`Close notification`,"data-browse-text":`Browse`,"delete-selection":`Delete selection`,"entries-per-site":`Entries per page`,error:`Error`,"error-list":`Error list`,"error-list-message":`Please correct the following errors`,"filename-text":`Choose a file or drop it here`,"form-description":`Form fields marked with an asterisk (*) are mandatory.`,"hide-password":`Hide password`,info:`Note`,"kolibri-logo":`KoliBri logo`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} of {{max}} {{unit}}`,message:`Message`,"meter-state-critical":`Critical`,"meter-state-optimum":`Optimum`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Maximize navigation`,"nav-minimize":`Minimize navigation`,new:`New`,"no-entries":`No entries available.`,"no-results-message":`No results found.`,"open-link-in-tab":`Opens in new tab.`,page:`Page`,"page-back":`One page back`,"page-first":`Directly to the first page`,"page-last":`Directly to the last page`,"page-next":`One page further`,pagination:`Pagination`,"pagination-position-bottom":`bottom`,"pagination-position-top":`top`,progress:`Progress`,readonly:`read-only`,"show-password":`Show password`,"show-suggestions":`Show suggestions`,sort:`sort`,"split-button-dropdown-label-open":`Show options`,success:`Success`,"table-data-loading":`Data in table {{caption}} is loading.`,"table-data-loaded":`Data in table {{caption}} got loaded.`,"table-pagination-label":`Pagination for table {{label}}`,"table-selection":`Selection`,"table-selection-all":`Select all`,"table-selection-indeterminate":`Select all with partial selection`,"table-selection-none":`Deselect all`,"table-settings":`Table configuration`,"table-settings-apply":`Apply`,"table-settings-cancel":`Cancel`,"table-settings-column-hidable":`Hide column "{{column}}".`,"table-settings-column-not-hidable":`Column "{{column}}" cannot be hidden.`,"table-settings-column-width":`Width of column "{{column}}" in pixel.`,"table-settings-error-all-invisible":`At least one column must be visible.`,"table-settings-move-down":`Move column "{{column}}" down.`,"table-settings-move-up":`Move column "{{column}}" up.`,"table-settings-not-move":`Column "{{column}}" cannot be moved.`,"table-sort-order":`Priority {{order}}`,"table-visible-range":`Entries {{start}} to {{end}} of {{total}}`,"toast-close-all":`Close all notifications`,version:`Version number`,warning:`Warning`},Wa=e=>Object.keys(e).reduce(((t,n)=>(t[`kol-${n}`]=e[n],t)),{}),Ga=new Set([e=>e(`en`,Wa(Ua)),e=>e(`de`,Wa(Ha))]),Ka=class{constructor(e){this.resourceMap=new Map,this.language=e??`de`}addTranslations(e){Array.isArray(e)?e=new Set(e):typeof e==`function`&&(e=new Set([e])),e!==void 0&&e.forEach((e=>e(((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach((([e,t])=>{t&&n.set(e,t)})),e}))))}setLanguage(e){this.language=e}translate(e,t){let n=this.resourceMap.get(this.language)?.get(e);return n?t!=null&&t.placeholders&&Object.entries(t.placeholders).forEach((([e,t])=>{var r=t;n=n.split(`{{${e}}}`).join(r)})):n=e,n}},qa=Va(`i18n`,(()=>({}))),Ja=()=>qa.instance,Ya=(e,t)=>{let n=new Ka(e);return n.addTranslations(Ga),n.addTranslations(t),qa.instance=n,n},Xa=`kol-form`,Za=`kol-toast-container`,Qa=`kol-tree-item`,$a=`kol-tree`;Object.freeze({__proto__:null,KolAbbrTag:`kol-abbr`,KolAccordionTag:`kol-accordion`,KolAlertTag:`kol-alert`,KolAvatarTag:`kol-avatar`,KolBadgeTag:`kol-badge`,KolBreadcrumbTag:`kol-breadcrumb`,KolButtonLinkTag:`kol-button-link`,KolButtonTag:`kol-button`,KolCardTag:`kol-card`,KolComboboxTag:`kol-combobox`,KolDetailsTag:`kol-details`,KolDialogTag:`kol-dialog`,KolDrawerTag:`kol-drawer`,KolFormTag:Xa,KolHeadingTag:`kol-heading`,KolIconTag:`kol-icon`,KolImageTag:`kol-image`,KolInputCheckboxTag:`kol-input-checkbox`,KolInputColorTag:`kol-input-color`,KolInputDateTag:`kol-input-date`,KolInputEmailTag:`kol-input-email`,KolInputFileTag:`kol-input-file`,KolInputNumberTag:`kol-input-number`,KolInputPasswordTag:`kol-input-password`,KolInputRadioTag:`kol-input-radio`,KolInputRangeTag:`kol-input-range`,KolInputTag:`kol-input`,KolInputTextTag:`kol-input-text`,KolKolibriTag:`kol-kolibri`,KolLinkButtonTag:`kol-link-button`,KolLinkTag:`kol-link`,KolMeterTag:`kol-meter`,KolModalTag:`kol-modal`,KolNavTag:`kol-nav`,KolPaginationTag:`kol-pagination`,KolPopoverButtonTag:`kol-popover-button`,KolProgressTag:`kol-progress`,KolQuoteTag:`kol-quote`,KolSelectTag:`kol-select`,KolSingleSelectTag:`kol-single-select`,KolSkipNavTag:`kol-skip-nav`,KolSpinTag:`kol-spin`,KolSplitButtonTag:`kol-split-button`,KolTableStatefulTag:`kol-table-stateful`,KolTableStatelessTag:`kol-table-stateless`,KolTabsTag:`kol-tabs`,KolTextareaTag:`kol-textarea`,KolToastContainerTag:Za,KolToolbarTag:`kol-toolbar`,KolTreeItemTag:Qa,KolTreeTag:$a,KolVersionTag:`kol-version`});var eo=()=>{Hr.A11yUi=Va(`themes`,(()=>Hr.A11yUi))};Va(`tag-transformer`,(()=>({})));var to=Va(`bootstrap`,(()=>({})));eo();var no=()=>to.options,ro=Va(`location`,(()=>({subscribers:[]}))),io=(e,t=!0)=>(t&&typeof ro.current==`string`&&e(ro.current),ro.subscribers.push(e),()=>{let t=ro.subscribers.indexOf(e);t>=0&&ro.subscribers.splice(t,1)}),ao,oo,so=Ir(oo?ao:(oo=1,ao=function(e){return function(t,n){if(!t)return e;var r;typeof t==`string`?r=t:n=t;var i=e;return r&&(i+=`__`+r),i+(n?Object.keys(n).reduce((function(e,t){var r=n[t];return r&&(e+=` `+(typeof r==`boolean`?i+`--`+t:i+`--`+t+`_`+r)),e}),``):``)}})),P=function(){let e=new Map,t=(t,n,r)=>{try{return e.get(t)(n,r)}catch{return e.set(t,so(t)).get(t)(n,r)}};return t.forBlock=e=>{let n=(n,r)=>t(e,n,r);return n.forElement=n=>r=>t(e,n,r),n},t}(),F;(function(e){e.blur=`blur`,e.cancel=`cancel`,e.change=`change`,e.changeHeaderCells=`changeheadercells`,e.changePage=`changepage`,e.changePageSize=`changepagesize`,e.click=`click`,e.close=`close`,e.create=`create`,e.error=`error`,e.focus=`focus`,e.input=`input`,e.keydown=`keydown`,e.load=`load`,e.mousedown=`mousedown`,e.reset=`reset`,e.select=`select`,e.selectionChange=`selectionchange`,e.sortChange=`sortchange`,e.sort=`sort`,e.submit=`submit`,e.toggle=`toggle`})(F||={});var co={bubbles:!0,cancelable:!0,composed:!0};function lo(e,t=null){return new CustomEvent(e,Object.assign(Object.assign({},co),{detail:t}))}function I(e,t,n){return e.dispatchEvent(lo(t,n))}function uo(e,t=null,n){let r=lo(e,t);return n&&(Object.defineProperty(r,"target",{value:n}),Object.defineProperty(r,"currentTarget",{value:n})),r}var fo=Va(`tooltips`,(()=>({open:0}))),po=()=>{fo.open++},mo=()=>{fo.open=Math.max(0,fo.open-1)},ho=e=>{fo.open>0&&e.preventDefault()};new xi(`kol`,Si,Ci);var go=(()=>{eo(),Vn((e=>{try{e.shadowRoot instanceof ShadowRoot&&bi(e,$r(e))}catch{}return`default`})),re(()=>import(`./devtools-D2b3ZmNd.js`).then((e=>{typeof e==`object`&&e&&typeof e.initialize==`function`&&e.initialize()})),[],import.meta.url).catch((e=>{Wi.error(e)}))}),_o;(function(e){e[`Die Bundesregierung`]=`BReg`,e[`Bundesministerium der Finanzen`]=`BMF`,e[`Bundesministerium des Innern, für Bau und Heimat`]=`BMI`,e[`Auswärtiges Amt`]=`AA`,e[`Bundesministerium für Wirtschaft und Energie`]=`BMWi`,e[`Bundesministerium der Justiz und für Verbraucherschutz`]=`BMJV`,e[`Bundesministerium für Arbeit und Soziales`]=`BMAS`,e[`Bundesministerium der Verteidigung`]=`BMVg`,e[`Bundesministerium für Ernährung und Landwirtschaft`]=`BMEL`,e[`Bundesministerium für Familie, Senioren, Frauen und Jugend`]=`BMFSFJ`,e[`Bundesministerium für Gesundheit`]=`BMG`,e[`Bundesministerium für Verkehr und digitale Infrastruktur`]=`BMVI`,e[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`]=`BMU`,e[`Bundesministerium für Bildung und Forschung`]=`BMBF`,e[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`]=`BMZ`})(_o||={}),Object.getOwnPropertyNames(_o);var vo;(function(e){e[`Beschaffungsamt des Bundesministeriums des Innern`]=`BeschA`,e[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`]=`BAAINBw`,e[`Bundesamt für äußere Restitutionen`]=`BAR`,e[`Bundesamt für Bauwesen und Raumordnung`]=`BBR`,e[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`]=`BBK`,e[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`]=`BAFzA`,e[`Bundesamt für Güterverkehr`]=`BAG`,e[`Bundesamt für Justiz`]=`BfJ`,e[`Bundesamt für Kartographie und Geodäsie`]=`BKG`,e[`Bundesamt für kerntechnische Entsorgungssicherheit`]=`BASE`,e[`Bundesamt für Migration und Flüchtlinge`]=`BAMF`,e[`Bundesamt für Sicherheit in der Informationstechnik`]=`BSI`,e[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`]=`BVL`,e[`Bundesamt für Verfassungsschutz`]=`BfV`,e[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`]=`BAFA`,e[`Bundesamt für zentrale Dienste und offene Vermögensfragen`]=`BADV`,e[`Bundesanstalt für Verwaltungsdienstleistungen`]=`BAV`,e.Bundesarchiv=`BArch`,e[`Bundesaufsichtsamt für Flugsicherung`]=`BAF`,e.Bundesausgleichsamt=`BAA`,e.Bundeskartellamt=`BKartA`,e.Bundeskriminalamt=`BKA`,e.Bundesnachrichtendienst=`BND`,e[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`]=`BNetzA`,e.Bundespolizeipräsidium=`BPOLP`,e[`Bundesprüfstelle für jugendgefährdende Medien`]=`BPjM`,e.Bundessortenamt=`BSA`,e.Bundessprachenamt=`BSprA`,e[`Bundesamt für Soziale Sicherung`]=`BAS`,e.Bundesverwaltungsamt=`BVA`,e[`Bundeszentralamt für Steuern`]=`BZSt`,e[`Deutsches Patent- und Markenamt`]=`DPMA`,e[`Eisenbahn-Bundesamt`]=`EBA`,e.Generalzolldirektion=`GZD`,e[`Militärischer Abschirmdienst`]=`MAD`,e[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`]=`ZITiS`})(vo||={}),Object.getOwnPropertyNames(vo);var yo;(function(e){e[`Informationstechnikzentrum Bund`]=`ITZBund`,e[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`]=`BDBOS`,e[`Bundesanstalt für Landwirtschaft und Ernährung`]=`BLE`,e[`Bundesanstalt Technisches Hilfswerk`]=`THW`,e[`Bundesinstitut für Arzneimittel und Medizinprodukte`]=`BfArM`,e[`Bundesinstitut für Bevölkerungsforschung`]=`BiB`,e[`Bundesinstitut für Sportwissenschaft`]=`BISp`})(yo||={}),Object.getOwnPropertyNames(yo);var L=new Map;L.set(_o[`Die Bundesregierung`],[`Die`,`Bundesregierung`]),L.set(_o[`Bundesministerium der Finanzen`],[`Bundesministerium`,`der Finanzen`]),L.set(_o[`Bundesministerium des Innern, für Bau und Heimat`],[`Bundesministerium`,`des Inneren, für Bau`,`und Heimat`]),L.set(_o[`Auswärtiges Amt`],[`Auswärtiges Amt`]),L.set(_o[`Bundesministerium für Wirtschaft und Energie`],[`Bundesministerium`,`für Wirtschaft`,`und Energie`]),L.set(_o[`Bundesministerium der Justiz und für Verbraucherschutz`],[`Bundesministerium`,`der Justiz und`,`für Verbraucherschutz`]),L.set(_o[`Bundesministerium für Arbeit und Soziales`],[`Bundesministerium`,`für Arbeit und Soziales`]),L.set(_o[`Bundesministerium der Verteidigung`],[`Bundesministerium`,`der Verteidigung`]),L.set(_o[`Bundesministerium für Bildung und Forschung`],[`Bundesministerium`,`für Bildung`,`und Forschung`]),L.set(_o[`Bundesministerium für Ernährung und Landwirtschaft`],[`Bundesministerium`,`für Ernährung`,`und Landwirtschaft`]),L.set(_o[`Bundesministerium für Familie, Senioren, Frauen und Jugend`],[`Bundesministerium`,`für Familie, Senioren, Frauen`,`und Jugend`]),L.set(_o[`Bundesministerium für Gesundheit`],[`Bundesministerium`,`für Gesundheit`]),L.set(_o[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`],[`Bundesministerium`,`für Umwelt, Naturschutz`,`und nukleare Sicherheit`]),L.set(_o[`Bundesministerium für Verkehr und digitale Infrastruktur`],[`Bundesministerium`,`für Verkehr und`,`digitale Infrastruktur`]),L.set(_o[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`],[`Bundesministerium`,`für wirtschaftliche Zusammenarbeit`,`und Entwicklung`]),L.set(vo[`Beschaffungsamt des Bundesministeriums des Innern`],[`Beschaffungsamt`,`des Bundesministeriums`,`des Innern`]),L.set(vo[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`],[]),L.set(vo[`Bundesamt für äußere Restitutionen`],[]),L.set(vo[`Bundesamt für Bauwesen und Raumordnung`],[]),L.set(vo[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`],[`Bundesamt`,`für Bevölkerungsschutz`,`und Katastrophenhilfe`]),L.set(vo[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`],[`Bundesamt`,`für Familie und`,`zivilgesellschaftliche Aufgaben`]),L.set(vo[`Bundesamt für Güterverkehr`],[`Bundesamt`,`für Güterverkehr`]),L.set(vo[`Bundesamt für Justiz`],[`Bundesamt für`,`Justiz`]),L.set(vo[`Bundesamt für Kartographie und Geodäsie`],[`Bundesamt für`,`Kartographie und Geodäsie`]),L.set(vo[`Bundesamt für kerntechnische Entsorgungssicherheit`],[`Bundesamt für`,`kerntechnische`,`Entsorgungssicherheit`]),L.set(vo[`Bundesamt für Migration und Flüchtlinge`],[`Bundesamt`,`für Migration`,`und Flüchtlinge`]),L.set(vo[`Bundesamt für Sicherheit in der Informationstechnik`],[`Bundesamt`,`für Sicherheit in der`,`Informationstechnik`]),L.set(vo[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`],[`Bundesamt für`,`Verbraucherschutz und`,`Lebensmittelsicherheit`]),L.set(vo[`Bundesamt für Verfassungsschutz`],[`Bundesamt für`,`Verfassungsschutz`]),L.set(vo[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`],[`Bundesamt`,`für Wirtschaft`,`Ausfuhrkontrolle`]),L.set(vo[`Bundesamt für zentrale Dienste und offene Vermögensfragen`],[`Bundesamt`,`für zentrale Dienste und`,`offene Vermögensfragen`]),L.set(vo[`Bundesanstalt für Verwaltungsdienstleistungen`],[`Bundesanstalt`,`für Verwaltungsdienstleistungen`]),L.set(vo.Bundesarchiv,[`Das`,`Bundesarchiv`]),L.set(vo[`Bundesaufsichtsamt für Flugsicherung`],[`Bundesaufsichtsamt`,`für Flugsicherung`]),L.set(vo.Bundesausgleichsamt,[`Bundesausgleichsamt`]),L.set(vo.Bundeskartellamt,[`Bundeskartellamt`]),L.set(vo.Bundeskriminalamt,[`Bundeskriminalamt`]),L.set(vo.Bundesnachrichtendienst,[`Bundesnachrichtendienst`]),L.set(vo[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`],[`Bundesnetzagentur`]),L.set(vo.Bundespolizeipräsidium,[`Bundespolizeipräsidium`]),L.set(vo[`Bundesprüfstelle für jugendgefährdende Medien`],[`Bundesprüfstelle`,`für jugendgefährdende`,`Medien`]),L.set(vo.Bundessortenamt,[`Bundessortenamt`]),L.set(vo.Bundessprachenamt,[`Bundessprachenamt`]),L.set(vo[`Bundesamt für Soziale Sicherung`],[`Bundesamt`,`für Soziale Sicherung`]),L.set(vo.Bundesverwaltungsamt,[`Bundesverwaltungsamt`]),L.set(vo[`Bundeszentralamt für Steuern`],[`Bundeszentralamt`,`für Steuern`]),L.set(vo[`Deutsches Patent- und Markenamt`],[`Deutsches`,`Patent- und Markenamt`]),L.set(vo[`Eisenbahn-Bundesamt`],[`Eisenbahn-Bundesamt`]),L.set(vo.Generalzolldirektion,[`Generalzolldirektion`]),L.set(vo[`Militärischer Abschirmdienst`],[`Bundesamt für den`,`Militärischen Abschirmdienst`]),L.set(vo[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`],[`Zentrale Stelle`,`für Informationstechnik`,`im Sicherheitsbereich`]),L.set(yo[`Informationstechnikzentrum Bund`],[`Informations`,`Technik`,`Zentrum Bund`]),L.set(yo[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`],[`Bundesanstalt`,`für den Digitalfunk der Behörden und`,`Organisationen mit Sicherheitsaufgaben`]),L.set(yo[`Bundesanstalt für Landwirtschaft und Ernährung`],[`Bundesanstalt für`,`Landwirtschaft und Ernährung`]),L.set(yo[`Bundesanstalt Technisches Hilfswerk`],[`Bundesanstalt`,`Technisches Hilfswerk`]),L.set(yo[`Bundesinstitut für Arzneimittel und Medizinprodukte`],[`Bundesinstitut`,`für Arzneimittel`,`und Medizinprodukte`]),L.set(yo[`Bundesinstitut für Bevölkerungsforschung`],[`Bundesinstitut`,`für Bevölkerungsforschung`]),L.set(yo[`Bundesinstitut für Sportwissenschaft`],[`Bundesinstitut`,`für Sportwissenschaft`]),go();var bo=new Set([`children`,`localName`,`ref`,`style`,`className`]),xo=new WeakMap,So=(e,t,n,r,i)=>{let a=i?.[t];a===void 0?(e[t]=n,n==null&&t in HTMLElement.prototype&&e.removeAttribute(t)):n!==r&&((e,t,n)=>{let r=xo.get(e);r===void 0&&xo.set(e,r=new Map);let i=r.get(t);n===void 0?i!==void 0&&(r.delete(t),e.removeEventListener(t,i)):i===void 0?(r.set(t,i={handleEvent:n}),e.addEventListener(t,i)):i.handleEvent=n})(e,a,n)},Co=({react:e,tagName:t,elementClass:n,events:r,displayName:i})=>{let a=new Set(Object.keys(r??{})),o=e.forwardRef(((i,o)=>{let s=e.useRef(new Map),c=e.useRef(null),l={},u={};for(let[e,t]of Object.entries(i))bo.has(e)?l[e===`className`?`class`:e]=t:a.has(e)||e in n.prototype?u[e]=t:l[e]=t;return e.useLayoutEffect((()=>{if(c.current===null)return;let e=new Map;for(let t in u)So(c.current,t,i[t],s.current.get(t),r),s.current.delete(t),e.set(t,i[t]);for(let[e,t]of s.current)So(c.current,e,void 0,t,r);s.current=e})),e.useLayoutEffect((()=>{c.current?.removeAttribute(`defer-hydration`)}),[]),l.suppressHydrationWarning=!0,e.createElement(t,{...l,ref:e.useCallback((e=>{c.current=e,typeof o==`function`?o(e):o!==null&&(o.current=e)}),[o])})}));return o.displayName=i??n.name,o},wo=e=>e?e.split(/\s+/).filter(Boolean):[],To=(e,t,n)=>{let r=new Set(wo(t)),i=new Set(wo(n)),a=[];for(let t of e)r.has(t)?(a.push(t),r.delete(t)):i.has(t)||a.push(t);for(let e of r)a.push(e);return a.join(` `)},Eo=typeof window<`u`?w.useLayoutEffect:w.useEffect,Do=({defineCustomElement:e,tagName:t,transformTag:n,...r})=>{typeof e<`u`&&e();let i=n?n(t):t,a=Co({...r,tagName:i}),o=w.forwardRef((e,t)=>{let{className:n,class:r,...i}=e,o=n??r??``,s=w.useRef(null),c=w.useRef(``);Eo(()=>{let e=s.current;e===null||o===c.current||(e.className=To(Array.from(e.classList),o,c.current),c.current=o)});let l=w.useCallback(e=>{s.current=e,typeof t==`function`?t(e):t!=null&&(t.current=e)},[t]);return w.createElement(a,{...i,ref:l})});return o.displayName=r.displayName??i,o},Oo=typeof global==`object`&&global&&global.Object===Object&&global,ko=typeof self==`object`&&self&&self.Object===Object&&self,Ao=Oo||ko||Function(`return this`)(),jo=Ao.Symbol,Mo=Object.prototype,No=Mo.hasOwnProperty,Po=Mo.toString,Fo=jo?jo.toStringTag:void 0,Io=Object.prototype.toString,Lo=jo?jo.toStringTag:void 0;function Ro(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Lo&&Lo in Object(e)?function(e){var t=No.call(e,Fo),n=e[Fo];try{e[Fo]=void 0;var r=!0}catch{}var i=Po.call(e);return r&&(t?e[Fo]=n:delete e[Fo]),i}(e):function(e){return Io.call(e)}(e)}function zo(e){return typeof e==`object`&&!!e}var Bo=Array.isArray;function Vo(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function Ho(e){if(!Vo(e))return!1;var t=Ro(e);return t==`[object Function]`||t==`[object GeneratorFunction]`||t==`[object AsyncFunction]`||t==`[object Proxy]`}var Uo,Wo=Ao[`__core-js_shared__`],Go=(Uo=/[^.]+$/.exec(Wo&&Wo.keys&&Wo.keys.IE_PROTO||``))?`Symbol(src)_1.`+Uo:``,Ko=Function.prototype.toString;function qo(e){if(e!=null){try{return Ko.call(e)}catch{}try{return e+``}catch{}}return``}var Jo=/^\[object .+?Constructor\]$/,Yo=RegExp(`^`+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Xo(e,t){var n=function(e,t){return e?.[t]}(e,t);return function(e){return!(!Vo(e)||(t=e,Go&&Go in t))&&(Ho(e)?Yo:Jo).test(qo(e));var t}(n)?n:void 0}var Zo=Xo(Ao,`WeakMap`),Qo=Object.create,$o=function(){function e(){}return function(t){if(!Vo(t))return{};if(Qo)return Qo(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),es=function(){try{var e=Xo(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),ts=/^(?:0|[1-9]\d*)$/;function ns(e,t){var n=typeof e;return!!(t??=9007199254740991)&&(n==`number`||n!=`symbol`&&ts.test(e))&&e>-1&&e%1==0&&e<t}function rs(e,t){return e===t||e!=e&&t!=t}var is=Object.prototype.hasOwnProperty;function as(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=9007199254740991}var os=Object.prototype;function ss(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||os)}function cs(e){return zo(e)&&Ro(e)==`[object Arguments]`}var ls=Object.prototype,us=ls.hasOwnProperty,ds=ls.propertyIsEnumerable,fs=cs(function(){return arguments}())?cs:function(e){return zo(e)&&us.call(e,`callee`)&&!ds.call(e,`callee`)},ps=typeof exports==`object`&&exports&&!exports.nodeType&&exports,ms=ps&&typeof module==`object`&&module&&!module.nodeType&&module,hs=ms&&ms.exports===ps?Ao.Buffer:void 0,gs=(hs?hs.isBuffer:void 0)||function(){return!1},_s={};function vs(e){return function(t){return e(t)}}_s[`[object Float32Array]`]=_s[`[object Float64Array]`]=_s[`[object Int8Array]`]=_s[`[object Int16Array]`]=_s[`[object Int32Array]`]=_s[`[object Uint8Array]`]=_s[`[object Uint8ClampedArray]`]=_s[`[object Uint16Array]`]=_s[`[object Uint32Array]`]=!0,_s[`[object Arguments]`]=_s[`[object Array]`]=_s[`[object ArrayBuffer]`]=_s[`[object Boolean]`]=_s[`[object DataView]`]=_s[`[object Date]`]=_s[`[object Error]`]=_s[`[object Function]`]=_s[`[object Map]`]=_s[`[object Number]`]=_s[`[object Object]`]=_s[`[object RegExp]`]=_s[`[object Set]`]=_s[`[object String]`]=_s[`[object WeakMap]`]=!1;var ys=typeof exports==`object`&&exports&&!exports.nodeType&&exports,bs=ys&&typeof module==`object`&&module&&!module.nodeType&&module,xs=bs&&bs.exports===ys&&Oo.process,Ss=function(){try{return bs&&bs.require&&bs.require(`util`).types||xs&&xs.binding&&xs.binding(`util`)}catch{}}(),Cs=Ss&&Ss.isTypedArray,ws=Cs?vs(Cs):function(e){return zo(e)&&as(e.length)&&!!_s[Ro(e)]},Ts=Object.prototype.hasOwnProperty;function Es(e,t){return function(n){return e(t(n))}}var Ds=Es(Object.keys,Object),Os=Object.prototype.hasOwnProperty;function ks(e){return(t=e)!=null&&as(t.length)&&!Ho(t)?function(e){var t=Bo(e),n=!t&&fs(e),r=!t&&!n&&gs(e),i=!t&&!n&&!r&&ws(e),a=t||n||r||i,o=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=o.length;for(var c in e)!Ts.call(e,c)||a&&(c==`length`||r&&(c==`offset`||c==`parent`)||i&&(c==`buffer`||c==`byteLength`||c==`byteOffset`)||ns(c,s))||o.push(c);return o}(e):function(e){if(!ss(e))return Ds(e);var t=[];for(var n in Object(e))Os.call(e,n)&&n!=`constructor`&&t.push(n);return t}(e);var t}var As=Xo(Object,`create`),js=Object.prototype.hasOwnProperty,Ms=Object.prototype.hasOwnProperty;function Ns(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ps(e,t){for(var n=e.length;n--;)if(rs(e[n][0],t))return n;return-1}Ns.prototype.clear=function(){this.__data__=As?As(null):{},this.size=0},Ns.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t},Ns.prototype.get=function(e){var t=this.__data__;if(As){var n=t[e];return n===`__lodash_hash_undefined__`?void 0:n}return js.call(t,e)?t[e]:void 0},Ns.prototype.has=function(e){var t=this.__data__;return As?t[e]!==void 0:Ms.call(t,e)},Ns.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=As&&t===void 0?`__lodash_hash_undefined__`:t,this};var Fs=Array.prototype.splice;function Is(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Is.prototype.clear=function(){this.__data__=[],this.size=0},Is.prototype.delete=function(e){var t=this.__data__,n=Ps(t,e);return!(n<0||(n==t.length-1?t.pop():Fs.call(t,n,1),--this.size,0))},Is.prototype.get=function(e){var t=this.__data__,n=Ps(t,e);return n<0?void 0:t[n][1]},Is.prototype.has=function(e){return Ps(this.__data__,e)>-1},Is.prototype.set=function(e,t){var n=this.__data__,r=Ps(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Ls=Xo(Ao,`Map`);function Rs(e,t){var n,r,i=e.__data__;return((r=typeof(n=t))==`string`||r==`number`||r==`symbol`||r==`boolean`?n!==`__proto__`:n===null)?i[typeof t==`string`?`string`:`hash`]:i.map}function zs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}zs.prototype.clear=function(){this.size=0,this.__data__={hash:new Ns,map:new(Ls||Is),string:new Ns}},zs.prototype.delete=function(e){var t=Rs(this,e).delete(e);return this.size-=+!!t,t},zs.prototype.get=function(e){return Rs(this,e).get(e)},zs.prototype.has=function(e){return Rs(this,e).has(e)},zs.prototype.set=function(e,t){var n=Rs(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var Bs=Es(Object.getPrototypeOf,Object);function Vs(e){var t=this.__data__=new Is(e);this.size=t.size}Vs.prototype.clear=function(){this.__data__=new Is,this.size=0},Vs.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Vs.prototype.get=function(e){return this.__data__.get(e)},Vs.prototype.has=function(e){return this.__data__.has(e)},Vs.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Is){var r=n.__data__;if(!Ls||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new zs(r)}return n.set(e,t),this.size=n.size,this},typeof exports==`object`&&exports&&!exports.nodeType&&exports&&typeof module==`object`&&module&&!module.nodeType&&module;var Hs=Object.prototype.propertyIsEnumerable,Us=Object.getOwnPropertySymbols,Ws=Us?function(e){return e==null?[]:(e=Object(e),function(t){for(var n=-1,r=t==null?0:t.length,i=0,a=[];++n<r;){var o=t[n];Hs.call(e,o)&&(a[i++]=o)}return a}(Us(e)))}:function(){return[]},Gs=Xo(Ao,`DataView`),Ks=Xo(Ao,`Promise`),qs=Xo(Ao,`Set`),Js=`[object Map]`,Ys=`[object Promise]`,Xs=`[object Set]`,Zs=`[object WeakMap]`,Qs=`[object DataView]`,$s=qo(Gs),ec=qo(Ls),tc=qo(Ks),nc=qo(qs),rc=qo(Zo),ic=Ro;(Gs&&ic(new Gs(new ArrayBuffer(1)))!=Qs||Ls&&ic(new Ls)!=Js||Ks&&ic(Ks.resolve())!=Ys||qs&&ic(new qs)!=Xs||Zo&&ic(new Zo)!=Zs)&&(ic=function(e){var t=Ro(e),n=t==`[object Object]`?e.constructor:void 0,r=n?qo(n):``;if(r)switch(r){case $s:return Qs;case ec:return Js;case tc:return Ys;case nc:return Xs;case rc:return Zs}return t});var ac=Object.prototype.hasOwnProperty,oc=Ao.Uint8Array;function sc(e){var t=new e.constructor(e.byteLength);return new oc(t).set(new oc(e)),t}var cc=/\w*$/,lc=jo?jo.prototype:void 0,uc=lc?lc.valueOf:void 0,dc=Ss&&Ss.isMap,fc=dc?vs(dc):function(e){return zo(e)&&ic(e)==`[object Map]`},pc=Ss&&Ss.isSet,mc=pc?vs(pc):function(e){return zo(e)&&ic(e)==`[object Set]`},hc=`[object Arguments]`,gc=`[object Function]`,_c=`[object Object]`,vc={};function yc(e,t,n,r,i,a){var o;if(o!==void 0)return o;if(!Vo(e))return e;var s=Bo(e);if(s)o=function(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&ac.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}(e);else{var c=ic(e),l=c==gc||c==`[object GeneratorFunction]`;if(gs(e))return e.slice();if(c==_c||c==hc||l&&!i)o=l?{}:function(e){return typeof e.constructor!=`function`||ss(e)?{}:$o(Bs(e))}(e);else{if(!vc[c])return i?e:{};o=function(e,t){var n,r,i,a,o=e.constructor;switch(t){case`[object ArrayBuffer]`:return sc(e);case`[object Boolean]`:case`[object Date]`:return new o(+e);case`[object DataView]`:return a=sc((i=e).buffer),new i.constructor(a,i.byteOffset,i.byteLength);case`[object Float32Array]`:case`[object Float64Array]`:case`[object Int8Array]`:case`[object Int16Array]`:case`[object Int32Array]`:case`[object Uint8Array]`:case`[object Uint8ClampedArray]`:case`[object Uint16Array]`:case`[object Uint32Array]`:return function(e){var t=sc(e.buffer);return new e.constructor(t,e.byteOffset,e.length)}(e);case`[object Map]`:case`[object Set]`:return new o;case`[object Number]`:case`[object String]`:return new o(e);case`[object RegExp]`:return(r=new(n=e).constructor(n.source,cc.exec(n))).lastIndex=n.lastIndex,r;case`[object Symbol]`:return uc?Object(uc.call(e)):{}}}(e,c)}}a||=new Vs;var u=a.get(e);if(u)return u;a.set(e,o),mc(e)?e.forEach((function(r){o.add(yc(r,t,n,0,e,a))})):fc(e)&&e.forEach((function(r,i){o.set(i,yc(r,t,n,0,e,a))}));var d=s?void 0:function(e){return function(e,t,n){var r=ks(e);return Bo(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,0,Ws)}(e);return function(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&!1!==t(e[n],n););}(d||e,(function(r,i){d&&(r=e[i=r]),function(e,t,n){var r=e[t];is.call(e,t)&&rs(r,n)&&(n!==void 0||t in e)||function(e,t,n){t==`__proto__`&&es?es(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}(e,t,n)}(o,i,yc(r,t,n,0,e,a))})),o}function bc(e){return yc(e,5)}vc[hc]=vc[`[object Array]`]=vc[`[object ArrayBuffer]`]=vc[`[object DataView]`]=vc[`[object Boolean]`]=vc[`[object Date]`]=vc[`[object Float32Array]`]=vc[`[object Float64Array]`]=vc[`[object Int8Array]`]=vc[`[object Int16Array]`]=vc[`[object Int32Array]`]=vc[`[object Map]`]=vc[`[object Number]`]=vc[_c]=vc[`[object RegExp]`]=vc[`[object Set]`]=vc[`[object String]`]=vc[`[object Symbol]`]=vc[`[object Uint8Array]`]=vc[`[object Uint8ClampedArray]`]=vc[`[object Uint16Array]`]=vc[`[object Uint32Array]`]=!0,vc[`[object Error]`]=vc[gc]=vc[`[object WeakMap]`]=!1;var xc=/[a-zA-Z0-9äöüÄÖÜß]/g,Sc=/^\d+$/;function Cc(e,t=1){return function(e){return typeof e==`string`&&e.match(xc)?.length||0}(e)>=t}function wc(e){return Sc.test(e)}function Tc(e){return typeof e==`string`?e.trim():Array.isArray(e)?e.map((e=>e.text)).join(``).trim():``}function Ec(e){if(typeof e!=`object`||!e)return!1;let t=e;return!!Object.keys(t).every((e=>e===`text`||e===`lang`))&&typeof t.text==`string`&&(t.lang===void 0||typeof t.lang==`string`)}var Dc=e=>e.length>=2||wc(e);function Oc(e){return typeof e==`string`?Dc(e):!!Array.isArray(e)&&e.length>0&&e.every(Ec)&&Dc(Tc(e))}function R(e){if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`||typeof e==`bigint`)return String(e);throw TypeError(`Cannot convert ${typeof e} to string`)}function kc(e){if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`||typeof e==`bigint`)return String(e);if(Array.isArray(e)&&e.every(Ec))return e;throw TypeError(`Cannot convert ${typeof e} to a label`)}function Ac(e){let t;try{t=jc(e)}catch{throw Error(`Invalid integer: ${String(e)}`)}return Number.isInteger(t)?t:Math.round(t)}function jc(e){if(typeof e==`number`&&!isNaN(e))return e;if(typeof e==`string`&&e.trim()!==``){let t=Number(e);if(!isNaN(t))return t}throw Error(`Invalid number: ${String(e)}`)}function Mc(e){if(typeof e==`number`&&!isNaN(e))return e;throw Error(`Invalid number: ${String(e)}`)}function Nc(e){if(typeof e==`number`)return isNaN(e)?void 0:e;if(aa(e))return parseFloat(e);throw Error(`Invalid number: ${e}`)}function Pc(e){if(typeof e==`boolean`)return e;if(typeof e==`string`){let t=e.toLowerCase();if(t===`true`||t===`false`)return t===`true`}throw Error(`Invalid boolean: ${String(e)}`)}function Fc(e,t){if(!0===e||e===`true`)return`true`;if(!1===e||e===`false`)return`false`;if(e===``)return``;throw Error(`Invalid ${t} value: expected a boolean, got ${JSON.stringify(e)}`)}function Ic(e,t){return typeof e==`string`&&t.includes(e)}function Lc(e){if(oa(e))return e;if(typeof e==`string`){let t=JSON.parse(e);if(oa(t))return t}throw Error(`Invalid object: ${e}`)}function Rc(e){if(oa(e)&&Array.isArray(e))return e;if(typeof e==`string`){let t=JSON.parse(e);if(oa(t)&&Array.isArray(t))return t}throw Error(`Invalid array: ${e}`)}function zc(e){if(typeof e==`object`&&e)return e;throw Error(`Invalid on callbacks: expected object, got `+typeof e)}function Bc(e){try{return JSON.stringify(e)}catch{return`[unserializable]`}}function Vc(e,t,n){let r=n instanceof Error?` (${n.message})`:``;Zi(`The property value ${Bc(t)} for '${e}' is not valid${r}. The value is ignored.`)}function z(e,t,n,r=()=>!0,i){return{propName:e,getDefaultValue:Vo(t)?()=>bc(t):()=>t,normalize:n,validate:r,apply(n,r,a){var o;if(n!=null)try{let t=this.normalize(n);this.validate(t)?((o=i?.hints)==null||o.call(i,this.propName,t),r(t)):Vc(e,n)}catch(t){Vc(e,n,t)}else{if(a&&Zi(`The required property '_${e}' did not receive a value. ${t===void 0?`The property stays unset.`:`The default value is used instead.`}`),t===void 0)return void r(void 0);let n=this.getDefaultValue();if(!this.validate(n))throw Error(`Default value ${Bc(t)} is invalid for prop definition '${e}'.`);r(n)}}}}function Hc(e,t,n,r=()=>!0){return{propName:e,getDefaultValue:Vo(t)?()=>bc(t):()=>t,normalize:n,validate:r,apply(n,r,i){if(n!=null)try{let t=this.normalize(n,i);this.validate(t,i)?r(t):Vc(e,n)}catch(t){Vc(e,n,t)}else{if(t===void 0)return void r(void 0);let n=this.getDefaultValue();if(!this.validate(n,i))throw Error(`Default value ${Bc(t)} is invalid for prop definition '${e}' with dependencies ${Bc(i)}.`);r(n)}}}}function Uc(){return z(`on`,{},(e=>zc(e)))}function Wc(e){var t;Array.isArray(e)&&e.raw&&(e=String.raw(...arguments));var n=ma(e);if(!n.space)return[];let r=n.space[0]===`h`?ga.min:ha.min,i=n.space[0]===`h`?ga.max:ha.max;return(t=[,,,])[0]=Math.min(Math.max(n.values[0],r[0]),i[0]),t[1]=Math.min(Math.max(n.values[1],r[1]),i[1]),t[2]=Math.min(Math.max(n.values[2],r[2]),i[2]),n.space[0]===`h`&&(t=ga.rgb(t)),t.push(Math.min(Math.max(n.alpha,0),1)),t}var Gc=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i,Kc=e=>typeof e==`object`&&!!e&&typeof e.backgroundColor==`string`&&typeof e.foregroundColor==`string`,qc=e=>{let t=Wc(e);if(!Array.isArray(t)||t.length<3)throw Error(`Invalid KoliBri color: ${e}`);let[n,r,i]=t;return{red:n,green:r,blue:i}},Jc=z(`color`,qc(`#003c78`),(e=>{if(typeof e==`string`&&Gc.test(e))return qc(e);let t=Kc(e)?e:typeof e==`string`?(e=>{if(e.startsWith(`{`))try{let t=JSON.parse(e);return Kc(t)?t:void 0}catch{return}})(e):void 0;if(t)return qc(t.foregroundColor);throw Error(`Invalid KoliBri color: expected a hex string or a color pair.`)})),Yc=new Set([`eager`,`lazy`]),Xc=z(`loading`,`lazy`,(e=>R(e)),(e=>Yc.has(e)));function Zc(e,t){return e<t.min?t.min:e>t.max?t.max:e}var Qc=Hc(`value`,0,((e,t)=>Zc(jc(e),t)),(e=>typeof e==`number`&&!isNaN(e))),$c=Object.assign(Object.assign({},Qc),{apply(e,t,n){Qc.apply(e,(e=>t(Zc(e,n))),n)}}),el=new Set([`blank`,`card`]),tl=z(`variant`,`blank`,(e=>R(e)),(e=>el.has(e))),nl=new Set([`block`,`inline`]),rl=z(`variant`,`inline`,(e=>R(e)),(e=>nl.has(e))),il=e=>{let t=``;if(typeof e==`string`||typeof e==`number`)t+=e;else if(typeof e==`object`&&e){if(Array.isArray(e)){for(let n of e)if(n){let e=il(n);e&&(t&&(t+=` `),t+=e)}}else for(let n in e)e[n]&&(t&&(t+=` `),t+=n)}return t},B=(...e)=>{let t=``;for(let n of e)if(n){let e=il(n);e&&(t&&(t+=` `),t+=e)}return t},al=new Map;function ol(e){let t=al.get(e);return t||(t=P.forBlock(e),al.set(e,t)),t}var sl=(e,t)=>{let n=B(ol(e.block)(e.modifiers),e.class),r={};for(let[t,i]of Object.entries(e))t===`block`?r.class=n:t!==`class`&&t!==`component`&&t!==`modifiers`&&(r[t]=i);return A(e.component??`div`,Object.assign({},r),t)};function cl(e){let t={};for(let n of[...e.required??[],...e.optional??[]])t[n.propName]=n.getDefaultValue();return t}function ll(e,t){return Object.assign(Object.assign({},cl(e)),t)}function ul(){throw Error(`This behavior does not use component state.`)}var V=class extends ln{constructor(){super(!1),this.rawProps={},this.renderProps={},this.requiredPropNames=new Set,this.renderPropsSeeded=!1,this.setState=(e,t)=>{this[e]=t},this.getState=e=>this[e],this.stateAccess={setState:this.setState,getState:this.getState}}seedRenderProps(){this.renderPropsSeeded||(this.renderPropsSeeded=!0,this.renderProps=cl(this.propsConfig),this.requiredPropNames=new Set((this.propsConfig.required??[]).map((e=>e.propName))))}isRequired(e){return this.seedRenderProps(),this.requiredPropNames.has(e)}setRawProp(e,t){this.rawProps[e]=t}getRawProp(e){return this.rawProps[e]}setRenderProp(e,t){this.seedRenderProps(),this.renderProps[e]=t}unsetRenderProp(e){this.seedRenderProps(),this.renderProps[e]=void 0}getRenderProp(e){return this.seedRenderProps(),this.renderProps[e]}};V.stateLess=Object.freeze({setState:ul,getState:ul});function dl(e,t){let n=typeof t==`string`?t:Array.isArray(t)?Tc(t):``;n!==``&&(!1===Cc(n,3)&&!1===wc(n)&&Ki(`The heading or label ("${n}") is inaccessible. A label should consist of at least three readable characters.`),n.length>80&&ta(`A heading or label should not be longer than 80 characters.`))}var fl=z(`label`,void 0,kc,Oc,{hints:dl}),pl={optional:[fl]},ml=()=>A(sl,{block:`kol-abbr`,component:`abbr`},A(`slot`,null)),hl=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=pl,this._label=void 0}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}componentWillLoad(){this.watchLabel(this._label)}render(){return A(j,{key:`550b3ce02fc24bfe0e08f76453c96d32d61eeb2e`},A(ml,{key:`f8974f5d9caa7846910d7f0859c82f7b80dfd093`,label:this.getRenderProp(`label`)}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host > abbr { text-decoration: underline dashed; cursor: help; } }`}}},[545,`kol-abbr`,{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),gl=hl,_l=function(){typeof customElements<`u`&&[`kol-abbr`].forEach((e=>{e===`kol-abbr`&&(customElements.get(N(e))||customElements.define(N(e),hl))}))};function vl(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function yl(e,t,n,r){var i,a=arguments.length,o=a<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}var bl=[0,1,2,3,4,5,6],xl=z(`level`,0,(e=>Ac(e)),(e=>bl.includes(e))),Sl=z(`disabled`,!1,Pc),Cl=z(`open`,!1,Pc),wl=1;function Tl(e){return function(e){return e>=wl&&e<=6}(e)?`h${e}`:`strong`}var El=(e,t)=>{var{class:n,level:r=wl}=e,i=vl(e,[`class`,`level`]);let a=Tl(r);return A(a,Object.assign({class:B(`kol-headline`,`kol-headline--${a}`,n)},i),t)},Dl=(e,t)=>{var{class:n}=e,r=vl(e,[`class`]);return A(`p`,Object.assign({class:B(`kol-headline kol-headline--group kol-headline--secondary`,n)},r),t)},Ol=(e,t)=>{var{secondaryHeadline:n,level:r=wl,class:i,HeadingGroupProps:a={},SecondaryHeadlineProps:o={}}=e,s=vl(e,[`secondaryHeadline`,`level`,`class`,`HeadingGroupProps`,`SecondaryHeadlineProps`]);let c=Object.assign({level:r},s);if(!n)return A(El,Object.assign({class:B(i,`kol-headline--single`)},c),t);let{class:l}=a,u=vl(a,[`class`]),d=Object.assign({class:B(`kol-heading-group`,l)},u);return A(`hgroup`,Object.assign({},d),A(El,Object.assign({class:B(i,`kol-headline--group`,`kol-headline--primary`)},c),t),A(Dl,Object.assign({},o),n))};function kl(e){return new Promise(((t,n)=>{let r,i=new MutationObserver((()=>{e.hasAttribute(`data-themed`)&&(r&&clearTimeout(r),i.disconnect(),t())}));if(i.observe(e,{attributes:!0,attributeFilter:[`data-themed`]}),e.hasAttribute(`data-themed`))return i.disconnect(),void t();r=setTimeout((()=>{i.disconnect(),n(Error(`Timeout waiting for data-themed attribute`))}),5e3)}))}async function Al(e,t){try{e.hasAttribute(`data-themed`)||await kl(e),await t()}catch{throw Error(`The interactive element inside the KoliBri web component could not be focused. Try calling the focus method on the web component after a short delay again.`)}}function jl(e){let t=e.getRootNode();return t instanceof ShadowRoot?t.activeElement===e:document.activeElement===e}function Ml(e){let t=function(e=document){let t=e.activeElement;for(;t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}();if(!t||!e)return!1;let n=t;for(;n;){if(n===e)return!0;let t=n.getRootNode();n=t instanceof ShadowRoot?t.host:n.parentElement}return!1}var Nl={preventScroll:!0};async function Pl(e,t){if(!e)return;let n=t??{},{afterFocus:r}=n,i=vl(n,[`afterFocus`]),a=t&&(`behavior`in i||`block`in i||`inline`in i),o=0;do e&&e.focus(Nl),await new Promise((e=>requestAnimationFrame(e))),o++;while(!jl(e)&&o<10);let s=jl(e);if(a){let t=Object.assign(Object.assign({},i),{behavior:i.behavior});e.scrollIntoView(t)}r&&s&&(a&&i.behavior===`smooth`&&await function(e,t=2e3){return new Promise((n=>{let r,i,a=!1,o=()=>{a||(a=!0,clearTimeout(s),i?.(),i=void 0,r?.disconnect(),n())},s=setTimeout(o,t);if(typeof window<`u`&&`onscrollend`in window){let t=t=>{let n=t.target;n instanceof Node&&n.contains(e)&&o()};document.addEventListener(`scrollend`,t,{capture:!0}),i=()=>{document.removeEventListener(`scrollend`,t,{capture:!0})}}else typeof IntersectionObserver<`u`?(r=new IntersectionObserver((e=>{e.some((e=>e.isIntersecting))&&o()}),{threshold:0}),r.observe(e)):o()}))}(e),r())}async function Fl(e,t){try{e.hasAttribute(`data-themed`)||await kl(e),await t()}catch{throw Error(`The interactive element inside the KoliBri web component could not be clicked. Try calling the click method on the web component after a short delay again.`)}}function Il(e){if(!e)return!1;let t=e.getBoundingClientRect();return t.width>0&&t.height>0}async function Ll(e){let t=0;do e&&e.click(),await new Promise((e=>requestAnimationFrame(e))),t++;while(!Il(e)&&t<3)}function Rl(e){let t,n=e=>{t=e};return Object.defineProperty(n,"el",{get:()=>!0===e?.()?void 0:t,set:e=>{t=e}}),n}var zl=e=>e.preventDefault();function Bl(e){return(t,n,r)=>(r.value=async function(t){return e(this,t)},r)}function Vl(e){return Bl(((t,n)=>{let r=t[e]?.el;return r?Pl(r,n):Promise.resolve()}))}function H(e){return Bl(((t,n)=>{let r=t.host;return r?Al(r,(()=>{let r=t[e]?.el;return r?Pl(r,n):Promise.resolve()})):Promise.resolve()}))}function U(e){return t=t=>Fl(t.host,(()=>{let n=t[e].el;return n?Ll(n):Promise.resolve()})),(e,n,r)=>(r.value=async function(){return t(this)},r);var t}var Hl=P.forBlock(`kol-icon`)(`icon`),Ul=e=>{var{class:t,icons:n,label:r}=e,i=vl(e,[`class`,`icons`,`label`]);let a=r?.length>0;return A(sl,Object.assign({component:`i`},i,{"aria-hidden":a?void 0:`true`,"aria-label":a?r:void 0,block:`kol-icon`,class:B(Hl,n,t),role:a?`img`:`presentation`}))};function Wl(e){return typeof e==`string`||!Bo(e)&&zo(e)&&Ro(e)==`[object String]`}var Gl=e=>e===``,Kl=(e,t)=>e||t||``,ql=RegExp(`\0`,`g`),Jl=`�`,Yl={amp:`&`,apos:`'`,gt:`>`,lt:`<`,nbsp:`\xA0`,quot:`"`},Xl=e=>Number.isInteger(e)&&e>=32&&e<=1114111&&!(e>=55296&&e<=57343)?String.fromCodePoint(e):void 0,Zl="\\s!-/:-@\\[-^`{-~",Ql=`(^|[${Zl}])`,$l=`(?=$|[${Zl}])`,eu=`\\S(?:[\\s\\S]*\\S)?`,tu=/[ \t]{2,}\n/g,nu=RegExp(`~~(${eu})~~`,`g`),ru=RegExp(`\\*\\*(${eu})\\*\\*`,`g`),iu=/\*([^\s*](?:[^*]*[^\s*])?)\*/g,au=RegExp(`\\*\\*\\*(${eu})\\*\\*\\*`,`g`),ou=RegExp(`${Ql}__(${eu})__${$l}`,`g`),su=RegExp(`${Ql}_([^\\s_](?:[^_]*[^\\s_])?)_${$l}`,`g`),cu=RegExp(`${Ql}___(${eu})___${$l}`,`g`),lu=e=>{let t=[];return(e=>e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`))((e=>e.replace(/&#(\d+);/g,((e,t)=>Xl(Number.parseInt(t,10))??e)).replace(/&#x([0-9a-f]+);/gi,((e,t)=>Xl(Number.parseInt(t,16))??e)).replace(/&([a-z]+);/gi,((e,t)=>Yl[t.toLowerCase()]??e)))(e.replace(/\r\n?/g,`
10
+ `).replace(ql,Jl))).replace(/\\([\\`*_~[\]()#+\-.!>{}])/g,((e,n)=>(t.push(n),`<${t.length-1}>`))).split(/(`[^`]+`)/).map(((e,t)=>t%2==0?(e=>e.replace(tu,`<br>
11
+ `).replace(au,`<em><strong>$1</strong></em>`).replace(cu,`$1<em><strong>$2</strong></em>`).replace(nu,`<s>$1</s>`).replace(ru,`<strong>$1</strong>`).replace(ou,`$1<strong>$2</strong>`).replace(iu,`<em>$1</em>`).replace(su,`$1<em>$2</em>`))(e):`<code>${e.slice(1,-1)}</code>`)).join(``).replace(/<(\d+)>/g,((e,n)=>t[Number.parseInt(n,10)]??``))},uu=P.forBlock(`kol-span`);function du(e){return e!=null&&function(e){return typeof e==`object`&&!!e&&`icon`in e}(e)?e:Wl(e)&&e.length>0?{icon:e}:null}function fu(e){return Array.isArray(e)?A(`span`,null,e.map((e=>A(`span`,{lang:e.lang},e.text)))):A(Ar,null,e)}var pu=(e,t)=>{let{allowMarkdown:n,badgeText:r,class:i,hideLabel:a=!1,icons:o,label:s}=e,c=vl(e,[`allowMarkdown`,`badgeText`,`class`,`hideLabel`,`icons`,`label`]),l=null,u=null,d=null,f=null;(function(e){return typeof e==`object`&&!!e&&!Array.isArray(e)})(o)?(l=du(o.top),u=du(o.left),d=du(o.right),f=du(o.bottom)):Wl(o)&&o.length>0&&(u={icon:o});let p=(e,t)=>e?A(Ul,{class:uu(`icon`,{[t]:!0}),icons:e.icon,label:e.label??``,style:e.style}):null,m=!Gl(s);return A(sl,Object.assign({component:`span`},c,{block:`kol-span`,modifiers:{"has-badge":!!r,"hide-label":!!a},class:i}),p(l,`top`),A(`span`,{class:uu(`container`)},p(u,`left`),m&&function(e,t,n,r){return t?null:Array.isArray(e)?A(`span`,{class:uu(`label`)},e.map((e=>A(`span`,{lang:e.lang},e.text)))):n?A(`span`,{class:B(uu(`label`),`md`),innerHTML:lu(e)}):A(`span`,{class:uu(`label`)},r?function(e,t){let n=t,[r,...i]=e.split(n);return i.length===0&&(n=t.toUpperCase(),[r,...i]=e.split(n)),i.length===0&&(n=t.toLowerCase(),[r,...i]=e.split(n)),A(Ar,null,r,i.length?A(Ar,null,A(`u`,null,n),i.join(n)):null)}(e,r):e)}(s,a,n,r),A(`span`,{"aria-hidden":m?`true`:void 0,class:uu(`slot`),hidden:m},t),Wl(r)&&r.length>0&&A(`kbd`,{"aria-hidden":`true`,class:`badge-text-hint`},r),p(d,`right`)),p(f,`bottom`))},mu=Uc(),hu={optional:[mu,Sl,xl,Cl],required:[fl]},gu=({block:e,contentClass:t,controlId:n,detailsOpen:r,disabled:i,expanded:a,handleToggle:o,headingId:s,icons:c,label:l,level:u,refHeadingButton:d,transitionMs:f},p)=>{let m=ol(e);return A(sl,{component:`details`,block:e,modifiers:{disabled:!0===i,open:!0===a},open:!0===r,style:{"--collapsible-transition-duration":`${f}ms`}},A(`summary`,{"aria-controls":n,"aria-disabled":!0===i?`true`:void 0,class:m(`heading`),id:s,onClick:o,onMouseDown:!0===i?zl:void 0,ref:d,tabIndex:!0===i?-1:void 0},A(Ol,{level:u??0},A(pu,{icons:c,label:l}))),A(`div`,{class:m(`wrapper`)},A(`div`,{class:m(`wrapper-animation`)},A(`div`,{"aria-hidden":!1===a?`true`:void 0,"aria-labelledby":s,class:B(m(`content`),t),id:n,role:`region`},p))))};function _u({getTransitionMs:e,setDetailsOpen:t,setExpanded:n}){let r,i,a=()=>{r?.(),r=void 0,clearTimeout(i),i=void 0};return{syncOpen(o,s){if(a(),o)return t(!0),void(s?r=function(e){if(typeof requestAnimationFrame==`function`){let t=requestAnimationFrame(e);return()=>cancelAnimationFrame(t)}let t=setTimeout(e,0);return()=>clearTimeout(t)}((()=>n(!0))):n(!0));n(!1),s?i=setTimeout((()=>t(!1)),e()):t(!1)},dispose:a}}function vu({getHost:e,getOn:t,isDisabled:n,isOpen:r,setOpen:i}){return a=>{if(a.preventDefault(),n())return;let o=!r();i(o),setTimeout((()=>{var n,r;let i=e();i&&(I(i,F.click,o),I(i,F.toggle,o));let s=t();(n=s.onClick)==null||n.call(s,a,o),(r=s.onToggle)==null||r.call(s,a,o)}),25)}}var yu=()=>{let e=wi().KoliBri;return e===void 0&&(e={},Object.defineProperty(wi(),"KoliBri",{value:e,writable:!1})),e},bu="\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n`--' `--´ `---´ `--' `--' `------´ `--' `--'".replace(/ /g,`\xA0`),xu=()=>{(()=>{try{let e=Ti();if(!e||typeof e.querySelector!=`function`)return;let t=e.querySelector(`meta[name="kolibri"]`);if(t&&t.hasAttribute(`content`)){let e=t.getAttribute(`content`);typeof e==`string`&&(Ii(e.includes(`experimental-mode=true`)),Ri(e.includes(`color-contrast-analysis=true`)))}}catch{}})(),Wi.debug(`${bu}\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Ut.kolibriVersion}\n\t`,{forceLog:!0})},Su=()=>{!0!==yu().adviceShown&&(Object.defineProperty(yu(),"adviceShown",{get:function(){return!0}}),Wi.debug(`
12
+ You are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:
13
+
14
+ Ticket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)
15
+ Email: kolibri@itzbund.de
16
+ `))},Cu=()=>Math.floor(16777215*Math.random()).toString(16);Ni()&&(Cu=()=>`nonce`);var W=e=>`${e}-${Cu()}`,wu=(e,t)=>{let n=e.lastIndexOf(`-`);if(n===-1)return`${e}-${t}`;let r=e.slice(n+1);return r===`nonce`||/^[0-9a-f]+$/.test(r)?`${e.slice(0,n)}-${t}-${r}`:`${e}-${t}`},Tu=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.accordionId=W(`accordion`),this.controlId=wu(this.accordionId,`control`),this.detailsOpen=!1,this.expanded=!1,this.headingId=wu(this.accordionId,`heading`),this.transitionMs=300,this.ctaRef=Rl((()=>!0===this.getRenderProp(`disabled`))),this.hasLoaded=!1,this.openAnimation=_u({getTransitionMs:()=>this.transitionMs,setDetailsOpen:e=>this.detailsOpen=e,setExpanded:e=>this.expanded=e}),this.handleToggle=vu({getHost:()=>this.host,getOn:()=>this.getRenderProp(`on`),isDisabled:()=>!0===this.getRenderProp(`disabled`),isOpen:()=>!0===this.getRenderProp(`open`),setOpen:e=>this._open=e}),this.propsConfig=hu,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(e){Sl.apply(e,(e=>this.setRenderProp(`disabled`,e)))}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){mu.apply(e,(e=>this.setRenderProp(`on`,e)))}watchOpen(e){Cl.apply(e,(e=>{this.setRenderProp(`open`,e),this.openAnimation.syncOpen(e,this.hasLoaded)}))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.transitionMs=ti(`collapsibleTransitionMs`,this.host)??300,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return A(j,{key:`67a4dedb9668bb1ecf593f3dda0db9640276fe33`},A(gu,{key:`feb5399dc4dd3ef1fb8ebeedf202877dc6290f76`,block:`kol-accordion`,controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp(`disabled`),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:this.getRenderProp(`open`)?`kolicon-chevron-down`:`kolicon-chevron-right`,label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),on:this.getRenderProp(`on`),open:this.getRenderProp(`open`),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},A(`slot`,{key:`836ae2d1dee88b197ebc864a8e3e2ef54caf5c72`})))}get host(){return this}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-accordion { } .kol-accordion__heading { display: flex; min-height: var(--a11y-min-size); } .kol-accordion__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-accordion__heading { } .kol-accordion__heading::before { content: "​"; } .kol-accordion__heading { } .kol-accordion__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-accordion__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-accordion__wrapper-animation, .kol-accordion__wrapper { transition: none !important; } } .kol-accordion { } @media print { .kol-accordion:not(.kol-accordion--open) .kol-accordion__wrapper-animation { display: none; } } .kol-accordion__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-accordion__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-accordion--open .kol-accordion__wrapper { grid-template-rows: 1fr; } .kol-accordion--open .kol-accordion__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-accordion--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } }`}}},[801,`kol-accordion`,{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],controlId:[32],detailsOpen:[32],expanded:[32],headingId:[32],transitionMs:[32],focus:[64],click:[64]},void 0,{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]);yl([H(`ctaRef`)],Tu.prototype,`focus`,null),yl([U(`ctaRef`)],Tu.prototype,`click`,null);var Eu=Tu,Du=function(){typeof customElements<`u`&&[`kol-accordion`].forEach((e=>{e===`kol-accordion`&&(customElements.get(N(e))||customElements.define(N(e),Tu))}))},G=(e,t)=>(Ja()??Ya(`de`)).translate(e,t);Ni()&&(G=e=>e);var Ou=z(`hasCloser`,!1,Pc),ku=/^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/,Au=e=>typeof e==`string`&&ku.test(e),ju=Dc,Mu=e=>e===``||Oc(e),Nu=e=>e===``||ju(e),Pu=[`left`,`right`,`top`,`bottom`],Fu=(e,t)=>{let n=``;return Array.isArray(e)&&e.forEach((e=>{n+=`kol-`+t+`--`+e+` `})),n},Iu=z(`accessKey`,``,R);function Lu(e,t){return z(e,t,(t=>{let n=R(t);if(Ic(n,Pu))return n;throw Error(`Invalid ${e} value: ${n}`)}))}var Ru=z(`ariaControls`,``,R),zu=z(`ariaDescription`,``,R),Bu=z(`ariaExpanded`,``,(function(e){return Fc(e,`aria-expanded`)})),Vu=z(`customClass`,``,R,(function(e){return e===``||Au(e)})),Hu=z(`hideLabel`,!1,Pc),Uu=z(`inline`,!0,Pc),Wu=[`tab`,`treeitem`],Gu=z(`role`,``,(function(e){if(e===``)return``;if(Ic(e,Wu))return e;throw Error(`Invalid role: expected one of ${Wu.join(`, `)}, got ${JSON.stringify(e)}`)})),Ku=z(`shortKey`,``,R),qu=z(`icons`,{},(function(e){if(!e||typeof e==`string`&&e===``)return{};if(typeof e==`string`&&/^[{[]/.test(e.trim()))return Lc(e);if(typeof e==`string`)return R(e);if(typeof e==`object`)return Lc(e);throw Error(`Invalid icons: `+typeof e)}),(function(e){return typeof e==`string`?e.length>0:typeof e==`object`&&!!e})),Ju=z(`tabIndex`,0,Ac,void 0,{hints:(e,t)=>{typeof t==`number`&&t>0&&Ki(`Positive tabIndex values ("${t}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),Yu=Lu(`tooltipAlign`,`right`),Xu=z(`variant`,[],(function(e){return Array.isArray(e)?e:typeof e==`string`?e.split(` `):[]}),(function(e){return e.length===0||e.every(Au)})),Zu=({description:e,descriptionId:t})=>e?A(`span`,{class:`visually-hidden`,id:t},e):null,Qu=P.forBlock(`kol-tooltip`),$u=({label:e,badgeText:t,id:n,refFloating:r})=>A(`div`,{class:Qu(`floating`),hidden:!e,ref:r},A(`div`,{class:Qu(`arrow`)}),A(pu,{class:Qu(`content`),badgeText:t,id:n,label:e})),ed=z(`id`,``,R),td=z(`label`,``,kc,Mu,{hints:dl}),nd=[`dialog`,`false`,`grid`,`listbox`,`menu`,`tree`,`true`],rd=z(`ariaHasPopup`,``,(function(e){if(e===``)return``;if(Ic(e,nd))return e;throw Error(`Invalid aria-haspopup value: expected one of ${nd.join(`, `)}, got ${JSON.stringify(e)}`)})),id=z(`ariaSelected`,``,(function(e){return Fc(e,`aria-selected`)})),ad=Uc(),od=[`button`,`reset`,`submit`],sd=z(`type`,`button`,(function(e){let t=R(e);if(Ic(t,od))return t;throw Error(`Invalid button type: ${t}`)}),(e=>od.includes(e))),cd=z(`name`,``,R),ld={required:[td],optional:[Iu,Ru,zu,Bu,rd,id,ad,sd,Vu,Sl,Hu,ed,Uu,Gu,cd,Ku,qu,Ju,Yu,Xu]},ud=P.forBlock(`kol-button`),dd=ud(`interactive-element`),fd=ud(`text`),pd=ud(`tooltip`),md=e=>{let t=ll(ld,e),{accessKey:n,ariaControls:r,ariaDescription:i,ariaDescriptionId:a,ariaExpanded:o,ariaHasPopup:s,ariaSelected:c,class:l,customClass:u,disabled:d,handleBlur:f,handleClick:p,handleFocus:m,handleMouseDown:h,hideLabel:g,icons:_,id:v,inline:y,label:b,name:x,refButton:S,refTooltip:C,role:w,shortKey:T,tabIndex:E,type:ee,variant:te}=t,ne=vl(t,`accessKey.ariaControls.ariaDescription.ariaDescriptionId.ariaExpanded.ariaHasPopup.ariaSelected.class.customClass.disabled.handleBlur.handleClick.handleFocus.handleMouseDown.hideLabel.icons.id.inline.label.name.refButton.refTooltip.role.shortKey.tabIndex.type.variant.on.tooltipAlign`.split(`.`)),re=n||T,ie=Tc(b).length>0,ae=i.trim().length>0;return A(sl,Object.assign({block:`kol-button`,class:B(l,{[Fu(te,`button`)]:te.length>0,[u]:u.length>0}),modifiers:{disabled:d,"hide-label":g,inline:!0===y,standalone:!1===y}},ne),A(`button`,{ref:S,accessKey:n||void 0,"aria-controls":r||void 0,"aria-describedby":ae?a:void 0,"aria-expanded":o||void 0,"aria-haspopup":s||void 0,"aria-keyshortcuts":T||void 0,"aria-label":g&&ie?Tc(b):void 0,"aria-selected":c||void 0,class:dd,disabled:d,id:v||void 0,name:x||void 0,onBlur:f,onClick:p,onFocus:m,onMouseDown:h,role:w||void 0,tabIndex:E,type:ee},A(pu,{class:fd,badgeText:re,icons:_,hideLabel:g,label:b},A(`slot`,{name:`expert`,slot:`expert`}))),g&&ie&&A(`div`,{class:pd},A($u,{badgeText:re,label:b,refFloating:C})),ae&&A(Zu,{description:i,descriptionId:a}))},hd=P.forBlock(`kol-alert`)(`icon`),gd={error:{label:G(`kol-error`),icon:`kolicon-alert-error`},info:{label:G(`kol-info`),icon:`kolicon-alert-info`},warning:{label:G(`kol-warning`),icon:`kolicon-alert-warning`},success:{label:G(`kol-success`),icon:`kolicon-alert-success`},default:{label:G(`kol-message`),icon:`kolicon-alert-info`}},_d=({type:e=`default`})=>{let t=gd[e||`default`];return A(Ar,null,A(`span`,{class:`visually-hidden`},t.label),A(Ul,{class:hd,label:``,icons:t.icon}))},vd=P.forBlock(`kol-alert`),yd=vd(`closer`),bd=vd(`content`),xd=P.forBlock(`kol-close-button`)(),Sd=void 0,Cd=(e,t)=>{let{alert:n,class:r,closerAriaDescriptionId:i,handleCloserClick:a,hasCloser:o,headingId:s,label:c,level:l,refCloserButton:u,refCloserTooltip:d,type:f,variant:p}=e,m=vl(e,[`alert`,`class`,`closerAriaDescriptionId`,`handleCloserClick`,`hasCloser`,`headingId`,`label`,`level`,`refCloserButton`,`refCloserTooltip`,`type`,`variant`]),h=G(`kol-close-alert`),g=Tl(l??0);return A(sl,Object.assign({block:`kol-alert`,class:r,modifiers:{hasCloser:!0===o,[`type-${f}`]:!0,[`variant-${p}`]:!0},role:n?`alert`:void 0},m),A(_d,{type:f}),!!c?.length&&A(g,{class:B(`kol-headline`,`kol-headline--${g}`,vd(`heading`,{[`h${l}`]:!0}),`kol-headline--single`),id:s},fu(c)),o&&A(md,{accessKey:``,ariaControls:``,ariaDescription:Tc(c),ariaDescriptionId:i,ariaExpanded:Sd,ariaHasPopup:``,ariaSelected:Sd,class:B(yd,xd),customClass:``,disabled:!1,handleBlur:()=>{},handleClick:a,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:`kolicon-cross`}},id:``,inline:!1,label:h,name:``,on:{},refButton:u,refTooltip:d,role:Sd,shortKey:``,tabIndex:Sd,tooltipAlign:`top`,type:`button`,variant:[`normal`]}),A(`div`,{"aria-describedby":c?.length?s:void 0,class:bd},t))},wd=Lu(`align`,`top`),Td=z(`badgeText`,``,R),Ed=Math.min,Dd=Math.max,Od=Math.round,kd=Math.floor,Ad=e=>({x:e,y:e}),jd={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Md(e,t,n){return Dd(e,Ed(t,n))}function Nd(e,t){return typeof e==`function`?e(t):e}function Pd(e){return e.split(`-`)[0]}function Fd(e){return e.split(`-`)[1]}function Id(e){return e===`x`?`y`:`x`}function Ld(e){return e===`y`?`height`:`width`}function Rd(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function zd(e){return Id(Rd(e))}function Bd(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Vd=[`left`,`right`],Hd=[`right`,`left`],Ud=[`top`,`bottom`],Wd=[`bottom`,`top`];function Gd(e){let t=Pd(e);return jd[t]+e.slice(t.length)}function Kd(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:function(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}(e)}function qd(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Jd(e,t,n){let{reference:r,floating:i}=e,a=Rd(t),o=zd(t),s=Ld(o),c=Pd(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Fd(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Yd(e,t){var n;t===void 0&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:c}=e,{boundary:l=`clippingAncestors`,rootBoundary:u=`viewport`,elementContext:d=`floating`,altBoundary:f=!1,padding:p=0}=Nd(t,e),m=Kd(p),h=s[f?d===`floating`?`reference`:`floating`:d],g=qd(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(h)))==null||n?h:h.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),_=d===`floating`?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),y=await(a.isElement==null?void 0:a.isElement(v))&&await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1},b=qd(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:_,offsetParent:v,strategy:c}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}var Xd=new Set([`left`,`top`]);function Zd(){return typeof window<`u`}function Qd(e){return tf(e)?(e.nodeName||``).toLowerCase():`#document`}function $d(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ef(e){return((tf(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function tf(e){return!!Zd()&&(e instanceof Node||e instanceof $d(e).Node)}function nf(e){return!!Zd()&&(e instanceof Element||e instanceof $d(e).Element)}function rf(e){return!!Zd()&&(e instanceof HTMLElement||e instanceof $d(e).HTMLElement)}function af(e){return!(!Zd()||typeof ShadowRoot>`u`)&&(e instanceof ShadowRoot||e instanceof $d(e).ShadowRoot)}function of(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=gf(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function sf(e){return/^(table|td|th)$/.test(Qd(e))}function cf(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var lf=/transform|translate|scale|rotate|perspective|filter/,uf=/paint|layout|strict|content/,df=e=>!!e&&e!==`none`,ff;function pf(e){let t=nf(e)?gf(e):e;return df(t.transform)||df(t.translate)||df(t.scale)||df(t.rotate)||df(t.perspective)||!mf()&&(df(t.backdropFilter)||df(t.filter))||lf.test(t.willChange||``)||uf.test(t.contain||``)}function mf(){return ff??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),ff}function hf(e){return/^(html|body|#document)$/.test(Qd(e))}function gf(e){return $d(e).getComputedStyle(e)}function _f(e){return nf(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function vf(e){if(Qd(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||af(e)&&e.host||ef(e);return af(t)?t.host:t}function yf(e){let t=vf(e);return hf(t)?(e.ownerDocument||e).body:rf(t)&&of(t)?t:yf(t)}function bf(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=yf(e),i=r===e.ownerDocument?.body,a=$d(r);if(i){let e=xf(a);return t.concat(a,a.visualViewport||[],of(r)?r:[],e&&n?bf(e):[])}return t.concat(r,bf(r,[],n))}function xf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Sf(e){let t=gf(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=rf(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Od(n)!==a||Od(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Cf(e){return nf(e)?e:e.contextElement}function wf(e){let t=Cf(e);if(!rf(t))return Ad(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Sf(t),o=(a?Od(n.width):n.width)/r,s=(a?Od(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var Tf=Ad(0);function Ef(e){let t=$d(e);return mf()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Tf}function Df(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Cf(e),o=Ad(1);t&&(r?nf(r)&&(o=wf(r)):o=wf(e));let s=function(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===$d(e)}(a,n,r)?Ef(a):Ad(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=$d(a),t=nf(r)?$d(r):r,n=e,i=xf(n);for(;i&&t!==n;){let e=wf(i),t=i.getBoundingClientRect(),r=gf(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=$d(i),i=xf(n)}}return qd({width:u,height:d,x:c,y:l})}function Of(e,t){let n=_f(e).scrollLeft;return t?t.left+n:Df(ef(e)).left+n}function kf(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Of(e,n),y:n.top+t.scrollTop}}function Af(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=function(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=$d(e),a=ef(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!mf()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Of(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=25&&(s-=o)}return{width:s,height:c,x:l,y:u}}(e,n,t);else if(t===`document`)r=function(e){let t=_f(e),n=e.ownerDocument.body,r=Dd(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Dd(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Of(e),o=-t.scrollTop;return gf(n).direction===`rtl`&&(a+=Dd(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}(ef(e));else if(nf(t))r=function(e,t){let n=Df(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=wf(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n);else{let n=Ef(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return qd(r)}function jf(e,t,n){let r=rf(t),i=ef(t),a=n===`fixed`,o=Df(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Ad(0);if((r||!a)&&((Qd(t)!==`body`||of(i))&&(s=_f(t)),r)){let e=Df(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Of(i));let l=!i||r||a?Ad(0):kf(i,s);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Mf(e){return gf(e).position===`static`}function Nf(e,t){if(!rf(e)||gf(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return ef(e)===n&&(n=n.ownerDocument.body),n}function Pf(e,t){let n=$d(e);if(cf(e))return n;if(!rf(e)){let t=vf(e);for(;t&&!hf(t);){if(nf(t)&&!Mf(t))return t;t=vf(t)}return n}let r=Nf(e,t);for(;r&&sf(r)&&Mf(r);)r=Nf(r,t);return r&&hf(r)&&Mf(r)&&!pf(r)?n:r||function(e){let t=vf(e);for(;rf(t)&&!hf(t);){if(pf(t))return t;if(cf(t))return null;t=vf(t)}return null}(e)||n}var Ff={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=ef(r),s=!!t&&cf(t.floating);if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Ad(1),u=Ad(0),d=rf(r);if((d||!a)&&((Qd(r)!==`body`||of(o))&&(c=_f(r)),d)){let e=Df(r);l=wf(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=!o||d||a?Ad(0):kf(o,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}},getDocumentElement:ef,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?cf(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=bf(e,[],!1).filter((e=>nf(e)&&Qd(e)!==`body`)),i=null,a=gf(e).position===`fixed`,o=a?vf(e):e;for(;nf(o)&&!hf(o);){let e=gf(o),t=pf(o),n=i?i.position:a?`fixed`:``;t||n!==`fixed`&&(n!==`absolute`||e.position!==`static`)?i=e:r=r.filter((e=>e!==o)),o=vf(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=Af(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Af(t,a[e],i);s=Dd(n.top,s),c=Ed(n.right,c),l=Ed(n.bottom,l),u=Dd(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}},getOffsetParent:Pf,getElementRects:async function(e){let t=this.getOffsetParent||Pf,n=this.getDimensions,r=await n(e.floating);return{reference:jf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=Sf(e);return{width:t,height:n}},getScale:wf,isElement:nf,isRTL:function(e){return gf(e).direction===`rtl`}};function If(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Lf(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Cf(e),u=i||a?[...l?bf(l):[],...t?bf(t):[]]:[];u.forEach((e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)}));let d=l&&s?function(e,t,n){let r,i=null,a=ef(e);function o(){var e;clearTimeout(r),(e=i)==null||e.disconnect(),i=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m={rootMargin:-kd(d)+`px `+-kd(a.clientWidth-(u+f))+`px `+-kd(a.clientHeight-(d+p))+`px `+-kd(u)+`px`,threshold:Dd(0,Ed(1,c))||1},h=!0;function g(t){let n=t[0].intersectionRatio;if(!If(l,e.getBoundingClientRect()))return s();if(n!==c){if(!h)return s();n?s(!1,n):r=setTimeout((()=>{s(!1,1e-7)}),1e3)}h=!1}try{i=new IntersectionObserver(g,{...m,root:a.ownerDocument})}catch{i=new IntersectionObserver(g,m)}i.observe(e)}let c=$d(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}(l,n,a):null,f,p=-1,m=null;o&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;(e=m)==null||e.observe(t)}))),n()})),l&&!c&&m.observe(l),t&&m.observe(t));let h=c?Df(e):null;return c&&function t(){let r=Df(e);h&&!If(h,r)&&n(),h=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)})),d?.(),(e=m)==null||e.disconnect(),m=null,c&&cancelAnimationFrame(f)}}var Rf=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Nd(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Rd(i),p=Id(f),m=u[p],h=u[f],g=(e,t)=>Md(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},zf=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Nd(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Pd(r),_=Rd(o),v=Pd(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Gd(o)]:function(e){let t=Gd(e);return[Bd(e),t,Bd(t)]}(o)),x=p!==`none`;!d&&x&&b.push(...function(e,t,n,r){let i=Fd(e),a=function(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Hd:Vd:t?Vd:Hd;case`left`:case`right`:return t?Ud:Wd;default:return[]}}(Pd(e),n===`start`,r);return i&&(a=a.map((e=>e+`-`+i)),t&&(a=a.concat(a.map(Bd)))),a}(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=function(e,t,n){n===void 0&&(n=!1);let r=Fd(e),i=zd(e),a=Ld(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Gd(o)),[o,Gd(o)]}(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every((e=>e<=0))){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===Rd(t)||T.every((e=>Rd(e.placement)!==_||e.overflows[0]>0))))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter((e=>{if(x){let t=Rd(e.placement);return t===_||t===`y`}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},Bf=async({floatingElement:e,referenceElement:t,arrowElement:n,align:r=`top`})=>{var i,a;if(!Ni()){let o=[(a=n?.offsetHeight||10,a===void 0&&(a=0),{name:`offset`,options:a,async fn(e){var t;let{x:n,y:r,placement:i,middlewareData:o}=e,s=await async function(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Pd(n),s=Fd(n),c=Rd(n)===`y`,l=Xd.has(o)?-1:1,u=a&&c?-1:1,d=Nd(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?-1*m:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}(e,a);return i===o.offset?.placement&&(t=o.arrow)!=null&&t.alignmentOffset?{}:{x:n+s.x,y:r+s.y,data:{...s,placement:i}}}}),zf(),Rf()];n&&o.push((e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Nd(e,t)||{};if(l==null)return{};let d=Kd(u),f={x:n,y:r},p=zd(i),m=Ld(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;C&&await(o.isElement==null?void 0:o.isElement(S))||(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Ed(d[_],T),ee=Ed(d[v],T),te=C-h[m]-ee,ne=C/2-h[m]/2+w,re=Md(E,ne,te),ie=!c.arrow&&Fd(i)!=null&&ne!==re&&a.reference[m]/2-(ne<E?E:ee)-h[m]/2<0,ae=ie?ne<E?ne-E:ne-te:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:ne-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}}))({element:n}));let{x:s,y:c,middlewareData:l,placement:u}=await((e,t,n)=>{let r=new Map,i=n??{},a={...Ff,...i.platform,_c:r};return(async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Yd},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Jd(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<50&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=!0===x.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Jd(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}})(e,t,{...i,platform:a})})(t,e,{placement:r,middleware:o,strategy:`fixed`});Object.assign(e.style,{left:`${s}px`,top:`${c}px`,visibility:`visible`}),n&&(l.arrow?.x?Object.assign(n.style,{left:`${l.arrow.x}px`,top:u===`bottom`?-n.offsetHeight/2+`px`:``,bottom:u===`top`?-n.offsetHeight/2+`px`:``}):(i=l.arrow)!=null&&i.y&&Object.assign(n.style,{left:u===`right`?-n.offsetWidth/2+`px`:``,right:u===`left`?-n.offsetWidth/2+`px`:``,top:`${l.arrow.y}px`}))}},Vf=new Set,Hf=null,Uf=class{constructor(e,t){this.setState=e.setState,this.getState=e.getState,this.renderProps=cl(t)}setRenderProp(e,t){this.renderProps[e]=t}getRenderProp(e){return this.renderProps[e]}},Wf={required:[fl],optional:[wd,Td,ed]},Gf=class extends Uf{constructor(e){super(e,Wf),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=e=>{this.tooltipElement=e,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=e=>{e.key===`Escape`&&(e.stopPropagation(),e.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{let e=this.isNewVisit();this.hasMouseIn=!0,e&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{let e=this.isNewVisit();this.hasFocusIn=!0,e&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(e){this.watchLabel(e.label),this.watchAlign(e.align),this.watchBadgeText(e.badgeText),this.watchId(e.id)}watchLabel(e){fl.apply(e||void 0,(e=>{this.setRenderProp(`label`,e)}))}watchAlign(e){wd.apply(e,(e=>{this.setRenderProp(`align`,e)}))}watchBadgeText(e){Td.apply(e,(e=>{this.setRenderProp(`badgeText`,e)}))}watchId(e){ed.apply(e,(e=>{this.setRenderProp(`id`,e)}))}initContext(e){this.previousSibling=e}syncListeners(e,t,n=!1){e&&this.removeListeners(e),t&&(n&&(this.previousSibling=t),this.removeListeners(t),this.addListeners(t))}handleEventListeners(e){this.syncListeners(this.previousSibling,e.previousElementSibling,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(function(e){if(Vf.delete(e)&&Hf===e){Hf=null;for(let e of Vf)Hf=e;Hf&&Hf.style.setProperty(`z-index`,`1000`)}}(this.tooltipElement),mo(),this.tooltipElement.classList.remove(`show`),this.tooltipElement.classList.add(`hide`),this.tooltipElement.addEventListener(`animationend`,(()=>{var e;(e=this.tooltipElement)!=null&&e.classList.contains(`hide`)&&this.tooltipElement.style.removeProperty(`display`)}),{once:!0}),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0)),Ti().removeEventListener(`keydown`,this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&=(this.removeListeners(this.previousSibling),void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0),Ti().removeEventListener(`keydown`,this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await Bf({align:this.getRenderProp(`align`),arrowElement:this.tooltipElement.querySelector(`.kol-tooltip__arrow`),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}showTooltip(){var e;!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement&&(Hf!==(e=this.tooltipElement)&&(Hf&&Hf.style.setProperty(`z-index`,`999`),Vf.delete(e),Vf.add(e),e.style.setProperty(`z-index`,`1000`),Hf=e),po(),this.tooltipElement.classList.remove(`hide`),this.tooltipElement.classList.add(`show`),this.tooltipElement.style.setProperty(`display`,`block`),Ti().addEventListener(`keydown`,this.hideTooltipByEscape),this.cleanupAutoPositioning=Lf(this.previousSibling,this.tooltipElement,(()=>{this.alignTooltip()})))}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()}),300)}addListeners(e){e.addEventListener(`mouseover`,this.handleMouseEnter),e.addEventListener(`mouseout`,this.handleMouseLeave),e.addEventListener(`focusin`,this.handleFocusIn),e.addEventListener(`focusout`,this.handleFocusOut)}removeListeners(e){e.removeEventListener(`mouseover`,this.handleMouseEnter),e.removeEventListener(`mouseout`,this.handleMouseLeave),e.removeEventListener(`focusin`,this.handleFocusIn),e.removeEventListener(`focusout`,this.handleFocusOut)}},Kf=[`default`,`info`,`success`,`warning`,`error`],qf=[`card`,`msg`],Jf=z(`alert`,!1,Pc),Yf=Uc(),Xf=z(`type`,`default`,(e=>{let t=R(e);if(Kf.includes(t))return t;throw Error(`Invalid alert type: `+t)}),(()=>!0)),Zf=z(`variant`,`msg`,(e=>{let t=R(e);if(qf.includes(t))return t;throw Error(`Invalid alert variant: `+t)}),(()=>!0)),Qf={optional:[Yf,Jf,Xf,Zf,Ou,fl,xl]},$f=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.headingId=W(`alert-heading`),this.closerAriaDescriptionId=W(`closer-description`),this.showAlert=!1,this.translateCloseAlert=G(`kol-close-alert`),this.closerRef=Rl(),this.closerTooltipBehavior=new Gf(this.stateAccess),this.propsConfig=Qf,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type=`default`,this._variant=`msg`,this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=e=>{var t,n;e.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),(n=(t=this.getRenderProp(`on`)).onClose)==null||n.call(t,new Event(`Close`)),this.host&&I(this.host,F.close)}}watchAlert(e){Jf.apply(e,(e=>{this.showAlert=e,this.syncAlertEffects(e)}))}watchHasCloser(e){Ou.apply(e,(e=>this.setRenderProp(`hasCloser`,e)))}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){Yf.apply(e,(e=>this.setRenderProp(`on`,e)))}watchType(e){Xf.apply(e,(e=>this.setRenderProp(`type`,e)))}watchVariant(e){Zf.apply(e,(e=>this.setRenderProp(`variant`,e)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(e){if(clearTimeout(this.alertTimeout),e){if(typeof navigator<`u`&&typeof navigator.vibrate==`function`){let e=navigator.userActivation;if((e?.isActive||e?.hasBeenActive)&&matchMedia(`(any-pointer: coarse)`).matches)try{navigator.vibrate([100,75,100,75,100])}catch{}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return A(j,{key:`246302acfed34f83cf1cb1d1b4f62b864eb6db15`},A(Cd,{key:`dc8edb4ce66b4a7b721671815385907b22b2329e`,alert:this.showAlert,handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp(`hasCloser`),headingId:this.headingId,label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp(`type`),variant:this.getRenderProp(`variant`)},A(`slot`,{key:`049ab132e829ea4da883153e69f67dbcb7cc8433`})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }`}}},[801,`kol-alert`,{_alert:[4],_hasCloser:[4,`_has-closer`],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32],showAlert:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),ep=$f,tp=function(){typeof customElements<`u`&&[`kol-alert`].forEach((e=>{e===`kol-alert`&&(customElements.get(N(e))||customElements.define(N(e),$f))}))},np=(e,t,n,r=1)=>{let i=[Math.max(Math.min(Math.round(t[0]+r*Math.max(1,t[0]/100)),255),0),Math.max(Math.min(Math.round(t[1]+r*Math.max(1,t[1]/100)),255),0),Math.max(Math.min(Math.round(t[2]+r*Math.max(1,t[2]/100)),255),0)],a=wa(ya.hex(`rgba(${e.join(`,`)},1)`),ya.hex(`rgba(${i.join(`,`)},1)`)),o=i[0]+i[1]+i[2];return o===0||o===765||a>n?{background:e,foreground:i,contrast:a}:np(e,i,n,r)},rp=(e,t=7)=>{let n=[0,0,0,1],r=[255,255,255,1];typeof e==`string`?(n=Wc(e),r=n):typeof e==`object`&&e&&typeof e.background==`string`&&typeof e.foreground==`string`&&(n=Wc(e.background),r=typeof e.foreground==`string`?Wc(e.foreground):n);let i=((e,t,n)=>{let r=(299*e[0]+587*e[1]+114*e[2])/1e3>=128?-1:1,i=np(e,t,n,r);if(i.contrast>=n)return i;let a=np(e,t,n,-r);return a.contrast>i.contrast?a:i})([n[0],n[1],n[2]],[r[0],r[1],r[2]],t);return r=[...i.foreground,1],{background:ya.hex(`rgba(${n.join(`,`)})`),foreground:ya.hex(`rgba(${r.join(`,`)})`),contrast:i.contrast}},ip=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function ap(e){return ip.test(e)}var op=z(`color`,{backgroundColor:`#d3d3d3`,foregroundColor:`#3f3f3f`},(function(e){if(typeof e==`string`&&ap(e)){let t=rp(e);return{backgroundColor:t.background,foregroundColor:t.foreground}}let t=typeof e==`string`?Aa(e):e;if(Array.isArray(t)){let[e,n]=t;if(typeof e==`string`&&typeof n==`string`&&ap(e)&&ap(n)){let t=rp({background:e,foreground:n});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if(typeof t==`object`&&t){let e=t;if(typeof e.backgroundColor==`string`&&typeof e.foregroundColor==`string`&&ap(e.backgroundColor)&&ap(e.foregroundColor)){let t=rp({background:e.backgroundColor,foreground:e.foregroundColor});return{backgroundColor:t.background,foregroundColor:t.foreground}}}throw Error(`Invalid color ${e}`)}),(function(e){return ap(e.foregroundColor)&&ap(e.backgroundColor)})),sp=z(`label`,void 0,R,ju,{hints:dl}),cp=z(`src`,``,R),lp={optional:[op,cp],required:[sp]},up=P.forBlock(`kol-avatar`),dp=up(`image`),fp=up(`initials`),pp=e=>{let{color:t,initials:n,label:r,src:i}=ll(lp,e);return A(sl,{"aria-label":G(`kol-avatar-alt`,{placeholders:{name:Tc(r)}}),block:`kol-avatar`,role:`img`,style:{backgroundColor:t.backgroundColor,color:t.foregroundColor}},i?A(`img`,{alt:``,"aria-hidden":`true`,class:dp,src:i}):A(`span`,{"aria-hidden":`true`,class:fp},n))},mp=e=>e.length===0?``:e[0].toUpperCase(),hp=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.initials=``,this.propsConfig=lp,this._color=void 0,this._src=void 0}watchColor(e){op.apply(e,(e=>this.setRenderProp(`color`,e)))}watchLabel(e){sp.apply(e,(e=>{this.setRenderProp(`label`,e),this.setState(`initials`,(e=>{let t=Tc(e),n=t.split(/\s+/),r=n[0],i=n[n.length-1];return n.length>=2&&r&&i?`${mp(r)}${mp(i)}`:mp(t)})(e))}),this.isRequired(`label`))}watchSrc(e){cp.apply(e,(e=>this.setRenderProp(`src`,e)))}componentWillLoad(){this.watchColor(this._color),this.watchLabel(this._label),this.watchSrc(this._src)}render(){return A(j,{key:`5493cb40531ef6788d2b018995affad25b915d27`},A(pp,{key:`57331dd677d7470465bbdacc4e3c11f492b6f365`,color:this.getRenderProp(`color`),label:this.getRenderProp(`label`),src:this.getRenderProp(`src`),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @layer kol-component { :host { display: flex; width: calc(100 * 1rem / var(--kolibri-root-font-size, 16)); aspect-ratio: 1; align-items: center; justify-content: center; container-type: size; } .kol-avatar, .kol-avatar__image, .kol-avatar__initials { border-radius: 50%; } .kol-avatar { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; width: max(100cqw, 100cqh); height: max(100cqw, 100cqh); flex-shrink: 0; container-type: size; } .kol-avatar__initials { background-color: inherit; margin: auto; font-size: 40cqh; } }`}}},[545,`kol-avatar`,{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}]),gp=hp,_p=function(){typeof customElements<`u`&&[`kol-avatar`].forEach((e=>{e===`kol-avatar`&&(customElements.get(N(e))||customElements.define(N(e),hp))}))},vp=z(`smartButton`,{_label:``},(function(e){let t=typeof e==`string`?Aa(e):e;if(typeof t==`object`&&t)return t;throw Error(`Invalid smart button: `+typeof e)})),yp=P.forBlock(`kol-badge`),bp=yp(`label`),xp=yp(`smart-button`),Sp=({color:e,icons:t,label:n,smartButton:r})=>A(sl,{block:`kol-badge`,modifiers:{"has-smart-button":r!==void 0},style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},A(pu,{class:bp,id:r?.labelId,allowMarkdown:!0,icons:t,label:n}),r&&A(md,Object.assign({},r.resolvedButton,{class:xp,ariaDescriptionId:r.ariaDescriptionId,handleBlur:r.handleBlur,handleClick:r.handleClick,handleFocus:r.handleFocus,handleMouseDown:r.handleMouseDown,refButton:r.refSmartButton,refTooltip:r.refTooltip})),A(`br`,null));function Cp(e,t){var n,r,i;let a=cl(ld),o=e=>t=>{a[e]=t};return td.apply(e._label,o(`label`)),Iu.apply(e._accessKey,o(`accessKey`)),Ru.apply(e._ariaControls,o(`ariaControls`)),zu.apply(e._ariaDescription,o(`ariaDescription`)),Bu.apply(e._ariaExpanded,o(`ariaExpanded`)),id.apply(e._ariaSelected,o(`ariaSelected`)),ad.apply(e._on,o(`on`)),sd.apply(e._type??`button`,o(`type`)),Vu.apply(e._customClass,o(`customClass`)),Sl.apply((n=e._disabled)!=null&&n,o(`disabled`)),Hu.apply((r=e._hideLabel)!=null&&r,o(`hideLabel`)),ed.apply(e._id,o(`id`)),Uu.apply((i=e._inline)!=null&&i,o(`inline`)),Gu.apply(e._role,o(`role`)),cd.apply(e._name,o(`name`)),Ku.apply(e._shortKey,o(`shortKey`)),qu.apply(e._icons,o(`icons`)),Yu.apply(e._tooltipAlign??`top`,o(`tooltipAlign`)),typeof e._tabIndex==`number`?Ju.apply(e._tabIndex,o(`tabIndex`)):a.tabIndex=void 0,Xu.apply(e._variant??ti(`buttonVariantDefault`,t)??`normal`,o(`variant`)),a}var wp={required:[td],optional:[op,vp,qu]};$i(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);var Tp=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.labelId=W(`badge-label`),this.ariaDescriptionId=W(`aria-description`),this.ctaRef=Rl(),this.tooltipBehavior=new Gf(this.stateAccess),this.propsConfig=wp,this._color=`#000`,this._icons=void 0,this._smartButton=void 0,this.handleClick=e=>{e.stopPropagation(),this.tooltipBehavior.hideTooltip();let t=this.smartButtonProps?.on.onClick;typeof t==`function`&&(Da(e,this.ctaRef.el),t(e,void 0)),this.host&&I(this.host,F.click)},this.handleMouseDown=e=>{var t,n,r;(r=(t=this.smartButtonProps)==null?void 0:(n=t.on).onMouseDown)==null||r.call(n,e),this.host&&I(this.host,F.mousedown)},this.handleFocus=e=>{var t,n,r;(r=(t=this.smartButtonProps)==null?void 0:(n=t.on).onFocus)==null||r.call(n,e),this.host&&I(this.host,F.focus)},this.handleBlur=e=>{var t,n,r;(r=(t=this.smartButtonProps)==null?void 0:(n=t.on).onBlur)==null||r.call(n,e),this.host&&I(this.host,F.blur)}}watchColor(e){op.apply(e,(e=>this.setRenderProp(`color`,e)))}watchIcons(e){qu.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchLabel(e){td.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchSmartButton(e){this.applySmartButton(e)}focus(e){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(e){Ea(e,(()=>{this.unsetRenderProp(`smartButton`),this.smartButtonProps=void 0,e!=null&&vp.apply(e,(e=>{this.setRenderProp(`smartButton`,e),this.smartButtonProps=Cp(Object.assign(Object.assign({},e),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){let e=this.getRenderProp(`smartButton`),t=this.smartButtonProps;return A(j,{key:`10b32c486634e6f991181d31ca6b3896c4d5958a`},A(Sp,{key:`e0af2cd96456972a7c9725b4f8704453373c986b`,color:this.getRenderProp(`color`),icons:this.getRenderProp(`icons`),label:this.getRenderProp(`label`),smartButton:typeof e==`object`&&e&&t!==void 0?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:t}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }`}}},[545,`kol-badge`,{_color:[1],_icons:[1],_label:[1],_smartButton:[1,`_smart-button`],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);function Ep(){typeof customElements<`u`&&[`kol-badge`].forEach((e=>{e===`kol-badge`&&(customElements.get(N(e))||customElements.define(N(e),Tp))}))}yl([H(`ctaRef`)],Tp.prototype,`focus`,null);var Dp=Tp,Op=Ep;function kp(e){return z(`links`,[],(e=>Rc(e)),(e=>e.every((e=>typeof e==`object`&&!!e&&(typeof e._href==`string`||typeof e._label==`string`)))),{hints:(t,n)=>ra(e,n.length)})}var Ap=z(`href`,``,R,(e=>typeof e==`string`)),jp=z(`target`,``,R),Mp=[`date`,`location`,`page`,`step`,`time`,`true`,`false`],Np=z(`ariaCurrentValue`,`page`,(function(e){let t=R(e);return Mp.includes(t)?t:`page`})),Pp=z(`ariaOwns`,``,R),Fp=z(`download`,void 0,R),Ip=Uc(),Lp={required:[Ap],optional:[Iu,Ru,Np,zu,Bu,Pp,Vu,Sl,Fp,Hu,Uu,td,Ip,Gu,jp,Ku,qu,Ju,Yu,Xu]},Rp=P.forBlock(`kol-link`),zp=(e,t)=>{let{accessKey:n,ariaControls:r,ariaCurrent:i,ariaDescription:a,ariaDescriptionId:o,ariaExpanded:s,ariaOwns:c,class:l,customClass:u,disabled:d,download:f,handleAnchorClick:p,hideLabel:m,href:h,icons:g,inline:_,label:v,on:y,ref:b,refAnchor:x,refTooltip:S,role:C,shortKey:w,tabIndex:T,target:E,variant:ee,expertSlot:te}=ll(Lp,e),ne=G(`kol-open-link-in-tab`),re=typeof E==`string`&&E.length>0&&E!==`_self`,ie={href:typeof h==`string`&&h.length>0?h:`javascript:void(0);`,target:typeof E==`string`&&E.length>0?E:void 0,rel:re?`noopener`:void 0,download:typeof f==`string`?f:void 0};!0===m&&Tc(v)===``&&Xi(`[KolLink] An aria-label must be set when _hide-label is set.`);let ae=a?.trim(),oe=C||void 0;return A(sl,{block:`kol-link`,ref:b,class:B(l,{[u]:ee.includes(`custom`)&&u.length>0,[Fu(ee,`link`)]:ee.length>0}),modifiers:{disabled:!0===d,"external-link":re,"hide-label":!0===m,inline:!0===_,standalone:!1===_}},A(`a`,Object.assign({ref:x},ie,{href:ie.href,accessKey:n||void 0,"aria-current":i||void 0,"aria-controls":r||void 0,"aria-describedby":ae?o:void 0,"aria-disabled":d?`true`:void 0,"aria-expanded":s===``?void 0:s,"aria-owns":c||void 0,"aria-label":m&&Tc(v)!==``?`${Tc(v)}${re?` (${ne})`:``}`:void 0,"aria-keyshortcuts":w||void 0,class:Rp(`interactive-element`)},y,{onClick:p,onMouseDown:d?zl:void 0,role:oe,tabIndex:d?-1:T}),A(pu,{class:`kol-link__text`,badgeText:n||w,icons:g,hideLabel:m,label:te?``:v||h},t.length>0?t:A(`slot`,{name:`expert`,slot:`expert`})),re&&A(Ul,{class:`kol-link__icon`,label:m?``:ne,icons:`kolicon-link-external`,"aria-hidden":m})),!0===m&&!te&&A(`div`,{class:Rp(`tooltip`)},A($u,{badgeText:n||w||``,label:Tc(v)===``?typeof h==`string`?h:``:v,refFloating:S})),ae&&A(Zu,{description:ae,descriptionId:o}))},Bp=(e,t)=>{if(e&&t)throw Error(`AccessKey and ShortKey are used. Only one is allowed.`)},Vp=new Set;function Hp(e){let t=Tc(e);Vp.has(t)?Wi.warn(`There already is a nav element with the label "${t}"`):Vp.add(t)}function Up(e){let t=Tc(e);Vp.delete(t)}var Wp=kp(`KolBreadcrumb`),Gp={required:[Wp,sp]},Kp=P.forBlock(`kol-breadcrumb`),qp=Kp(`icon`),Jp=Kp(`link`),Yp=Kp(`list`),Xp=Kp(`list-element`),Zp=Kp(`list-element-span`),Qp=Kp(`separator`),$p=({label:e,linkItems:t,showCurrentPage:n})=>{let r=t.length-1;return A(sl,{component:`nav`,block:`kol-breadcrumb`,"aria-label":e},A(`ul`,{class:Yp},t.length===0&&A(`li`,null,A(Ul,{class:`kol-breadcrumb_icon`,icons:`kolicon-house`,label:``}),`…`),t.map(((e,t)=>((e,t,n,r)=>{let i=r?t!==n:t<n-1;if(t===n&&!r)return A(Ar,null);let{link:a}=e;return A(`li`,{class:Xp,key:t},t===n?A(`span`,{class:Zp,"aria-current":`page`},a._hideLabel?A(Ul,{class:qp,icons:typeof a._icons==`string`?a._icons:`kolicon-link`,label:a._label?Tc(a._label):a._href}):A(Ar,null,fu(a._label))):A(`div`,{class:Jp},A(zp,Object.assign({},e.fcProps))),i&&A(Ul,{class:Qp,icons:`kolicon-chevron-right`,label:``}))})(e,t,r,n)))))},em=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.linkItems=[],this.showCurrentPage=!0,this.propsConfig=Gp}watchLabel(e){this.applyLabel(e)}watchLinks(e){this.applyLinks(e)}componentWillLoad(){this.applyLabel(this._label,!0),this.watchLinks(this._links),this.unsubscribeOnLocationChange=io((e=>{this.linkItems=this.linkItems.map((t=>{var n;let r=e===t.fcProps.href&&(n=t.fcProps.ariaCurrentValue)!=null?n:``;return t.fcProps.ariaCurrent===r?t:Object.assign(Object.assign({},t),{fcProps:Object.assign(Object.assign({},t.fcProps),{ariaCurrent:r})})}))}))}componentDidRender(){this.linkItems.forEach((e=>e.syncTooltipListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&=(this.unsubscribeOnLocationChange(),void 0),this.linkItems.forEach((e=>e.destroy())),Up(this.getRenderProp(`label`))}applyLabel(e,t=!1){t||Up(this.getRenderProp(`label`)),sp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),na(e),Hp(this.getRenderProp(`label`))}applyLinks(e){Wp.apply(e,(e=>{this.setRenderProp(`links`,e),this.linkItems.forEach((e=>e.destroy())),this.linkItems=e.map((e=>((e,t)=>{var n;let r=new Gf(V.stateLess),i=Rl(),a=cl(Lp);a.tabIndex=void 0;let o=(e,t)=>e.apply(t,(t=>{a[e.propName]=t}));return o(Iu,e._accessKey),o(Ru,e._ariaControls),o(Np,e._ariaCurrentValue),o(zu,e._ariaDescription),o(Sl,e._disabled),o(Fp,e._download),o(Hu,e._hideLabel),o(Ap,e._href),o(qu,e._icons),o(Uu,(n=e._inline)!=null&&n),o(td,e._label),o(Ip,e._on),o(Ku,e._shortKey),typeof e._tabIndex==`number`&&o(Ju,e._tabIndex),o(jp,e._target),o(Yu,e._tooltipAlign),Bp(e._accessKey,e._shortKey),r.componentWillLoad({label:(()=>{let e=a.label;if(typeof e==`string`&&e.length>0)return e;let t=a.href;return typeof t==`string`?t:``})(),align:a.tooltipAlign}),a.ariaCurrent=``,a.ariaDescriptionId=W(`aria-description`),a.expertSlot=e._label===``,a.handleAnchorClick=e=>{if(r.hideTooltip(),!0===a.disabled)return void e.preventDefault();let n=typeof a.href==`string`?a.href:``,o=a.on;typeof o?.onClick==`function`&&(Da(e,i.el),o.onClick(e,n));let s=t();s&&I(s,F.click,n)},a.refAnchor=e=>{i(e)},a.refTooltip=r.setTooltipElementRef,{link:e,fcProps:a,syncTooltipListeners:()=>{i.el&&r.syncListeners(void 0,i.el,!0)},destroy:()=>{r.destroy()}}})(e,(()=>this.host))))}))}render(){return this.showCurrentPage=ti(`breadcrumbCurrentPage`,this.host)!==`hide`,A(j,{key:`9cd1f3015e2123e94434bf8971fb6392556c94fe`},A($p,{key:`cb3df5ec4a395eadfa7287a44b2ee3a4792730af`,label:this.getRenderProp(`label`),links:this.getRenderProp(`links`),linkItems:this.linkItems,showCurrentPage:this.showCurrentPage}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-breadcrumb__list, .kol-breadcrumb__list-element { display: flex; margin: 0; padding: 0; flex-wrap: wrap; place-items: center; list-style: none; } .kol-breadcrumb__list-element:first-child:last-child { min-height: var(--a11y-min-size); } }`}}},[545,`kol-breadcrumb`,{_label:[1],_links:[1],linkItems:[32]},void 0,{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),tm=em,nm=function(){typeof customElements<`u`&&[`kol-breadcrumb`].forEach((e=>{e===`kol-breadcrumb`&&(customElements.get(N(e))||customElements.define(N(e),em))}))},rm={optional:[cd,z(`syncValueBySelector`,void 0,R)]},im=new Set([`KOL-COMBOBOX`,`KOL-INPUT-CHECKBOX`,`KOL-INPUT-COLOR`,`KOL-INPUT-DATE`,`KOL-INPUT-EMAIL`,`KOL-INPUT-FILE`,`KOL-INPUT-NUMBER`,`KOL-INPUT-PASSWORD`,`KOL-INPUT-RADIO`,`KOL-INPUT-RANGE`,`KOL-INPUT-TEXT`,`KOL-SELECT`,`KOL-SINGLE-SELECT`,`KOL-TEXTAREA`]),am=class extends Uf{constructor(e,{host:t,type:n,name:r}){super(e,rm),this.experimentalMode=Fi(),this.setFormAssociatedValue=e=>{let t=this.formAssociated?.getAttribute(`name`);t!==null&&t!==``||Xi(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);let n=this.tryToStringifyValue(e);this.syncValue(e,n,this.formAssociated),this.syncValue(e,n,this.syncToOwnInput)},this.host=this.findHostWithShadowRoot(t),this.type=n,this.ensureFormAssociatedElement(r)}ensureFormAssociatedElement(e){var t,n,r;!this.formAssociated&&(t=no())!=null&&t.reflectInputValues&&im.has(this.host?.tagName??``)&&e&&((n=this.host)==null||n.querySelectorAll(`input,select,textarea`).forEach((e=>{var t;(t=this.host)==null||t.removeChild(e)})),this.formAssociated=this.createFormAssociatedElement(),this.formAssociated.setAttribute(`data-form-associated`,``),this.formAssociated.setAttribute(`hidden`,``),this.setNameAttribute(e),(r=this.host)==null||r.appendChild(this.formAssociated))}componentWillLoad(e){this.watchName(e.name),this.watchSyncValueBySelector(e.syncValueBySelector)}watchName(e){cd.apply(e,(e=>{this.setRenderProp(`name`,e),this.setNameAttribute(e)})),e===void 0?Xi(`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`):this.ensureFormAssociatedElement(e)}watchSyncValueBySelector(e){if(this.experimentalMode&&typeof e==`string`){this.setRenderProp(`syncValueBySelector`,e);let t=document.querySelector(e);t&&(this.syncToOwnInput=t)}}setNameAttribute(e){this.setAttribute(`name`,this.formAssociated,e)}createFormAssociatedElement(){switch(this.type){case`color`:case`date`:case`email`:case`file`:case`number`:case`password`:case`radio`:case`range`:case`text`:{let e=document.createElement(N(`input`));return e.setAttribute(`type`,this.type),e}case`select`:{let e=document.createElement(N(`select`));return e.setAttribute(`multiple`,``),e}case`textarea`:return document.createElement(N(`textarea`));default:{let e=document.createElement(N(`input`));return e.setAttribute(`type`,`hidden`),e}}}findHostWithShadowRoot(e){for(;e?.shadowRoot===null&&e!==document.body;){let t=e.parentNode;e=t?.nodeType===11&&`host`in t?t.host:t?.nodeType===1?t:void 0}return e}setAttribute(e,t,n){if(this.experimentalMode)try{if(typeof(n=typeof n==`object`&&n?JSON.stringify(n):n)!=`boolean`&&typeof n!=`number`&&typeof n!=`string`)throw Error(`Invalid value type: `+typeof n);t?.setAttribute(e,`${n}`)}catch{t?.removeAttribute(e)}}tryToStringifyValue(e){try{return typeof e==`object`&&e?JSON.stringify(e).toString():e==null?null:e.toString()}catch(e){return Zi(`The form field raw value is not able to stringify! ${e}`),``}}syncValue(e,t,n){if(n)switch(this.type){case`file`:typeof FileList<`u`&&e instanceof FileList?n.files=e:n.value=``;break;case`select`:n.tagName===`SELECT`?this.syncSelectOptions(e,n):this.syncValueAttribute(t,n);break;case`radio`:typeof t==`string`&&(n.setAttribute(`value`,t),n.setAttribute(`checked`,``),n.value=t);break;default:this.syncValueAttribute(t,n)}}syncSelectOptions(e,t){t.querySelectorAll(`option`).forEach((e=>{t.removeChild(e)})),(Array.isArray(e)?e:e==null?[]:[e]).forEach((e=>{let n=this.tryToStringifyValue(e);if(typeof n==`string`){let e=document.createElement(N(`option`));e.setAttribute(`value`,n),e.setAttribute(`selected`,``),t.appendChild(e)}}))}syncValueAttribute(e,t){typeof e==`string`?(t.setAttribute(`value`,e),t.value=e):(t.removeAttribute(`value`),t.value=``)}},om=e=>{for(Fi()&&(Xi(`↓ Search form element start.`),Wi.debug(e));e instanceof HTMLElement&&e.tagName!==`FORM`&&e.tagName!==N(`kol-form`).toUpperCase();){try{e=e.parentElement instanceof HTMLElement?e.parentElement:e.parentNode instanceof ShadowRoot?e.parentNode.host:null}catch{}Fi()&&Wi.debug(e)}return Fi()&&Xi(`↑ Search form element finished.`),e},sm=(e={})=>{let t=om(e.form);if(t instanceof HTMLElement){let e=new Event(`reset`,{bubbles:!0,cancelable:!0});if(t.tagName===`FORM`)Da(e,t),t.dispatchEvent(e);else if(t.tagName===N(`kol-form`).toUpperCase()){let n=Ba.querySelector(`form`,t);n&&(Da(e,n),n.dispatchEvent(e))}}},cm=(e={})=>{let t=e.shouldSubmit??(()=>!0),n=om(e.form);if(n instanceof HTMLElement){let e=new SubmitEvent(`submit`,{bubbles:!0,cancelable:!0,submitter:n});if(n.tagName===`FORM`)Fi()&&!1===n.noValidate&&Xi(`If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.`,{force:!0}),setTimeout((()=>{t()&&(typeof n.requestSubmit==`function`?n.requestSubmit():(Da(e,n),n.dispatchEvent(e)))}));else if(n.tagName===N(`kol-form`).toUpperCase()){let r=Ba.querySelector(`form`,n);r&&(Da(e,r),setTimeout((()=>{t()&&r.dispatchEvent(e)})))}}},lm=(e,t)=>{e.code!==`Enter`&&e.code!==`NumpadEnter`||e.isComposing||cm(Object.assign(Object.assign({},t),{shouldSubmit:()=>!e.defaultPrevented&&!(e=>{var t;try{return(t=e?.matches(`:open`))!=null&&t}catch{return!1}})(t.ref)}))},um=class extends V{constructor(){super(...arguments),this.ctaRef=Rl(),this.propsConfig=ld,this.tooltipBehavior=new Gf(this.stateAccess),this.handleClick=e=>{e.stopPropagation(),this.tooltipBehavior.hideTooltip();let t=this.getRenderProp(`type`);if(t===`submit`)cm({form:this.host});else if(t===`reset`)sm({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);let t=this.getRenderProp(`on`).onClick;typeof t==`function`&&(Da(e,this.ctaRef.el),t(e,this.formValue))}this.host&&I(this.host,F.click,this.formValue)},this.handleMouseDown=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onMouseDown)==null||n.call(t,e),this.host&&I(this.host,F.mousedown)},this.handleFocus=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onFocus)==null||n.call(t,e),this.host&&I(this.host,F.focus)},this.handleBlur=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onBlur)==null||n.call(t,e),this.host&&I(this.host,F.blur)}}initFormAssociation(){this.formAssociation=new am(V.stateLess,{host:this.host,type:`button`})}unsetButtonTabIndex(){this.unsetRenderProp(`tabIndex`)}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp(`label`),align:this.getRenderProp(`tooltipAlign`)})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(e,t){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,t)}applyAriaControls(e){Ru.apply(e,(e=>this.setRenderProp(`ariaControls`,e)))}applyAriaDescription(e){zu.apply(e,(e=>this.setRenderProp(`ariaDescription`,e)))}applyAriaExpanded(e){Bu.apply(e,(e=>this.setRenderProp(`ariaExpanded`,e)))}applyAriaHasPopup(e){rd.apply(e,(e=>this.setRenderProp(`ariaHasPopup`,e)))}applyAriaSelected(e){id.apply(e,(e=>this.setRenderProp(`ariaSelected`,e)))}applyCustomClass(e){Vu.apply(e,(e=>this.setRenderProp(`customClass`,e)))}applyDisabled(e){Sl.apply(e,(e=>this.setRenderProp(`disabled`,e)))}applyHideLabel(e){Hu.apply(e,(e=>this.setRenderProp(`hideLabel`,e)))}applyIcons(e){qu.apply(e,(e=>this.setRenderProp(`icons`,e)))}applyId(e){ed.apply(e,(e=>this.setRenderProp(`id`,e)))}applyInline(e){Uu.apply(e,(e=>this.setRenderProp(`inline`,e)))}applyLabel(e){td.apply(e,(e=>{this.setRenderProp(`label`,e),this.tooltipBehavior.watchLabel(e)}),this.isRequired(`label`))}applyName(e){cd.apply(e,(e=>this.setRenderProp(`name`,e))),this.formAssociation.watchName(e)}applyOn(e){ad.apply(e,(e=>this.setRenderProp(`on`,e)))}applyRole(e){Gu.apply(e,(e=>this.setRenderProp(`role`,e)))}applyShortKey(e,t){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(t,e)}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTabIndex(e){typeof e==`number`?Ju.apply(e,(e=>this.setRenderProp(`tabIndex`,e))):this.unsetRenderProp(`tabIndex`)}applyTooltipAlign(e){Yu.apply(e??`top`,(e=>{this.setRenderProp(`tooltipAlign`,e),this.tooltipBehavior.watchAlign(e)}))}applyType(e){sd.apply(e,(e=>this.setRenderProp(`type`,e)))}applyValue(e){this.formValue=e,this.formAssociation.setFormAssociatedValue(e)}applyVariant(e){Xu.apply(e??ti(`buttonVariantDefault`,this.host)??`normal`,(e=>this.setRenderProp(`variant`,e)))}getButtonFCProps(){return{accessKey:this.getRenderProp(`accessKey`),ariaControls:this.getRenderProp(`ariaControls`),ariaDescription:this.getRenderProp(`ariaDescription`),ariaDescriptionId:this.getState(`ariaDescriptionId`),ariaExpanded:this.getRenderProp(`ariaExpanded`),ariaHasPopup:this.getRenderProp(`ariaHasPopup`),ariaSelected:this.getRenderProp(`ariaSelected`),customClass:this.getRenderProp(`customClass`),disabled:this.getRenderProp(`disabled`),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp(`hideLabel`),icons:this.getRenderProp(`icons`),id:this.getRenderProp(`id`),inline:this.getRenderProp(`inline`),label:this.getRenderProp(`label`),name:this.getRenderProp(`name`),on:this.getRenderProp(`on`),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp(`role`),shortKey:this.getRenderProp(`shortKey`),tabIndex:this.getRenderProp(`tabIndex`),tooltipAlign:this.getRenderProp(`tooltipAlign`),type:this.getRenderProp(`type`),variant:this.getRenderProp(`variant`)}}renderButtonFC(){return A(md,Object.assign({},this.getButtonFCProps()))}},dm=M(class extends um{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=W(`aria-description`),this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._type=`button`,this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchAriaSelected(e){this.applyAriaSelected(e)}watchCustomClass(e){this.applyCustomClass(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRole(e){this.applyRole(e)}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchRole(this._role),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}render(){return A(j,{key:`2b1bf43b2a18f7527d102b6b0f65914a2ac7bee5`},this.renderButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } }`}}},[545,`kol-button`,{_accessKey:[1,`_access-key`],_ariaControls:[1,`_aria-controls`],_ariaDescription:[1,`_aria-description`],_ariaExpanded:[4,`_aria-expanded`],_ariaSelected:[4,`_aria-selected`],_customClass:[1,`_custom-class`],_disabled:[4],_hideLabel:[4,`_hide-label`],_icons:[1],_inline:[4],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);function fm(){typeof customElements<`u`&&[`kol-button`].forEach((e=>{e===`kol-button`&&(customElements.get(N(e))||customElements.define(N(e),dm))}))}yl([H(`ctaRef`)],dm.prototype,`focus`,null),yl([U(`ctaRef`)],dm.prototype,`click`,null);var pm=dm,mm=fm,hm=M(class extends um{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=W(`aria-description`),this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._type=`button`,this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchAriaSelected(e){this.applyAriaSelected(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRole(){}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}render(){return A(j,{key:`17e39013a520e56954707b93aac270769d483214`},this.renderButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: inline-flex; max-width: fit-content; } .kol-button--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-button--standalone .kol-button__interactive-element { align-items: stretch; } .kol-button--standalone .kol-button__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-button__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-button__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-button__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-button .kol-span__label { text-decoration-line: underline; } .kol-button__icon { display: inline-flex; } .kol-button--inline { min-width: unset; min-height: unset; } .kol-button--inline .kol-button__interactive-element { min-width: unset; min-height: unset; } }`}}},[545,`kol-button-link`,{_accessKey:[1,`_access-key`],_ariaControls:[1,`_aria-controls`],_ariaDescription:[1,`_aria-description`],_ariaExpanded:[4,`_aria-expanded`],_ariaSelected:[4,`_aria-selected`],_disabled:[4],_hideLabel:[4,`_hide-label`],_icons:[1],_inline:[4],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],hm.prototype,`focus`,null),yl([U(`ctaRef`)],hm.prototype,`click`,null);var gm=hm,_m=function(){typeof customElements<`u`&&[`kol-button-link`].forEach((e=>{e===`kol-button-link`&&(customElements.get(N(e))||customElements.define(N(e),hm))}))},vm=Uc(),ym={required:[fl],optional:[vm,Ou,Ap,xl,jp]};function bm(e){return Cp({_hideLabel:!0,_icons:{left:{icon:`kolicon-cross`}},_label:G(`kol-close`),_tooltipAlign:`top`},e)}var xm=P.forBlock(`kol-card`),Sm=xm(`close-button`),Cm=xm(`content`),wm=xm(`header`),Tm=xm(`link`),Em=P.forBlock(`kol-close-button`)(),Dm=()=>{},Om=({headingId:e,label:t,level:n})=>A(Ol,{class:wm,id:e,level:n},fu(t)),km=(e,t)=>{let{ariaDescriptionId:n,class:r,closeButtonProps:i,handleBlur:a,handleClose:o,handleFocus:s,hasCloser:c,headingId:l,href:u,label:d,level:f,refCloseButton:p,refCta:m,refTooltip:h,target:g}=ll(ym,e);return A(sl,{component:`article`,"aria-labelledby":l,block:`kol-card`,class:r},u.length>0?A(`a`,{class:Tm,href:u,target:g||void 0,onBlur:a,onFocus:s,ref:m},A(Om,{headingId:l,label:d,level:f})):A(Om,{headingId:l,label:d,level:f}),A(`div`,{class:Cm},t),c&&A(`div`,{class:B(Sm,Em)},A(md,Object.assign({},i,{ariaDescriptionId:n,handleBlur:Dm,handleClick:o,handleFocus:Dm,handleMouseDown:Dm,refButton:p,refTooltip:h}))))},Am=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=W(`aria-description`),this.headingId=W(`card-heading`),this.ctaRef=Rl(),this.closeButtonRef=Rl(),this.tooltipBehavior=new Gf(this.stateAccess),this.propsConfig=ym,this._hasCloser=!1,this._href=void 0,this._level=0,this._on=void 0,this._target=void 0,this.handleClose=()=>{var e,t;this.tooltipBehavior.hideTooltip(),(t=(e=this.getRenderProp(`on`)).onClose)==null||t.call(e,new Event(`Close`)),this.host&&I(this.host,F.close)},this.handleFocus=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onFocus)==null||n.call(t,e),this.host&&I(this.host,F.focus)},this.handleBlur=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onBlur)==null||n.call(t,e),this.host&&I(this.host,F.blur)}}watchHasCloser(e){Ou.apply(e,(e=>this.setRenderProp(`hasCloser`,e)))}watchHref(e){Ap.apply(e,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`))}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){vm.apply(e,(e=>this.setRenderProp(`on`,e)))}watchTarget(e){jp.apply(e,(e=>this.setRenderProp(`target`,e)))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.closeButtonProps=bm(this.host),this.tooltipBehavior.componentWillLoad({label:this.closeButtonProps.label,align:this.closeButtonProps.tooltipAlign}),this.watchHasCloser(this._hasCloser),this.watchHref(this._href),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchTarget(this._target)}componentDidRender(){this.closeButtonRef.el&&this.tooltipBehavior.syncListeners(void 0,this.closeButtonRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}render(){return A(j,{key:`811746c0b6fef18d57af3cde07dcf25f7e0b0210`},A(km,{key:`e23f4d7e001a2ca052f75230f139a84dc0a0a0ee`,ariaDescriptionId:this.getState(`ariaDescriptionId`),closeButtonProps:this.closeButtonProps,handleBlur:this.handleBlur,handleClose:this.handleClose,handleFocus:this.handleFocus,hasCloser:this.getRenderProp(`hasCloser`),headingId:this.getState(`headingId`),href:this.getRenderProp(`href`),label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),on:this.getRenderProp(`on`),refCloseButton:this.closeButtonRef,refCta:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,target:this.getRenderProp(`target`)},A(`slot`,{key:`cc8faa2c63bd27c21dbb54beda275c7d62cb5532`})))}get host(){return this}static get watchers(){return{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } }`}}},[801,`kol-card`,{_hasCloser:[4,`_has-closer`],_href:[1],_label:[1],_level:[2],_on:[16],_target:[1],ariaDescriptionId:[32],headingId:[32],focus:[64],click:[64]},void 0,{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}]);yl([H(`ctaRef`)],Am.prototype,`focus`,null),yl([U(`ctaRef`)],Am.prototype,`click`,null);var jm=Am,Mm=function(){typeof customElements<`u`&&[`kol-card`].forEach((e=>{e===`kol-card`&&(customElements.get(N(e))||customElements.define(N(e),Am))}))},Nm=e=>{let t=new Gf(V.stateLess),n=Rl(),r=W(`aria-description`),i,a,o,s=(e,t)=>{o&&I(o,e,t)},c=e=>{if(e.stopPropagation(),t.hideTooltip(),i?.type===`submit`)cm({form:o});else if(i?.type===`reset`)sm({form:o});else{let t=i?.on.onClick;typeof t==`function`&&(Da(e,n.el),t(e,a))}s(F.click,a)},l=e=>{var t,n;(n=i==null?void 0:(t=i.on).onMouseDown)==null||n.call(t,e),s(F.mousedown)},u=e=>{var t,n;(n=i==null?void 0:(t=i.on).onFocus)==null||n.call(t,e),s(F.focus)},d=e=>{var t,n;(n=i==null?void 0:(t=i.on).onBlur)==null||n.call(t,e),s(F.blur)},f=e=>{e&&(o=e)};return{getFcProps:(o,s)=>(i=Cp(o,e()),a=o._value,t.componentWillLoad({label:i.label,align:i.tooltipAlign}),Object.assign(Object.assign(Object.assign({},i),s),{ariaDescriptionId:r,handleBlur:d,handleClick:c,handleFocus:u,handleMouseDown:l,ref:f,refButton:n,refTooltip:t.setTooltipElementRef})),getElement:()=>n.el,getRootElement:()=>o,syncListeners:()=>{n.el&&t.syncListeners(void 0,n.el,!0)},destroy:()=>{t.destroy()}}},Pm=Lu(`popoverAlign`,`bottom`),Fm=P.forBlock(`kol-popover`),Im=(e,t)=>{let{align:n=`bottom`,popoverRef:r,arrowRef:i,class:a}=e,o=vl(e,[`align`,`popoverRef`,`arrowRef`,`class`]);return A(`div`,Object.assign({},o,{class:B(Fm(),a),ref:r,popover:`auto`}),A(`div`,{class:B(Fm(`arrow`),Fm(`arrow`,{[n]:!0})),ref:i}),t.length>0?t:A(`slot`,null))},Lm=(e,t)=>{let{accessKey:n,ariaDescription:r,ariaDescriptionId:i,ariaHasPopup:a,ariaSelected:o,customClass:s,disabled:c,handleBlur:l,handleClick:u,handleFocus:d,handleMouseDown:f,hideLabel:p,icons:m,id:h,inline:g,label:_,name:v,on:y,popoverAlign:b,popoverOpen:x,popoverId:S,ref:C,refButton:w,refPopover:T,refTooltip:E,role:ee,shortKey:te,tabIndex:ne,tooltipAlign:re,type:ie,variant:ae}=e;return A(sl,{block:`kol-popover-button`,class:e.class,ref:C,modifiers:{open:x,inline:!0===g}},A(md,{accessKey:n,ariaControls:S,ariaDescription:r,ariaDescriptionId:i,ariaExpanded:x?`true`:`false`,ariaHasPopup:a,ariaSelected:o,customClass:s,disabled:c,handleBlur:l,handleClick:u,handleFocus:d,handleMouseDown:f,hideLabel:p,icons:m,id:h,inline:g,label:_,name:v,on:y,refButton:w,refTooltip:E,role:ee,shortKey:te,tabIndex:ne,tooltipAlign:re,type:ie,variant:ae}),A(Im,{align:b,class:`kol-popover-button__popover`,id:S,popoverRef:T},t))},Rm={optional:[wd]},zm=class extends Uf{constructor(e){super(e,Rm),this.show=!1,this.setPopoverElementRef=e=>{this.popoverElement=e,this.arrowElement=e?.querySelector(`.kol-popover__arrow`)},this.setTriggerElement=e=>{this.triggerElement=e},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await Bf({align:this.getRenderProp(`align`),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=Lf(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(e){this.watchAlign(e.align)}watchAlign(e){wd.apply(e,(e=>{this.setRenderProp(`align`,e)}))}setShow(e){this.show=e,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var e;(e=this.cleanupAutoUpdate)==null||e.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var e;if(!this.popoverElement)return;let t=this.popoverElement.matches(`:popover-open`);if(this.show){if(!t)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch{}}else if(t)try{this.popoverElement.hidePopover(),(e=this.cleanupAutoUpdate)==null||e.call(this),this.cleanupAutoUpdate=void 0}catch{}}},Bm={required:[td],optional:[Iu,zu,rd,id,ad,sd,Vu,Sl,Hu,ed,Uu,Gu,cd,Pm,Ku,qu,Ju,Yu,Xu]},Vm=e=>{let t=new zm(V.stateLess),n=new Gf(V.stateLess),r=Rl(),i,a,o=cl(Bm);delete o.tabIndex;let s=e=>{Sl.apply(e,(e=>{o.disabled=e}))};s(e.disabled),Hu.apply(e.hideLabel,(e=>{o.hideLabel=e})),qu.apply(e.icons,(e=>{o.icons=e})),Uu.apply(!1,(e=>{o.inline=e})),Yu.apply(`top`,(e=>{o.tooltipAlign=e})),sd.apply(`button`,(e=>{o.type=e})),td.apply(e.label,(e=>{o.label=e}));let c=Pm.getDefaultValue();Pm.apply(e.popoverAlign,(e=>{c=e})),o.popoverAlign=c,t.componentWillLoad({align:c}),Xu.apply(ti(`buttonVariantDefault`,e.getFlagHost())??`normal`,(e=>{o.variant=e})),o.ariaDescriptionId=W(`aria-description`),o.popoverId=W(`popover`);let l=t=>{let n=e.getEventTarget?e.getEventTarget():a;n&&I(n,t)},u=t=>{e.setOpen(t.newState===`open`)};o.handleClick=r=>{r.stopPropagation(),n.hideTooltip(),t.setShow(!e.getOpen()),l(F.click)},o.handleMouseDown=()=>l(F.mousedown),o.handleFocus=()=>l(F.focus),o.handleBlur=()=>l(F.blur),o.refButton=e=>{r(e),t.setTriggerElement(e)},o.refPopover=e=>{i=e,t.setPopoverElementRef(e)},o.refTooltip=n.setTooltipElementRef;let d=e=>{a=e},f=()=>{n.componentWillLoad({label:o.label,align:o.tooltipAlign})};return f(),{getFcProps:n=>(n&&(n=>{let r=Cp(Object.assign(Object.assign({},n),{_on:void 0,_variant:n._variant??`normal`}),e.getFlagHost());o.accessKey=r.accessKey,o.ariaDescription=r.ariaDescription,o.customClass=r.customClass,o.disabled=r.disabled,o.hideLabel=r.hideLabel,o.icons=r.icons,o.id=r.id,o.inline=r.inline,o.label=r.label,o.name=r.name,o.shortKey=r.shortKey,o.tabIndex=r.tabIndex,o.tooltipAlign=r.tooltipAlign,o.type=r.type,o.variant=r.variant,Pm.apply(n._popoverAlign??`bottom`,(e=>{o.popoverAlign=e,t.watchAlign(e)})),f()})(n),Object.assign(Object.assign({},o),{popoverOpen:e.getOpen(),ref:d})),hide:()=>t.setShow(!1),setDisabled:s,syncListeners:()=>{r.el&&n.syncListeners(void 0,r.el,!0),i?.addEventListener(`toggle`,u)},destroy:()=>{n.destroy(),i&&=(i.removeEventListener(`toggle`,u),void 0),t.destroy()}}},Hm=(e,t)=>{let n=(t??``).trim().split(/\s+/).filter(Boolean);if(!n.length)return[];let r=e?.getRootNode();return n.map((e=>typeof Document<`u`&&r instanceof Document?r.getElementById(e):typeof ShadowRoot<`u`&&r instanceof ShadowRoot?r.querySelector(`#${(e=>globalThis.CSS?.escape?globalThis.CSS.escape(e):e.replace(/[^a-zA-Z0-9_-]/g,`\\$&`))(e)}`):typeof document<`u`?document.getElementById(e):null)).filter((e=>!!e))};function Um(e,t){return!!e&&!0===t}function Wm(e){return typeof e==`string`?`error`:e?._type??`error`}var Gm=z(`ariaDetails`,``,R),Km=z(`hideMsg`,!1,Pc),qm=z(`hint`,``,R),Jm=z(`infoPopover`,void 0,(function(e){if(typeof e==`object`&&e)return e;throw Error(`Invalid info popover: `+typeof e)})),Ym=Uc(),Xm=z(`msg`,void 0,(function(e){if(typeof e==`string`)try{return Aa(e)}catch{return e}return e}),(function(e){return e===void 0||(typeof e==`string`?e.length>0:oa(e)&&sa(e._description,1))})),Zm=z(`touched`,!1,Pc),Qm={required:[td],optional:[Gm,Sl,Hu,Km,qm,Jm,Ym,Xm,cd,Yu,Zm]},$m=e=>{var{id:t,class:n,hint:r,baseClassName:i=`kol-form-field`}=e,a=vl(e,[`id`,`class`,`hint`,`baseClassName`]);return r?A(`span`,Object.assign({class:B(`${i}__hint`,n),id:wu(t||``,`hint`)},a),r):null},eh=e=>{var{component:t=`label`,id:n,baseClassName:r=`kol-form-field`,class:i,accessKey:a,shortKey:o,label:s,hideLabel:c,hasExpertSlot:l,omitId:u,showBadge:d=!0,readOnly:f,infoPopover:p}=e,m=vl(e,[`component`,`id`,`baseClassName`,`class`,`accessKey`,`shortKey`,`label`,`hideLabel`,`hasExpertSlot`,`omitId`,`showBadge`,`readOnly`,`infoPopover`]);let h=!l&&c,g=!1===d?void 0:Kl(a,o);return A(t,Object.assign({},m,{class:B(`${r}__label`,i),id:h||u?void 0:wu(n,`label`),hidden:h,htmlFor:t===`legend`?void 0:n}),A(pu,{class:`${r}__label-text`,label:l?``:s??``,badgeText:g},A(`slot`,{name:`expert`})),!l&&f&&A(`span`,{class:`${r}__label__read-only`,"aria-hidden":`true`},`(`,G(`kol-readonly`),`)`),!l&&p&&A(`span`,null,A(Lm,Object.assign({},p.popoverButton),A(`div`,{class:`kol-popover-button__popover--styled`},p.content))))},th=e=>{var{alert:t,hideMsg:n,msg:r,id:i,class:a}=e,o=vl(e,[`alert`,`hideMsg`,`msg`,`id`,`class`]);let s=function(e){if(typeof e==`string`)try{return Aa(e)}catch{return{_description:e,_type:`error`}}return e&&typeof e==`object`&&!(`_type`in e)?Object.assign(Object.assign({},e),{_type:`error`}):e}(r);return A(Cd,Object.assign({alert:!n&&(s?._alert??!0===t),class:B(`kol-form-field__msg`,n&&`visually-hidden`,a),closerAriaDescriptionId:wu(i,`msg-closer-description`),handleCloserClick:()=>{},hasCloser:!1,headingId:wu(i,`msg-heading`),id:wu(i,`msg`),label:``,level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:s?._type??`error`,variant:`msg`},o),s?._description||void 0)},nh=P.forBlock(`kol-form-field`),rh=({hideLabel:e,label:t,renderNoTooltip:n})=>!n&&!Gl(t)&&!0===e,ih=e=>{let t=Wm(e);return{[t]:!0,[`msg-type-${t}`]:!0}},ah=(e,t)=>{let{renderNoLabel:n,renderNoTooltip:r,renderNoHint:i,id:a,required:o,alert:s,disabled:c,class:l,msg:u,hideMsg:d,hideLabel:f,label:p,infoPopover:m,hint:h,accessKey:g,shortKey:_,counter:v,readOnly:y,touched:b,maxLength:x,ariaDescribedBy:S,showBadge:C,tooltipAlign:w,variant:T,component:E=`div`,orientation:ee,refInput:te,refTooltip:ne}=e,re=vl(e,`renderNoLabel.renderNoTooltip.renderNoHint.id.required.alert.disabled.class.msg.hideMsg.hideLabel.label.infoPopover.hint.accessKey.shortKey.counter.readOnly.touched.maxLength.ariaDescribedBy.showBadge.tooltipAlign.variant.component.orientation.refInput.refTooltip`.split(`.`)),ie=Gl(p),ae=Um(u,b),oe=Kl(g,_),D=rh({hideLabel:f,label:p,renderNoTooltip:r}),O=E===`fieldset`;return A(sl,Object.assign({component:E,block:`kol-form-field`,modifiers:Object.assign({disabled:!!c,required:!!o,touched:!!b,"hide-label":!!f,"read-only":!!y,"hidden-msg":!!d},ae?ih(u):{}),class:B(T&&Fu(T,`form-field`),l),disabled:!(!O||!c)||void 0,"aria-describedby":S},re),!n&&A(eh,{component:O?`legend`:`label`,class:O?`kol-form-field__label--legend`:void 0,id:a,hasExpertSlot:ie,hideLabel:f,label:p,accessKey:g,shortKey:_,readOnly:y,showBadge:C,infoPopover:m}),A(`div`,{class:nh(`input`,{"orientation-horizontal":ee===`horizontal`,"orientation-vertical":ee===`vertical`}),ref:te},t,D&&A(`div`,{class:nh(`tooltip`)},A($u,{badgeText:oe||``,label:p,align:w,id:wu(a,`label`),refFloating:ne}))),v&&(v.maxLengthBehavior!==`soft`||typeof v.maxLength==`number`)&&A(`div`,{class:nh(`counter`)},A(`span`,{"aria-hidden":`true`,class:nh(`counter`),ref:v.visualRef}),A(`span`,{"aria-live":`polite`,class:`visually-hidden`,id:wu(a,`counter`),ref:v.ariaRef})),ae&&A(th,{id:a,alert:s,hideMsg:d,msg:u}),!i&&A($m,{id:a,hint:h}),typeof x==`number`&&!v&&A(`span`,{id:wu(a,`character-limit-hint`),class:`visually-hidden`},G(`kol-character-limit-hint`,{placeholders:{limit:String(x)}})))};function oh({ariaDescribedBy:e,hideLabel:t,label:n}){return{title:``,autoCapitalize:`off`,autoCorrect:`off`,"aria-describedby":e?.length?e.join(` `):void 0,"aria-label":t&&n?Tc(n):void 0}}var sh=class extends V{constructor(){super(...arguments),this.tooltipBehavior=new Gf(V.stateLess),this.smartButton=Nm((()=>this.host)),this.infoPopover=Vm({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,t)=>{var n,r;e.stopPropagation(),t===void 0&&(t=e.target.value),this.emit(F.change,t),(r=(n=this._on)?.onChange)==null||r.call(n,e,t)},this.handleInput=(e,t)=>{var n,r;e.stopPropagation(),t===void 0&&(t=e.target.value),this.emit(F.input,t),this.formAssociation.setFormAssociatedValue(t),(r=(n=this._on)?.onInput)==null||r.call(n,e,t)},this.handleClick=e=>{var t,n;this.emit(F.click),(n=(t=this._on)?.onClick)==null||n.call(t,e)},this.handleFocus=e=>{var t,n;this.focusEventSent||=(this.emit(F.focus),(n=(t=this._on)?.onFocus)==null||n.call(t,e),!0),this.shared.setState(`inputHasFocus`,!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState(`inputHasFocus`,!1)},this.handleKeyDown=e=>{var t,n;this.emit(F.keydown),(n=(t=this._on)?.onKeyDown)==null||n.call(t,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}get shared(){return this}initFormAssociation(e,t){this.formAssociation=new am(V.stateLess,{host:this.host,type:e,name:t})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}getInfoPopover(){let e=this.shared.getRenderProp(`infoPopover`);if(!e)return;let{_content:t}=e,n=vl(e,[`_content`]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:`ghost`},n),{_hideLabel:!0,_inline:!0})),content:t}}getSmartButtonFcProps(e,t){if(typeof e==`object`&&e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:t},e),{class:`kol-input-container__smart-button`})}applyAriaDetails(e){Gm.apply(e,(e=>this.shared.setRenderProp(`ariaDetails`,e))),this.syncAriaDetails()}syncAriaDetails(){var e;let t=(this.host?.shadowRoot)?.querySelector(`input, select, textarea`);if(!t||!(`ariaDetailsElements`in t))return;let n=Hm(this.host,this.shared.getRenderProp(`ariaDetails`)),r=this.pushedDetailsElements;(t!==this.ariaDetailsTarget||(r?.length??0)!==n.length||(e=r?.some(((e,t)=>e!==n[t])))!=null&&e)&&(this.ariaDetailsTarget=t,this.pushedDetailsElements=n,t.ariaDetailsElements=n.length?n:null)}applyDisabled(e){Sl.apply(e,(e=>this.shared.setRenderProp(`disabled`,e)))}applyHideLabel(e){Hu.apply(e,(e=>this.shared.setRenderProp(`hideLabel`,e)))}applyHideMsg(e){Km.apply(e,(e=>this.shared.setRenderProp(`hideMsg`,e)))}applyHint(e){qm.apply(e,(e=>this.shared.setRenderProp(`hint`,e)))}applyInfoPopover(e){Jm.apply(e,(e=>this.shared.setRenderProp(`infoPopover`,e)))}applyLabel(e){td.apply(e,(e=>this.shared.setRenderProp(`label`,e)),this.isRequired(`label`))}applyMsg(e){Xm.apply(e,(e=>this.shared.setRenderProp(`msg`,e)))}applyName(e){cd.apply(e,(e=>this.shared.setRenderProp(`name`,e))),this.formAssociation.watchName(e)}applyOn(e){Ym.apply(e,(e=>this.shared.setRenderProp(`on`,e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){Yu.apply(e??`top`,(e=>this.shared.setRenderProp(`tooltipAlign`,e)))}applyTouched(e){Zm.apply(e,(e=>this.shared.setRenderProp(`touched`,e)))}get eventHost(){return this.formAssociation?.host??this.host}emit(e,t){this.eventHost&&I(this.eventHost,e,t)}handleFocusLeave(e){var t,n;if(this._disabled)return;let r=this.eventHost,i=(r?.shadowRoot||r)?.contains(e.relatedTarget)||r===e.relatedTarget;this.focusEventSent&&!i&&(this._touched=!0,this.emit(F.blur),(n=(t=this._on)?.onBlur)==null||n.call(t,e),this.focusEventSent=!1)}getAria(){let e=this.shared;return(({id:e,msg:t,hint:n,touched:r})=>{let i=typeof t==`string`?t:t?._description,a=!!(i&&i.length>0),o=Wm(t)===`error`&&a&&!0===r,s=typeof n==`string`&&n.length>0,c=[];return a&&!0===r&&c.push(wu(e,`msg`)),s&&c.push(wu(e,`hint`)),{hasError:o,hasHint:s,ariaDescribedBy:c}})({id:e.getState(`id`),msg:e.getRenderProp(`msg`),hint:e.getRenderProp(`hint`),touched:e.getRenderProp(`touched`)})}showAsAlert(){return!!this.shared.getRenderProp(`touched`)&&!this.shared.getState(`inputHasFocus`)}isTooltipShown(){let e=this.shared;return rh({hideLabel:e.getRenderProp(`hideLabel`),label:Tc(e.getRenderProp(`label`))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:t,shortKey:n,variant:r,counter:i,maxLength:a,readOnly:o,renderNoLabel:s,renderNoTooltip:c,required:l}){let u=this.shared,d=u.getState(`id`),f=u.getRenderProp(`label`),p=u.getRenderProp(`tooltipAlign`);return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(p),this.tooltipBehavior.watchBadgeText(Kl(t,n)||``),this.tooltipBehavior.watchId(wu(d,`label`)),this.tooltipBehavior.watchLabel(f)):this.tooltipBehavior.destroy(),{id:d,disabled:u.getRenderProp(`disabled`),msg:u.getRenderProp(`msg`),hint:u.getRenderProp(`hint`),label:f,hideLabel:u.getRenderProp(`hideLabel`),hideMsg:u.getRenderProp(`hideMsg`),touched:u.getRenderProp(`touched`),showBadge:!!t||!!n,required:l,readOnly:o,accessKey:t,shortKey:n,maxLength:a,counter:i,variant:r,class:e,tooltipAlign:p,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:s,renderNoTooltip:c,refInput:c?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}},ch=z(`hasClearButton`,!0,Pc),lh=ol(`kol-custom-suggestions-options-group`),uh=ol(`kol-custom-suggestions-option`),dh=({"aria-labelledby":e,blockSuggestionMouseOver:t,onKeyDown:n,style:r,hidden:i,id:a},o)=>A(`ul`,{"aria-labelledby":e,id:a,role:`listbox`,style:r,class:lh({"cursor-hidden":t,open:!i}),hidden:i,onKeyDown:n},o),fh=({disabled:e,id:t,index:n,ref:r,selected:i,onClick:a,onMouseOver:o,onFocus:s,onKeyDown:c,option:l,searchTerm:u})=>A(`li`,{id:t,key:`-${n}`,ref:r,"data-index":n,tabIndex:-1,role:`option`,"aria-selected":i?`true`:void 0,"aria-disabled":e?`true`:void 0,onClick:a,onMouseOver:o,onFocus:s,class:uh({disabled:!!e}),onKeyDown:c},A(`span`,null,((e,t)=>{if(!t?.trim())return e;let n=RegExp(`(${t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)})`,`gi`);return e.split(n).map(((e,t)=>t%2==1?A(`mark`,null,e):e))})(String(l),u||``))),ph=class extends sh{constructor(){super(...arguments),this.focusedIndex=-1,this.clearButtonFocused=!1,this.optionRefs=[],this.handleClearButtonFocus=()=>{this.clearButtonFocused=!0},this.handleClearButtonBlur=()=>{this.clearButtonFocused=!1}}getOptionId(e){return wu(this.id,`option-${e}`)}getActiveDescendant(){return this.isOpen&&this.focusedIndex>=0?this.getOptionId(this.focusedIndex):void 0}focusOption(e){var t;this.focusedIndex=e,(t=this.optionRefs[e])==null||t.focus()}moveFocusWrapping(e){let t=this.focusedIndex+e,n=this.getOptionCount();t>=n&&(t=0),t<0&&(t=n-1),this.focusOption(t)}moveFocusSkippingDisabled(e,t,n){let r=this.getOptionCount(),i=this.focusedIndex+e;for(let e=0;e<r;e++){if(i>=r&&(i=0),i<0&&(i=r-1),!n(i))return void this.focusOption(i);i+=t}}handleListboxEvent(e,t,n){var r;e.preventDefault(),t!==void 0&&(this.isOpen=t,t||(r=this.ctaRef.el)==null||r.focus()),n?.()}handleListboxKeyDown(e){var t,n;switch(e.key){case`Down`:case`ArrowDown`:this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,!0,(()=>this.moveFocus(1)));break;case`Up`:case`ArrowUp`:{this.blockSuggestionMouseOver=!0;let t=this.isOpen;this.handleListboxEvent(e,!0,(()=>t?this.moveFocus(-1,-1):this.focusLastOption()));break}case`Tab`:this.isOpen&&(this.isOpen=!1,(t=this.ctaRef.el)==null||t.focus());break;case`Esc`:case`Escape`:this.isOpen&&(e.preventDefault(),this.isOpen=!1,(n=this.ctaRef.el)==null||n.focus());break;case` `:case`Enter`:case`NumpadEnter`:this.handleConfirmKey(e);break;case`Home`:this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,void 0,(()=>this.focusFirstOption())));break;case`End`:this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,void 0,(()=>this.focusLastOption())));break;case`PageUp`:this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,void 0,(()=>this.isOpen&&this.moveFocus(-10)));break;case`PageDown`:this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,void 0,(()=>this.isOpen&&this.moveFocus(10,-1)))}}handleListboxMouseMove(){this.blockSuggestionMouseOver=!1}},mh={"kol-combobox":P.forBlock(`kol-combobox`)(`group`),"kol-single-select":P.forBlock(`kol-single-select`)(`group`)},hh=({block:e},t)=>A(`div`,{class:mh[e]},t),gh=(e,t,n)=>{oa(n)?e[t]=n:sa(n,1)&&(e[t]={icon:n})},_h=e=>{let t={};return sa(e,1)?t={left:{icon:e}}:typeof e==`object`&&e&&(gh(t,`top`,e.top),gh(t,`right`,e.right),gh(t,`bottom`,e.bottom),gh(t,`left`,e.left)),t},vh=z(`icons`,{},(function(e){let t=e;if(typeof e==`string`)try{t=Aa(e)}catch{}if(sa(t,1))return _h(t);if(typeof t==`object`&&t){let e=t;if(Object.keys(e).length===0||[`left`,`right`,`top`,`bottom`].some((t=>(e=>sa(e,0)||(e=>typeof e==`object`&&!!e&&(e.style===void 0||ca(e.style))&&(e.label===void 0||sa(e.label))&&sa(e.icon,1))(e))(e[t]))))return _h(t)}throw Error(`Invalid icons: `+typeof e)})),yh=e=>e?A(Ul,typeof e==`string`?{class:`kol-input-container__icon`,icons:e,label:``}:{class:`kol-input-container__icon`,icons:e.icon,label:e.label??``,style:e.style}):null,bh=({icons:e,smartButton:t,startAdornment:n,endAdornment:r})=>({startAdornment:[n??null,yh(e?.left)].filter(Boolean),endAdornment:[t?A(md,Object.assign({},t)):null,yh(e?.right),r??null].filter(Boolean)}),xh=P.forBlock(`kol-input-container`),Sh=(e,t)=>{var{position:n=`start`,class:r}=e,i=vl(e,[`position`,`class`]);return A(`div`,Object.assign({class:B(xh(`adornment`,{[n]:!0}),r)},i),t)};function Ch(e){return!!e&&(Array.isArray(e)?e.length>0:!!e)}var wh=(e,t)=>{let{class:n,startAdornment:r,endAdornment:i,disabled:a,msg:o,touched:s}=e,c=vl(e,[`class`,`startAdornment`,`endAdornment`,`disabled`,`msg`,`touched`]),l=Ch(r)||Ch(i);return A(sl,Object.assign({block:`kol-input-container`,modifiers:Object.assign({disabled:!!a},Um(o,s)?{[Wm(o)]:!0}:{}),class:n},c),l&&A(Sh,{position:`start`},r),A(`div`,{class:xh(`container`)},t),l&&A(Sh,{position:`end`},i))},Th=z(`placeholder`,void 0,R),Eh=z(`required`,!1,Pc),Dh=z(`suggestions`,[],(function(e){let t=typeof e==`string`?Aa(e):e;if(Array.isArray(t))return t;throw Error(`Invalid suggestions: `+typeof e)}),(e=>e.every((e=>typeof e==`string`||typeof e==`number`))),{hints:(e,t)=>{t.length>0&&Ki(`Property suggestions: Options have accessibility issues in how browsers implemented them and should not be used for now.`)}}),Oh=z(`value`,void 0,R),kh=e=>{let{class:t,msg:n,required:r,disabled:i,touched:a,readonly:o,ariaDescribedBy:s,hideLabel:c,label:l,suggestions:u,value:d}=e,f=vl(e,[`class`,`msg`,`required`,`disabled`,`touched`,`readonly`,`ariaDescribedBy`,`hideLabel`,`label`,`suggestions`,`value`]),p=Object.assign(Object.assign({class:B(ol(`kol-input`)(Object.assign({disabled:!!i,required:!!r,touched:!!a,readonly:!!o},Um(n,a)?{[Wm(n)]:!0}:{})),t),required:r,disabled:i,readonly:o,type:`text`,list:u&&typeof f.id==`string`?wu(f.id,`list`):void 0},oh({ariaDescribedBy:s,hideLabel:c,label:l})),f);return A(Ar,null,A(`input`,Object.assign({},p,{value:d})),u)},Ah={required:[...Qm.required,Dh],optional:[...Qm.optional,Iu,ch,vh,Th,Eh,Ku,Oh,Xu]},jh=P.forBlock(`kol-combobox`)(`delete`),Mh=P.forBlock(`kol-combobox-toggle`)(),Nh=({disabled:e,expanded:t,handleClick:n,label:r,listboxId:i})=>A(`button`,{type:`button`,tabIndex:-1,class:Mh,"aria-controls":i,"aria-expanded":t?`true`:`false`,"aria-label":r,onClick:n,disabled:e,hidden:e},A(Ul,{icons:`kolicon-chevron-down`,label:``})),Ph=M(class extends ph{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`combobox`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.ctaRef=Rl(),this.clearButton=Nm((()=>this.host)),this.translateDeleteSelection=G(`kol-delete-selection`),this.translateShowSuggestions=G(`kol-show-suggestions`),this.hasValue=!1,this.propsConfig=Ah,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hasClearButton=!0,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.toggleListbox=()=>{var e;if(!0===this.getRenderProp(`disabled`))this.isOpen=!1;else if((e=this.ctaRef.el)==null||e.focus(),this.isOpen)this.isOpen=!1;else if(Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0){this.isOpen=!0;let e=this.filteredSuggestions.findIndex((e=>e===this.getRenderProp(`value`)));this.focusedIndex=e>=0?e:-1,this.focusOption(this.focusedIndex)}},this.handleComboboxInput=e=>{let t=e.target.value;this.setRenderProp(`value`,t),this._value=t,this.handleInput(e,t),this.setFilteredSuggestionsByQuery(t),this.focusedIndex=-1,e.stopImmediatePropagation()},this.handleComboboxChange=e=>{e.stopPropagation();let t=this.getRenderProp(`value`);this.handleChange(e,t),this.hasValue=!!t,this.formAssociation.setFormAssociatedValue(t)},this.handleInputBlur=e=>{this.handleFocusLeave(e)},this.stopClearButtonFocusEvent=e=>{e.stopPropagation()},this.handleDropdownKeyDown=e=>{e.key.length===1&&/[a-z0-9]/i.test(e.key)&&(this.isOpen=!0,this.focusSuggestionStartingWith(e.key))},this.initFormAssociation(`combobox`,this._name)}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHasClearButton(e){ch.apply(e,(e=>this.setRenderProp(`hasClearButton`,e)))}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPlaceholder(e){Th.apply(e,(e=>this.setRenderProp(`placeholder`,e)))}watchRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchSuggestions(e){this.applySuggestions(e),this.setFilteredSuggestionsByQuery(this._value??``)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e),this.formAssociation.setFormAssociatedValue(e)}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.getRenderProp(`value`))}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.setRenderProp(`value`,``),this.optionRefs=[],this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchDisabled(this._disabled),this.watchHasClearButton(this._hasClearButton),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchPlaceholder(this._placeholder),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant),this.applySuggestions(this._suggestions),this.applyValue(this._value),this.hasValue=!!this.getRenderProp(`value`),this.filteredSuggestions=this.getRenderProp(`suggestions`)}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyFormField()}handleHostKeyDown(e){this.handleListboxKeyDown(e)}handleMouseEvent(){this.handleListboxMouseMove()}handleFocusIn(e){Ml(this.host)&&!this.inputHasFocus&&this.handleFocus(e)}handleFocusOut(e){let t=e.relatedTarget,n=t&&(t===this.host||this.host?.contains(t));this.inputHasFocus&&!n&&(this.handleBlur(e),this.isOpen&&=!1)}getOptionCount(){return Array.isArray(this.filteredSuggestions)?this.filteredSuggestions.length:0}moveFocus(e){this.filteredSuggestions&&this.moveFocusWrapping(e)}focusFirstOption(){this.focusOption(0)}focusLastOption(){this.focusOption(this.filteredSuggestions?this.filteredSuggestions.length-1:0)}handleConfirmKey(e){let t=this.clearButton.getRootElement();t&&e.composedPath().includes(t)||(e.key===` `?this.isOpen&&this.selectFocusedOption()&&(this.isOpen=!1,e.preventDefault()):(this.isOpen&&this.selectFocusedOption()?this.isOpen=!1:this.toggleListbox(),e.preventDefault()))}selectFocusedOption(){return!!(this.filteredSuggestions&&this.focusedIndex>=0&&this.focusedIndex<this.filteredSuggestions.length)&&(this.selectOption(this.filteredSuggestions[this.focusedIndex]),!0)}focusSuggestionStartingWith(e){let t=e.toLowerCase(),n=Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.findIndex((e=>e.toLowerCase().startsWith(t)));typeof n==`number`&&this.focusOption(n)}setFilteredSuggestionsByQuery(e){if(e===void 0)return;let t=this.getRenderProp(`suggestions`);e.trim()===``?this.filteredSuggestions=[...t]:(this.filteredSuggestions=Array.isArray(t)?t.filter((t=>t.toLowerCase().includes(e.trim().toLowerCase()))):this.filteredSuggestions,this.isOpen=(this.filteredSuggestions?.length!==1||this.filteredSuggestions[0]!==e)&&!!(this.filteredSuggestions&&this.filteredSuggestions.length>0))}selectOption(e){var t;let n=this.getRenderProp(`name`);this._value=e,this.handleInput(uo(F.input,{name:n,value:e},this.ctaRef.el),e),this.handleChange(uo(F.change,{name:n,value:e},this.ctaRef.el),e),this.hasValue=!!e,this.formAssociation.setFormAssociatedValue(e),this.filteredSuggestions=[...this.getRenderProp(`suggestions`)],this.setRenderProp(`value`,e),(t=this.ctaRef.el)==null||t.focus()}clearSelection(){var e;if(!0===this.getRenderProp(`disabled`))return;(e=this.ctaRef.el)==null||e.focus(),this.focusedIndex=-1,this._value=``,this.setRenderProp(`value`,``),this.filteredSuggestions=[...this.getRenderProp(`suggestions`)],this.isOpen=!1;let t={name:this.getRenderProp(`name`),value:``};this.handleInput(uo(F.input,t,this.ctaRef.el),``),this.handleChange(uo(F.change,t,this.ctaRef.el),``),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(``)}getInputProps(){let{ariaDescribedBy:e,hasError:t}=this.getAria(),n=this.id,r=!0===this.getRenderProp(`disabled`),i=this.getRenderProp(`accessKey`)||void 0,a=this.getRenderProp(`placeholder`),o=this.getRenderProp(`shortKey`)||void 0,s=this.getRenderProp(`hideLabel`),c=this.getRenderProp(`label`);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:n,hideLabel:s,label:c,disabled:r,name:this.getRenderProp(`name`)||void 0},i?{accessKey:i}:{}),{value:this.getRenderProp(`value`),required:this.getRenderProp(`required`)}),a?{placeholder:a}:{}),{touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),o?{"aria-keyshortcuts":o}:{}),{ref:this.ctaRef,class:`kol-combobox__input`,type:`text`,role:`combobox`,"aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":`list`,"aria-controls":wu(n,`listbox`),"aria-describedby":e.length>0?e.join(` `):void 0,"aria-expanded":this.isOpen?`true`:`false`,"aria-label":s&&typeof c==`string`?c:void 0,"aria-labelledby":wu(n,`label`),autocapitalize:`off`,autocorrect:`off`,autocomplete:`off`,onBlur:this.handleInputBlur,onChange:this.handleComboboxChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleComboboxInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:e,"aria-invalid":t?`true`:void 0})}renderOptions(){let e=this.getRenderProp(`value`);return Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.map(((t,n)=>A(fh,{id:this.getOptionId(n),disabled:!1,index:n,option:t,searchTerm:e,ref:e=>{e&&(this.optionRefs[n]=e)},selected:e===t,onClick:()=>{this.selectOption(t),this.toggleListbox(),this.isOpen=!1},onMouseOver:()=>{this.blockSuggestionMouseOver||this.focusOption(n)},onFocus:()=>{this.focusOption(n)}})))}applySuggestions(e){Dh.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}applyValue(e){e!=null&&Oh.apply(e,(e=>this.setRenderProp(`value`,e)))}render(){let e=!0===this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=bh({icons:this.getRenderProp(`icons`)});return A(j,{key:`8a56f5f822b6287d855a5440736367bbc9820e6a`},A(ah,Object.assign({key:`74405a36589559487c8ef480ad20986db4332c69`},this.getFormFieldProps({class:B(`kol-combobox`,{"has-value":this.hasValue,"kol-combobox--open":this.isOpen}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,required:this.getRenderProp(`required`),variant:this.getRenderProp(`variant`)})),A(wh,{key:`225a16cde1e1939564ebe284bbd338434bee56aa`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},A(hh,{key:`e8982a600e2f0236d50eb8c0e1e842449045448e`,block:`kol-combobox`},A(kh,Object.assign({key:`77bf716d5b0c02365b23c1cbf79135033507437b`},this.getInputProps())),this.getRenderProp(`value`)&&this.getRenderProp(`hasClearButton`)&&A(md,Object.assign({key:`40ad0f4f9bb47b8582ee3c35327ca5cd13df69bb`},this.clearButton.getFcProps({_icons:`kolicon-cross`,_label:this.translateDeleteSelection,_hideLabel:!0,_variant:`ghost`,_disabled:e,_on:{onClick:()=>{this.clearSelection()}}},{class:jh,hidden:e,onBlur:this.stopClearButtonFocusEvent,onFocus:this.stopClearButtonFocusEvent}))),A(Nh,{key:`f9bbbc7e299707c0cc29d72c76048fc003331fe7`,disabled:e,expanded:this.isOpen,handleClick:this.toggleListbox,label:this.translateShowSuggestions,listboxId:wu(this.id,`listbox`)})),A(dh,{key:`cb590ad586a5ad996a4fc0e25afefa11d562334a`,blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,hidden:!this.isOpen||e,id:wu(this.id,`listbox`),"aria-labelledby":wu(this.id,`label`)},this.renderOptions()))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hasClearButton:[{watchHasClearButton:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-custom-suggestions-option { line-height: 1.5; white-space: normal; overflow-wrap: break-word; } .kol-custom-suggestions-option:not(.kol-custom-suggestions-option--disabled) { cursor: pointer; } .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option { cursor: none !important; } .kol-custom-suggestions-option--disabled, .kol-custom-suggestions-option--disabled * { cursor: not-allowed; } .kol-custom-suggestions-options-group { background-color: white; display: block; position: absolute; z-index: 2; max-height: calc(250 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; list-style-type: none; } .kol-input-container:has(.kol-custom-suggestions-options-group--open) { z-index: 10; } .kol-custom-suggestions-toggle { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: default; } .kol-custom-suggestions-toggle.kol-custom-suggestions-toggle--disabled { cursor: not-allowed; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-combobox { } .kol-combobox__group .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-combobox__group :host { display: inline-block; } .kol-combobox__group .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-combobox__group .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-combobox__group .kol-button__interactive-element::before { content: "​"; } .kol-combobox__group .kol-button__text { flex: 1 0 100%; } .kol-combobox__group .kol-button { } .kol-combobox__group .kol-button__tooltip { height: 0; } .kol-combobox__group .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-combobox__group .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-combobox-toggle { min-height: 0; flex: 0; align-self: stretch; } .kol-combobox--open .kol-combobox-toggle { transform: rotate(180deg); } }`}}},[545,`kol-combobox`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_disabled:[4],_hasClearButton:[4,`_has-clear-button`],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_placeholder:[1],_required:[4],_shortKey:[1,`_short-key`],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],isOpen:[32],blockSuggestionMouseOver:[32],filteredSuggestions:[32],getValue:[64],focus:[64],click:[64]},[[0,`keydown`,`handleHostKeyDown`],[1,`mousemove`,`handleMouseEvent`],[0,`focusin`,`handleFocusIn`],[0,`focusout`,`handleFocusOut`]],{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hasClearButton:[{watchHasClearButton:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],Ph.prototype,`focus`,null),yl([U(`ctaRef`)],Ph.prototype,`click`,null);var Fh=Ph,Ih=function(){typeof customElements<`u`&&[`kol-combobox`].forEach((e=>{e===`kol-combobox`&&(customElements.get(N(e))||customElements.define(N(e),Ph))}))},Lh=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.detailsId=W(`details`),this.controlId=wu(this.detailsId,`control`),this.detailsOpen=!1,this.expanded=!1,this.headingId=wu(this.detailsId,`heading`),this.transitionMs=300,this.ctaRef=Rl((()=>!0===this.getRenderProp(`disabled`))),this.hasLoaded=!1,this.openAnimation=_u({getTransitionMs:()=>this.transitionMs,setDetailsOpen:e=>this.detailsOpen=e,setExpanded:e=>this.expanded=e}),this.handleToggle=vu({getHost:()=>this.host,getOn:()=>this.getRenderProp(`on`),isDisabled:()=>!0===this.getRenderProp(`disabled`),isOpen:()=>!0===this.getRenderProp(`open`),setOpen:e=>this._open=e}),this.propsConfig=hu,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(e){Sl.apply(e,(e=>this.setRenderProp(`disabled`,e)))}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){mu.apply(e,(e=>this.setRenderProp(`on`,e)))}watchOpen(e){Cl.apply(e,(e=>{this.setRenderProp(`open`,e),this.openAnimation.syncOpen(e,this.hasLoaded)}))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.transitionMs=ti(`collapsibleTransitionMs`,this.host)??300,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return A(j,{key:`bf44565131e2eef7ce2d5de480de6392c86228d1`},A(gu,{key:`ab0cfcab9e26030e53bec22ca11310702393be8c`,block:`kol-details`,contentClass:`indented-text`,controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp(`disabled`),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:`kolicon-chevron-right`,label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),on:this.getRenderProp(`on`),open:this.getRenderProp(`open`),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},A(`slot`,{key:`2f298a95c35ca3c505f3a9c4ee3f451a3d65d1d9`})))}get host(){return this}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { :host { display: inline-block; } .kol-details { } .kol-details__heading { display: flex; min-height: var(--a11y-min-size); } .kol-details__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-details__heading { } .kol-details__heading::before { content: "​"; } .kol-details__heading { } .kol-details__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-details__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-details__wrapper-animation, .kol-details__wrapper { transition: none !important; } } .kol-details { } @media print { .kol-details:not(.kol-details--open) .kol-details__wrapper-animation { display: none; } } .kol-details__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-details__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-details--open .kol-details__wrapper { grid-template-rows: 1fr; } .kol-details--open .kol-details__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-details--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-details--open .kol-details__heading .kol-icon { transform: rotate(90deg); } }`}}},[801,`kol-details`,{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],controlId:[32],detailsOpen:[32],expanded:[32],headingId:[32],transitionMs:[32],focus:[64],click:[64]},void 0,{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]);yl([H(`ctaRef`)],Lh.prototype,`focus`,null),yl([U(`ctaRef`)],Lh.prototype,`click`,null);var Rh=Lh,zh=function(){typeof customElements<`u`&&[`kol-details`].forEach((e=>{e===`kol-details`&&(customElements.get(N(e))||customElements.define(N(e),Lh))}))},Bh=z(`on`,{},(function(e){if(typeof e!=`object`||!e)throw Error(`Invalid on callbacks: expected object, got `+typeof e);let{onCancel:t,onClose:n,onToggle:r}=e,i={};return typeof t==`function`&&(i.onCancel=t),typeof n==`function`&&(i.onClose=n),typeof r==`function`&&(i.onToggle=r),i})),Vh=z(`width`,`100%`,R),Hh=P.forBlock(`kol-dialog`),Uh=P.forBlock(`kol-modal`),Wh=(e,t)=>{let{class:n,elementClass:r,handleCancel:i,handleClose:a,label:o,labelledBy:s,modal:c,refDialog:l,variant:u,width:d}=e;return u===void 0?A(`dialog`,{"aria-label":s?void 0:o,"aria-labelledby":s,"aria-modal":c?`true`:`false`,class:B(r,n),onCancel:i,onClose:a,ref:l,style:d?{width:d}:void 0},t):A(sl,{component:`dialog`,"aria-label":s?void 0:o,"aria-labelledby":s,"aria-modal":c?`true`:`false`,block:`kol-dialog`,class:B(Uh(),Hh(u),Uh(u),n),onCancel:i,onClose:a,ref:l,style:d?{width:d}:void 0},t)},Gh=new Set,Kh=null,qh=null;function Jh(e){if(typeof document<`u`&&typeof window<`u`&&!Gh.has(e)){if(Gh.size===0){let e=document.documentElement;Kh=e.style.getPropertyValue(`overflow`),qh=e.style.getPropertyValue(`padding-right`);let t=window.innerWidth-e.clientWidth;if(t>0){let n=Number.parseFloat(window.getComputedStyle(e).paddingRight)||0;e.style.setProperty(`padding-right`,`${n+t}px`)}e.style.setProperty(`overflow`,`hidden`)}Gh.add(e)}}function Yh(e){if(typeof document<`u`&&typeof window<`u`&&Gh.delete(e)&&Gh.size===0){let e=document.documentElement;Kh?e.style.setProperty(`overflow`,Kh):e.style.removeProperty(`overflow`),qh?e.style.setProperty(`padding-right`,qh):e.style.removeProperty(`padding-right`),Kh=null,qh=null}}var Xh={required:[fl],optional:[Bh,xl,tl,Vh]},Zh=class extends V{constructor(){super(...arguments),this.dialogRef=Rl(),this.cardCloseButtonRef=Rl(),this.cardCloseTooltipBehavior=new Gf(this.stateAccess),this.propsConfig=Xh,this.handleCancel=e=>{var t,n;ho(e),e.defaultPrevented||((n=(t=this.getRenderProp(`on`)).onCancel)==null||n.call(t,e),e.defaultPrevented||this.host&&!I(this.host,F.cancel)&&e.preventDefault())},this.handleClose=e=>{var t,n,r,i;e.target===this.dialogRef.el&&(Yh(this),(n=(t=this.getRenderProp(`on`)).onClose)==null||n.call(t),(i=(r=this.getRenderProp(`on`)).onToggle)==null||i.call(r,!1),this.host&&(I(this.host,F.close),I(this.host,F.toggle)))},this.handleCardClose=()=>{this.cardCloseTooltipBehavior.hideTooltip(),this.closeDialog(),this.host&&I(this.host,F.close)}}initCardCloseButton(){this.cardCloseButtonProps=bm(this.host),this.cardCloseTooltipBehavior.componentWillLoad({label:this.cardCloseButtonProps.label,align:this.cardCloseButtonProps.tooltipAlign})}syncCardCloseTooltipListeners(){this.cardCloseButtonRef.el&&this.cardCloseTooltipBehavior.syncListeners(void 0,this.cardCloseButtonRef.el,!0)}teardownDialog(){this.closeDialog(),Yh(this),this.cardCloseTooltipBehavior.destroy()}applyLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}applyLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}applyOn(e){Bh.apply(e,(e=>this.setRenderProp(`on`,e)))}applyVariant(e){tl.apply(e,(e=>this.setRenderProp(`variant`,e)))}applyWidth(e){Vh.apply(e,(e=>this.setRenderProp(`width`,e)))}showDialog(e){var t,n,r,i;let a=this.dialogRef.el;a!=null&&a.open||(this.setState(`modal`,e),e?((t=a?.showModal)==null||t.call(a),a&&Jh(this)):(n=a?.show)==null||n.call(a),(i=(r=this.getRenderProp(`on`)).onToggle)==null||i.call(r,!0),this.host&&I(this.host,F.toggle))}closeDialog(){var e,t;(t=(e=this.dialogRef.el)?.close)==null||t.call(e)}buildCardProps(){return{ariaDescriptionId:this.getState(`ariaDescriptionId`),closeButtonProps:this.cardCloseButtonProps,handleClose:this.handleCardClose,hasCloser:!0,headingId:this.getState(`headingId`),label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),refCloseButton:this.cardCloseButtonRef,refTooltip:this.cardCloseTooltipBehavior.setTooltipElementRef}}renderDialogFC(){let e=this.getRenderProp(`variant`),t=e===`card`;return A(Wh,{handleCancel:this.handleCancel,handleClose:this.handleClose,label:Tc(this.getRenderProp(`label`)),labelledBy:t?this.getState(`headingId`):void 0,modal:this.getState(`modal`),refDialog:this.dialogRef,variant:e,width:this.getRenderProp(`width`)},t?A(km,Object.assign({},this.buildCardProps()),this.renderSlot()):this.renderSlot())}},Qh=M(class extends Zh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=W(`aria-description`),this.headingId=W(`dialog-heading`),this.modal=!0,this._level=0,this._on=void 0,this._variant=`blank`,this._width=`100%`}watchLabel(e){this.applyLabel(e)}watchLevel(e){this.applyLevel(e)}watchOn(e){this.applyOn(e)}watchVariant(e){this.applyVariant(e)}watchWidth(e){this.applyWidth(e)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(e=!1){return this.showDialog(e),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){return await this.close(),Promise.resolve()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return A(`slot`,null)}render(){return A(j,{key:`cdbd46d4dca86a3de8a4bf18944c3a3261940bf5`},this.renderDialogFC())}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }`}}},[801,`kol-dialog`,{_label:[1],_level:[2],_on:[16],_variant:[1],_width:[1],ariaDescriptionId:[32],headingId:[32],modal:[32],openModal:[64],showModal:[64],show:[64],close:[64],closeModal:[64]},void 0,{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}]),$h=Qh,eg=function(){typeof customElements<`u`&&[`kol-dialog`].forEach((e=>{e===`kol-dialog`&&(customElements.get(N(e))||customElements.define(N(e),Qh))}))},tg=z(`on`,{},(function(e){if(typeof e!=`object`||!e)throw Error(`Invalid on callbacks: expected object, got `+typeof e);let{onCancel:t,onClose:n,onToggle:r}=e,i={};return typeof t==`function`&&(i.onCancel=t),typeof n==`function`&&(i.onClose=n),typeof r==`function`&&(i.onToggle=r),i})),ng={required:[fl],optional:[wd,tg,Ou,xl]},rg=P.forBlock(`kol-drawer`),ig=rg(`content`),ag=rg(`dialog`),og=(e,t)=>{let{align:n,cardProps:r,expanded:i,handleAnimationEnd:a,handleCancel:o,handleClose:s,headingId:c,label:l,modal:u,refDialog:d,refWrapper:f}=ll(ng,e);return A(sl,{block:`kol-drawer`},A(Wh,{elementClass:ag,handleCancel:o,handleClose:s,label:l,labelledBy:c,modal:u,refDialog:d},A(`div`,{class:rg(`wrapper`,{[n]:!0,"is-closing":!i,open:i}),onAnimationEnd:a,ref:f},A(km,Object.assign({},r),A(`div`,{class:ig},t)))))},sg=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=W(`aria-description`),this.expanded=!1,this.headingId=W(`drawer-heading`),this.modal=!0,this.dialogRef=Rl(),this.wrapperRef=Rl(),this.cardCloseButtonRef=Rl(),this.cardCloseTooltipBehavior=new Gf(this.stateAccess),this.propsConfig=ng,this._align=void 0,this._hasCloser=!1,this._level=0,this._on=void 0,this._open=void 0,this.handleAnimationEnd=e=>{var t,n;e.animationName.includes(`slideOut`)&&((n=(t=this.dialogRef.el)?.close)==null||n.call(t))},this.handleCancel=e=>{var t,n;ho(e),e.defaultPrevented||((n=(t=this.getRenderProp(`on`)).onCancel)==null||n.call(t,e),e.defaultPrevented||this.host&&!I(this.host,F.cancel)&&e.preventDefault())},this.handleClose=e=>{var t,n;if(e.target!==this.dialogRef.el)return;Yh(this),this.closeDrawer();let r=this.getRenderProp(`on`);(t=r.onClose)==null||t.call(r),(n=r.onToggle)==null||n.call(r,!1),this.host&&(I(this.host,F.close),I(this.host,F.toggle))},this.handleCardClose=()=>{this.cardCloseTooltipBehavior.hideTooltip(),this.closeDrawer()}}watchAlign(e){wd.apply(e,(e=>this.setRenderProp(`align`,e)))}watchHasCloser(e){Ou.apply(e,(e=>this.setRenderProp(`hasCloser`,e)))}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){tg.apply(e,(e=>this.setRenderProp(`on`,e)))}watchOpen(e){Cl.apply(e,(e=>{this.setState(`expanded`,e),this.dialogRef.el&&this.openOrCloseBasedOnState()}))}show(e=!1){return this.showDrawer(e),Promise.resolve()}async showModal(){await this.show(!0)}async open(){await this.show(!1)}close(){return this.closeDrawer(),Promise.resolve()}componentWillLoad(){this.cardCloseButtonProps=bm(this.host),this.cardCloseTooltipBehavior.componentWillLoad({label:this.cardCloseButtonProps.label,align:`left`}),this.watchAlign(this._align),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.openOrCloseBasedOnState()}componentDidRender(){this.cardCloseButtonRef.el&&this.cardCloseTooltipBehavior.syncListeners(void 0,this.cardCloseButtonRef.el,!0)}disconnectedCallback(){Yh(this),this.cardCloseTooltipBehavior.destroy()}showDrawer(e){var t,n,r,i;let a=this.dialogRef.el;a!=null&&a.open||(this.setState(`modal`,e),this.setState(`expanded`,!0),e?((t=a?.showModal)==null||t.call(a),a&&Jh(this)):(n=a?.show)==null||n.call(a),(i=(r=this.getRenderProp(`on`)).onToggle)==null||i.call(r,!0),this.host&&I(this.host,F.toggle))}closeDrawer(){var e,t;this.setState(`expanded`,!1);let n=this.wrapperRef.el;n&&window.getComputedStyle(n).animationName===`none`&&((t=(e=this.dialogRef.el)?.close)==null||t.call(e))}openOrCloseBasedOnState(){this.getState(`expanded`)?this.showDrawer(this.getState(`modal`)):this.closeDrawer()}buildCardProps(){return{ariaDescriptionId:this.getState(`ariaDescriptionId`),closeButtonProps:this.cardCloseButtonProps,handleClose:this.handleCardClose,hasCloser:this.getRenderProp(`hasCloser`),headingId:this.getState(`headingId`),label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),refCloseButton:this.cardCloseButtonRef,refTooltip:this.cardCloseTooltipBehavior.setTooltipElementRef}}render(){return A(j,{key:`af37db33623efbf40824ed3775c8f1e09762d8fa`},A(og,{key:`5cc3d587512aa0579637b6fb56058d3f111820bf`,align:this.getRenderProp(`align`),ariaDescriptionId:this.getState(`ariaDescriptionId`),cardProps:this.buildCardProps(),expanded:this.getState(`expanded`),handleAnimationEnd:this.handleAnimationEnd,handleCancel:this.handleCancel,handleClose:this.handleClose,hasCloser:this.getRenderProp(`hasCloser`),headingId:this.getState(`headingId`),label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),modal:this.getState(`modal`),on:this.getRenderProp(`on`),refDialog:this.dialogRef,refWrapper:this.wrapperRef},A(`slot`,{key:`9074f2e40e7cec90ae5f27c689d23f49653d1ad9`})))}get host(){return this}static get watchers(){return{_align:[{watchAlign:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-drawer__dialog { padding: 0; border: none; overscroll-behavior: contain; } .kol-drawer__wrapper { position: fixed; overflow: auto; overscroll-behavior: contain; } .kol-drawer__wrapper--left, .kol-drawer__wrapper--right { top: 0; max-width: 100vw; height: 100vh; } .kol-drawer__wrapper--left .kol-drawer__content, .kol-drawer__wrapper--right .kol-drawer__content { height: 100%; } .kol-drawer__wrapper--left { left: 0; } .kol-drawer__wrapper--right { right: 0; } .kol-drawer__wrapper--bottom, .kol-drawer__wrapper--top { left: 0; width: 100vw; max-height: 100vh; } .kol-drawer__wrapper--bottom .kol-drawer__content, .kol-drawer__wrapper--top .kol-drawer__content { width: 100%; } .kol-drawer__wrapper--bottom { bottom: 0; } .kol-drawer__wrapper--top { top: 0; } .kol-drawer__content { position: relative; } .kol-drawer__dialog .kol-card__content { overflow-y: auto; overscroll-behavior: contain; } }`}}},[801,`kol-drawer`,{_align:[1],_hasCloser:[4,`_has-closer`],_label:[1],_level:[2],_on:[16],_open:[4],ariaDescriptionId:[32],expanded:[32],headingId:[32],modal:[32],show:[64],showModal:[64],open:[64],close:[64]},void 0,{_align:[{watchAlign:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]),cg=sg,lg=function(){typeof customElements<`u`&&[`kol-drawer`].forEach((e=>{e===`kol-drawer`&&(customElements.get(N(e))||customElements.define(N(e),sg))}))};function ug(e){if(typeof e!=`object`||!e)return!1;let{message:t,selector:n}=e;return typeof t==`string`&&(typeof n==`string`||typeof n==`function`)}var dg=z(`errorList`,[],(e=>Rc(e)),(e=>e.every(ug))),fg=Uc(),pg=z(`requiredText`,!0,(function(e){if(typeof e==`boolean`||typeof e==`string`)return e;throw Error(`Invalid requiredText: expected boolean or string, got `+typeof e)})),mg={optional:[dg,fg,pg]},hg=P.forBlock(`kol-form`),gg=hg(`alert`),_g=hg(`link`),vg=({alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:n})=>A(Cd,{alert:!1,class:gg,closerAriaDescriptionId:t,handleCloserClick:()=>{},hasCloser:!1,headingId:e,label:G(`kol-error-list-message`),level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:`error`,variant:`card`},A(`nav`,{"aria-label":G(`kol-error-list`)},A(`ul`,null,n.map(((e,t)=>A(`li`,{key:t},A(`span`,{class:_g},A(zp,Object.assign({},e.fcProps))))))))),yg=P.forBlock(`kol-form`),bg=yg(`form`),xg=yg(`mandatory-fields-hint`),Sg=({alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:n,handleReset:r,handleSubmit:i,requiredText:a})=>{let o=!0===a?G(`kol-form-description`):typeof a==`string`&&a.length>0?a:``;return A(sl,{block:`kol-form`},n.length>0&&A(vg,{alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:n}),A(`form`,{class:bg,method:`post`,onSubmit:i,onReset:r,noValidate:!0},o.length>0&&A(`p`,{class:xg},o),A(`slot`,null)))},Cg={behavior:`smooth`,block:`nearest`},wg=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.errorLinkItems=[],this.alertHeadingId=W(`alert-heading`),this.closerAriaDescriptionId=W(`closer-description`),this.propsConfig=mg,this._errorList=void 0,this._on=void 0,this._requiredText=!0,this.handleSubmit=e=>{e.preventDefault();let t=this.getRenderProp(`on`).onSubmit;typeof t==`function`&&t(e),this.host&&I(this.host,F.submit)},this.handleReset=e=>{e.preventDefault();let t=this.getRenderProp(`on`).onReset;typeof t==`function`&&t(e),this.host&&I(this.host,F.reset)},this.focusErrorTarget=(e,t)=>{let n=document.querySelector(e);n&&typeof n.focus==`function`&&n.focus(t??Cg)}}watchErrorList(e){dg.apply(e,(e=>{this.setRenderProp(`errorList`,e),this.errorLinkItems=e.map((e=>((e,t)=>{let n=cl(Lp),r;return n.tabIndex=void 0,Ap.apply(``,(e=>n.href=e)),td.apply(e.message,(e=>n.label=e)),Ip.apply({onClick:typeof e.selector==`string`?()=>t(e.selector+``,e.options):e.selector},(e=>n.on=e)),n.ariaCurrent=``,n.ariaDescriptionId=W(`aria-description`),n.expertSlot=e.message===``,n.handleAnchorClick=e=>{let t=n.on?.onClick;typeof t==`function`&&(Da(e,r),t(e,n.href))},n.refAnchor=e=>{r=e},n.refTooltip=()=>{},{fcProps:n,focus:e=>r?.focus(e)}})(e,this.focusErrorTarget)))}))}watchOn(e){fg.apply(e,(e=>this.setRenderProp(`on`,e)))}watchRequiredText(e){pg.apply(e,(e=>this.setRenderProp(`requiredText`,e)))}focusErrorList(e){return setTimeout((()=>{var t;(t=this.errorLinkItems[0])==null||t.focus(e??Cg)}),250),Promise.resolve()}componentWillLoad(){this.watchErrorList(this._errorList),this.watchOn(this._on),this.watchRequiredText(this._requiredText)}render(){return A(j,{key:`1659d000e3bc627066b39de3e9c0a87a27f04eec`},A(Sg,{key:`57398381ec469c364109ba2b9fc11fe1d478442d`,alertHeadingId:this.alertHeadingId,closerAriaDescriptionId:this.closerAriaDescriptionId,errorList:this.getRenderProp(`errorList`),errorLinkItems:this.errorLinkItems,handleReset:this.handleReset,handleSubmit:this.handleSubmit,on:this.getRenderProp(`on`),requiredText:this.getRenderProp(`requiredText`)}))}get host(){return this}static get watchers(){return{_errorList:[{watchErrorList:0}],_on:[{watchOn:0}],_requiredText:[{watchRequiredText:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }`}}},[545,`kol-form`,{_errorList:[16],_on:[16],_requiredText:[8,`_required-text`],errorLinkItems:[32],focusErrorList:[64]},void 0,{_errorList:[{watchErrorList:0}],_on:[{watchOn:0}],_requiredText:[{watchRequiredText:0}]}]),Tg=wg,Eg=function(){typeof customElements<`u`&&[`kol-form`].forEach((e=>{e===`kol-form`&&(customElements.get(N(e))||customElements.define(N(e),wg))}))},Dg=z(`secondaryHeadline`,``,R),Og={optional:[xl,Dg],required:[td]},kg=P.forBlock(`kol-headline`),Ag=e=>{let{label:t,level:n,secondaryHeadline:r}=ll(Og,e),i=function(e){return e>=1&&e<=6?`h`+e:`strong`}(n);return r?A(sl,{component:`hgroup`,block:`kol-heading`,modifiers:{group:!0}},A(i,{class:kg({[i]:!0,group:!0,primary:!0})},fu(t),A(`slot`,{name:`expert`,slot:`expert`})),A(`p`,{class:kg({group:!0,secondary:!0})},r)):A(sl,{component:i,block:`kol-heading`,class:kg({[i]:!0,single:!0})},fu(t),A(`slot`,{name:`expert`,slot:`expert`}))},jg=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=Og,this._level=0,this._secondaryHeadline=void 0}watchLabel(e){td.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchSecondaryHeadline(e){Dg.apply(e,(e=>this.setRenderProp(`secondaryHeadline`,e)))}componentWillLoad(){this.watchLabel(this._label),this.watchLevel(this._level),this.watchSecondaryHeadline(this._secondaryHeadline)}render(){return A(j,{key:`d6c3ab5c2dbcd12bbd5d06387c1502ed207c0e27`},A(Ag,{key:`6ab5d0327bf715a31f46f5b0dbbe7e883eb2c090`,label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),secondaryHeadline:this.getRenderProp(`secondaryHeadline`)}))}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_secondaryHeadline:[{watchSecondaryHeadline:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-headline--secondary { margin: 0; } }`}}},[545,`kol-heading`,{_label:[1],_level:[2],_secondaryHeadline:[1,`_secondary-headline`]},void 0,{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_secondaryHeadline:[{watchSecondaryHeadline:0}]}]),Mg=jg,Ng=function(){typeof customElements<`u`&&[`kol-heading`].forEach((e=>{e===`kol-heading`&&(customElements.get(N(e))||customElements.define(N(e),jg))}))},Pg=z(`icons`,`kolicon-logo`,R),Fg=z(`label`,void 0,R,Nu,{hints:dl}),Ig={required:[Pg,Fg]},Lg=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=Ig}watchIcons(e){Pg.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchLabel(e){Fg.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}componentWillLoad(){this.watchIcons(this._icons),this.watchLabel(this._label)}render(){return A(j,{key:`8900d3ed9baec6784b7f8d3a96329042d6933daf`},A(Ul,{key:`7d2a2942e4d0d0e10d8025a65ad6b89263aa66de`,icons:this.getRenderProp(`icons`),label:this.getRenderProp(`label`)}))}static get watchers(){return{_icons:[{watchIcons:0}],_label:[{watchLabel:0}]}}static get style(){return{default:`@font-face{font-family:"kolicons";src:url("kolicons.eot?t=1795564435804");src:url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg");}@layer kol-component{[class^=kolicon-],[class*=" kolicon-"]{font-family:"kolicons";font-style:normal;font-weight:400;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.kolicon-alert-error::before{content:"\\ea01"}.kolicon-alert-info::before{content:"\\ea02"}.kolicon-alert-success::before{content:"\\ea03"}.kolicon-alert-warning::before{content:"\\ea04"}.kolicon-check::before{content:"\\ea05"}.kolicon-chevron-double-left::before{content:"\\ea06"}.kolicon-chevron-double-right::before{content:"\\ea07"}.kolicon-chevron-down::before{content:"\\ea08"}.kolicon-chevron-left::before{content:"\\ea09"}.kolicon-chevron-right::before{content:"\\ea0a"}.kolicon-chevron-up::before{content:"\\ea0b"}.kolicon-cogwheel::before{content:"\\ea0c"}.kolicon-cross::before{content:"\\ea0d"}.kolicon-eye-closed::before{content:"\\ea0e"}.kolicon-eye::before{content:"\\ea0f"}.kolicon-house::before{content:"\\ea10"}.kolicon-kolibri::before{content:"\\ea11"}.kolicon-link-external::before{content:"\\ea12"}.kolicon-link::before{content:"\\ea13"}.kolicon-minus::before{content:"\\ea14"}.kolicon-pin-pinned::before{content:"\\ea15"}.kolicon-pin-unpinned::before{content:"\\ea16"}.kolicon-plus::before{content:"\\ea17"}.kolicon-settings::before{content:"\\ea18"}.kolicon-sort-asc::before{content:"\\ea19"}.kolicon-sort-desc::before{content:"\\ea1a"}.kolicon-sort-neutral::before{content:"\\ea1b"}.kolicon-up::before{content:"\\ea1c"}.kolicon-version::before{content:"\\ea1d"}}@layer kol-component{.kol-icon{color:inherit;display:inline-block;font-size:inherit;font-weight:inherit;line-height:inherit}}`}}},[545,`kol-icon`,{_icons:[1],_label:[1]},void 0,{_icons:[{watchIcons:0}],_label:[{watchLabel:0}]}]),Rg=Lg,zg=function(){typeof customElements<`u`&&[`kol-icon`].forEach((e=>{e===`kol-icon`&&(customElements.get(N(e))||customElements.define(N(e),Lg))}))},Bg=z(`alt`,``,R,(e=>typeof e==`string`)),Vg=Uc(),Hg=z(`sizes`,``,R),Ug=z(`srcset`,``,R),Wg={optional:[Vg,Xc,Hg,Ug],required:[Bg,cp]},Gg=e=>{let{alt:t,loading:n,sizes:r,src:i,srcset:a,handleError:o,handleLoad:s}=e;return A(sl,{component:`img`,block:`kol-image`,alt:t,loading:n,sizes:r||void 0,src:i,srcset:a||void 0,onError:e=>o(e),onLoad:e=>s(e)})},Kg=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=Wg,this._loading=void 0,this._on=void 0,this._sizes=void 0,this._srcset=void 0,this.handleError=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onError)==null||n.call(t,e),this.host&&I(this.host,F.error,e)},this.handleLoad=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onLoad)==null||n.call(t,e),this.host&&I(this.host,F.load,e)}}watchAlt(e){Bg.apply(e,(e=>this.setRenderProp(`alt`,e)))}watchLoading(e){Xc.apply(e,(e=>this.setRenderProp(`loading`,e)))}watchOn(e){Vg.apply(e,(e=>this.setRenderProp(`on`,e)))}watchSizes(e){Hg.apply(e,(e=>this.setRenderProp(`sizes`,e)))}watchSrc(e){cp.apply(e,(e=>this.setRenderProp(`src`,e)))}watchSrcset(e){Ug.apply(e,(e=>this.setRenderProp(`srcset`,e)))}componentWillLoad(){this.watchAlt(this._alt),this.watchLoading(this._loading),this.watchOn(this._on),this.watchSizes(this._sizes),this.watchSrc(this._src),this.watchSrcset(this._srcset)}render(){return A(j,{key:`f1018b672678c7511beb10d2391e7460092169b6`},A(Gg,{key:`13f560b71570be6c8c87fd9c6bf36bef11823389`,alt:this.getRenderProp(`alt`),loading:this.getRenderProp(`loading`),sizes:this.getRenderProp(`sizes`),src:this.getRenderProp(`src`),srcset:this.getRenderProp(`srcset`),handleError:this.handleError,handleLoad:this.handleLoad}))}get host(){return this}static get watchers(){return{_alt:[{watchAlt:0}],_loading:[{watchLoading:0}],_on:[{watchOn:0}],_sizes:[{watchSizes:0}],_src:[{watchSrc:0}],_srcset:[{watchSrcset:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-image { display: inline-block; max-width: 100%; max-height: 100%; } }`}}},[545,`kol-image`,{_alt:[1],_loading:[1],_on:[16],_sizes:[1],_src:[1],_srcset:[1]},void 0,{_alt:[{watchAlt:0}],_loading:[{watchLoading:0}],_on:[{watchOn:0}],_sizes:[{watchSizes:0}],_src:[{watchSrc:0}],_srcset:[{watchSrcset:0}]}]),qg=Kg,Jg=function(){typeof customElements<`u`&&[`kol-image`].forEach((e=>{e===`kol-image`&&(customElements.get(N(e))||customElements.define(N(e),Kg))}))},Yg=P.forBlock(`kol-field-control`),Xg=({hideLabel:e,label:t,renderNoTooltip:n})=>!n&&!Gl(t)&&!0===e,Zg=(e,t)=>{let{class:n,id:r,label:i,hint:a,hideLabel:o,labelAlign:s,infoPopover:c,accessKey:l,shortKey:u,tooltipAlign:d,disabled:f,msg:p,touched:m,required:h,readOnly:g,renderNoHint:_,renderNoTooltip:v,labelProps:y,refInput:b,refTooltip:x}=e,S=vl(e,[`class`,`id`,`label`,`hint`,`hideLabel`,`labelAlign`,`infoPopover`,`accessKey`,`shortKey`,`tooltipAlign`,`disabled`,`msg`,`touched`,`required`,`readOnly`,`renderNoHint`,`renderNoTooltip`,`labelProps`,`refInput`,`refTooltip`]),C=Gl(i),w=Xg({hideLabel:o,label:i,renderNoTooltip:v}),T=Kl(l,u),E=Um(p,m),ee=()=>A(`div`,{class:Yg(`input`),ref:b},t),te=()=>w?A(`div`,{class:`kol-form-field__tooltip`},A($u,{badgeText:T||``,label:i,align:d,id:wu(r,`label`),refFloating:x})):null,ne=()=>A(eh,Object.assign({},y,{id:r,baseClassName:`kol-field-control`,class:o?`kol-field-control__label--visually-hidden`:void 0,omitId:w,hasExpertSlot:C,label:i,accessKey:l,shortKey:u,infoPopover:c}));return A(sl,Object.assign({block:`kol-field-control`,modifiers:Object.assign(Object.assign({disabled:!!f,required:!!h,touched:!!m,"hide-label":!!o,"read-only":!!g},E?{[Wm(p)]:!0}:{}),{"label-align-left":s===`left`,"label-align-right":s===`right`}),class:n},S),s===`left`?[ne(),ee(),te()]:[ee(),te(),ne()],!_&&A($m,{baseClassName:`kol-field-control`,id:r,hint:a}))},Qg=[`button`,`default`,`switch`],$g=z(`value`,!0,(e=>e)),e_=z(`checked`,!1,Pc),t_=[`checked`,`indeterminate`,`unchecked`],n_=z(`icons`,{checked:`kolicon-check`,indeterminate:`kolicon-minus`,unchecked:`kolicon-cross`},(e=>{if(typeof e==`object`&&e&&t_.some((t=>(e=>typeof e==`string`&&e.length>0)(e[t]))))return e;throw Error(`Expected an object with at least one icon class of checked, indeterminate or unchecked`)})),r_=z(`indeterminate`,!1,Pc),i_=[`left`,`right`],a_=z(`labelAlign`,`right`,(e=>{let t=R(e);if(i_.includes(t))return t;throw Error(`Invalid label alignment: ${t}`)})),o_=z(`variant`,`default`,(e=>{let t=R(e);if(Qg.includes(t))return t;throw Error(`Invalid checkbox variant: ${t}`)})),s_=P.forBlock(`kol-checkbox`),c_=e=>{var{class:t,variant:n=`default`,icon:r,inputProps:i}=e,a=vl(e,[`class`,`variant`,`icon`,`inputProps`]);let{class:o}=i,s=vl(i,[`class`]);return A(sl,Object.assign({component:`label`,block:`kol-checkbox`,modifiers:Object.assign({"variant-button":n===`button`,"variant-default":n==="default","variant-switch":n===`switch`,checked:!!i.checked,indeterminate:!!i.indeterminate,disabled:!!i.disabled,required:!!i.required,touched:!!i.touched},Um(i.msg,i.touched)?{[Wm(i.msg)]:!0}:{}),class:t},a),A(Ul,{label:``,icons:r,class:s_(`icon`)}),A(kh,Object.assign({class:B(s_(`input`),o)},s,{type:`checkbox`})))},l_={required:[...Qm.required],optional:[...Qm.optional,Iu,$g,e_,n_,r_,a_,Eh,Ku,o_]},u_=P.forBlock(`kol-input-checkbox`),d_=M(class extends sh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-checkbox`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.propsConfig=l_,this._accessKey=void 0,this._ariaDetails=void 0,this._checked=!1,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._indeterminate=void 0,this._infoPopover=void 0,this._labelAlign=`right`,this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=!0,this._variant=`default`,this.handleCheckboxInput=e=>{this._checked=!this._checked,this._indeterminate=!1,this.handleInput(e,this.getModelValue())},this.handleCheckboxChange=e=>{this.handleChange(e,this.getModelValue())},this.handleCheckboxKeyDown=e=>{this.handleKeyDown(e),lm(e,{form:this.host,ref:this.ctaRef.el})},this.handleCheckboxBlur=e=>{this._disabled||this.handleBlur(e)},this.handleLabelMouseDown=e=>{this.inputHasFocus&&e.preventDefault()},this.handleCheckboxMouseDown=e=>{!this.inputHasFocus||e.target instanceof HTMLInputElement||e.preventDefault()},this.initFormAssociation(`checkbox`,this._name)}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchChecked(e){e_.apply(e,(e=>this.setRenderProp(`checked`,e))),this.syncFormAssociatedValue()}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){n_.apply(e,(e=>this.setRenderProp(`icons`,Object.assign(Object.assign({},this.getRenderProp(`icons`)),e))))}watchIndeterminate(e){r_.apply(e,(e=>this.setRenderProp(`indeterminate`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchLabelAlign(e){a_.apply(e,(e=>this.setRenderProp(`labelAlign`,e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){e==null?this.setRenderProp(`value`,e):$g.apply(e,(e=>this.setRenderProp(`value`,e))),this.syncFormAssociatedValue()}watchVariant(e){o_.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.getModelValue())}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchChecked(this._checked),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchIndeterminate(this._indeterminate),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchLabelAlign(this._labelAlign),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getModelValue(){return this._checked?this.getRenderProp(`value`):null}syncFormAssociatedValue(){this.formAssociation.setFormAssociatedValue(this.getModelValue())}getIcon(){let e=this.getRenderProp(`icons`);return this.getRenderProp(`indeterminate`)?e.indeterminate:this.getRenderProp(`checked`)?e.checked:e.unchecked}getInputProps(){let e=this.getRenderProp(`shortKey`),{ariaDescribedBy:t,hasError:n}=this.getAria();return Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),value:this.getRenderProp(`value`),accessKey:this.getRenderProp(`accessKey`)||void 0,disabled:this.getRenderProp(`disabled`),name:this._name==null?void 0:this.getRenderProp(`name`),ariaDescribedBy:t,required:this.getRenderProp(`required`),checked:this.getRenderProp(`checked`),indeterminate:this.getRenderProp(`indeterminate`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)},e?{"aria-keyshortcuts":e}:{}),{class:B({"visually-hidden":this.getRenderProp(`variant`)===`button`}),ref:this.ctaRef,onBlur:this.handleCheckboxBlur,onChange:this.handleCheckboxChange,onFocus:this.handleFocus,onInput:this.handleCheckboxInput,onKeyDown:this.handleCheckboxKeyDown,"aria-invalid":n?`true`:void 0})}render(){let e=this.getRenderProp(`checked`),t=this.getRenderProp(`indeterminate`),n=this.getRenderProp(`variant`),r=this.getRenderProp(`accessKey`)||void 0,i=this.getRenderProp(`shortKey`)||void 0,a=this.getRenderProp(`required`);return A(j,{key:`8be2935826092ab2d8d0d5ba147a20c6c1e85e7b`},A(ah,Object.assign({key:`7e2565420223800ff51290462a973c226088d8cc`},this.getFormFieldProps({class:u_({checked:e,indeterminate:t,[`variant-${n}`]:!0,[`label-align-${this.getRenderProp(`labelAlign`)}`]:!0}),accessKey:r,shortKey:i,required:a,renderNoLabel:!0,renderNoTooltip:!0})),A(Zg,Object.assign({key:`02076338fff19fe0f4a5fd281ef67e7c07530059`,class:u_(`field-control`,{checked:e,indeterminate:t,[`variant-${n}`]:!0}),id:this.id,label:this.getRenderProp(`label`),hint:this.getRenderProp(`hint`),hideLabel:this.getRenderProp(`hideLabel`),labelAlign:this.getRenderProp(`labelAlign`),infoPopover:this.getInfoPopover(),accessKey:r,shortKey:i,tooltipAlign:this.getRenderProp(`tooltipAlign`),disabled:this.getRenderProp(`disabled`),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),required:a,renderNoHint:!0,labelProps:{onMouseDown:this.handleLabelMouseDown}},this.getLabelTooltipRefs()),A(c_,{key:`1ea5fb708e39e38bf80ce06a83e04269afb13ef3`,variant:n,icon:this.getIcon(),onMouseDown:this.handleCheckboxMouseDown,inputProps:this.getInputProps()}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_checked:[{watchChecked:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_indeterminate:[{watchIndeterminate:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-field-control { display: grid; min-height: var(--a11y-min-size); align-items: center; justify-content: left; grid-template-areas: "input label"; grid-template-columns: auto 1fr; grid-template-rows: auto; } .kol-field-control:has(.kol-field-control__hint) { grid-template-areas: "input label" "hint hint"; grid-template-columns: auto 1fr; grid-template-rows: auto auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label) { grid-template-areas: "label input"; grid-template-columns: 1fr auto; grid-template-rows: auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) { grid-template-areas: "label input" "hint hint"; grid-template-columns: 1fr auto; grid-template-rows: auto auto; } .kol-field-control__input { display: flex; min-height: var(--a11y-min-size); align-items: center; grid-area: input; } .kol-field-control__label { display: flex; min-height: var(--a11y-min-size); flex-grow: 1; align-items: center; cursor: pointer; grid-area: label; } .kol-field-control__label--visually-hidden { display: none; height: 0; margin: 0; padding: 0; visibility: hidden; } .kol-field-control__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-field-control__hint { grid-area: hint; } .kol-field-control--disabled .kol-field-control__label { cursor: not-allowed; } .kol-field-control--required .kol-field-control__label-text:has(.kol-span__slot[hidden])::after, .kol-field-control--required .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-form-field { display: grid; } .kol-form-field__label-text { display: ruby; } .kol-checkbox { display: flex; position: relative; align-items: center; cursor: pointer; } .kol-checkbox--disabled { cursor: not-allowed; } .kol-checkbox .kol-input { background-color: white; border-style: solid; margin: 0; border-width: 2px; appearance: none; cursor: inherit; } .kol-checkbox .kol-input:before { content: ""; } .kol-checkbox--variant-default { position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); justify-content: center; } .kol-checkbox--variant-default .kol-icon { display: none; position: absolute; inset: auto; z-index: 1; pointer-events: none; } .kol-checkbox--variant-default .kol-input { width: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon, .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon { display: block; } .kol-checkbox--variant-switch { position: relative; } .kol-checkbox--variant-switch .kol-input { display: inline-block; position: relative; width: 3.2em; min-width: 3.2em; height: 1.7em; } .kol-checkbox--variant-switch .kol-input::before { background-color: black; position: absolute; top: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); left: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); width: 1.2em; height: 1.2em; transition: 0.5s; } .kol-checkbox--variant-switch .kol-input:checked::before { transform: translateX(1.5em); } .kol-checkbox--variant-switch .kol-input:indeterminate::before { transform: translateX(0.75em); } .kol-checkbox--variant-switch .kol-icon { transform: translate(0, -50%); color: black; display: flex; position: absolute; top: 50%; left: calc(4 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; width: 1.2em; height: 1.2em; align-items: center; justify-content: center; transition: 0.5s; } .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon { transform: translate(1.5em, -50%); } .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon { transform: translate(0.75em, -50%); } .kol-checkbox--variant-button { min-width: var(--a11y-min-size); } .kol-checkbox--variant-button .kol-icon { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } }`}}},[545,`kol-input-checkbox`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_checked:[1540],_disabled:[4],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_indeterminate:[1540],_infoPopover:[16],_label:[1],_labelAlign:[1,`_label-align`],_msg:[1],_name:[1],_on:[16],_required:[4],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[8],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_checked:[{watchChecked:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_indeterminate:[{watchIndeterminate:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);function f_(){typeof customElements<`u`&&[`kol-input-checkbox`].forEach((e=>{e===`kol-input-checkbox`&&(customElements.get(N(e))||customElements.define(N(e),d_))}))}yl([H(`ctaRef`)],d_.prototype,`focus`,null),yl([U(`ctaRef`)],d_.prototype,`click`,null);var p_=d_,m_=f_,h_=z(`autoComplete`,`off`,R,(e=>e.length>0)),g_=e=>{var{id:t,suggestions:n}=e,r=vl(e,[`id`,`suggestions`]);return n?A(`datalist`,Object.assign({id:wu(t,`list`)},r),n.map((e=>A(`option`,{value:e})))):null},__={required:[...Qm.required],optional:[...Qm.optional,Iu,h_,vh,Ku,vp,Oh,Dh,Xu]},v_=P.forBlock(`kol-input-color`),y_=M(class extends sh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-color`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.propsConfig=__,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.handleColorInput=e=>{let t=e.target.value;this.setRenderProp(`value`,t),this.ctaRef.el&&(this.ctaRef.el.value=t),this.handleInput(e)},this.initFormAssociation(`color`,this._name)}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){h_.apply(e,(e=>this.setRenderProp(`autoComplete`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchSmartButton(e){e==null?this.unsetRenderProp(`smartButton`):vp.apply(e,(e=>this.setRenderProp(`smartButton`,e)))}watchSuggestions(e){Dh.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){Oh.apply(e,(e=>this.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`))}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchSuggestions(this._suggestions),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getInputProps(){let e=this.id,t=this.getRenderProp(`name`),n=this.getRenderProp(`accessKey`),r=this.getRenderProp(`shortKey`),i=this.getRenderProp(`suggestions`),{ariaDescribedBy:a,hasError:o}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:t?t+`-color`:void 0},n?{accessKey:n}:{}),{value:this.getRenderProp(`value`),autoComplete:this.getRenderProp(`autoComplete`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),r?{"aria-keyshortcuts":r}:{}),{suggestions:i.length>0?A(g_,{id:e,suggestions:i}):void 0,class:v_(`input`,{color:!0}),onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleColorInput,onKeyDown:this.handleKeyDown,ref:this.ctaRef,type:`color`,ariaDescribedBy:a,"aria-invalid":o?`true`:void 0})}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=bh({icons:this.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.getRenderProp(`smartButton`),e)});return A(j,{key:`04920b466cc10297c55854f104440493c99d6a36`},A(ah,Object.assign({key:`23464fa6e7acba8dc9974f77fdba90ecd5928fd1`},this.getFormFieldProps({class:v_(),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`)})),A(wh,{key:`ee2e327dc94db1e0e27b2512f7f060b653d2e7ef`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},A(kh,Object.assign({key:`380c06473b51d27fcd88f40acec7a59c94c399a1`},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: pointer; } .kol-input:disabled { cursor: not-allowed; } }`}}},[545,`kol-input-color`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],y_.prototype,`focus`,null),yl([U(`ctaRef`)],y_.prototype,`click`,null);var b_=y_,x_=function(){typeof customElements<`u`&&[`kol-input-color`].forEach((e=>{e===`kol-input-color`&&(customElements.get(N(e))||customElements.define(N(e),y_))}))},S_=z(`readOnly`,!1,Pc),C_=z(`step`,void 0,Nc),w_=[`date`,`datetime-local`,`month`,`time`,`week`],T_=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,E_=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,D_=/^\d{4}-([0]\d|1[0-2])/,O_=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,k_=/^\d{4}-W(?:[0-4]\d|5[0-3])$/;function A_(e,{type:t,step:n}){return function(e,t,n){if(typeof e==`string`||e===null)return e;if(e instanceof Date){let r=e.getFullYear(),i=(e.getMonth()+1+``).padStart(2,`0`),a=(e.getDate()+``).padStart(2,`0`),o=(e.getHours()+``).padStart(2,`0`),s=(e.getMinutes()+``).padStart(2,`0`),c=(e.getSeconds()+``).padStart(2,`0`),l=[r,i,a].join(`-`),u=[o,s,c].join(`:`);switch(t){case`date`:return l;case`datetime-local`:return`${l}T${u}`;case`month`:return`${r}-${i}`;case`time`:return n===void 0||n+``==`60`?`${o}:${s}`:u;case`week`:return`${r}-W${function(e){let t=new Date(e),n=(t.getDay()+6)%7;t.setDate(t.getDate()-n+3);let r=t.valueOf();return t.setMonth(0,1),t.getDay()!==4&&t.setMonth(0,1+(4-t.getDay()+7)%7),(``+(1+Math.ceil((r-t.valueOf())/6048e5))).padStart(2,`0`)}(e)}`}}}(e,t,n)}function j_(e,{type:t}){return e==null||e===``||function(e,t){switch(t){case`date`:return T_.test(e);case`datetime-local`:return E_.test(e);case`month`:return D_.test(e);case`time`:return O_.test(e);case`week`:return k_.test(e);default:return!1}}(e,t)}var M_=Hc(`max`,void 0,A_,j_),N_=Hc(`min`,void 0,A_,j_),P_=z(`type`,`date`,(function(e){let t=R(e);if(Ic(t,w_))return t;throw Error(`Invalid input date type: `+t)})),F_=Hc(`value`,void 0,A_,j_);function I_(e){return e instanceof Date?`Date`:typeof e==`string`?`String`:null}function L_(e,t){return e===``?null:t===`Date`?function(e){let t=R_.exec(e);return t?new Date(Number(t[1]),Number(t[2])-1,Number(t[3])):new Date(e)}(e):e}var R_=/^(\d{4})-(\d{2})-(\d{2})$/,z_={required:[...Qm.required],optional:[...Qm.optional,Iu,h_,vh,M_,N_,P_,F_,S_,Eh,Ku,vp,C_,Dh,Xu]},B_=P.forBlock(`kol-input-date`),V_=M(class extends sh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-date`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.hasValue=!1,this.ctaRef=Rl(),this.valueType=null,this.propsConfig=z_,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._step=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._type=`date`,this._value=void 0,this._variant=void 0,this.handleDateInput=e=>{let t=this.readValue(e);this._value=t,this.handleInput(e,t)},this.handleDateChange=e=>{let t=this.readValue(e);this.handleChange(e,t),this.hasValue=!!t},this.handleDateBlur=e=>{this.handleBlur(e);let t=e.target.value;!!t!=!!this._value&&(this._value=t)},this.handleDateKeyDown=e=>{this.handleKeyDown(e),lm(e,{form:this.host,ref:this.ctaRef.el}),this.getRenderProp(`readOnly`)&&e.code===`Space`&&e.preventDefault()},this.initFormAssociation(`date`,this._name)}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){h_.apply(e,(e=>this.setRenderProp(`autoComplete`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMax(e){M_.apply(e,(e=>this.setRenderProp(`max`,e)),this.dateDeps)}watchMin(e){N_.apply(e,(e=>this.setRenderProp(`min`,e)),this.dateDeps)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchReadOnly(e){S_.apply(e,(e=>this.setRenderProp(`readOnly`,e)))}watchRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchSmartButton(e){e==null?this.unsetRenderProp(`smartButton`):vp.apply(e,(e=>this.setRenderProp(`smartButton`,e)))}watchStep(e){C_.apply(e,(e=>this.setRenderProp(`step`,e)))}watchSuggestions(e){Dh.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchType(e){P_.apply(e,(e=>this.setRenderProp(`type`,e)))}watchValue(e){e instanceof Date&&Ji("Date type will be removed in v3. Use `Iso8601` instead."),F_.apply(e,(e=>this.setRenderProp(`value`,e)),this.dateDeps),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`)??null),e!=null&&(this.valueType=I_(e))}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el&&L_(this.ctaRef.el.value,this.valueType))}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.setRenderProp(`value`,void 0),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(``),this.ctaRef.el&&(this.ctaRef.el.value=``),Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._value!==void 0&&(this.valueType=I_(this._value)),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMax(this._max),this.watchMin(this._min),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchStep(this._step),this.watchSuggestions(this._suggestions),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.hasValue=!!this.getRenderProp(`value`)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}get dateDeps(){return{type:this._type,step:this._step}}readValue(e){return L_(e.target.value,this.valueType)}getInputProps(){let e=this.id,t=this.getRenderProp(`accessKey`),n=this.getRenderProp(`shortKey`),r=this.getRenderProp(`suggestions`),{ariaDescribedBy:i,hasError:a}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0},t?{accessKey:t}:{}),{type:this.getRenderProp(`type`),value:this.getRenderProp(`value`)??(this._value===null?null:void 0),required:this.getRenderProp(`required`),autoComplete:this.getRenderProp(`autoComplete`),readonly:this.getRenderProp(`readOnly`),min:this.getRenderProp(`min`)??(this._min===null?null:void 0),max:this.getRenderProp(`max`)??(this._max===null?null:void 0),step:this.getRenderProp(`step`)??null,touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),n?{"aria-keyshortcuts":n}:{}),r.length>0?{suggestions:A(g_,{id:e,suggestions:r})}:{}),{ref:this.ctaRef,onBlur:this.handleDateBlur,onChange:this.handleDateChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleDateInput,onKeyDown:this.handleDateKeyDown,ariaDescribedBy:i,"aria-invalid":a?`true`:void 0})}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=bh({icons:this.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.getRenderProp(`smartButton`),e)});return A(j,{key:`ff7d319481531121e96ba4fad9af851648347f51`},A(ah,Object.assign({key:`44304501aeff4d5fe8dc31620598a8383e65a781`},this.getFormFieldProps({class:B(B_(),this.getRenderProp(`type`),{"has-value":this.hasValue}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`),required:this.getRenderProp(`required`),readOnly:this.getRenderProp(`readOnly`)})),A(wh,{key:`ec553365d2ecbc08a7c42891478fa6d6e5e4574e`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},A(kh,Object.assign({key:`692e58b240995845d3255c1891e95ad382319842`},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: text; } .kol-input::-webkit-calendar-picker-indicator { cursor: pointer; } }`}}},[545,`kol-input-date`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_max:[1],_min:[1],_msg:[1],_name:[1],_on:[16],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_step:[8],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_type:[1],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],hasValue:[32],getValue:[64],focus:[64],click:[64],reset:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],V_.prototype,`focus`,null),yl([U(`ctaRef`)],V_.prototype,`click`,null);var H_=V_,U_=function(){typeof customElements<`u`&&[`kol-input-date`].forEach((e=>{e===`kol-input-date`&&(customElements.get(N(e))||customElements.define(N(e),V_))}))},W_=z(`multiple`,!1,Pc),G_=z(`hasCounter`,!1,Pc),K_=z(`maxLength`,void 0,jc,(e=>e>=0)),q_=[`hard`,`soft`],J_=z(`maxLengthBehavior`,`hard`,(function(e){let t=R(e);if(Ic(t,q_))return t;throw Error(`Invalid max length behavior: ${t}`)})),Y_={optional:[G_,J_,K_]},X_=(e,t,n)=>{if(typeof t!=`number`)return G(`kol-character-counter-current`,{placeholders:{current:String(n)}});if(e===`soft`){let e=t-n;return e<0?G(`kol-character-limit-exceeded`,{placeholders:{over:String(Math.abs(e))}}):G(`kol-character-limit-remaining`,{placeholders:{remaining:String(e)}})}return G(`kol-character-counter-current-of-max-aria`,{placeholders:{current:String(n),max:String(t)}})},Z_=(e,t,n)=>e===`hard`&&typeof t==`number`&&n>=t?G(`kol-character-counter-max-aria`):``,Q_=class extends Uf{constructor(e){super(e,Y_),this.reannounceToggle=!1,this.setVisualRef=e=>{this.visualSpan=e},this.setAriaRef=e=>{this.ariaSpan=e},this.handleKeyDown=(e,t)=>{let{maxLength:n,maxLengthBehavior:r}=this.getLimit();r!==`hard`||typeof n!=`number`||t<n||(e=>e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey)(e)&&this.retriggerAria(t)}}componentWillLoad(e){this.watchHasCounter(e.hasCounter),this.watchMaxLength(e.maxLength),this.watchMaxLengthBehavior(e.maxLengthBehavior)}watchHasCounter(e){G_.apply(e,(e=>this.setRenderProp(`hasCounter`,e)))}watchMaxLength(e){K_.apply(e,(e=>this.setRenderProp(`maxLength`,e)))}watchMaxLengthBehavior(e){J_.apply(e,(e=>this.setRenderProp(`maxLengthBehavior`,e)))}hasCounter(){return!0===this.getRenderProp(`hasCounter`)}hasSoftLimit(){let{maxLength:e,maxLengthBehavior:t}=this.getLimit();return typeof e==`number`&&t===`soft`}getMaxLengthAttribute(){let{maxLength:e,maxLengthBehavior:t}=this.getLimit();return t===`hard`?e:void 0}getCounterProps(){if(!this.hasCounter())return;let{maxLength:e,maxLengthBehavior:t}=this.getLimit();return{maxLength:e,maxLengthBehavior:t,visualRef:this.setVisualRef,ariaRef:this.setAriaRef}}getCharacterLimitHintId(e){return typeof this.getRenderProp(`maxLength`)!=`number`||this.hasCounter()?void 0:wu(e,`character-limit-hint`)}update(e){let t=this.getLimit();this.updateVisual(e,t),clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(e,t)),1e3)}updateImmediate(e){let t=this.getLimit();this.updateVisual(e,t),clearTimeout(this.debounceTimer),this.updateAria(e,t)}retriggerAria(e){if(!this.ariaSpan)return;let t=this.getLimit();clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(e,t,!0)),1e3)}destroy(){clearTimeout(this.debounceTimer)}getLimit(){return{maxLength:this.getRenderProp(`maxLength`),maxLengthBehavior:this.getRenderProp(`maxLengthBehavior`)}}updateVisual(e,{maxLength:t,maxLengthBehavior:n}){this.visualSpan&&(this.visualSpan.innerText=((e,t,n)=>{if(typeof t!=`number`)return G(`kol-character-counter-current`,{placeholders:{current:String(n)}});if(e===`soft`){let e=t-n;return e<0?G(`kol-character-limit-exceeded`,{placeholders:{over:String(Math.abs(e))}}):G(`kol-character-limit-remaining`,{placeholders:{remaining:String(e)}})}return G(`kol-character-counter-current-of-max`,{placeholders:{current:String(n),max:String(t)}})})(n,t,e),this.visualSpan.classList.toggle(`kol-form-field__counter--exceeded`,n===`soft`&&typeof t==`number`&&e>t))}updateAria(e,{maxLength:t,maxLengthBehavior:n},r=!1){if(!this.ariaSpan)return;let i=[X_(n,t,e),Z_(n,t,e)].filter(Boolean).join(` `);r&&(this.reannounceToggle=!this.reannounceToggle,this.reannounceToggle&&(i+=`\xA0`)),this.ariaSpan.innerText=i}},$_=z(`pattern`,void 0,R),ev={required:[...Qm.required],optional:[...Qm.optional,Iu,h_,vh,$_,Th,S_,Eh,Ku,vp,Oh,Xu]},tv=class extends sh{constructor(){super(...arguments),this.ctaRef=Rl(),this.counter=new Q_(V.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=e=>{this._value=e.target.value,this.handleInput(e)},this.handleTextChange=(e,t)=>{this.handleChange(e,t)},this.handleTextFocus=e=>{this.handleFocus(e),this.counter.retriggerAria(this._value?.length??0)},this.handleTextKeyDown=e=>{this.handleKeyDown(e),this.counter.handleKeyDown(e,this.ctaRef.el?.value.length??0),lm(e,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=!!this.textShared.getRenderProp(`value`)}didLoadTextInput(){this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(this._value?.length??0)}didUpdateTextInput(){this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(this._value?.length??0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(e){Iu.apply(e,(e=>this.textShared.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}applyAutoComplete(e){h_.apply(e,(e=>this.textShared.setRenderProp(`autoComplete`,e)))}applyIcons(e){vh.apply(e,(e=>this.textShared.setRenderProp(`icons`,e)))}applyPattern(e){$_.apply(e,(e=>this.textShared.setRenderProp(`pattern`,e)))}applyPlaceholder(e){Th.apply(e,(e=>this.textShared.setRenderProp(`placeholder`,e)))}applyReadOnly(e){S_.apply(e,(e=>this.textShared.setRenderProp(`readOnly`,e)))}applyRequired(e){Eh.apply(e,(e=>this.textShared.setRenderProp(`required`,e)))}applyShortKey(e){Ku.apply(e,(e=>this.textShared.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}applySmartButton(e){e==null?this.textShared.unsetRenderProp(`smartButton`):vp.apply(e,(e=>this.textShared.setRenderProp(`smartButton`,e)))}applyValue(e){this.initValue(e),this.hasValue=!!this.textShared.getRenderProp(`value`),this.counter.update(e?.length??0)}initValue(e){Oh.apply(e,(e=>this.textShared.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp(`value`))}initMaxLength(e){this.counter.watchMaxLength(e)}applyVariant(e){Xu.apply(e,(e=>this.textShared.setRenderProp(`variant`,e)))}applyHasCounter(e){this.counter.watchHasCounter(e),this.needsImmediateCounterUpdate=!0}applyMaxLength(e){this.counter.watchMaxLength(e),this.counter.updateImmediate(this._value?.length??0)}applyMaxLengthBehavior(e){this.counter.watchMaxLengthBehavior(e),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(e){let t=this.textShared;return this.getFormFieldProps({class:B(e,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:t.getRenderProp(`accessKey`)||void 0,shortKey:t.getRenderProp(`shortKey`)||void 0,variant:t.getRenderProp(`variant`),required:t.getRenderProp(`required`),readOnly:t.getRenderProp(`readOnly`),maxLength:this.counter.getRenderProp(`maxLength`),counter:this.counter.getCounterProps()})}getTextInputAdornments(e){return bh({icons:this.textShared.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp(`smartButton`),this.textShared.getRenderProp(`disabled`)),endAdornment:e})}getTextInputProps({type:e,spellcheck:t,multiple:n,suggestions:r},i={}){let a=this.textShared,o=a.getState(`id`),s=a.getRenderProp(`accessKey`),c=a.getRenderProp(`shortKey`),l=a.getRenderProp(`placeholder`),u=a.getRenderProp(`pattern`),d=this.counter.getMaxLengthAttribute(),f=this.counter.getCharacterLimitHintId(o),{ariaDescribedBy:p,hasError:m}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:o,hideLabel:a.getRenderProp(`hideLabel`),label:a.getRenderProp(`label`),disabled:a.getRenderProp(`disabled`),name:a.getRenderProp(`name`)||void 0},s?{accessKey:s}:{}),e===void 0?{}:{type:e}),{value:a.getRenderProp(`value`),required:a.getRenderProp(`required`)}),d===void 0?{}:{maxlength:d}),l===void 0?{}:{placeholder:l}),{autoComplete:a.getRenderProp(`autoComplete`)}),t===void 0?{}:{spellcheck:t}),u===void 0?{}:{pattern:u}),{readonly:a.getRenderProp(`readOnly`)}),n===void 0?{}:{multiple:n}),{touched:a.getRenderProp(`touched`),msg:a.getRenderProp(`msg`)}),c?{"aria-keyshortcuts":c}:{}),r&&r.length>0?{suggestions:A(g_,{id:o,suggestions:r})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),i),{ariaDescribedBy:f?[...p,f]:p,"aria-invalid":m?`true`:void 0})}},nv={required:[...ev.required],optional:[...ev.optional,W_,Dh]},rv=P.forBlock(`kol-input-email`),iv=M(class extends tv{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-email`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.propsConfig=nv,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hasCounter=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._maxLengthBehavior=`hard`,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.initFormAssociation(`email`,this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){this.applyAutoComplete(e)}watchDisabled(e){this.applyDisabled(e)}watchHasCounter(e){this.applyHasCounter(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMaxLength(e){this.applyMaxLength(e)}watchMaxLengthBehavior(e){this.applyMaxLengthBehavior(e)}watchMsg(e){this.applyMsg(e)}watchMultiple(e){W_.apply(e,(e=>this.setRenderProp(`multiple`,e)))}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPattern(e){this.applyPattern(e)}watchPlaceholder(e){this.applyPlaceholder(e)}watchReadOnly(e){this.applyReadOnly(e)}watchRequired(e){this.applyRequired(e)}watchShortKey(e){this.applyShortKey(e)}watchSmartButton(e){this.applySmartButton(e)}watchSuggestions(e){Dh.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHasCounter(this._hasCounter),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant),this.initMaxLength(this._maxLength),this.watchMultiple(this._multiple),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchSuggestions(this._suggestions),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyTextInput()}render(){let{startAdornment:e,endAdornment:t}=this.getTextInputAdornments();return A(j,{key:`79195c324037b3906525e4b17a6111475adfe118`},A(ah,Object.assign({key:`ab7e545596b87d49a491d8bb5fd3bf4d0a956bce`},this.getTextFormFieldProps(B(rv(),`email`))),A(wh,{key:`80bbb5759b59738bc5f37fcdf9c8b548d931e539`,disabled:this.getRenderProp(`disabled`),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:e,endAdornment:t},A(kh,Object.assign({key:`39a5c57751e1e0383ef92a0b311294d1cc174a88`},this.getTextInputProps({multiple:this.getRenderProp(`multiple`),suggestions:this.getRenderProp(`suggestions`)},{type:`email`}))))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } }`}}},[545,`kol-input-email`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hasCounter:[4,`_has-counter`],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_maxLength:[2,`_max-length`],_maxLengthBehavior:[1,`_max-length-behavior`],_msg:[1],_multiple:[4],_name:[1],_on:[16],_pattern:[1],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],iv.prototype,`focus`,null),yl([U(`ctaRef`)],iv.prototype,`click`,null);var av=iv,ov=function(){typeof customElements<`u`&&[`kol-input-email`].forEach((e=>{e===`kol-input-email`&&(customElements.get(N(e))||customElements.define(N(e),iv))}))},sv=z(`accept`,void 0,R);function cv(e){if(e?.length)return Array.from(e).map((e=>e.name)).join(`, `)}var lv={required:[...Qm.required],optional:[...Qm.optional,sv,Iu,vh,W_,Eh,Ku,vp,Xu]},uv=P.forBlock(`kol-input-container`),dv=uv(`button`),fv=({filename:e,hasFile:t})=>A(`span`,{class:uv(`filename`,{"has-file":t})},e),pv=P.forBlock(`kol-input-file`),mv=M(class extends sh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-file`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.translateFilenameText=G(`kol-filename-text`),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.isDragover=!1,this.ctaRef=Rl(),this.translateDataBrowseText=G(`kol-data-browse-text`),this.browseButton=Nm((()=>this.host)),this.propsConfig=lv,this._accept=void 0,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._variant=void 0,this.handleFileChange=e=>{if(this.ctaRef.el instanceof HTMLInputElement&&this.ctaRef.el.type===`file`){let t=this.ctaRef.el.files;this.hasFileSelected=!!t?.length,this.filename=cv(t)??this.translateFilenameText,this.handleChange(e,t),this.formAssociation.setFormAssociatedValue(t)}},this.handleFileInput=e=>{this.ctaRef.el instanceof HTMLInputElement&&this.ctaRef.el.type===`file`&&this.handleInput(e,this.ctaRef.el.files)},this.isDisabled=()=>!0===this._disabled,this.handleDragOver=e=>{this.isDisabled()||(e.preventDefault(),this.isDragover=!0)},this.handleDragLeave=()=>{this.isDragover=!1},this.handleDrop=e=>{if(!this.isDisabled()&&(e.preventDefault(),this.ctaRef.el&&(this.isDragover=!1,e.dataTransfer?.files.length))){let t=e.dataTransfer.files;this.ctaRef.el.files=t,this.filename=cv(t)??this.translateFilenameText,this.formAssociation.setFormAssociatedValue(t),this.handleChange(e,t),this.handleInput(e,t)}},this.initFormAssociation(`file`,this._name)}watchAccept(e){sv.apply(e,(e=>this.setRenderProp(`accept`,e)))}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchMultiple(e){W_.apply(e,(e=>this.setRenderProp(`multiple`,e)))}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchSmartButton(e){e==null?this.unsetRenderProp(`smartButton`):vp.apply(e,(e=>this.setRenderProp(`smartButton`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el?.files)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.formAssociation.setFormAssociatedValue(``),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.ctaRef.el&&(this.ctaRef.el.value=``),Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAccept(this._accept),this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchMultiple(this._multiple),this.watchName(this._name),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant)}componentDidRender(){this.browseButton.syncListeners(),this.syncFormField()}disconnectedCallback(){this.browseButton.destroy(),this.destroyFormField()}getInputProps(){let e=this.getRenderProp(`accessKey`),t=this.getRenderProp(`shortKey`),{ariaDescribedBy:n,hasError:r}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0},e?{accessKey:e}:{}),{required:this.getRenderProp(`required`),multiple:this.getRenderProp(`multiple`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),t?{"aria-keyshortcuts":t}:{}),{ref:this.ctaRef,type:`file`,accept:this.getRenderProp(`accept`),onBlur:this.handleBlur,onChange:this.handleFileChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleFileInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:n,"aria-invalid":r?`true`:void 0})}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=bh({icons:this.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.getRenderProp(`smartButton`),e)});return A(j,{key:`17095471d38a2eb140dcaa15d14fd719b89f3bf8`},A(ah,Object.assign({key:`807efdfba9b092638b49fd659be361d5c9213456`},this.getFormFieldProps({class:B(pv(),`file`),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`),required:this.getRenderProp(`required`)})),A(wh,{key:`f38eb8f5ea542f9fda0aef345ba44489abf9e2af`,class:{"kol-input-container--is-dragover":this.isDragover},disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},A(fv,{key:`8aaf03b1b9bcc4b859278bb3b85ff5b0521adff2`,filename:this.filename,hasFile:this.hasFileSelected}),A(kh,Object.assign({key:`416abd1efeaa507058854e2b6b7b2a8c149af5b1`},this.getInputProps())),A(md,Object.assign({key:`d89bfb570ae4264cac0025dce4f4cdb8d659eea9`},this.browseButton.getFcProps({_label:this.translateDataBrowseText,_variant:`primary`,_disabled:e,_tabIndex:-1},{class:dv,"aria-hidden":`true`}))))))}get host(){return this}static get watchers(){return{_accept:[{watchAccept:0}],_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; } .kol-input::-webkit-file-upload-button, .kol-input::file-selector-button { cursor: pointer; } .kol-input:disabled, .kol-input:disabled::-webkit-file-upload-button, .kol-input:disabled::file-selector-button { cursor: not-allowed; pointer-events: none; } .kol-input-container__container { display: flex; overflow: hidden; align-items: center; } .kol-input-container__button { height: auto; } .kol-input-container__filename { overflow: hidden; flex-grow: 1; white-space: nowrap; text-overflow: ellipsis; } .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) { grid-template-columns: auto 1fr; } }`}}},[545,`kol-input-file`,{_accept:[1],_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_disabled:[4],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_multiple:[4],_name:[1],_on:[16],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],filename:[32],hasFileSelected:[32],isDragover:[32],getValue:[64],focus:[64],click:[64],reset:[64]},void 0,{_accept:[{watchAccept:0}],_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],mv.prototype,`focus`,null),yl([U(`ctaRef`)],mv.prototype,`click`,null);var hv=mv,gv=function(){typeof customElements<`u`&&[`kol-input-file`].forEach((e=>{e===`kol-input-file`&&(customElements.get(N(e))||customElements.define(N(e),mv))}))},_v=z(`max`,void 0,Nc),vv=z(`min`,void 0,Nc),yv=z(`value`,void 0,Nc);function bv(e){return aa(e)?`NumberString`:typeof e!=`number`||isNaN(e)?`null`:`number`}function xv(e,t){return e==null?null:t===`NumberString`?String(e):e}function Sv(e){return e===``?null:Number(e)}function Cv(e,t,n){let r=parseFloat(e);return n&&r>n?n:t&&r<t?t:r}var wv={required:[...Qm.required],optional:[...Qm.optional,Iu,h_,vh,_v,vv,yv,Th,S_,Eh,Ku,vp,C_,Dh,Xu]},Tv=P.forBlock(`kol-input-number`),Ev=Tv(`step-button`),Dv=e=>!0===(e?.classList)?.contains(Ev),Ov=M(class extends sh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-number`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.valueType=`null`,this.hasValue=!1,this.propsConfig=wv,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._step=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.handleNumberInput=e=>{this._value=this.readInputValue(),this.handleInput(e,this._value)},this.handleNumberChange=e=>{let t=this.readInputValue();this.handleChange(e,t),this.hasValue=!!t},this.handleNumberFocus=e=>{Dv(e.relatedTarget)||this.handleFocus(e)},this.handleNumberBlur=e=>{Dv(e.relatedTarget)||this.handleBlur(e)},this.handleNumberKeyDown=e=>{this.handleKeyDown(e),lm(e,{form:this.host,ref:this.ctaRef.el})},this.handleStepDown=e=>{this.step(e,`down`)},this.handleStepUp=e=>{this.step(e,`up`)},this.initFormAssociation(`number`,this._name)}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){h_.apply(e,(e=>this.setRenderProp(`autoComplete`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMax(e){_v.apply(e,(e=>this.setRenderProp(`max`,e)))}watchMin(e){vv.apply(e,(e=>this.setRenderProp(`min`,e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPlaceholder(e){Th.apply(e,(e=>this.setRenderProp(`placeholder`,e)))}watchReadOnly(e){S_.apply(e,(e=>this.setRenderProp(`readOnly`,e)))}watchRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchSmartButton(e){e==null?this.unsetRenderProp(`smartButton`):vp.apply(e,(e=>this.setRenderProp(`smartButton`,e)))}watchStep(e){C_.apply(e,(e=>this.setRenderProp(`step`,e)))}watchSuggestions(e){Dh.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){yv.apply(e,(e=>this.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`)??null),e!=null&&(this.valueType=bv(e))}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.remapValue(this.getRenderProp(`value`)))}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMax(this._max),this.watchMin(this._min),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchStep(this._step),this.watchSuggestions(this._suggestions),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant),this.hasValue=!!this.getRenderProp(`value`)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}remapValue(e){return xv(e,this.valueType)}readInputValue(){return this.remapValue(Sv(this.ctaRef.el?.value))}step(e,t){var n,r,i;t===`up`?(n=this.ctaRef.el)==null||n.stepUp():(r=this.ctaRef.el)==null||r.stepDown(),this._value=this.readInputValue(),this.handleInput(e,this._value),this.handleChange(e,this._value),this.hasValue=!!this._value,(i=this.ctaRef.el)==null||i.focus()}renderStepButton(e){return this._disabled||this._readOnly||ti(`inputNumberButtons`,this.host)===`hide`?null:A(`button`,{type:`button`,"aria-hidden":`true`,tabIndex:-1,class:`${Ev} ${Ev}-${e} kol-input-container__smart-button`,onClick:e===`up`?this.handleStepUp:this.handleStepDown,disabled:this._disabled||this._readOnly},A(Ul,{icons:e===`up`?`kolicon-plus`:`kolicon-minus`,label:``}))}getInputProps(){let e=this.id,t=this.getRenderProp(`accessKey`),n=this.getRenderProp(`placeholder`),r=this.getRenderProp(`shortKey`),i=this.getRenderProp(`suggestions`),{ariaDescribedBy:a,hasError:o}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0},t?{accessKey:t}:{}),{value:this.getRenderProp(`value`)??null,required:this.getRenderProp(`required`)}),n===void 0?{}:{placeholder:n}),{autoComplete:this.getRenderProp(`autoComplete`),readonly:this.getRenderProp(`readOnly`),min:this.getRenderProp(`min`)??null,max:this.getRenderProp(`max`)??null,step:this.getRenderProp(`step`)??null,touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),r?{"aria-keyshortcuts":r}:{}),i.length>0?{suggestions:A(g_,{id:e,suggestions:i})}:{}),{ref:this.ctaRef,type:`number`,onBlur:this.handleNumberBlur,onChange:this.handleNumberChange,onClick:this.handleClick,onFocus:this.handleNumberFocus,onInput:this.handleNumberInput,onKeyDown:this.handleNumberKeyDown,ariaDescribedBy:a,"aria-invalid":o?`true`:void 0})}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=bh({icons:this.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.getRenderProp(`smartButton`),e),startAdornment:this.renderStepButton(`down`),endAdornment:this.renderStepButton(`up`)});return A(j,{key:`689dc63dc93d7b56ada8e0ee46b73486b6f9eef7`},A(ah,Object.assign({key:`459f33bba406670ce669e344bcc841d24f6dc44d`},this.getFormFieldProps({class:B(Tv(),`number`,{"has-value":this.hasValue}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`),required:this.getRenderProp(`required`),readOnly:this.getRenderProp(`readOnly`)})),A(wh,{key:`505059c2ebf483115497b1b304a58669be470b84`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},A(kh,Object.assign({key:`ac7a39324e3f05b62800f236c58f222ed0cac1c1`},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-input-number input { appearance: textfield; text-align: right; } .kol-input-number input::-webkit-inner-spin-button { display: none; } }`}}},[545,`kol-input-number`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_max:[8],_min:[8],_msg:[1],_name:[1],_on:[16],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_step:[8],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);function kv(){typeof customElements<`u`&&[`kol-input-number`].forEach((e=>{e===`kol-input-number`&&(customElements.get(N(e))||customElements.define(N(e),Ov))}))}yl([H(`ctaRef`)],Ov.prototype,`focus`,null),yl([U(`ctaRef`)],Ov.prototype,`click`,null);var Av=Ov,jv=kv,Mv=z(`visibilityToggle`,!1,Pc),Nv={required:[...ev.required],optional:[...ev.optional,Mv]},Pv=P.forBlock(`kol-input-password`),Fv=M(class extends tv{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-password`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.passwordVisible=!1,this.visibilityToggle=Nm((()=>this.host)),this.translateHidePassword=G(`kol-hide-password`),this.translateShowPassword=G(`kol-show-password`),this.propsConfig=Nv,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hasCounter=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._maxLengthBehavior=`hard`,this._msg=void 0,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this._visibilityToggle=!1,this.handleVisibilityToggle=()=>{var e;this.passwordVisible=!this.passwordVisible,(e=this.ctaRef.el)==null||e.focus()},this.initFormAssociation(`password`,this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){this.applyAutoComplete(e),e===`on`&&Xi(`[KolInputPassword] The 'autocomplete' option should not be set to "on" for a password input field`)}watchDisabled(e){this.applyDisabled(e)}watchHasCounter(e){this.applyHasCounter(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMaxLength(e){this.applyMaxLength(e)}watchMaxLengthBehavior(e){this.applyMaxLengthBehavior(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPattern(e){this.applyPattern(e)}watchPlaceholder(e){this.applyPlaceholder(e)}watchReadOnly(e){this.applyReadOnly(e)}watchRequired(e){this.applyRequired(e)}watchShortKey(e){this.applyShortKey(e)}watchSmartButton(e){this.applySmartButton(e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}watchVisibilityToggle(e){Mv.apply(e,(e=>this.setRenderProp(`visibilityToggle`,e)))}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}connectedCallback(){super.connectedCallback(),this.visibilityToggle.syncListeners()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHasCounter(this._hasCounter),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant),this.initMaxLength(this._maxLength),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchVisibilityToggle(this._visibilityToggle),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField(),this.visibilityToggle.syncListeners()}disconnectedCallback(){this.visibilityToggle.destroy(),this.destroyTextInput()}getVisibilityToggle(){return this.getRenderProp(`visibilityToggle`)?A(md,Object.assign({},this.visibilityToggle.getFcProps({_label:this.passwordVisible?this.translateHidePassword:this.translateShowPassword,_icons:this.passwordVisible?`kolicon-eye-closed`:`kolicon-eye`,_hideLabel:!0,_disabled:this._disabled,_on:{onClick:this.handleVisibilityToggle}},{class:B(Pv(`password-toggle-button`),`kol-input-container__smart-button`)}))):null}render(){let{startAdornment:e,endAdornment:t}=this.getTextInputAdornments(this.getVisibilityToggle());return A(j,{key:`ffbeeaa6e3a3a723e51878b1bf337e3345c8b4d9`},A(ah,Object.assign({key:`96cc67c402c93e427bad7a4840c0ba1384b45457`},this.getTextFormFieldProps(B(Pv(),`password`))),A(wh,{key:`5a7c4c93aa2984b9dd8bd104c5d90cccb15b6d92`,disabled:this.getRenderProp(`disabled`),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:e,endAdornment:t},A(kh,Object.assign({key:`4cc992f654c1132cd38acbf09695bc690c135930`},this.getTextInputProps({},{type:this.getRenderProp(`visibilityToggle`)&&this.passwordVisible?`text`:`password`}))))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}],_visibilityToggle:[{watchVisibilityToggle:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-input-password { --kol-tooltip-width: calc(160 * 1rem / var(--kolibri-root-font-size, 16)); } }`}}},[545,`kol-input-password`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hasCounter:[4,`_has-counter`],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_maxLength:[2,`_max-length`],_maxLengthBehavior:[1,`_max-length-behavior`],_msg:[1],_name:[1],_on:[16],_pattern:[1],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1025],_variant:[1],_visibilityToggle:[4,`_visibility-toggle`],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],passwordVisible:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}],_visibilityToggle:[{watchVisibilityToggle:0}]}]);yl([H(`ctaRef`)],Fv.prototype,`focus`,null),yl([U(`ctaRef`)],Fv.prototype,`click`,null);var Iv=Fv,Lv=function(){typeof customElements<`u`&&[`kol-input-password`].forEach((e=>{e===`kol-input-password`&&(customElements.get(N(e))||customElements.define(N(e),Fv))}))},Rv=(e,t,n=``)=>{t.forEach(((t,r)=>{let i=`${n}-${r}`;typeof t==`object`&&t&&typeof t.label==`string`&&t.label.length>0&&(Array.isArray(t.options)?Rv(e,t.options,i):e.set(i,t))}))},zv=e=>e.map((e=>typeof e==`object`&&e&&typeof e.label==`string`?Object.assign(Object.assign({},e),{value:e.value??e.label}):e)),Bv=e=>{let t=(e=>typeof e==`object`&&e?e.label:void 0)(e);return typeof t==`string`&&t.length>0||typeof t==`number`&&Number.isFinite(t)};function Vv(){return z(`options`,[],(e=>{let t=typeof e==`string`?Aa(e):e;if(Array.isArray(t)&&t.every(Bv)){let e=t;return e.some((e=>typeof e.label==`number`))?e.map((e=>Object.assign(Object.assign({},e),{label:String(e.label)}))):e}throw Error(`Invalid options`)}))}var Hv=[`horizontal`,`vertical`];function Uv(e){let t=R(e);if(Hv.includes(t))return t;throw Error(`Invalid orientation: ${t}`)}var Wv=z(`orientation`,`horizontal`,Uv),Gv=Vv(),Kv=z(`orientation`,`vertical`,Uv),qv=z(`value`,null,(e=>Array.isArray(e)?e[0]:e)),Jv=P.forBlock(`kol-input-radio`),Yv=e=>{var{class:t,inputProps:n}=e,r=vl(e,[`class`,`inputProps`]);let{class:i}=n,a=vl(n,[`class`]);return A(sl,Object.assign({component:`label`,block:`kol-input-radio`,modifiers:Object.assign({checked:!!n.checked,disabled:!!n.disabled,required:!!n.required,touched:!!n.touched},Um(n.msg,n.touched)?{[Wm(n.msg)]:!0}:{}),class:t},r),A(kh,Object.assign({class:B(Jv(`input`),i)},a,{type:`radio`})))},Xv={required:[...Qm.required],optional:[...Qm.optional,Gv,Kv,qv,Eh,Xu]},Zv=M(class extends sh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-radio`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.inputRefs=new Map,this.keyOptionMap=new Map,this.optionTooltips=new Map,this.propsConfig=Xv,this._ariaDetails=void 0,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._options=void 0,this._orientation=`vertical`,this._required=!1,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=null,this._variant=void 0,this.setSelectedInputRef=e=>{this.inputRef=e},this.setOptionInputRef=e=>t=>{t?this.inputRefs.set(e,t):this.inputRefs.delete(e)},this.handleRadioInput=e=>{let t=this.getOptionOfEvent(e);t!==void 0&&this.handleInput(e,t.value)},this.handleRadioChange=e=>{let t=this.getOptionOfEvent(e);t!==void 0&&(this.handleChange(e,t.value),this._value=t.value)},this.handleRadioKeyDown=e=>{this.handleKeyDown(e),lm(e,{form:this.host,ref:this.inputRef})},this.initFormAssociation(`radio`,this._name)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchOptions(e){Gv.apply(e,(e=>{this.setRenderProp(`options`,e),e.length>0&&(this.keyOptionMap.clear(),Rv(this.keyOptionMap,zv(e)))}))}watchOrientation(e){Kv.apply(e,(e=>this.setRenderProp(`orientation`,e)))}watchRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){e==null?this.setRenderProp(`value`,e):qv.apply(e,(e=>this.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`))}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this._value)}async focus(e){return Al(this.host,(()=>Pl(this.getFocusableInput(),e)))}async click(){return Fl(this.host,(async()=>Ll(this.getFocusableInput())))}componentWillLoad(){this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchOptions(this._options),this.watchOrientation(this._orientation),this.watchRequired(this._required),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField(),this.optionTooltips.forEach((e=>e.destroy())),this.optionTooltips.clear()}isOptionSelected(e){return this.getRenderProp(`value`)===(e.value??e.label)}getFocusableInput(){let e=this.getRenderProp(`options`),t=!!this.getRenderProp(`disabled`),n=e.findIndex((e=>this.isOptionSelected(e)&&!t&&!e.disabled));if(n!==-1){let e=this.inputRefs.get(n);if(e)return e}let r=e.findIndex((e=>!t&&!e.disabled));if(r!==-1)return this.inputRefs.get(r)}getOptionOfEvent(e){return e.target instanceof HTMLInputElement?this.keyOptionMap.get(e.target.value):void 0}getOptionTooltipRefs(e,t){let n=this.optionTooltips.get(e);Xg({hideLabel:this.getRenderProp(`hideLabel`),label:t})?(n||(n=new Gf(V.stateLess),n.componentWillLoad({label:``}),this.optionTooltips.set(e,n)),n.watchAlign(this.getRenderProp(`tooltipAlign`)),n.watchBadgeText(``),n.watchId(wu(e,`label`)),n.watchLabel(t)):n&&=(n.destroy(),this.optionTooltips.delete(e),void 0);let r=n;return{refInput:e=>{r&&e&&(r.initContext(e),r.syncListeners(void 0,e,!0))},refTooltip:e=>{r?.setTooltipElementRef(e)}}}isOptionDisabled(e){return!!this.getRenderProp(`disabled`)||!!e.disabled}getInputProps(e,t,n,r){let{hasError:i}=this.getAria(),a=this.getRenderProp(`hideLabel`);return{id:t,hideLabel:a,label:this.getRenderProp(`label`),value:`-`+n,disabled:this.isOptionDisabled(e),name:this.getRenderProp(`name`)||this.id,required:this.getRenderProp(`required`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`),ref:e=>{this.setOptionInputRef(n)(e),r&&this.setSelectedInputRef(e)},"aria-label":a&&typeof e.label==`string`?e.label:void 0,type:`radio`,checked:r,onBlur:this.handleBlur,onChange:this.handleRadioChange,onFocus:this.handleFocus,onInput:this.handleRadioInput,onKeyDown:this.handleRadioKeyDown,"aria-invalid":i?`true`:void 0}}renderOption(e,t){let n=wu(this.id,t+``),r=this.isOptionSelected(e),i=e.label;return A(Zg,Object.assign({key:n,id:n,label:i,hint:e.hint,hideLabel:this.getRenderProp(`hideLabel`),tooltipAlign:this.getRenderProp(`tooltipAlign`),disabled:this.isOptionDisabled(e),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),required:!1,labelProps:{showBadge:!1}},this.getOptionTooltipRefs(n,i)),A(Yv,{inputProps:this.getInputProps(e,n,t,r)}))}render(){let{ariaDescribedBy:e}=this.getAria();return A(j,{key:`b27e96d4e2dab442816b49f2358a105489a18a85`},A(ah,Object.assign({key:`c4cfe589ee07361f62f2ea87fbfbe08c6eef794c`},this.getFormFieldProps({class:`kol-form-field--radio`,required:this.getRenderProp(`required`),variant:this.getRenderProp(`variant`),renderNoTooltip:!0}),{component:`fieldset`,orientation:this.getRenderProp(`orientation`),hideLabel:!1,ariaDescribedBy:e.length>0?e.join(` `):void 0}),this.getRenderProp(`options`).map(((e,t)=>this.renderOption(e,t)))))}get host(){return this}static get watchers(){return{_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_orientation:[{watchOrientation:0}],_required:[{watchRequired:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-field-control { display: grid; min-height: var(--a11y-min-size); align-items: center; justify-content: left; grid-template-areas: "input label"; grid-template-columns: auto 1fr; grid-template-rows: auto; } .kol-field-control:has(.kol-field-control__hint) { grid-template-areas: "input label" "hint hint"; grid-template-columns: auto 1fr; grid-template-rows: auto auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label) { grid-template-areas: "label input"; grid-template-columns: 1fr auto; grid-template-rows: auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) { grid-template-areas: "label input" "hint hint"; grid-template-columns: 1fr auto; grid-template-rows: auto auto; } .kol-field-control__input { display: flex; min-height: var(--a11y-min-size); align-items: center; grid-area: input; } .kol-field-control__label { display: flex; min-height: var(--a11y-min-size); flex-grow: 1; align-items: center; cursor: pointer; grid-area: label; } .kol-field-control__label--visually-hidden { display: none; height: 0; margin: 0; padding: 0; visibility: hidden; } .kol-field-control__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-field-control__hint { grid-area: hint; } .kol-field-control--disabled .kol-field-control__label { cursor: not-allowed; } .kol-field-control--required .kol-field-control__label-text:has(.kol-span__slot[hidden])::after, .kol-field-control--required .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-form-field { --border-width: 2px; --input-size: 1.5em; } .kol-form-field__label { display: contents; } .kol-form-field__label-text { display: ruby; } .kol-form-field__input { display: flex; flex-direction: column; } .kol-form-field__input--orientation-horizontal { flex-direction: row; flex-wrap: wrap; align-items: flex-start; } .kol-form-field--disabled { opacity: unset; } .kol-input-radio { display: flex; position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: pointer; } .kol-input-radio__input { border-style: solid; border-radius: 100%; display: flex; width: var(--input-size); min-width: var(--input-size); height: var(--input-size); min-height: var(--input-size); margin: 0; padding: 0; border-width: var(--border-width); appearance: none; cursor: pointer; } .kol-input-radio__input:before { border-radius: 100%; width: calc(var(--input-size) / 2); height: calc(var(--input-size) / 2); margin: auto; content: ""; } .kol-input-radio__input:checked:before { background-color: black; } @media (forced-colors: active) { .kol-input-radio__input:checked:before { background-color: selectedItem !important; } } .kol-input-radio__input:disabled { cursor: not-allowed; } .kol-input-radio--disabled { cursor: not-allowed; } }`}}},[545,`kol-input-radio`,{_ariaDetails:[1,`_aria-details`],_disabled:[4],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_options:[1],_orientation:[1],_required:[4],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_orientation:[{watchOrientation:0}],_required:[{watchRequired:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]),Qv=Zv,$v=function(){typeof customElements<`u`&&[`kol-input-radio`].forEach((e=>{e===`kol-input-radio`&&(customElements.get(N(e))||customElements.define(N(e),Zv))}))},ey={required:[...Qm.required],optional:[...Qm.optional,Iu,h_,vh,_v,vv,yv,Ku,C_,Dh,Xu]},ty=P.forBlock(`kol-input-range`),ny=ty(`input`,{number:!0}),ry=ty(`input`,{range:!0}),iy=ty(`inputs-wrapper`),ay=({max:e,min:t},n)=>A(`div`,{class:iy,style:{"--kolibri-input-range--input-number--width":`calc(${Math.max(((e??100)+``).length,((t??0)+``).length,4)}ch + 2em)`}},n),oy=M(class extends sh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-range`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.valueIsNumberString=!1,this.propsConfig=ey,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._max=100,this._min=0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._step=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.handleRangeInput=e=>{let t=e.target,n=this.readValue(t.value);t===this.rangeRef?this._value=n:this.rangeRef&&Number.isFinite(Number(n))&&(this.rangeRef.value=n+``),this.handleInput(e,n)},this.handleRangeChange=e=>{let t=this.readValue(e.target.value);this._value=t,this.handleChange(e,t)},this.handleNumberKeyDown=e=>{this.handleKeyDown(e),lm(e,{form:this.host,ref:this.ctaRef.el})},this.setRangeRef=e=>{e&&(this.rangeRef=e)},this.initFormAssociation(`range`,this._name)}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){h_.apply(e,(e=>this.setRenderProp(`autoComplete`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMax(e){_v.apply(e,(e=>this.setRenderProp(`max`,e)))}watchMin(e){vv.apply(e,(e=>this.setRenderProp(`min`,e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchStep(e){C_.apply(e,(e=>this.setRenderProp(`step`,e)))}watchSuggestions(e){Dh.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){yv.apply(e,(e=>this.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`)??null),e!==void 0&&(this.valueIsNumberString=bv(e)===`NumberString`)}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el===void 0?void 0:this.readValue(this.ctaRef.el.value))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.setRenderProp(`min`,0),this.setRenderProp(`max`,100),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMax(this._max),this.watchMin(this._min),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchStep(this._step),this.watchSuggestions(this._suggestions),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}componentDidLoad(){var e;!this._value&&(e=this.rangeRef)!=null&&e.value&&(this._value=parseFloat(this.rangeRef.value))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}readValue(e){let t=Cv(e,this.getRenderProp(`min`),this.getRenderProp(`max`));return xv(t,this.valueIsNumberString?`NumberString`:`number`)??t}getSharedInputProps(){let e=this.getRenderProp(`accessKey`),t=this.getRenderProp(`shortKey`);return Object.assign(Object.assign(Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:void 0},e?{accessKey:e}:{}),{value:this.getRenderProp(`value`)??null,autoComplete:this.getRenderProp(`autoComplete`),min:this.getRenderProp(`min`)??null,max:this.getRenderProp(`max`)??null,step:this.getRenderProp(`step`)??null,touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),t?{"aria-keyshortcuts":t}:{}),{onBlur:this.handleBlur,onChange:this.handleRangeChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleRangeInput,onKeyDown:this.handleKeyDown})}render(){let e=this.getRenderProp(`disabled`),t=this.getRenderProp(`name`),n=this.getRenderProp(`min`),r=this.getRenderProp(`max`),i=this.getRenderProp(`suggestions`),a=i.length>0,o=a?wu(this.id,`list`):void 0,s=this.getSharedInputProps(),{ariaDescribedBy:c,hasError:l}=this.getAria(),u=l?`true`:void 0,{startAdornment:d,endAdornment:f}=bh({icons:this.getRenderProp(`icons`)});return A(j,{key:`134f4ba3c40938bc9683d8b96ba1ab0484e79fd9`},A(ah,Object.assign({key:`f940f84a29821350f7d4409b9be35c018df4a347`},this.getFormFieldProps({class:`kol-input-range range`,accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`)})),A(wh,{key:`b2f6dbb49026d12497833276f5cdc4fe14c66e90`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:d,endAdornment:f},A(ay,{key:`c3c8a14856503681db22ecbc69d48b2cad104520`,max:r,min:n},A(kh,Object.assign({key:`363cbf9789fb78eb10ebb34edef59533b26ea301`},s,{class:ry,name:t?t+`-range`:void 0,list:o,type:`range`,tabIndex:-1,id:void 0,accessKey:void 0,"aria-hidden":`true`,ref:this.setRangeRef,ariaDescribedBy:c,"aria-invalid":u})),A(kh,Object.assign({key:`f96c5c20fa4f8d58e0ed6770ea8daabf30dd23ba`},s,{class:ny,name:t?t+`-number`:void 0,list:o,type:`number`,ref:this.ctaRef,onKeyDown:this.handleNumberKeyDown,ariaDescribedBy:c,"aria-invalid":u}))),a&&A(g_,{key:`b675c2f2af84f29ab933f8e874422db42c083e99`,id:this.id,suggestions:i}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input-range__inputs-wrapper { display: flex; flex-grow: 1; flex-direction: row; flex-wrap: wrap; align-items: center; } .kol-input-range__input--number { width: var(--kolibri-input-range--input-number--width); text-align: right; } .kol-input-range__input--range { background-color: white; display: inline-block; width: 0; min-width: calc(128 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; flex-grow: 1; line-height: 1.5; appearance: none; border: 1px solid black; } .kol-input-range__input:not(:disabled).kol-input-range__input--range::-webkit-slider-thumb { cursor: pointer; } .kol-input-range__input--range::-webkit-slider-thumb { background-color: black; border-radius: 20px; width: calc(20 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(20 * 1rem / var(--kolibri-root-font-size, 16)); -webkit-appearance: none; } @media (prefers-contrast: more) or (forced-colors: active) { .kol-input-range__input--range::-webkit-slider-thumb { outline: 1px solid currentColor; } } .kol-input-range__input:not(:disabled).kol-input-range__input--range::-moz-range-thumb { cursor: pointer; } .kol-input-range__input--range::-moz-range-thumb { background-color: black; border-radius: 20px; width: calc(20 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(20 * 1rem / var(--kolibri-root-font-size, 16)); -moz-appearance: none; } }`}}},[545,`kol-input-range`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_max:[8],_min:[8],_msg:[1],_name:[1],_on:[16],_shortKey:[1,`_short-key`],_step:[8],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],oy.prototype,`focus`,null),yl([U(`ctaRef`)],oy.prototype,`click`,null);var sy=oy,cy=function(){typeof customElements<`u`&&[`kol-input-range`].forEach((e=>{e===`kol-input-range`&&(customElements.get(N(e))||customElements.define(N(e),oy))}))},ly=z(`spellCheck`,void 0,Pc),uy=[`text`,`search`,`url`,`tel`],dy=z(`type`,`text`,(function(e){let t=R(e);if(Ic(t,uy))return t;throw Error(`Invalid input text type: `+t)})),fy={required:[...ev.required],optional:[...ev.optional,dy,ly,Dh]},py=P.forBlock(`kol-input-text`),my=M(class extends tv{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`input-text`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.clearButton=Nm((()=>this.host)),this.translateClearSearch=G(`kol-clear-search`),this.propsConfig=fy,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hasCounter=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._maxLengthBehavior=`hard`,this._msg=void 0,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._spellCheck=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._type=`text`,this._value=void 0,this._variant=void 0,this.handleClearButtonClick=()=>{var e;if(this._disabled||this._readOnly||!this.hasValue)return;let t={name:this.getRenderProp(`name`),value:``};this._value=``,this.ctaRef.el&&(this.ctaRef.el.value=``),this.handleInput(uo(F.input,t,this.ctaRef.el),``),this.handleTextChange(uo(F.change,t,this.ctaRef.el),``),(e=this.ctaRef.el)==null||e.focus()},this.initFormAssociation(`text`,this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){this.applyAutoComplete(e)}watchDisabled(e){this.applyDisabled(e)}watchHasCounter(e){this.applyHasCounter(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMaxLength(e){this.applyMaxLength(e)}watchMaxLengthBehavior(e){this.applyMaxLengthBehavior(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPattern(e){this.applyPattern(e)}watchPlaceholder(e){this.applyPlaceholder(e)}watchReadOnly(e){this.applyReadOnly(e)}watchRequired(e){this.applyRequired(e)}watchShortKey(e){this.applyShortKey(e)}watchSmartButton(e){this.applySmartButton(e)}watchSpellCheck(e){ly.apply(e,(e=>this.setRenderProp(`spellCheck`,e)))}watchSuggestions(e){Dh.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchType(e){dy.apply(e,(e=>this.setRenderProp(`type`,e)))}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}async selectionStart(){return Promise.resolve(this.ctaRef.el?.selectionStart)}async selectionEnd(){return Promise.resolve(this.ctaRef.el?.selectionEnd)}setSelectionRange(e,t,n){var r;return(r=this.ctaRef.el)==null||r.setSelectionRange(e,t,n),Promise.resolve()}setSelectionStart(e){var t;return(t=this.ctaRef.el)==null||t.setSelectionRange(e,e),Promise.resolve()}setRangeText(e,t,n,r){var i,a;return t!==void 0&&n!==void 0?(i=this.ctaRef.el)==null||i.setRangeText(e,t,n,r):(a=this.ctaRef.el)==null||a.setRangeText(e),Promise.resolve()}connectedCallback(){super.connectedCallback(),this.clearButton.syncListeners()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHasCounter(this._hasCounter),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant),this.initMaxLength(this._maxLength),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchSpellCheck(this._spellCheck),this.watchSuggestions(this._suggestions),this.watchType(this._type),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyTextInput()}getClearButton(){if(this._disabled||this.getRenderProp(`readOnly`)||this.getRenderProp(`type`)!==`search`)return null;let e=this.hasValue;return A(md,Object.assign({},this.clearButton.getFcProps({_label:this.translateClearSearch,_icons:`kolicon-cross`,_hideLabel:!0,_disabled:!e,_on:{onClick:this.handleClearButtonClick}},{class:B(py(`clear-button`),`kol-input-container__smart-button`,{"kol-input-text__clear-button--hidden":!e})})))}render(){let e=this.getRenderProp(`type`),{startAdornment:t,endAdornment:n}=this.getTextInputAdornments(this.getClearButton());return A(j,{key:`f48ef57af51fc15a47ba3482ecc09156b2b24a4c`},A(ah,Object.assign({key:`9fad960ba3da3a36c50794a8bc93b3064ec63957`},this.getTextFormFieldProps(B(py(),e))),A(wh,{key:`0c57be165937e1b79d87d221d9b3edc12b48957e`,disabled:this.getRenderProp(`disabled`),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},A(kh,Object.assign({key:`122d130f5ba9867a9364b5fdda5b1c81f194d464`},this.getTextInputProps({type:e,spellcheck:this.getRenderProp(`spellCheck`),suggestions:this.getRenderProp(`suggestions`)}))))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_spellCheck:[{watchSpellCheck:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } input[type=search]::-webkit-search-cancel-button { display: none; } .kol-input-text__clear-button--hidden { display: none; } }`}}},[545,`kol-input-text`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hasCounter:[4,`_has-counter`],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_maxLength:[2,`_max-length`],_maxLengthBehavior:[1,`_max-length-behavior`],_msg:[1],_name:[1],_on:[16],_pattern:[1],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_spellCheck:[4,`_spell-check`],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_type:[1],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64],selectionStart:[64],selectionEnd:[64],setSelectionRange:[64],setSelectionStart:[64],setRangeText:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_spellCheck:[{watchSpellCheck:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],my.prototype,`focus`,null),yl([U(`ctaRef`)],my.prototype,`click`,null);var hy=my,gy=function(){typeof customElements<`u`&&[`kol-input-text`].forEach((e=>{e===`kol-input-text`&&(customElements.get(N(e))||customElements.define(N(e),my))}))},_y=z(`labeled`,!0,Pc),vy={optional:[Jc,_y]},yy=P.forBlock(`kol-kolibri`),by=e=>{let{ariaLabel:t,color:n,labeled:r}=ll(vy,e),i=`rgb(${n.red},${n.green},${n.blue})`;return A(sl,{block:`kol-kolibri`,component:`svg`,role:`img`,"aria-label":t,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 600 600`,fill:i},A(`path`,{d:`M353 322L213 304V434L353 322Z`}),A(`path`,{d:`M209 564V304L149 434L209 564Z`}),A(`path`,{d:`M357 316L417 250L361 210L275 244L357 316Z`}),A(`path`,{d:`M329 218L237 92L250 222L272 241L329 218Z`}),A(`path`,{d:`M353 318L35 36L213 300L353 318Z`}),A(`path`,{d:`M391 286L565 272L421 252L391 286Z`}),!0===r&&A(`text`,{class:yy(`text`),x:`250`,y:`525`,fill:i},`KoliBri`))},xy=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.translateKolibriLogo=G(`kol-kolibri-logo`),this.propsConfig=vy,this._color=`#003c78`,this._labeled=!0}watchColor(e){Jc.apply(e,(e=>this.setRenderProp(`color`,e)))}watchLabeled(e){_y.apply(e,(e=>this.setRenderProp(`labeled`,e)))}componentWillLoad(){this.watchColor(this._color),this.watchLabeled(this._labeled)}render(){return A(j,{key:`0961aa40fefbb6308f1ba09de11064f66d7abd9d`},A(by,{key:`40c76fa10681e6f6ba1e0d7eccd75324546d89d4`,ariaLabel:this.translateKolibriLogo,color:this.getRenderProp(`color`),labeled:this.getRenderProp(`labeled`)}))}static get watchers(){return{_color:[{watchColor:0}],_labeled:[{watchLabeled:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-kolibri { display: inline-block; max-height: 100%; } .kol-kolibri__text { font-size: calc(90 * 1rem / var(--kolibri-root-font-size, 16)); letter-spacing: normal; word-spacing: normal; } }`}}},[545,`kol-kolibri`,{_color:[1],_labeled:[4]},void 0,{_color:[{watchColor:0}],_labeled:[{watchLabeled:0}]}]),Sy=xy,Cy=function(){typeof customElements<`u`&&[`kol-kolibri`].forEach((e=>{e===`kol-kolibri`&&(customElements.get(N(e))||customElements.define(N(e),xy))}))},wy=class extends V{constructor(){super(...arguments),this.ctaRef=Rl((()=>!0===this.getRenderProp(`disabled`))),this.tooltipBehavior=new Gf(this.stateAccess),this.propsConfig=Lp,this.handleAnchorClick=e=>{if(this.tooltipBehavior.hideTooltip(),!0===this.getRenderProp(`disabled`))return void e.preventDefault();let t=this.getRenderProp(`href`),n=this.getRenderProp(`on`);typeof n?.onClick==`function`&&(Da(e,this.ctaRef.el),n.onClick(e,t)),this.host&&I(this.host,F.click,t)},this.setAnchorRef=e=>{this.ctaRef(e)}}unsetLinkTabIndex(){this.unsetRenderProp(`tabIndex`)}initLinkBehaviors(){this.unsubscribeOnLocationChange=io((e=>{let t=this.getRenderProp(`href`),n=this.getRenderProp(`ariaCurrentValue`),r=e===t?n:``;this.getState(`ariaCurrent`)!==r&&this.setState(`ariaCurrent`,r)})),this.tooltipBehavior.componentWillLoad({label:this.getTooltipLabel(),align:this.getRenderProp(`tooltipAlign`)})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyLinkBehaviors(){this.unsubscribeOnLocationChange&&=(this.unsubscribeOnLocationChange(),void 0),this.tooltipBehavior.destroy()}getTooltipLabel(){let e=this.getRenderProp(`label`);if(typeof e==`string`&&e.length>0)return e;let t=this.getRenderProp(`href`);return typeof t==`string`?t:``}applyAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e)))}applyAriaControls(e){Ru.apply(e,(e=>this.setRenderProp(`ariaControls`,e)))}applyAriaCurrentValue(e){Np.apply(e,(e=>this.setRenderProp(`ariaCurrentValue`,e)))}applyAriaDescription(e){zu.apply(e,(e=>this.setRenderProp(`ariaDescription`,e)))}applyAriaExpanded(e){Bu.apply(e,(e=>this.setRenderProp(`ariaExpanded`,e)))}applyAriaOwns(e){Pp.apply(e,(e=>this.setRenderProp(`ariaOwns`,e)))}applyCustomClass(e){Vu.apply(e,(e=>this.setRenderProp(`customClass`,e)))}applyDisabled(e){Sl.apply(e,(e=>this.setRenderProp(`disabled`,e)))}applyDownload(e){Fp.apply(e,(e=>this.setRenderProp(`download`,e)))}applyHideLabel(e){Hu.apply(e,(e=>this.setRenderProp(`hideLabel`,e)))}applyHref(e){Ap.apply(e,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`))}applyIcons(e){qu.apply(e,(e=>this.setRenderProp(`icons`,e)))}applyInline(e){Uu.apply(e,(e=>this.setRenderProp(`inline`,e)))}applyLabel(e){td.apply(e,(t=>{this.setRenderProp(`label`,t),this.setState(`expertSlot`,e===``),this.tooltipBehavior.watchLabel(this.getTooltipLabel())}),this.isRequired(`label`))}applyOn(e){Ip.apply(e,(e=>this.setRenderProp(`on`,e)))}applyRole(e){Gu.apply(e,(e=>this.setRenderProp(`role`,e)))}applyShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e)))}applyTabIndex(e){typeof e==`number`?Ju.apply(e,(e=>this.setRenderProp(`tabIndex`,e))):this.unsetRenderProp(`tabIndex`)}applyTarget(e){jp.apply(e,(e=>this.setRenderProp(`target`,e)))}applyTooltipAlign(e){Yu.apply(e,(e=>{this.setRenderProp(`tooltipAlign`,e),this.tooltipBehavior.watchAlign(e)}))}applyVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}renderLinkFC(){return A(zp,{accessKey:this.getRenderProp(`accessKey`),ariaControls:this.getRenderProp(`ariaControls`),ariaCurrent:this.getState(`ariaCurrent`),ariaCurrentValue:this.getRenderProp(`ariaCurrentValue`),ariaDescription:this.getRenderProp(`ariaDescription`),ariaDescriptionId:this.getState(`ariaDescriptionId`),ariaExpanded:this.getRenderProp(`ariaExpanded`),ariaOwns:this.getRenderProp(`ariaOwns`),customClass:this.getRenderProp(`customClass`),disabled:this.getRenderProp(`disabled`),download:this.getRenderProp(`download`),handleAnchorClick:this.handleAnchorClick,hideLabel:this.getRenderProp(`hideLabel`),href:this.getRenderProp(`href`),icons:this.getRenderProp(`icons`),inline:this.getRenderProp(`inline`),label:this.getRenderProp(`label`),on:this.getRenderProp(`on`),refAnchor:this.setAnchorRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp(`role`),shortKey:this.getRenderProp(`shortKey`),tabIndex:this.getRenderProp(`tabIndex`),target:this.getRenderProp(`target`),tooltipAlign:this.getRenderProp(`tooltipAlign`),variant:this.getRenderProp(`variant`),expertSlot:this.getState(`expertSlot`)})}},Ty=M(class extends wy{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent=``,this.ariaDescriptionId=W(`aria-description`),this.expertSlot=!1,this._accessKey=void 0,this._ariaControls=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._label=void 0,this._on=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign=`right`,this._variant=void 0}watchAccessKey(e){this.applyAccessKey(e)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaCurrentValue(e){this.applyAriaCurrentValue(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchDisabled(e){this.applyDisabled(e)}watchDownload(e){this.applyDownload(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHref(e){this.applyHref(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchOn(e){this.applyOn(e)}watchShortKey(e){this.applyShortKey(e)}watchTarget(e){this.applyTarget(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchVariant(e){this.applyVariant(e)}focus(e){return Promise.resolve()}componentWillLoad(){this.unsetLinkTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaCurrentValue(this._ariaCurrentValue),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchDisabled(this._disabled),this.watchDownload(this._download),this.watchHideLabel(this._hideLabel),this.watchHref(this._href),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchTarget(this._target),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),Bp(this._accessKey,this._shortKey),this.initLinkBehaviors()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyLinkBehaviors()}render(){return A(j,{key:`4d94db04f7f945025819c95aed8feb2b73911a73`},this.renderLinkFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } }`}}},[545,`kol-link`,{_accessKey:[1,`_access-key`],_ariaControls:[1,`_aria-controls`],_ariaCurrentValue:[1,`_aria-current-value`],_ariaDescription:[1,`_aria-description`],_ariaExpanded:[4,`_aria-expanded`],_disabled:[4],_download:[1],_hideLabel:[4,`_hide-label`],_href:[1],_icons:[1],_inline:[4],_label:[1],_on:[16],_shortKey:[1,`_short-key`],_target:[1],_tooltipAlign:[1,`_tooltip-align`],_variant:[1],ariaCurrent:[32],ariaDescriptionId:[32],expertSlot:[32],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}]);function Ey(){typeof customElements<`u`&&[`kol-link`].forEach((e=>{e===`kol-link`&&(customElements.get(N(e))||customElements.define(N(e),Ty))}))}yl([H(`ctaRef`)],Ty.prototype,`focus`,null);var Dy=Ty,Oy=Ey,ky=M(class extends wy{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent=``,this.ariaDescriptionId=W(`aria-description`),this.expertSlot=!1,this._accessKey=void 0,this._ariaControls=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._label=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign=`right`,this._variant=ti(`buttonVariantDefault`,this.host)??`normal`}watchAccessKey(e){this.applyAccessKey(e)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaCurrentValue(e){this.applyAriaCurrentValue(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchCustomClass(e){this.applyCustomClass(e)}watchDisabled(e){this.applyDisabled(e)}watchDownload(e){this.applyDownload(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHref(e){this.applyHref(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchOn(e){this.applyOn(e)}watchRole(){}watchShortKey(e){this.applyShortKey(e)}watchTarget(e){this.applyTarget(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchVariant(e){this.applyVariant(e)}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.unsetLinkTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaCurrentValue(this._ariaCurrentValue),this.watchAriaDescription(this._ariaDescription),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchDownload(this._download),this.watchHideLabel(this._hideLabel),this.watchHref(this._href),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchTarget(this._target),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),Bp(this._accessKey,this._shortKey),this.initLinkBehaviors()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyLinkBehaviors()}render(){return A(j,{key:`119f287c8c33e1b67826dc8614835e376d41384f`},this.renderLinkFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-link__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-link__interactive-element::before { content: "​"; } .kol-link__text { flex: 1 0 100%; } .kol-link { } .kol-link__tooltip { height: 0; } .kol-link--external-link > .kolicon-link-external::before { content: none; } .kol-link--external-link .kol-link__interactive-element > .kolicon-link-external::before { content: none; } }`}}},[545,`kol-link-button`,{_accessKey:[1,`_access-key`],_ariaControls:[1,`_aria-controls`],_ariaCurrentValue:[1,`_aria-current-value`],_ariaDescription:[1,`_aria-description`],_customClass:[1,`_custom-class`],_disabled:[4],_download:[1],_hideLabel:[4,`_hide-label`],_href:[1],_icons:[1],_inline:[4],_label:[1],_on:[16],_role:[1],_shortKey:[1,`_short-key`],_target:[1],_tooltipAlign:[1,`_tooltip-align`],_variant:[1],ariaCurrent:[32],ariaDescriptionId:[32],expertSlot:[32],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],ky.prototype,`focus`,null),yl([U(`ctaRef`)],ky.prototype,`click`,null);var Ay=ky,jy=function(){typeof customElements<`u`&&[`kol-link-button`].forEach((e=>{e===`kol-link-button`&&(customElements.get(N(e))||customElements.define(N(e),ky))}))},My=z(`max`,100,jc,(e=>e>0)),Ny=z(`unit`,`%`,R,(e=>e.length>0)),Py=z(`high`,0,jc),Fy=z(`low`,0,jc),Iy=z(`min`,0,jc),Ly=z(`optimum`,0,jc),Ry={optional:[Py,Fy,Iy,Ly,Wv,Ny],required:[$c,fl,My]},zy=P.forBlock(`kol-meter`),By=e=>{let{high:t,label:n,low:r,max:i,min:a,optimum:o,orientation:s,unit:c,value:l}=e,u=l!=null,d=s===`vertical`,f=c===`%`,p=u?f?i===a?0:Math.round((l-a)/(i-a)*100):l:``,m=function(e,t,n,r,i,a){let o=r??t,s=i??n,c=a??(t+n)/2,l=e<o,u=e>s,d=!l&&!u;return c<o?l?`optimum`:d?`suboptimal`:`critical`:c>s?u?`optimum`:d?`suboptimal`:`critical`:d?`optimum`:`suboptimal`}(u?l:a,a,i,r,t,o),h=r!==void 0||t!==void 0,g=``;h&&(g=G(m===`critical`?`kol-meter-state-critical`:m===`optimum`?`kol-meter-state-optimum`:`kol-meter-state-suboptimal`));let _=u?f?G(`kol-live-value`,{placeholders:{value:p+``,unit:c}}):G(`kol-live-value-bounded`,{placeholders:{value:p+``,max:i+``,unit:c}}):``,v=h?`${_} – ${g}`:_,y=(``+i).length>(``+a).length?(``+i).length+`ch`:(``+a).length+`ch`;return A(sl,{block:`kol-meter`,modifiers:{vertical:d}},A(`div`,{class:zy(`bar`)},A(`div`,{class:zy(`bar-label`)},fu(n),h&&A(`span`,{class:zy(`bar-state`,{[m]:!0})},` – `,g)),A(`div`,{class:zy(`bar-track`)},A(`meter`,{"aria-label":Tc(n),"aria-valuetext":v||void 0,high:t,low:r,max:i,min:a,optimum:o,value:u?l:void 0})),A(`span`,{class:zy(`value-unit`)},A(`span`,{class:zy(`value`),style:{"min-width":y}},p),A(`span`,{class:zy(`unit`)},c))))},Vy=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=Ry,this._high=void 0,this._low=void 0,this._max=1,this._min=0,this._optimum=void 0,this._orientation=`horizontal`,this._unit=`%`}watchHigh(e){e===void 0?this.unsetRenderProp(`high`):Py.apply(e,(e=>this.setRenderProp(`high`,e)))}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLow(e){e===void 0?this.unsetRenderProp(`low`):Fy.apply(e,(e=>this.setRenderProp(`low`,e)))}watchMax(e){My.apply(e,(e=>{this.setRenderProp(`max`,e),this.watchValue(this.getRawProp(`value`))}))}watchMin(e){Iy.apply(e,(e=>{this.setRenderProp(`min`,e),this.watchValue(this.getRawProp(`value`))}))}watchOptimum(e){e===void 0?this.unsetRenderProp(`optimum`):Ly.apply(e,(e=>this.setRenderProp(`optimum`,e)))}watchOrientation(e){Wv.apply(e,(e=>this.setRenderProp(`orientation`,e)))}watchUnit(e){Ny.apply(e,(e=>this.setRenderProp(`unit`,e)))}watchValue(e){this.setRawProp(`value`,e),$c.apply(e,(e=>{this.setRenderProp(`value`,e)}),{min:this.getRenderProp(`min`),max:this.getRenderProp(`max`)})}componentWillLoad(){this.watchHigh(this._high),this.watchLabel(this._label),this.watchLow(this._low),this.watchMax(this._max),this.watchMin(this._min),this.watchOptimum(this._optimum),this.watchOrientation(this._orientation),this.watchUnit(this._unit),this.watchValue(this._value)}render(){return A(j,{key:`df1c8e66519778aa6b8ef488be31edcc893aa501`},A(By,{key:`788e1814869c0120bee9752bc91dc721a70ba955`,high:this.getRenderProp(`high`),label:this.getRenderProp(`label`),low:this.getRenderProp(`low`),max:this.getRenderProp(`max`),min:this.getRenderProp(`min`),optimum:this.getRenderProp(`optimum`),orientation:this.getRenderProp(`orientation`),unit:this.getRenderProp(`unit`),value:this.getRenderProp(`value`)}))}static get watchers(){return{_high:[{watchHigh:0}],_label:[{watchLabel:0}],_low:[{watchLow:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_optimum:[{watchOptimum:0}],_orientation:[{watchOrientation:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-meter { --color-optimal: var(--kol-meter-color-optimal, #2ea32e); --color-suboptimal: var(--kol-meter-color-suboptimal, #c8a000); --color-critical: var(--kol-meter-color-critical, #c00); --vertical-height: var(--kol-meter-vertical-height, 128); --horizontal-height: var(--kol-meter-horizontal-height, 12); } .kol-meter__bar { display: grid; align-items: center; grid-template-areas: "label label" "bar value"; grid-template-columns: 1fr auto; } .kol-meter__bar-label { grid-column-end: 2; grid-area: label; } .kol-meter__bar-track { display: flex; min-width: 100%; grid-area: bar; } .kol-meter__value-unit { grid-area: value; } .kol-meter:not(.kol-meter--vertical) .kol-meter__value { display: inline-block; text-align: right; } .kol-meter--vertical { min-height: 100%; } .kol-meter--vertical .kol-meter__bar { min-height: 100%; align-items: end; justify-items: center; grid-template-areas: "label" "bar" "value"; grid-template-columns: 1fr; grid-template-rows: min-content 1fr min-content; } .kol-meter--vertical .kol-meter__bar-label { text-align: center; } .kol-meter--vertical .kol-meter__bar-track { position: relative; min-width: 0; min-height: calc(var(--vertical-height) * 1rem / var(--kolibri-root-font-size, 16)); align-items: center; } .kol-meter--vertical .kol-meter__bar meter { transform: rotate(-90deg); transform-origin: left bottom; position: absolute; bottom: 0; width: calc(var(--vertical-height) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-meter { } .kol-meter meter { width: 100%; height: calc(var(--horizontal-height) * 1rem / var(--kolibri-root-font-size, 16)); -webkit-appearance: none; -moz-appearance: none; appearance: none; } .kol-meter { } .kol-meter meter::-webkit-meter-bar { background: white; height: calc(var(--horizontal-height) * 1rem / var(--kolibri-root-font-size, 16)); border: 1px solid black; } .kol-meter meter::-webkit-meter-optimum-value { background: var(--color-optimal); } .kol-meter meter::-webkit-meter-suboptimum-value { background: var(--color-suboptimal); } .kol-meter meter::-webkit-meter-even-less-good-value { background: var(--color-critical); } .kol-meter { } @supports (selector(::-moz-meter-bar)) { .kol-meter meter { background: white; border: 1px solid black; } } .kol-meter meter::-moz-meter-bar { background: var(--color-optimal); } .kol-meter meter:-moz-meter-sub-optimum::-moz-meter-bar { background: var(--color-suboptimal); } .kol-meter meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--color-critical); } }`}}},[545,`kol-meter`,{_high:[2],_label:[1],_low:[2],_max:[2],_min:[2],_optimum:[2],_orientation:[1],_unit:[1],_value:[2]},void 0,{_high:[{watchHigh:0}],_label:[{watchLabel:0}],_low:[{watchLow:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_optimum:[{watchOptimum:0}],_orientation:[{watchOrientation:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}]}]),Hy=Vy,Uy=function(){typeof customElements<`u`&&[`kol-meter`].forEach((e=>{e===`kol-meter`&&(customElements.get(N(e))||customElements.define(N(e),Vy))}))};M(class extends Zh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=W(`aria-description`),this.headingId=W(`dialog-heading`),this.modal=!0,this._on=void 0,this._variant=`blank`,this._width=`100%`}watchLabel(e){this.applyLabel(e)}watchOn(e){this.applyOn(e)}watchVariant(e){this.applyVariant(e)}watchWidth(e){this.applyWidth(e)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(e=!1){return this.showDialog(e),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){await this.close()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return A(`slot`,null)}render(){return A(j,{key:`6d3f0cd028f991e5bd6e8f6640338c924699db02`},this.renderDialogFC())}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }`}}},[801,`kol-modal`,{_label:[1],_on:[16],_variant:[1],_width:[1],ariaDescriptionId:[32],headingId:[32],modal:[32],openModal:[64],showModal:[64],show:[64],close:[64],closeModal:[64]},void 0,{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}]);var Wy=(e,t,n)=>{let r=new Map,i=new Set;return{beginRender:()=>{i.clear()},get:t=>{i.add(t);let n=r.get(t);return n===void 0&&(n=e(),r.set(t,n)),n},endRender:()=>{for(let[e,a]of r)i.has(e)?t(a):(n(a),r.delete(e))},destroy:()=>{for(let e of r.values())n(e);r.clear(),i.clear()}}};function Gy(e){var t,n,r;let i=cl(Lp),a=e=>t=>{i[e]=t};return Ap.apply(e._href,a(`href`)),Iu.apply(e._accessKey,a(`accessKey`)),Ru.apply(e._ariaControls,a(`ariaControls`)),Np.apply(e._ariaCurrentValue,a(`ariaCurrentValue`)),zu.apply(e._ariaDescription,a(`ariaDescription`)),Bu.apply(e._ariaExpanded,a(`ariaExpanded`)),Pp.apply(e._ariaOwns,a(`ariaOwns`)),Vu.apply(e._customClass,a(`customClass`)),Sl.apply((t=e._disabled)!=null&&t,a(`disabled`)),Fp.apply(e._download,a(`download`)),Hu.apply((n=e._hideLabel)!=null&&n,a(`hideLabel`)),qu.apply(e._icons,a(`icons`)),Uu.apply((r=e._inline)==null||r,a(`inline`)),td.apply(e._label,a(`label`)),Ip.apply(e._on,a(`on`)),Gu.apply(e._role,a(`role`)),Ku.apply(e._shortKey,a(`shortKey`)),jp.apply(e._target,a(`target`)),Yu.apply(e._tooltipAlign??`right`,a(`tooltipAlign`)),Xu.apply(e._variant,a(`variant`)),typeof e._tabIndex==`number`?Ju.apply(e._tabIndex,a(`tabIndex`)):i.tabIndex=void 0,Bp(e._accessKey,e._shortKey),i}var Ky=e=>{let t=new Gf(V.stateLess),n=Rl(),r=W(`aria-description`),i,a,o,s=``,c=!1,l=()=>typeof i?.href==`string`?i.href:``,u=()=>{let e=i?.label;return typeof e==`string`&&e.length>0?e:l()},d=t=>{let n=t===i?.href?i.ariaCurrentValue:``;s!==n&&(s=n,c||e())},f=e=>{if(t.hideTooltip(),!0===i?.disabled)return void e.preventDefault();let r=l(),o=i?.on;typeof o?.onClick==`function`&&(Da(e,n.el),o.onClick(e,r)),a&&I(a,F.click,r)},p=e=>{e&&(a=e)};return{getFcProps:(e,a)=>(i=Gy(e),o||(c=!0,o=io(d),c=!1),t.componentWillLoad({label:u(),align:i.tooltipAlign}),Object.assign(Object.assign(Object.assign({},i),a),{ariaCurrent:s,ariaDescriptionId:r,expertSlot:e._label===``,handleAnchorClick:f,ref:p,refAnchor:n,refTooltip:t.setTooltipElementRef})),syncListeners:()=>{n.el&&t.syncListeners(void 0,n.el,!0)},destroy:()=>{o?.(),o=void 0,t.destroy()}}},qy=z(`collapsible`,!0,Pc),Jy=z(`hasCompactButton`,!1,Pc),Yy=z(`hasIconsWhenExpanded`,!1,Pc),Xy=kp(`KolNav`),Zy={required:[sp,Xy],optional:[qy,Jy,Yy,Hu]},Qy=e=>e._href===void 0&&typeof e._on?.onClick==`function`;function $y(e){return typeof e._icons==`string`?e._icons:typeof e._icons?.left==`string`?e._icons.left:void 0}var eb=e=>A(`ul`,{class:B(`kol-nav__list`,{"kol-nav__list--nested":e.deep>0,"kol-nav__list--vertical":e.deep!==0}),id:e.deep>0?e.id:void 0},e.links.map(((t,n)=>{let r=Array.isArray(t._children)&&t._children.length>0,i=!(!t._children||!e.expandedChildren.includes(t._children)),a=wu(e.id,`${e.deep}-${n}`);return A(`li`,{class:B(`kol-nav__list-item`,{"kol-nav__list-item--active":!!t._active,"kol-nav__list-item--expanded":i,"kol-nav__list-item--has-children":r}),key:n},((e,t,n,r,i)=>{let{collapsible:a,compact:o,getButtonFcProps:s,getLinkFcProps:c,handleToggleExpansion:l,hasIconsWhenExpanded:u}=e,d=function({collapsible:e,expanded:t,hasIconsWhenExpanded:n,hideLabel:r,leftIcon:i}){let a={left:``,right:``};return n&&i&&(a.left=i),r&&(a.left=i||`kolicon-link`),e&&(a.right=t?`kolicon-minus`:`kolicon-plus`),a}({collapsible:a&&n,expanded:r,hasIconsWhenExpanded:u,hideLabel:o,leftIcon:$y(t)});return A(`div`,{class:`kol-nav__entry-wrapper`},(e=>typeof e._href==`string`)(t)?A(`div`,{class:B(`kol-nav__entry kol-nav__entry--link`,{"kol-nav__entry--collapsible":a})},A(zp,Object.assign({},c(`link-`+i,Object.assign(Object.assign({},t),{_hideLabel:o,_icons:d,_ariaControls:a&&n&&r?i:void 0,_ariaExpanded:a&&n?r:void 0}))))):A(`div`,{class:B(`kol-nav__entry kol-nav__entry--button`,{"kol-nav__entry--collapsible":a})},A(md,Object.assign({},s(`button-`+i,{_label:t._label,_disabled:Qy(t)?t._disabled:void 0,_hideLabel:o,_icons:d,_ariaControls:a&&n&&r?i:void 0,_ariaExpanded:a&&n?r:void 0,_on:{onClick:(e,n)=>{Qy(t)&&typeof t._on.onClick==`function`&&t._on.onClick(e,n),l(t._children)}}})))))})(e,t,r,i,a),i&&A(eb,Object.assign({},e,{deep:e.deep+1,links:t._children||[],id:a})))}))),tb=e=>{let{collapsible:t,compact:n,expandedChildren:r,getButtonFcProps:i,getLinkFcProps:a,handleToggleCompact:o,handleToggleExpansion:s,hasCompactButton:c,hasIconsWhenExpanded:l,label:u,links:d,listId:f,navId:p}=ll(Zy,e);return A(sl,{block:`kol-nav`,modifiers:{"is-compact":n}},A(`nav`,{"aria-label":u,class:`kol-nav__navigation`,id:p},A(eb,{collapsible:t,compact:n,deep:0,expandedChildren:r,getButtonFcProps:i,getLinkFcProps:a,handleToggleExpansion:s,hasIconsWhenExpanded:l,id:f,links:d})),c&&A(`div`,{class:`kol-nav__compact`},A(`div`,{class:`kol-nav__toggle-button`},A(md,Object.assign({},i(`compact-toggle`,{_ariaControls:p,_ariaExpanded:!n,_icons:n?`kolicon-chevron-right`:`kolicon-chevron-left`,_hideLabel:!0,_label:G(n?`kol-nav-maximize`:`kol-nav-minimize`),_on:{onClick:o},_tooltipAlign:`right`}))))))},nb=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.compact=!1,this.expandedChildren=[],this.navId=W(`kol-nav`),this.listId=wu(this.navId,`list`),this.buttonItems=Wy((()=>Nm((()=>this.host))),(e=>e.syncListeners()),(e=>e.destroy())),this.linkItems=Wy((()=>Ky((()=>Cr(this)))),(e=>e.syncListeners()),(e=>e.destroy())),this.propsConfig=Zy,this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this.getButtonFcProps=(e,t)=>this.buttonItems.get(e).getFcProps(t),this.getLinkFcProps=(e,t)=>this.linkItems.get(e).getFcProps(t),this.handleToggleExpansion=e=>{e&&(this.expandedChildren=function(e,t){return e.includes(t)?e.filter((e=>e!==t)):[...e,t]}(this.expandedChildren,e))},this.handleToggleCompact=()=>{this.compact=!this.compact}}watchCollapsible(e){qy.apply(e,(e=>this.setRenderProp(`collapsible`,e)))}watchHasCompactButton(e){Jy.apply(e,(e=>this.setRenderProp(`hasCompactButton`,e)))}watchHasIconsWhenExpanded(e){Yy.apply(e,(e=>this.setRenderProp(`hasIconsWhenExpanded`,e)))}watchHideLabel(e){Hu.apply(e,(e=>{this.compact=e}))}watchLabel(e){this.applyLabel(e)}watchLinks(e){Xy.apply(e,(e=>this.setRenderProp(`links`,e))),Xi(`[KolNav] The navigation structure is not yet validated recursively.`),this.expandedChildren=function(e){let t=[],n=e=>{if(e._active)return e._children&&t.push(e._children),!0;if(e._children){for(let r of e._children)if(n(r))return t.push(e._children),!0}return!1};return e.forEach(n),t}(this.getRenderProp(`links`))}componentWillLoad(){this.watchCollapsible(this._collapsible),this.watchHasCompactButton(this._hasCompactButton),this.watchHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.watchHideLabel(this._hideLabel),this.applyLabel(this._label,!0),this.watchLinks(this._links)}componentDidRender(){this.buttonItems.endRender(),this.linkItems.endRender()}disconnectedCallback(){Up(this.getRenderProp(`label`)),this.buttonItems.destroy(),this.linkItems.destroy()}applyLabel(e,t=!1){t||Up(this.getRenderProp(`label`)),sp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),na(e),Hp(this.getRenderProp(`label`))}render(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),A(j,{key:`9b8ee3f71d8d2cbf5e7f361a13800e7e2a586559`},A(tb,{key:`a9c2593b59b177de3d7b805cf7d992713b9482dc`,collapsible:this.getRenderProp(`collapsible`),compact:this.compact,expandedChildren:this.expandedChildren,getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,handleToggleCompact:this.handleToggleCompact,handleToggleExpansion:this.handleToggleExpansion,hasCompactButton:this.getRenderProp(`hasCompactButton`),hasIconsWhenExpanded:this.getRenderProp(`hasIconsWhenExpanded`),label:this.getRenderProp(`label`),links:this.getRenderProp(`links`),listId:this.listId,navId:this.navId}))}get host(){return this}static get watchers(){return{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-nav { display: grid; place-items: center; } .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation { width: 100%; } .kol-nav__navigation .kol-span { width: 100%; justify-content: flex-start; } .kol-nav__navigation .kol-span__container { width: 100%; } .kol-nav__navigation .kol-span__container .kol-span__label { flex: 1; } .kol-nav__list { display: flex; margin: 0; padding: 0; flex-direction: column; list-style: none; } .kol-nav__entry-wrapper { display: flex; } .kol-nav__entry { flex-grow: 1; } .kol-button { text-align: left; } }`}}},[545,`kol-nav`,{_collapsible:[4],_hasCompactButton:[4,`_has-compact-button`],_hasIconsWhenExpanded:[4,`_has-icons-when-expanded`],_hideLabel:[4,`_hide-label`],_label:[1],_links:[1],compact:[32],expandedChildren:[32]},void 0,{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),rb=nb,ib=function(){typeof customElements<`u`&&[`kol-nav`].forEach((e=>{e===`kol-nav`&&(customElements.get(N(e))||customElements.define(N(e),nb))}))},ab=z(`rows`,void 0,jc,(e=>e>=1)),ob=e=>{if(typeof e==`object`&&e){if(typeof e.label==`string`&&e.label.length>0)return e.disabled=!0===e.disabled,e.label=`${e.label}`.trim(),!1===Cc(e.label,3)&&!1===wc(e.label)&&Ki(`A differing Aria-Label (${e.label}) is inaccessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(e.options)||e.options.find((e=>!1===ob(e)))===void 0;if(typeof e.label==`number`)return!0}return!1},sb=z(`options`,[],(function(e){let t=typeof e==`string`?Aa(e):e;if(Array.isArray(t)&&t.every((e=>ob(e))))return t;throw Error(`Invalid select options`)})),cb=z(`value`,[],(e=>Array.isArray(e)?e:[e])),lb={required:[...Qm.required],optional:[...Qm.optional,Iu,vh,W_,sb,Eh,ab,cb,Ku,Ju,Xu]},ub=ol(`kol-select`),db=e=>{var{class:t,index:n,selectedValue:r,selected:i,value:a,label:o,disabled:s}=e,c=vl(e,[`class`,`index`,`selectedValue`,`selected`,`value`,`label`,`disabled`]);let l=i||(r===void 0?[]:Array.isArray(r)?r:[r]).includes(a);return A(`option`,Object.assign({class:B(ub(`option`,{selected:!!l,disabled:!!s}),t),selected:l,disabled:s,value:n},c),o)},fb=({preKey:e,options:t,disabled:n,value:r,OptionProps:i={},OptionGroupProps:a={}})=>t?.length?A(Ar,null,t.map(((t,o)=>{let s=[e,`-${o}`].join(``);if(`options`in t){let e=!!(n||t.disabled),{label:o}=t,c=vl(t,[`label`]);return A(`optgroup`,Object.assign({class:ub(`optgroup`,{disabled:e}),key:s},a,{label:o?.toString(),disabled:e}),A(fb,Object.assign({OptionGroupProps:a,OptionProps:i,value:r,preKey:s},c,{disabled:e})))}return`value`in t?A(db,Object.assign({key:s},i,{index:s,selectedValue:r},t,{disabled:!!(n||t.disabled)})):null}))):null,pb=e=>{let{class:t,msg:n,touched:r,disabled:i,required:a,options:o,value:s,OptionProps:c,OptionGroupProps:l,ariaDescribedBy:u,hideLabel:d,label:f}=e,p=vl(e,[`class`,`msg`,`touched`,`disabled`,`required`,`options`,`value`,`OptionProps`,`OptionGroupProps`,`ariaDescribedBy`,`hideLabel`,`label`]),m=Object.assign(Object.assign({class:B(ub(Object.assign({disabled:!!i,required:!!a,touched:!!r},Um(n,r)?{[Wm(n)]:!0}:{})),t),required:a,disabled:i},oh({ariaDescribedBy:u,hideLabel:d,label:f})),p);return A(`select`,Object.assign({},m),A(fb,{OptionGroupProps:l,OptionProps:c,disabled:i,options:o,value:s}))},mb=(e,t,n)=>{let r=Array.isArray(e);if(t){if(e!==void 0&&!r)throw Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (${n} = ${JSON.stringify(e)})`)}else if(r)throw Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (${n} = ${JSON.stringify(e)})`)},hb=(e,t=!1)=>e.flatMap((e=>`options`in e&&Array.isArray(e.options)?hb(e.options,!!(t||e.disabled)):[Object.assign(Object.assign({},e),{disabled:!!(t||e.disabled)})])),gb=(e,t,n)=>{if(t.length===0)return e;let r=hb(t),i=r.map((e=>e.value)),a=e.every((e=>i.includes(e)))?e:e.filter((e=>i.includes(e)));if(!1===n&&a.length===0){let e=r.find((e=>!0!==e.disabled));return e?[e.value]:a}return a},_b=class extends sh{constructor(){super(...arguments),this.keyOptionMap=new Map,this.hasValue=!0,this.handleSelectInput=e=>{let t=Array.from(this.ctaRef.el?.options||[]).filter((e=>e.selected)).map((e=>this.keyOptionMap.get(e.value)?.value));if(this._multiple)this._value=t,this.handleInput(e,t);else{let n=t.length>0?t[0]:void 0;this._value=n,this.handleInput(e,n)}},this.handleSelectChange=e=>{let t=this._value;this.handleChange(e,t),this.hasValue=!!t}}applyAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this.getShortKeyProp())}applyShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this.getAccessKeyProp(),e)}applyIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}applyMultiple(e){mb(this._value,!0===e,`current`),W_.apply(e,(e=>{this.setRenderProp(`multiple`,e),this.setRenderProp(`value`,gb(this.getRenderProp(`value`),this.getRenderProp(`options`),this._multiple))}))}applyOptions(e){sb.apply(e,(e=>{this.setRenderProp(`options`,e),e.length>0&&(this.keyOptionMap.clear(),Rv(this.keyOptionMap,e),this.setRenderProp(`value`,gb(this.getRenderProp(`value`),e,this._multiple)))}))}applyRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}applyRows(e){ab.apply(e,(e=>this.setRenderProp(`rows`,e)))}applyTabIndex(e){Ju.apply(e,(e=>this.setRenderProp(`tabIndex`,e)))}applyValue(e){mb(e,!0===this._multiple,`received`);let t=e=>{let t=gb(e,this.getRenderProp(`options`),this._multiple);this.setRenderProp(`value`,t),this.formAssociation.setFormAssociatedValue(this.getModelValue())};e===null?t([null]):cb.apply(e,t)}applyVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getModelValue(){let e=this.getRenderProp(`value`);return this._multiple?e:Array.isArray(e)&&e.length>0?e[0]:e}getSelectProps(){let{ariaDescribedBy:e,hasError:t}=this.getAria(),n=this.getRenderProp(`multiple`),r=this.getRenderProp(`shortKey`);return Object.assign(Object.assign({id:this.getState(`id`),hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),value:this.getRenderProp(`value`),options:this.getRenderProp(`options`),accessKey:this.getRenderProp(`accessKey`)||void 0,disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0,"aria-invalid":t?`true`:void 0,ariaDescribedBy:e,size:n?this.getRenderProp(`rows`):void 0,multiple:n,required:this.getRenderProp(`required`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)},r?{"aria-keyshortcuts":r}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleSelectChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleSelectInput,onKeyDown:this.handleKeyDown})}renderSelectField(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=bh({icons:this.getRenderProp(`icons`)});return A(ah,Object.assign({},this.getFormFieldProps({class:B(`kol-form-field-select`,{"kol-form-field--has-value":this.hasValue}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,required:this.getRenderProp(`required`),variant:this.getRenderProp(`variant`)}),{onClick:()=>this.ctaRef.el?.focus()}),A(wh,{disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},A(pb,Object.assign({},this.getSelectProps()))))}},vb=z(`boundaryCount`,1,(e=>Math.max(0,e))),yb=z(`page`,0,Mc),bb=z(`pageSize`,1,Mc),xb=/^\[object Object\]$/,Sb=z(`pageSizeOptions`,[],(function(e){if(e===``||typeof e==`string`&&xb.test(e))throw Error(`Unreflected page size options`);let t=typeof e==`string`?Aa(e):e;if(Array.isArray(t)&&t.every((e=>typeof e==`number`)))return t.map((e=>({label:`${e}`,value:e})));throw Error(`Invalid page size options`)})),Cb=Uc(),wb=[`first`,`last`,`next`,`previous`],Tb=e=>({first:e,last:e,next:e,previous:e}),Eb=z(`hasButtons`,Tb(!0),(function e(t){if(typeof t==`boolean`)return Tb(t);if(typeof t==`object`&&t){let e={};return wb.forEach((n=>{let r=t[n];typeof r==`boolean`&&(e[n]=r)})),e}if(typeof t==`string`){let n=Aa(t);return typeof n==`object`&&n?e(n):Tb(!1)}throw Error(`Invalid pagination buttons`)})),Db=z(`max`,0,Mc),Ob=z(`siblingCount`,1,(e=>Math.max(0,e))),kb={required:[sp,yb,Cb,Db],optional:[vb,Vu,Sb,bb,Eb,Ob,Yu]},Ab=(e,t=1)=>Math.ceil(e/t),jb=(e,t)=>t.length>0?t.find((t=>t.value===e))?.value??t[0].value:e,Mb=(e,t,n,r)=>{let i=[],a=!1;for(let o=1;o<=t;o++)o<=n||o>t-n||o>=e-r&&o<=e+r?(a=!0,i.push({page:o,selected:o===e})):a?(a=!1,i.push(`separator`)):i.push(null);return i},Nb=P.forBlock(`kol-pagination`),Pb={left:`kolicon-chevron-double-left`},Fb={left:`kolicon-chevron-left`},Ib={right:`kolicon-chevron-right`},Lb={right:`kolicon-chevron-double-right`},Rb=(zb=navigator.language||`de-DE`).includes(`-`)?zb:`${zb}-${zb.toUpperCase()}`,zb,Bb=new Intl.NumberFormat(Rb,{style:`decimal`,minimumFractionDigits:0,maximumFractionDigits:0}),Vb=e=>{let{boundaryCount:t,customClass:n,getButtonFcProps:r,handlePageClick:i,hasButtons:a,label:o,max:s,navigationCallbacks:c,page:l,pageSize:u,pageSizeOptions:d,renderPageSizeSelect:f,siblingCount:p,tooltipAlign:m}=ll(kb,e),h=Ab(s,u),{start:g,end:_}=((e,t,n)=>{let r=e*t;return{start:Math.max(0,(e-1)*t+1),end:n<r?n:r}})(l,u,s),v=(e,t,i,a)=>A(`li`,null,A(md,Object.assign({},r(`navigation-${e}`,{_customClass:n,_disabled:a,_icons:t,_hideLabel:!0,_label:i,_on:c[e],_tooltipAlign:m},{class:Nb(`button`,{[e]:!0})}))));return[A(`span`,{role:`status`,"aria-live":`polite`,class:Nb(`entries`)},G(`kol-table-visible-range`,{placeholders:{start:Bb.format(g),end:Bb.format(_),total:Bb.format(s)}})),A(`nav`,{class:Nb(`navigation`),"aria-label":Tc(o)},A(`ul`,{class:Nb(`navigation-list`)},a.first&&v(`first`,Pb,G(`kol-page-first`),l<=1),a.previous&&v(`previous`,Fb,G(`kol-page-back`),l<=1),Mb(l,h,t,p).map(((e,t)=>e===null?null:e===`separator`?A(`li`,{key:t+1<l?`separator-left`:`separator-right`},A(`span`,{class:Nb(`separator`),"aria-hidden":`true`})):((e,t)=>{let a=Bb.format(e),o=`${G(`kol-page`)} ${a}`;return A(`li`,{key:`page-${e}`},A(md,Object.assign({},t?r(`page-${e}`,{_ariaDescription:o,_customClass:n,_label:a},{"aria-current":`page`,class:`${Nb(`button`,{selected:!0})} selected`}):r(`page-${e}`,{_ariaDescription:o,_customClass:n,_label:a,_on:{onClick:t=>i(t,e)}},{class:Nb(`button`,{numbers:!0})}))))})(e.page,e.selected))),a.next&&v(`next`,Ib,G(`kol-page-next`),h<=l),a.last&&v(`last`,Lb,G(`kol-page-last`),h<=l))),d?.length>0&&A(`div`,{class:`page-size`},A(`div`,{class:Nb(`page-size-select`)},f({label:G(`kol-entries-per-site`),options:d,value:u})))]},Hb=e=>A(sl,{block:`kol-pagination`},A(Vb,Object.assign({},e))),Ub=class extends _b{constructor(e,t){super(),this.getHost=e,this.requestRender=t,this._disabled=!1,this._multiple=!1,this.ctaRef=Rl(),this.id=W(`select`),this.loaded=!1,this.focused=!1,this.touched=!1,this.propsConfig=lb,this.initFormAssociation(`select`)}get host(){return this.getHost?.call(this)}get inputHasFocus(){return this.focused}set inputHasFocus(e){e!==this.focused&&(this.focused=e,this.requestRender())}get _touched(){return this.touched}set _touched(e){e!==this.touched&&(this.touched=!0===e,this.applyTouched(e),this.requestRender())}get _value(){return this.value}set _value(e){e!==this.value&&(this.value=e,this.applyValue(e),this.requestRender())}getAccessKeyProp(){}getShortKeyProp(){}sync(){this.syncFormField()}destroy(){this.destroyFormField()}load(e){this.passed=e,this._on=e.on,this.value=e.value,this.applyAriaDetails(void 0),this.applyName(void 0),this.applySyncValueBySelector(void 0),this.applyTouched(!1),this.applyAccessKey(void 0),this.applyMsg(void 0),this.applyDisabled(!1),this.applyHideMsg(!1),this.applyHideLabel(!1),this.applyHint(``),this.applyInfoPopover(void 0),this.applyLabel(e.label),this.applyShortKey(void 0),this.applyOn(e.on),this.applyTooltipAlign(`top`),this.applyVariant(void 0),this.applyTabIndex(void 0),this.applyIcons(void 0),this.applyOptions(e.options),this.applyMultiple(!1),this.applyRequired(!1),this.applyRows(void 0),this.applyValue(e.value),this.loaded=!0}update(e){let t=this.passed;this.passed=e,e.label!==t.label&&this.applyLabel(e.label),e.options!==t.options&&this.applyOptions(e.options),e.on!==t.on&&(this._on=e.on,this.applyOn(e.on)),e.value!==t.value&&e.value!==this.value&&(this.value=e.value,this.applyValue(e.value))}render(e){return this.loaded?this.update(e):this.load(e),this.renderSelectField()}},Wb=!1,Gb=[`boundaryCount`,`customClass`,`hasButtons`,`on`,`page`,`pageSize`,`pageSizeOptions`,`siblingCount`,`tooltipAlign`,`max`,`label`],Kb=e=>{let t=e.store??(()=>{let e=cl(kb);return{get:t=>e[t],set:(t,n)=>{e[t]=n}}})(),n=G(`kol-pagination`),r=Wy((()=>Nm(e.getEventTarget)),(e=>e.syncListeners()),(e=>e.destroy())),i=(e,t,n)=>r.get(e).getFcProps(t,n),a=Wy((()=>{return t=e.getEventTarget,n=e.requestRender,!Wb&&typeof HTMLElement<`u`&&Ub.prototype instanceof HTMLElement&&customElements.define(N(W(`kol-page-size-select`)),Ub),Wb=!0,new Ub(t,n);var t,n}),(e=>e.sync()),(e=>e.destroy())),o,s=1,c={};t.set(`label`,n);let l=(n,r)=>{setTimeout((()=>{var i,a;(a=(i=t.get(`on`)).onChangePage)==null||a.call(i,n,r);let o=e.getEventTarget();o&&I(o,F.changePage,r)}))},u=(e,n,r)=>{let i=((e,t,n)=>{if(n>0){let r=Ab(n,t);if(r>0){if(e>r)return r;if(e<1)return 1}}})(e,n,r);i!==void 0&&(t.set(`page`,i),l(la,i))},d=e=>{e!=null&&bb.apply(e,(e=>{let n=jb(e,t.get(`pageSizeOptions`));t.set(`pageSize`,n),u(t.get(`page`),n,t.get(`max`))}))},f=(e,r,i)=>{r||Up(t.get(`label`)),sp.apply(e,(e=>t.set(`label`,e??n)),i),Hp(t.get(`label`))},p=(n,r)=>{var i,a;o=r,(a=(i=t.get(`on`)).onClick)==null||a.call(i,n,r);let s=e.getEventTarget();s&&I(s,F.click,r),l(n,r)},m=(n,r)=>{let i=parseInt(r);i>0&&s!==i&&(d(i),s=i,e.requestRender(),setTimeout((()=>{var r,i;let a=s;(i=(r=t.get(`on`)).onChangePageSize)==null||i.call(r,n,a);let o=e.getEventTarget();o&&I(o,F.changePageSize,a)})))},h={onChange:m},g=e=>a.get(`page-size`).render(Object.assign(Object.assign({},e),{on:h})),_={first:{onClick:e=>p(e,1)},last:{onClick:e=>p(e,Ab(t.get(`max`),t.get(`pageSize`)))},next:{onClick:e=>p(e,t.get(`page`)+1)},previous:{onClick:e=>p(e,t.get(`page`)-1)}},v={applyBoundaryCount:e=>vb.apply(e,(e=>t.set(`boundaryCount`,e))),applyCustomClass:e=>Vu.apply(e,(e=>t.set(`customClass`,e))),applyHasButtons:e=>Eb.apply(e,(e=>t.set(`hasButtons`,Object.assign(Object.assign({},t.get(`hasButtons`)),e)))),applyLabel:(e,t)=>f(e,!1,t),applyMax:(e,n)=>{(e!=null||n)&&Db.apply(e,(e=>{t.set(`max`,e),u(t.get(`page`),t.get(`pageSize`),e)}),n)},applyOn:e=>Cb.apply(e,(e=>t.set(`on`,e))),applyPage:e=>{e!=null&&yb.apply(e,(e=>{t.set(`page`,e),u(e,t.get(`pageSize`),t.get(`max`))}))},applyPageSize:e=>{d(e),s=e},applyPageSizeOptions:e=>Sb.apply(e,(e=>{let n;t.set(`pageSizeOptions`,e),e.length>0&&(n=jb(t.get(`pageSize`),e),t.set(`pageSize`,n)),u(t.get(`page`),n,t.get(`max`))})),applySiblingCount:e=>Ob.apply(e,(e=>t.set(`siblingCount`,e))),applyTooltipAlign:e=>Yu.apply(e??`top`,(e=>t.set(`tooltipAlign`,e))),load:(e,t)=>{c=Object.assign({},e),v.applyBoundaryCount(e.boundaryCount),v.applyCustomClass(e.customClass),v.applyHasButtons(e.hasButtons),f(e.label,!0,t?.label),v.applyOn(e.on),v.applyPage(e.page),v.applyPageSize(e.pageSize),v.applyPageSizeOptions(e.pageSizeOptions),v.applySiblingCount(e.siblingCount),v.applyTooltipAlign(e.tooltipAlign),v.applyMax(e.max,t?.max),v.applyPage(e.page)},update:e=>{for(let t of Gb)e[t]!==c[t]&&(c=Object.assign(Object.assign({},c),{[t]:e[t]}),t===`pageSize`&&e.pageSize===s||y[t](e[t]))},getFcProps:()=>(r.beginRender(),a.beginRender(),{boundaryCount:t.get(`boundaryCount`),customClass:t.get(`customClass`),getButtonFcProps:i,handlePageClick:p,handlePageSizeChange:m,hasButtons:t.get(`hasButtons`),label:t.get(`label`),max:t.get(`max`),navigationCallbacks:_,on:t.get(`on`),page:t.get(`page`),pageSize:t.get(`pageSize`),pageSizeOptions:t.get(`pageSizeOptions`),renderPageSizeSelect:g,siblingCount:t.get(`siblingCount`),tooltipAlign:t.get(`tooltipAlign`)}),sync:()=>{r.endRender(),a.endRender(),(()=>{if(o===void 0||o!==t.get(`page`))return;o=void 0;let e=r.get(`page-${t.get(`page`)}`).getElement(),n=!e?.getRootNode()?.activeElement&&(document.activeElement===null||document.activeElement===document.body);e!=null&&e.isConnected&&n&&e.focus()})()},destroy:()=>{Up(t.get(`label`)),r.destroy(),a.destroy()}},y={boundaryCount:v.applyBoundaryCount,customClass:v.applyCustomClass,hasButtons:v.applyHasButtons,label:v.applyLabel,max:v.applyMax,on:v.applyOn,page:v.applyPage,pageSize:v.applyPageSize,pageSizeOptions:v.applyPageSizeOptions,siblingCount:v.applySiblingCount,tooltipAlign:v.applyTooltipAlign};return v},qb=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.renderCount=0,this.propsConfig=kb,this._boundaryCount=1,this._customClass=void 0,this._hasButtons=!0,this._pageSize=1,this._pageSizeOptions=[],this._siblingCount=1,this._tooltipAlign=`top`}watchBoundaryCount(e){this.item.applyBoundaryCount(e)}watchCustomClass(e){this.item.applyCustomClass(e)}watchHasButtons(e){this.item.applyHasButtons(e)}watchLabel(e){this.item.applyLabel(e,this.isRequired(`label`))}watchMax(e){this.item.applyMax(e,this.isRequired(`max`))}watchOn(e){this.item.applyOn(e)}watchPage(e){this.item.applyPage(e)}watchPageSize(e){this.item.applyPageSize(e)}watchPageSizeOptions(e){this.item.applyPageSizeOptions(e)}watchSiblingCount(e){this.item.applySiblingCount(e)}watchTooltipAlign(e){this.item.applyTooltipAlign(e)}componentWillLoad(){this.item=Kb({getEventTarget:()=>this.host,requestRender:()=>{this.renderCount++},store:{get:e=>this.getRenderProp(e),set:(e,t)=>this.setRenderProp(e,t)}}),this.item.load({boundaryCount:this._boundaryCount,customClass:this._customClass,hasButtons:this._hasButtons,label:this._label,max:this._max,on:this._on,page:this._page,pageSize:this._pageSize,pageSizeOptions:this._pageSizeOptions,siblingCount:this._siblingCount,tooltipAlign:this._tooltipAlign},{label:this.isRequired(`label`),max:this.isRequired(`max`)})}componentDidRender(){this.item.sync()}disconnectedCallback(){this.item.destroy()}render(){return A(j,{key:`1c9d77221b8dd2479c22df5d00e59f1af5937cff`},A(Hb,Object.assign({key:`04d8d79d0f7bfcc179a9be23b4cf84c9cc0e4aec`},this.item.getFcProps())))}get host(){return this}static get watchers(){return{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_hasButtons:[{watchHasButtons:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_on:[{watchOn:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { :host { display: block; } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; container: paging/inline-size; } .kol-pagination__navigation-list { display: inline-flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; list-style: none; } .kol-pagination__separator:before { content: "•••"; } .kol-pagination__page-size-select .kol-form-field-select { align-items: center; grid-template-columns: 1fr max-content; } @container paging (width < 600px) { .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers), .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) { display: none; } } }`}}},[545,`kol-pagination`,{_boundaryCount:[2,`_boundary-count`],_customClass:[1,`_custom-class`],_hasButtons:[8,`_has-buttons`],_label:[1],_max:[2],_on:[16],_page:[2],_pageSize:[1026,`_page-size`],_pageSizeOptions:[1,`_page-size-options`],_siblingCount:[2,`_sibling-count`],_tooltipAlign:[1,`_tooltip-align`],renderCount:[32]},void 0,{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_hasButtons:[{watchHasButtons:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_on:[{watchOn:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}]}]),Jb=qb,Yb=function(){typeof customElements<`u`&&[`kol-pagination`].forEach((e=>{e===`kol-pagination`&&(customElements.get(N(e))||customElements.define(N(e),qb))}))},Xb=M(class extends um{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=W(`aria-description`),this.popoverOpen=!1,this.popoverBehavior=new zm(V.stateLess),this.popoverId=W(`popover`),this._accessKey=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._popoverAlign=`bottom`,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign=`top`,this._type=`button`,this._value=void 0,this._variant=void 0,this.togglePopover=()=>{this.popoverBehavior.setShow(!this.popoverOpen)},this.handleToggle=e=>{this.popoverOpen=e.newState===`open`},this.setButtonElementRef=e=>{this.ctaRef(e),this.popoverBehavior.setTriggerElement(e)},this.setPopoverElementRef=e=>{this.popoverElement=e,this.popoverBehavior.setPopoverElementRef(e)},this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaDescription(e){this.applyAriaDescription(e)}watchCustomClass(e){this.applyCustomClass(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchPopoverAlign(e){Pm.apply(e,(e=>this.popoverBehavior.watchAlign(e)))}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTabIndex(e){this.applyTabIndex(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}hidePopover(){return this.popoverBehavior.setShow(!1),Promise.resolve()}showPopover(){return!0!==this.getRenderProp(`disabled`)&&this.popoverBehavior.setShow(!0),Promise.resolve()}click(){return Promise.resolve()}focus(e){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.applyOn({onClick:this.togglePopover}),this.popoverBehavior.componentWillLoad({align:Pm.getDefaultValue()}),this.watchAccessKey(this._accessKey),this.watchAriaDescription(this._ariaDescription),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchPopoverAlign(this._popoverAlign),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTabIndex(this._tabIndex),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){var e;this.syncTooltipListeners(),(e=this.popoverElement)==null||e.addEventListener(`toggle`,this.handleToggle)}disconnectedCallback(){this.destroyTooltipBehavior(),this.popoverElement&&=(this.popoverElement.removeEventListener(`toggle`,this.handleToggle),void 0),this.popoverBehavior.destroy()}render(){return A(j,{key:`c6c9de2ceb4f474011c96f2d21cc3059a25dca1c`},A(Lm,{key:`0cfd20b5dd02646b76a86cb1dbbb74e3ea328aeb`,accessKey:this.getRenderProp(`accessKey`),ariaDescription:this.getRenderProp(`ariaDescription`),ariaDescriptionId:this.getState(`ariaDescriptionId`),ariaHasPopup:this.getRenderProp(`ariaHasPopup`),ariaSelected:this.getRenderProp(`ariaSelected`),customClass:this.getRenderProp(`customClass`),disabled:this.getRenderProp(`disabled`),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp(`hideLabel`),icons:this.getRenderProp(`icons`),id:this.getRenderProp(`id`),inline:this.getRenderProp(`inline`),label:this.getRenderProp(`label`),name:this.getRenderProp(`name`),on:this.getRenderProp(`on`),popoverAlign:this.popoverBehavior.getRenderProp(`align`),popoverOpen:this.popoverOpen,popoverId:this.popoverId,refButton:this.setButtonElementRef,refPopover:this.setPopoverElementRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp(`role`),shortKey:this.getRenderProp(`shortKey`),tabIndex:this.getRenderProp(`tabIndex`),tooltipAlign:this.getRenderProp(`tooltipAlign`),type:this.getRenderProp(`type`),variant:this.getRenderProp(`variant`)}))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } }`}}},[545,`kol-popover-button`,{_accessKey:[1,`_access-key`],_ariaDescription:[1,`_aria-description`],_customClass:[1,`_custom-class`],_disabled:[4],_hideLabel:[4,`_hide-label`],_icons:[1],_inline:[4],_label:[1],_name:[1],_popoverAlign:[1,`_popover-align`],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tabIndex:[2,`_tab-index`],_tooltipAlign:[1,`_tooltip-align`],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],popoverOpen:[32],hidePopover:[64],showPopover:[64],click:[64],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([U(`ctaRef`)],Xb.prototype,`click`,null),yl([H(`ctaRef`)],Xb.prototype,`focus`,null);var Zb=Xb,Qb=function(){typeof customElements<`u`&&[`kol-popover-button`].forEach((e=>{e===`kol-popover-button`&&(customElements.get(N(e))||customElements.define(N(e),Xb))}))},$b=[`bar`,`cycle`],ex=z(`variant`,`bar`,(e=>{let t=R(e);if($b.includes(t))return t;throw Error(`Invalid progress variant: `+t)}),(()=>!0)),tx={optional:[fl,Ny,ex],required:[$c,My]},nx=P.forBlock(`kol-progress`),rx=({max:e,value:t})=>A(`svg`,{width:`100`,viewBox:`0 0 120 120`,xmlns:`http://www.w3.org/2000/svg`},A(`circle`,{class:nx(`cycle-background`),cx:`60`,cy:`60`,r:`54.5`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`8`}),A(`circle`,{class:nx(`cycle-whitespace`),cx:`60`,cy:`60`,r:`59`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`3`}),A(`circle`,{class:nx(`cycle-border`),cx:`60`,cy:`60`,r:`59`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`1`}),A(`circle`,{class:nx(`cycle-whitespace`),cx:`60`,cy:`60`,r:`51`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`1`}),A(`circle`,{class:nx(`cycle-border`),cx:`60`,cy:`60`,r:`50`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`1`}),A(`circle`,{class:nx(`cycle-progress`),fill:`currentColor`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-dasharray":Math.round(t/e*342)+`px 342px`,"stroke-width":`6`,cx:`60`,cy:`60`,r:`54.5`})),ix=({max:e,value:t})=>{let n=t/e*100;return A(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`100%`,height:`12`,overflow:`visible`},A(`rect`,{class:nx(`bar-background`),x:`1`,y:`1`,height:`11`,rx:`5`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`3`,width:`100%`}),A(`rect`,{class:nx(`bar-border`),x:`1`,y:`1`,height:`11`,rx:`5`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`1`,width:`100%`}),A(`rect`,{class:nx(`bar-progress`),x:`3`,y:`3`,height:`7`,rx:`3.5`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`3`,style:{width:`calc(${n}% - 4px)`}}))},ax=e=>{let{label:t,max:n,unit:r,value:i,variant:a,liveValue:o}=ll(tx,e),s=r===`%`,c=s?``+Math.round(o/n*100):o,l=s?Math.round(i/n*100):i,u=(``+((s?100:n)+1)).length+`ch`,d=s?G(`kol-live-value`,{placeholders:{value:c+``,unit:r}}):G(`kol-live-value-bounded`,{placeholders:{value:c+``,max:n+``,unit:r}});return A(sl,{block:`kol-progress`},A(`div`,{"aria-hidden":`true`,class:nx(a===`cycle`?`cycle`:`bar`)},a===`bar`&&t&&A(`div`,{class:nx(`bar-label`)},fu(t)),((e,t,n)=>{switch(e){case`cycle`:return A(rx,{max:t,value:n});case`bar`:return A(ix,{max:t,value:n});default:throw Error(`Progress variant ${e} not implemented.`)}})(a,n,i),a===`cycle`&&A(`div`,{class:nx(`cycle-text`)},t&&A(`div`,{class:nx(`cycle-label`)},fu(t)),A(`div`,{class:nx(`cycle-value`)},`${l} ${r}`)),a===`bar`&&A(`div`,{class:nx(`bar-value`),style:{width:u}},l),a===`bar`&&A(`div`,{class:nx(`bar-unit`)},r)),A(`progress`,{"aria-busy":i<n?`true`:`false`,"aria-label":Tc(t)||G(`kol-progress`),class:`visually-hidden`,max:n,value:i}),A(`span`,{"aria-live":`polite`,"aria-relevant":`removals text`,class:`visually-hidden`},d))},ox=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.liveValue=0,this.propsConfig=tx,this._label=void 0,this._unit=void 0,this._variant=void 0}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchMax(e){My.apply(e,(e=>{this.setRenderProp(`max`,e),this.watchValue(this.getRawProp(`value`))}))}watchUnit(e){Ny.apply(e,(e=>this.setRenderProp(`unit`,e)))}watchValue(e){this.setRawProp(`value`,e),$c.apply(e,(e=>{this.setRenderProp(`value`,e)}),{min:0,max:this.getRenderProp(`max`)})}watchVariant(e){ex.apply(e,(e=>this.setRenderProp(`variant`,e)))}connectedCallback(){this.startLiveValueInterval()}componentWillLoad(){this.watchLabel(this._label),this.watchMax(this._max),this.watchUnit(this._unit),this.watchValue(this._value),this.watchVariant(this._variant),this.setState(`liveValue`,this.getRenderProp(`value`))}disconnectedCallback(){this.interval&&=(clearInterval(this.interval),void 0)}startLiveValueInterval(){clearInterval(this.interval),this.interval=setInterval((()=>{let e=this.getRenderProp(`value`);this.setState(`liveValue`,e)}),5e3)}render(){return A(j,{key:`939376375a0979a253b3eeab3abdc467136d6013`},A(ax,{key:`f9d8fa4905b00e903442f273b64235234d99773a`,label:this.getRenderProp(`label`),max:this.getRenderProp(`max`),unit:this.getRenderProp(`unit`),value:this.getRenderProp(`value`),variant:this.getRenderProp(`variant`),liveValue:this.liveValue}))}static get watchers(){return{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-progress { --color-bar: var(--kol-progress-color-bar, #0075ff); } .kol-progress__bar { display: grid; align-items: center; grid-template-areas: "LABEL LABEL LABEL" "BAR VALUE UNIT"; grid-template-columns: 1fr auto; } .kol-progress__bar-label { grid-column-end: 2; grid-area: LABEL; } .kol-progress__bar svg { grid-area: BAR; } .kol-progress__bar-value { grid-area: VALUE; text-align: right; } .kol-progress__bar-unit { grid-area: UNIT; } .kol-progress__bar-border { fill: transparent; stroke: black; } .kol-progress__bar-background { fill: white; stroke: white; } .kol-progress__bar-progress { fill: var(--color-bar); stroke: transparent; } @media (prefers-reduced-motion: no-preference) { .kol-progress__bar-progress { transition: 250ms ease-in-out 50ms; } } .kol-progress__cycle { display: grid; align-content: center; justify-items: center; grid-template-areas: "ALL"; grid-template-columns: auto; } .kol-progress__cycle > * { grid-area: ALL; } .kol-progress__cycle-text { display: flex; flex-direction: column; justify-content: center; font-size: x-small; text-align: center; } .kol-progress__cycle-text * { background-color: white; } .kol-progress__cycle-background { fill: transparent; stroke: white; } .kol-progress__cycle-border { fill: transparent; stroke: black; } .kol-progress__cycle-whitespace { fill: transparent; stroke: white; } .kol-progress__cycle-progress { transform: rotate(-90deg); transform-origin: 50% 50%; fill: transparent; stroke: var(--color-bar); } @media (prefers-reduced-motion: no-preference) { .kol-progress__cycle-progress { transition: 250ms ease-in-out 50ms; } } }`}}},[545,`kol-progress`,{_label:[1],_max:[2],_unit:[1],_value:[2],_variant:[1],liveValue:[32]},void 0,{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]),sx=ox,cx=function(){typeof customElements<`u`&&[`kol-progress`].forEach((e=>{e===`kol-progress`&&(customElements.get(N(e))||customElements.define(N(e),ox))}))},lx=z(`quote`,``,R),ux={optional:[fl,rl],required:[Ap,lx]},dx=P.forBlock(`kol-quote`),fx=dx(`blockquote`),px=dx(`cite`),mx=dx(`figcaption`),hx=dx(`quote`),gx=e=>{let{href:t,label:n,quote:r,variant:i}=ll(ux,e),a=r===``;return A(sl,{component:`figure`,block:`kol-quote`,modifiers:{[i]:!0}},i===`block`?A(`blockquote`,{class:fx,cite:t},r,A(`span`,{"aria-hidden":a?void 0:`true`,hidden:!a},A(`slot`,{name:`expert`}))):A(`q`,{class:hx,cite:t},r,A(`span`,{"aria-hidden":a?void 0:`true`,hidden:!a},A(`slot`,{name:`expert`}))),!!n&&A(`figcaption`,{class:mx},A(`cite`,{class:px},A(`kol-link`,{_href:t,_label:n,_target:`_blank`}))))},_x=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=ux,this._label=void 0,this._variant=`inline`}watchHref(e){Ap.apply(e,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`))}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchQuote(e){lx.apply(e,(e=>this.setRenderProp(`quote`,e)))}watchVariant(e){rl.apply(e,(e=>this.setRenderProp(`variant`,e)))}componentWillLoad(){this.watchHref(this._href),this.watchLabel(this._label),this.watchQuote(this._quote),this.watchVariant(this._variant)}render(){return A(j,{key:`57dac0e3b86ddd087384b753c2c9911f1e6030cb`},A(gx,{key:`65d7603a5ec110ee6df5bb3c423cea889b513ab4`,href:this.getRenderProp(`href`),label:this.getRenderProp(`label`),quote:this.getRenderProp(`quote`),variant:this.getRenderProp(`variant`)}))}static get watchers(){return{_href:[{watchHref:0}],_label:[{watchLabel:0}],_quote:[{watchQuote:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-quote { display: inline; margin: 0; padding: 0; } .kol-quote__cite::before { content: "—"; } .kol-quote--block .kol-quote__figcaption { display: inline; margin: 0; padding: 0; } .kol-quote__blockquote::before { content: open-quote; } .kol-quote__blockquote::after { content: close-quote; } }`}}},[545,`kol-quote`,{_href:[1],_label:[1],_quote:[1],_variant:[1]},void 0,{_href:[{watchHref:0}],_label:[{watchLabel:0}],_quote:[{watchQuote:0}],_variant:[{watchVariant:0}]}]),vx=_x,yx=function(){typeof customElements<`u`&&[`kol-quote`,`kol-link`].forEach((e=>{switch(e){case`kol-quote`:customElements.get(N(e))||customElements.define(N(e),_x);break;case`kol-link`:customElements.get(N(e))||Ey()}}))},bx=M(class extends _b{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`select`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.propsConfig=lb,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._rows=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.initFormAssociation(`select`,this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchMultiple(e){this.applyMultiple(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchOptions(e){this.applyOptions(e)}watchRequired(e){this.applyRequired(e)}watchRows(e){this.applyRows(e)}watchShortKey(e){this.applyShortKey(e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTabIndex(e){this.applyTabIndex(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this.getModelValue())}focus(e){return Promise.resolve()}componentWillLoad(){this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchMultiple(this._multiple),this.watchName(this._name),this.watchOn(this._on),this.watchOptions(this._options),this.watchRequired(this._required),this.watchRows(this._rows),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTabIndex(this._tabIndex),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getAccessKeyProp(){return this._accessKey}getShortKeyProp(){return this._shortKey}render(){return A(j,{key:`b51bd1aafbb18161f6702a8b7000555458331cee`,class:`kol-select`},this.renderSelectField())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } }`}}},[545,`kol-select`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_disabled:[4],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_multiple:[4],_name:[1],_on:[16],_options:[1],_required:[4],_rows:[2],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tabIndex:[2,`_tab-index`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],bx.prototype,`focus`,null);var xx=bx,Sx=function(){typeof customElements<`u`&&[`kol-select`].forEach((e=>{e===`kol-select`&&(customElements.get(N(e))||customElements.define(N(e),bx))}))},Cx=Vv(),wx={required:[...Qm.required,Cx],optional:[...Qm.optional,Iu,ch,vh,Th,Eh,ab,Ku,Xu]},Tx=P.forBlock(`kol-single-select`),Ex=P.forBlock(`kol-custom-suggestions-toggle`),Dx=Tx(`delete`),Ox=Tx(`no-results-message`),kx=({disabled:e,handleClick:t})=>A(Ul,{icons:`kolicon-chevron-down`,label:``,class:Ex({disabled:e}),onClick:t}),Ax=({message:e})=>A(`div`,{class:Ox},e,` `),jx=({message:e})=>A(`span`,{class:`visually-hidden`,role:`status`},e),Mx=M(class extends ph{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`single-select`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.filteredOptions=[],this.inputValue=``,this.clearButton=Nm((()=>this.host)),this.ctaRef=Rl(),this.translateDeleteSelection=G(`kol-delete-selection`),this.translateNoResultsMessage=G(`kol-no-results-message`),this.propsConfig=wx,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hasClearButton=!0,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._required=!1,this._rows=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=null,this._variant=void 0,this.toggleListbox=e=>{var t;if(e?.preventDefault(),!0!==this.getRenderProp(`disabled`)){if((t=this.ctaRef.el)==null||t.focus(),this.isOpen)this.isOpen=!1;else{this.isOpen=!0;let e=Array.isArray(this.filteredOptions)?this.filteredOptions.findIndex((e=>e.label===this.inputValue)):-1;this.focusOption(e>=0?e:-1)}}},this.handleSingleSelectInput=e=>{let t=e.target.value;this.inputValue=t,this.isOpen=!0,this.setFilteredOptionsByQuery(t),this.focusedIndex=-1},this.handleSingleSelectChange=e=>{this.isOpen||this.handleChange(e,this._value)},this.handleSingleSelectClick=e=>{var t;this.toggleListbox(e),(t=this.ctaRef.el)==null||t.focus(),this.handleClick(e)},this.handleInputBlur=e=>{this.handleFocusLeave(e)},this.handleDropdownKeyDown=e=>{e.key.length===1&&/[a-z0-9]/i.test(e.key)&&(e.preventDefault(),this.isOpen=!0,this.focusOptionStartingWith(e.key))},this.handleClearButtonClick=()=>{var e;this.clearSelection(),(e=this.ctaRef.el)==null||e.focus(),this.clearButtonFocused=!1},this.initFormAssociation(`single-select`,this._name)}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHasClearButton(e){ch.apply(e,(e=>this.setRenderProp(`hasClearButton`,e)))}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchOptions(e){this.applyOptions(e),this.filteredOptions=[...this.getRenderProp(`options`)??[]],this.isOpen?this.setFilteredOptionsByQuery(this.inputValue):this.updateInputValue(this._value)}watchPlaceholder(e){Th.apply(e,(e=>this.setRenderProp(`placeholder`,e)))}watchRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchRows(e){ab.apply(e,(e=>this.setRenderProp(`rows`,e)))}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.updateInputValue(e)}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}componentWillLoad(){this.optionRefs=[],this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant),this.applyOptions(this._options),this.watchHasClearButton(this._hasClearButton),this.watchPlaceholder(this._placeholder),this.watchRequired(this._required),this.watchRows(this._rows),this.filteredOptions=this.getRenderProp(`options`),this.watchValue(this._value)}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyFormField()}handleHostKeyDown(e){this.handleListboxKeyDown(e)}handleMouseEvent(){this.handleListboxMouseMove()}handleFocusIn(e){setTimeout((()=>{Ml(this.host)&&!this.inputHasFocus&&this.handleFocus(e)}))}handleFocusOut(e){this.selectOptionByInputValue(),setTimeout((()=>{this.inputHasFocus&&!Ml(this.host)&&(this.handleBlur(e),this.isOpen=!1)}))}getOptionCount(){return Array.isArray(this.filteredOptions)?this.filteredOptions.length:0}moveFocus(e,t=1){this.filteredOptions&&this.moveFocusSkippingDisabled(e,t,(e=>!!this.filteredOptions[e].disabled))}focusFirstOption(){this.moveFocus(-1*this.focusedIndex)}focusLastOption(){this.moveFocus(this.filteredOptions?this.filteredOptions.length-1-this.focusedIndex:0,-1)}handleConfirmKey(e){var t;this.clearButtonFocused?(this.clearSelection(),e.preventDefault()):this.isOpen?this.selectFocusedOption()&&((t=this.ctaRef.el)==null||t.focus(),this.handleListboxEvent(e,!1)):this.toggleListbox(e)}selectFocusedOption(){if(Array.isArray(this.filteredOptions)&&this.filteredOptions.length>0&&this.focusedIndex>=0){let e=this.filteredOptions[this.focusedIndex];return!e?.disabled&&(this.selectOption(e),!0)}return!1}focusOptionStartingWith(e){let t=e.toLowerCase(),n=Array.isArray(this.filteredOptions)&&this.filteredOptions.findIndex((e=>e.label.toLowerCase().startsWith(t)&&!e.disabled));typeof n==`number`&&n>=0&&this.focusOption(n)}setFilteredOptionsByQuery(e){if(e===void 0)return;let t=this.getRenderProp(`options`);e.trim()===``?this.filteredOptions=[...t]:Array.isArray(t)&&t.length>0&&e.length>0&&(this.filteredOptions=t.filter((t=>(t.label?.toLowerCase())?.includes(e.toLowerCase()))))}updateInputValue(e){let t=this.getRenderProp(`options`)?.find((t=>t.value===e));this.inputValue=t?t.label+``:``}selectOption(e){if(e.value===this._value)return this.inputValue=e.label,void(this.filteredOptions=[...this.getRenderProp(`options`)]);this._value=e.value,this.inputValue=e.label;let t={name:this.getRenderProp(`name`)??``,value:e.value};this.handleInput(uo(F.input,t,this.ctaRef.el),e.value),this.handleChange(uo(F.change,t,this.ctaRef.el),e.value),this.filteredOptions=[...this.getRenderProp(`options`)],this.formAssociation.setFormAssociatedValue(this._value)}clearSelection(){var e;if(!0===this.getRenderProp(`disabled`))return;this.focusedIndex=-1,this._value=null,this.inputValue=``,this.filteredOptions=[...this.getRenderProp(`options`)];let t={name:this.getRenderProp(`name`),value:null};this.handleInput(uo(F.input,t,this.ctaRef.el),null),this.handleChange(uo(F.change,t,this.ctaRef.el),null),(e=this.ctaRef.el)==null||e.focus(),this.isOpen=!0}selectOptionByInputValue(){let e=this.getRenderProp(`options`),t=e?.find((e=>e.label?.toLowerCase()===this.inputValue?.toLowerCase()));t?this.selectOption(t):this._value!=null&&(this.filteredOptions=[...e??[]])}getInputProps(){let{ariaDescribedBy:e,hasError:t}=this.getAria(),n=this.id,r=!0===this.getRenderProp(`disabled`),i=this.getRenderProp(`accessKey`)||void 0,a=this.getRenderProp(`placeholder`),o=this.getRenderProp(`shortKey`)||void 0,s=this.getRenderProp(`hideLabel`),c=this.getRenderProp(`label`);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:n,hideLabel:s,label:c,disabled:r,name:this.getRenderProp(`name`)||void 0},i?{accessKey:i}:{}),{value:this.inputValue,required:this.getRenderProp(`required`)}),a?{placeholder:a}:{}),{touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),o?{"aria-keyshortcuts":o}:{}),{"aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":`both`,"aria-controls":wu(n,`listbox`),"aria-describedby":e.length>0?e.join(` `):void 0,"aria-expanded":this.isOpen?`true`:`false`,"aria-label":s&&typeof c==`string`?c:void 0,"aria-labelledby":wu(n,`label`),autocapitalize:`off`,autocorrect:`off`,autocomplete:`off`,class:`kol-single-select__input`,ref:this.ctaRef,role:`combobox`,type:`text`,onBlur:this.handleInputBlur,onChange:this.handleSingleSelectChange,onClick:this.handleSingleSelectClick,onFocus:this.handleFocus,onInput:this.handleSingleSelectInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:e,"aria-invalid":t?`true`:void 0})}hasNoResults(){return!Array.isArray(this.filteredOptions)||this.filteredOptions.length===0}renderOptions(){return this.hasNoResults()?[]:this.filteredOptions.map(((e,t)=>A(fh,{id:this.getOptionId(t),index:t,option:e.label,searchTerm:this.inputValue,ref:e=>{e&&(this.optionRefs[t]=e)},selected:this._value===e.value,disabled:!!e.disabled,onClick:t=>{var n;e.disabled||(t.preventDefault(),this.selectOption(e),this.isOpen=!1,(n=this.ctaRef.el)==null||n.focus())},onMouseOver:()=>{this.blockSuggestionMouseOver||e.disabled||this.focusOption(t)},onFocus:()=>{e.disabled||this.focusOption(t)}})))}applyOptions(e){Cx.apply(e,(e=>this.setRenderProp(`options`,e)))}render(){let e=!0===this.getRenderProp(`disabled`),t=this.isOpen&&!e&&this.hasNoResults(),{startAdornment:n,endAdornment:r}=bh({icons:this.getRenderProp(`icons`)});return A(j,{key:`860244c647cbd6040c6685187663fa76299a5658`},A(ah,Object.assign({key:`7ff9a73ed632f52ffe69183e57ddedd18f058ead`},this.getFormFieldProps({class:B(`kol-single-select`,{"kol-single-select--open":this.isOpen}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,required:this.getRenderProp(`required`),variant:this.getRenderProp(`variant`)})),A(wh,{key:`5065b4c8d28a5215bbdb98e9b563988a2e4678dd`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:n,endAdornment:r},A(hh,{key:`78aedfb996cd2a13cc8871cb370cbd4e59e5f74a`,block:`kol-single-select`},A(kh,Object.assign({key:`cd23ccce819ed279bf5a069c56a324ebd979284c`},this.getInputProps())),this.inputValue&&this.getRenderProp(`hasClearButton`)&&A(md,Object.assign({key:`0d56ba50073d26a3a19c2779d34a398152c9db49`},this.clearButton.getFcProps({_icons:`kolicon-cross`,_label:this.translateDeleteSelection,_hideLabel:!0,_variant:`ghost`,_disabled:e,_on:{onClick:this.handleClearButtonClick,onFocus:this.handleClearButtonFocus,onBlur:this.handleClearButtonBlur}},{class:Dx,hidden:e}))),A(kx,{key:`976baaeca718bac7184d708c0c6b8cd326b36fa6`,disabled:e,handleClick:this.toggleListbox})),A(dh,{key:`23a6adb9f572fc5eac7c831edebb7ed4e35792b2`,blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,style:{"--visible-options":``+(this.getRenderProp(`rows`)??5)},hidden:!this.isOpen||e,id:wu(this.id,`listbox`),"aria-labelledby":wu(this.id,`label`)},this.renderOptions()),t&&A(Ax,{key:`003f2e4a44379ada684320fb7ca5fea2e74d5db6`,message:this.translateNoResultsMessage}),A(jx,{key:`6269437b1a1e613b6269cfd3ed182856fc77dcea`,message:t?this.translateNoResultsMessage:``}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hasClearButton:[{watchHasClearButton:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_placeholder:[{watchPlaceholder:0}],_required:[{watchRequired:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-custom-suggestions-option { line-height: 1.5; white-space: normal; overflow-wrap: break-word; } .kol-custom-suggestions-option:not(.kol-custom-suggestions-option--disabled) { cursor: pointer; } .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option { cursor: none !important; } .kol-custom-suggestions-option--disabled, .kol-custom-suggestions-option--disabled * { cursor: not-allowed; } .kol-custom-suggestions-options-group { background-color: white; display: block; position: absolute; z-index: 2; max-height: calc(250 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; list-style-type: none; } .kol-input-container:has(.kol-custom-suggestions-options-group--open) { z-index: 10; } .kol-custom-suggestions-toggle { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: default; } .kol-custom-suggestions-toggle.kol-custom-suggestions-toggle--disabled { cursor: not-allowed; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-single-select { } .kol-single-select__group .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-single-select__group :host { display: inline-block; } .kol-single-select__group .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-single-select__group .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-single-select__group .kol-button__interactive-element::before { content: "​"; } .kol-single-select__group .kol-button__text { flex: 1 0 100%; } .kol-single-select__group .kol-button { } .kol-single-select__group .kol-button__tooltip { height: 0; } .kol-single-select__group .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-single-select__group .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-single-select__no-results-message { display: flex; min-height: calc(50 * 1rem / var(--kolibri-root-font-size, 16)); align-items: center; justify-content: center; cursor: default; } .kol-single-select .kol-custom-suggestions-options-group { max-height: calc(40 * 1rem / var(--kolibri-root-font-size, 16) * var(--visible-options, 5) + 2 * 1rem / var(--kolibri-root-font-size, 16)) !important; } .kol-single-select--open .kol-custom-suggestions-toggle { transform: rotate(180deg); } .kol-custom-suggestions-toggle:not(.kol-custom-suggestions-toggle--disabled) { cursor: pointer; } }`}}},[545,`kol-single-select`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_disabled:[4],_hasClearButton:[4,`_has-clear-button`],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_options:[1],_placeholder:[1],_required:[4],_rows:[2],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1032],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],isOpen:[32],blockSuggestionMouseOver:[32],filteredOptions:[32],inputValue:[32],getValue:[64],focus:[64]},[[0,`keydown`,`handleHostKeyDown`],[1,`mousemove`,`handleMouseEvent`],[0,`focusin`,`handleFocusIn`],[0,`focusout`,`handleFocusOut`]],{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hasClearButton:[{watchHasClearButton:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_placeholder:[{watchPlaceholder:0}],_required:[{watchRequired:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],Mx.prototype,`focus`,null);var Nx=Mx,Px=function(){typeof customElements<`u`&&[`kol-single-select`].forEach((e=>{e===`kol-single-select`&&(customElements.get(N(e))||customElements.define(N(e),Mx))}))},Fx=kp(`KolSkipNav`),Ix={required:[sp,Fx]},Lx=P.forBlock(`kol-skip-nav`),Rx=Lx(`list`),zx=Lx(`list-item`),Bx=({label:e,linkItems:t})=>A(sl,{component:`nav`,block:`kol-skip-nav`,"aria-label":e},A(`ul`,{class:Rx},t.map(((e,t)=>A(`li`,{class:zx,key:t},A(zp,Object.assign({},e.fcProps))))))),Vx=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.linkItems=[],this.ctaRef=Rl(),this.propsConfig=Ix}watchLabel(e){this.applyLabel(e)}watchLinks(e){this.applyLinks(e)}focus(e){return Promise.resolve()}componentWillLoad(){this.applyLabel(this._label,!0),this.watchLinks(this._links)}componentDidRender(){this.ctaRef(this.linkItems[0]?.getAnchor()),this.linkItems.forEach((e=>e.syncTooltipListeners()))}disconnectedCallback(){this.linkItems.forEach((e=>e.destroy())),Up(this.getRenderProp(`label`))}applyLabel(e,t=!1){t||Up(this.getRenderProp(`label`)),sp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),na(e),Hp(this.getRenderProp(`label`))}applyLinks(e){Fx.apply(e,(e=>{this.setRenderProp(`links`,e),this.linkItems.forEach((e=>e.destroy())),this.linkItems=e.map((e=>((e,t)=>{var n;let r=new Gf(V.stateLess),i=Rl(),a=cl(Lp);a.tabIndex=void 0;let o=(e,t)=>e.apply(t,(t=>{a[e.propName]=t}));return o(Iu,e._accessKey),o(Ru,e._ariaControls),o(Np,e._ariaCurrentValue),o(zu,e._ariaDescription),o(Sl,e._disabled),o(Fp,e._download),o(Hu,e._hideLabel),o(Ap,e._href),o(qu,e._icons),o(Uu,(n=e._inline)==null||n),o(td,e._label),o(Ip,e._on),o(Ku,e._shortKey),typeof e._tabIndex==`number`&&o(Ju,e._tabIndex),o(jp,e._target),o(Yu,e._tooltipAlign),Bp(e._accessKey,e._shortKey),r.componentWillLoad({label:(()=>{let e=a.label;if(typeof e==`string`&&e.length>0)return e;let t=a.href;return typeof t==`string`?t:``})(),align:a.tooltipAlign}),a.ariaCurrent=``,a.ariaDescriptionId=W(`aria-description`),a.expertSlot=e._label===``,a.handleAnchorClick=e=>{if(r.hideTooltip(),!0===a.disabled)return void e.preventDefault();let n=typeof a.href==`string`?a.href:``,o=a.on;typeof o?.onClick==`function`&&(Da(e,i.el),o.onClick(e,n));let s=t();s&&I(s,F.click,n)},a.refAnchor=e=>{i(e)},a.refTooltip=r.setTooltipElementRef,{fcProps:a,getAnchor:()=>i.el,syncTooltipListeners:()=>{i.el&&r.syncListeners(void 0,i.el,!0)},destroy:()=>{r.destroy()}}})(e,(()=>this.host))))}))}render(){return A(j,{key:`9d099e215981e57993a7df96ae339fd5e579edf3`},A(Bx,{key:`8f9be8ffe865f50fa6c9bd8fd6dff385cfe9ac43`,label:this.getRenderProp(`label`),links:this.getRenderProp(`links`),linkItems:this.linkItems}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-skip-nav__list { display: grid; place-items: center; list-style: none; } .kol-skip-nav__list-item { height: 0; } .kol-skip-nav .kol-link { position: absolute; left: calc(-99999 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 9999999; line-height: 1; } .kol-skip-nav .kol-link:focus-within { position: unset; left: unset; } .kol-skip-nav .kol-link__interactive-element:focus { background-color: white; } }`}}},[545,`kol-skip-nav`,{_label:[1],_links:[1],linkItems:[32],focus:[64]},void 0,{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]);yl([H(`ctaRef`)],Vx.prototype,`focus`,null);var Hx=Vx,Ux=function(){typeof customElements<`u`&&[`kol-skip-nav`].forEach((e=>{e===`kol-skip-nav`&&(customElements.get(N(e))||customElements.define(N(e),Vx))}))},Wx=z(`show`,!1,Pc),Gx=[`dot`,`cycle`,`none`],Kx=z(`variant`,`dot`,(e=>{let t=R(e);if(Gx.includes(t))return t;throw Error(`Invalid spin variant: ${t}`)}),(()=>!0)),qx={optional:[sp,Wx,Kx]},Jx=P.forBlock(`kol-spin`),Yx=Jx(`loader`),Xx=[`1`,`2`,`3`,`neutral`],Zx=e=>{let{show:t,label:n,variant:r}=ll(qx,e);return A(sl,{block:`kol-spin`},t?A(Ar,null,A(`span`,{class:Jx(`spinner`,{[r]:!0})},function(e){switch(e){case`cycle`:return A(`span`,{class:Yx});case`none`:return A(`slot`,{name:`expert`});default:return Xx.map((e=>A(`span`,{class:Jx(`spinner-element`,{[e]:!0})})))}}(r)),A(`span`,{"aria-busy":`true`,class:`visually-hidden`,role:`alert`},n||G(`kol-action-running`))):A(`span`,{"aria-busy":`false`,class:`visually-hidden`,role:`alert`},n||G(`kol-action-done`)))},Qx=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=qx,this._label=void 0,this._show=void 0,this._variant=void 0}watchLabel(e){sp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchShow(e){Wx.apply(e,(e=>this.setRenderProp(`show`,e)))}watchVariant(e){Kx.apply(e,(e=>this.setRenderProp(`variant`,e)))}componentWillLoad(){this.watchLabel(this._label),this.watchShow(this._show),this.watchVariant(this._variant)}render(){return A(j,{key:`53c73002fbad7ab3134e199687a5039265032e10`},A(Zx,{key:`1f8f7b5f4437321fa292007a4ca43fe292253a90`,show:this.getRenderProp(`show`),label:this.getRenderProp(`label`),variant:this.getRenderProp(`variant`)}))}static get watchers(){return{_label:[{watchLabel:0}],_show:[{watchShow:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { @keyframes rotate { to { transform: rotate(1turn); } } @keyframes growingCircle { 0% { opacity: 0.5; border-color: var(--kol-spin-color, var(--kol-theme-spin-color-start, white)); clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { opacity: 0.75; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { opacity: 0.1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .kol-spin__spinner--cycle { width: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--cycle .kol-spin__loader { border-radius: 50%; display: block; position: relative; width: 100%; height: 100%; animation: 2s linear infinite rotate; } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader { animation-duration: 4s !important; } } .kol-spin__spinner--cycle .kol-spin__loader::before { border-radius: 50%; position: absolute; inset: 0; content: ""; animation: 3s linear infinite growingCircle; border: 5px solid var(--kol-spin-color, var(--kol-theme-spin-color, #333)); } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader::before { animation-duration: 6s !important; } } } @layer kol-component { @keyframes spin1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes spin2 { 0% { transform: translate(0, 0); } 100% { transform: translate(calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)), 0); } } @keyframes spin3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @media (prefers-reduced-motion) { .kol-spin__spinner-element { animation-duration: 2s !important; } } .kol-spin__spinner--dot { --kol-spin-border-width: calc(var(--kol-spin-size, 13) / 10); width: calc(calc(var(--kol-spin-size, 13) * 3 + 2) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width) * 2) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--dot .kol-spin__spinner-element { background-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); border-radius: 50%; position: absolute; top: 1px; width: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); animation-timing-function: cubic-bezier(0, 1, 1, 0); border: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)) solid white; } .kol-spin__spinner--dot .kol-spin__spinner-element--1 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin1; } .kol-spin__spinner--dot .kol-spin__spinner-element--2 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--3 { left: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--neutral { opacity: 0.6; left: calc(calc(var(--kol-spin-size, 13) * 2 + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin3; } } @layer kol-component { .kol-spin { display: contents; } .kol-spin__spinner { display: block; position: relative; } }`}}},[545,`kol-spin`,{_label:[1],_show:[4],_variant:[1]},void 0,{_label:[{watchLabel:0}],_show:[{watchShow:0}],_variant:[{watchVariant:0}]}]),$x=Qx,eS=function(){typeof customElements<`u`&&[`kol-spin`].forEach((e=>{e===`kol-spin`&&(customElements.get(N(e))||customElements.define(N(e),Qx))}))},tS=P.forBlock(`kol-split-button`),nS=tS(`button`),rS=tS(`horizontal-line`),iS=tS(`root`),aS=tS(`secondary-button`),oS=e=>{let{buttonProps:t,buttonWrapperClass:n,class:r,dropdownProps:i,refDropdown:a}=e;return A(sl,{block:`kol-split-button`,class:r},A(`div`,{class:iS},A(`div`,{class:B(nS,n)},A(md,Object.assign({},t))),A(`div`,{class:rS}),A(`div`,{class:aS,ref:a},A(Lm,Object.assign({},i)))))},sS=M(class extends um{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=W(`aria-description`),this.dropdownOpen=!1,this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._type=`button`,this._value=void 0,this._variant=`normal`,this.setDropdownRef=e=>{this.dropdownElement=e},this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchAriaSelected(e){this.applyAriaSelected(e)}watchCustomClass(e){this.applyCustomClass(e)}watchDisabled(e){var t;this.applyDisabled(e),(t=this.dropdownItem)==null||t.setDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn({onClick:e?.onClick})}watchRole(){}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}closePopup(){return this.dropdownItem.hide(),Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.applyInline(!1),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior(),this.dropdownItem=Vm({disabled:this._disabled,getEventTarget:()=>this.dropdownElement,getFlagHost:()=>this.host,getOpen:()=>this.dropdownOpen,hideLabel:!0,icons:`kolicon-chevron-down`,label:G(`kol-split-button-dropdown-label-open`),popoverAlign:`bottom`,setOpen:e=>{this.dropdownOpen=e}})}componentDidRender(){this.syncTooltipListeners(),this.dropdownItem.syncListeners()}disconnectedCallback(){this.destroyTooltipBehavior(),this.dropdownItem.destroy()}getButtonWrapperClass(){return B({[this._variant]:this._variant!==`custom`,[this._customClass]:this._variant===`custom`&&typeof this._customClass==`string`&&this._customClass.length>0})}render(){return A(j,{key:`531db6f8d84d3366187de93fe87ec1a06df39416`},A(oS,{key:`9e6f33d8ded5e4a8736524b4d3ea97036e4bc1ec`,buttonProps:this.getButtonFCProps(),buttonWrapperClass:this.getButtonWrapperClass(),dropdownProps:this.dropdownItem.getFcProps(),refDropdown:this.setDropdownRef}))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-split-button { display: flex; position: relative; width: 100%; } .kol-split-button__root { display: flex; position: relative; width: 100%; align-items: stretch; } .kol-split-button__button { min-width: 0; flex: 1 1 auto; text-align: left; } }`}}},[545,`kol-split-button`,{_accessKey:[1,`_access-key`],_ariaControls:[1,`_aria-controls`],_ariaDescription:[1,`_aria-description`],_ariaExpanded:[4,`_aria-expanded`],_ariaSelected:[4,`_aria-selected`],_customClass:[1,`_custom-class`],_disabled:[4],_hideLabel:[4,`_hide-label`],_icons:[1],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],dropdownOpen:[32],getValue:[64],focus:[64],click:[64],closePopup:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],sS.prototype,`focus`,null),yl([U(`ctaRef`)],sS.prototype,`click`,null);var cS=sS,lS=function(){typeof customElements<`u`&&[`kol-split-button`].forEach((e=>{e===`kol-split-button`&&(customElements.get(N(e))||customElements.define(N(e),sS))}))},uS,dS;(function(e){e.onBlur=`onBlur`,e.onChange=`onChange`,e.onChangeHeaderCells=`onChangeHeaderCells`,e.onChangePage=`onChangePage`,e.onClick=`onClick`,e.onClose=`onClose`,e.onDblClick=`onDblClick`,e.onFocus=`onFocus`,e.onInput=`onInput`,e.onKeyDown=`onKeyDown`,e.onKeyPress=`onKeyPress`,e.onKeyUp=`onKeyUp`,e.onMouseDown=`onMouseDown`,e.onMouseMove=`onMouseMove`,e.onMouseOut=`onMouseOut`,e.onMouseOver=`onMouseOver`,e.onMouseUp=`onMouseUp`,e.onReset=`onReset`,e.onSelect=`onSelect`,e.onSelectionChange=`onSelectionChange`,e.onChangePageSize=`onChangePageSize`,e.onSort=`onSort`,e.onSortChange=`onSortChange`,e.onSubmit=`onSubmit`,e.onToggle=`onToggle`})(uS||={}),function(e){e.ArrowDown=`ArrowDown`,e.ArrowLeft=`ArrowLeft`,e.ArrowRight=`ArrowRight`,e.ArrowUp=`ArrowUp`,e.Enter=`Enter`,e.Space=` `}(dS||={});var fS=(e,t,n)=>typeof n!=`string`&&n!==void 0?(Pi()&&Xi(`[${e.constructor.name}] The property value: (${n}) for '_ariaLabelledby' is not valid. Allowed values are: string, null`),[]):Hm(t,n),pS=e=>typeof e==`number`&&Number.isInteger(e)&&e>=0,mS=z(`fixedCols`,[0,0],(e=>Rc(e)),(e=>e.length===2&&e.every(pS))),hS=z(`hasSettingsMenu`,!1,Pc),gS=Uc();function _S(e){let t=typeof e==`string`?Aa(e):e;if(Array.isArray(t))return t;throw Error(`Invalid table data: expected an array of row objects.`)}function vS(e){return e.every((e=>typeof e==`object`&&!!e))}var yS=z(`data`,[],_S,vS),bS=z(`dataFoot`,[],_S,vS),xS=e=>Array.isArray(e)&&e.every((e=>Array.isArray(e))),SS=z(`headers`,{horizontal:[],vertical:[]},(function(e){let t=typeof e==`string`?Aa(e):e;if(typeof t!=`object`||!t)throw Error(`Invalid table headers: expected an object.`);let{horizontal:n=[],vertical:r=[]}=t;if(!xS(n)||!xS(r))throw Error(`Invalid table headers: horizontal and vertical must be arrays of header rows.`);return{horizontal:n,vertical:r}}),(function({horizontal:e,vertical:t}){return[...e,...t].every((e=>e.every((e=>e.width===void 0||typeof e.width==`number`))))})),CS=z(`loading`,!1,Pc),wS=z(`selection`,!1,(function(e){let t=typeof e==`string`?Aa(e):e;if(typeof t==`object`&&t)return t;throw Error(`Invalid table selection: expected an object.`)}),(function(e){return!1===e||typeof e.label==`function`&&(!e.selectedKeys||Array.isArray(e.selectedKeys))})),TS={required:[fl,yS,SS],optional:[mS,hS,gS,bS,CS,wS,Xu]},ES=e=>e.flatMap((e=>e.filter((e=>typeof e.key==`string`||typeof e.render==`function`)))),DS=e=>{let t=ES(e.horizontal);if(t.length>0)return{cells:t,horizontal:!0};let n=ES(e.vertical);return{cells:n,horizontal:n.length===0}},OS=(e,t)=>{let n=0;return Array.isArray(e)&&e.forEach((e=>{n+=e[t]??1})),n},kS=(e,t)=>{let n=Math.max(0,...e.map((e=>OS(e,`colSpan`))));return n===0?t.length:n},AS=e=>e?.reduce(((e,t)=>`visible`in t&&!1===t.visible?e:e+(t.colSpan||1)),0)??0,jS=(e,t,n,r)=>{if(r!==void 0&&!t)return r<e[0]?`left`:e[1]>0&&r>=n-e[1]?`right`:void 0},MS=(e,t,n,r)=>{let i=[];for(let a=0;a<t;a++)jS(n,r,t,a)===`left`&&(i[a]=(i[a-1]??0)+(e[a-1]?.width??0));for(let a=t-1;a>=0;a--)jS(n,r,t,a)===`right`&&(i[a]=(i[a+1]??0)+(e[a+1]?.width??0));return i},NS=(e,t,n,r)=>{let i=t===void 0?void 0:e[t];return n&&r?`calc( var(--kol-table-selection-col-width) + ${i}px)`:`${i}px`},PS=({data:e,dataFoot:t,headers:n,isFoot:r,noEntriesLabel:i,primaryHeaders:a})=>{let o=kS(n.horizontal,e),s=a.cells,c=((e,t,n)=>{let r=Math.max(0,...e.map((e=>OS(e,`rowSpan`))));return r===0?t.length:r-n})(n.vertical,e,t.length),l=0;r&&(l=c,c+=t.length);let u=[],d=[],f=[];n.vertical.forEach(((e,t)=>{d[t]=0,f[t]=[]}));for(let i=l;i<c;i++){let c=[];n.vertical.forEach(((e,t)=>{let n=0;if(f[t].forEach((e=>n+=e)),n<=i){let r=e[i-n+d[t]];if(typeof r==`object`){c.push(Object.assign(Object.assign({},r),{headerCell:!0,data:{}}));let e=1;if(typeof r.rowSpan==`number`&&r.rowSpan>1&&(e=r.rowSpan),f[t].push(e),typeof r.colSpan==`number`&&r.colSpan>1)for(let n=1;n<r.colSpan;n++)f[t+n].push(e);d[t]++}}}));for(let n=0;n<o;n++)if(a.horizontal){let a=r?t[i-l]:e[i],o=s[n];typeof o==`object`&&o&&typeof a==`object`&&a&&c.push(Object.assign(Object.assign({},o),{colIndex:n,colSpan:void 0,rowSpan:void 0,data:a,label:a[o.key]}))}else{let t=s[i];typeof t==`object`&&t&&typeof e[n]==`object`&&e[n]!==null&&c.push(Object.assign(Object.assign({},t),{colIndex:n,colSpan:void 0,rowSpan:void 0,data:e[n],label:e[n][t.key]}))}u.push(c)}if(e.length===0){let e=AS(n.horizontal[0]),t=0;n.vertical.length>0&&(e-=n.vertical.length,n.vertical[0].forEach((e=>{t+=e.rowSpan||1})));let r={colSpan:e,label:i,render:void 0,rowSpan:Math.max(t,1)};u.length===0?u.push([r]):u[0].push(r)}return u},FS=({horizontal:e,vertical:t})=>{let n=e.flatMap((e=>e.filter((e=>!1!==e.visible&&e.width!==void 0&&e.width>0)).map((e=>e.width)))),r=[...t.flatMap((e=>e.filter((e=>e.width!==void 0&&e.width>0)).map((e=>e.width)))),...n];return r.length===0?`0px`:r.length===1?`${r[0]}px`:`calc(${r.map((e=>`${e}px`)).join(` + `)})`},IS=e=>e===void 0?[]:Array.isArray(e)?e:[e],LS=e=>(e?e.keyPropertyName:void 0)??`id`,RS=e=>{let t=e?IS(e.selectedKeys):[];return{disabledKeys:new Set((e?IS(e.disabledKeys):[]).map(String)),keyPropertyName:LS(e),selectedKeys:t,selectedKeysSet:new Set(t.map(String))}},zS=(e,t)=>e.filter((e=>!t.disabledKeys.has(String(e[t.keyPropertyName])))),BS=P.forBlock(`kol-table`),VS=BS(`body`),HS=BS(`cell-actions`),US=BS(`cell-states`),WS=BS(`footer`),GS=BS(`head`),KS=BS(`head-row`),qS=BS(`scroll-container`),JS=BS(`selection-icon`),YS=BS(`selection-input-tooltip`),XS=BS(`sort`),ZS=BS(`sort-button`),QS=BS(`sort-order`),$S=BS(`table`),eC=`${BS(`focus-element`)} ${BS(`caption`)}`,tC=`caption`,nC=(e,t)=>jS(e.fixedCols,e.stickyColsDisabled,e.maxCols,t),rC=(e,t,n)=>({left:t===`left`?NS(e.fixedOffsets,n,!0,!1!==e.selection):void 0,right:t===`right`?NS(e.fixedOffsets,n,!1,!1!==e.selection):void 0}),iC=(e,t,n)=>(e.primaryHeaders.horizontal&&t[0]?.data?e.rowKeys.get(t[0].data):void 0)??String(n),aC=e=>{let t=G(`kol-sort`);return typeof e==`number`&&e>0?`${t} – ${G(`kol-table-sort-order`).replace(`{{order}}`,`${e}`)}`:t},oC=(e,t,n,r,i)=>{if(!1===t.visible)return``;let a=!1!==t?.sortable&&typeof t.sortDirection==`string`,o=`none`,s=`kolicon-sort-neutral`;if(a&&t.sortDirection)switch(t.sortDirection){case`ASC`:s=`kolicon-sort-asc`,o=`ascending`;break;case`DESC`:s=`kolicon-sort-desc`,o=`descending`;break;default:o=`none`}let c=i?`row`:typeof t.colSpan==`number`&&t.colSpan>1?`colgroup`:`col`,l=typeof t.sortOrder==`number`&&t.sortOrder>0?t.sortOrder:void 0,u=t.width===void 0?void 0:`${t.width}px`,d=nC(e,r),{left:f,right:p}=rC(e,d,r),m=t.textAlign,h=a?t.sortDirection:void 0;return A(`th`,{key:`${n}-${r}-${t.label}`,class:BS(`cell`,{[o]:!0,"align-center":m===`center`,"align-justify":m===`justify`,"align-left":m===`left`,"align-right":m===`right`,header:!0,"sticky-left":d===`left`,"sticky-right":d===`right`}),scope:c,colSpan:t.colSpan,rowSpan:t.rowSpan,style:{width:u,left:f,right:p},"aria-sort":o,"data-sort":h?`sort-${h}`:void 0},h?A(`span`,{class:XS},A(md,Object.assign({},e.getButtonFcProps(`sort-${i?`vertical`:`horizontal`}-${n}-${r}`,{_icons:{right:s},_label:t.label,_ariaDescription:aC(l),_on:{onClick:n=>{e.handleSort(n,{key:t.key,currentSortDirection:h})}}},{class:ZS}))),l&&A(`span`,{"aria-hidden":`true`,class:QS},l)):t.label)},sC=(e,t,n,r,i=!1)=>A(`tr`,{class:BS(`row`,{body:!i,footer:i}),key:`row-${iC(e,t,n)}`},((e,t,n)=>{let{handleSelectionChange:r,selection:i,selectionModel:a}=e;if(!i)return``;let o=t[0]?.data;if(!o)return``;let s=o[a.keyPropertyName],c=i.multiple||i.multiple===void 0,l=String(s),u=a.selectedKeysSet.has(l),d=a.disabledKeys.has(l),f=i.label(o),{refInput:p,refTooltip:m}=e.getSelectionTooltipRefs(`selection-${l}`,f),h={name:`selection`,checked:u,disabled:d,id:String(s),ref:p,"aria-label":f};return A(`td`,{key:`tbody-${n}-selection`,class:BS(`cell`,{selection:!0})},A(`div`,{class:BS(`selection`,{checked:u})},c?A(`label`,{class:BS(`selection-label`,{disabled:d})},A(Ul,{class:JS,icons:`kolicon `+(u?`kolicon-check`:``),label:``}),A(`input`,Object.assign({class:BS(`selection-input`,{checkbox:!0})},h,{type:`checkbox`,onInput:e=>{let t=u?a.selectedKeys.filter((e=>String(e)!==l)):[...a.selectedKeys,s];r(e,t)}}))):A(`label`,{class:BS(`selection-label`)},A(`input`,Object.assign({class:BS(`selection-input`,{radio:!0})},h,{type:`radio`,onInput:e=>{r(e,[s])}}))),A(`div`,{class:YS},A($u,{label:f,badgeText:``,id:`${s}-label`,refFloating:m}))))})(e,t,n),t.map(((t,i)=>((e,t,n,r,i)=>{if(!1===t.visible)return``;let a=`${n}-${r}-${t.label}`;if(t.data){let i=e.rowKeys.get(t.data);a=i?`${i}-${e.primaryHeaders.horizontal?r:n}`:a}if(t.headerCell)return oC(e,t,n,r,i);let o=typeof t.render!=`function`&&t.label===e.translateNoEntries,s=((e,t,n)=>{if((t.horizontal?e.horizontal:e.vertical).length!==0)return t.cells[n]})(e.headers,e.primaryHeaders,r),c=s?.type===`action`?s:void 0,l=!!(c&&t.data),u=s?.type===`state`?s:void 0,d=!!(u&&t.data),f=nC(e,r),{left:p,right:m}=rC(e,f,t.colIndex),h=typeof t.render==`function`,g=t.textAlign;return A(`td`,{key:`cell-${a}-${e.settingsChangedCounter}`,class:BS(`cell`,{actions:l,"align-center":g===`center`,"align-justify":g===`justify`,"align-left":g===`left`,"align-right":g===`right`,body:!0,states:d,"sticky-left":f===`left`,"sticky-right":f===`right`}),"aria-atomic":o?`false`:void 0,"aria-live":o?`polite`:void 0,"aria-relevant":o?`text`:void 0,colSpan:t.colSpan,rowSpan:t.rowSpan,style:{textAlign:g,left:p,right:m},ref:h?n=>e.handleRenderCell(t,n):void 0},l&&c&&t.data?((e,t,n,r)=>A(`div`,{class:HS},t.actions(n).map(((t,n)=>{let i=`action-${r}-${n}`;return t.type===`button`?A(`span`,{key:i},A(md,Object.assign({},e.getButtonFcProps(i,t)))):t.type===`link`?A(`span`,{key:i},A(zp,Object.assign({},e.getLinkFcProps(i,t)))):null}))))(e,c,t.data,a):d&&u&&t.data?((e,t,n)=>{let r=e.key;if(!r)return``;let i=t[r];return i?A(`div`,{class:US},i.map(((e,t)=>e.type===`badge`?A(`kol-badge`,Object.assign({key:`state-${n}-${t}`},e)):null))):``})(u,t.data,a):h?``:t.label)})(e,t,n,i,r)))),cC=(e,t,n)=>{let r=e.headers.vertical.length+AS(n?.[0])+ +!!e.selection;return A(`tr`,{"aria-hidden":`true`,class:BS(`spacer`,{[t]:!0})},A(`td`,{class:BS(`spacer-line`,{[t]:!0}),colSpan:r}))},lC=e=>{let t=ll(TS,e),{data:n,dataFoot:r,externalLabelElements:i,fixedCols:a,hasScrollbar:o,hasSettingsMenu:s,headers:c,label:l,loading:u,refScrollContainer:d,refTable:f,selection:p,stickyColsDisabled:m,variant:h}=t,g=G(`kol-no-entries`),_=DS(c),v=kS(c.horizontal,n),y=Object.assign(Object.assign({},t),{fixedOffsets:MS(_.cells,v,a,m),maxCols:v,primaryHeaders:_,selectionModel:RS(p),translateNoEntries:g}),b=PS({data:n,dataFoot:r,headers:c,isFoot:!1,noEntriesLabel:g,primaryHeaders:_}),x=i.length===0;return A(sl,{block:`kol-table`,class:Fu(h,`table`)},s&&e.renderSettings(c.horizontal),A(`div`,{ref:d,class:qS,tabindex:o?x?`-1`:`0`:void 0},A(`table`,{ref:f,"aria-labelledby":x?tC:void 0,class:$S,style:{minWidth:FS(c)}},x&&A(`caption`,{class:eC,id:tC,ref:e=>{e&&(o?e.tabIndex=0:e.removeAttribute(`tabindex`))}},fu(l)),A(`thead`,{class:GS},[c.horizontal.map(((e,t)=>A(`tr`,{class:KS,key:`thead-${t}`},p&&(e=>{let{data:t,handleSelectionChange:n,selection:r,selectionModel:i}=e;if(!r)return A(`td`,{class:BS(`cell`,{header:!0}),key:`thead-0`});if(!1===r.multiple)return A(`th`,{scope:`col`,key:`thead-0-selection`,class:BS(`cell`,{header:!0,selection:!0})},A(`span`,{class:`visually-hidden`},G(`kol-table-selection`)));let a=i.selectedKeys.filter((e=>!i.disabledKeys.has(String(e)))).length,o=a===zS(t,i).length,s=a!==0&&!o,c;c=G(a===0?`kol-table-selection-all`:o&&!s?`kol-table-selection-none`:`kol-table-selection-indeterminate`);let{refInput:l,refTooltip:u}=e.getSelectionTooltipRefs(`selection-all`,c);return A(`th`,{scope:`col`,key:`thead-0-selection`,class:BS(`cell`,{header:!0,selection:!0})},A(`span`,{class:`visually-hidden`},G(`kol-table-selection`)),A(`div`,{class:BS(`selection`,{checked:o,indeterminate:s})},A(`label`,{class:BS(`selection-label`)},A(Ul,{class:JS,icons:`kolicon `+(s?`kolicon-minus`:o?`kolicon-check`:``),label:``}),A(`input`,{class:BS(`selection-input`,{checkbox:!0}),ref:l,name:`selection`,checked:o&&!s,indeterminate:s,"aria-label":c,type:`checkbox`,onInput:e=>{n(e,((e,t,n)=>{let r=t.selectedKeys.filter((e=>t.disabledKeys.has(String(e))));return n&&r.push(...zS(e,t).map((e=>e?.[t.keyPropertyName]))),r})(t,i,!o))}})),A(`div`,{class:YS},A($u,{label:c,badgeText:``,refFloating:u}))))})(y),t===0&&(({headers:e})=>{let{horizontal:t,vertical:n}=e;if(t.length===0||n.length===0)return A(Ar,null);let r=n.reduce(((e,t)=>e+(t?.[0]?.width??0)),0);return A(`td`,{"aria-hidden":`true`,colSpan:n.length,rowSpan:t.length,style:r>0?{width:`${r}px`}:void 0})})(y),Array.isArray(e)&&e.map(((e,n)=>oC(y,e,t,n,!1)))))),cC(y,`head`,c.horizontal)]),A(`tbody`,{class:VS},A(`div`,{class:BS(`loader`,{shown:u})},A(Zx,{label:G(u?`kol-table-data-loading`:`kol-table-data-loaded`).replace(`{{caption}}`,Tc(l)),show:u,variant:`cycle`})),b.map(((e,t)=>sC(y,e,t,!0)))),(e=>{let{dataFoot:t,headers:n,primaryHeaders:r,translateNoEntries:i}=e;if(t.length===0)return null;let a=PS({data:t,dataFoot:t,headers:n,isFoot:!0,noEntriesLabel:i,primaryHeaders:r}),o=kS(n.horizontal,t),s=Object.assign(Object.assign({},e),{fixedOffsets:MS(r.cells,o,e.fixedCols,e.stickyColsDisabled),maxCols:o});return A(`tfoot`,{class:WS},[cC(e,`foot`,a),a.map(((e,t)=>sC(s,e,t,!0,!0)))])})(y))))},uC=({dialog:e,card:t},n)=>A(Wh,Object.assign({},e),t?A(km,Object.assign({},t),n):n),dC=P.forBlock(`kol-table`)(`settings`),fC=P.forBlock(`kol-table-settings`),pC=fC(),mC=fC(`actions`),hC=fC(`columns`),gC=fC(`content`),_C=fC(`error-message`),vC=e=>Number.isFinite(e)&&e!==void 0&&e>0?e:void 0,yC=()=>{},bC=(e,t)=>{let n=G(`kol-table-settings`),r=G(`kol-table-settings-cancel`),i=G(`kol-table-settings-apply`),a=G(`kol-table-settings-error-all-invisible`),o,s=!1,c=!1,l=()=>{s=!0,t()},u=Wy((()=>Nm(e)),(e=>e.syncListeners()),(e=>e.destroy())),d=((e,t)=>{let n=Rl(),r=Rl(),i=new Gf(V.stateLess),a=W(`aria-description`),s=W(`dialog-heading`),c={},l,u=!0,d={},f=e=>!o||I(o,e),p=()=>{var e,t;(t=(e=n.el)?.close)==null||t.call(e)},m=e=>{var t;ho(e),e.defaultPrevented||((t=d.onCancel)==null||t.call(d,e),e.defaultPrevented||f(F.cancel)||e.preventDefault())},h=e=>{var t;e.target===n.el&&(Yh(c),(t=d.onClose)==null||t.call(d),f(F.close))},g=()=>{i.hideTooltip(),p(),f(F.close)};return{getFcProps:t=>{let o=``,c=0,f=`blank`,p=`100%`;fl.apply(t.label,(e=>{o=e})),xl.apply(t.level??0,(e=>{c=e})),Bh.apply(t.on,(e=>{d=e})),tl.apply(t.variant??`blank`,(e=>{f=e})),Vh.apply(t.width??`100%`,(e=>{p=e}));let _=f===`card`;return _&&!l&&(l=bm(e()),i.componentWillLoad({label:l.label,align:l.tooltipAlign})),{dialog:{handleCancel:m,handleClose:h,label:Tc(o),labelledBy:_?s:void 0,modal:u,refDialog:n,variant:f,width:p},card:_&&l?{ariaDescriptionId:a,closeButtonProps:l,handleClose:g,hasCloser:!0,headingId:s,label:o,level:c,refCloseButton:r,refTooltip:i.setTooltipElementRef}:void 0}},show:e=>{var r,i;let a=n.el;a!=null&&a.open||(u!==e&&(u=e,t()),e?((r=a?.showModal)==null||r.call(a),a&&Jh(c)):(i=a?.show)==null||i.call(a))},close:p,syncListeners:()=>{r.el&&i.syncListeners(void 0,r.el,!0)},destroy:()=>{p(),Yh(c),i.destroy()}}})(e,l),f=W(`alert-heading`),p=W(`closer-description`),m,h=[],g=[],_=null,v=()=>g[g.length-1]??[],y=e=>{g=g.map(((t,n,r)=>n===r.length-1?e:t)),l()},b=(e,t)=>{let n=[...v()],r=n.findIndex((t=>t.key===e));if(r===-1)return;let i;if(t===`up`){if(r===0)return;i=r-1}else{if(r===n.length-1)return;i=r+1}let[a]=n.splice(r,1);n.splice(i,0,a),y(n)},x=e=>{if(e.preventDefault(),!v().some((e=>!1!==e.visible)))return _=a,void l();if(o){_=null,h=g.map((e=>e.map((e=>Object.assign({},e))))),l();let e=g.map((e=>e.map((e=>{let t=e,{hidable:n,resizable:r,sortable:i,visible:a,width:o}=t,s=vl(t,[`hidable`,`resizable`,`sortable`,`visible`,`width`]),c=Object.assign({},s);return a!==void 0&&(c.visible=a),n!==void 0&&(c.hidable=n),i!==void 0&&(c.sortable=i),r!==void 0&&(c.resizable=r),o!=null&&(c.width=o),c}))));I(o,F.changeHeaderCells,e),d.close()}},S=e=>{e&&(o=e)};return{beginRender:()=>{u.beginRender(),c=s,s=!1},render:e=>{var t;c||e===m||(m=e,h=(t=e).map((e=>[...e])),g=t.map((e=>e.map((e=>Object.assign({},e))))));let a=v();return A(`div`,{class:dC,ref:S},A(`div`,{class:pC},A(md,Object.assign({},u.get(`toggle`).getFcProps({_icons:`kolicon-settings`,_label:n,_hideLabel:!0,_on:{onClick:()=>d.show(!0)}})))),A(uC,Object.assign({},d.getFcProps({label:n,variant:`card`,width:`fit-content`})),A(`div`,{class:gC},_&&A(`div`,{class:_C},A(Cd,{alert:!1,closerAriaDescriptionId:p,handleCloserClick:yC,hasCloser:!1,headingId:f,label:_,level:0,refCloserButton:yC,refCloserTooltip:yC,type:`error`,variant:`msg`})),A(`form`,{onSubmit:x},A(`div`,{class:hC},a.map(((e,t)=>((e,t,n)=>A(`div`,{key:e.key,class:`kol-table-settings__column`},A(`kol-input-checkbox`,{_checked:!1!==e.visible,_label:G(e.hidable?`kol-table-settings-column-hidable`:`kol-table-settings-column-not-hidable`,{placeholders:{column:e.label}}),_value:!0,_hideLabel:!0,_disabled:!1===e.hidable,_on:{onInput:(t,n)=>((e,t)=>{let n=v().map((n=>n.key===e&&!1!==n.hidable?Object.assign(Object.assign({},n),{visible:!!t}):n));y(n)})(e.key??``,n)}}),A(`span`,{class:`kol-table-settings__column-label`},e.label),A(`kol-input-number`,{_hideLabel:!0,_value:vC(e.width),_label:G(`kol-table-settings-column-width`,{placeholders:{column:e.label}}),_min:1,_disabled:!1===e.resizable,_on:{onInput:(t,n)=>((e,t)=>{let n=vC(Number(t)),r=v().map((t=>t.key===e&&!1!==t.resizable?Object.assign(Object.assign({},t),{width:n}):t));y(r)})(e.key??``,n)}}),A(md,Object.assign({},u.get(`move-up-${e.key}`).getFcProps({_icons:`kolicon-chevron-up`,_label:G(!1===e.sortable||t===0?`kol-table-settings-not-move`:`kol-table-settings-move-up`,{placeholders:{column:e.label}}),_hideLabel:!0,_variant:`ghost`,_on:{onClick:()=>b(e.key??``,`up`)},_disabled:!1===e.sortable||t===0}))),A(md,Object.assign({},u.get(`move-down-${e.key}`).getFcProps({_icons:`kolicon-chevron-down`,_label:G(!1===e.sortable||t===n.length-1?`kol-table-settings-not-move`:`kol-table-settings-move-down`,{placeholders:{column:e.label}}),_hideLabel:!0,_variant:`ghost`,_on:{onClick:()=>b(e.key??``,`down`)},_disabled:!1===e.sortable||t===n.length-1})))))(e,t,a)))),A(`div`,{class:mC},A(md,Object.assign({},u.get(`cancel`).getFcProps({_label:r,_variant:`secondary`,_on:{onClick:()=>(g=h.map((e=>[...e])),_=null,l(),void d.close())}}))),A(md,Object.assign({},u.get(`apply`).getFcProps({_label:i,_variant:`primary`,_type:`submit`}))))))))},sync:()=>{u.endRender(),d.syncListeners()},destroy:()=>{u.destroy(),d.destroy()}}},xC=class extends V{constructor(){super(...arguments),this.hasExternalTableLabelRefs=!1,this.cellRenderTimeouts=new Map,this.buttonItems=Wy((()=>Nm((()=>this.host))),(e=>e.syncListeners()),(e=>e.destroy())),this.settings=bC((()=>this.host),(()=>Cr(this))),this.linkItems=Wy((()=>Ky((()=>Cr(this)))),(e=>e.syncListeners()),(e=>e.destroy())),this.selectionTooltipItems=Wy((()=>(()=>{let e=new Gf(V.stateLess),t,n={refInput:e=>{t=e},refTooltip:e.setTooltipElementRef};return{getRefs:t=>(e.componentWillLoad({label:t}),n),syncListeners:()=>{t&&e.syncListeners(void 0,t,!0)},destroy:()=>{e.destroy()}}})()),(e=>e.syncListeners()),(e=>e.destroy())),this.propsConfig=TS,this.handleResize=()=>{this.updateScrollbarState(),clearTimeout(this.resizeDebounceTimeout),this.resizeDebounceTimeout=setTimeout((()=>{this.updateStickyColsDisabled()}),150)},this.handleSelectionChange=(e,t)=>{this.emitSelectionChange(e,t)},this.handleSort=(e,t)=>{this.emitSort(e,t)},this.handleRenderCell=(e,t)=>{t&&(clearTimeout(this.cellRenderTimeouts.get(t)),this.cellRenderTimeouts.set(t,setTimeout((()=>{if(this.cellRenderTimeouts.delete(t),typeof e.render==`function`){let n=e.render(t,e,e.data,this.getRenderProp(`data`));typeof n==`string`&&(t.textContent=n)}}))))},this.refScrollContainer=e=>{this.scrollContainerElement=e},this.refTable=e=>{this.tableElement=e,this.syncTableLabel(this.getState(`externalLabelElements`))},this.getButtonFcProps=(e,t,n)=>this.buttonItems.get(e).getFcProps(t,n),this.renderSettings=e=>this.settings.render(e),this.getLinkFcProps=(e,t)=>this.linkItems.get(e).getFcProps(t),this.getSelectionTooltipRefs=(e,t)=>this.selectionTooltipItems.get(e).getRefs(t)}observeScrollContainer(){this.scrollContainerElement&&ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.scrollContainerElement)),this.updateStickyColsDisabled()}teardownTable(){var e;(e=this.resizeObserver)==null||e.disconnect(),clearTimeout(this.resizeDebounceTimeout),this.cellRenderTimeouts.forEach((e=>clearTimeout(e))),this.cellRenderTimeouts.clear(),this.buttonItems.destroy(),this.linkItems.destroy(),this.selectionTooltipItems.destroy(),this.settings.destroy()}syncTableItems(){this.buttonItems.endRender(),this.linkItems.endRender(),this.selectionTooltipItems.endRender(),this.settings.sync()}applyData(e){yS.apply(e,(e=>{this.setRenderProp(`data`,e),this.setState(`rowKeys`,((e,t)=>new Map(e.map((e=>[e,t.get(e)??Cu()]))))(e,this.getState(`rowKeys`)))}))}applyDataFoot(e){bS.apply(e,(e=>this.setRenderProp(`dataFoot`,e)))}applyFixedCols(e){mS.apply(e,(e=>this.setRenderProp(`fixedCols`,e))),this.updateStickyColsDisabled()}applyHasSettingsMenu(e){hS.apply(e,(e=>this.setRenderProp(`hasSettingsMenu`,e)))}applyHeaders(e){SS.apply(e,(e=>this.setRenderProp(`headers`,(e=>e.horizontal.length===0?e:Object.assign(Object.assign({},e),{horizontal:e.horizontal.map((e=>e.map((e=>Object.assign(Object.assign({},e),{visible:typeof e.visible!=`boolean`||e.visible,hidable:typeof e.hidable!=`boolean`||e.hidable})))))}))(e))),this.isRequired(`headers`))}applyLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}applyLoading(e){CS.apply(e,(e=>this.setRenderProp(`loading`,e)))}applyOn(e){gS.apply(e,(e=>this.setRenderProp(`on`,e)))}applySelection(e){wS.apply(e,(e=>this.setRenderProp(`selection`,e))),this.updateStickyColsDisabled()}applyVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}syncTableLabel(e){this.tableElement&&`ariaLabelledByElements`in this.tableElement&&(e?.length?(this.tableElement.ariaLabelledByElements=e,this.hasExternalTableLabelRefs=!0,Wi.debug([this.tableElement,e,this.tableElement.ariaLabelledByElements])):this.hasExternalTableLabelRefs&&(this.hasExternalTableLabelRefs=!1,this.tableElement.ariaLabelledByElements=null,this.tableElement.setAttribute(`aria-labelledby`,tC)))}moveCheckboxFocus(e){if(e.key!==`ArrowUp`&&e.key!==`ArrowDown`)return;let t=Array.from(this.scrollContainerElement?.querySelectorAll(`.kol-table__selection-input--checkbox`)??[]),n=this.scrollContainerElement?.querySelector(`:focus`),r=t.indexOf(n);r>-1&&(e.preventDefault(),r=(r+(e.key===`ArrowDown`?1:t.length-1))%t.length,t[r].focus())}applyChangedHeaderCells(e){let t=Object.assign(Object.assign({},this.getRenderProp(`headers`)),{horizontal:e.detail});this.setRenderProp(`headers`,t),this.setState(`settingsChangedCounter`,this.getState(`settingsChangedCounter`)+1);let n=this.getRenderProp(`on`)[uS.onChangeHeaderCells];typeof n==`function`&&n(e,t)}updateScrollbarState(){if(this.scrollContainerElement){let{clientHeight:e,clientWidth:t,scrollHeight:n,scrollWidth:r}=this.scrollContainerElement;this.setState(`hasScrollbar`,r>t||n>e&&[`auto`,`scroll`].includes(getComputedStyle(this.scrollContainerElement).overflowY))}}calculateFixedColsWidth(){let[e,t]=this.getRenderProp(`fixedCols`),n=this.getRenderProp(`headers`),r=DS(n).cells,i=kS(n.horizontal,this.getRenderProp(`data`)),a=0;for(let t=0;t<e&&t<r.length;t++)a+=r[t]?.width??0;for(let e=i-t;e<i&&e<r.length;e++)a+=r[e]?.width??0;if(this.getRenderProp(`selection`)){let e=this.scrollContainerElement?.querySelector(`.kol-table__cell--selection`);a+=e?.offsetWidth??0}return a}updateStickyColsDisabled(){if(!this.scrollContainerElement)return void this.setState(`stickyColsDisabled`,!1);let e=this.calculateFixedColsWidth();this.setState(`stickyColsDisabled`,e>0&&e>=this.scrollContainerElement.clientWidth)}emitSelectionChange(e,t){let n=this.getRenderProp(`on`)[uS.onSelectionChange];typeof n==`function`&&n(e,t),this.host&&I(this.host,F.selectionChange,t)}emitSort(e,t){let n=this.getRenderProp(`on`)[uS.onSort];typeof n==`function`&&t.key&&n(e,t),this.host&&I(this.host,F.sort,t)}renderTableStatelessFC(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),this.selectionTooltipItems.beginRender(),this.settings.beginRender(),A(lC,{data:this.getRenderProp(`data`),dataFoot:this.getRenderProp(`dataFoot`),externalLabelElements:this.getState(`externalLabelElements`),fixedCols:this.getRenderProp(`fixedCols`),getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,getSelectionTooltipRefs:this.getSelectionTooltipRefs,renderSettings:this.renderSettings,handleRenderCell:this.handleRenderCell,handleSelectionChange:this.handleSelectionChange,handleSort:this.handleSort,hasScrollbar:this.getState(`hasScrollbar`),hasSettingsMenu:this.getRenderProp(`hasSettingsMenu`),headers:this.getRenderProp(`headers`),label:this.getRenderProp(`label`),loading:this.getRenderProp(`loading`),on:this.getRenderProp(`on`),refScrollContainer:this.refScrollContainer,refTable:this.refTable,rowKeys:this.getState(`rowKeys`),selection:this.getRenderProp(`selection`),settingsChangedCounter:this.getState(`settingsChangedCounter`),stickyColsDisabled:this.getState(`stickyColsDisabled`),variant:this.getRenderProp(`variant`)})}},SC=z(`allowMultiSort`,!1,Pc),CC=[`both`,`bottom`,`top`],wC=z(`paginationPosition`,`bottom`,(e=>{let t=R(e);if(CC.includes(t))return t;throw Error(`Invalid pagination position: `+t)})),TC=e=>{try{return Aa(e)}catch{return e}},EC=z(`pagination`,{_page:1,_pageSize:10,_max:0},(e=>{let t=TC(e);if(!0===t||t===``)return{};if(typeof t==`object`&&t)return t;throw Error(`Invalid table pagination: expected true, an empty string or a pagination object.`)})),DC=Uc(),OC=z(`headers`,{horizontal:[],vertical:[]},(e=>{let t=typeof e==`string`?Aa(e):e;if(typeof t==`object`&&t)return t;throw Error(`Invalid table headers: expected an object.`)})),kC=P.forBlock(`kol-table-stateful`),AC=(e,t)=>e?[A(`div`,{class:kC(`pagination`,{[t]:!0})},A(`div`,{class:kC(`pagination-wrapper`)},A(Hb,Object.assign({},e))))]:[],jC=({paginationBottom:e,paginationPosition:t,paginationTop:n},r)=>[...AC(n,t),...r,...AC(e,t)],MC=e=>e.type===void 0||e.type==="default";function NC(e,t,n){if(MC(e)&&!n&&typeof e.compareFn==`function`){if(e.key){let n=t.find((t=>t.key===e.key));if(n?.direction)return n.direction}return`NOS`}}function PC(e,t,n,r){if(MC(e)&&!n&&r&&typeof e.compareFn==`function`&&e.key){let n=t.findIndex((t=>t.key===e.key));if(n>=0)return n+1}}var FC=[10,20,50,100],IC=M(class extends xC{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.pagination={_page:1,_pageSize:10,_max:0},this.renderCount=0,this.externalLabelElements=[],this.hasScrollbar=!1,this.settingsChangedCounter=0,this.sortedData=[],this.stickyColsDisabled=!1,this.data=[],this.headers={horizontal:[],vertical:[]},this.allowMultiSort=!1,this.paginationPosition=`bottom`,this.statefulOn={},this.sortData=[],this.disableSort=!1,this.showPagination=!1,this.pageEndSlice=10,this.paginationItems={},this.rowKeys=new Map,this.statelessOn={onSort:(e,{key:t})=>{let n=function(e,t){let n=[];for(let t of[...e.horizontal??[],...e.vertical??[]])Array.isArray(t)&&n.push(...t);return n.find((e=>e.key===t))}(this.headers,t);if(n){let e=function(e,t,n){if(!MC(t)||typeof t.compareFn!=`function`)return;let r=n||t.key===e[0]?.key?e.map((e=>Object.assign({},e))):[],i=r.findIndex((e=>e.key===t.key));if(i>=0){let e=r[i];switch(e.direction){case`ASC`:e.direction=`DESC`;break;case`DESC`:r=r.filter(((e,t)=>t!==i));break;default:e.direction=`ASC`}}else t.key&&r.push({label:t.label,key:t.key,compareFn:t.compareFn,direction:`ASC`});return r}(this.sortData,n,this.allowMultiSort);e&&(this.sortData=e,this.updateSortedData())}}},this.handlePagination={onClick:(e,t)=>{typeof this.pagination._on?.onClick==`function`&&this.pagination._on.onClick(e,t),this.pagination=Object.assign(Object.assign({},this.pagination),{_page:t})},onChangePage:(e,t)=>{typeof this.pagination._on?.onChangePage==`function`&&this.pagination._on.onChangePage(e,t),this.pagination=Object.assign(Object.assign({},this.pagination),{_page:t})},onChangePageSize:(e,t)=>{typeof this.pagination._on?.onChangePageSize==`function`&&this.pagination._on.onChangePageSize(e,t),this.pagination=Object.assign(Object.assign({},this.pagination),{_pageSize:t})}},this._allowMultiSort=void 0,this._ariaLabelledby=void 0,this._dataFoot=void 0,this._fixedCols=void 0,this._hasSettingsMenu=void 0,this._loading=void 0,this._on=void 0,this._pagination=void 0,this._paginationPosition=`bottom`,this._selection=void 0,this._variant=void 0,this.updateSortedData=()=>{this.sortedData=function(e,t,n){if(n)return e;let r=[...e];return t.length>0&&r.sort(((e,n)=>{for(let r of t){let t=r.compareFn(e,n,r.direction);if(t!==0)return r.direction===`ASC`?t:-t}return 0})),r}(this.data,this.sortData,this.disableSort);let e={headers:this.getRenderProp(`headers`),sortedData:this.sortedData};this.emitSortChange(e)},this.handleChangeHeaderCells=e=>{this.adjustedHeaderCells=e}}watchAllowMultiSort(e){SC.apply(e,(e=>{this.allowMultiSort=e}))}watchAriaLabelledby(e){this.resolveExternalLabel(e)}watchData(e){yS.apply(e,(e=>{this.data=e,setTimeout(this.updateSortedData)}))}watchDataFoot(e){bS.apply(e,(e=>{this.setRenderProp(`dataFoot`,e),setTimeout(this.updateSortedData)}))}watchFixedCols(e){this.applyFixedCols(e)}watchHasSettingsMenu(e){this.applyHasSettingsMenu(e)}watchHeaders(e){OC.apply(e,(e=>{!this.headers.horizontal?.length&&!this.headers.vertical?.length||function(e,t){let n=e=>[...e.horizontal?.flatMap((e=>e.map((e=>e?.key)).filter((e=>!!e))))??[],...e.vertical?.flatMap((e=>e.map((e=>e?.key)).filter((e=>!!e))))??[]],r=n(e),i=n(t);return r.length!==i.length||r.some(((e,t)=>e!==i[t]))}(this.headers,e)?(this.adjustedHeaderCells=void 0,this.initializeSort(e),setTimeout((()=>this.updateSortedData()))):function(e,t){let n=t.find((e=>e.direction));return n?[e.horizontal,e.vertical].some((e=>e?.some((e=>e.some((e=>e?.key===n.key&&e.sortDirection!==void 0)))))):function(e){return[e.horizontal,e.vertical].some((e=>e?.some((e=>e.some((e=>e.sortDirection!==void 0))))))}(e)}(e,this.sortData)&&(this.initializeSort(e),setTimeout((()=>this.updateSortedData()))),function(e){return!!(e.horizontal&&e.vertical&&e.horizontal.length>0&&e.vertical.length>0)}(e)&&(this.disableSort=!0,Xi(`Table: You can not sort the table data, if horizontal and vertical headers are defined at the same time. (https://github.com/public-ui/kolibri/issues/2372)`)),this.headers=e}))}watchLabel(e){this.applyLabel(e)}watchLoading(e){this.applyLoading(e)}watchOn(e){DC.apply(e,(e=>{this.statefulOn=e}))}watchPagination(e){this.showPagination=(e=>{let t=TC(e);return!0===t||t===``||typeof t==`object`&&!!t})(e),EC.apply(e,(e=>{this.pagination=e}))}watchPaginationPosition(e){wC.apply(e,(e=>{this.paginationPosition=e}))}watchSelection(e){this.applySelection(e)}watchVariant(e){this.applyVariant(e)}getSelection(){return Promise.resolve(this.getSelectedData((this.getRenderProp(`selection`)||void 0)?.selectedKeys||[]))}resetSort(){return this.initializeSort(this.headers),this.updateSortedData(),Promise.resolve()}componentWillLoad(){this.applyOn(this.statelessOn),this.watchAllowMultiSort(this._allowMultiSort),this.watchAriaLabelledby(this._ariaLabelledby),this.watchData(this._data),this.watchDataFoot(this._dataFoot),this.watchFixedCols(this._fixedCols),this.watchHasSettingsMenu(this._hasSettingsMenu),this.watchHeaders(this._headers),this.watchLabel(this._label),this.watchLoading(this._loading),this.watchOn(this._on),this.watchPagination(this._pagination),this.watchPaginationPosition(this._paginationPosition),this.watchSelection(this._selection),this.watchVariant(this._variant)}componentDidLoad(){this.externalLabelElements.length||this.resolveExternalLabel(this._ariaLabelledby),this.observeScrollContainer()}componentWillRender(){let{rows:e,end:t}=function(e,t,n){if(typeof t==`number`&&t>0&&typeof n==`number`&&n>0){let r=t*n>e.length?e.length:t*n;return{rows:e.slice(t*(n-1),r),end:r}}return{rows:e,end:e.length}}(this.sortedData,this.showPagination?this.pagination._pageSize??10:this.sortedData.length,this.pagination._page||1);this.pageEndSlice=t,this.applyData(e),this.applyHeaders(this.buildHeaderCells()),this.syncPagination(`top`,this._paginationPosition===`top`||this._paginationPosition===`both`),this.syncPagination(`bottom`,this._paginationPosition===`bottom`||this._paginationPosition===`both`)}componentDidRender(){var e,t;this.updateScrollbarState(),this.syncTableItems(),(e=this.paginationItems.top)==null||e.sync(),(t=this.paginationItems.bottom)==null||t.sync()}disconnectedCallback(){var e,t;this.teardownTable(),(e=this.paginationItems.top)==null||e.destroy(),(t=this.paginationItems.bottom)==null||t.destroy()}onChangeHeaderCells(e){this.handleChangeHeaderCells(Object.assign(Object.assign({},this.getRenderProp(`headers`)),{horizontal:e.detail})),this.applyChangedHeaderCells(e)}onKeydown(e){this.moveCheckboxFocus(e)}initializeSort(e){let{sortData:t,missingKey:n}=function(e,t){var n,r;let i=[],a=!1,o=!1,s=e=>{let n=[],r=!1;e.forEach((e=>{if(!MC(e))return;if(typeof e.compareFn==`function`&&!e.key)return void(o=!0);if(!e.key||typeof e.compareFn!=`function`)return;r=!0;let i=e.sortDirection;i!==`ASC`&&i!==`DESC`||(a=!0,(t||n.length===0)&&n.push({label:e.label,key:e.key,compareFn:e.compareFn,direction:i}))})),r&&(i=n)};return(n=e.horizontal)==null||n.forEach(s),(r=e.vertical)==null||r.forEach(s),{sortData:i,hasSortedCells:a,missingKey:o}}(e,this.allowMultiSort);n&&Xi(`[KolTableStateful] A sortable column requires the 'key' property.`),this.sortData=t}buildHeaderCells(){return function(e,t,n,r,i){let a=e=>e&&Object.assign(Object.assign({},e),{sortDirection:NC(e,n,r),sortOrder:PC(e,n,r,i)});return{horizontal:(t?.horizontal?function(e,t){var n;let r=new Map;return(n=e.horizontal)==null||n.forEach((e=>e.forEach((e=>{e!=null&&e.key&&r.set(e.key,e)})))),t.map((e=>e.map((e=>{let t=e?.key?r.get(e.key):void 0;if(!t)return e;let n=Object.assign({},t);return e.visible!==void 0&&(n.visible=e.visible),e.width!==void 0&&(n.width=e.width),e.hidable!==void 0&&(n.hidable=e.hidable),e.sortable!==void 0&&(n.sortable=e.sortable),e.resizable!==void 0&&(n.resizable=e.resizable),n}))))}(e,t.horizontal):e.horizontal)?.map((e=>e.map(a)))??[],vertical:e.vertical?.map((e=>e.map(a)))??[]}}(this.headers,this.adjustedHeaderCells,this.sortData,this.disableSort,this.allowMultiSort)}getSelectedData(e){return function(e,t,n){if(e){let r=e.keyPropertyName??`id`,i=new Set(n.map(String)),a=t.filter((e=>i.has(e[r]+``)));if(r)return a}return null}(this.getRenderProp(`selection`)||void 0,this.sortedData,e)}emitSelectionChange(e,t){let n=t,r=this.getRenderProp(`selection`);r&&(this.applySelection(Object.assign(Object.assign({},r),{selectedKeys:n})),this.renderCount++);let i=this.getSelectedData(n),a=this.statefulOn[uS.onSelectionChange];typeof a==`function`&&a(e,i),this.host&&I(this.host,F.selectionChange,i)}emitSortChange(e){let t=this.statefulOn[uS.onSortChange];typeof t==`function`&&t(new CustomEvent(F.sortChange),e),this.host&&I(this.host,F.sortChange,e)}getPaginationInput(e){let t=G(e===`top`?`kol-pagination-position-top`:`kol-pagination-position-bottom`);return{boundaryCount:this.pagination._boundaryCount,customClass:this.pagination._customClass,hasButtons:this.pagination._hasButtons,on:this.handlePagination,page:this.pagination._page,pageSize:this.pagination._pageSize,pageSizeOptions:this.pagination._pageSizeOptions||FC,siblingCount:this.pagination._siblingCount,tooltipAlign:`bottom`,max:this.pagination._max||this.data.length,label:G(`kol-table-pagination-label`,{placeholders:{label:`${Tc(this.getRenderProp(`label`))} (${t})`}})}}syncPagination(e,t){let n=this.paginationItems[e];if(this.pageEndSlice>0&&this.showPagination&&t){let t=this.getPaginationInput(e);if(n)n.update(t);else{let n=Kb({getEventTarget:()=>this.host,requestRender:()=>{this.renderCount++}});n.load(t),this.paginationItems[e]=n}}else n&&(n.destroy(),delete this.paginationItems[e])}resolveExternalLabel(e){this.externalLabelElements=fS(this,this.host,e),this.syncTableLabel(this.externalLabelElements)}renderTableStatefulFC(){return A(jC,{paginationTop:this.paginationItems.top?.getFcProps(),paginationBottom:this.paginationItems.bottom?.getFcProps(),paginationPosition:this.paginationPosition},this.renderTableStatelessFC())}render(){return A(j,{key:`28c01847d4234d282981b064d51086470a5c7252`,class:`kol-table-stateful`},this.renderTableStatefulFC())}get host(){return this}static get watchers(){return{_allowMultiSort:[{watchAllowMultiSort:0}],_ariaLabelledby:[{watchAriaLabelledby:0}],_data:[{watchData:0}],_dataFoot:[{watchDataFoot:0}],_fixedCols:[{watchFixedCols:0}],_hasSettingsMenu:[{watchHasSettingsMenu:0}],_headers:[{watchHeaders:0}],_label:[{watchLabel:0}],_loading:[{watchLoading:0}],_on:[{watchOn:0}],_pagination:[{watchPagination:0}],_paginationPosition:[{watchPaginationPosition:0}],_selection:[{watchSelection:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { @keyframes rotate { to { transform: rotate(1turn); } } @keyframes growingCircle { 0% { opacity: 0.5; border-color: var(--kol-spin-color, var(--kol-theme-spin-color-start, white)); clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { opacity: 0.75; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { opacity: 0.1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .kol-spin__spinner--cycle { width: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--cycle .kol-spin__loader { border-radius: 50%; display: block; position: relative; width: 100%; height: 100%; animation: 2s linear infinite rotate; } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader { animation-duration: 4s !important; } } .kol-spin__spinner--cycle .kol-spin__loader::before { border-radius: 50%; position: absolute; inset: 0; content: ""; animation: 3s linear infinite growingCircle; border: 5px solid var(--kol-spin-color, var(--kol-theme-spin-color, #333)); } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader::before { animation-duration: 6s !important; } } } @layer kol-component { @keyframes spin1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes spin2 { 0% { transform: translate(0, 0); } 100% { transform: translate(calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)), 0); } } @keyframes spin3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @media (prefers-reduced-motion) { .kol-spin__spinner-element { animation-duration: 2s !important; } } .kol-spin__spinner--dot { --kol-spin-border-width: calc(var(--kol-spin-size, 13) / 10); width: calc(calc(var(--kol-spin-size, 13) * 3 + 2) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width) * 2) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--dot .kol-spin__spinner-element { background-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); border-radius: 50%; position: absolute; top: 1px; width: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); animation-timing-function: cubic-bezier(0, 1, 1, 0); border: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)) solid white; } .kol-spin__spinner--dot .kol-spin__spinner-element--1 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin1; } .kol-spin__spinner--dot .kol-spin__spinner-element--2 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--3 { left: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--neutral { opacity: 0.6; left: calc(calc(var(--kol-spin-size, 13) * 2 + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin3; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-table-settings { position: absolute; top: 0; right: 0; z-index: 1; } .kol-table-settings .kol-popover-button__popover { background: white; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); border-radius: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); border: 1px solid black; } .kol-table-settings__columns { display: grid; max-height: calc(200 * 1rem / var(--kolibri-root-font-size, 16)); overflow: auto; grid-auto-rows: min-content; grid-template-columns: min-content minmax(max-content, 1fr) calc(140 * 1rem / var(--kolibri-root-font-size, 16)) auto auto; } .kol-table-settings__column { display: grid; align-items: center; grid-template-columns: subgrid; grid-column: 1/6; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table { --kol-table-selection-col-width: var(--a11y-min-size); display: block; position: relative; max-width: 100%; } .kol-table:has(.kol-table__focus-element:focus) .kol-table__scroll-container { outline: 5px auto Highlight; outline: 5px auto -webkit-focus-ring-color; outline-offset: 2px; } .kol-table__scroll-container { overflow-x: auto; overflow-y: hidden; } .kol-table__table { table-layout: fixed; } .kol-table__caption { min-height: var(--a11y-min-size); text-align: start; } .kol-table__settings:not(:has(~ .kol-table__scroll-container .kol-table__caption)) { min-height: var(--a11y-min-size); } .kol-table__sort-button.kol-button { color: inherit; } .kol-table__sort { display: inline-flex; align-items: center; } .kol-table__sort-order { display: inline-flex; align-items: center; justify-content: center; } .kol-table__body { text-align: left; } .kol-table__body .kol-button__text { justify-items: start; } .kol-table__body:has(.kol-table__loader--shown) { position: relative; min-height: calc(var(--a11y-min-size) * 3); } .kol-table__cell--align-left { text-align: left; } .kol-table__cell--align-left .kol-table__sort-button .kol-button__text { align-items: start; text-align: start; } .kol-table__cell--align-left .kol-table__cell-actions { justify-content: flex-start; } .kol-table__cell--align-center { text-align: center; } .kol-table__cell--align-center .kol-table__sort-button .kol-button__text { align-items: center; } .kol-table__cell--align-right { text-align: right; } .kol-table__cell--align-right .kol-table__sort-button .kol-button__text { align-items: end; text-align: end; } .kol-table__cell--align-right .kol-table__cell-actions { justify-content: flex-end; } .kol-table__cell--selection { background-color: white; position: sticky !important; left: 0; z-index: 2; width: var(--kol-table-selection-col-width, auto); min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); white-space: nowrap; } .kol-table__cell--actions { white-space: nowrap; } .kol-table__cell--actions .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table__cell--actions :host { display: inline-block; } .kol-table__cell--actions .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-table__cell--actions .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-table__cell--actions .kol-button__interactive-element::before { content: "​"; } .kol-table__cell--actions .kol-button__text { flex: 1 0 100%; } .kol-table__cell--actions .kol-button { } .kol-table__cell--actions .kol-button__tooltip { height: 0; } .kol-table__cell--actions .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-table__cell--actions .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-table__cell--actions .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table__cell--actions :host { display: inline-block; } .kol-table__cell--actions .kol-link { display: inline-flex; max-width: fit-content; } .kol-table__cell--actions .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-table__cell--actions .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-table__cell--actions .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-table__cell--actions .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-table__cell--actions .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-table__cell--actions .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-table__cell--actions .kol-link .kol-span__label { text-decoration-line: underline; } .kol-table__cell--actions .kol-link__icon { display: inline-flex; } .kol-table__cell--sticky-left, .kol-table__cell--sticky-right { background-color: white; position: sticky !important; z-index: 1; } .kol-table__cell--sticky-left:nth-last-child(1 of .kol-table__cell--sticky-left) { border-right: 2px solid black; } .kol-table__cell--sticky-right:nth-child(1 of .kol-table__cell--sticky-right) { border-left: 2px solid black; } .kol-table__cell-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .kol-table__cell-states { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; } .kol-table__spacer { display: none; } .kol-table__selection { position: relative; } .kol-table__selection-label { display: flex; position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-table__selection-label:not(.kol-table__selection-label--disabled) { cursor: pointer; } .kol-table__selection-label--disabled { cursor: not-allowed; } .kol-table__selection-icon { display: block; position: absolute; inset: auto; z-index: 1; } .kol-table__selection-input { border-style: solid; margin: 0; appearance: none; cursor: pointer; } .kol-table__selection-input:disabled { cursor: not-allowed; } .kol-table__selection-input:before { content: ""; } .kol-table__selection-input--checkbox { background-color: white; display: flex; position: relative; min-width: calc(var(--a11y-min-size) / 2); min-height: calc(var(--a11y-min-size) / 2); border-width: 2px; align-items: center; justify-content: center; line-height: 1.5; } .kol-table__selection-input--radio { border-radius: 100%; display: flex; width: 1.5em; min-width: 1.5em; height: 1.5em; min-height: 1.5em; padding: 0; border-width: 2px; } .kol-table__selection-input--radio:before { border-radius: 100%; width: 0.75em; height: 0.75em; margin: auto; } .kol-table__selection-input--radio:checked:before { background-color: black; } @media (forced-colors: active) { .kol-table__selection-input--radio:checked:before { background-color: selectedItem !important; } } .kol-table__loader--shown { background: white; display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; align-items: center; justify-content: center; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; container: paging/inline-size; } .kol-pagination__navigation-list { display: inline-flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; list-style: none; } .kol-pagination__separator:before { content: "•••"; } .kol-pagination__page-size-select .kol-form-field-select { align-items: center; grid-template-columns: 1fr max-content; } @container paging (width < 600px) { .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers), .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) { display: none; } } .kol-spin { display: contents; } .kol-spin__spinner { display: block; position: relative; } }`}}},[545,`kol-table-stateful`,{_allowMultiSort:[4,`_allow-multi-sort`],_ariaLabelledby:[1,`_aria-labelledby`],_data:[1],_dataFoot:[1,`_data-foot`],_fixedCols:[16],_hasSettingsMenu:[4,`_has-settings-menu`],_headers:[1],_label:[1],_loading:[4],_on:[16],_pagination:[8],_paginationPosition:[1,`_pagination-position`],_selection:[1],_variant:[1],adjustedHeaderCells:[32],pagination:[32],renderCount:[32],externalLabelElements:[32],hasScrollbar:[32],settingsChangedCounter:[32],sortedData:[32],stickyColsDisabled:[32],getSelection:[64],resetSort:[64]},[[0,`changeheadercells`,`onChangeHeaderCells`],[0,`keydown`,`onKeydown`]],{_allowMultiSort:[{watchAllowMultiSort:0}],_ariaLabelledby:[{watchAriaLabelledby:0}],_data:[{watchData:0}],_dataFoot:[{watchDataFoot:0}],_fixedCols:[{watchFixedCols:0}],_hasSettingsMenu:[{watchHasSettingsMenu:0}],_headers:[{watchHeaders:0}],_label:[{watchLabel:0}],_loading:[{watchLoading:0}],_on:[{watchOn:0}],_pagination:[{watchPagination:0}],_paginationPosition:[{watchPaginationPosition:0}],_selection:[{watchSelection:0}],_variant:[{watchVariant:0}]}]),LC=IC,RC=function(){typeof customElements<`u`&&[`kol-table-stateful`,`kol-badge`,`kol-input-checkbox`,`kol-input-number`].forEach((e=>{switch(e){case`kol-table-stateful`:customElements.get(N(e))||customElements.define(N(e),IC);break;case`kol-badge`:customElements.get(N(e))||Ep();break;case`kol-input-checkbox`:customElements.get(N(e))||f_();break;case`kol-input-number`:customElements.get(N(e))||kv()}}))},zC=M(class extends xC{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.externalLabelElements=[],this.hasScrollbar=!1,this.rowKeys=new Map,this.settingsChangedCounter=0,this.stickyColsDisabled=!1,this._ariaLabelledby=void 0,this._dataFoot=void 0,this._fixedCols=void 0,this._hasSettingsMenu=void 0,this._loading=void 0,this._on=void 0,this._selection=void 0,this._variant=void 0}watchAriaLabelledby(e){this.resolveExternalLabel(e)}watchData(e){this.applyData(e)}watchDataFoot(e){this.applyDataFoot(e)}watchFixedCols(e){this.applyFixedCols(e)}watchHasSettingsMenu(e){this.applyHasSettingsMenu(e)}watchHeaders(e){this.applyHeaders(e)}watchLabel(e){this.applyLabel(e)}watchLoading(e){this.applyLoading(e)}watchOn(e){this.applyOn(e)}watchSelection(e){this.applySelection(e)}watchVariant(e){this.applyVariant(e)}componentWillLoad(){this.watchAriaLabelledby(this._ariaLabelledby),this.watchData(this._data),this.watchDataFoot(this._dataFoot),this.watchFixedCols(this._fixedCols),this.watchHasSettingsMenu(this._hasSettingsMenu),this.watchHeaders(this._headers),this.watchLabel(this._label),this.watchLoading(this._loading),this.watchOn(this._on),this.watchSelection(this._selection),this.watchVariant(this._variant)}componentDidLoad(){this.externalLabelElements.length||this.resolveExternalLabel(this._ariaLabelledby),this.observeScrollContainer()}componentDidRender(){this.updateScrollbarState(),this.syncTableItems()}disconnectedCallback(){this.teardownTable()}onChangeHeaderCells(e){this.applyChangedHeaderCells(e)}onKeydown(e){this.moveCheckboxFocus(e)}resolveExternalLabel(e){this.externalLabelElements=fS(this,this.host,e),this.syncTableLabel(this.externalLabelElements)}render(){return A(j,{key:`bb01b7c86cda16e998546b03a00378cfbbeae442`},this.renderTableStatelessFC())}get host(){return this}static get watchers(){return{_ariaLabelledby:[{watchAriaLabelledby:0}],_data:[{watchData:0}],_dataFoot:[{watchDataFoot:0}],_fixedCols:[{watchFixedCols:0}],_hasSettingsMenu:[{watchHasSettingsMenu:0}],_headers:[{watchHeaders:0}],_label:[{watchLabel:0}],_loading:[{watchLoading:0}],_on:[{watchOn:0}],_selection:[{watchSelection:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { @keyframes rotate { to { transform: rotate(1turn); } } @keyframes growingCircle { 0% { opacity: 0.5; border-color: var(--kol-spin-color, var(--kol-theme-spin-color-start, white)); clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { opacity: 0.75; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { opacity: 0.1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .kol-spin__spinner--cycle { width: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--cycle .kol-spin__loader { border-radius: 50%; display: block; position: relative; width: 100%; height: 100%; animation: 2s linear infinite rotate; } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader { animation-duration: 4s !important; } } .kol-spin__spinner--cycle .kol-spin__loader::before { border-radius: 50%; position: absolute; inset: 0; content: ""; animation: 3s linear infinite growingCircle; border: 5px solid var(--kol-spin-color, var(--kol-theme-spin-color, #333)); } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader::before { animation-duration: 6s !important; } } } @layer kol-component { @keyframes spin1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes spin2 { 0% { transform: translate(0, 0); } 100% { transform: translate(calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)), 0); } } @keyframes spin3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @media (prefers-reduced-motion) { .kol-spin__spinner-element { animation-duration: 2s !important; } } .kol-spin__spinner--dot { --kol-spin-border-width: calc(var(--kol-spin-size, 13) / 10); width: calc(calc(var(--kol-spin-size, 13) * 3 + 2) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width) * 2) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--dot .kol-spin__spinner-element { background-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); border-radius: 50%; position: absolute; top: 1px; width: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); animation-timing-function: cubic-bezier(0, 1, 1, 0); border: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)) solid white; } .kol-spin__spinner--dot .kol-spin__spinner-element--1 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin1; } .kol-spin__spinner--dot .kol-spin__spinner-element--2 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--3 { left: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--neutral { opacity: 0.6; left: calc(calc(var(--kol-spin-size, 13) * 2 + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin3; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-table-settings { position: absolute; top: 0; right: 0; z-index: 1; } .kol-table-settings .kol-popover-button__popover { background: white; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); border-radius: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); border: 1px solid black; } .kol-table-settings__columns { display: grid; max-height: calc(200 * 1rem / var(--kolibri-root-font-size, 16)); overflow: auto; grid-auto-rows: min-content; grid-template-columns: min-content minmax(max-content, 1fr) calc(140 * 1rem / var(--kolibri-root-font-size, 16)) auto auto; } .kol-table-settings__column { display: grid; align-items: center; grid-template-columns: subgrid; grid-column: 1/6; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table { --kol-table-selection-col-width: var(--a11y-min-size); display: block; position: relative; max-width: 100%; } .kol-table:has(.kol-table__focus-element:focus) .kol-table__scroll-container { outline: 5px auto Highlight; outline: 5px auto -webkit-focus-ring-color; outline-offset: 2px; } .kol-table__scroll-container { overflow-x: auto; overflow-y: hidden; } .kol-table__table { table-layout: fixed; } .kol-table__caption { min-height: var(--a11y-min-size); text-align: start; } .kol-table__settings:not(:has(~ .kol-table__scroll-container .kol-table__caption)) { min-height: var(--a11y-min-size); } .kol-table__sort-button.kol-button { color: inherit; } .kol-table__sort { display: inline-flex; align-items: center; } .kol-table__sort-order { display: inline-flex; align-items: center; justify-content: center; } .kol-table__body { text-align: left; } .kol-table__body .kol-button__text { justify-items: start; } .kol-table__body:has(.kol-table__loader--shown) { position: relative; min-height: calc(var(--a11y-min-size) * 3); } .kol-table__cell--align-left { text-align: left; } .kol-table__cell--align-left .kol-table__sort-button .kol-button__text { align-items: start; text-align: start; } .kol-table__cell--align-left .kol-table__cell-actions { justify-content: flex-start; } .kol-table__cell--align-center { text-align: center; } .kol-table__cell--align-center .kol-table__sort-button .kol-button__text { align-items: center; } .kol-table__cell--align-right { text-align: right; } .kol-table__cell--align-right .kol-table__sort-button .kol-button__text { align-items: end; text-align: end; } .kol-table__cell--align-right .kol-table__cell-actions { justify-content: flex-end; } .kol-table__cell--selection { background-color: white; position: sticky !important; left: 0; z-index: 2; width: var(--kol-table-selection-col-width, auto); min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); white-space: nowrap; } .kol-table__cell--actions { white-space: nowrap; } .kol-table__cell--actions .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table__cell--actions :host { display: inline-block; } .kol-table__cell--actions .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-table__cell--actions .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-table__cell--actions .kol-button__interactive-element::before { content: "​"; } .kol-table__cell--actions .kol-button__text { flex: 1 0 100%; } .kol-table__cell--actions .kol-button { } .kol-table__cell--actions .kol-button__tooltip { height: 0; } .kol-table__cell--actions .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-table__cell--actions .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-table__cell--actions .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table__cell--actions :host { display: inline-block; } .kol-table__cell--actions .kol-link { display: inline-flex; max-width: fit-content; } .kol-table__cell--actions .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-table__cell--actions .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-table__cell--actions .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-table__cell--actions .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-table__cell--actions .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-table__cell--actions .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-table__cell--actions .kol-link .kol-span__label { text-decoration-line: underline; } .kol-table__cell--actions .kol-link__icon { display: inline-flex; } .kol-table__cell--sticky-left, .kol-table__cell--sticky-right { background-color: white; position: sticky !important; z-index: 1; } .kol-table__cell--sticky-left:nth-last-child(1 of .kol-table__cell--sticky-left) { border-right: 2px solid black; } .kol-table__cell--sticky-right:nth-child(1 of .kol-table__cell--sticky-right) { border-left: 2px solid black; } .kol-table__cell-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .kol-table__cell-states { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; } .kol-table__spacer { display: none; } .kol-table__selection { position: relative; } .kol-table__selection-label { display: flex; position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-table__selection-label:not(.kol-table__selection-label--disabled) { cursor: pointer; } .kol-table__selection-label--disabled { cursor: not-allowed; } .kol-table__selection-icon { display: block; position: absolute; inset: auto; z-index: 1; } .kol-table__selection-input { border-style: solid; margin: 0; appearance: none; cursor: pointer; } .kol-table__selection-input:disabled { cursor: not-allowed; } .kol-table__selection-input:before { content: ""; } .kol-table__selection-input--checkbox { background-color: white; display: flex; position: relative; min-width: calc(var(--a11y-min-size) / 2); min-height: calc(var(--a11y-min-size) / 2); border-width: 2px; align-items: center; justify-content: center; line-height: 1.5; } .kol-table__selection-input--radio { border-radius: 100%; display: flex; width: 1.5em; min-width: 1.5em; height: 1.5em; min-height: 1.5em; padding: 0; border-width: 2px; } .kol-table__selection-input--radio:before { border-radius: 100%; width: 0.75em; height: 0.75em; margin: auto; } .kol-table__selection-input--radio:checked:before { background-color: black; } @media (forced-colors: active) { .kol-table__selection-input--radio:checked:before { background-color: selectedItem !important; } } .kol-table__loader--shown { background: white; display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; align-items: center; justify-content: center; } .kol-spin { display: contents; } .kol-spin__spinner { display: block; position: relative; } }`}}},[545,`kol-table-stateless`,{_ariaLabelledby:[1,`_aria-labelledby`],_data:[1],_dataFoot:[1,`_data-foot`],_fixedCols:[16],_hasSettingsMenu:[4,`_has-settings-menu`],_headers:[1],_label:[1],_loading:[4],_on:[16],_selection:[1],_variant:[1],externalLabelElements:[32],hasScrollbar:[32],rowKeys:[32],settingsChangedCounter:[32],stickyColsDisabled:[32]},[[0,`changeheadercells`,`onChangeHeaderCells`],[0,`keydown`,`onKeydown`]],{_ariaLabelledby:[{watchAriaLabelledby:0}],_data:[{watchData:0}],_dataFoot:[{watchDataFoot:0}],_fixedCols:[{watchFixedCols:0}],_hasSettingsMenu:[{watchHasSettingsMenu:0}],_headers:[{watchHeaders:0}],_label:[{watchLabel:0}],_loading:[{watchLoading:0}],_on:[{watchOn:0}],_selection:[{watchSelection:0}],_variant:[{watchVariant:0}]}]),BC=zC,VC=function(){typeof customElements<`u`&&[`kol-table-stateless`,`kol-badge`,`kol-input-checkbox`,`kol-input-number`].forEach((e=>{switch(e){case`kol-table-stateless`:customElements.get(N(e))||customElements.define(N(e),zC);break;case`kol-badge`:customElements.get(N(e))||Ep();break;case`kol-input-checkbox`:customElements.get(N(e))||f_();break;case`kol-input-number`:customElements.get(N(e))||kv()}}))},HC=z(`hasCreateButton`,!1,Pc),UC=z(`selected`,0,jc),WC=[`select-automatic`,`select-manual`],GC=z(`behavior`,`select-automatic`,(e=>R(e)),(e=>Ic(e,WC))),KC=z(`tabs`,[],(e=>Rc(e)),(e=>e.every((e=>typeof e==`object`&&!!e&&(Array.isArray(e._label)||typeof e._label==`string`&&e._label.length>0)))),{hints:(e,t)=>ra(`KolTabs`,t.length)}),qC=z(`on`,{},(e=>{let t=zc(e),n={};return typeof t.onCreate==`function`&&(n.onCreate=t.onCreate),typeof t.onSelect==`function`&&(n.onSelect=t.onSelect),n})),JC={required:[sp,KC],optional:[wd,HC,UC,GC,qC]},YC=()=>{let e=new Gf(V.stateLess),t=W(`aria-description`),n,r,i,a,o=(e,t)=>{i&&I(i,e,t)},s=t=>{t.stopPropagation(),e.hideTooltip();let i=n?.on.onClick;typeof i==`function`&&(Da(t,a),i(t,r)),o(F.click,r)},c=e=>{var t,r;(r=n==null?void 0:(t=n.on).onMouseDown)==null||r.call(t,e),o(F.mousedown)},l=e=>{var t,r;(r=n==null?void 0:(t=n.on).onFocus)==null||r.call(t,e),o(F.focus)},u=e=>{var t,r;(r=n==null?void 0:(t=n.on).onBlur)==null||r.call(t,e),o(F.blur)},d=e=>{i=e},f=e=>{a=e};return{getButton:(i,a)=>(n=Cp(i,a),r=i._value,e.componentWillLoad({label:n.label,align:n.tooltipAlign}),{buttonProps:Object.assign(Object.assign({},n),{ariaDescriptionId:t,handleBlur:u,handleClick:s,handleFocus:l,handleMouseDown:c,refButton:f,refTooltip:e.setTooltipElementRef}),refBox:d}),getButtonElement:()=>a,syncListeners:()=>{a&&e.syncListeners(void 0,a,!0)},destroy:()=>{e.destroy()}}},XC=P.forBlock(`kol-tabs`),ZC=XC(`button-create`),QC=XC(`button-group`),$C=XC(`content`),ew=XC(`tab`),tw=XC(`tablist`),nw=e=>{let{align:t,class:n,createButton:r,handleBlur:i,handleKeyDown:a,hasCreateButton:o,label:s,refContent:c,refRoot:l,tabButtons:u}=e;return A(sl,{block:`kol-tabs`,modifiers:{[`align-`+t]:!0},class:n,ref:l},A(`div`,{class:QC},A(`div`,{"aria-label":s,class:tw,role:`tablist`,tabIndex:-1,onKeyDown:a,onFocusout:e=>{e.relatedTarget instanceof Node&&e.currentTarget.contains(e.relatedTarget)||i()}},u.map((({buttonProps:e,refBox:t})=>A(`div`,{class:ew,ref:t},A(md,Object.assign({},e)))))),o&&A(`div`,{class:ZC,ref:r.refBox},A(md,Object.assign({},r.buttonProps)))),A(`div`,{class:$C,ref:c}))},rw=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.onCreateLabel=G(`kol-new`)+` …`,this.ctaRef=Rl(),this.tabsId=W(`tabs`),this.tabButtonItems=[],this.createButtonItem=YC(),this.onClickSelect=(e,t)=>{this.selectNextTabEvent(e,t)},this.onMouseDown=e=>{e.preventDefault()},this.tabButtonCallbacks={onClick:this.onClickSelect,onMouseDown:this.onMouseDown},this.tabButtons=[],this.propsConfig=JC,this._align=`top`,this._behavior=void 0,this._hasCreateButton=!1,this._on=void 0,this._selected=0,this.nextPossibleTabIndex=(e,t,n=1)=>this.selectNextNotDisabledTab(t+n,e,!0),this.prevPossibleTabIndex=(e,t,n=1)=>this.selectNextNotDisabledTab(t-n,e,!1),this.selectNextNotDisabledTab=(e,t,n=!0,r)=>{if(e>t.length-1&&(e=0),e<0&&(e=t.length-1),Array.isArray(t)&&t[e]&&t[e]._disabled){if(!0===n){if(e<t.length-1)return this.selectNextNotDisabledTab(e+1,t,!0,r||e);e=r||e,n=!1}if(!1===n){if(e>0)return this.selectNextNotDisabledTab(e-1,t,!1,r||e);Xi(`[KolTabs] All tabs are disabled, and therefore no tab can be displayed.`)}}return e},this.handleKeyDown=e=>{switch(e.key){case dS.ArrowRight:this.goToNextTab(e);break;case dS.ArrowLeft:this.goToPreviousTab(e)}},this.handleBlur=()=>{this.currentFocusIndex=void 0},this.onCreate=e=>{var t,n;e.preventDefault(),(n=(t=this.getRenderProp(`on`)).onCreate)==null||n.call(t,e),this.host&&I(this.host,F.create)},this.setRootRef=e=>{this.rootElement=e},this.setContentRef=e=>{this.tabPanelHost=e}}watchAlign(e){wd.apply(e,(e=>this.setRenderProp(`align`,e)))}watchBehavior(e){GC.apply(e,(e=>this.setRenderProp(`behavior`,e)))}watchHasCreateButton(e){HC.apply(e,(e=>this.setRenderProp(`hasCreateButton`,e)))}watchLabel(e){sp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchOn(e){qC.apply(e,(e=>this.setRenderProp(`on`,e)))}watchSelected(e){this.applySelected(e)}watchTabs(e){this.applyTabs(e)}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.watchAlign(this._align),this.watchBehavior(this._behavior),this.watchHasCreateButton(this._hasCreateButton),this.watchLabel(this._label),this.watchOn(this._on),this.watchSelected(this._selected),this.watchTabs(this._tabs)}componentWillRender(){this.resolveButtons()}componentDidRender(){this.ctaRef(this.tabButtonItems[this.getRenderProp(`selected`)]?.getButtonElement()),this.tabButtonItems.forEach((e=>e.syncListeners())),this.createButtonItem.syncListeners(),this.refreshTabPanels()}disconnectedCallback(){this.tabButtonItems.forEach((e=>e.destroy())),this.createButtonItem.destroy()}syncSelected(){let e=this.getRenderProp(`tabs`);e.length>0&&this.setRenderProp(`selected`,this.selectNextNotDisabledTab(this.getRenderProp(`selected`),e))}getCurrentFocusIndex(){return typeof this.currentFocusIndex==`number`?this.currentFocusIndex:this.getRenderProp(`selected`)}getKeyboardTabChangeMode(){return this.getRenderProp(`behavior`)===`select-manual`?`selectFocusOnly`:`activateCompletely`}goToNextTab(e){let t=this.nextPossibleTabIndex(this.getRenderProp(`tabs`),this.getCurrentFocusIndex());this.selectNextTabEvent(e,t,this.getKeyboardTabChangeMode())}goToPreviousTab(e){let t=this.prevPossibleTabIndex(this.getRenderProp(`tabs`),this.getCurrentFocusIndex());this.selectNextTabEvent(e,t,this.getKeyboardTabChangeMode())}selectNextTabEvent(e,t,n=`activateCompletely`){var r,i;this.currentFocusIndex=t,this.focusTabById(t),n===`activateCompletely`&&(this._selected=t,(i=(r=this.getRenderProp(`tabs`)[t]._on)?.onSelect)==null||i.call(r,e,t),this.onSelect(e,t))}focusTabById(e){this.rootElement&&Ma(`button#${this.tabsId}-tab-${e}`,this.rootElement)?.focus()}onSelect(e,t){var n,r;(r=(n=this.getRenderProp(`on`)).onSelect)==null||r.call(n,e,t),this.host&&I(this.host,F.select,t),this.focusTabById(t)}refreshTabPanels(){var e;if(!this.tabPanelHost)return;for(;this.tabPanelHost.firstChild;)this.tabPanelHost.removeChild(this.tabPanelHost.firstChild);let t=this.getRenderProp(`tabs`);for(let n=0;n<t.length;n++){let t=document.createElement(N(`div`));t.setAttribute(`aria-labelledby`,`${this.tabsId}-tab-${n}`),t.setAttribute(`id`,`${this.tabsId}-panel-${n}`),t.setAttribute(`role`,`tabpanel`),t.setAttribute(`hidden`,``);let r=document.createElement(N(`slot`));r.setAttribute(`name`,`tabpanel-slot-`+n),t.appendChild(r),this.tabPanelHost.appendChild(t),typeof HTMLCollection<`u`&&this.host?.children instanceof HTMLCollection&&(e=this.host)!=null&&e.children[n]&&this.host.children[n].setAttribute(`slot`,`tabpanel-slot-`+n)}this.updateVisiblePanel()}updateVisiblePanel(){if(!this.tabPanelHost)return;let e=this.getRenderProp(`selected`);Array.from(this.tabPanelHost.children).forEach(((t,n)=>{n===e?t.removeAttribute(`hidden`):t.setAttribute(`hidden`,``)}))}resolveButtons(){let e=this.getRenderProp(`selected`),t=this.getRenderProp(`tabs`);this.tabButtons=this.tabButtonItems.map(((n,r)=>{let i=t[r],a=e===r;return n.getButton({_ariaControls:`${this.tabsId}-panel-${r}`,_ariaSelected:a,_customClass:a?`selected`:``,_disabled:i._disabled,_hideLabel:i._hideLabel,_icons:i._icons,_id:`${this.tabsId}-tab-${r}`,_label:i._label,_on:this.tabButtonCallbacks,_role:`tab`,_tabIndex:a?0:-1,_tooltipAlign:i._tooltipAlign,_value:r,_variant:a?`custom`:void 0},this.host)})),this.createButton=this.createButtonItem.getButton({_icons:`kolicon-plus`,_label:this.onCreateLabel,_on:{onClick:this.onCreate}},this.host)}applySelected(e){UC.apply(e,(e=>{this.setRenderProp(`selected`,e),this.syncSelected()}))}applyTabs(e){KC.apply(e,(e=>{this.setRenderProp(`tabs`,e),this.tabButtonItems.forEach((e=>e.destroy())),this.tabButtonItems=e.map((()=>YC())),this.syncSelected()}))}render(){return A(j,{key:`68536f5168985018ec0191b885fbba405f3e3789`},A(nw,{key:`729f91926e7be8639f89234ee519ed8a2bbc9589`,align:this.getRenderProp(`align`),behavior:this.getRenderProp(`behavior`),createButton:this.createButton,handleBlur:this.handleBlur,handleKeyDown:this.handleKeyDown,hasCreateButton:this.getRenderProp(`hasCreateButton`),label:this.getRenderProp(`label`),on:this.getRenderProp(`on`),refContent:this.setContentRef,refRoot:this.setRootRef,selected:this.getRenderProp(`selected`),tabButtons:this.tabButtons,tabs:this.getRenderProp(`tabs`)}))}get host(){return this}static get watchers(){return{_align:[{watchAlign:0}],_behavior:[{watchBehavior:0}],_hasCreateButton:[{watchHasCreateButton:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_selected:[{watchSelected:0}],_tabs:[{watchTabs:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-tabs { display: var(--display); grid-template-columns: var(--grid-template-columns); grid-template-rows: var(--grid-template-rows); } .kol-tabs--align-right { --display: grid; --grid-template-columns: 1fr auto; --button-group-flex-direction: column; --button-group-order: 2; } .kol-tabs--align-left { --display: grid; --grid-template-columns: auto 1fr; --button-group-flex-direction: column; --button-group-order: 0; } .kol-tabs--align-bottom { --display: grid; --grid-template-rows: 1fr auto; --button-group-order: 2; } .kol-tabs--align-top { --display: grid; --grid-template-rows: auto 1fr; --button-group-order: 0; } .kol-tabs__button-group { display: flex; order: var(--button-group-order); flex-direction: var(--button-group-flex-direction); flex-wrap: wrap; } .kol-tabs__button-group .kol-button { display: block; } .kol-tabs__button-group .kol-button .kol-button__interactive-element { border-bottom-color: transparent; border-bottom-style: solid; } @media (forced-colors: active) { .kol-tabs__button-group .kol-button.selected { outline: 3px solid Highlight; outline-offset: -3px; } .kol-tabs__button-group .kol-button.selected:has(.kol-button__interactive-element:focus-visible) { outline-style: dashed; } } .kol-tabs__tablist { display: flex; flex-direction: var(--button-group-flex-direction); flex-wrap: wrap; } .kol-tabs__panel { height: 100%; } }`}}},[801,`kol-tabs`,{_align:[1],_behavior:[1],_hasCreateButton:[4,`_has-create-button`],_label:[1],_on:[16],_selected:[1538],_tabs:[1],focus:[64],click:[64]},void 0,{_align:[{watchAlign:0}],_behavior:[{watchBehavior:0}],_hasCreateButton:[{watchHasCreateButton:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_selected:[{watchSelected:0}],_tabs:[{watchTabs:0}]}]);yl([H(`ctaRef`)],rw.prototype,`focus`,null),yl([U(`ctaRef`)],rw.prototype,`click`,null);var iw=rw,aw=function(){typeof customElements<`u`&&[`kol-tabs`].forEach((e=>{e===`kol-tabs`&&(customElements.get(N(e))||customElements.define(N(e),rw))}))},ow=[`vertical`,`none`],sw=z(`adjustHeight`,!1,Pc),cw=z(`resize`,`vertical`,(function(e){let t=R(e);if(Ic(t,ow))return t;throw Error(`Invalid resize option: `+t)})),lw=e=>{let{class:t,msg:n,touched:r,readonly:i,disabled:a,required:o,ariaDescribedBy:s,hideLabel:c,label:l}=e,u=vl(e,[`class`,`msg`,`touched`,`readonly`,`disabled`,`required`,`ariaDescribedBy`,`hideLabel`,`label`]),d=Object.assign(Object.assign({class:B(ol(`kol-textarea`)(Object.assign({disabled:!!a,required:!!o,touched:!!r,readonly:!!i},Um(n,r)?{[Wm(n)]:!0}:{})),t),required:o,disabled:a,readonly:i},oh({ariaDescribedBy:s,hideLabel:c,label:l})),u);return A(`textarea`,Object.assign({},d))},uw={required:[...Qm.required],optional:[...Qm.optional,Iu,sw,vh,Th,S_,Eh,cw,ab,Ku,ly,Oh,Xu]},dw=M(class extends sh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=W(`textarea`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.counter=new Q_(V.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.isWritingRows=!1,this.propsConfig=uw,this._accessKey=void 0,this._adjustHeight=!1,this._ariaDetails=void 0,this._disabled=!1,this._hasCounter=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._maxLengthBehavior=`hard`,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._resize=`vertical`,this._rows=void 0,this._shortKey=void 0,this._spellCheck=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.handleTextareaInput=e=>{this.ctaRef.el instanceof HTMLTextAreaElement&&(this._value=this.ctaRef.el.value,this.getRenderProp(`adjustHeight`)&&this.writeRows(this.measureTextareaRows(this.ctaRef.el)),this.handleInput(e))},this.handleTextareaChange=e=>{this.handleChange(e)},this.handleTextareaFocus=e=>{this.handleFocus(e),this.counter.retriggerAria(this._value?.length??0)},this.handleTextareaKeyDown=e=>{this.handleKeyDown(e),this.counter.handleKeyDown(e,this.ctaRef.el?.value.length??0)},this.initFormAssociation(`textarea`,this._name)}watchAccessKey(e){Iu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Bp(e,this._shortKey)}watchAdjustHeight(e){sw.apply(e,(e=>this.setRenderProp(`adjustHeight`,e)))}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHasCounter(e){this.counter.watchHasCounter(e),this.needsImmediateCounterUpdate=!0}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){vh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMaxLength(e){this.counter.watchMaxLength(e),this.counter.updateImmediate(this._value?.length??0)}watchMaxLengthBehavior(e){this.counter.watchMaxLengthBehavior(e),this.needsImmediateCounterUpdate=!0}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPlaceholder(e){Th.apply(e,(e=>this.setRenderProp(`placeholder`,e)))}watchReadOnly(e){S_.apply(e,(e=>this.setRenderProp(`readOnly`,e)))}watchRequired(e){Eh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchResize(e){cw.apply(e,(e=>this.setRenderProp(`resize`,e)))}watchRows(e){ab.apply(e,(e=>{this.setRenderProp(`rows`,e),this.isWritingRows||(this.minRows=e)}))}watchShortKey(e){Ku.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Bp(this._accessKey,e)}watchSpellCheck(e){ly.apply(e,(e=>this.setRenderProp(`spellCheck`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e),this.counter.update(e?.length??0)}watchVariant(e){Xu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.watchAriaDetails(this._ariaDetails),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAdjustHeight(this._adjustHeight),this.watchDisabled(this._disabled),this.watchHasCounter(this._hasCounter),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchVariant(this._variant),this.counter.watchMaxLength(this._maxLength),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchResize(this._resize),this.watchRows(this._rows),this.watchSpellCheck(this._spellCheck),this.applyValue(this._value)}componentDidLoad(){this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(this._value?.length??0),setTimeout((()=>{!0===this._adjustHeight&&this.ctaRef.el?this.writeRows(this.measureTextareaRows(this.ctaRef.el)):this._rows||this.writeRows(1)}))}componentDidUpdate(){this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(this._value?.length??0))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField(),this.counter.destroy()}writeRows(e){this.isWritingRows=!0,this._rows=e,this.isWritingRows=!1}measureTextareaRows(e){let{overflow:t,padding:n}=e.style;e.style.overflow=`hidden`,e.style.padding=`0`;let r=e.rows,i=e.clientHeight/r;e.rows=1;let a=Math.round(e.scrollHeight/i);e.rows=r,e.style.overflow=t,e.style.padding=n;let o=this.minRows;return o&&o>a?o:a}getTextareaProps(){let e=this.id,t=this.getRenderProp(`shortKey`),n=this.counter.getMaxLengthAttribute(),r=this.counter.getCharacterLimitHintId(e),{ariaDescribedBy:i,hasError:a}=this.getAria();return Object.assign(Object.assign({id:e,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),value:this.getRenderProp(`value`),accessKey:this.getRenderProp(`accessKey`)||void 0,disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0,rows:this.getRenderProp(`rows`),readonly:this.getRenderProp(`readOnly`),required:this.getRenderProp(`required`),placeholder:this.getRenderProp(`placeholder`),spellcheck:this.getRenderProp(`spellCheck`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`),ref:this.ctaRef,style:{resize:this.getRenderProp(`resize`)},onBlur:this.handleBlur,onChange:this.handleTextareaChange,onClick:this.handleClick,onFocus:this.handleTextareaFocus,onInput:this.handleTextareaInput,onKeyDown:this.handleTextareaKeyDown,ariaDescribedBy:r?[...i,r]:i,"aria-invalid":a?`true`:void 0},n===void 0?{}:{maxLength:n}),t?{"aria-keyshortcuts":t}:{})}applyValue(e){Oh.apply(e,(e=>this.setRenderProp(`value`,e))),this.hasValue=!!this.getRenderProp(`value`),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`))}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=bh({icons:this.getRenderProp(`icons`)});return A(j,{key:`a0ad1cadb7e4e19498e4f7fe300578931211f0e2`},A(ah,Object.assign({key:`b3abca63ebd2ce9a3e59d522f6f68bfec9ab06fc`},this.getFormFieldProps({class:B(`kol-form-field-textarea`,{"kol-form-field--has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`),required:this.getRenderProp(`required`),readOnly:this.getRenderProp(`readOnly`),maxLength:this.counter.getRenderProp(`maxLength`),counter:this.counter.getCounterProps()})),A(wh,{key:`56050847f38f9946f038829dc09074a2baa0bc7e`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},A(lw,Object.assign({key:`57afea9f40590ed0e4ae2ab2f6b143677e584ea9`},this.getTextareaProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_adjustHeight:[{watchAdjustHeight:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_resize:[{watchResize:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_spellCheck:[{watchSpellCheck:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-textarea { width: 100%; } }`}}},[545,`kol-textarea`,{_accessKey:[1,`_access-key`],_adjustHeight:[4,`_adjust-height`],_ariaDetails:[1,`_aria-details`],_disabled:[4],_hasCounter:[4,`_has-counter`],_hideLabel:[4,`_hide-label`],_hideMsg:[4,`_hide-msg`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_maxLength:[2,`_max-length`],_maxLengthBehavior:[1,`_max-length-behavior`],_msg:[1],_name:[1],_on:[16],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_resize:[1],_rows:[1026],_shortKey:[1,`_short-key`],_spellCheck:[4,`_spell-check`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_adjustHeight:[{watchAdjustHeight:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hasCounter:[{watchHasCounter:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_resize:[{watchResize:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_spellCheck:[{watchSpellCheck:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);yl([H(`ctaRef`)],dw.prototype,`focus`,null),yl([U(`ctaRef`)],dw.prototype,`click`,null);var fw=dw,pw=function(){typeof customElements<`u`&&[`kol-textarea`].forEach((e=>{e===`kol-textarea`&&(customElements.get(N(e))||customElements.define(N(e),dw))}))},mw=z(`items`,[],(e=>Rc(e)),(e=>e.every((e=>typeof e==`object`&&!!e)))),hw={required:[sp,mw],optional:[Wv]},gw=P.forBlock(`kol-toolbar`)(`item`),_w=({class:e,currentIndex:t,itemRecords:n,label:r,location:i,orientation:a})=>A(sl,{block:`kol-toolbar`,class:e,modifiers:{"orientation-horizontal":a===`horizontal`,"orientation-vertical":a===`vertical`},role:`toolbar`,"aria-label":r},n.map(((e,n)=>((e,t,n,r)=>{let i=t!==n||e.disabled?-1:0;return A(`div`,{class:gw,key:t,ref:e.refWrapper},e.type===`link`?A(zp,Object.assign({},e.getFcProps(i,r))):e.type===`button`?A(md,Object.assign({},e.getFcProps(i))):A(`hr`,null))})(e,n,t,i)))),vw=[dS.ArrowUp,dS.ArrowDown,dS.ArrowRight,dS.ArrowLeft],yw=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.currentIndex=0,this.itemRecords=[],this.location=``,this.propsConfig=hw,this._orientation=void 0}watchItems(e){mw.apply(e,(e=>{this.setRenderProp(`items`,e),this.itemRecords.forEach((e=>e.destroy())),this.itemRecords=e.map((e=>((e,t)=>e.type===`link`?((e,t)=>{var n;let r=new Gf(V.stateLess),i=Rl(),a=W(`aria-description`),o,s=e,c=Gy(Object.assign(Object.assign({},s),{_inline:(n=s._inline)!=null&&n,_variant:s._variant??ti(`buttonVariantDefault`,t())??`normal`}));r.componentWillLoad({label:c.label.length>0?c.label:c.href,align:c.tooltipAlign});let l=e=>{r.hideTooltip(),c.disabled?e.preventDefault():(typeof c.on.onClick==`function`&&(Da(e,i.el),c.on.onClick(e,c.href)),o&&I(o,F.click,c.href))};return{type:`link`,disabled:c.disabled,getElement:()=>i.el,getFcProps:(t,n)=>Object.assign(Object.assign({},c),{ariaCurrent:n!==``&&n===c.href?c.ariaCurrentValue:``,ariaDescriptionId:a,expertSlot:e._label===``,handleAnchorClick:l,refAnchor:i,refTooltip:r.setTooltipElementRef,tabIndex:typeof e._tabIndex==`number`?c.tabIndex:t}),refWrapper:e=>{o=e},syncListeners:()=>{i.el&&r.syncListeners(void 0,i.el,!0)},destroy:()=>r.destroy()}})(e,t):e.type===`button`?((e,t)=>{let n=new Gf(V.stateLess),r=Rl(),i=W(`aria-description`),a,o=Cp(e,t()),s=e._value;n.componentWillLoad({label:o.label,align:o.tooltipAlign});let c=(e,t)=>{a&&I(a,e,t)},l=e=>{e.stopPropagation(),n.hideTooltip(),o.type===`submit`?cm({form:a}):o.type===`reset`?sm({form:a}):typeof o.on.onClick==`function`&&(Da(e,r.el),o.on.onClick(e,s)),c(F.click,s)},u=e=>{var t,n;(n=(t=o.on).onMouseDown)==null||n.call(t,e),c(F.mousedown)},d=e=>{var t,n;(n=(t=o.on).onFocus)==null||n.call(t,e),c(F.focus)},f=e=>{var t,n;(n=(t=o.on).onBlur)==null||n.call(t,e),c(F.blur)};return{type:`button`,disabled:o.disabled,getElement:()=>r.el,getFcProps:t=>Object.assign(Object.assign({},o),{ariaDescriptionId:i,handleBlur:f,handleClick:l,handleFocus:d,handleMouseDown:u,refButton:r,refTooltip:n.setTooltipElementRef,tabIndex:typeof e._tabIndex==`number`?o.tabIndex:t}),refWrapper:e=>{a=e},syncListeners:()=>{r.el&&n.syncListeners(void 0,r.el,!0)},destroy:()=>n.destroy()}})(e,t):(()=>{let e=Rl();return{type:`hr`,disabled:!0,getElement:()=>e.el,refWrapper:()=>{},syncListeners:()=>{},destroy:()=>{}}})())(e,(()=>this.host)))),this.setFirstEnabledItemIndex()}))}watchLabel(e){sp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchOrientation(e){Wv.apply(e,(e=>this.setRenderProp(`orientation`,e)))}async focus(e){return Al(this.host,(async()=>{let t=this.getCurrentItemElement();t&&await Pl(t,e)}))}async click(){return Fl(this.host,(async()=>{let e=this.getCurrentItemElement();e&&await Ll(e)}))}componentWillLoad(){this.watchItems(this._items),this.watchLabel(this._label),this.watchOrientation(this._orientation),this.unsubscribeOnLocationChange=io((e=>{this.location=e}))}componentDidRender(){this.itemRecords.forEach((e=>e.syncListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&=(this.unsubscribeOnLocationChange(),void 0),this.itemRecords.forEach((e=>e.destroy()))}handleKeyDown(e){var t;let n=e.code;if(!vw.includes(n)||(e.preventDefault(),this.itemRecords.length===0))return;let r=this.findNextEnabledItemIndex(this.currentIndex,n===dS.ArrowUp||n===dS.ArrowLeft?-1:1);r!==void 0&&r!==this.currentIndex&&(this.currentIndex=r,(t=this.itemRecords[r].getElement())==null||t.focus())}handleFocusout(e){e.target===this.host&&this.setFirstEnabledItemIndex()}getCurrentItemElement(){let e=this.itemRecords[this.currentIndex];return e&&!e.disabled?e.getElement():void 0}setFirstEnabledItemIndex(){this.currentIndex=this.itemRecords.findIndex((e=>!e.disabled))}findNextEnabledItemIndex(e,t){let n=this.itemRecords.length;for(let r=1;r<=n;r++){let i=((e+t*r)%n+n)%n;if(!this.itemRecords[i].disabled)return i}}render(){return A(j,{key:`f4e7f59afe377c9707183f2c30803385c2bc6686`},A(_w,{key:`125f1936a7766614ec58a24a8a95bae35c9732db`,currentIndex:this.currentIndex,itemRecords:this.itemRecords,label:this.getRenderProp(`label`),location:this.location,orientation:this.getRenderProp(`orientation`)}))}get host(){return this}static get watchers(){return{_items:[{watchItems:0}],_label:[{watchLabel:0}],_orientation:[{watchOrientation:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-link__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-link__interactive-element::before { content: "​"; } .kol-link__text { flex: 1 0 100%; } .kol-link { } .kol-link__tooltip { height: 0; } .kol-link--external-link > .kolicon-link-external::before { content: none; } .kol-link--external-link .kol-link__interactive-element > .kolicon-link-external::before { content: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-toolbar { display: flex; flex-wrap: wrap; align-items: stretch; } .kol-toolbar--orientation-horizontal .kol-toolbar__item hr { height: 100%; } .kol-toolbar--orientation-vertical { flex-direction: column; align-items: stretch; } .kol-toolbar--orientation-vertical .kol-span { align-items: flex-start; } .kol-toolbar__item hr { margin: 0; } .kol-toolbar:focus-within { outline: 1px solid; outline-offset: 2px; } }`}}},[545,`kol-toolbar`,{_items:[16],_label:[1],_orientation:[1],currentIndex:[32],itemRecords:[32],location:[32],focus:[64],click:[64]},[[0,`keydown`,`handleKeyDown`],[2,`focusout`,`handleFocusout`]],{_items:[{watchItems:0}],_label:[{watchLabel:0}],_orientation:[{watchOrientation:0}]}]),bw=yw,xw=function(){typeof customElements<`u`&&[`kol-toolbar`].forEach((e=>{e===`kol-toolbar`&&(customElements.get(N(e))||customElements.define(N(e),yw))}))},Sw=new WeakMap,Cw=(e,t)=>{Sw.set(e,t)},ww=e=>{Sw.delete(e)},Tw=e=>{var t;e&&((t=Sw.get(e))==null||t())},Ew={required:[sp]},Dw=P.forBlock(`kol-tree`)(`treeview-navigation`),Ow=({handleSlotchange:e,label:t})=>A(sl,{component:`nav`,block:`kol-tree`,"aria-label":t},A(`ul`,{class:Dw,role:`tree`,"aria-label":t},A(`slot`,{onSlotchange:e}))),kw=e=>e?.tagName===N(Qa).toUpperCase(),Aw=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.cacheValid=!1,this.propsConfig=Ew,this.invalidateOpenItemsCache=()=>{this.cacheValid=!1},this.handleSlotchange=()=>{this.observeTopLevelItems(),this.scheduleTreeChange()}}watchLabel(e){sp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}async focus(e){this.host&&await Al(this.host,(async()=>{await((await this.getOpenTreeItemElements())?.[0])?.focus(e)}))}connectedCallback(){this.host&&Cw(this.host,this.invalidateOpenItemsCache)}componentWillLoad(){this.watchLabel(this._label),this.handleTreeChange(),this.observeChildListMutations()}disconnectedCallback(){var e;this.host&&ww(this.host),(e=this.observer)==null||e.disconnect(),this.rafHandle!==void 0&&(cancelAnimationFrame(this.rafHandle),this.rafHandle=void 0)}async handleKeyDown(e){var t;if(e.key===`Tab`&&e.shiftKey&&e.target!==this.host)return void((t=this.host)==null||t.setAttribute(`tabindex`,`-1`));let n=e.composedPath().find(kw),r=await this.getOpenTreeItemElements(),i=e.metaKey||e.altKey||e.ctrlKey||e.shiftKey;if(!r||!n)return;let a=r.findIndex((e=>e===n));switch(e.key){case`ArrowDown`:await r[a+1]?.focus(),e.preventDefault();break;case`ArrowUp`:await r[a-1]?.focus(),e.preventDefault();break;case`Right`:case`ArrowRight`:e.preventDefault(),await n.isOpen()?await r[a+1]?.focus():await n.expand();break;case`Left`:case`ArrowLeft`:if(e.preventDefault(),await n.isOpen())await n.collapse();else{let e=n.parentElement,t=e?r.indexOf(e):-1;t!==-1&&await r[t]?.focus()}break;case`Home`:await r[0]?.focus(),e.preventDefault();break;case`End`:await r[r.length-1]?.focus(),e.preventDefault();break;case e.key.match(/^[a-zA-Z0-9]$/)?.input:if(!i){let t=e.key.toLowerCase(),n=a+1,i=e=>{var n;return(n=e.getAttribute(`_label`)?.trim().toLowerCase().startsWith(t))!=null&&n},o=r.slice(n).findIndex(i);o===-1?o=r.slice(0,n).findIndex(i):o+=n,o!==-1&&(await r[o]?.focus(),e.preventDefault())}break;case`*`:(n.parentElement?.querySelectorAll(N(Qa)))?.forEach((e=>{e.expand()}))}}handleFocusIn(e){e.target!==this.host||this.isWithinTree(e.relatedTarget)||requestAnimationFrame((()=>{this.focus()}))}handleFocusOut(e){var t;this.isWithinTree(e.relatedTarget)||(t=this.host)==null||t.setAttribute(`tabindex`,`0`),e.relatedTarget&&!e.relatedTarget.closest(N(`kol-tree`))&&this.ensureActiveItemVisibility()}isWithinTree(e){var t;return e instanceof Node&&e!==this.host&&(t=this.host?.contains(e))!=null&&t}observeChildListMutations(){this.observer=new MutationObserver((()=>this.scheduleTreeChange())),this.observeTopLevelItems()}observeTopLevelItems(){this.getTopLevelTreeItems().forEach((e=>{var t;(t=this.observer)==null||t.observe(e,{childList:!0,subtree:!0})}))}scheduleTreeChange(){this.rafHandle&&cancelAnimationFrame(this.rafHandle),this.rafHandle=requestAnimationFrame((()=>{this.handleTreeChange()}))}getTopLevelTreeItems(){return Array.from(this.host?.children??[]).filter((e=>kw(e)&&!e.slot))}handleTreeChange(){this.treeItemElements=this.getTreeItemElements(),this.cacheValid=!1,this.ensureActiveItemVisibility()}getTreeItemElements(){return this.getTopLevelTreeItems().reduce(((e,t)=>{let n=t.querySelectorAll(N(Qa));return[...e,t,...n]}),[])}async getOpenTreeItemElements(){if(!this.treeItemElements)return;if(this.cacheValid&&this.cachedOpenItems)return this.cachedOpenItems;let e=async e=>{let t=e.parentElement;for(;kw(t);){if(!await t.isOpen())return!1;t=t.parentElement}return!0};return this.cachedOpenItems=await Promise.all(this.treeItemElements.map((async t=>({item:t,isOpen:await e(t)})))).then((e=>e.filter((({isOpen:e})=>e)).map((({item:e})=>e)))),this.cacheValid=!0,this.cachedOpenItems}ensureActiveItemVisibility(){let e=t=>{kw(t.parentElement)&&(t.parentElement.expand(),e(t.parentElement))},t=(()=>{for(let e of this.getTopLevelTreeItems()){if(e._active)return e;let t=e.querySelector(N(Qa)+`[_active="true"]`);if(t?._active)return t}})();t&&e(t)}render(){return A(j,{key:`4ef648e09a5b3a8fd5d230e6cc559f2d1c8a55bf`,tabindex:`0`},A(Ow,{key:`55c75c2a21f448cdd6b022cf05e9b5a2efc2a276`,handleSlotchange:this.handleSlotchange,label:this.getRenderProp(`label`)}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-tree__treeview-navigation { margin: 0; padding: 0; list-style: none; } .kol-tree:focus-within { outline: 1px solid; outline-offset: 2px; } }`}}},[545,`kol-tree`,{_label:[1],focus:[64]},[[0,`keydown`,`handleKeyDown`],[0,`focusin`,`handleFocusIn`],[0,`focusout`,`handleFocusOut`]],{_label:[{watchLabel:0}]}]),jw=Aw,Mw=function(){typeof customElements<`u`&&[`kol-tree`].forEach((e=>{e===`kol-tree`&&(customElements.get(N(e))||customElements.define(N(e),Aw))}))},Nw=z(`active`,!1,Pc),Pw={required:[Ap,fl],optional:[Nw]},Fw=P.forBlock(`kol-tree-item`),Iw=Fw(`children`),Lw=Fw(`link-inner`),Rw=Fw(`text`),zw=Fw(`toggle-button`),Bw=Fw(`toggle-button-icon`),Vw=Fw(`toggle-button-placeholder`),Hw=Object.freeze(cl(Lp)),Uw=()=>{},Ww=({active:e,ariaCurrent:t,groupId:n,handleAnchorClick:r,handleSlotchange:i,handleToggleClick:a,hasChildren:o,href:s,label:c,level:l,open:u,refAnchor:d})=>A(sl,{component:`li`,block:`kol-tree-item`,role:`none`,style:{"--level":``+l}},A(`span`,{class:Fw(`link`,{active:e,"first-level":l===0})},A(zp,Object.assign({},Hw,{ariaCurrent:t,ariaDescriptionId:``,ariaExpanded:o?u?`true`:`false`:``,ariaOwns:o?n:``,expertSlot:!0,handleAnchorClick:r,href:s,label:``,refAnchor:d,refTooltip:Uw,role:`treeitem`,tabIndex:e?0:-1}),A(`span`,{class:Lw},o?A(`span`,{class:zw,onClick:a},A(Ul,{class:Bw,icons:`kolicon kolicon-`+(u?`chevron-down`:`chevron-right`),label:``})):A(`span`,{class:Vw}),A(`span`,{class:Rw},fu(c))))),A(`ul`,{class:Iw,hidden:!o||!u,role:`group`,id:n},A(`slot`,{onSlotchange:i}))),Gw=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent=``,this.groupId=W(`tree-group`),this.hasChildren=!1,this.level=0,this.open=!1,this.anchorRef=Rl(),this.propsConfig=Pw,this._active=void 0,this._open=void 0,this.handleAnchorClick=()=>{this.host&&I(this.host,F.click,this.getRenderProp(`href`))},this.handleSlotchange=()=>{this.checkForChildren()},this.handleToggleClick=e=>{e.preventDefault();let t=this.open;this.focus().then((()=>this.setOpen(!t)))}}watchActive(e){Nw.apply(e,(e=>this.setRenderProp(`active`,e)))}watchHref(e){Ap.apply(e,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`))}watchLabel(e){fl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchOpen(e){Cl.apply(e,(e=>{this.open=e,Tw(this.getTree())}))}focus(e){return Promise.resolve()}expand(){return this.setOpen(!0),Promise.resolve()}collapse(){return this.setOpen(!1),Promise.resolve()}isOpen(){return Promise.resolve(this.open)}componentWillLoad(){this.watchActive(this._active),this.watchHref(this._href),this.watchLabel(this._label),this.watchOpen(this._open),this.checkForChildren(),this.determineTreeItemDepth(),this.unsubscribeOnLocationChange=io((e=>{let t=e===this.getRenderProp(`href`)?Np.getDefaultValue():``;this.ariaCurrent!==t&&(this.ariaCurrent=t)}))}disconnectedCallback(){this.unsubscribeOnLocationChange&&=(this.unsubscribeOnLocationChange(),void 0)}determineTreeItemDepth(){let e=0,t=this.host?.parentElement??null;for(;t!==null&&t.tagName.toLowerCase()!==N(`kol-tree`)&&t!==document.body;)t=t.parentElement,e+=1;this.level=e}checkForChildren(){this.hasChildren=Array.from(this.host?.children??[]).some((e=>!e.slot))}getTree(){let e=this.host;for(;e;){let t=e.closest(N($a));if(t)return t;let n=e.getRootNode()?.host;if(!n||n===document.body)break;e=n}}setOpen(e){this.hasChildren&&(this.open=e,Tw(this.getTree()))}render(){return A(j,{key:`5cff2510146288c3cfea27b962ccbc93ec80913a`},A(Ww,{key:`a9d8313808c72fef2a7c60c8712e82eca7cf9e43`,active:this.getRenderProp(`active`),ariaCurrent:this.ariaCurrent,groupId:this.groupId,handleAnchorClick:this.handleAnchorClick,handleSlotchange:this.handleSlotchange,handleToggleClick:this.handleToggleClick,hasChildren:this.hasChildren,href:this.getRenderProp(`href`),label:this.getRenderProp(`label`),level:this.level,open:this.open,refAnchor:this.anchorRef}))}get host(){return this}static get watchers(){return{_active:[{watchActive:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tree-item__link .kol-link { display: inline-flex; width: 100%; min-height: var(--a11y-min-size); align-items: center; text-decoration: none; } .kol-tree-item__link .kol-link__interactive-element { flex: 1 1 auto; text-decoration: none; } .kol-tree-item__link-inner { display: flex; align-items: center; } .kol-tree-item__children { margin: 0; padding: 0; list-style: none; } .kol-tree-item .kol-span { place-items: unset; } .kol-tree-item__toggle-button, .kol-tree-item__toggle-button-placeholder { display: inline-flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-tree-item__text { text-decoration: underline; } }`}}},[545,`kol-tree-item`,{_active:[4],_href:[1],_label:[1],_open:[4],ariaCurrent:[32],groupId:[32],hasChildren:[32],level:[32],open:[32],focus:[64],expand:[64],collapse:[64],isOpen:[64]},void 0,{_active:[{watchActive:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}]}]);yl([Vl(`anchorRef`)],Gw.prototype,`focus`,null);var Kw=Gw,qw=function(){typeof customElements<`u`&&[`kol-tree-item`].forEach((e=>{e===`kol-tree-item`&&(customElements.get(N(e))||customElements.define(N(e),Gw))}))},Jw={required:[sp]},Yw=({class:e,color:t,icons:n,label:r})=>A(sl,{block:`kol-version`,class:e},A(Sp,{color:t,icons:n,label:r})),Xw=rp(`#bec5c9`),Zw={backgroundColor:Xw.background,foregroundColor:Xw.foreground},Qw={left:{icon:`kolicon-version`,label:G(`kol-version`)}},$w=M(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=Jw}watchLabel(e){sp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}componentWillLoad(){this.watchLabel(this._label)}render(){return A(j,{key:`2ca724c186f6c4ed7fac3d7af56839100eb39923`},A(Yw,{key:`4a8494a03298ab2bedc907f3b0f514e90d4c1bae`,color:Zw,icons:Qw,label:this.getRenderProp(`label`)}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } }`}}},[545,`kol-version`,{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),eT=$w,tT=function(){typeof customElements<`u`&&[`kol-version`].forEach((e=>{e===`kol-version`&&(customElements.get(N(e))||customElements.define(N(e),$w))}))},nT,rT=e=>{Fr(e),nT=e},iT=e=>nT?nT(e):e,aT=()=>nT,oT=e=>{rT(ft(e))},sT=e=>{let{transformTag:t,tagName:n,...r}=e,i,a=()=>{let e=pt();return e&&!aT()&&rT(e),t?t(n):n};return w.forwardRef((e,t)=>{i??=Do({...r,tagName:a()});let n=Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0));return w.createElement(i,{...n,ref:w.useCallback(e=>{if(e!==null)for(let[t,r]of Object.entries(n))t.startsWith(`_`)&&t in e&&(e[t]=r);typeof t==`function`?t(e):t&&(t.current=e)},[t,n])})})},cT=sT({tagName:`kol-abbr`,elementClass:gl,react:w.default,events:{},defineCustomElement:_l,transformTag:iT}),lT=sT({tagName:`kol-accordion`,elementClass:Eu,react:w.default,events:{},defineCustomElement:Du,transformTag:iT}),uT=sT({tagName:`kol-alert`,elementClass:ep,react:w.default,events:{},defineCustomElement:tp,transformTag:iT}),dT=sT({tagName:`kol-avatar`,elementClass:gp,react:w.default,events:{},defineCustomElement:_p,transformTag:iT}),fT=sT({tagName:`kol-badge`,elementClass:Dp,react:w.default,events:{},defineCustomElement:Op,transformTag:iT}),pT=sT({tagName:`kol-breadcrumb`,elementClass:tm,react:w.default,events:{},defineCustomElement:nm,transformTag:iT}),K=sT({tagName:`kol-button`,elementClass:pm,react:w.default,events:{},defineCustomElement:mm,transformTag:iT}),mT=sT({tagName:`kol-button-link`,elementClass:gm,react:w.default,events:{},defineCustomElement:_m,transformTag:iT}),hT=sT({tagName:`kol-card`,elementClass:jm,react:w.default,events:{},defineCustomElement:Mm,transformTag:iT}),gT=sT({tagName:`kol-combobox`,elementClass:Fh,react:w.default,events:{},defineCustomElement:Ih,transformTag:iT}),_T=sT({tagName:`kol-details`,elementClass:Rh,react:w.default,events:{},defineCustomElement:zh,transformTag:iT}),vT=sT({tagName:`kol-dialog`,elementClass:$h,react:w.default,events:{},defineCustomElement:eg,transformTag:iT}),yT=sT({tagName:`kol-drawer`,elementClass:cg,react:w.default,events:{},defineCustomElement:lg,transformTag:iT}),bT=sT({tagName:`kol-form`,elementClass:Tg,react:w.default,events:{},defineCustomElement:Eg,transformTag:iT}),q=sT({tagName:`kol-heading`,elementClass:Mg,react:w.default,events:{},defineCustomElement:Ng,transformTag:iT}),xT=sT({tagName:`kol-icon`,elementClass:Rg,react:w.default,events:{},defineCustomElement:zg,transformTag:iT}),ST=sT({tagName:`kol-image`,elementClass:qg,react:w.default,events:{},defineCustomElement:Jg,transformTag:iT}),CT=sT({tagName:`kol-input-checkbox`,elementClass:p_,react:w.default,events:{},defineCustomElement:m_,transformTag:iT}),wT=sT({tagName:`kol-input-color`,elementClass:b_,react:w.default,events:{},defineCustomElement:x_,transformTag:iT}),TT=sT({tagName:`kol-input-date`,elementClass:H_,react:w.default,events:{},defineCustomElement:U_,transformTag:iT}),ET=sT({tagName:`kol-input-email`,elementClass:av,react:w.default,events:{},defineCustomElement:ov,transformTag:iT}),DT=sT({tagName:`kol-input-file`,elementClass:hv,react:w.default,events:{},defineCustomElement:gv,transformTag:iT}),OT=sT({tagName:`kol-input-number`,elementClass:Av,react:w.default,events:{},defineCustomElement:jv,transformTag:iT}),kT=sT({tagName:`kol-input-password`,elementClass:Iv,react:w.default,events:{},defineCustomElement:Lv,transformTag:iT}),AT=sT({tagName:`kol-input-radio`,elementClass:Qv,react:w.default,events:{},defineCustomElement:$v,transformTag:iT}),jT=sT({tagName:`kol-input-range`,elementClass:sy,react:w.default,events:{},defineCustomElement:cy,transformTag:iT}),J=sT({tagName:`kol-input-text`,elementClass:hy,react:w.default,events:{},defineCustomElement:gy,transformTag:iT}),MT=sT({tagName:`kol-kolibri`,elementClass:Sy,react:w.default,events:{},defineCustomElement:Cy,transformTag:iT}),Y=sT({tagName:`kol-link`,elementClass:Dy,react:w.default,events:{},defineCustomElement:Oy,transformTag:iT}),NT=sT({tagName:`kol-link-button`,elementClass:Ay,react:w.default,events:{},defineCustomElement:jy,transformTag:iT}),PT=sT({tagName:`kol-meter`,elementClass:Hy,react:w.default,events:{},defineCustomElement:Uy,transformTag:iT}),FT=sT({tagName:`kol-nav`,elementClass:rb,react:w.default,events:{},defineCustomElement:ib,transformTag:iT}),IT=sT({tagName:`kol-pagination`,elementClass:Jb,react:w.default,events:{},defineCustomElement:Yb,transformTag:iT}),LT=sT({tagName:`kol-popover-button`,elementClass:Zb,react:w.default,events:{},defineCustomElement:Qb,transformTag:iT}),RT=sT({tagName:`kol-progress`,elementClass:sx,react:w.default,events:{},defineCustomElement:cx,transformTag:iT}),zT=sT({tagName:`kol-quote`,elementClass:vx,react:w.default,events:{},defineCustomElement:yx,transformTag:iT}),BT=sT({tagName:`kol-select`,elementClass:xx,react:w.default,events:{},defineCustomElement:Sx,transformTag:iT}),VT=sT({tagName:`kol-single-select`,elementClass:Nx,react:w.default,events:{},defineCustomElement:Px,transformTag:iT}),HT=sT({tagName:`kol-skip-nav`,elementClass:Hx,react:w.default,events:{},defineCustomElement:Ux,transformTag:iT}),UT=sT({tagName:`kol-spin`,elementClass:$x,react:w.default,events:{},defineCustomElement:eS,transformTag:iT}),WT=sT({tagName:`kol-split-button`,elementClass:cS,react:w.default,events:{},defineCustomElement:lS,transformTag:iT}),GT=sT({tagName:`kol-table-stateful`,elementClass:LC,react:w.default,events:{},defineCustomElement:RC,transformTag:iT}),KT=sT({tagName:`kol-table-stateless`,elementClass:BC,react:w.default,events:{},defineCustomElement:VC,transformTag:iT}),qT=sT({tagName:`kol-tabs`,elementClass:iw,react:w.default,events:{},defineCustomElement:aw,transformTag:iT}),JT=sT({tagName:`kol-textarea`,elementClass:fw,react:w.default,events:{},defineCustomElement:pw,transformTag:iT}),YT=sT({tagName:`kol-toolbar`,elementClass:bw,react:w.default,events:{},defineCustomElement:xw,transformTag:iT}),XT=sT({tagName:`kol-tree`,elementClass:jw,react:w.default,events:{},defineCustomElement:Mw,transformTag:iT}),ZT=sT({tagName:`kol-tree-item`,elementClass:Kw,react:w.default,events:{},defineCustomElement:qw,transformTag:iT}),QT=sT({tagName:`kol-version`,elementClass:eT,react:w.default,events:{},defineCustomElement:tT,transformTag:iT});function $T(e){let t=document.createElement(`div`);return t.setAttribute(`role`,`presentation`),e.innerHTML=``,e.appendChild(t),t}var eE=y((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,te());else{var t=n(l);t!==null&&ie(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function ee(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&ie(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?te():S=!1}}}var te;if(typeof y==`function`)te=function(){y(ee)};else if(typeof MessageChannel<`u`){var ne=new MessageChannel,re=ne.port2;ne.port1.onmessage=ee,te=function(){re.postMessage(null)}}else te=function(){_(ee,0)};function ie(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,ie(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,te()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),tE=y(((e,t)=>{t.exports=eE()})),nE=y((e=>{var t=C();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.8`})),rE=y(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=nE()})),iE=y((e=>{var t=tE(),n=C(),r=rE();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),w=Symbol.for(`react.suspense_list`),T=Symbol.for(`react.memo`),E=Symbol.for(`react.lazy`),ee=Symbol.for(`react.activity`),te=Symbol.for(`react.memo_cache_sentinel`),ne=Symbol.iterator;function re(e){return typeof e!=`object`||!e?null:(e=ne&&e[ne]||e[`@@iterator`],typeof e==`function`?e:null)}var ie=Symbol.for(`react.client.reference`);function ae(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ie?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case S:return`Suspense`;case w:return`SuspenseList`;case ee:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case T:return t=e.displayName||null,t===null?ae(e.type)||`Memo`:t;case E:t=e._payload,e=e._init;try{return ae(e(t))}catch{}}return null}var oe=Array.isArray,D=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},ce=[],le=-1;function ue(e){return{current:e}}function de(e){0>le||(e.current=ce[le],ce[le]=null,le--)}function fe(e,t){le++,ce[le]=e.current,e.current=t}var pe=ue(null),me=ue(null),he=ue(null),ge=ue(null);function _e(e,t){switch(fe(he,t),fe(me,e),fe(pe,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?qd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qd(t),e=Jd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}de(pe),fe(pe,e)}function ve(){de(pe),de(me),de(he)}function ye(e){e.memoizedState!==null&&fe(ge,e);var t=pe.current,n=Jd(t,e.type);t!==n&&(fe(me,e),fe(pe,n))}function be(e){me.current===e&&(de(pe),de(me)),ge.current===e&&(de(ge),ip._currentValue=se)}var xe,Se;function Ce(e){if(xe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);xe=t&&t[1]||``,Se=-1<e.stack.indexOf(`
17
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
18
+ `+xe+e+Se}var we=!1;function Te(e,t){if(!e||we)return``;we=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
19
+ `),l=s.split(`
20
+ `);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
21
+ `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{we=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Ce(n):``}function Ee(e,t){switch(e.tag){case 26:case 27:case 5:return Ce(e.type);case 16:return Ce(`Lazy`);case 13:return e.child!==t&&t!==null?Ce(`Suspense Fallback`):Ce(`Suspense`);case 19:return Ce(`SuspenseList`);case 0:case 15:return Te(e.type,!1);case 11:return Te(e.type.render,!1);case 1:return Te(e.type,!0);case 31:return Ce(`Activity`);default:return``}}function De(e){try{var t=``,n=null;do t+=Ee(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
22
+ Error generating stack: `+e.message+`
23
+ `+e.stack}}var Oe=Object.prototype.hasOwnProperty,ke=t.unstable_scheduleCallback,Ae=t.unstable_cancelCallback,je=t.unstable_shouldYield,Me=t.unstable_requestPaint,Ne=t.unstable_now,Pe=t.unstable_getCurrentPriorityLevel,Fe=t.unstable_ImmediatePriority,Ie=t.unstable_UserBlockingPriority,Le=t.unstable_NormalPriority,Re=t.unstable_LowPriority,ze=t.unstable_IdlePriority,Be=t.log,Ve=t.unstable_setDisableYieldValue,He=null,Ue=null;function We(e){if(typeof Be==`function`&&Ve(e),Ue&&typeof Ue.setStrictMode==`function`)try{Ue.setStrictMode(He,e)}catch{}}var Ge=Math.clz32?Math.clz32:Je,Ke=Math.log,qe=Math.LN2;function Je(e){return e>>>=0,e===0?32:31-(Ke(e)/qe|0)|0}var Ye=256,Xe=262144,Ze=4194304;function Qe(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function $e(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Qe(n))):i=Qe(o):i=Qe(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Qe(n))):i=Qe(o)):i=Qe(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function et(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function tt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function nt(){var e=Ze;return Ze<<=1,!(Ze&62914560)&&(Ze=4194304),e}function rt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function it(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function at(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ge(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&ot(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function ot(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ge(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function st(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ge(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ct(e,t){var n=t&-t;return n=n&42?1:lt(n),(n&(e.suspendedLanes|t))===0?n:0}function lt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ut(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function dt(){var e=O.p;return e===0?(e=window.event,e===void 0?32:bp(e.type)):e}function ft(e,t){var n=O.p;try{return O.p=e,t()}finally{O.p=n}}var pt=Math.random().toString(36).slice(2),mt=`__reactFiber$`+pt,ht=`__reactProps$`+pt,gt=`__reactContainer$`+pt,_t=`__reactEvents$`+pt,vt=`__reactListeners$`+pt,yt=`__reactHandles$`+pt,bt=`__reactResources$`+pt,xt=`__reactMarker$`+pt;function St(e){delete e[mt],delete e[ht],delete e[_t],delete e[vt],delete e[yt]}function Ct(e){var t=e[mt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[gt]||n[mt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=_f(e);e!==null;){if(n=e[mt])return n;e=_f(e)}return t}e=n,n=e.parentNode}return null}function wt(e){if(e=e[mt]||e[gt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Tt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Et(e){var t=e[bt];return t||=e[bt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Dt(e){e[xt]=!0}var Ot=new Set,kt={};function At(e,t){jt(e,t),jt(e+`Capture`,t)}function jt(e,t){for(kt[e]=t,e=0;e<t.length;e++)Ot.add(t[e])}var Mt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Nt={},Pt={};function Ft(e){return Oe.call(Pt,e)?!0:Oe.call(Nt,e)?!1:Mt.test(e)?Pt[e]=!0:(Nt[e]=!0,!1)}function It(e,t,n){if(Ft(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}}function Lt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Rt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function zt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Bt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Vt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function k(e){if(!e._valueTracker){var t=Bt(e)?`checked`:`value`;e._valueTracker=Vt(e,t,``+e[t])}}function Ht(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Bt(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function Ut(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Wt=/[\n"\\]/g;function Gt(e){return e.replace(Wt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Kt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+zt(t)):e.value!==``+zt(t)&&(e.value=``+zt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Jt(e,o,zt(n)):Jt(e,o,zt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+zt(s):e.removeAttribute(`name`)}function qt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){k(e);return}n=n==null?``:``+zt(n),t=t==null?n:``+zt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),k(e)}function Jt(e,t,n){t===`number`&&Ut(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Yt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+zt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Xt(e,t,n){t!=null&&(t=``+zt(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+zt(n)}function Zt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(oe(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=zt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),k(e)}function Qt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $t=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function en(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||$t.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function tn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&en(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&en(e,o,t[o])}function nn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var rn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),an=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function on(e){return an.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function sn(){}var cn=null;function ln(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var un=null,dn=null;function fn(e){var t=wt(e);if(t&&(e=t.stateNode)){var n=e[ht]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Kt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Gt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ht]||null;if(!a)throw Error(i(90));Kt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Ht(r)}break a;case`textarea`:Xt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Yt(e,!!n.multiple,t,!1)}}}var pn=!1;function mn(e,t,n){if(pn)return e(t,n);pn=!0;try{return e(t)}finally{if(pn=!1,(un!==null||dn!==null)&&(wu(),un&&(t=un,e=dn,dn=un=null,fn(t),e)))for(t=0;t<e.length;t++)fn(e[t])}}function hn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ht]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var gn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,_n=!1;if(gn)try{var vn={};Object.defineProperty(vn,"passive",{get:function(){_n=!0}}),window.addEventListener(`test`,vn,vn),window.removeEventListener(`test`,vn,vn)}catch{_n=!1}var yn=null,bn=null,xn=null;function Sn(){if(xn)return xn;var e,t=bn,n=t.length,r,i=`value`in yn?yn.value:yn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return xn=i.slice(e,1<r?1-r:void 0)}function Cn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wn(){return!0}function Tn(){return!1}function En(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?wn:Tn,this.isPropagationStopped=Tn,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=wn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=wn)},persist:function(){},isPersistent:wn}),t}var Dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},On=En(Dn),kn=f({},Dn,{view:0,detail:0}),An=En(kn),A,jn,j,Mn=f({},kn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Un,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==j&&(j&&e.type===`mousemove`?(A=e.screenX-j.screenX,jn=e.screenY-j.screenY):jn=A=0,j=e),A)},movementY:function(e){return`movementY`in e?e.movementY:jn}}),Nn=En(Mn),Pn=En(f({},Mn,{dataTransfer:0})),Fn=En(f({},kn,{relatedTarget:0})),In=En(f({},Dn,{animationName:0,elapsedTime:0,pseudoElement:0})),Ln=En(f({},Dn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Rn=En(f({},Dn,{data:0})),zn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Bn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Vn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Hn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vn[e])?!!t[e]:!1}function Un(){return Hn}var Wn=En(f({},kn,{key:function(e){if(e.key){var t=zn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Cn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Bn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Un,charCode:function(e){return e.type===`keypress`?Cn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Cn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Gn=En(f({},Mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Kn=En(f({},kn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Un})),qn=En(f({},Dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Jn=En(f({},Mn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Yn=En(f({},Dn,{newState:0,oldState:0})),Xn=[9,13,27,32],Zn=gn&&`CompositionEvent`in window,Qn=null;gn&&`documentMode`in document&&(Qn=document.documentMode);var $n=gn&&`TextEvent`in window&&!Qn,er=gn&&(!Zn||Qn&&8<Qn&&11>=Qn),tr=` `,nr=!1;function rr(e,t){switch(e){case`keyup`:return Xn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function ir(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var ar=!1;function or(e,t){switch(e){case`compositionend`:return ir(t);case`keypress`:return t.which===32?(nr=!0,tr):null;case`textInput`:return e=t.data,e===tr&&nr?null:e;default:return null}}function sr(e,t){if(ar)return e===`compositionend`||!Zn&&rr(e,t)?(e=Sn(),xn=bn=yn=null,ar=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return er&&t.locale!==`ko`?null:t.data;default:return null}}var cr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function lr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!cr[e.type]:t===`textarea`}function ur(e,t,n,r){un?dn?dn.push(r):dn=[r]:un=r,t=jd(t,`onChange`),0<t.length&&(n=new On(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var dr=null,fr=null;function pr(e){Cd(e,0)}function mr(e){if(Ht(Tt(e)))return e}function hr(e,t){if(e===`change`)return t}var gr=!1;if(gn){var _r;if(gn){var vr=`oninput`in document;if(!vr){var yr=document.createElement(`div`);yr.setAttribute(`oninput`,`return;`),vr=typeof yr.oninput==`function`}_r=vr}else _r=!1;gr=_r&&(!document.documentMode||9<document.documentMode)}function br(){dr&&(dr.detachEvent(`onpropertychange`,xr),fr=dr=null)}function xr(e){if(e.propertyName===`value`&&mr(fr)){var t=[];ur(t,fr,e,ln(e)),mn(pr,t)}}function Sr(e,t,n){e===`focusin`?(br(),dr=t,fr=n,dr.attachEvent(`onpropertychange`,xr)):e===`focusout`&&br()}function Cr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return mr(fr)}function wr(e,t){if(e===`click`)return mr(t)}function Tr(e,t){if(e===`input`||e===`change`)return mr(t)}function Er(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Dr=typeof Object.is==`function`?Object.is:Er;function Or(e,t){if(Dr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Oe.call(t,i)||!Dr(e[i],t[i]))return!1}return!0}function kr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function M(e,t){var n=kr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=kr(n)}}function Ar(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ar(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ut(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ut(e.document)}return t}function Mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Nr=gn&&`documentMode`in document&&11>=document.documentMode,Pr=null,N=null,Fr=null,Ir=!1;function Lr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ir||Pr==null||Pr!==Ut(r)||(r=Pr,`selectionStart`in r&&Mr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fr&&Or(Fr,r)||(Fr=r,r=jd(N,`onSelect`),0<r.length&&(t=new On(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Pr)))}function Rr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var zr={animationend:Rr(`Animation`,`AnimationEnd`),animationiteration:Rr(`Animation`,`AnimationIteration`),animationstart:Rr(`Animation`,`AnimationStart`),transitionrun:Rr(`Transition`,`TransitionRun`),transitionstart:Rr(`Transition`,`TransitionStart`),transitioncancel:Rr(`Transition`,`TransitionCancel`),transitionend:Rr(`Transition`,`TransitionEnd`)},Br={},Vr={};gn&&(Vr=document.createElement(`div`).style,`AnimationEvent`in window||(delete zr.animationend.animation,delete zr.animationiteration.animation,delete zr.animationstart.animation),`TransitionEvent`in window||delete zr.transitionend.transition);function Hr(e){if(Br[e])return Br[e];if(!zr[e])return e;var t=zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Vr)return Br[e]=t[n];return e}var Ur=Hr(`animationend`),Wr=Hr(`animationiteration`),Gr=Hr(`animationstart`),Kr=Hr(`transitionrun`),qr=Hr(`transitionstart`),Jr=Hr(`transitioncancel`),Yr=Hr(`transitionend`),Xr=new Map,Zr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Zr.push(`scrollEnd`);function Qr(e,t){Xr.set(e,t),At(t,[e])}var $r=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ei=[],ti=0,ni=0;function ri(){for(var e=ti,t=ni=ti=0;t<e;){var n=ei[t];ei[t++]=null;var r=ei[t];ei[t++]=null;var i=ei[t];ei[t++]=null;var a=ei[t];if(ei[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&si(n,i,a)}}function ii(e,t,n,r){ei[ti++]=e,ei[ti++]=t,ei[ti++]=n,ei[ti++]=r,ni|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ai(e,t,n,r){return ii(e,t,n,r),ci(e)}function oi(e,t){return ii(e,null,null,t),ci(e)}function si(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ge(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ci(e){if(50<gu)throw gu=0,_u=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var li={};function ui(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function di(e,t,n,r){return new ui(e,t,n,r)}function fi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pi(e,t){var n=e.alternate;return n===null?(n=di(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function mi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function hi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)fi(e)&&(s=1);else if(typeof e==`string`)s=Yf(e,n,pe.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ee:return e=di(31,n,t,a),e.elementType=ee,e.lanes=o,e;case g:return gi(n.children,a,o,t);case _:s=8,a|=24;break;case v:return e=di(12,n,t,a|2),e.elementType=v,e.lanes=o,e;case S:return e=di(13,n,t,a),e.elementType=S,e.lanes=o,e;case w:return e=di(19,n,t,a),e.elementType=w,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case b:s=10;break a;case y:s=9;break a;case x:s=11;break a;case T:s=14;break a;case E:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=di(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function gi(e,t,n,r){return e=di(7,e,r,t),e.lanes=n,e}function _i(e,t,n){return e=di(6,e,null,t),e.lanes=n,e}function vi(e){var t=di(18,null,null,0);return t.stateNode=e,t}function yi(e,t,n){return t=di(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var bi=new WeakMap;function xi(e,t){if(typeof e==`object`&&e){var n=bi.get(e);return n===void 0?(t={value:e,source:t,stack:De(t)},bi.set(e,t),t):n}return{value:e,source:t,stack:De(t)}}var Si=[],Ci=0,wi=null,Ti=0,Ei=[],Di=0,Oi=null,ki=1,Ai=``;function ji(e,t){Si[Ci++]=Ti,Si[Ci++]=wi,wi=e,Ti=t}function Mi(e,t,n){Ei[Di++]=ki,Ei[Di++]=Ai,Ei[Di++]=Oi,Oi=e;var r=ki;e=Ai;var i=32-Ge(r)-1;r&=~(1<<i),n+=1;var a=32-Ge(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ki=1<<32-Ge(t)+i|n<<i|r,Ai=a+e}else ki=1<<a|n<<i|r,Ai=e}function Ni(e){e.return!==null&&(ji(e,1),Mi(e,1,0))}function Pi(e){for(;e===wi;)wi=Si[--Ci],Si[Ci]=null,Ti=Si[--Ci],Si[Ci]=null;for(;e===Oi;)Oi=Ei[--Di],Ei[Di]=null,Ai=Ei[--Di],Ei[Di]=null,ki=Ei[--Di],Ei[Di]=null}function Fi(e,t){Ei[Di++]=ki,Ei[Di++]=Ai,Ei[Di++]=Oi,ki=t.id,Ai=t.overflow,Oi=e}var Ii=null,Li=null,Ri=!1,zi=null,Bi=!1,Vi=Error(i(519));function Hi(e){throw Ji(xi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Vi}function Ui(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[mt]=e,t[ht]=r,n){case`dialog`:wd(`cancel`,t),wd(`close`,t);break;case`iframe`:case`object`:case`embed`:wd(`load`,t);break;case`video`:case`audio`:for(n=0;n<xd.length;n++)wd(xd[n],t);break;case`source`:wd(`error`,t);break;case`img`:case`image`:case`link`:wd(`error`,t),wd(`load`,t);break;case`details`:wd(`toggle`,t);break;case`input`:wd(`invalid`,t),qt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:wd(`invalid`,t);break;case`textarea`:wd(`invalid`,t),Zt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Ld(t.textContent,n)?(r.popover!=null&&(wd(`beforetoggle`,t),wd(`toggle`,t)),r.onScroll!=null&&wd(`scroll`,t),r.onScrollEnd!=null&&wd(`scrollend`,t),r.onClick!=null&&(t.onclick=sn),t=!0):t=!1,t||Hi(e,!0)}function Wi(e){for(Ii=e.return;Ii;)switch(Ii.tag){case 5:case 31:case 13:Bi=!1;return;case 27:case 3:Bi=!0;return;default:Ii=Ii.return}}function Gi(e){if(e!==Ii)return!1;if(!Ri)return Wi(e),Ri=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Yd(e.type,e.memoizedProps)),n=!n),n&&Li&&Hi(e),Wi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Li=gf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Li=gf(e)}else t===27?(t=Li,rf(e.type)?(e=hf,hf=null,Li=e):Li=t):Li=Ii?mf(e.stateNode.nextSibling):null;return!0}function Ki(){Li=Ii=null,Ri=!1}function qi(){var e=zi;return e!==null&&(nu===null?nu=e:nu.push.apply(nu,e),zi=null),e}function Ji(e){zi===null?zi=[e]:zi.push(e)}var Yi=ue(null),Xi=null,Zi=null;function Qi(e,t,n){fe(Yi,t._currentValue),t._currentValue=n}function $i(e){e._currentValue=Yi.current,de(Yi)}function ea(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function ta(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ea(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ea(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function na(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Dr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ge.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ip]:e.push(ip))}a=a.return}e!==null&&ta(t,e,n,r),t.flags|=262144}function ra(e){for(e=e.firstContext;e!==null;){if(!Dr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ia(e){Xi=e,Zi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function aa(e){return sa(Xi,e)}function oa(e,t){return Xi===null&&ia(e),sa(e,t)}function sa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Zi===null){if(e===null)throw Error(i(308));Zi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Zi=Zi.next=t;return n}var ca=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},la=t.unstable_scheduleCallback,ua=t.unstable_NormalPriority,da={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function fa(){return{controller:new ca,data:new Map,refCount:0}}function pa(e){e.refCount--,e.refCount===0&&la(ua,function(){e.controller.abort()})}var ma=null,ha=0,ga=0,_a=null;function va(e,t){if(ma===null){var n=ma=[];ha=0,ga=hd(),_a={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ha++,t.then(ya,ya),t}function ya(){if(--ha===0&&ma!==null){_a!==null&&(_a.status=`fulfilled`);var e=ma;ma=null,ga=0,_a=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ba(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var xa=D.S;D.S=function(e,t){au=Ne(),typeof t==`object`&&t&&typeof t.then==`function`&&va(e,t),xa!==null&&xa(e,t)};var Sa=ue(null);function Ca(){var e=Sa.current;return e===null?H.pooledCache:e}function wa(e,t){t===null?fe(Sa,Sa.current):fe(Sa,t.pool)}function Ta(){var e=Ca();return e===null?null:{parent:da._currentValue,pool:e}}var Ea=Error(i(460)),Da=Error(i(474)),Oa=Error(i(542)),ka={then:function(){}};function Aa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ja(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(sn,sn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Fa(e),e;default:if(typeof t.status==`string`)t.then(sn,sn);else{if(e=H,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Fa(e),e}throw Na=t,Ea}}function Ma(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Na=e,Ea):e}}var Na=null;function Pa(){if(Na===null)throw Error(i(459));var e=Na;return Na=null,e}function Fa(e){if(e===Ea||e===Oa)throw Error(i(483))}var Ia=null,La=0;function Ra(e){var t=La;return La+=1,Ia===null&&(Ia=[]),ja(Ia,e,t)}function za(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ba(e,t){throw t.$$typeof===p?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Va(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=pi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=_i(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===g?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===E&&Ma(i)===t.type)?(t=a(t,n.props),za(t,n),t.return=e,t):(t=hi(n.type,n.key,n.props,null,e.mode,r),za(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=yi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=gi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=_i(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case m:return n=hi(t.type,t.key,t.props,null,e.mode,n),za(n,t),n.return=e,n;case h:return t=yi(t,e.mode,n),t.return=e,t;case E:return t=Ma(t),f(e,t,n)}if(oe(t)||re(t))return t=gi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ra(t),n);if(t.$$typeof===b)return f(e,oa(e,t),n);Ba(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case m:return n.key===i?l(e,t,n,r):null;case h:return n.key===i?u(e,t,n,r):null;case E:return n=Ma(n),p(e,t,n,r)}if(oe(n)||re(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ra(n),r);if(n.$$typeof===b)return p(e,t,oa(e,n),r);Ba(e,n)}return null}function _(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case m:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case h:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case E:return r=Ma(r),_(e,t,n,r,i)}if(oe(r)||re(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return _(e,t,n,Ra(r),i);if(r.$$typeof===b)return _(e,t,n,oa(t,r),i);Ba(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,m=a=0,h=null;d!==null&&m<s.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var g=p(i,d,s[m],c);if(g===null){d===null&&(d=h);break}e&&d&&g.alternate===null&&t(i,d),a=o(g,a,m),u===null?l=g:u.sibling=g,u=g,d=h}if(m===s.length)return n(i,d),Ri&&ji(i,m),l;if(d===null){for(;m<s.length;m++)d=f(i,s[m],c),d!==null&&(a=o(d,a,m),u===null?l=d:u.sibling=d,u=d);return Ri&&ji(i,m),l}for(d=r(d);m<s.length;m++)h=_(d,i,m,s[m],c),h!==null&&(e&&h.alternate!==null&&d.delete(h.key===null?m:h.key),a=o(h,a,m),u===null?l=h:u.sibling=h,u=h);return e&&d.forEach(function(e){return t(i,e)}),Ri&&ji(i,m),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,m=s,h=s=0,g=null,v=c.next();m!==null&&!v.done;h++,v=c.next()){m.index>h?(g=m,m=null):g=m.sibling;var y=p(a,m,v.value,l);if(y===null){m===null&&(m=g);break}e&&m&&y.alternate===null&&t(a,m),s=o(y,s,h),d===null?u=y:d.sibling=y,d=y,m=g}if(v.done)return n(a,m),Ri&&ji(a,h),u;if(m===null){for(;!v.done;h++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return Ri&&ji(a,h),u}for(m=r(m);!v.done;h++,v=c.next())v=_(m,a,h,v.value,l),v!==null&&(e&&v.alternate!==null&&m.delete(v.key===null?h:v.key),s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(a,e)}),Ri&&ji(a,h),u}function x(e,r,o,c){if(typeof o==`object`&&o&&o.type===g&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case m:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===g){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===E&&Ma(l)===r.type){n(e,r.sibling),c=a(r,o.props),za(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===g?(c=gi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=hi(o.type,o.key,o.props,null,e.mode,c),za(c,o),c.return=e,e=c)}return s(e);case h:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=yi(o,e.mode,c),c.return=e,e=c}return s(e);case E:return o=Ma(o),x(e,r,o,c)}if(oe(o))return v(e,r,o,c);if(re(o)){if(l=re(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return x(e,r,Ra(o),c);if(o.$$typeof===b)return x(e,r,oa(e,o),c);Ba(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=_i(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{La=0;var i=x(e,t,n,r);return Ia=null,i}catch(t){if(t===Ea||t===Oa)throw t;var a=di(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ha=Va(!0),Ua=Va(!1),Wa=!1;function Ga(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ka(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function qa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ja(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Vl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ci(e),si(e,null,n),t}return ii(e,r,t,n),ci(e)}function Ya(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,st(e,n)}}function Xa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Za=!1;function Qa(){if(Za){var e=_a;if(e!==null)throw e}}function $a(e,t,n,r){Za=!1;var i=e.updateQueue;Wa=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(Hl&p)===p:(r&p)===p){p!==0&&p===ga&&(Za=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Wa=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Xl|=o,e.lanes=o,e.memoizedState=d}}function eo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function to(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)eo(n[e],t)}var no=ue(null),ro=ue(0);function io(e,t){e=Jl,fe(ro,e),fe(no,t),Jl=e|t.baseLanes}function ao(){fe(ro,Jl),fe(no,no.current)}function oo(){Jl=ro.current,de(no),de(ro)}var so=ue(null),P=null;function F(e){var t=e.alternate;fe(fo,fo.current&1),fe(so,e),P===null&&(t===null||no.current!==null||t.memoizedState!==null)&&(P=e)}function co(e){fe(fo,fo.current),fe(so,e),P===null&&(P=e)}function lo(e){e.tag===22?(fe(fo,fo.current),fe(so,e),P===null&&(P=e)):I(e)}function I(){fe(fo,fo.current),fe(so,so.current)}function uo(e){de(so),P===e&&(P=null),de(fo)}var fo=ue(0);function po(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||df(n)||ff(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var mo=0,ho=null,go=null,_o=null,vo=!1,yo=!1,L=!1,bo=0,xo=0,So=null,Co=0;function wo(){throw Error(i(321))}function To(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dr(e[n],t[n]))return!1;return!0}function Eo(e,t,n,r,i,a){return mo=a,ho=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?Us:Ws,L=!1,a=n(r,i),L=!1,yo&&(a=Oo(t,n,r,i)),Do(e),a}function Do(e){D.H=Hs;var t=go!==null&&go.next!==null;if(mo=0,_o=go=ho=null,vo=!1,xo=0,So=null,t)throw Error(i(300));e===null||sc||(e=e.dependencies,e!==null&&ra(e)&&(sc=!0))}function Oo(e,t,n,r){ho=e;var a=0;do{if(yo&&(So=null),xo=0,yo=!1,25<=a)throw Error(i(301));if(a+=1,_o=go=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}D.H=Gs,o=t(n,r)}while(yo);return o}function ko(){var e=D.H,t=e.useState()[0];return t=typeof t.then==`function`?Io(t):t,e=e.useState()[0],(go===null?null:go.memoizedState)!==e&&(ho.flags|=1024),t}function Ao(){var e=bo!==0;return bo=0,e}function jo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Mo(e){if(vo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vo=!1}mo=0,_o=go=ho=null,yo=!1,xo=bo=0,So=null}function No(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _o===null?ho.memoizedState=_o=e:_o=_o.next=e,_o}function Po(){if(go===null){var e=ho.alternate;e=e===null?null:e.memoizedState}else e=go.next;var t=_o===null?ho.memoizedState:_o.next;if(t!==null)_o=t,go=e;else{if(e===null)throw ho.alternate===null?Error(i(467)):Error(i(310));go=e,e={memoizedState:go.memoizedState,baseState:go.baseState,baseQueue:go.baseQueue,queue:go.queue,next:null},_o===null?ho.memoizedState=_o=e:_o=_o.next=e}return _o}function Fo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Io(e){var t=xo;return xo+=1,So===null&&(So=[]),e=ja(So,e,t),t=ho,(_o===null?t.memoizedState:_o.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?Us:Ws),e}function Lo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Io(e);if(e.$$typeof===b)return aa(e)}throw Error(i(438,String(e)))}function Ro(e){var t=null,n=ho.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=ho.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Fo(),ho.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=te;return t.index++,n}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){return Vo(Po(),go,e)}function Vo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(mo&f)===f:(Hl&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ga&&(d=!0);else if((mo&p)===p){u=u.next,p===ga&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,ho.lanes|=p,Xl|=p;f=u.action,L&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,ho.lanes|=f,Xl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Dr(o,e.memoizedState)&&(sc=!0,d&&(n=_a,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ho(e){var t=Po(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Dr(o,t.memoizedState)||(sc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Uo(e,t,n){var r=ho,a=Po(),o=Ri;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Dr((go||a).memoizedState,n);if(s&&(a.memoizedState=n,sc=!0),a=a.queue,ms(Ko.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||_o!==null&&_o.memoizedState.tag&1){if(r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,a,n,t),null),H===null)throw Error(i(349));o||mo&127||Wo(r,t,n)}return n}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ho.updateQueue,t===null?(t=Fo(),ho.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,qo(t)&&Jo(e)}function Ko(e,t,n){return n(function(){qo(t)&&Jo(e)})}function qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Dr(e,n)}catch{return!0}}function Jo(e){var t=oi(e,2);t!==null&&bu(t,e,2)}function Yo(e){var t=No();if(typeof e==`function`){var n=e;if(e=n(),L){We(!0);try{n()}finally{We(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t}function Xo(e,t,n,r){return e.baseState=n,Vo(e,go,typeof r==`function`?r:zo)}function Zo(e,t,n,r,a){if(zs(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};D.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Qo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Qo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=D.T,o={};D.T=o;try{var s=n(i,r),c=D.S;c!==null&&c(o,s),$o(e,t,s)}catch(n){ts(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),D.T=a}}else try{a=n(i,r),$o(e,t,a)}catch(n){ts(e,t,n)}}function $o(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){es(e,t,n)},function(n){return ts(e,t,n)}):es(e,t,n)}function es(e,t,n){t.status=`fulfilled`,t.value=n,ns(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Qo(e,n)))}function ts(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ns(t),t=t.next;while(t!==r)}e.action=null}function ns(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rs(e,t){return t}function is(e,t){if(Ri){var n=H.formState;if(n!==null){a:{var r=ho;if(Ri){if(Li){b:{for(var i=Li,a=Bi;i.nodeType!==8;)if(!a||(i=mf(i.nextSibling),i===null)){i=null;break b}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Li=mf(i.nextSibling),r=i.data===`F!`;break a}}Hi(r)}r=!1}r&&(t=n[0])}}return n=No(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:t},n.queue=r,n=Is.bind(null,ho,r),r.dispatch=n,r=Yo(!1),a=Rs.bind(null,ho,!1,r.queue),r=No(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Zo.bind(null,ho,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function as(e){return os(Po(),go,e)}function os(e,t,n){if(t=Vo(e,t,rs)[0],e=Bo(zo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Io(t)}catch(e){throw e===Ea?Oa:e}else r=t;t=Po();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(ho.flags|=2048,ls(9,{destroy:void 0},ss.bind(null,i,n),null)),[r,a,e]}function ss(e,t){e.action=t}function cs(e){var t=Po(),n=go;if(n!==null)return os(t,n,e);Po(),t=t.memoizedState,n=Po();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ls(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=ho.updateQueue,t===null&&(t=Fo(),ho.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function us(){return Po().memoizedState}function ds(e,t,n,r){var i=No();ho.flags|=e,i.memoizedState=ls(1|t,{destroy:void 0},n,r===void 0?null:r)}function fs(e,t,n,r){var i=Po();r=r===void 0?null:r;var a=i.memoizedState.inst;go!==null&&r!==null&&To(r,go.memoizedState.deps)?i.memoizedState=ls(t,a,n,r):(ho.flags|=e,i.memoizedState=ls(1|t,a,n,r))}function ps(e,t){ds(8390656,8,e,t)}function ms(e,t){fs(2048,8,e,t)}function hs(e){ho.flags|=4;var t=ho.updateQueue;if(t===null)t=Fo(),ho.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function gs(e){var t=Po().memoizedState;return hs({ref:t,nextImpl:e}),function(){if(Vl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function _s(e,t){return fs(4,2,e,t)}function vs(e,t){return fs(4,4,e,t)}function ys(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function bs(e,t,n){n=n==null?null:n.concat([e]),fs(4,4,ys.bind(null,t,e),n)}function xs(){}function Ss(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&To(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cs(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&To(t,r[1]))return r[0];if(r=e(),L){We(!0);try{e()}finally{We(!1)}}return n.memoizedState=[r,t],r}function ws(e,t,n){return n===void 0||mo&1073741824&&!(Hl&261930)?e.memoizedState=t:(e.memoizedState=n,e=yu(),ho.lanes|=e,Xl|=e,n)}function Ts(e,t,n,r){return Dr(n,t)?n:no.current===null?!(mo&42)||mo&1073741824&&!(Hl&261930)?(sc=!0,e.memoizedState=n):(e=yu(),ho.lanes|=e,Xl|=e,t):(e=ws(e,n,r),Dr(e,t)||(sc=!0),e)}function Es(e,t,n,r,i){var a=O.p;O.p=a!==0&&8>a?a:8;var o=D.T,s={};D.T=s,Rs(e,!1,t,n);try{var c=i(),l=D.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ls(e,t,ba(c,r),vu(e)):Ls(e,t,r,vu(e))}catch(n){Ls(e,t,{then:function(){},status:`rejected`,reason:n},vu())}finally{O.p=a,o!==null&&s.types!==null&&(o.types=s.types),D.T=o}}function Ds(){}function Os(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ks(e).queue;Es(e,a,t,se,n===null?Ds:function(){return As(e),n(r)})}function ks(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:se},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function As(e){var t=ks(e);t.next===null&&(t=e.alternate.memoizedState),Ls(e,t.next.queue,{},vu())}function js(){return aa(ip)}function Ms(){return Po().memoizedState}function Ns(){return Po().memoizedState}function Ps(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=vu();e=qa(n);var r=Ja(t,e,n);r!==null&&(bu(r,t,n),Ya(r,t,n)),t={cache:fa()},e.payload=t;return}t=t.return}}function Fs(e,t,n){var r=vu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},zs(e)?Bs(t,n):(n=ai(e,t,n,r),n!==null&&(bu(n,e,r),Vs(n,t,r)))}function Is(e,t,n){Ls(e,t,n,vu())}function Ls(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(zs(e))Bs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Dr(s,o))return ii(e,t,i,0),H===null&&ri(),!1}catch{}if(n=ai(e,t,i,r),n!==null)return bu(n,e,r),Vs(n,t,r),!0}return!1}function Rs(e,t,n,r){if(r={lane:2,revertLane:hd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},zs(e)){if(t)throw Error(i(479))}else t=ai(e,n,r,2),t!==null&&bu(t,e,2)}function zs(e){var t=e.alternate;return e===ho||t!==null&&t===ho}function Bs(e,t){yo=vo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,st(e,n)}}var Hs={readContext:aa,use:Lo,useCallback:wo,useContext:wo,useEffect:wo,useImperativeHandle:wo,useLayoutEffect:wo,useInsertionEffect:wo,useMemo:wo,useReducer:wo,useRef:wo,useState:wo,useDebugValue:wo,useDeferredValue:wo,useTransition:wo,useSyncExternalStore:wo,useId:wo,useHostTransitionStatus:wo,useFormState:wo,useActionState:wo,useOptimistic:wo,useMemoCache:wo,useCacheRefresh:wo};Hs.useEffectEvent=wo;var Us={readContext:aa,use:Lo,useCallback:function(e,t){return No().memoizedState=[e,t===void 0?null:t],e},useContext:aa,useEffect:ps,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ds(4194308,4,ys.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ds(4194308,4,e,t)},useInsertionEffect:function(e,t){ds(4,2,e,t)},useMemo:function(e,t){var n=No();t=t===void 0?null:t;var r=e();if(L){We(!0);try{e()}finally{We(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=No();if(n!==void 0){var i=n(t);if(L){We(!0);try{n(t)}finally{We(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Fs.bind(null,ho,e),[r.memoizedState,e]},useRef:function(e){var t=No();return e={current:e},t.memoizedState=e},useState:function(e){e=Yo(e);var t=e.queue,n=Is.bind(null,ho,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xs,useDeferredValue:function(e,t){return ws(No(),e,t)},useTransition:function(){var e=Yo(!1);return e=Es.bind(null,ho,e.queue,!0,!1),No().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ho,a=No();if(Ri){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),H===null)throw Error(i(349));Hl&127||Wo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ps(Ko.bind(null,r,o,e),[e]),r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,o,n,t),null),n},useId:function(){var e=No(),t=H.identifierPrefix;if(Ri){var n=Ai,r=ki;n=(r&~(1<<32-Ge(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=bo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Co++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:js,useFormState:is,useActionState:is,useOptimistic:function(e){var t=No();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Rs.bind(null,ho,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ro,useCacheRefresh:function(){return No().memoizedState=Ps.bind(null,ho)},useEffectEvent:function(e){var t=No(),n={impl:e};return t.memoizedState=n,function(){if(Vl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Ws={readContext:aa,use:Lo,useCallback:Ss,useContext:aa,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Bo,useRef:us,useState:function(){return Bo(zo)},useDebugValue:xs,useDeferredValue:function(e,t){return Ts(Po(),go.memoizedState,e,t)},useTransition:function(){var e=Bo(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:as,useActionState:as,useOptimistic:function(e,t){return Xo(Po(),go,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Ws.useEffectEvent=gs;var Gs={readContext:aa,use:Lo,useCallback:Ss,useContext:aa,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Ho,useRef:us,useState:function(){return Ho(zo)},useDebugValue:xs,useDeferredValue:function(e,t){var n=Po();return go===null?ws(n,e,t):Ts(n,go.memoizedState,e,t)},useTransition:function(){var e=Ho(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:cs,useActionState:cs,useOptimistic:function(e,t){var n=Po();return go===null?(n.baseState=e,[e,n.queue.dispatch]):Xo(n,go,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Gs.useEffectEvent=gs;function Ks(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=vu(),i=qa(r);i.payload=t,n!=null&&(i.callback=n),t=Ja(e,i,r),t!==null&&(bu(t,e,r),Ya(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=vu(),i=qa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ja(e,i,r),t!==null&&(bu(t,e,r),Ya(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=vu(),r=qa(n);r.tag=2,t!=null&&(r.callback=t),t=Ja(e,r,n),t!==null&&(bu(t,e,n),Ya(t,e,n))}};function Js(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Or(n,r)||!Or(i,a):!0}function Ys(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&qs.enqueueReplaceState(t,t.state,null)}function Xs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Zs(e){$r(e)}function Qs(e){console.error(e)}function $s(e){$r(e)}function ec(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function tc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function nc(e,t,n){return n=qa(n),n.tag=3,n.payload={element:null},n.callback=function(){ec(e,t)},n}function rc(e){return e=qa(e),e.tag=3,e}function ic(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){tc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){tc(t,n,r),typeof i!=`function`&&(cu===null?cu=new Set([this]):cu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function ac(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&na(t,n,a,!0),n=so.current,n!==null){switch(n.tag){case 31:case 13:return P===null?Au():n.alternate===null&&Yl===0&&(Yl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===ka?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Yu(e,r,a)),!1;case 22:return n.flags|=65536,r===ka?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Yu(e,r,a)),!1}throw Error(i(435,n.tag))}return Yu(e,r,a),Au(),!1}if(Ri)return t=so.current,t===null?(r!==Vi&&(t=Error(i(423),{cause:r}),Ji(xi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=xi(r,n),a=nc(e.stateNode,r,a),Xa(e,a),Yl!==4&&(Yl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Vi&&(e=Error(i(422),{cause:r}),Ji(xi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=xi(o,n),tu===null?tu=[o]:tu.push(o),Yl!==4&&(Yl=2),t===null)return!0;r=xi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=nc(n.stateNode,r,e),Xa(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(cu===null||!cu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=rc(a),ic(a,e,n,r),Xa(n,a),!1}n=n.return}while(n!==null);return!1}var oc=Error(i(461)),sc=!1;function cc(e,t,n,r){t.child=e===null?Ua(t,null,n,r):Ha(t,e.child,n,r)}function lc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return ia(t),r=Eo(e,t,n,o,a,i),s=Ao(),e!==null&&!sc?(jo(e,t,i),Mc(e,t,i)):(Ri&&s&&Ni(t),t.flags|=1,cc(e,t,r,i),t.child)}function uc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!fi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,dc(e,t,a,r,i)):(e=hi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Nc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Or:n,n(o,r)&&e.ref===t.ref)return Mc(e,t,i)}return t.flags|=1,e=pi(a,r),e.ref=t.ref,e.return=t,t.child=e}function dc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Or(a,r)&&e.ref===t.ref){if(sc=!1,t.pendingProps=r=a,Nc(e,i))e.flags&131072&&(sc=!0);else return t.lanes=e.lanes,Mc(e,t,i)}}return yc(e,t,n,r,i)}function fc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return mc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&wa(t,a===null?null:a.cachePool),a===null?ao():io(t,a),lo(t);else return r=t.lanes=536870912,mc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&wa(t,null),ao(),I(t)):(wa(t,a.cachePool),io(t,a),I(t),t.memoizedState=null);return cc(e,t,i,n),t.child}function pc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function mc(e,t,n,r,i){var a=Ca();return a=a===null?null:{parent:da._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&wa(t,null),ao(),lo(t),e!==null&&na(e,t,r,!0),t.childLanes=i,null}function hc(e,t){return t=Oc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function gc(e,t,n){return Ha(t,e.child,null,n),e=hc(t,t.pendingProps),e.flags|=2,uo(t),t.memoizedState=null,e}function _c(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(Ri){if(r.mode===`hidden`)return e=hc(t,r),t.lanes=536870912,pc(null,e);if(co(t),(e=Li)?(e=uf(e,Bi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Oi===null?null:{id:ki,overflow:Ai},retryLane:536870912,hydrationErrors:null},n=vi(e),n.return=t,t.child=n,Ii=t,Li=null)):e=null,e===null)throw Hi(t);return t.lanes=536870912,null}return hc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(co(t),a){if(t.flags&256)t.flags&=-257,t=gc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(sc||na(e,t,n,!1),a=(n&e.childLanes)!==0,sc||a){if(r=H,r!==null&&(s=ct(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,oi(e,s),bu(r,e,s),oc;Au(),t=gc(e,t,n)}else e=o.treeContext,Li=mf(s.nextSibling),Ii=t,Ri=!0,zi=null,Bi=!1,e!==null&&Fi(t,e),t=hc(t,r),t.flags|=4096;return t}return e=pi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function yc(e,t,n,r,i){return ia(t),n=Eo(e,t,n,r,void 0,i),r=Ao(),e!==null&&!sc?(jo(e,t,i),Mc(e,t,i)):(Ri&&r&&Ni(t),t.flags|=1,cc(e,t,n,i),t.child)}function bc(e,t,n,r,i,a){return ia(t),t.updateQueue=null,n=Oo(t,r,n,i),Do(e),r=Ao(),e!==null&&!sc?(jo(e,t,a),Mc(e,t,a)):(Ri&&r&&Ni(t),t.flags|=1,cc(e,t,n,a),t.child)}function xc(e,t,n,r,i){if(ia(t),t.stateNode===null){var a=li,o=n.contextType;typeof o==`object`&&o&&(a=aa(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=qs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ga(t),o=n.contextType,a.context=typeof o==`object`&&o?aa(o):li,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ks(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&qs.enqueueReplaceState(a,a.state,null),$a(t,r,a,i),Qa(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Xs(n,s);a.props=c;var l=a.context,u=n.contextType;o=li,typeof u==`object`&&u&&(o=aa(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ys(t,a,r,o),Wa=!1;var f=t.memoizedState;a.state=f,$a(t,r,a,i),Qa(),l=t.memoizedState,s||f!==l||Wa?(typeof d==`function`&&(Ks(t,n,d,r),l=t.memoizedState),(c=Wa||Js(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ka(e,t),o=t.memoizedProps,u=Xs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=li,typeof l==`object`&&l&&(c=aa(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ys(t,a,r,c),Wa=!1,f=t.memoizedState,a.state=f,$a(t,r,a,i),Qa();var p=t.memoizedState;o!==d||f!==p||Wa||e!==null&&e.dependencies!==null&&ra(e.dependencies)?(typeof s==`function`&&(Ks(t,n,s,r),p=t.memoizedState),(u=Wa||Js(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ra(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,vc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Ha(t,e.child,null,i),t.child=Ha(t,null,n,i)):cc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Mc(e,t,i),e}function Sc(e,t,n,r){return Ki(),t.flags|=256,cc(e,t,n,r),t.child}var Cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wc(e){return{baseLanes:e,cachePool:Ta()}}function Tc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=$l),e}function Ec(e,t,n){var r=t.pendingProps,a=!1,o=!!(t.flags&128),s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:!!(fo.current&2)),s&&(a=!0,t.flags&=-129),s=!!(t.flags&32),t.flags&=-33,e===null){if(Ri){if(a?F(t):I(t),(e=Li)?(e=uf(e,Bi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Oi===null?null:{id:ki,overflow:Ai},retryLane:536870912,hydrationErrors:null},n=vi(e),n.return=t,t.child=n,Ii=t,Li=null)):e=null,e===null)throw Hi(t);return ff(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(I(t),a=t.mode,c=Oc({mode:`hidden`,children:c},a),r=gi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(null,r)):(F(t),Dc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(F(t),t.flags&=-257,t=R(e,t,n)):t.memoizedState===null?(I(t),c=r.fallback,a=t.mode,r=Oc({mode:`visible`,children:r.children},a),c=gi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Ha(t,e.child,null,n),r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,t=pc(null,r)):(I(t),t.child=e.child,t.flags|=128,t=null);else if(F(t),ff(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Ji({value:r,source:null,stack:null}),t=R(e,t,n)}else if(sc||na(e,t,n,!1),s=(n&e.childLanes)!==0,sc||s){if(s=H,s!==null&&(r=ct(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,oi(e,r),bu(s,e,r),oc;df(c)||Au(),t=R(e,t,n)}else df(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Li=mf(c.nextSibling),Ii=t,Ri=!0,zi=null,Bi=!1,e!==null&&Fi(t,e),t=Dc(t,r.children),t.flags|=4096);return t}return a?(I(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=pi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=gi(c,a,n,null),c.flags|=2):c=pi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,pc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=wc(n):(a=c.cachePool,a===null?a=Ta():(l=da._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(e.child,r)):(F(t),n=e.child,e=n.sibling,n=pi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Dc(e,t){return t=Oc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Oc(e,t){return e=di(22,e,null,t),e.lanes=0,e}function R(e,t,n){return Ha(t,e.child,null,n),e=Dc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function kc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ea(e.return,t,n)}function Ac(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function jc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=fo.current,s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,fe(fo,o),cc(e,t,r,n),r=Ri?Ti:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kc(e,n,t);else if(e.tag===19)kc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&po(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ac(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&po(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ac(t,!0,n,null,a,r);break;case`together`:Ac(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Mc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Xl|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(na(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=pi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Nc(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&ra(e)))}function Pc(e,t,n){switch(t.tag){case 3:_e(t,t.stateNode.containerInfo),Qi(t,da,e.memoizedState.cache),Ki();break;case 27:case 5:ye(t);break;case 4:_e(t,t.stateNode.containerInfo);break;case 10:Qi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,co(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(F(t),e=Mc(e,t,n),e===null?null:e.sibling):Ec(e,t,n):(F(t),t.flags|=128,null);F(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=(na(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return jc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),fe(fo,fo.current),r)break;return null;case 22:return t.lanes=0,fc(e,t,n,t.pendingProps);case 24:Qi(t,da,e.memoizedState.cache)}return Mc(e,t,n)}function Fc(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)sc=!0;else{if(!Nc(e,n)&&!(t.flags&128))return sc=!1,Pc(e,t,n);sc=!!(e.flags&131072)}}else sc=!1,Ri&&t.flags&1048576&&Mi(t,Ti,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ma(t.elementType),t.type=e,typeof e==`function`)fi(e)?(r=Xs(e,r),t.tag=1,t=xc(null,t,e,r,n)):(t.tag=0,t=yc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===x){t.tag=11,t=lc(null,t,e,r,n);break a}if(a===T){t.tag=14,t=uc(null,t,e,r,n);break a}}throw t=ae(e)||e,Error(i(306,t,``))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Xs(r,t.pendingProps),xc(e,t,r,a,n);case 3:a:{if(_e(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ka(e,t),$a(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Qi(t,da,r),r!==o.cache&&ta(t,[da],n,!0),Qa(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Sc(e,t,r,n);break a}if(r!==a){a=xi(Error(i(424)),t),Ji(a),t=Sc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Li=mf(e.firstChild),Ii=t,Ri=!0,zi=null,Bi=!0,n=Ua(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ki(),r===a){t=Mc(e,t,n);break a}cc(e,t,r,n)}t=t.child}return t;case 26:return vc(e,t),e===null?(n=Ff(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ri||(n=t.type,e=t.pendingProps,r=Kd(he.current).createElement(n),r[mt]=t,r[ht]=e,Bd(r,n,e),Dt(r),t.stateNode=r):t.memoizedState=Ff(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ye(t),e===null&&Ri&&(r=t.stateNode=vf(t.type,t.pendingProps,he.current),Ii=t,Bi=!0,a=Li,rf(t.type)?(hf=a,Li=mf(r.firstChild)):Li=a),cc(e,t,t.pendingProps.children,n),vc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ri&&((a=r=Li)&&(r=cf(r,t.type,t.pendingProps,Bi),r===null?a=!1:(t.stateNode=r,Ii=t,Li=mf(r.firstChild),Bi=!1,a=!0)),a||Hi(t)),ye(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Yd(a,o)?r=null:s!==null&&Yd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Eo(e,t,ko,null,null,n),ip._currentValue=a),vc(e,t),cc(e,t,r,n),t.child;case 6:return e===null&&Ri&&((e=n=Li)&&(n=lf(n,t.pendingProps,Bi),n===null?e=!1:(t.stateNode=n,Ii=t,Li=null,e=!0)),e||Hi(t)),null;case 13:return Ec(e,t,n);case 4:return _e(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ha(t,null,r,n):cc(e,t,r,n),t.child;case 11:return lc(e,t,t.type,t.pendingProps,n);case 7:return cc(e,t,t.pendingProps,n),t.child;case 8:return cc(e,t,t.pendingProps.children,n),t.child;case 12:return cc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Qi(t,t.type,r.value),cc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,ia(t),a=aa(a),r=r(a),t.flags|=1,cc(e,t,r,n),t.child;case 14:return uc(e,t,t.type,t.pendingProps,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 19:return jc(e,t,n);case 31:return _c(e,t,n);case 22:return fc(e,t,n,t.pendingProps);case 24:return ia(t),r=aa(da),e===null?(a=Ca(),a===null&&(a=H,o=fa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ga(t),Qi(t,da,a)):((e.lanes&n)!==0&&(Ka(e,t),$a(t,null,null,n),Qa()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Qi(t,da,r),r!==a.cache&&ta(t,[da],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Qi(t,da,r))),cc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Ic(e){e.flags|=4}function Lc(e,t,n,r,i){if((t=!!(e.mode&32))&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(G())e.flags|=8192;else throw Na=ka,Da}}else e.flags&=-16777217}function Rc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Xf(t)){if(G())e.flags|=8192;else throw Na=ka,Da}}function zc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:nt(),e.lanes|=t,eu|=t)}function Bc(e,t){if(!Ri)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function z(e,t,n){var r=t.pendingProps;switch(Pi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vc(t),null;case 1:return Vc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),$i(da),ve(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Gi(t)?Ic(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,qi())),Vc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Ic(t),o===null?(Vc(t),Lc(t,a,null,r,n)):(Vc(t),Rc(t,o))):o?o===e.memoizedState?(Vc(t),t.flags&=-16777217):(Ic(t),Vc(t),Rc(t,o)):(e=e.memoizedProps,e!==r&&Ic(t),Vc(t),Lc(t,a,e,r,n)),null;case 27:if(be(t),n=he.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ic(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Vc(t),null}e=pe.current,Gi(t)?Ui(t,e):(e=vf(a,r,n),t.stateNode=e,Ic(t))}return Vc(t),null;case 5:if(be(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ic(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Vc(t),null}if(o=pe.current,Gi(t))Ui(t,o);else{var s=Kd(he.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[mt]=t,o[ht]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Bd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Ic(t)}}return Vc(t),Lc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ic(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=he.current,Gi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ii,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[mt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Ld(e.nodeValue,n)),e||Hi(t,!0)}else e=Kd(e).createTextNode(r),e[mt]=t,t.stateNode=e}return Vc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Gi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[mt]=t}else Ki(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Vc(t),e=!1}else n=qi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(uo(t),t):(uo(t),null);if(t.flags&128)throw Error(i(558))}return Vc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Gi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[mt]=t}else Ki(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Vc(t),a=!1}else a=qi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(uo(t),t):(uo(t),null)}return uo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),zc(t,t.updateQueue),Vc(t),null);case 4:return ve(),e===null&&Dd(t.stateNode.containerInfo),Vc(t),null;case 10:return $i(t.type),Vc(t),null;case 19:if(de(fo),r=t.memoizedState,r===null)return Vc(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)Bc(r,!1);else{if(Yl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=po(e),o!==null){for(t.flags|=128,Bc(r,!1),e=o.updateQueue,t.updateQueue=e,zc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)mi(n,e),n=n.sibling;return fe(fo,fo.current&1|2),Ri&&ji(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ne()>ou&&(t.flags|=128,a=!0,Bc(r,!1),t.lanes=4194304)}}else{if(!a){if(e=po(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,zc(t,e),Bc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!Ri)return Vc(t),null}else 2*Ne()-r.renderingStartTime>ou&&n!==536870912&&(t.flags|=128,a=!0,Bc(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Vc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ne(),e.sibling=null,n=fo.current,fe(fo,a?n&1|2:n&1),Ri&&ji(t,r.treeForkCount),e);case 22:case 23:return uo(t),oo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Vc(t),t.subtreeFlags&6&&(t.flags|=8192)):Vc(t),n=t.updateQueue,n!==null&&zc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&de(Sa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),$i(da),Vc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Hc(e,t){switch(Pi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $i(da),ve(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return be(t),null;case 31:if(t.memoizedState!==null){if(uo(t),t.alternate===null)throw Error(i(340));Ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(uo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return de(fo),null;case 4:return ve(),null;case 10:return $i(t.type),null;case 22:case 23:return uo(t),oo(),e!==null&&de(Sa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return $i(da),null;case 25:return null;default:return null}}function Uc(e,t){switch(Pi(t),t.tag){case 3:$i(da),ve();break;case 26:case 27:case 5:be(t);break;case 4:ve();break;case 31:t.memoizedState!==null&&uo(t);break;case 13:uo(t);break;case 19:de(fo);break;case 10:$i(t.type);break;case 22:case 23:uo(t),oo(),e!==null&&de(Sa);break;case 24:$i(da)}}function Wc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Ju(t,t.return,e)}}function Gc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Ju(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Ju(t,t.return,e)}}function Kc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{to(t,n)}catch(t){Ju(e,e.return,t)}}}function qc(e,t,n){n.props=Xs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Ju(e,t,n)}}function Jc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Ju(e,t,n)}}function Yc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Ju(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Ju(e,t,n)}else n.current=null}}function Xc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Ju(e,e.return,t)}}function Zc(e,t,n){try{var r=e.stateNode;Vd(r,e.type,n,t),r[ht]=t}catch(t){Ju(e,e.return,t)}}function Qc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&rf(e.type)||e.tag===4}function $c(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Qc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&rf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function el(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=sn));else if(r!==4&&(r===27&&rf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(el(e,t,n),e=e.sibling;e!==null;)el(e,t,n),e=e.sibling}function tl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&rf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}function nl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Bd(t,r,n),t[mt]=e,t[ht]=n}catch(t){Ju(e,e.return,t)}}var rl=!1,il=!1,B=!1,al=typeof WeakSet==`function`?WeakSet:Set,ol=null;function sl(e,t){if(e=e.containerInfo,Wd=pp,e=jr(e),Mr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Gd={focusedElem:e,selectionRange:n},pp=!1,ol=t;ol!==null;)if(t=ol,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,ol=e;else for(;ol!==null;){switch(t=ol,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Xs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Ju(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)sf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:sf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,ol=e;break}ol=t.return}}function cl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Sl(e,n),r&4&&Wc(5,n);break;case 1:if(Sl(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Ju(n,n.return,e)}else{var i=Xs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Ju(n,n.return,e)}}}r&64&&Kc(n),r&512&&Jc(n,n.return);break;case 3:if(Sl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{to(e,t)}catch(e){Ju(n,n.return,e)}}break;case 27:t===null&&r&4&&nl(n);case 26:case 5:Sl(e,n),t===null&&r&4&&Xc(n),r&512&&Jc(n,n.return);break;case 12:Sl(e,n);break;case 31:Sl(e,n),r&4&&pl(e,n);break;case 13:Sl(e,n),r&4&&ml(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Qu.bind(null,n),pf(e,n))));break;case 22:if(r=n.memoizedState!==null||rl,!r){t=t!==null&&t.memoizedState!==null||il,i=rl;var a=il;rl=r,(il=t)&&!a?wl(e,n,!!(n.subtreeFlags&8772)):Sl(e,n),rl=i,il=a}break;case 30:break;default:Sl(e,n)}}function ll(e){var t=e.alternate;t!==null&&(e.alternate=null,ll(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&St(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ul=null,V=!1;function dl(e,t,n){for(n=n.child;n!==null;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(Ue&&typeof Ue.onCommitFiberUnmount==`function`)try{Ue.onCommitFiberUnmount(He,n)}catch{}switch(n.tag){case 26:il||Yc(n,t),dl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:il||Yc(n,t);var r=ul,i=V;rf(n.type)&&(ul=n.stateNode,V=!1),dl(e,t,n),yf(n.stateNode),ul=r,V=i;break;case 5:il||Yc(n,t);case 6:if(r=ul,i=V,ul=null,dl(e,t,n),ul=r,V=i,ul!==null){if(V)try{(ul.nodeType===9?ul.body:ul.nodeName===`HTML`?ul.ownerDocument.body:ul).removeChild(n.stateNode)}catch(e){Ju(n,t,e)}else try{ul.removeChild(n.stateNode)}catch(e){Ju(n,t,e)}}break;case 18:ul!==null&&(V?(e=ul,af(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),zp(e)):af(ul,n.stateNode));break;case 4:r=ul,i=V,ul=n.stateNode.containerInfo,V=!0,dl(e,t,n),ul=r,V=i;break;case 0:case 11:case 14:case 15:Gc(2,n,t),il||Gc(4,n,t),dl(e,t,n);break;case 1:il||(Yc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&qc(n,t,r)),dl(e,t,n);break;case 21:dl(e,t,n);break;case 22:il=(r=il)||n.memoizedState!==null,dl(e,t,n),il=r;break;default:dl(e,t,n)}}function pl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{zp(e)}catch(e){Ju(t,t.return,e)}}}function ml(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{zp(e)}catch(e){Ju(t,t.return,e)}}function hl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new al),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new al),t;default:throw Error(i(435,e.tag))}}function gl(e,t){var n=hl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=$u.bind(null,e,t);t.then(r,r)}})}function _l(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(rf(c.type)){ul=c.stateNode,V=!1;break a}break;case 5:ul=c.stateNode,V=!1;break a;case 3:case 4:ul=c.stateNode.containerInfo,V=!0;break a}c=c.return}if(ul===null)throw Error(i(160));fl(o,s,a),ul=null,V=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)yl(t,e),t=t.sibling}var vl=null;function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_l(t,e),bl(e),r&4&&(Gc(3,e,e.return),Wc(3,e),Gc(5,e,e.return));break;case 1:_l(t,e),bl(e),r&512&&(il||n===null||Yc(n,n.return)),r&64&&rl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=vl;if(_l(t,e),bl(e),r&512&&(il||n===null||Yc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null){if(r===null){if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[xt]||o[mt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Bd(o,r,n),o[mt]=e,Dt(o),r=o;break a;case`link`:var s=qf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Bd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=qf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Bd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[mt]=e,Dt(o),r=o}e.stateNode=r}else Jf(a,e.type,e.stateNode)}else e.stateNode=Hf(a,r,e.memoizedProps)}else o===r?r===null&&e.stateNode!==null&&Zc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Jf(a,e.type,e.stateNode):Hf(a,r,e.memoizedProps))}break;case 27:_l(t,e),bl(e),r&512&&(il||n===null||Yc(n,n.return)),n!==null&&r&4&&Zc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(_l(t,e),bl(e),r&512&&(il||n===null||Yc(n,n.return)),e.flags&32){a=e.stateNode;try{Qt(a,``)}catch(t){Ju(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Zc(e,a,n===null?a:n.memoizedProps)),r&1024&&(B=!0);break;case 6:if(_l(t,e),bl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Ju(e,e.return,t)}}break;case 3:if(Kf=null,a=vl,vl=Sf(t.containerInfo),_l(t,e),vl=a,bl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{zp(t.containerInfo)}catch(t){Ju(e,e.return,t)}B&&(B=!1,xl(e));break;case 4:r=vl,vl=Sf(e.stateNode.containerInfo),_l(t,e),bl(e),vl=r;break;case 12:_l(t,e),bl(e);break;case 31:_l(t,e),bl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 13:_l(t,e),bl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(iu=Ne()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=rl,d=il;if(rl=u||a,il=d||l,_l(t,e),il=d,rl=u,bl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||rl||il||Cl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Ju(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Ju(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?of(m,!0):of(l.stateNode,!1)}catch(e){Ju(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,gl(e,n))));break;case 19:_l(t,e),bl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 30:break;case 21:break;default:_l(t,e),bl(e)}}function bl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Qc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;tl(e,$c(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Qt(o,``),n.flags&=-33),tl(e,$c(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;el(e,$c(e),s);break;default:throw Error(i(161))}}catch(t){Ju(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;xl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Sl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)cl(e,t.alternate,t),t=t.sibling}function Cl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Gc(4,t,t.return),Cl(t);break;case 1:Yc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&qc(t,t.return,n),Cl(t);break;case 27:yf(t.stateNode);case 26:case 5:Yc(t,t.return),Cl(t);break;case 22:t.memoizedState===null&&Cl(t);break;case 30:Cl(t);break;default:Cl(t)}e=e.sibling}}function wl(e,t,n){for(n&&=!!(t.subtreeFlags&8772),t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:wl(i,a,n),Wc(4,a);break;case 1:if(wl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Ju(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)eo(c[i],s)}catch(e){Ju(r,r.return,e)}}n&&o&64&&Kc(a),Jc(a,a.return);break;case 27:nl(a);case 26:case 5:wl(i,a,n),n&&r===null&&o&4&&Xc(a),Jc(a,a.return);break;case 12:wl(i,a,n);break;case 31:wl(i,a,n),n&&o&4&&pl(i,a);break;case 13:wl(i,a,n),n&&o&4&&ml(i,a);break;case 22:a.memoizedState===null&&wl(i,a,n),Jc(a,a.return);break;case 30:break;default:wl(i,a,n)}t=t.sibling}}function Tl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&pa(n))}function El(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&pa(e))}function Dl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ol(e,t,n,r),t=t.sibling}function Ol(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Dl(e,t,n,r),i&2048&&Wc(9,t);break;case 1:Dl(e,t,n,r);break;case 3:Dl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&pa(e)));break;case 12:if(i&2048){Dl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Ju(t,t.return,e)}}else Dl(e,t,n,r);break;case 31:Dl(e,t,n,r);break;case 13:Dl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Dl(e,t,n,r):(a._visibility|=2,kl(e,t,n,r,!!(t.subtreeFlags&10256)||!1)):a._visibility&2?Dl(e,t,n,r):Al(e,t),i&2048&&Tl(o,t);break;case 24:Dl(e,t,n,r),i&2048&&El(t.alternate,t);break;default:Dl(e,t,n,r)}}function kl(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:kl(a,o,s,c,i),Wc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,kl(a,o,s,c,i)):u._visibility&2?kl(a,o,s,c,i):Al(a,o),i&&l&2048&&Tl(o.alternate,o);break;case 24:kl(a,o,s,c,i),i&&l&2048&&El(o.alternate,o);break;default:kl(a,o,s,c,i)}t=t.sibling}}function Al(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Al(n,r),i&2048&&Tl(r.alternate,r);break;case 24:Al(n,r),i&2048&&El(r.alternate,r);break;default:Al(n,r)}t=t.sibling}}var jl=8192;function Ml(e,t,n){if(e.subtreeFlags&jl)for(e=e.child;e!==null;)Nl(e,t,n),e=e.sibling}function Nl(e,t,n){switch(e.tag){case 26:Ml(e,t,n),e.flags&jl&&e.memoizedState!==null&&Zf(n,vl,e.memoizedState,e.memoizedProps);break;case 5:Ml(e,t,n);break;case 3:case 4:var r=vl;vl=Sf(e.stateNode.containerInfo),Ml(e,t,n),vl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=jl,jl=16777216,Ml(e,t,n),jl=r):Ml(e,t,n));break;default:Ml(e,t,n)}}function Pl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Fl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];ol=r,Rl(r,e)}Pl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Il(e),e=e.sibling}function Il(e){switch(e.tag){case 0:case 11:case 15:Fl(e),e.flags&2048&&Gc(9,e,e.return);break;case 3:Fl(e);break;case 12:Fl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ll(e)):Fl(e);break;default:Fl(e)}}function Ll(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];ol=r,Rl(r,e)}Pl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gc(8,t,t.return),Ll(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Ll(t));break;default:Ll(t)}e=e.sibling}}function Rl(e,t){for(;ol!==null;){var n=ol;switch(n.tag){case 0:case 11:case 15:Gc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:pa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,ol=r;else a:for(n=e;ol!==null;){r=ol;var i=r.sibling,a=r.return;if(ll(r),r===n){ol=null;break a}if(i!==null){i.return=a,ol=i;break a}ol=a}}}var zl={getCacheForType:function(e){var t=aa(da),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return aa(da).controller.signal}},Bl=typeof WeakMap==`function`?WeakMap:Map,Vl=0,H=null,U=null,Hl=0,Ul=0,Wl=null,Gl=!1,Kl=!1,ql=!1,Jl=0,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=0,tu=null,nu=null,ru=!1,iu=0,au=0,ou=1/0,su=null,cu=null,lu=0,uu=null,du=null,fu=0,pu=0,mu=null,hu=null,gu=0,_u=null;function vu(){return Vl&2&&Hl!==0?Hl&-Hl:D.T===null?dt():hd()}function yu(){if($l===0){if(!(Hl&536870912)||Ri){var e=Xe;Xe<<=1,!(Xe&3932160)&&(Xe=262144),$l=e}else $l=536870912}return e=so.current,e!==null&&(e.flags|=32),$l}function bu(e,t,n){(e===H&&(Ul===2||Ul===9)||e.cancelPendingCommit!==null)&&(Eu(e,0),W(e,Hl,$l,!1)),it(e,n),Vl&2&&e===H||(e===H&&(!(Vl&2)&&(Zl|=n),Yl===4&&W(e,Hl,$l,!1)),sd(e))}function xu(e,t,n){if(Vl&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||et(e,t),a=r?Nu(e,t):ju(e,t,!0),o=r;do{if(a===0){Kl&&!r&&W(e,t,0,!1);break}if(n=e.current.alternate,o&&!Cu(n))a=ju(e,t,!1),o=!1;else{if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=tu;var l=c.current.memoizedState.isDehydrated;if(l&&(Eu(c,s).flags|=256),s=ju(c,s,!1),s!==2){if(ql&&!l){c.errorRecoveryDisabledLanes|=o,Zl|=o,a=4;break a}o=nu,nu=a,o!==null&&(nu===null?nu=o:nu.push.apply(nu,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Eu(e,0),W(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:W(r,t,$l,!Gl);break a;case 2:nu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=iu+300-Ne(),10<a)){if(W(r,t,$l,!Gl),$e(r,0,!0)!==0)break a;fu=t,r.timeoutHandle=Qd(Su.bind(null,r,n,nu,su,ru,t,$l,Zl,eu,Gl,o,`Throttled`,-0,0),a);break a}Su(r,n,nu,su,ru,t,$l,Zl,eu,Gl,o,null,-0,0)}break}}while(1);sd(e)}function Su(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sn},Nl(t,a,d);var m=(a&62914560)===a?iu-Ne():(a&4194048)===a?au-Ne():0;if(m=$f(d,m),m!==null){fu=a,e.cancelPendingCommit=m(Bu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),W(e,a,o,!l);return}}Bu(e,t,a,n,r,i,o,s,c)}function Cu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Dr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function W(e,t,n,r){t&=~Ql,t&=~Zl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ge(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&ot(e,n,t)}function wu(){return Vl&6?!0:(cd(0,!1),!1)}function Tu(){if(U!==null){if(Ul===0)var e=U.return;else e=U,Zi=Xi=null,Mo(e),Ia=null,La=0,e=U;for(;e!==null;)Uc(e.alternate,e),e=e.return;U=null}}function Eu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,$d(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),fu=0,Tu(),H=e,U=n=pi(e.current,null),Hl=t,Ul=0,Wl=null,Gl=!1,Kl=et(e,t),ql=!1,eu=$l=Ql=Zl=Xl=Yl=0,nu=tu=null,ru=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ge(r),a=1<<i;t|=e[i],r&=~a}return Jl=t,ri(),n}function Du(e,t){ho=null,D.H=Hs,t===Ea||t===Oa?(t=Pa(),Ul=3):t===Da?(t=Pa(),Ul=4):Ul=t===oc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Wl=t,U===null&&(Yl=1,ec(e,xi(t,e.current)))}function G(){var e=so.current;return e===null?!0:(Hl&4194048)===Hl?P===null:(Hl&62914560)===Hl||Hl&536870912?e===P:!1}function Ou(){var e=D.H;return D.H=Hs,e===null?Hs:e}function ku(){var e=D.A;return D.A=zl,e}function Au(){Yl=4,Gl||(Hl&4194048)!==Hl&&so.current!==null||(Kl=!0),!(Xl&134217727)&&!(Zl&134217727)||H===null||W(H,Hl,$l,!1)}function ju(e,t,n){var r=Vl;Vl|=2;var i=Ou(),a=ku();(H!==e||Hl!==t)&&(su=null,Eu(e,t)),t=!1;var o=Yl;a:do try{if(Ul!==0&&U!==null){var s=U,c=Wl;switch(Ul){case 8:Tu(),o=6;break a;case 3:case 2:case 9:case 6:so.current===null&&(t=!0);var l=Ul;if(Ul=0,Wl=null,Lu(e,s,c,l),n&&Kl){o=0;break a}break;default:l=Ul,Ul=0,Wl=null,Lu(e,s,c,l)}}Mu(),o=Yl;break}catch(t){Du(e,t)}while(1);return t&&e.shellSuspendCounter++,Zi=Xi=null,Vl=r,D.H=i,D.A=a,U===null&&(H=null,Hl=0,ri()),o}function Mu(){for(;U!==null;)Fu(U)}function Nu(e,t){var n=Vl;Vl|=2;var r=Ou(),a=ku();H!==e||Hl!==t?(su=null,ou=Ne()+500,Eu(e,t)):Kl=et(e,t);a:do try{if(Ul!==0&&U!==null){t=U;var o=Wl;b:switch(Ul){case 1:Ul=0,Wl=null,Lu(e,t,o,1);break;case 2:case 9:if(Aa(o)){Ul=0,Wl=null,Iu(t);break}t=function(){Ul!==2&&Ul!==9||H!==e||(Ul=7),sd(e)},o.then(t,t);break a;case 3:Ul=7;break a;case 4:Ul=5;break a;case 7:Aa(o)?(Ul=0,Wl=null,Iu(t)):(Ul=0,Wl=null,Lu(e,t,o,7));break;case 5:var s=null;switch(U.tag){case 26:s=U.memoizedState;case 5:case 27:var c=U;if(s?Xf(s):c.stateNode.complete){Ul=0,Wl=null;var l=c.sibling;if(l!==null)U=l;else{var u=c.return;u===null?U=null:(U=u,Ru(u))}break b}}Ul=0,Wl=null,Lu(e,t,o,5);break;case 6:Ul=0,Wl=null,Lu(e,t,o,6);break;case 8:Tu(),Yl=6;break a;default:throw Error(i(462))}}Pu();break}catch(t){Du(e,t)}while(1);return Zi=Xi=null,D.H=r,D.A=a,Vl=n,U===null?(H=null,Hl=0,ri(),Yl):0}function Pu(){for(;U!==null&&!je();)Fu(U)}function Fu(e){var t=Fc(e.alternate,e,Jl);e.memoizedProps=e.pendingProps,t===null?Ru(e):U=t}function Iu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=bc(n,t,t.pendingProps,t.type,void 0,Hl);break;case 11:t=bc(n,t,t.pendingProps,t.type.render,t.ref,Hl);break;case 5:Mo(t);default:Uc(n,t),t=U=mi(t,Jl),t=Fc(n,t,Jl)}e.memoizedProps=e.pendingProps,t===null?Ru(e):U=t}function Lu(e,t,n,r){Zi=Xi=null,Mo(t),Ia=null,La=0;var i=t.return;try{if(ac(e,i,t,n,Hl)){Yl=1,ec(e,xi(n,e.current)),U=null;return}}catch(t){if(i!==null)throw U=i,t;Yl=1,ec(e,xi(n,e.current)),U=null;return}t.flags&32768?(Ri||r===1?e=!0:Kl||Hl&536870912?e=!1:(Gl=e=!0,(r===2||r===9||r===3||r===6)&&(r=so.current,r!==null&&r.tag===13&&(r.flags|=16384))),zu(t,e)):Ru(t)}function Ru(e){var t=e;do{if(t.flags&32768){zu(t,Gl);return}e=t.return;var n=z(t.alternate,t,Jl);if(n!==null){U=n;return}if(t=t.sibling,t!==null){U=t;return}U=t=e}while(t!==null);Yl===0&&(Yl=5)}function zu(e,t){do{var n=Hc(e.alternate,e);if(n!==null){n.flags&=32767,U=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){U=e;return}U=e=n}while(e!==null);Yl=6,U=null}function Bu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Gu();while(lu!==0);if(Vl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ni,at(e,n,o,s,c,l),e===H&&(U=H=null,Hl=0),du=t,uu=e,fu=n,pu=o,mu=a,hu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,ed(Le,function(){return Ku(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=D.T,D.T=null,a=O.p,O.p=2,s=Vl,Vl|=4;try{sl(e,t,n)}finally{Vl=s,O.p=a,D.T=r}}lu=1,Vu(),Hu(),Uu()}}function Vu(){if(lu===1){lu=0;var e=uu,t=du,n=!!(t.flags&13878);if(t.subtreeFlags&13878||n){n=D.T,D.T=null;var r=O.p;O.p=2;var i=Vl;Vl|=4;try{yl(t,e);var a=Gd,o=jr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Ar(s.ownerDocument.documentElement,s)){if(c!==null&&Mr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=M(s,h),v=M(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}pp=!!Wd,Gd=Wd=null}finally{Vl=i,O.p=r,D.T=n}}e.current=t,lu=2}}function Hu(){if(lu===2){lu=0;var e=uu,t=du,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=D.T,D.T=null;var r=O.p;O.p=2;var i=Vl;Vl|=4;try{cl(e,t.alternate,t)}finally{Vl=i,O.p=r,D.T=n}}lu=3}}function Uu(){if(lu===4||lu===3){lu=0,Me();var e=uu,t=du,n=fu,r=hu;t.subtreeFlags&10256||t.flags&10256?lu=5:(lu=0,du=uu=null,Wu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(cu=null),ut(n),t=t.stateNode,Ue&&typeof Ue.onCommitFiberRoot==`function`)try{Ue.onCommitFiberRoot(He,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=D.T,i=O.p,O.p=2,D.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{D.T=t,O.p=i}}fu&3&&Gu(),sd(e),i=e.pendingLanes,n&261930&&i&42?e===_u?gu++:(gu=0,_u=e):gu=0,cd(0,!1)}}function Wu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,pa(t)))}function Gu(){return Vu(),Hu(),Uu(),Ku()}function Ku(){if(lu!==5)return!1;var e=uu,t=pu;pu=0;var n=ut(fu),r=D.T,a=O.p;try{O.p=32>n?32:n,D.T=null,n=mu,mu=null;var o=uu,s=fu;if(lu=0,du=uu=null,fu=0,Vl&6)throw Error(i(331));var c=Vl;if(Vl|=4,Il(o.current),Ol(o,o.current,s,n),Vl=c,cd(0,!1),Ue&&typeof Ue.onPostCommitFiberRoot==`function`)try{Ue.onPostCommitFiberRoot(He,o)}catch{}return!0}finally{O.p=a,D.T=r,Wu(e,t)}}function qu(e,t,n){t=xi(n,t),t=nc(e.stateNode,t,2),e=Ja(e,t,2),e!==null&&(it(e,2),sd(e))}function Ju(e,t,n){if(e.tag===3)qu(e,e,n);else for(;t!==null;){if(t.tag===3){qu(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(cu===null||!cu.has(r))){e=xi(n,e),n=rc(2),r=Ja(t,n,2),r!==null&&(ic(n,r,t,e),it(r,2),sd(r));break}}t=t.return}}function Yu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(ql=!0,i.add(n),e=Xu.bind(null,e,t,n),t.then(e,e))}function Xu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,H===e&&(Hl&n)===n&&(Yl===4||Yl===3&&(Hl&62914560)===Hl&&300>Ne()-iu?!(Vl&2)&&Eu(e,0):Ql|=n,eu===Hl&&(eu=0)),sd(e)}function Zu(e,t){t===0&&(t=nt()),e=oi(e,t),e!==null&&(it(e,t),sd(e))}function Qu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zu(e,n)}function $u(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Zu(e,n)}function ed(e,t){return ke(e,t)}var td=null,nd=null,rd=!1,id=!1,ad=!1,od=0;function sd(e){e!==nd&&e.next===null&&(nd===null?td=nd=e:nd=nd.next=e),id=!0,rd||(rd=!0,md())}function cd(e,t){if(!ad&&id){ad=!0;do for(var n=!1,r=td;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ge(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,pd(r,a))}else a=Hl,a=$e(r,r===H?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||et(r,a)||(n=!0,pd(r,a))}r=r.next}while(n);ad=!1}}function ld(){ud()}function ud(){id=rd=!1;var e=0;od!==0&&Zd()&&(e=od);for(var t=Ne(),n=null,r=td;r!==null;){var i=r.next,a=dd(r,t);a===0?(r.next=null,n===null?td=i:n.next=i,i===null&&(nd=n)):(n=r,(e!==0||a&3)&&(id=!0)),r=i}lu!==0&&lu!==5||cd(e,!1),od!==0&&(od=0)}function dd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ge(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=tt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=H,n=Hl,n=$e(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Ul===2||Ul===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Ae(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||et(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Ae(r),ut(n)){case 2:case 8:n=Ie;break;case 32:n=Le;break;case 268435456:n=ze;break;default:n=Le}return r=fd.bind(null,e),n=ke(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Ae(r),e.callbackPriority=2,e.callbackNode=null,2}function fd(e,t){if(lu!==0&&lu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Gu()&&e.callbackNode!==n)return null;var r=Hl;return r=$e(e,e===H?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(xu(e,r,t),dd(e,Ne()),e.callbackNode!=null&&e.callbackNode===n?fd.bind(null,e):null)}function pd(e,t){if(Gu())return null;xu(e,t,!0)}function md(){tf(function(){Vl&6?ke(Fe,ld):ud()})}function hd(){if(od===0){var e=ga;e===0&&(e=Ye,Ye<<=1,!(Ye&261888)&&(Ye=256)),od=e}return od}function gd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:on(``+e)}function _d(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function vd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=gd((i[ht]||null).action),o=r.submitter;o&&(t=(t=o[ht]||null)?gd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new On(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(od!==0){var e=o?_d(i,o):new FormData(i);Os(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?_d(i,o):new FormData(i),Os(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var yd=0;yd<Zr.length;yd++){var bd=Zr[yd];Qr(bd.toLowerCase(),`on`+(bd[0].toUpperCase()+bd.slice(1)))}Qr(Ur,`onAnimationEnd`),Qr(Wr,`onAnimationIteration`),Qr(Gr,`onAnimationStart`),Qr(`dblclick`,`onDoubleClick`),Qr(`focusin`,`onFocus`),Qr(`focusout`,`onBlur`),Qr(Kr,`onTransitionRun`),Qr(qr,`onTransitionStart`),Qr(Jr,`onTransitionCancel`),Qr(Yr,`onTransitionEnd`),jt(`onMouseEnter`,[`mouseout`,`mouseover`]),jt(`onMouseLeave`,[`mouseout`,`mouseover`]),jt(`onPointerEnter`,[`pointerout`,`pointerover`]),jt(`onPointerLeave`,[`pointerout`,`pointerover`]),At(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),At(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),At(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),At(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),At(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),At(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var xd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Sd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(xd));function Cd(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){$r(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){$r(e)}i.currentTarget=null,a=c}}}}function wd(e,t){var n=t[_t];n===void 0&&(n=t[_t]=new Set);var r=e+`__bubble`;n.has(r)||(Od(t,e,2,!1),n.add(r))}function Td(e,t,n){var r=0;t&&(r|=4),Od(n,e,r,t)}var Ed=`_reactListening`+Math.random().toString(36).slice(2);function Dd(e){if(!e[Ed]){e[Ed]=!0,Ot.forEach(function(t){t!==`selectionchange`&&(Sd.has(t)||Td(t,!1,e),Td(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ed]||(t[Ed]=!0,Td(`selectionchange`,!1,t))}}function Od(e,t,n,r){switch(bp(t)){case 2:var i=mp;break;case 8:i=hp;break;default:i=gp}n=i.bind(null,t,n,e),i=void 0,!_n||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function kd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Ct(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}mn(function(){var r=a,i=ln(n),s=[];a:{var c=Xr.get(e);if(c!==void 0){var l=On,u=e;switch(e){case`keypress`:if(Cn(n)===0)break a;case`keydown`:case`keyup`:l=Wn;break;case`focusin`:u=`focus`,l=Fn;break;case`focusout`:u=`blur`,l=Fn;break;case`beforeblur`:case`afterblur`:l=Fn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Nn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Pn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Kn;break;case Ur:case Wr:case Gr:l=In;break;case Yr:l=qn;break;case`scroll`:case`scrollend`:l=An;break;case`wheel`:l=Jn;break;case`copy`:case`cut`:case`paste`:l=Ln;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Gn;break;case`toggle`:case`beforetoggle`:l=Yn}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=hn(m,p),g!=null&&d.push(Ad(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==cn&&(u=n.relatedTarget||n.fromElement)&&(Ct(u)||u[gt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?Ct(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Nn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Gn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Tt(l),h=u==null?c:Tt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Ct(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Md,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Nd(s,c,l,d,!1),u!==null&&f!==null&&Nd(s,f,u,d,!0)}}a:{if(c=r?Tt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=hr;else if(lr(c)){if(gr)v=Tr;else{v=Cr;var y=Sr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&nn(r.elementType)&&(v=hr):v=wr;if(v&&=v(e,r)){ur(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Jt(c,`number`,c.value)}switch(y=r?Tt(r):window,e){case`focusin`:(lr(y)||y.contentEditable===`true`)&&(Pr=y,N=r,Fr=null);break;case`focusout`:Fr=N=Pr=null;break;case`mousedown`:Ir=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Ir=!1,Lr(s,n,i);break;case`selectionchange`:if(Nr)break;case`keydown`:case`keyup`:Lr(s,n,i)}var b;if(Zn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else ar?rr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(er&&n.locale!==`ko`&&(ar||x!==`onCompositionStart`?x===`onCompositionEnd`&&ar&&(b=Sn()):(yn=i,bn=`value`in yn?yn.value:yn.textContent,ar=!0)),y=jd(r,x),0<y.length&&(x=new Rn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=ir(n),b!==null&&(x.data=b)))),(b=$n?or(e,n):sr(e,n))&&(x=jd(r,`onBeforeInput`),0<x.length&&(y=new Rn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),vd(s,e,r,n,i)}Cd(s,t)})}function Ad(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=hn(e,n),i!=null&&r.unshift(Ad(e,i,a)),i=hn(e,t),i!=null&&r.push(Ad(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Md(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Nd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=hn(n,a),l!=null&&o.unshift(Ad(n,l,c))):i||(l=hn(n,a),l!=null&&o.push(Ad(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Pd=/\r\n?/g,Fd=/\u0000|\uFFFD/g;function Id(e){return(typeof e==`string`?e:``+e).replace(Pd,`
24
+ `).replace(Fd,``)}function Ld(e,t){return t=Id(t),Id(e)===t}function Rd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Qt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Qt(e,``+r);break;case`className`:Lt(e,`class`,r);break;case`tabIndex`:Lt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Lt(e,n,r);break;case`style`:tn(e,r,o);break;case`data`:if(t!==`object`){Lt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)||r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=on(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&Rd(e,t,`name`,a.name,a,null),Rd(e,t,`formEncType`,a.formEncType,a,null),Rd(e,t,`formMethod`,a.formMethod,a,null),Rd(e,t,`formTarget`,a.formTarget,a,null)):(Rd(e,t,`encType`,a.encType,a,null),Rd(e,t,`method`,a.method,a,null),Rd(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=on(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=sn);break;case`onScroll`:r!=null&&wd(`scroll`,e);break;case`onScrollEnd`:r!=null&&wd(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=on(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:wd(`beforetoggle`,e),wd(`toggle`,e),It(e,`popover`,r);break;case`xlinkActuate`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Rt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Rt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Rt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:It(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=rn.get(n)||n,It(e,n,r))}}function zd(e,t,n,r,a,o){switch(n){case`style`:tn(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Qt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Qt(e,``+r);break;case`onScroll`:r!=null&&wd(`scroll`,e);break;case`onScrollEnd`:r!=null&&wd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=sn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!kt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[ht]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):It(e,n,r)}}}function Bd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:wd(`error`,e),wd(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Rd(e,t,o,s,n,null)}}a&&Rd(e,t,`srcSet`,n.srcSet,n,null),r&&Rd(e,t,`src`,n.src,n,null);return;case`input`:wd(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Rd(e,t,r,d,n,null)}}qt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in wd(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Rd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Yt(e,!!r,n,!0):Yt(e,!!r,t,!1);return;case`textarea`:for(s in wd(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Rd(e,t,s,c,n,null)}Zt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Rd(e,t,l,r,n,null)}return;case`dialog`:wd(`beforetoggle`,e),wd(`toggle`,e),wd(`cancel`,e),wd(`close`,e);break;case`iframe`:case`object`:wd(`load`,e);break;case`video`:case`audio`:for(r=0;r<xd.length;r++)wd(xd[r],e);break;case`image`:wd(`error`,e),wd(`load`,e);break;case`details`:wd(`toggle`,e);break;case`embed`:case`source`:case`link`:wd(`error`,e),wd(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Rd(e,t,u,r,n,null)}return;default:if(nn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&zd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Rd(e,t,c,r,n,null))}function Vd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Rd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Rd(e,t,p,m,r,f)}}Kt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Rd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Rd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Yt(e,!!n,n?[]:``,!1):Yt(e,!!n,t,!0)):Yt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Rd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Rd(e,t,s,a,r,o)}Xt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Rd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Rd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Rd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Rd(e,t,u,p,r,m)}return;default:if(nn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&zd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||zd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Rd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Rd(e,t,f,p,r,m)}function Hd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Ud(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Hd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Hd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Wd=null,Gd=null;function Kd(e){return e.nodeType===9?e:e.ownerDocument}function qd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Jd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Yd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Xd=null;function Zd(){var e=window.event;return e&&e.type===`popstate`?e!==Xd&&(Xd=e,!0):(Xd=null,!1)}var Qd=typeof setTimeout==`function`?setTimeout:void 0,$d=typeof clearTimeout==`function`?clearTimeout:void 0,ef=typeof Promise==`function`?Promise:void 0,tf=typeof queueMicrotask==`function`?queueMicrotask:ef===void 0?Qd:function(e){return ef.resolve(null).then(e).catch(nf)};function nf(e){setTimeout(function(){throw e})}function rf(e){return e===`head`}function af(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),zp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)yf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,yf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[xt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&yf(e.ownerDocument.body)}n=i}while(n);zp(t)}function of(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function sf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:sf(n),St(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function cf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[xt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=mf(e.nextSibling),e===null)break}return null}function lf(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=mf(e.nextSibling),e===null))return null;return e}function uf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=mf(e.nextSibling),e===null))return null;return e}function df(e){return e.data===`$?`||e.data===`$~`}function ff(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function pf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function mf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var hf=null;function gf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return mf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function _f(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function vf(e,t,n){switch(t=Kd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function yf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);St(e)}var bf=new Map,xf=new Set;function Sf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Cf=O.d;O.d={f:wf,r:Tf,D:Of,C:kf,L:Af,m:jf,X:Nf,S:Mf,M:Pf};function wf(){var e=Cf.f(),t=wu();return e||t}function Tf(e){var t=wt(e);t!==null&&t.tag===5&&t.type===`form`?As(t):Cf.r(e)}var Ef=typeof document>`u`?null:document;function Df(e,t,n){var r=Ef;if(r&&typeof t==`string`&&t){var i=Gt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),xf.has(i)||(xf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Bd(t,`link`,e),Dt(t),r.head.appendChild(t)))}}function Of(e){Cf.D(e),Df(`dns-prefetch`,e,null)}function kf(e,t){Cf.C(e,t),Df(`preconnect`,e,t)}function Af(e,t,n){Cf.L(e,t,n);var r=Ef;if(r&&e&&t){var i=`link[rel="preload"][as="`+Gt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Gt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Gt(n.imageSizes)+`"]`)):i+=`[href="`+Gt(e)+`"]`;var a=i;switch(t){case`style`:a=If(e);break;case`script`:a=Bf(e)}bf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),bf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Lf(a))||t===`script`&&r.querySelector(Vf(a))||(t=r.createElement(`link`),Bd(t,`link`,e),Dt(t),r.head.appendChild(t)))}}function jf(e,t){Cf.m(e,t);var n=Ef;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Gt(r)+`"][href="`+Gt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Bf(e)}if(!bf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),bf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Vf(a)))return}r=n.createElement(`link`),Bd(r,`link`,e),Dt(r),n.head.appendChild(r)}}}function Mf(e,t,n){Cf.S(e,t,n);var r=Ef;if(r&&e){var i=Et(r).hoistableStyles,a=If(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Lf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=bf.get(a))&&Wf(e,n);var c=o=r.createElement(`link`);Dt(c),Bd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Uf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Nf(e,t){Cf.X(e,t);var n=Ef;if(n&&e){var r=Et(n).hoistableScripts,i=Bf(e),a=r.get(i);a||(a=n.querySelector(Vf(i)),a||(e=f({src:e,async:!0},t),(t=bf.get(i))&&Gf(e,t),a=n.createElement(`script`),Dt(a),Bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Pf(e,t){Cf.M(e,t);var n=Ef;if(n&&e){var r=Et(n).hoistableScripts,i=Bf(e),a=r.get(i);a||(a=n.querySelector(Vf(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=bf.get(i))&&Gf(e,t),a=n.createElement(`script`),Dt(a),Bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Ff(e,t,n,r){var a=(a=he.current)?Sf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=If(n.href),n=Et(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=If(n.href);var o=Et(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Lf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),bf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},bf.set(e,n),o||zf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Bf(n),n=Et(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function If(e){return`href="`+Gt(e)+`"`}function Lf(e){return`link[rel="stylesheet"][`+e+`]`}function Rf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function zf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Bd(t,`link`,n),Dt(t),e.head.appendChild(t))}function Bf(e){return`[src="`+Gt(e)+`"]`}function Vf(e){return`script[async]`+e}function Hf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Gt(n.href)+`"]`);if(r)return t.instance=r,Dt(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Dt(r),Bd(r,`style`,a),Uf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=If(n.href);var o=e.querySelector(Lf(a));if(o)return t.state.loading|=4,t.instance=o,Dt(o),o;r=Rf(n),(a=bf.get(a))&&Wf(r,a),o=(e.ownerDocument||e).createElement(`link`),Dt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Bd(o,`link`,r),t.state.loading|=4,Uf(o,n.precedence,e),t.instance=o;case`script`:return o=Bf(n.src),(a=e.querySelector(Vf(o)))?(t.instance=a,Dt(a),a):(r=n,(a=bf.get(o))&&(r=f({},n),Gf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Dt(a),Bd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Uf(r,n.precedence,e));return t.instance}function Uf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Wf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Gf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Kf=null;function qf(e,t,n){if(Kf===null){var r=new Map,i=Kf=new Map;i.set(n,r)}else i=Kf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[xt]||a[mt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Jf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Yf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Xf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Zf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=If(r.href),a=t.querySelector(Lf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=ep.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Dt(a);return}a=t.ownerDocument||t,r=Rf(r),(i=bf.get(i))&&Wf(r,i),a=a.createElement(`link`),Dt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Bd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=ep.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Qf=0;function $f(e,t){return e.stylesheets&&e.count===0&&np(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&np(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Qf===0&&(Qf=62500*Ud());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&np(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function ep(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)np(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var tp=null;function np(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,tp=new Map,t.forEach(rp,e),tp=null,ep.call(e))}function rp(e,t){if(!(t.state.loading&4)){var n=tp.get(e);if(n)var r=n.get(null);else{n=new Map,tp.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=ep.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ip={$$typeof:b,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function ap(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=rt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rt(0),this.hiddenUpdates=rt(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function op(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ap(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=di(3,null,null,t),e.current=a,a.stateNode=e,t=fa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ga(a),e}function sp(e){return e?(e=li,e):li}function cp(e,t,n,r,i,a){i=sp(i),r.context===null?r.context=i:r.pendingContext=i,r=qa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ja(e,r,t),n!==null&&(bu(n,e,t),Ya(n,e,t))}function lp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function up(e,t){lp(e,t),(e=e.alternate)&&lp(e,t)}function dp(e){if(e.tag===13||e.tag===31){var t=oi(e,67108864);t!==null&&bu(t,e,67108864),up(e,67108864)}}function fp(e){if(e.tag===13||e.tag===31){var t=vu();t=lt(t);var n=oi(e,t);n!==null&&bu(n,e,t),up(e,t)}}var pp=!0;function mp(e,t,n,r){var i=D.T;D.T=null;var a=O.p;try{O.p=2,gp(e,t,n,r)}finally{O.p=a,D.T=i}}function hp(e,t,n,r){var i=D.T;D.T=null;var a=O.p;try{O.p=8,gp(e,t,n,r)}finally{O.p=a,D.T=i}}function gp(e,t,n,r){if(pp){var i=_p(r);if(i===null)kd(e,t,r,vp,n),kp(e,r);else if(jp(i,e,t,n,r))r.stopPropagation();else if(kp(e,r),t&4&&-1<Op.indexOf(e)){for(;i!==null;){var a=wt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Qe(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ge(o);s.entanglements[1]|=c,o&=~c}sd(a),!(Vl&6)&&(ou=Ne()+500,cd(0,!1))}}break;case 31:case 13:s=oi(a,2),s!==null&&bu(s,a,2),wu(),up(a,2)}if(a=_p(r),a===null&&kd(e,t,r,vp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else kd(e,t,r,null,n)}}function _p(e){return e=ln(e),yp(e)}var vp=null;function yp(e){if(vp=null,e=Ct(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return vp=e,null}function bp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Pe()){case Fe:return 2;case Ie:return 8;case Le:case Re:return 32;case ze:return 268435456;default:return 32}default:return 32}}var xp=!1,Sp=null,Cp=null,wp=null,Tp=new Map,Ep=new Map,Dp=[],Op=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function kp(e,t){switch(e){case`focusin`:case`focusout`:Sp=null;break;case`dragenter`:case`dragleave`:Cp=null;break;case`mouseover`:case`mouseout`:wp=null;break;case`pointerover`:case`pointerout`:Tp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Ep.delete(t.pointerId)}}function Ap(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=wt(t),t!==null&&dp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function jp(e,t,n,r,i){switch(t){case`focusin`:return Sp=Ap(Sp,e,t,n,r,i),!0;case`dragenter`:return Cp=Ap(Cp,e,t,n,r,i),!0;case`mouseover`:return wp=Ap(wp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Tp.set(a,Ap(Tp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Ep.set(a,Ap(Ep.get(a)||null,e,t,n,r,i)),!0}return!1}function Mp(e){var t=Ct(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,ft(e.priority,function(){fp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,ft(e.priority,function(){fp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Np(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=_p(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);cn=r,n.target.dispatchEvent(r),cn=null}else return t=wt(n),t!==null&&dp(t),e.blockedOn=n,!1;t.shift()}return!0}function Pp(e,t,n){Np(e)&&n.delete(t)}function Fp(){xp=!1,Sp!==null&&Np(Sp)&&(Sp=null),Cp!==null&&Np(Cp)&&(Cp=null),wp!==null&&Np(wp)&&(wp=null),Tp.forEach(Pp),Ep.forEach(Pp)}function Ip(e,n){e.blockedOn===n&&(e.blockedOn=null,xp||(xp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Fp)))}var Lp=null;function Rp(e){Lp!==e&&(Lp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Lp===e&&(Lp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(yp(r||n)===null)continue;break}var a=wt(n);a!==null&&(e.splice(t,3),t-=3,Os(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function zp(e){function t(t){return Ip(t,e)}Sp!==null&&Ip(Sp,e),Cp!==null&&Ip(Cp,e),wp!==null&&Ip(wp,e),Tp.forEach(t),Ep.forEach(t);for(var n=0;n<Dp.length;n++){var r=Dp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Dp.length&&(n=Dp[0],n.blockedOn===null);)Mp(n),n.blockedOn===null&&Dp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[ht]||null;if(typeof a==`function`)o||Rp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ht]||null)s=o.formAction;else if(yp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Rp(n)}}}function Bp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Vp(e){this._internalRoot=e}Hp.prototype.render=Vp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;cp(n,vu(),e,t,null,null)},Hp.prototype.unmount=Vp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;cp(e.current,2,null,e,null,null),wu(),t[gt]=null}};function Hp(e){this._internalRoot=e}Hp.prototype.unstable_scheduleHydration=function(e){if(e){var t=dt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dp.length&&t!==0&&t<Dp[n].priority;n++);Dp.splice(n,0,e),n===0&&Mp(e)}};var Up=n.version;if(Up!==`19.2.8`)throw Error(i(527,Up,`19.2.8`));O.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Wp={bundleType:0,version:`19.2.8`,rendererPackageName:`react-dom`,currentDispatcherRef:D,reconcilerVersion:`19.2.8`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Gp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gp.isDisabled&&Gp.supportsFiber)try{He=Gp.inject(Wp),Ue=Gp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Zs,s=Qs,c=$s;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=op(e,1,!1,null,null,n,r,null,o,s,c,Bp),e[gt]=t.current,Dd(e),new Vp(t)}})),aE=y(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=iE()})),oE=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,sE=/^[\\/]{2}/;function cE(e,t){return t+e.replace(/\\/g,`/`)}var lE=`popstate`;function uE(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function dE(e={}){function t(e,t){let{pathname:n=`/`,search:r=``,hash:i=``}=vE(e.location.hash.substring(1));return!n.startsWith(`/`)&&!n.startsWith(`.`)&&(n=`/`+n),gE(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){let n=e.document.querySelector(`base`),r=``;if(n&&n.getAttribute(`href`)){let t=e.location.href,n=t.indexOf(`#`);r=n===-1?t:t.slice(0,n)}return r+`#`+(typeof t==`string`?t:_E(t))}function r(e,t){pE(e.pathname.charAt(0)===`/`,`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}return yE(t,n,r,e)}function fE(e,t){if(e===!1||e==null)throw Error(t)}function pE(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function mE(){return Math.random().toString(36).substring(2,10)}function hE(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function gE(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?vE(t):t,state:n,key:t&&t.key||r||mE(),mask:i}}function _E({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function vE(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function yE(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=uE(e)?e:gE(h.location,e,t);n&&n(r,e),l=u()+1;let d=hE(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=uE(e)?e:gE(h.location,e,t);n&&n(r,e),l=u();let i=hE(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return bE(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(lE,d),c=e,()=>{i.removeEventListener(lE,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function bE(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),fE(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:_E(t);return i=i.replace(/ $/,`%20`),!n&&sE.test(i)&&(i=r+i),new URL(i,r)}function xE(e,t,n=`/`){return SE(e,t,n,!1)}function SE(e,t,n,r,i){let a=UE((typeof t==`string`?vE(t):t).pathname||`/`,n);if(a==null)return null;let o=i??CE(e),s=null,c=HE(a);for(let e=0;s==null&&e<o.length;++e)s=RE(o[e],c,r);return s}function CE(e){let t=wE(e);return EE(t),t}function wE(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;fE(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=ZE([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(fE(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),wE(e.children,t,u,l,o)),(e.path!=null||e.index)&&t.push({path:l,score:IE(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=VE(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of TE(e.path))a(e,t,!0,n)}),t}function TE(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=TE(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function EE(e){e.sort((e,t)=>e.score===t.score?LE(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var DE=/^:[\w-]+$/,OE=/^:[\w-]+/,kE=3.5,AE=3,jE=2,ME=1,NE=10,PE=-2,FE=e=>e===`*`;function IE(e,t){let n=e.split(`/`),r=n.length;return n.some(FE)&&(r+=PE),t&&(r+=jE),n.filter(e=>!FE(e)).reduce((e,t)=>e+(DE.test(t)?AE:OE.test(t)?kE:t===``?ME:NE),r)}function LE(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function RE(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d=s.matcher&&s.compiledParams?BE(u,l,s.matcher,s.compiledParams):zE(u,l),f=s.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=zE({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!d)return null;Object.assign(i,d.params),o.push({params:i,pathname:ZE([a,d.pathname]),pathnameBase:$E(ZE([a,d.pathnameBase])),route:f}),d.pathnameBase!==`/`&&(a=ZE([a,d.pathnameBase]))}return o}function zE(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=VE(e.path,e.caseSensitive,e.end);return BE(e,t,n,r)}function BE(e,t,n,r){let i=t.match(n);if(!i)return null;let a=i[0],o=QE(a,1),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=QE(a.slice(0,a.length-e.length),1)}let i=s[r];return e[t]=n&&!i?void 0:(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function VE(e,t=!1,n=!0){pE(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,`(?:/$1)?`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function HE(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return pE(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function UE(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function WE(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?vE(e):e,a;return n?(n=XE(n),a=n.startsWith(`/`)||n.startsWith(`\\`)?GE(n.substring(1),`/`):GE(n,t)):a=t,{pathname:a,search:eD(r),hash:tD(i)}}function GE(e,t){let n=QE(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function KE(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function qE(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function JE(e){let t=qE(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function YE(e,t,n,r=!1){let i;typeof e==`string`?i=vE(e):(i={...e},fE(!i.pathname||!i.pathname.includes(`?`),KE(`?`,`pathname`,`search`,i)),fE(!i.pathname||!i.pathname.includes(`#`),KE(`#`,`pathname`,`hash`,i)),fE(!i.search||!i.search.includes(`#`),KE(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=WE(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var XE=e=>e.replace(/[\\/]{2,}/g,`/`),ZE=e=>XE(e.join(`/`));function QE(e,t=0){let n=e.length;for(;n>t&&e.charCodeAt(n-1)===47;)n--;return n===e.length?e:e.slice(0,n)}var $E=e=>QE(e).replace(/^\/*/,`/`),eD=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,tD=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,nD=class{status;statusText;data;error;internal;constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function rD(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function iD(e){return ZE(e.map(e=>e.route.path).filter(Boolean))||`/`}var aD=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function oD(e,t){let n=e;if(typeof n!=`string`||!oE.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(aD)try{let e=new URL(window.location.href),r=sE.test(n)?new URL(cE(n,e.protocol)):new URL(n),a=UE(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{pE(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}var sD=new URL(`http://localhost`);function cD(e){if(e.createURL)return e.createURL(`/`);try{return new URL(e.createHref(`/`),sD)}catch{return sD}}function lD(e,t){return e.origin===t.origin&&(e.origin!==`null`||e.protocol===t.protocol&&e.host===t.host)}function uD(e,t){if(e.startsWith(`//`))return!0;let n=t.protocol.toLowerCase();return e.toLowerCase().startsWith(n)?t.host===``||e.slice(n.length).startsWith(`//`):!1}function dD(e,t,n,r){let i=null;try{i=e==null?null:new URL(e,n)}catch{}let a=new URL(t,n),o=i!=null&&!lD(i,n),s=!lD(a,n);if(r===`reject`){if(o||s)throw Error(`External navigation is not allowed`)}else if(s&&(i==null||!uD(e,i)||!lD(i,a)))throw Error(`External navigation is not allowed`)}var fD=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(fD);var pD=[`GET`,...fD];new Set(pD);var mD=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function hD(e){try{return mD.includes(new URL(e).protocol)}catch{return!1}}var gD=w.createContext(null);gD.displayName=`DataRouter`;var _D=w.createContext(null);_D.displayName=`DataRouterState`;var vD=w.createContext(null);vD.displayName=`DataRouterData`;var yD=w.createContext(null);yD.displayName=`DataRouterNavigation`;var bD=w.createContext(!1);function xD(){return w.useContext(bD)}var SD=w.createContext({isTransitioning:!1});SD.displayName=`ViewTransition`;var CD=w.createContext(null);CD.displayName=`Fetchers`;var wD=w.createContext(null);wD.displayName=`Await`;var TD=w.createContext(null);TD.displayName=`Navigation`;var ED=w.createContext(null);ED.displayName=`Location`;var DD=w.createContext({outlet:null,matches:[],isDataRoute:!1});DD.displayName=`Route`;var OD=w.createContext(!1);OD.displayName=`IsDataRoute`;var kD=w.createContext(void 0);kD.displayName=`RouteId`;var AD=w.createContext(null);AD.displayName=`RouteError`;var jD=`REACT_ROUTER_ERROR`,MD=`REDIRECT`,ND=`ROUTE_ERROR_RESPONSE`;function PD(e){if(e.startsWith(`${jD}:${MD}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function FD(e){if(e.startsWith(`${jD}:${ND}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new nD(t.status,t.statusText,t.data)}catch{}}function ID(e,{relative:t}={}){fE(LD(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=w.useContext(TD),{hash:i,pathname:a,search:o}=WD(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:ZE([n,a])),r.createHref({pathname:s,search:o,hash:i})}function LD(){return w.useContext(ED)!=null}function RD(){return fE(LD(),`useLocation() may be used only in the context of a <Router> component.`),w.useContext(ED).location}function zD(e){fE(LD(),`useMatch() may be used only in the context of a <Router> component.`);let{pathname:t}=RD();return w.useMemo(()=>zE(e,HE(t)),[t,e])}var BD=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function VD(){return w.useContext(OD)?oO():HD()}function HD(){fE(LD(),`useNavigate() may be used only in the context of a <Router> component.`);let e=w.useContext(gD),{basename:t,navigator:n}=w.useContext(TD),{matches:r}=w.useContext(DD),{pathname:i}=RD(),a=JSON.stringify(JE(r)),o=w.useRef(!1);return w.useLayoutEffect(()=>{o.current=!0}),w.useCallback((r,s={})=>{if(pE(o.current,BD),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=YE(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:ZE([t,c.pathname])),dD(typeof r==`string`?r:_E(r),n.createHref(c),cD(n),`reject`),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}w.createContext(null);function UD(){let{matches:e}=w.useContext(DD);return e[e.length-1]?.params??{}}function WD(e,{relative:t}={}){let{matches:n}=w.useContext(DD),{pathname:r}=RD(),i=JSON.stringify(JE(n));return w.useMemo(()=>YE(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function GD(e,t){return KD(e,t)}function KD(e,t,n){fE(LD(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=w.useContext(TD),{matches:i}=w.useContext(DD),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:`/`;a&&a.route;let c=RD(),l;if(t){let e=typeof t==`string`?vE(t):t;fE(s===`/`||e.pathname?.startsWith(s),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`),l=e}else l=c;let u=l.pathname||`/`,d=u;if(s!==`/`){let e=s.replace(/^\//,``).split(`/`);d=`/`+u.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let f;f=n?n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):n.router.match(n.state.location):xE(e,{pathname:d});let p=$D(f&&f.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:ZE([s,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?s:ZE([s,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&p?w.createElement(ED.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...l},navigationType:`POP`}},p):p}function qD(){let e=aO(),t=rD(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return w.createElement(w.Fragment,null,w.createElement(`h2`,null,`Unexpected Application Error!`),w.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?w.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var JD=w.createElement(qD,null),YD=class extends w.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static contextType=bD;static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=FD(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:w.createElement(DD.Provider,{value:this.props.routeContext},w.createElement(OD.Provider,{value:this.props.routeContext.isDataRoute},w.createElement(kD.Provider,{value:this.props.routeContext.matches[this.props.routeContext.matches.length-1]?.route.id},w.createElement(AD.Provider,{value:e,children:this.props.component}))));return this.context?w.createElement(ZD,{error:e},t):t}},XD=new WeakMap;function ZD({children:e,error:t}){let{basename:n,navigator:r}=w.useContext(TD);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=PD(t.digest);if(e){let i=XD.get(t);if(i)throw i;let a=oD(e.location,n),o=a.absoluteURL||a.to;if(dD(e.location,o,cD(r),`allow-explicit`),hD(o))throw Error(`Invalid redirect location`);if(aD&&!XD.get(t)){if(a.isExternal||e.reloadDocument)window.location.href=o;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw XD.set(t,n),n}}return w.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${o}`})}}return e}function QD({routeContext:e,match:t,children:n}){let r=w.useContext(gD);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(DD.Provider,{value:e},w.createElement(OD.Provider,{value:e.isDataRoute},w.createElement(kD.Provider,{value:t.route.id},n)))}function $D(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);fE(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:iD(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||JD,o&&(s<0&&c===0?(cO(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?w.createElement(n.route.Component,null):n.route.element?n.route.element:e,w.createElement(QD,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?w.createElement(YD,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function eO(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function tO(e){let t=w.useContext(gD);return fE(t,eO(e)),t}function nO(e){let t=w.useContext(_D);return fE(t,eO(e)),t}function rO(e){let t=w.useContext(vD);return fE(t,eO(e)),t}function iO(e){let t=w.useContext(kD);return fE(t,`${e} can only be used on routes that contain a unique "id"`),t}function aO(){let e=w.useContext(AD),t=rO(`useRouteError`),n=iO(`useRouteError`);return e===void 0?t.errors?.[n]:e}function oO(){let{router:e}=tO(`useNavigate`),t=iO(`useNavigate`),n=w.useRef(!1);return w.useLayoutEffect(()=>{n.current=!0}),w.useCallback(async(r,i={})=>{pE(n.current,BD),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var sO={};function cO(e,t,n){!t&&!sO[e]&&(sO[e]=!0,pE(!1,n))}w.memo(lO);function lO({routes:e,manifest:t,state:n,isStatic:r,onError:i}){let a=w.useContext(gD);return fE(a,`You must render this element inside a <DataRouterContext.Provider> element`),KD(e,void 0,{router:a.router,manifest:t,state:n,isStatic:r,onError:i})}function uO({to:e,replace:t,state:n,relative:r}){fE(LD(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i,navigator:a}=w.useContext(TD);pE(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:o}=w.useContext(DD),{pathname:s}=RD(),c=VD(),l=YE(e,JE(o),s,r===`path`);dD(typeof e==`string`?e:_E(e),a.createHref(l),cD(a),`reject`);let u=JSON.stringify(l);return w.useEffect(()=>{c(JSON.parse(u),{replace:t,state:n,relative:r})},[c,u,r,t,n]),null}function dO(e){fE(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function fO({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){fE(!LD(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=w.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=vE(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=w.useMemo(()=>{let e=UE(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return pE(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:w.createElement(TD.Provider,{value:c},w.createElement(ED.Provider,{children:t,value:h}))}function pO({children:e,location:t}){return GD(mO(e),t)}w.Component;function mO(e,t=[]){let n=[];return w.Children.forEach(e,(e,r)=>{if(!w.isValidElement(e))return;let i=[...t,r];if(e.type===w.Fragment){n.push.apply(n,mO(e.props.children,i));return}fE(e.type===dO,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a=e.props;fE(!a.index||!a.children,`An index route cannot have child routes.`);let o={id:a.id||i.join(`-`),caseSensitive:a.caseSensitive,element:a.element,Component:a.Component,index:a.index,path:a.path,middleware:a.middleware,loader:a.loader,action:a.action,hydrateFallbackElement:a.hydrateFallbackElement,HydrateFallback:a.HydrateFallback,errorElement:a.errorElement,ErrorBoundary:a.ErrorBoundary,shouldRevalidate:a.shouldRevalidate,handle:a.handle,lazy:a.lazy};a.children&&(o.children=mO(a.children,i)),n.push(o)}),n}var hO=`application/x-www-form-urlencoded`;function gO(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function _O(e){return gO(e)&&e.tagName.toLowerCase()===`button`}function vO(e){return gO(e)&&e.tagName.toLowerCase()===`form`}function yO(e){return gO(e)&&e.tagName.toLowerCase()===`input`}function bO(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xO(e,t){return e.button===0&&(!t||t===`_self`)&&!bO(e)}function SO(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function CO(e,t){let n=SO(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var wO=null;function TO(){if(wO===null)try{new FormData(document.createElement(`form`),0),wO=!1}catch{wO=!0}return wO}var EO=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function DO(e){return e!=null&&!EO.has(e)?(pE(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${hO}"`),null):e}function OO(e,t){let n,r,i,a,o;if(vO(e)){let o=e.getAttribute(`action`);r=o?UE(o,t):null,n=e.getAttribute(`method`)||`get`,i=DO(e.getAttribute(`enctype`))||hO,a=new FormData(e)}else if(_O(e)||yO(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?UE(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||`get`,i=DO(e.getAttribute(`formenctype`))||DO(o.getAttribute(`enctype`))||hO,a=new FormData(o,e),!TO()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(gO(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=`get`,r=null,i=hO,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}function kO(e,t){if(e===!1||e==null)throw Error(t)}function AO(e,t){let n=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n.pathname=n.pathname.endsWith(`/`)?`${n.pathname}_.${t}`:`${n.pathname}.${t}`,n}async function jO(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function MO(e){return e!=null&&typeof e.page==`string`}function NO(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function PO(e,t,n){return zO((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await jO(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(NO).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function FO(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function IO(e,t,{includeHydrateFallback:n}={}){return LO(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function LO(e){return[...new Set(e)]}function RO(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function zO(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!MO(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(RO(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}var BO=w.createContext(void 0);BO.displayName=`FrameworkContext`;function VO(){let e=w.useContext(BO);return kO(e,`You must render this element inside a <HydratedRouter> element`),e}function HO(e,t){let n=w.useContext(BO),[r,i]=w.useState(!1),[a,o]=w.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=w.useRef(null);w.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),w.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:UO(s,p),onBlur:UO(c,m),onMouseEnter:UO(l,p),onMouseLeave:UO(u,m),onTouchStart:UO(d,p)}]:[a,f,{}]:[!1,f,{}]}function UO(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function WO({page:e,...t}){let n=xD(),{nonce:r}=VO(),{router:i}=tO(`PrefetchPageLinks`),a=w.useMemo(()=>i.match(e),[i,i.routes,e]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?w.createElement(KO,{page:e,matches:a,...t}):w.createElement(qO,{page:e,matches:a,...t})):null}function GO(e){let{manifest:t,routeModules:n}=VO(),[r,i]=w.useState([]);return w.useEffect(()=>{let r=!1;return PO(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function KO({page:e,matches:t,...n}){let r=RD(),i=w.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=AO(e,`rsc`),i=!1,a=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?i=!0:a.push(e.route.id);return i&&a.length>0&&n.searchParams.set(`_routes`,a.join(`,`)),[n.pathname+n.search]},[e,r,t]);return w.createElement(w.Fragment,null,i.map(e=>w.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function qO({page:e,matches:t,...n}){let r=RD(),{manifest:i,routeModules:a}=VO(),{matches:o}=nO(`PrefetchPageLinks`),{loaderData:s}=rO(`PrefetchPageLinks`),c=w.useMemo(()=>FO(e,t,o,i,r,`data`),[e,t,o,i,r]),l=w.useMemo(()=>FO(e,t,o,i,r,`assets`),[e,t,o,i,r]),u=w.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,o=!1;if(t.forEach(e=>{let t=i.routes[e.route.id];t&&t.hasLoader&&(!c.some(t=>t.route.id===e.route.id)&&e.route.id in s&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?o=!0:n.add(e.route.id))}),n.size===0)return[];let l=AO(e,`data`);return o&&n.size>0&&l.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[l.pathname+l.search]},[s,r,i,c,t,e,a]),d=w.useMemo(()=>IO(l,i),[l,i]),f=GO(l);return w.createElement(w.Fragment,null,u.map(e=>w.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),d.map(e=>w.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),f.map(({key:e,link:t})=>w.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function JO(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}var YO=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{YO&&(window.__reactRouterVersion=`8`)}catch{}function XO({basename:e,children:t,useTransitions:n,window:r}){let i=w.useRef(null);i.current??=dE({window:r,v5Compat:!0});let a=i.current,[o,s]=w.useState({action:a.action,location:a.location}),c=w.useCallback(e=>{n===!1?s(e):w.startTransition(()=>s(e))},[n]);return w.useLayoutEffect(()=>a.listen(c),[a,c]),w.createElement(fO,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}var ZO=w.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=w.useContext(TD),v=typeof l==`string`&&oE.test(l),y=oD(l,h);l=y.to;let b=ID(l,{relative:r}),x=RD(),S=null;if(o){let e=YE(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:ZE([h,e.pathname])),S=g.createHref(e)}let[C,T,E]=HO(n,p),ee=ek(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function te(t){e&&e(t),t.defaultPrevented||ee(t)}let ne=!(y.isExternal||i),re=w.createElement(`a`,{...p,...E,href:(ne?S:void 0)||y.absoluteURL||b,onClick:ne?te:e,ref:JO(m,T),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return C&&!v?w.createElement(w.Fragment,null,re,w.createElement(WO,{page:b})):re});ZO.displayName=`Link`;var QO=w.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=WD(a,{relative:c.relative}),d=RD(),f=w.useContext(yD),{navigator:p,basename:m}=w.useContext(TD),h=f!=null&&ok(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f?.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=UE(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(y)===`/`),S={isActive:b,isPending:x,isTransitioning:h},C=b?e:void 0,T;T=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let E=typeof i==`function`?i(S):i;return w.createElement(ZO,{...c,"aria-current":C,className:T,ref:l,style:E,to:a,viewTransition:o},typeof s==`function`?s(S):s)});QO.displayName=`NavLink`;var $O=w.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=`get`,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=w.useContext(TD),g=ik(),_=ak(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&oE.test(s);return w.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?w.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});$O.displayName=`Form`;function ek(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=VD(),d=RD(),f=WD(e,{relative:o});return w.useCallback(p=>{if(xO(p,t)){p.preventDefault();let t=n===void 0?_E(d)===_E(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?w.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function tk(e){pE(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=w.useRef(SO(e)),n=w.useRef(!1),r=RD(),i=w.useMemo(()=>CO(r.search,n.current?null:t.current),[r.search]),a=VD();return[i,w.useCallback((e,t)=>{let r=SO(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var nk=0,rk=()=>`__${String(++nk)}__`;function ik(){let{router:e}=tO(`useSubmit`),{basename:t}=w.useContext(TD),n=iO(`useSubmit`),r=e.fetch,i=e.navigate;return w.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=OO(e,t);a.navigate===!1?await r(a.fetcherKey||rk(),n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,relative:a.relative,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,relative:a.relative,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function ak(e,{relative:t}={}){let{basename:n}=w.useContext(TD),r=w.useContext(DD);fE(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...WD(e||`.`,{relative:t})},o=RD();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:ZE([n,a.pathname])),_E(a)}function ok(e,{relative:t}={}){let n=w.useContext(SD);fE(n!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=tO(`useViewTransitionState`),i=WD(e,{relative:t});if(!n.isTransitioning)return!1;let a=UE(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=UE(n.nextLocation.pathname,r)||n.nextLocation.pathname;return zE(i.pathname,o)!=null||zE(i.pathname,a)!=null}var sk=aE(),ck=e=>{var{status:t,toast:n,onClose:r}=e,i=vl(e,[`status`,`toast`,`onClose`]);let{type:a,label:o,description:s,variant:c}=n;return A(`div`,{class:B(`kol-toast-item`,`kol-toast-item--`+t)},A(Cd,{alert:!0,class:`kol-toast-item__alert`,closerAriaDescriptionId:Cu(),handleCloserClick:r,hasCloser:!0,headingId:W(`alert-heading`),label:o,level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:a,variant:c||`card`},A(`div`,Object.assign({},i),s)))},lk=M(class extends ln{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.state={_toastStates:[]},this.translateToastCloseAll=G(`kol-toast-close-all`),this.knownRenderFunctions=new Set}enqueue(e){let t={toast:Object.assign(Object.assign({},e),{variant:`card`}),status:`adding`,id:W(`toast`)};return this.state=Object.assign(Object.assign({},this.state),{_toastStates:[t,...this.state._toastStates]}),setTimeout((()=>{this.state=Object.assign(Object.assign({},this.state),{_toastStates:this.state._toastStates.map((e=>e.id===t.id&&e.status!==`removing`?Object.assign(Object.assign({},e),{status:`settled`}):e))})}),300),Promise.resolve((()=>{this.handleClose(t)}))}closeAll(e=!1){if(e)this.state=Object.assign(Object.assign({},this.state),{_toastStates:[]}),this.knownRenderFunctions.clear();else{let e=[...this.state._toastStates];this.state=Object.assign(Object.assign({},this.state),{_toastStates:e.map((e=>Object.assign(Object.assign({},e),{status:`removing`})))}),setTimeout((()=>{this.state=Object.assign(Object.assign({},this.state),{_toastStates:this.state._toastStates.filter((t=>e.every((e=>e.id!==t.id))))}),e.forEach((e=>{var t,n;typeof e.toast.render==`function`&&this.knownRenderFunctions.delete(e.toast.render),(n=(t=e.toast).onClose)==null||n.call(t)}))}),300)}return Promise.resolve()}componentWillLoad(){Wi.warn(`kol-toast-container is deprecated and will be removed in the next major version. Use kol-alert for inline notifications or kol-dialog for interactive messages instead. See https://github.com/public-ui/kolibri/issues/8372`)}handleClose(e){let t=this.state._toastStates.find((t=>t.id===e.id));t&&t.status!==`removing`&&(this.state=Object.assign(Object.assign({},this.state),{_toastStates:this.state._toastStates.map((t=>t.id===e.id?Object.assign(Object.assign({},t),{status:`removing`}):t))}),setTimeout((()=>{var t,n;this.state=Object.assign(Object.assign({},this.state),{_toastStates:this.state._toastStates.filter((t=>t.id!==e.id))}),typeof e.toast.render==`function`&&this.knownRenderFunctions.delete(e.toast.render),(n=(t=e.toast).onClose)==null||n.call(t)}),300))}handleToastRef(e,t){t&&typeof e.toast.render==`function`&&!this.knownRenderFunctions.has(e.toast.render)&&(this.knownRenderFunctions.add(e.toast.render),e.toast.render(t,{close:()=>this.handleClose(e)}))}render(){return A(j,{key:`d6dac0f89665a5eee46203aaccf7e80a335d3af2`,class:`kol-toast-container`},this.state._toastStates.length>1&&A(`kol-button`,{key:`9abac6a79c6774fa3ba599f7783aefa8e0a7c519`,_label:this.translateToastCloseAll,class:`kol-toast-container__button-close-all`,_on:{onClick:()=>{this.closeAll()}}}),this.state._toastStates.map((e=>A(ck,{key:e.id,onClose:()=>this.handleClose(e),ref:t=>this.handleToastRef(e,t),toast:e.toast,status:e.status}))))}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } :host { display: flex; position: fixed; z-index: 200; max-width: 90vw; flex-direction: column; } .kol-toast-container__close-all { align-self: flex-end; } }`}}},[33,`kol-toast-container`,{state:[32],enqueue:[64],closeAll:[64]}]),uk=function(){typeof customElements<`u`&&[`kol-toast-container`,`kol-button`].forEach((e=>{switch(e){case`kol-toast-container`:customElements.get(N(e))||customElements.define(N(e),lk);break;case`kol-button`:customElements.get(N(e))||fm()}}))},dk={name:`@public-ui/components`,version:`5.0.0-beta.3`,license:`EUPL-1.2`,homepage:`https://public-ui.github.io`,repository:{type:`git`,url:`https://github.com/public-ui/kolibri`},bugs:{url:`https://github.com/public-ui/kolibri/issues`,email:`kolibri@itzbund.de`},author:{name:`Informationstechnikzentrum Bund`,email:`kolibri@itzbund.de`},main:`dist/index.cjs.js`,module:`dist/index.js`,bin:{"kolibri-copy-assets":`./copy-assets.mjs`},exports:{".":{types:`./dist/types/index.d.ts`,import:`./dist/index.js`,require:`./dist/index.cjs.js`},"./assets/*":`./assets/*`,"./custom-elements":`./dist/components/index.js`,"./custom-elements/*":`./dist/components/*`,"./custom-elements.json":`./custom-elements.json`,"./dist/components":`./dist/components/index.js`,"./dist/components/*":`./dist/components/*`,"./loader":{types:`./loader/index.d.ts`,import:`./loader/index.mjs`,require:`./dist/loader/index.cjs.js`},"./package.json":`./package.json`},customElements:`custom-elements.json`,es2015:`dist/esm/index.mjs`,es2017:`dist/esm/index.mjs`,types:`dist/types/index.d.ts`,unpkg:`dist/stencil/stencil.js`,"collection:main":`dist/collection/index.js`,collection:`dist/collection/collection-manifest.json`,sideEffects:!0,description:`Contains all web components that belong to KoliBri - The accessible HTML-Standard.`,keywords:[`accessibility`,`accessible`,`bitv`,`framework`,`library`,`designsystem`,`design`,`system`,`web components`,`webcomponents`,`aria`,`wai`,`axe`,`custom elements`,`styleguide`,`style`,`guide`,`ui`,`html`,`css`,`web`,`a11y`,`w3c`,`webstandard`,`wcag`],scripts:{"assets:kolicons":`pnpm --filter @public-ui/icons build`,build:`pnpm build:light`,"build:light":`node -e "require('node:fs').mkdirSync('doc', { recursive: true })" && cross-env NODE_ENV=production stencil build --docs --prod && node scripts/react-codemod.mjs && node scripts/angular-codemod.mjs && node scripts/vue-codemod.mjs && node scripts/autogen.doc.js && node scripts/vaadin.js && node scripts/stash-source-maps.mjs && pnpm format -w`,clear:`rimraf -g dist doc source-maps www ../adapters/angular/v20/src ../adapters/angular/v21/src ../adapters/hydrate/dist ../adapters/react/src ../adapters/react-v19/src ../adapters/solid/src ../adapters/vaadin/*.java ../adapters/vue/src`,format:`prettier --check src`,lint:`pnpm lint:eslint && pnpm lint:stylelint && pnpm lint:tsc && pnpm lint:i18n`,"lint:eslint":`eslint src`,"lint:i18n":`tsx scripts/lint-i18n.ts`,"lint:stylelint":`stylelint "src/**/*.{css,scss}"`,"lint:stylelint:components":`stylelint src/components/**/*.{css,scss}`,"lint:tsc":`tsc --noemit`,dev:`cross-env NODE_ENV=development stencil build --dev --watch`,prod:`stencil build --prod`,test:`pnpm test:unit && pnpm test:e2e`,"test:e2e":`playwright test`,"test:unit":`node -e "require('node:fs').mkdirSync('dist', { recursive: true })" && cross-env NODE_ENV=test stencil test --spec --json --outputFile dist/jest-test-results.json`,"test:update:unit":`pnpm test:unit -u`,"test:watch":`cross-env NODE_ENV=test stencil test --spec --watchAll`,"prebuild:light":`pnpm clear`,"pretest:e2e":`pnpm assets:kolicons`,unused:`knip`,"build:size":`cross-env KOLIBRI_SOURCE_MAP=true pnpm build`,size:`kolibri-size-gate components`,"size:analyze":`kolibri-size-gate components --mode analysis`,"size:update":`kolibri-size-gate components --update`},dependencies:{"@floating-ui/dom":`1.8.0`,"color-convert":`3.1.3`,"color-rgba":`2.4.0`,"lodash-es":`4.18.1`,"rgba-convert":`0.3.0`,"typed-bem":`1.0.2`,"wcag-contrast":`3.0.0`},devDependencies:{"@jest/globals":`29.7.0`,"@playwright/test":`1.63.0`,"@public-ui/eslint-config":`workspace:*`,"@public-ui/icons":`workspace:*`,"@public-ui/size-gate":`workspace:*`,"@public-ui/stencil-solid-output-target":`0.2.0`,"@public-ui/stylelint-rules":`workspace:*`,"@revolist/svelte-output-target":`0.0.7`,"@stencil-community/postcss":`2.2.0`,"@stencil/angular-output-target":`1.6.0`,"@stencil/core":`4.45.3`,"@stencil/playwright":`0.6.1`,"@stencil/react-output-target":`1.8.1`,"@stencil/sass":`3.3.3`,"@stencil/vue-output-target":`0.15.0`,"@types/jest":`29.5.14`,"@types/lodash-es":`4.17.12`,"@types/node":`26.4.0`,"@types/wcag-contrast":`3.0.3`,"adopted-style-sheets":`1.2.0-rc.3`,autoprefixer:`10.6.1`,"cross-env":`10.1.0`,cssnano:`8.0.10`,eslint:`9.39.5`,"eslint-plugin-perfectionist":`5.12.1`,jest:`29.7.0`,"jest-cli":`29.7.0`,knip:`6.42.1`,postcss:`8.5.31`,"postcss-sorting":`10.0.0`,prettier:`3.9.10`,"prettier-plugin-organize-imports":`4.3.0`,rimraf:`6.1.3`,stylelint:`17.16.0`,tslib:`2.8.1`,tsx:`4.23.15`,typescript:`5.9.3`},peerDependencies:{"adopted-style-sheets":`1.2.0-rc.3`},files:[`assets`,`copy-assets.mjs`,`dist`,`doc`,`custom-elements.json`,`index.scss`,`loader`,`vscode-custom-data.json`]},fk=y((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),X=y(((e,t)=>{t.exports=fk()}))(),pk=()=>(0,X.jsxs)(uT,{_label:`This is an example page`,_level:0,_type:`info`,children:[(0,X.jsx)(`p`,{children:`You followed an example link.`}),history.length>1&&(0,X.jsx)(K,{_label:`Go Back`,_on:{onClick:()=>history.back()}})]});function mk(){let e=matchMedia(`(max-width: 1023px)`),[t,n]=(0,w.useState)(e.matches);return(0,w.useEffect)(()=>{let t=e=>{n(e.matches)};return e.addEventListener(`change`,t),()=>{e.removeEventListener(`change`,t)}},[e]),t}function hk(e){return typeof e==`object`&&!!e}function gk(e){if(!hk(e))return e;let t={};for(let[n,r]of Object.entries(e))t[n]=gk(r);return t}function _k(e){return e.trim().toLowerCase().split(/\s+/).filter(Boolean)}function vk(e,t){let n=e.map(e=>e.toLowerCase()),r=n.join(`/`);return t.every(e=>n.some(t=>t.includes(e))||r.includes(e))}function yk(e,t,n){let r={};for(let[i,a]of Object.entries(e)){let e=[...n,i];if(vk(e,t))r[i]=gk(a);else if(hk(a)){let n=yk(a,t,e);Object.keys(n).length>0&&(r[i]=n)}}return r}function bk(e,t){let n=_k(t);return n.length===0?gk(e):yk(e,n,[])}function xk({children:e}){return(0,X.jsx)(`div`,{className:`mt scrollable-container`,children:e})}function Sk({label:e,to:t,children:n,open:r}){let i=ID(t),a=zD({path:WD(t).pathname,end:!0});return(0,X.jsx)(ZT,{_label:e,_href:i,_active:!!a,_open:r,children:n})}function Ck({routes:e}){let[t,n]=(0,w.useState)(``),r=(0,w.useMemo)(()=>bk(e,t),[e,t]),i=(e,t)=>Object.keys(t).map(t=>{let n=e===`tree`&&t===`basic/:subPage`;return(0,X.jsx)(Sk,{label:n?`basic`:t,to:[e,n?`basic/home`:t].join(`/`)},[e,t].join(`/`))}),a=Object.entries(r).map(([e,n])=>(0,X.jsx)(Sk,{label:e,to:e,open:!!t,children:i(e,n)},e));return(0,X.jsxs)(xk,{children:[(0,X.jsx)(J,{_label:`Suche`,_on:{onInput:e=>{let t=e.target;n(t.value)}}}),(0,X.jsx)(`nav`,{className:`main-nav`,children:(0,X.jsx)(XT,{_label:`Navigation`,class:`block`,children:a})})]})}var wk=(e,t)=>e.find(e=>e.key===t)?.name??t,Tk=({buildDate:e,commitHash:t})=>!e&&!t?``:(0,X.jsx)(`div`,{className:`text-sm font-mono color-gray-5 m-t-2`,children:e&&t?(0,X.jsxs)(X.Fragment,{children:[`Build: `,t,(0,X.jsx)(`br`,{}),`at `,e]}):t?`Build: ${t}`:`Build date: ${e}`}),Ek=[{label:`Auto (follow the OS)`,value:`auto`},{label:`Light`,value:`light`},{label:`Dark (untested)`,value:`dark`}],Dk=({version:e,themes:t,theme:n,routes:r,routeList:i,sample:a,buildDate:o,commitHash:s,colorScheme:c,supportsDark:l,onThemeChange:u,onColorSchemeChange:d})=>{let f=()=>i.indexOf(a),p=()=>a.replace(/\//g,` `),m=(e,t)=>{u(t)},h=(e,t)=>{d(t)},g=l?void 0:`The ${wk(t,n)} theme has no dark palette yet, so the scheme stays light.`,_=()=>{let e=f(),t=e<=0?i.length-1:e-1;location.replace(`#${i[t]}`)},v=()=>{let e=f(),t=e===i.length-1?0:e+1;location.replace(`#${i[t]}`)},y=(0,w.useMemo)(()=>t.map(e=>({label:e.name,value:e.key})),[t]),b=mk(),x=RD();(0,w.useEffect)(()=>{S.current?.close()},[x]);let S=(0,w.useRef)(null);return(0,X.jsx)(`aside`,{className:`app-sidebar p-4`,children:(0,X.jsxs)(`div`,{className:`scrollable-container-wrapper`,children:[(0,X.jsxs)(`div`,{className:`flex flex-justify-between flex-items-center`,children:[(0,X.jsx)(q,{_label:`KoliBri React`}),(0,X.jsx)(QT,{_label:e})]}),(0,X.jsx)(Tk,{buildDate:o,commitHash:s}),b?``:(0,X.jsx)(BT,{_label:`Theme`,_options:y,_on:{onChange:m},_value:n,class:`mt`}),b?``:(0,X.jsx)(BT,{_label:`Color scheme`,_disabled:!l,_hint:g,_options:Ek,_on:{onChange:h},_value:c,class:`mt`}),b?``:(0,X.jsx)(q,{_label:`Components`,_level:2,className:`block mt`}),(0,X.jsxs)(`div`,{className:`flex flex-justify-between flex-items-center mt`,children:[(0,X.jsx)(K,{_icons:`kolicon-chevron-left`,_hideLabel:!0,_label:`Previous component`,_on:{onClick:_}}),b?(0,X.jsxs)(`div`,{className:`flex gap-4 flex-items-center`,children:[(0,X.jsxs)(`span`,{className:`text-base text-center`,children:[p(),` (`,f()+1,`/`,i.length,`)`]}),(0,X.jsx)(K,{_label:`Navigation`,_hideLabel:!0,_icons:{right:`kolicon-settings`},_on:{onClick:()=>S.current?.showModal()}})]}):(0,X.jsxs)(`span`,{className:`text-base text-center`,children:[p(),` (`,f()+1,`/`,i.length,`)`]}),(0,X.jsx)(K,{_icons:`kolicon-chevron-right`,_hideLabel:!0,_label:`Next component`,_on:{onClick:v}})]}),b?(0,X.jsxs)(yT,{_align:`top`,_label:`Navigation`,_hasCloser:!0,ref:S,children:[(0,X.jsx)(BT,{_label:`Theme`,_options:y,_on:{onChange:m},_value:n,class:`mt`}),(0,X.jsx)(BT,{_label:`Color scheme`,_disabled:!l,_hint:g,_options:Ek,_on:{onChange:h},_value:c,class:`mt`}),(0,X.jsx)(q,{_label:`Components`,_level:2,className:`block mt`}),(0,X.jsx)(Ck,{routes:r})]}):(0,X.jsx)(Ck,{routes:r})]})})},Ok=[`auto`,`light`,`dark`],kk=`data-kol-color-scheme`,Ak=`public-ui.sample.color-scheme`;function jk(e){return typeof e==`string`&&Ok.includes(e)}function Mk(e){let{documentElement:t}=document;e===`auto`?(t.removeAttribute(kk),t.style.removeProperty(`color-scheme`)):(t.setAttribute(kk,e),t.style.setProperty(`color-scheme`,e))}function Nk(e){try{localStorage.setItem(Ak,e)}catch{}}function Pk(){try{let e=localStorage.getItem(Ak);return jk(e)?e:`auto`}catch{return`auto`}}var Fk=`colorScheme`,Ik=e=>{let[t]=tk(),n=t.get(Fk),[r,i]=(0,w.useState)(()=>jk(n)?n:Pk());(0,w.useEffect)(()=>{i(jk(n)?n:Pk())},[n]);let a=e?r:`light`;(0,w.useEffect)(()=>{Mk(a)},[a]);let o=(0,w.useRef)(a);return o.current=a,[a,(0,w.useCallback)(e=>{o.current!==e&&(i(e),Nk(e))},[])]},Lk=()=>{bt(`#`+RD().pathname)},Rk=`data-visual-blocks`,zk=`public-ui.sample.visual-blocks`,Bk=`data-visual-block-skipped`,Vk=`visual-block-outline-style`,Hk=`
25
+ html[${Rk}] [data-visual-block] {
26
+ outline: 2px solid darkblue;
27
+ outline-offset: 0;
28
+ }
29
+ html[${Rk}] [${Bk}] {
30
+ outline: 2px solid orangered;
31
+ outline-offset: 0;
32
+ }
33
+ `;function Uk(){if(document.getElementById(Vk))return;let e=document.createElement(`style`);e.id=Vk,e.textContent=Hk,document.head.appendChild(e)}function Wk(){return document.documentElement.hasAttribute(Rk)}function Gk(e,t=!0){if(Uk(),e?document.documentElement.setAttribute(Rk,``):document.documentElement.removeAttribute(Rk),t)try{localStorage.setItem(zk,e?`1`:`0`)}catch{}}function Kk(){let e=!Wk();return Gk(e),e}function qk(){try{return localStorage.getItem(zk)===`1`}catch{return!1}}var Jk=`visualBlocks`,Yk=[`0`,`false`,`off`],Xk=()=>{let[e]=tk(),t=e.get(Jk);(0,w.useEffect)(()=>{Gk(t===null?qk():!Yk.includes(t.toLowerCase()),!1)},[t]),(0,w.useEffect)(()=>{let e=e=>{e.ctrlKey&&e.altKey&&!e.shiftKey&&e.key.toLowerCase()===`b`&&(e.preventDefault(),Kk())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[])},Zk=(0,w.createContext)(null);function Qk(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}var $k={width:`fit-content`},Z=({id:e,heading:t,level:n=2,className:r,fitContent:i,narrow:a,skipSnapshot:o,children:s,...c})=>(0,X.jsxs)(`section`,{...c,children:[t?(0,X.jsx)(q,{_level:n,_label:t}):null,(0,X.jsx)(`div`,{"data-visual-block":o?void 0:e,"data-visual-block-skipped":o?e:void 0,"data-visual-narrow":a&&!o?``:void 0,className:r??`grid gap-4`,style:i?$k:void 0,children:s})]}),eA=`https://public-ui.github.io/docs/components`,tA=`https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components`,nA=`I am an error message!`,rA=`I am a hint.`,Q=e=>{let t=(0,w.useContext)(Zk),n=RD(),r=n.pathname.split(`/`).slice(1),i=(0,w.useMemo)(()=>r[0]===`scenarios`?null:`${eA}/${r[0]}`,[r]),a=(0,w.useMemo)(()=>r[0]===`scenarios`?null:`${tA}/${r[0]}/${r[1]}.tsx`,[r]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`h1`,{className:`visually-hidden`,children:n.pathname.replace(/\//g,` `)}),t?null:(0,X.jsxs)(`div`,{className:`grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2`,children:[(0,X.jsx)(`div`,{className:`indented-text`,children:e.children}),(0,X.jsxs)(`ul`,{className:`flex flex-wrap gap-2 list-none m-0 p-0`,children:[a&&(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:a,_label:`Code`,_target:`_blank`})}),i&&(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:i,_label:`Documentation`,_target:`_blank`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#${n.pathname}?hideMenus`,_label:`Standalone example`,_target:`_blank`})})]})]})]})},iA={abbr:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolAbbr shows an abbreviation.`})}),(0,X.jsx)(Z,{id:`basic`,fitContent:!0,children:(0,X.jsxs)(`span`,{children:[`I am `,(0,X.jsx)(cT,{children:`e.g.`}),` an abbreviation.`]})})]})}},aA={accordion:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the `,(0,X.jsx)(`code`,{children:`_open`}),`-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion.`]})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(lT,{_label:`Heading Accordion Tab 1 (open)`,_open:!0,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 1`})}),(0,X.jsx)(lT,{_label:`Heading Accordion Tab 2`,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 2`})}),(0,X.jsx)(lT,{_label:`Heading Accordion Tab 3 (deactivated)`,_disabled:!0,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 3`})}),(0,X.jsx)(lT,{_label:`Heading Accordion Tab 4 (disabled and open)`,_disabled:!0,_open:!0,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 4`})})]})]}),headlines:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolAccordion with the different heading levels from 1-6.`})}),(0,X.jsxs)(Z,{id:`headlines`,children:[(0,X.jsx)(lT,{_label:`Heading Level 1`,_level:1,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 1`})}),(0,X.jsx)(lT,{_label:`Heading Level 2`,_level:2,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 2`})}),(0,X.jsx)(lT,{_label:`Heading Level 3`,_level:3,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 3`})}),(0,X.jsx)(lT,{_label:`Heading Level 4`,_level:4,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 4`})}),(0,X.jsx)(lT,{_label:`Heading Level 5`,_level:5,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 5`})}),(0,X.jsx)(lT,{_label:`Heading Level 6`,_level:6,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 6`})})]})]}),multiple:()=>{let[e,t]=(0,w.useState)(0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Multiple KolAccordions. The first is opened initially. Opening one accordion closes the others.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(lT,{_label:`Heading Accordion Tab 1 (initially open)`,_open:e===0,_on:{onClick:()=>t(0)},children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})}),(0,X.jsx)(lT,{_label:`Heading Accordion Tab 2`,_open:e===1,_on:{onClick:()=>t(1)},children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})}),(0,X.jsx)(lT,{_label:`Heading Accordion Tab 3`,_open:e===2,_on:{onClick:()=>t(2)},children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})})]})]})}}},oA=({level:e,type:t,variant:n})=>(0,X.jsx)(X.Fragment,{children:(0,X.jsxs)(Z,{id:t,className:`flex flex-col gap-2`,children:[(0,X.jsx)(uT,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:t,_variant:n,children:`This is the text of the alert.`}),(0,X.jsx)(uT,{_type:t,_variant:n,children:`In this alert, only the text without the heading is used.`}),(0,X.jsx)(uT,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:t,_variant:n,_hasCloser:!0,children:`This is the text of the alert. With close button.`}),(0,X.jsx)(uT,{_type:t,_variant:n,_hasCloser:!0,children:`In this alert, only the text without the heading is used. With close button.`})]})}),sA=({variant:e=`msg`})=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(oA,{level:1,type:`default`,variant:e}),(0,X.jsx)(oA,{level:2,type:`error`,variant:e}),(0,X.jsx)(oA,{level:3,type:`info`,variant:e}),(0,X.jsx)(oA,{level:4,type:`success`,variant:e}),(0,X.jsx)(oA,{level:5,type:`warning`,variant:e})]}),cA={alert:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolAlert shows messages of different types. This sample illustrates the variant `,(0,X.jsx)(`code`,{children:`msg`}),`, showing all possible types with and without headlines and close buttons.`]})}),(0,X.jsx)(sA,{variant:`msg`})]}),"card-msg":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolAlert shows messages of different types. This sample illustrates the variant `,(0,X.jsx)(`code`,{children:`card`}),`, showing all possible types with and without headlines and close buttons.`]})}),(0,X.jsx)(`section`,{className:`w-full`,children:(0,X.jsx)(sA,{variant:`card`})})]})}},lA={avatar:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolAvatar shows a user's avatar with customizable colors. It can be used with or without an image. If no image is defined, the name's initials are shown instead with a configurable background color.`})}),(0,X.jsxs)(Z,{className:`flex gap-2`,id:`basic`,fitContent:!0,children:[(0,X.jsx)(dT,{_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`}),(0,X.jsx)(dT,{_label:`Elke Mustermann `}),(0,X.jsx)(dT,{_label:`Marianne`}),(0,X.jsx)(dT,{_color:`#0000FF`,_label:`Christian`})]})]}),size:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolAvatar is `,(0,X.jsx)(`code`,{children:`6.25rem`}),` (100px at the default 16px root font-size) wide/tall by default and simply fills its host element, so it can be resized proportionally with plain CSS `,(0,X.jsx)(`code`,{children:`width`}),` and/or `,(0,X.jsx)(`code`,{children:`height`}),` (set through the `,(0,X.jsx)(`code`,{children:`style`}),` prop). Setting only`,` `,(0,X.jsx)(`code`,{children:`width`}),` is the reliable way to size it below the default. If `,(0,X.jsx)(`code`,{children:`width`}),` and `,(0,X.jsx)(`code`,{children:`height`}),` are set to different values, the avatar stays square by using the larger of the two - it is centered on its host and may visually extend beyond it on the smaller axis. The initials' font size always scales with the resulting size automatically.`]})}),(0,X.jsxs)(Z,{className:`flex flex-wrap items-center gap-4`,id:`size`,fitContent:!0,children:[(0,X.jsx)(dT,{style:{width:`30px`},_label:`Elke Mustermann`}),(0,X.jsx)(dT,{style:{width:`30px`,height:`45px`},_label:`Marianne`}),(0,X.jsx)(dT,{style:{width:`60px`,height:`30px`},_color:`#0000FF`,_label:`Christian`}),(0,X.jsx)(dT,{_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`}),(0,X.jsx)(dT,{style:{width:`150px`},_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`})]})]})}},uA={badge:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolBadge shows badges with a label, background color and optional icon. The label supports markdown syntax and the badge can host an optional`,` `,(0,X.jsx)(`code`,{children:`smartButton`}),` – here a "remove" button with X-icon and a click event listener.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsxs)(Z,{id:`basic-vertical`,heading:`Basic Badges vertical`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,X.jsx)(fT,{_label:`black (default)`}),(0,X.jsx)(fT,{_color:`#06539e`,_label:`blue`}),(0,X.jsx)(fT,{_color:`#ae0000`,_label:`red with icon`,_icons:`kolicon-house`}),(0,X.jsx)(fT,{_color:`#8b008b`,_label:`purple with icon`,_icons:`kolicon-kolibri`})]}),(0,X.jsxs)(Z,{id:`basic-horizontal`,heading:`Basic Badges horizontal`,className:`flex flex-wrap gap-2`,fitContent:!0,children:[(0,X.jsx)(fT,{_label:`black`}),(0,X.jsx)(fT,{_color:`#06539e`,_label:`blue`}),(0,X.jsx)(fT,{_color:`#ae0000`,_label:`red with icon`,_icons:`kolicon-kolibri`})]}),(0,X.jsxs)(Z,{id:`smart-button`,heading:`Badges with Smart Button`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,X.jsx)(fT,{_color:`#06539e`,_label:`blue`,_smartButton:{_ariaDescription:`blue`,_icons:`kolicon-cross`,_label:`Remove`,_on:{onClick:()=>alert(`clicked`)}}}),(0,X.jsx)(fT,{_color:`#8b008b`,_icons:`kolicon-kolibri`,_label:`purple with icon`,_smartButton:{_ariaDescription:`purple with icon`,_icons:`kolicon-cross`,_label:`Remove`,_on:{onClick:()=>alert(`clicked`)}}})]}),(0,X.jsxs)(Z,{id:`formatted-label`,heading:`Formatted Label`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,X.jsx)(fT,{_color:`#7db4ebff`,_label:`**Bold** and _italic_ Markdown label`}),(0,X.jsx)(fT,{_color:`#8feb7dff`,_label:`This is ~~strikethrough~~ text`}),(0,X.jsx)(fT,{_color:`#e6ee8eff`,_label:"Source code like `y = mx + n` is possible"})]})]})]})}},dA=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements.`})}),(0,X.jsxs)(Z,{id:`basic`,narrow:!0,children:[(0,X.jsx)(pT,{_label:`Breadcrumb aus Text-Links`,_links:[{_label:`Homepage`,_href:`#/back-page`},{_label:`Bottom of the homepage`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,X.jsx)(pT,{_label:`Breadcrumb from icons or text links`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_hideLabel:!0,_href:`#/back-page`},{_label:`Subpage of the start page with very long link test`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,X.jsx)(pT,{_label:`Breadcrumb from icons and text links`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`Subpage of the main page and I_am_a_really_long_compound_word_trying_to_break_the_layout`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,X.jsx)(pT,{_label:`Minimal Breadcrumb`,_links:[{_label:`Homepage`,_href:`#/back-page`}]})]})]}),fA=JSON.stringify([{_label:`Homepage`,_icons:`kolicon-house`,_hideLabel:!0,_href:`#/back-page`},{_label:`Services`,_href:`#/back-page`},{_label:`Apply for a permit`,_href:`#/back-page`}]),pA={breadcrumb:{basic:dA,"json-links":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The `,(0,X.jsx)(`code`,{children:`_links`}),` of KolBreadcrumb can also be passed as JSON string, e.g. through an HTML attribute; the result is the same as with an array. Every entry needs an `,(0,X.jsx)(`code`,{children:`_href`}),`, and an entry with `,(0,X.jsx)(`code`,{children:`_hideLabel`}),` shows only its icon.`]})}),(0,X.jsx)(Z,{id:`json-links`,narrow:!0,children:(0,X.jsx)(pT,{_label:`Breadcrumb from a JSON string`,_links:fA})})]})}},mA=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolButtonLink with aria-description`})}),(0,X.jsxs)(Z,{id:`aria-description`,className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(mT,{_label:`Button Text without area description`}),(0,X.jsx)(mT,{_label:`Button Text`,_ariaDescription:`Button Area Description`})]})]});function hA(){let e=e=>{alert(e||`The Element was clicked`)};return{dummyClickEventHandler:()=>{e()},buttonWithTextClickEventHandler:t=>{let n=t.currentTarget.textContent;e(n)}}}var gA={"button-link":{basic:()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolButtonLink shows an element, that behaves like a button but looks like a link. The sample illustrates KolButtonLink with different display-properties such as `,(0,X.jsx)(`code`,{children:`block`}),`, `,(0,X.jsx)(`code`,{children:`inline-block`}),` and `,(0,X.jsx)(`code`,{children:`inline`}),`. It also demonstrates the disabled-state.`]})}),(0,X.jsx)(q,{_level:2,_label:`Button-Link with _inline`}),(0,X.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that contains no additional attributes. `,(0,X.jsx)(mT,{_label:`Simple Link`}),` It is rendered by default as an`,` `,(0,X.jsx)(`strong`,{children:`inline element`}),`.`]}),(0,X.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that is rendered as an inline-block element.`,(0,X.jsx)(mT,{className:`m-4`,style:{display:`inline-block`,border:`1px dotted`},_label:`Simple Link`}),`. This allows you to assign width, height, and other properties to it using CSS styles.`,(0,X.jsx)(`br`,{}),(0,X.jsx)(`br`,{}),`After that, there is a link that is rendered as a block element.`,(0,X.jsx)(mT,{style:{display:`block`},_label:`Simple Link`}),`Therefore, I go over the entire width of the parent element to create a line break.`]}),(0,X.jsx)(q,{_level:2,_label:`Button-Link with _inline={false}`}),(0,X.jsx)(`p`,{children:`Use the boolean _inline property to render the link inline (default) or standalone.`}),(0,X.jsx)(Z,{id:`basic`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(mT,{_label:`Standalone ButtonLink`,_inline:!1,_on:t})}),(0,X.jsx)(Z,{id:`disabled`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(mT,{_label:`Disabled ButtonLink`,_disabled:!0,_inline:!1})}),(0,X.jsx)(Z,{id:`access-key`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(mT,{_label:`With access key`,_accessKey:`c`,_inline:!1,_on:t})}),(0,X.jsx)(Z,{id:`short-key`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(mT,{_label:`With short key`,_shortKey:`s`,_inline:!1,_on:t})}),(0,X.jsx)(Z,{id:`variant`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(mT,{_label:`Special Variant ButtonLink`,_variant:`theme-link`})})]})},icons:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolButtonLink with icons in different locations.`})}),(0,X.jsx)(Z,{id:`left`,fitContent:!0,children:(0,X.jsx)(mT,{_icons:`kolicon-house`,_label:`I am a link with an icon on the left`})}),(0,X.jsx)(Z,{id:`right`,fitContent:!0,children:(0,X.jsx)(mT,{_icons:{right:`kolicon-house`},_label:`I am a link with an icon on the right`})}),(0,X.jsx)(Z,{id:`top`,fitContent:!0,children:(0,X.jsx)(mT,{_icons:{top:`kolicon-house`},_label:`I am a link with an icon at the top`})}),(0,X.jsx)(Z,{id:`bottom`,fitContent:!0,children:(0,X.jsx)(mT,{_icons:{bottom:`kolicon-house`},_label:`I am a link with icon below`})}),(0,X.jsx)(Z,{id:`all`,fitContent:!0,children:(0,X.jsx)(mT,{_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`},_label:`I am a link with all icons`})}),(0,X.jsx)(Z,{id:`hide-label`,fitContent:!0,children:(0,X.jsx)(mT,{_icons:`kolicon-house`,_hideLabel:!0,_label:`I am a link with icon only`})})]}),"aria-description":mA}},_A=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This story demonstrates buttons with`,` `,(0,X.jsx)(Y,{_label:`access keys`,_href:`https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey`,_target:`blank`}),`. Access keys allow users to trigger buttons using keyboard shortcuts.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`buttons-access-keys`,heading:`Buttons with Access Keys`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`With S access key`,_accessKey:`S`,_on:t}),(0,X.jsx)(K,{_label:`Very small b`,_accessKey:`b`,_on:t}),(0,X.jsx)(K,{_label:`Access key does not appear in label`,_accessKey:`x`,_on:t})]})}),(0,X.jsx)(Z,{id:`access-key-hidden-label`,heading:`Access Key with Hidden Label`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`access key without label`,_hideLabel:!0,_accessKey:`a`,_icons:`kolicon-cogwheel`,_on:t})})}),(0,X.jsx)(Z,{id:`access-key-inline-icons`,heading:`Access Key with Inline Icons`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`with inline icons`,_icons:{left:`kolicon-cogwheel`,right:`kolicon-cogwheel`},_accessKey:`n`,_on:t})})})]})]})},vA=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates buttons with ARIA descriptions. The aria-description attribute provides additional descriptive text for screen readers, helping users understand the button's purpose or action in more detail.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`buttons-aria-description`,heading:`Buttons with and without ARIA Description`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`Button without ARIA description`,_on:t}),(0,X.jsx)(K,{_label:`Button with ARIA description`,_ariaDescription:`This button performs an important action`,_on:t})]})})})]})},yA=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates button baseline alignment. It shows multiple buttons with and without icons that are vertically aligned, useful for testing layout consistency.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`vertically-aligned-buttons`,heading:`Vertically Aligned Buttons`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:`Label-Text`,_on:t}),(0,X.jsx)(K,{_icons:`kolicon-cogwheel`,_label:`Label-Text with Icon`,_on:t})]})})})]})},bA={name:`Unstyled (Uncolored)`,key:`unstyled`},xA=[{name:`Default`,key:`default`},{name:`BWSt (v4)`,key:`bwst`},{name:`European Commission (v4)`,key:`ecl-ec`},{name:`European Union (in progress)`,key:`ecl-eu`},{name:`KERN-UX Standard (v2)`,key:`kern-v2`},{name:`Zoll Design System (v11)`,key:`desy-v11`}],SA=[`default`],CA=()=>[bA,...xA],wA=e=>`theme-variant-data:${e}`,TA=e=>`assets/variants/inject-variants_${e}.json`,EA=(e=CA())=>new Map(e.map(({key:e})=>[wA(e),TA(e)])),DA=new Map,OA=new Map,kA=new Set,AA=async(e,t)=>{try{let n=await fetch(t);if(n.status===404)return;if(!n.ok){console.warn(`Error fetching sample app data: HTTP `+n.status);return}let r=await n.json();r&&typeof r==`object`&&!Array.isArray(r)&&DA.set(e,r)}catch(e){console.warn(`Sample app data file could not be loaded or parsed`,e)}},jA=(e,t)=>{let n=OA.get(e);return n||(n=AA(e,t).then(()=>{kA.add(e)}),OA.set(e,n)),n},MA={getValue:e=>DA.get(e),initialize:async e=>{await Promise.all(Array.from(EA(e),([e,t])=>jA(e,t)))},isInitialized:e=>Array.from(EA(e).keys()).every(e=>kA.has(e))};function NA(e,t){let n=MA.getValue(wA(e))?.[t];return Array.isArray(n)?n.filter(e=>typeof e==`string`):[]}var PA=`public-ui.v${dk.version}`,FA=class{store=new Map;setItem(e,t){this.store.set(e,t)}getItem(e){return this.store.get(e)||null}},IA={darkMode:!1,theme:`default`,registeredThemes:[]},LA;function RA(e){LA=e;let t=LA.getItem(PA);try{let e=JSON.parse(t);typeof e==`object`&&e&&(IA.darkMode=e.darkMode===!0,typeof e.theme==`string`&&e.theme.length>0&&(IA.theme=e.theme))}catch{}}RA(new FA);var zA=()=>{LA.setItem(PA,JSON.stringify(IA))},BA=e=>{IA.registeredThemes=e,VA(IA.theme)||(IA.theme=IA.nextTheme??e[1]?.key??bA.key,delete IA.nextTheme),zA()},VA=e=>IA.registeredThemes.findIndex(t=>t.key===e)!==-1||e===bA.key,HA=e=>{if(VA(e))IA.theme=e;else if(e)IA.nextTheme=e;else throw Error(`The theme identifier "${e}" is not valid or an available option.`);zA()},UA=()=>IA.theme??bA.key,WA=e=>{if(IA.registeredThemes.length===0)return e;if(VA(e))return IA.registeredThemes.find(t=>t.key===e)?.name;throw Error(`The theme identifier "${e}" is not valid or an available option.`)},GA=e=>{IA.customThemes=e},KA=()=>{let{dummyClickEventHandler:e}=hA(),[t]=tk(),n=t.get(`theme`)??UA(),r=(0,w.useMemo)(()=>n?NA(n,`buttonVariants`):[],[n]),i={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the most important features of the KolButton component. It showcases the different button variants, icons, disabled state, and hidden labels. All available button variants for this theme are shown. You can import ButtonVariantsEnum from your theme to always use the right variants.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`variants`,heading:`Button Variants`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(r)||r.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):r.map(e=>(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`${e}`,_variant:e,_on:i},e))})}),(0,X.jsx)(Z,{id:`disabled`,heading:`Disabled State`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(r)||r.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):r.map(e=>(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`${e}`,_variant:e,_on:i,_disabled:!0},e))})}),(0,X.jsx)(Z,{id:`hide-label`,heading:`Hidden Label (Icon Only)`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(r)||r.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):r.map(e=>(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-settings`,_label:`${e}`,_variant:e,_on:i},e))})}),(0,X.jsx)(Z,{id:`icon-positions`,heading:`Icon Positions`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`},_label:`Icon Left`,_on:i}),(0,X.jsx)(K,{_icons:{right:`kolicon-chevron-right`},_label:`Icon Right`,_on:i}),(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`Icons Both Sides`,_on:i})]})})]})]})},qA=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`All this buttons are in a grid with fixed height (60px) and width (25% of screen) and should accept this dimensions.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4 fixed-height-grid`,children:[(0,X.jsx)(K,{_variant:`primary`,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,X.jsx)(K,{_variant:`primary`,_hideLabel:!0,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,X.jsx)(NT,{_variant:`primary`,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t}),(0,X.jsx)(NT,{_variant:`primary`,_hideLabel:!0,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t})]})]})},JA=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the disabled state of buttons. Disabled buttons are not clickable and appear visually dimmed.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`disabled`,heading:`Disabled Buttons`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-cogwheel`,_label:`Tertiary`,_variant:`tertiary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-cogwheel`,_label:`Normal`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-eye-closed`,_label:`Ghost`,_variant:`ghost`,_on:t})]})}),(0,X.jsx)(Z,{id:`comparison`,heading:`Comparison: Enabled vs Disabled`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`Enabled`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled`,_variant:`primary`,_on:t})]})})]})]})},YA=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the expert slot feature of KolButton. The expert slot allows you to insert custom content into the button, providing advanced customization options beyond the standard label and icon properties.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`buttons-expert-slot-content`,heading:`Buttons with Expert Slot Content`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:``,_variant:`primary`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`I am more than just a button`})}),(0,X.jsx)(K,{_icons:`kolicon-kolibri`,_label:``,_variant:`secondary`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`Custom content here`})}),(0,X.jsx)(K,{_icons:`kolicon-alert-warning`,_label:``,_variant:`danger`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`Delete with custom text`})}),(0,X.jsx)(K,{_label:``,_variant:`danger`,_on:t,children:(0,X.jsx)(xT,{_icons:`kolicon-alert-warning`,_label:`Delete with custom text`,slot:`expert`})})]})}),(0,X.jsx)(Z,{id:`disabled-buttons-expert-slot`,heading:`Disabled Buttons with Expert Slot`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-house`,_label:``,_variant:`primary`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`Disabled expert slot`})}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-eye-closed`,_label:``,_variant:`ghost`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`Another disabled one`})})]})})]})]})},XA=[{label:`Auto (instant)`,value:`auto`},{label:`Smooth (animated)`,value:`smooth`}],ZA=[{label:`Start`,value:`start`},{label:`Center`,value:`center`},{label:`End`,value:`end`},{label:`Nearest`,value:`nearest`}],QA=[{label:`Behavior`,key:`behavior`,options:XA},{label:`Block (vertical alignment)`,key:`block`,options:ZA},{label:`Inline (horizontal alignment)`,key:`inline`,options:ZA}],$A={padding:`1rem`,marginTop:`1rem`,border:`1px solid #ccc`},ej=()=>{let e=(0,w.useRef)(null),t=(0,w.useRef)(null),[n,r]=(0,w.useState)({behavior:`auto`,block:`start`,inline:`start`}),[i,a]=(0,w.useState)(!1),o=(0,w.useCallback)(async()=>{e.current&&(a(!1),await e.current.focus({...n,afterFocus:()=>{a(!0)}}))},[n]),s=(0,w.useCallback)(async()=>{t.current&&(a(!1),await t.current.focus({...n,afterFocus:()=>{a(!0)}}))},[n]),c=(0,w.useCallback)((e,t)=>{r(n=>({...n,[e]:t}))},[]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates KolFocusOptions for manual focus control with scroll-into-view behavior. It showcases vertical scrolling (element positioned below viewport) and horizontal scrolling (element positioned outside viewport). The focus options control how the element is scrolled into view, with the afterFocus callback triggering after scrolling completes.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsxs)(Z,{id:`scroll-behavior-options`,heading:`Scroll Behavior Options`,children:[(0,X.jsxs)(`p`,{children:[`These options control how elements are scrolled into view. `,(0,X.jsx)(`code`,{children:`preventScroll`}),` and `,(0,X.jsx)(`code`,{children:`focusVisible`}),` are always enabled for optimal focus management. Customize the scroll behavior and alignment below:`]}),(0,X.jsx)(`div`,{className:`grid gap-4`,children:QA.map((e,r)=>(0,X.jsx)(`div`,{className:`grid gap-2`,children:(0,X.jsx)(BT,{ref:r===0?t:null,_label:e.label,_options:e.options,_value:n[e.key],_on:{onChange:(t,n)=>{c(e.key,n)}}})},e.key))})]}),(0,X.jsxs)(Z,{id:`scroll-example`,heading:`Scroll Example`,children:[(0,X.jsx)(`p`,{children:`The target button is positioned bottom-right. Scroll down and right to find it, then click "Focus Target" to apply scroll behavior.`}),(0,X.jsx)(`div`,{className:`flex gap-4`,children:(0,X.jsx)(K,{_label:`Focus Target`,_variant:`primary`,onClick:o})}),(0,X.jsxs)(`p`,{children:[`Callback invoked: `,(0,X.jsx)(`strong`,{children:i?`Yes ✓`:`No`})]}),(0,X.jsx)(`div`,{style:{...$A,overflow:`auto`,width:`500px`,height:`600px`},children:(0,X.jsxs)(`div`,{style:{width:`2400px`,height:`2400px`,padding:`1rem`,position:`relative`},children:[(0,X.jsx)(`div`,{style:{padding:`1rem`,backgroundColor:`#f9f9f9`,borderRadius:`4px`},children:`Content area (scroll to find button)`}),(0,X.jsx)(K,{ref:e,_label:`Back to Top`,_variant:`primary`,onClick:s,style:{position:`absolute`,bottom:`1rem`,right:`1rem`}})]})})]}),(0,X.jsx)(`hr`,{}),(0,X.jsx)(Z,{id:`about-kol-focus-options`,heading:`About KolFocusOptions`,children:(0,X.jsxs)(`div`,{className:`indented-text`,children:[(0,X.jsx)(`p`,{children:`KolFocusOptions enables advanced focus control with scroll-into-view behavior:`}),(0,X.jsxs)(`ul`,{className:`list-disc pl-5`,children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`preventScroll:`}),` Always enabled — prevents browser auto-scroll and uses custom scroll options instead`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`focusVisible:`}),` Always enabled — ensures the focus ring is visible after focus`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`behavior:`}),` "auto" (instant) or "smooth" (animated) scroll`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`block:`}),` Vertical alignment (start, center, end, nearest)`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`inline:`}),` Horizontal alignment (start, center, end, nearest)`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`afterFocus:`}),` Optional callback invoked after focus and scroll complete`]})]})]})})]})]})},tj=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates buttons with hidden labels. The label is still accessible to screen readers but visually hidden, showing only the icon. This is useful for icon-only buttons.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`hide-label`,heading:`Buttons with Hidden Labels`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Like`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Subscribe`,_variant:`tertiary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Buy me a coffee`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Delete`,_variant:`danger`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-eye-closed`,_label:`Settings`,_variant:`ghost`,_on:t})]})}),(0,X.jsx)(Z,{id:`comparison`,heading:`Comparison: With and Without Hidden Label`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t})]})}),(0,X.jsx)(Z,{id:`disabled`,heading:`Disabled with Hidden Label`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Like`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Subscribe`,_variant:`tertiary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Buy me a coffee`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Delete`,_variant:`danger`,_on:t})]})})]})]})},nj=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases buttons with icons in various positions and configurations. Icons can be placed on the left, right, top, bottom, or in multiple positions at once.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`basic-positions`,heading:`Basic Icon Positions`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`},_label:`Icon Left`,_on:t}),(0,X.jsx)(K,{_icons:{right:`kolicon-chevron-right`},_label:`Icon Right`,_on:t}),(0,X.jsx)(K,{_icons:{top:`kolicon-chevron-up`},_label:`Icon Top`,_on:t}),(0,X.jsx)(K,{_icons:{bottom:`kolicon-chevron-down`},_label:`Icon Bottom`,_on:t})]})}),(0,X.jsx)(Z,{id:`multiple-positions`,heading:`Multiple Icon Positions`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`Left & Right`,_on:t}),(0,X.jsx)(K,{_icons:{top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`},_label:`Top & Bottom`,_on:t})]})}),(0,X.jsx)(Z,{id:`all-positions`,heading:`All Icon Positions`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_icons:{top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`,left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`All Directions`,_on:t})})}),(0,X.jsx)(Z,{id:`icon-string`,heading:`Simple Icon String`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`Home Icon`,_on:t}),(0,X.jsx)(K,{_icons:`kolicon-kolibri`,_label:`Heart Icon`,_on:t}),(0,X.jsx)(K,{_icons:`kolicon-alert-warning`,_label:`Trash Icon`,_on:t})]})}),(0,X.jsx)(Z,{id:`large-icon`,heading:`Large Icon on Top`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_icons:{top:{style:{"font-size":`400%`},icon:`kolicon-house`}},_label:`Home`,_on:t})})})]})]})},rj=[`Quarterly report`,`Meeting notes`,`Travel expenses`],ij=()=>{let[e,t]=(0,w.useState)([`Meeting notes`]),n=e=>t(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This story shows a button toggling between the two pin icons, `,(0,X.jsx)(`code`,{children:`kolicon-pin-pinned`}),` and `,(0,X.jsx)(`code`,{children:`kolicon-pin-unpinned`}),`. Icon and label change together, so the current state is conveyed visually as well as to screen readers.`]})}),(0,X.jsx)(Z,{id:`pin-toggle`,heading:`Pin and unpin items`,fitContent:!0,children:(0,X.jsx)(`ul`,{className:`grid gap-2 list-none m-0 p-0`,children:rj.map(t=>{let r=e.includes(t);return(0,X.jsxs)(`li`,{className:`flex gap-2 items-center`,children:[(0,X.jsx)(K,{_hideLabel:!0,_icons:r?`kolicon-pin-pinned`:`kolicon-pin-unpinned`,_label:r?`Unpin ${t}`:`Pin ${t}`,_on:{onClick:()=>n(t)}}),(0,X.jsx)(`span`,{children:t})]},t)})})})]})},aj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates how the tooltip adapts its width when containing long text inside a row-reverse flex container. The effect becomes visible when inspecting the layout with DevTools and reducing the available width (e.g., by narrowing the screen).`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`button-row-reverse-container`,heading:`Button in Row-Reverse Container`,children:(0,X.jsx)(`div`,{className:`flex flex-row-reverse`,children:(0,X.jsx)(K,{_icons:`kolicon-house`,_hideLabel:!0,_label:`This is a very, very long tooltip text that exceeds the width.`,_variant:`primary`})})})})]}),oj=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e},n=w.useRef(e);return w.useEffect(()=>{n.current=e},[e]),w.useEffect(()=>{let e=e=>{e.altKey&&e.code===`KeyM`&&(e.preventDefault(),n.current())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates buttons with short keys. The short key is displayed as a visual indicator within the button label to communicate a recommended keyboard shortcut to the user.`})}),(0,X.jsxs)(uT,{_label:`Short keys are display-only`,_type:`info`,_variant:`card`,children:[(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`code`,{children:`_shortKey`}),` is `,(0,X.jsx)(`strong`,{children:`purely visual and assistive`}),`: it renders the badge and announces the shortcut via`,` `,(0,X.jsx)(`code`,{children:`aria-keyshortcuts`}),`, but it does `,(0,X.jsx)(`strong`,{children:`not`}),` bind a keyboard handler. Pressing the displayed combination on its own does nothing – you have to register the listener yourself (see the interactive example below).`]}),(0,X.jsxs)(`p`,{children:[`If you need a native, browser-handled shortcut instead, use`,` `,(0,X.jsx)(Y,{_label:`_accessKey`,_href:`https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey`,_target:`_blank`}),`. Note that native access keys are triggered in a browser-specific way (e.g. `,(0,X.jsx)(`kbd`,{children:`Alt`}),` + `,(0,X.jsx)(`kbd`,{children:`Shift`}),` + key in Chrome on Windows).`]})]}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`short-keys`,heading:`Buttons with Short Keys`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`With S short key`,_shortKey:`S`,_on:t}),(0,X.jsx)(K,{_label:`Very small b`,_shortKey:`b`,_on:t}),(0,X.jsx)(K,{_label:`Short key does not appear in label`,_shortKey:`x`,_on:t})]})}),(0,X.jsx)(Z,{id:`hide-label`,heading:`Short Key with Hidden Label`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`short key without label`,_hideLabel:!0,_shortKey:`k`,_icons:`kolicon-cogwheel`,_on:t})})}),(0,X.jsx)(Z,{id:`inline-icons`,heading:`Short Key with Inline Icons`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`with inline icons`,_icons:{left:`kolicon-cogwheel`,right:`kolicon-cogwheel`},_shortKey:`n`,_on:t})})}),(0,X.jsxs)(`p`,{children:[`This button wires the announced short key up manually: a `,(0,X.jsx)(`code`,{children:`keydown`}),` listener triggers the same action as a click. Press `,(0,X.jsx)(`kbd`,{children:`Alt`}),` +`,` `,(0,X.jsx)(`kbd`,{children:`M`}),` (or click the button) to open the toast.`]}),(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`With working M short key`,_shortKey:`m`,_on:t})})]})]})},sj=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates icon-only buttons with an animated spinning loader icon. The animation is applied using CSS parts to target the icon element directly.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`animated-spinner-icon-css-part`,heading:`Animated Spinner Icon via CSS Part`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{className:`spinner-button`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Loading`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{className:`spinner-button spinner-slow`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Syncing`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{className:`spinner-button spinner-slower`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Processing`,_variant:`tertiary`,_on:t})]})}),(0,X.jsx)(Z,{id:`spinner-label`,heading:`Spinner with Label`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{className:`spinner-button`,_icons:{left:`kolicon-cogwheel`},_label:`Loading...`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{className:`spinner-button`,_icons:{left:`kolicon-cogwheel`},_label:`Syncing...`,_variant:`secondary`,_on:t})]})})]}),(0,X.jsx)(`style`,{children:`
34
+ @keyframes spin {
35
+ from {
36
+ transform: rotate(0deg);
37
+ }
38
+ to {
39
+ transform: rotate(360deg);
40
+ }
41
+ }
42
+
43
+ /* Target the icon part inside the button */
44
+ .spinner-button::part(icon) {
45
+ animation: spin 1s linear infinite;
46
+ }
47
+
48
+ .spinner-slow::part(icon) {
49
+ animation-duration: 1.5s;
50
+ }
51
+
52
+ .spinner-slower::part(icon) {
53
+ animation-duration: 2s;
54
+ }
55
+
56
+ @media (prefers-reduced-motion) {
57
+ .spinner-button::part(icon){
58
+ animation-duration: 10s;
59
+ }
60
+ }
61
+ `})]})},cj=[`top`,`right`,`bottom`,`left`],lj={button:{basic:KA,disabled:JA,"hide-label":tj,icons:nj,"pin-toggle":ij,spinner:sj,width:()=>{let{dummyClickEventHandler:e}=hA(),t={className:`w-8rem`,_on:{onClick:e}};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates buttons with custom widths. You can control the button width using CSS classes.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`fixed-width-buttons-8rem`,heading:`Fixed Width Buttons (8rem)`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`Primary`,_variant:`primary`,...t}),(0,X.jsx)(K,{_label:`Secondary`,_variant:`secondary`,...t}),(0,X.jsx)(K,{_label:`Normal`,_variant:`normal`,...t}),(0,X.jsx)(K,{_label:`Danger`,_variant:`danger`,...t}),(0,X.jsx)(K,{_label:`Ghost`,_variant:`ghost`,...t})]})}),(0,X.jsx)(Z,{id:`fixed-width-disabled-buttons`,heading:`Fixed Width Disabled Buttons (8rem)`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_disabled:!0,_label:`Primary`,_variant:`primary`,...t}),(0,X.jsx)(K,{_disabled:!0,_label:`Secondary`,_variant:`secondary`,...t}),(0,X.jsx)(K,{_disabled:!0,_label:`Normal`,_variant:`normal`,...t}),(0,X.jsx)(K,{_disabled:!0,_label:`Danger`,_variant:`danger`,...t}),(0,X.jsx)(K,{_disabled:!0,_label:`Ghost`,_variant:`ghost`,...t})]})})]})]})},"access-key":_A,"aria-description":vA,baselined:yA,"short-key":oj,"expert-slot":YA,"row-reverse-tooltip":aj,"tooltip-align":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`With a hidden label, the label is shown as tooltip on hover and focus. `,(0,X.jsx)(`code`,{children:`_tooltipAlign`}),` places it on one of the four sides. A button places it on top by default, a link on the right.`]}),(0,X.jsx)(`p`,{children:`Hover or focus the elements to see the tooltips.`})]}),(0,X.jsxs)(Z,{id:`tooltip-align`,className:`grid grid-cols-2 gap-16 p-16 justify-items-center`,skipSnapshot:!0,children:[cj.map(e=>(0,X.jsx)(K,{_label:`Tooltip ${e}`,_icons:`kolicon-alert-info`,_hideLabel:!0,_tooltipAlign:e},e)),(0,X.jsx)(K,{_label:`Button with default (top)`,_icons:`kolicon-check`,_hideLabel:!0}),(0,X.jsx)(Y,{_label:`Link with default (right)`,_icons:`kolicon-link`,_hideLabel:!0,_href:`#/back-page`})]})]}),"focus-options":ej,"fixed-grid":qA}},uj={card:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolCard shows a card with title and slot content. The second sample features a close button.`})}),(0,X.jsxs)(Z,{id:`basic`,className:`w-full grid grid-cols-2 gap-4`,narrow:!0,children:[(0,X.jsx)(hT,{_label:`Card with title and content`,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(hT,{_label:`Card with closer`,_hasCloser:!0,children:(0,X.jsx)(`p`,{children:`This card has a close button.`})})]})]}),"closer-callback":()=>{let[e,t]=(0,w.useState)(!0),[n,r]=(0,w.useState)(0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The close button of KolCard calls `,(0,X.jsx)(`code`,{children:`_on.onClose`}),`. The card does not hide itself; the application decides what happens. Here the callback removes the card, and the button below brings it back.`]})}),(0,X.jsxs)(Z,{id:`closer-callback`,className:`grid gap-4`,skipSnapshot:!0,children:[e?(0,X.jsx)(hT,{_label:`Card that closes itself`,_hasCloser:!0,_on:{onClose:()=>{t(!1),r(e=>e+1)}},children:(0,X.jsx)(`p`,{children:`Click the close button to remove the card.`})}):(0,X.jsx)(K,{_label:`Show the card again`,_on:{onClick:()=>t(!0)}}),(0,X.jsxs)(`p`,{"aria-live":`polite`,children:[`Closed `,n,` time(s).`]})]})]})},headlines:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows cards with all headline levels as title.`})}),(0,X.jsxs)(Z,{id:`headlines`,className:`w-full grid grid-cols-2 gap-4`,children:[(0,X.jsx)(hT,{_label:`Card with headline level 0`,_level:0,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(hT,{_label:`Card with headline level 1`,_level:1,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(hT,{_label:`Card with headline level 2`,_level:2,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(hT,{_label:`Card with headline level 3`,_level:3,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(hT,{_label:`Card with headline level 4`,_level:4,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(hT,{_label:`Card with headline level 5`,_level:5,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(hT,{_label:`Card with headline level 6`,_level:6,children:(0,X.jsx)(`p`,{children:`Card contents.`})})]})]}),linked:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolCards with links. The headline is wrapped with an a-tag. The whole card is clickable.`})}),(0,X.jsxs)(Z,{id:`linked`,className:`w-full grid grid-cols-2 gap-4`,children:[(0,X.jsx)(hT,{_label:`Card with title and content`,_href:`#/back-page`,children:(0,X.jsx)(`p`,{children:`This card has a link.`})}),(0,X.jsx)(hT,{_label:`Card with title and content`,_href:`#/back-page`,_target:`_blank`,children:(0,X.jsx)(`p`,{children:`This card has a link and a target.`})})]})]})}},dj=({RefComponent:e,showButtons:t=!0,...n})=>(0,X.jsx)(bT,{className:`w-full`,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(e,{...n}),t&&(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(K,{_label:`Submit`,_icons:`kolicon-chevron-right`,_type:`submit`,_variant:`primary`}),(0,X.jsx)(K,{_label:`Bunte Icons`,_icons:{left:{icon:`kolicon-house`,style:{color:`#cc006e`}},right:{icon:`kolicon-kolibri`,style:{color:`#b41b1b`}}},_type:`submit`,_variant:`secondary`}),(0,X.jsx)(K,{_label:`Reset`,_type:`reset`,_variant:`tertiary`}),(0,X.jsx)(K,{_label:`Help`,_variant:`ghost`})]})]})});function fj({children:e}){let[t]=tk(),n=t.has(`noColumns`);return(0,X.jsx)(`div`,{className:n?``:`grid md:grid-cols-2 gap-4`,children:e})}var pj=({heading:e,level:t=2,children:n,...r})=>(0,X.jsxs)(`section`,{...r,children:[e?(0,X.jsx)(q,{_level:t,_label:e}):null,n]}),mj=JSON.parse(`[{"id":4,"alpha2":"af","alpha3":"afg","name":"Afghanistan"},{"id":818,"alpha2":"eg","alpha3":"egy","name":"Ägypten"},{"id":8,"alpha2":"al","alpha3":"alb","name":"Albanien"},{"id":12,"alpha2":"dz","alpha3":"dza","name":"Algerien"},{"id":20,"alpha2":"ad","alpha3":"and","name":"Andorra"},{"id":24,"alpha2":"ao","alpha3":"ago","name":"Angola"},{"id":28,"alpha2":"ag","alpha3":"atg","name":"Antigua und Barbuda"},{"id":226,"alpha2":"gq","alpha3":"gnq","name":"Äquatorialguinea"},{"id":32,"alpha2":"ar","alpha3":"arg","name":"Argentinien"},{"id":51,"alpha2":"am","alpha3":"arm","name":"Armenien"},{"id":31,"alpha2":"az","alpha3":"aze","name":"Aserbaidschan"},{"id":231,"alpha2":"et","alpha3":"eth","name":"Äthiopien"},{"id":36,"alpha2":"au","alpha3":"aus","name":"Australien"},{"id":44,"alpha2":"bs","alpha3":"bhs","name":"Bahamas"},{"id":48,"alpha2":"bh","alpha3":"bhr","name":"Bahrain"},{"id":50,"alpha2":"bd","alpha3":"bgd","name":"Bangladesch"},{"id":52,"alpha2":"bb","alpha3":"brb","name":"Barbados"},{"id":112,"alpha2":"by","alpha3":"blr","name":"Belarus"},{"id":56,"alpha2":"be","alpha3":"bel","name":"Belgien"},{"id":84,"alpha2":"bz","alpha3":"blz","name":"Belize"},{"id":204,"alpha2":"bj","alpha3":"ben","name":"Benin"},{"id":64,"alpha2":"bt","alpha3":"btn","name":"Bhutan"},{"id":68,"alpha2":"bo","alpha3":"bol","name":"Bolivien"},{"id":70,"alpha2":"ba","alpha3":"bih","name":"Bosnien und Herzegowina"},{"id":72,"alpha2":"bw","alpha3":"bwa","name":"Botswana"},{"id":76,"alpha2":"br","alpha3":"bra","name":"Brasilien"},{"id":96,"alpha2":"bn","alpha3":"brn","name":"Brunei"},{"id":100,"alpha2":"bg","alpha3":"bgr","name":"Bulgarien"},{"id":854,"alpha2":"bf","alpha3":"bfa","name":"Burkina Faso"},{"id":108,"alpha2":"bi","alpha3":"bdi","name":"Burundi"},{"id":152,"alpha2":"cl","alpha3":"chl","name":"Chile"},{"id":156,"alpha2":"cn","alpha3":"chn","name":"China, Volksrepublik"},{"id":188,"alpha2":"cr","alpha3":"cri","name":"Costa Rica"},{"id":208,"alpha2":"dk","alpha3":"dnk","name":"Dänemark"},{"id":276,"alpha2":"de","alpha3":"deu","name":"Deutschland"},{"id":212,"alpha2":"dm","alpha3":"dma","name":"Dominica"},{"id":214,"alpha2":"do","alpha3":"dom","name":"Dominikanische Republik"},{"id":262,"alpha2":"dj","alpha3":"dji","name":"Dschibuti"},{"id":218,"alpha2":"ec","alpha3":"ecu","name":"Ecuador"},{"id":384,"alpha2":"ci","alpha3":"civ","name":"Elfenbeinküste"},{"id":222,"alpha2":"sv","alpha3":"slv","name":"El Salvador"},{"id":232,"alpha2":"er","alpha3":"eri","name":"Eritrea"},{"id":233,"alpha2":"ee","alpha3":"est","name":"Estland"},{"id":748,"alpha2":"sz","alpha3":"swz","name":"Eswatini"},{"id":242,"alpha2":"fj","alpha3":"fji","name":"Fidschi"},{"id":246,"alpha2":"fi","alpha3":"fin","name":"Finnland"},{"id":250,"alpha2":"fr","alpha3":"fra","name":"Frankreich"},{"id":266,"alpha2":"ga","alpha3":"gab","name":"Gabun"},{"id":270,"alpha2":"gm","alpha3":"gmb","name":"Gambia"},{"id":268,"alpha2":"ge","alpha3":"geo","name":"Georgien"},{"id":288,"alpha2":"gh","alpha3":"gha","name":"Ghana"},{"id":308,"alpha2":"gd","alpha3":"grd","name":"Grenada"},{"id":300,"alpha2":"gr","alpha3":"grc","name":"Griechenland"},{"id":320,"alpha2":"gt","alpha3":"gtm","name":"Guatemala"},{"id":324,"alpha2":"gn","alpha3":"gin","name":"Guinea"},{"id":624,"alpha2":"gw","alpha3":"gnb","name":"Guinea-Bissau"},{"id":328,"alpha2":"gy","alpha3":"guy","name":"Guyana"},{"id":332,"alpha2":"ht","alpha3":"hti","name":"Haiti"},{"id":340,"alpha2":"hn","alpha3":"hnd","name":"Honduras"},{"id":356,"alpha2":"in","alpha3":"ind","name":"Indien"},{"id":360,"alpha2":"id","alpha3":"idn","name":"Indonesien"},{"id":368,"alpha2":"iq","alpha3":"irq","name":"Irak"},{"id":364,"alpha2":"ir","alpha3":"irn","name":"Iran"},{"id":372,"alpha2":"ie","alpha3":"irl","name":"Irland"},{"id":352,"alpha2":"is","alpha3":"isl","name":"Island"},{"id":376,"alpha2":"il","alpha3":"isr","name":"Israel"},{"id":380,"alpha2":"it","alpha3":"ita","name":"Italien"},{"id":388,"alpha2":"jm","alpha3":"jam","name":"Jamaika"},{"id":392,"alpha2":"jp","alpha3":"jpn","name":"Japan"},{"id":887,"alpha2":"ye","alpha3":"yem","name":"Jemen"},{"id":400,"alpha2":"jo","alpha3":"jor","name":"Jordanien"},{"id":116,"alpha2":"kh","alpha3":"khm","name":"Kambodscha"},{"id":120,"alpha2":"cm","alpha3":"cmr","name":"Kamerun"},{"id":124,"alpha2":"ca","alpha3":"can","name":"Kanada"},{"id":132,"alpha2":"cv","alpha3":"cpv","name":"Kap Verde"},{"id":398,"alpha2":"kz","alpha3":"kaz","name":"Kasachstan"},{"id":634,"alpha2":"qa","alpha3":"qat","name":"Katar"},{"id":404,"alpha2":"ke","alpha3":"ken","name":"Kenia"},{"id":417,"alpha2":"kg","alpha3":"kgz","name":"Kirgisistan"},{"id":296,"alpha2":"ki","alpha3":"kir","name":"Kiribati"},{"id":170,"alpha2":"co","alpha3":"col","name":"Kolumbien"},{"id":174,"alpha2":"km","alpha3":"com","name":"Komoren"},{"id":180,"alpha2":"cd","alpha3":"cod","name":"Kongo, Demokratische Republik"},{"id":178,"alpha2":"cg","alpha3":"cog","name":"Kongo, Republik"},{"id":408,"alpha2":"kp","alpha3":"prk","name":"Korea, Nord (Nordkorea)"},{"id":410,"alpha2":"kr","alpha3":"kor","name":"Korea, Süd (Südkorea)"},{"id":191,"alpha2":"hr","alpha3":"hrv","name":"Kroatien"},{"id":192,"alpha2":"cu","alpha3":"cub","name":"Kuba"},{"id":414,"alpha2":"kw","alpha3":"kwt","name":"Kuwait"},{"id":418,"alpha2":"la","alpha3":"lao","name":"Laos"},{"id":426,"alpha2":"ls","alpha3":"lso","name":"Lesotho"},{"id":428,"alpha2":"lv","alpha3":"lva","name":"Lettland"},{"id":422,"alpha2":"lb","alpha3":"lbn","name":"Libanon"},{"id":430,"alpha2":"lr","alpha3":"lbr","name":"Liberia"},{"id":434,"alpha2":"ly","alpha3":"lby","name":"Libyen"},{"id":438,"alpha2":"li","alpha3":"lie","name":"Liechtenstein"},{"id":440,"alpha2":"lt","alpha3":"ltu","name":"Litauen"},{"id":442,"alpha2":"lu","alpha3":"lux","name":"Luxemburg"},{"id":450,"alpha2":"mg","alpha3":"mdg","name":"Madagaskar"},{"id":454,"alpha2":"mw","alpha3":"mwi","name":"Malawi"},{"id":458,"alpha2":"my","alpha3":"mys","name":"Malaysia"},{"id":462,"alpha2":"mv","alpha3":"mdv","name":"Malediven"},{"id":466,"alpha2":"ml","alpha3":"mli","name":"Mali"},{"id":470,"alpha2":"mt","alpha3":"mlt","name":"Malta"},{"id":504,"alpha2":"ma","alpha3":"mar","name":"Marokko"},{"id":584,"alpha2":"mh","alpha3":"mhl","name":"Marshallinseln"},{"id":478,"alpha2":"mr","alpha3":"mrt","name":"Mauretanien"},{"id":480,"alpha2":"mu","alpha3":"mus","name":"Mauritius"},{"id":484,"alpha2":"mx","alpha3":"mex","name":"Mexiko"},{"id":583,"alpha2":"fm","alpha3":"fsm","name":"Mikronesien"},{"id":498,"alpha2":"md","alpha3":"mda","name":"Moldau"},{"id":492,"alpha2":"mc","alpha3":"mco","name":"Monaco"},{"id":496,"alpha2":"mn","alpha3":"mng","name":"Mongolei"},{"id":499,"alpha2":"me","alpha3":"mne","name":"Montenegro"},{"id":508,"alpha2":"mz","alpha3":"moz","name":"Mosambik"},{"id":104,"alpha2":"mm","alpha3":"mmr","name":"Myanmar"},{"id":516,"alpha2":"na","alpha3":"nam","name":"Namibia"},{"id":520,"alpha2":"nr","alpha3":"nru","name":"Nauru"},{"id":524,"alpha2":"np","alpha3":"npl","name":"Nepal"},{"id":554,"alpha2":"nz","alpha3":"nzl","name":"Neuseeland"},{"id":558,"alpha2":"ni","alpha3":"nic","name":"Nicaragua"},{"id":528,"alpha2":"nl","alpha3":"nld","name":"Niederlande"},{"id":562,"alpha2":"ne","alpha3":"ner","name":"Niger"},{"id":566,"alpha2":"ng","alpha3":"nga","name":"Nigeria"},{"id":807,"alpha2":"mk","alpha3":"mkd","name":"Nordmazedonien"},{"id":578,"alpha2":"no","alpha3":"nor","name":"Norwegen"},{"id":512,"alpha2":"om","alpha3":"omn","name":"Oman"},{"id":40,"alpha2":"at","alpha3":"aut","name":"Österreich"},{"id":626,"alpha2":"tl","alpha3":"tls","name":"Osttimor"},{"id":586,"alpha2":"pk","alpha3":"pak","name":"Pakistan"},{"id":585,"alpha2":"pw","alpha3":"plw","name":"Palau"},{"id":591,"alpha2":"pa","alpha3":"pan","name":"Panama"},{"id":598,"alpha2":"pg","alpha3":"png","name":"Papua-Neuguinea"},{"id":600,"alpha2":"py","alpha3":"pry","name":"Paraguay"},{"id":604,"alpha2":"pe","alpha3":"per","name":"Peru"},{"id":608,"alpha2":"ph","alpha3":"phl","name":"Philippinen"},{"id":616,"alpha2":"pl","alpha3":"pol","name":"Polen"},{"id":620,"alpha2":"pt","alpha3":"prt","name":"Portugal"},{"id":646,"alpha2":"rw","alpha3":"rwa","name":"Ruanda"},{"id":642,"alpha2":"ro","alpha3":"rou","name":"Rumänien"},{"id":643,"alpha2":"ru","alpha3":"rus","name":"Russland"},{"id":90,"alpha2":"sb","alpha3":"slb","name":"Salomonen"},{"id":894,"alpha2":"zm","alpha3":"zmb","name":"Sambia"},{"id":882,"alpha2":"ws","alpha3":"wsm","name":"Samoa"},{"id":674,"alpha2":"sm","alpha3":"smr","name":"San Marino"},{"id":678,"alpha2":"st","alpha3":"stp","name":"São Tomé und Príncipe"},{"id":682,"alpha2":"sa","alpha3":"sau","name":"Saudi-Arabien"},{"id":752,"alpha2":"se","alpha3":"swe","name":"Schweden"},{"id":756,"alpha2":"ch","alpha3":"che","name":"Schweiz"},{"id":686,"alpha2":"sn","alpha3":"sen","name":"Senegal"},{"id":688,"alpha2":"rs","alpha3":"srb","name":"Serbien"},{"id":690,"alpha2":"sc","alpha3":"syc","name":"Seychellen"},{"id":694,"alpha2":"sl","alpha3":"sle","name":"Sierra Leone"},{"id":716,"alpha2":"zw","alpha3":"zwe","name":"Simbabwe"},{"id":702,"alpha2":"sg","alpha3":"sgp","name":"Singapur"},{"id":703,"alpha2":"sk","alpha3":"svk","name":"Slowakei"},{"id":705,"alpha2":"si","alpha3":"svn","name":"Slowenien"},{"id":706,"alpha2":"so","alpha3":"som","name":"Somalia"},{"id":724,"alpha2":"es","alpha3":"esp","name":"Spanien"},{"id":144,"alpha2":"lk","alpha3":"lka","name":"Sri Lanka"},{"id":659,"alpha2":"kn","alpha3":"kna","name":"St. Kitts und Nevis"},{"id":662,"alpha2":"lc","alpha3":"lca","name":"St. Lucia"},{"id":670,"alpha2":"vc","alpha3":"vct","name":"St. Vincent und die Grenadinen"},{"id":710,"alpha2":"za","alpha3":"zaf","name":"Südafrika"},{"id":729,"alpha2":"sd","alpha3":"sdn","name":"Sudan"},{"id":728,"alpha2":"ss","alpha3":"ssd","name":"Südsudan"},{"id":740,"alpha2":"sr","alpha3":"sur","name":"Suriname"},{"id":760,"alpha2":"sy","alpha3":"syr","name":"Syrien"},{"id":762,"alpha2":"tj","alpha3":"tjk","name":"Tadschikistan"},{"id":834,"alpha2":"tz","alpha3":"tza","name":"Tansania"},{"id":764,"alpha2":"th","alpha3":"tha","name":"Thailand"},{"id":768,"alpha2":"tg","alpha3":"tgo","name":"Togo"},{"id":776,"alpha2":"to","alpha3":"ton","name":"Tonga"},{"id":780,"alpha2":"tt","alpha3":"tto","name":"Trinidad und Tobago"},{"id":148,"alpha2":"td","alpha3":"tcd","name":"Tschad"},{"id":203,"alpha2":"cz","alpha3":"cze","name":"Tschechien"},{"id":788,"alpha2":"tn","alpha3":"tun","name":"Tunesien"},{"id":792,"alpha2":"tr","alpha3":"tur","name":"Türkei"},{"id":795,"alpha2":"tm","alpha3":"tkm","name":"Turkmenistan"},{"id":798,"alpha2":"tv","alpha3":"tuv","name":"Tuvalu"},{"id":800,"alpha2":"ug","alpha3":"uga","name":"Uganda"},{"id":804,"alpha2":"ua","alpha3":"ukr","name":"Ukraine"},{"id":348,"alpha2":"hu","alpha3":"hun","name":"Ungarn"},{"id":858,"alpha2":"uy","alpha3":"ury","name":"Uruguay"},{"id":860,"alpha2":"uz","alpha3":"uzb","name":"Usbekistan"},{"id":548,"alpha2":"vu","alpha3":"vut","name":"Vanuatu"},{"id":862,"alpha2":"ve","alpha3":"ven","name":"Venezuela"},{"id":784,"alpha2":"ae","alpha3":"are","name":"Vereinigte Arabische Emirate"},{"id":840,"alpha2":"us","alpha3":"usa","name":"Vereinigte Staaten"},{"id":826,"alpha2":"gb","alpha3":"gbr","name":"Vereinigtes Königreich"},{"id":704,"alpha2":"vn","alpha3":"vnm","name":"Vietnam"},{"id":140,"alpha2":"cf","alpha3":"caf","name":"Zentralafrikanische Republik"},{"id":196,"alpha2":"cy","alpha3":"cyp","name":"Zypern"}]`),hj=[...mj.map(e=>({label:e.name,value:e.alpha2}))],gj=[...mj.map(e=>e.name)],_j=({blockIdPrefix:e,snapshotOnly:t,...n})=>{let r=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...r(`hint`),children:(0,X.jsx)(gT,{...n,_hint:rA,_label:`Label`,_suggestions:gj,_value:`Deutschland`})}),(0,X.jsx)(Z,{...r(`disabled`),children:(0,X.jsx)(gT,{...n,_label:`Disabled`,_suggestions:gj,_value:`Deutschland`,_disabled:!0})}),(0,X.jsx)(Z,{...r(`error`),children:(0,X.jsx)(gT,{...n,_suggestions:gj,_msg:{_type:`error`,_description:nA},_touched:!0,_label:`Label`,_placeholder:`Placeholder`,_required:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...r(`access-key`),children:(0,X.jsx)(gT,{...n,_label:`With access key`,_suggestions:gj,_value:`Deutschland`,_accessKey:`c`})}),(0,X.jsx)(Z,{...r(`short-key`),skipSnapshot:n._hideLabel,children:(0,X.jsx)(gT,{...n,_label:`With short key`,_suggestions:gj,_value:`Deutschland`,_shortKey:`s`})})]})},vj=e=>(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Text`,children:(0,X.jsx)(_j,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Text (hideLabel)`,children:(0,X.jsx)(_j,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,...e,_hideLabel:!0})})]}),yj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolCombobox combines a text input with a suggestion list, enabling users to either type in a value or to select on of the suggestions.`})}),(0,X.jsx)(dj,{RefComponent:vj,showButtons:!1})]}),bj=e=>{console.log(`${e.type} (Native Event)`,e)},xj=e=>{console.log(`${e.type} (Callback Event)`,e)},Sj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`A HTML only KolCombobox.`})}),(0,X.jsx)(gT,{_label:`With string array in html`,_suggestions:`['Herr','Frau','Firma']`,_value:`Herr`,_on:{onBlur:xj,onChange:xj,onClick:xj,onFocus:xj,onInput:xj,onKeyDown:xj},onBlur:bj,onChange:bj,onClick:bj,onFocus:bj,onInput:bj,onKeyDown:bj})]}),Cj=({show:e})=>e?(0,X.jsx)(`div`,{className:`loading-overlay`,children:(0,X.jsx)(UT,{_label:`loading`,_show:e,_variant:`cycle`,style:{backgroundColor:`transparent`}})}):null,wj={combobox:{basic:yj,html:Sj,"lazy-loaded":()=>{let[e,t]=(0,w.useState)([]),[n,r]=(0,w.useState)(!1);function i(){e.length>0||(r(!0),setTimeout(()=>{t(gj),r(!1)},5e3))}return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This combobox loads its list of countries 5 seconds after the first input of the user to simulate a call to the server.`})}),(0,X.jsxs)(`section`,{className:`w-full relative p-3`,children:[(0,X.jsx)(gT,{_label:`Lazy loaded countries`,_suggestions:e,onInput:()=>i()}),(0,X.jsx)(Cj,{show:n})]})]})}}},Tj={details:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolDetails hides its content until opened. The open state can be toggled either by clicking the label or by setting the `,(0,X.jsx)(`code`,{children:`_open`}),`-prop programmatically. The sample includes an initially open state and a disabled but open Details component.`]})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(_T,{_label:`Closed initially`,children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.`})}),(0,X.jsx)(_T,{_disabled:!0,_label:`Open initially (disabled)`,_open:!0,children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.`})}),(0,X.jsx)(_T,{_label:`Open initially`,_open:!0,children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.`})})]})]})}},Ej=()=>{let[e]=tk(),t=e.get(`show-dialog`),n=(0,w.useRef)(null),r=(0,w.useRef)(null),i={onClick:()=>n.current?.openModal()},a={onClick:()=>r.current?.openModal()};return(0,w.useEffect)(()=>{t===`true`&&(async()=>{await n.current?.openModal(),await r.current?.openModal()})()},[t]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolDialog supports the variants `,(0,X.jsx)(`code`,{children:`blank`}),` and `,(0,X.jsx)(`code`,{children:`card`}),`. The card variant includes a `,(0,X.jsx)(`code`,{children:`KolCard`}),` container and a closer button.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(K,{_label:`Open blank dialog`,_on:i}),(0,X.jsx)(vT,{ref:n,_label:`Blank dialog`,_variant:`blank`,_width:`40%`,children:(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded shadow`,children:[(0,X.jsx)(`p`,{className:`mt-0`,children:`You must add styling and a close button yourself.`}),(0,X.jsx)(K,{_label:`Open card dialog`,className:`mr`,_on:a}),(0,X.jsx)(K,{_label:`Close`,_on:{onClick:()=>n.current?.closeModal()}})]})})]}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(K,{_label:`Open card dialog`,_on:a}),(0,X.jsx)(vT,{ref:r,_label:`Card dialog`,_variant:`card`,_width:`30%`,children:(0,X.jsx)(`p`,{className:`mt-0`,children:`This variant wraps content inside a KolCard.`})})]})]})]})},Dj={dialog:{basic:Ej,"scroll-lock":()=>{let e=(0,w.useRef)(null),t=(0,w.useRef)(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`Demonstrates that opening `,(0,X.jsx)(`strong`,{children:`KolDialog`}),`/`,(0,X.jsx)(`strong`,{children:`KolModal`}),` or `,(0,X.jsx)(`strong`,{children:`KolDrawer`}),` modally locks the background scroll: the page behind the overlay must not scroll, neither via mouse wheel/touch over the backdrop nor by dragging the page scrollbar. Non-modal`,` `,(0,X.jsx)(`code`,{children:`show()`}),` does not lock.`]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`How to test:`}),` scroll this long page down a bit, open the dialog or drawer below, then try to scroll the background (mouse wheel over the dimmed backdrop, or drag the scrollbar) – it should stay put. Close the overlay again and the page should scroll normally, restored to the same position without a layout shift.`]})]}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4 mb-4`,children:[(0,X.jsx)(K,{_label:`Open modal dialog`,_on:{onClick:()=>e.current?.showModal()}}),(0,X.jsx)(K,{_label:`Open modal drawer`,_on:{onClick:()=>t.current?.showModal()}})]}),(0,X.jsxs)(vT,{ref:e,_label:`Scroll lock dialog`,_variant:`card`,_width:`30%`,children:[(0,X.jsx)(`p`,{className:`mt-0`,children:`While I am open, the background must not scroll.`}),(0,X.jsx)(K,{_label:`Close`,_on:{onClick:()=>e.current?.closeModal()}})]}),(0,X.jsxs)(yT,{ref:t,_label:`Scroll lock drawer`,_align:`right`,children:[(0,X.jsx)(`p`,{className:`mt-0`,children:`While I am open, the background must not scroll.`}),(0,X.jsx)(K,{_label:`Close`,_on:{onClick:()=>t.current?.close()}})]}),(0,X.jsx)(`div`,{style:{height:`200vh`,flexShrink:0},className:`border border-dashed border-gray p-4`,children:(0,X.jsx)(`p`,{children:`This tall block simulates a long page. Scroll down, open an overlay above, and try to scroll here.`})})]})},"with-alert":()=>{let e=(0,w.useRef)(null),[t,n]=(0,w.useState)([]),[r,i]=(0,w.useState)(!0),a=e=>n(t=>[...t,`${new Date().toLocaleTimeString()} – ${e}`]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`Closing the `,(0,X.jsx)(`strong`,{children:`KolAlert`}),` inside the dialog must `,(0,X.jsx)(`em`,{children:`not`}),` trigger the dialog's `,(0,X.jsx)(`code`,{children:`onClose`}),` callback. Only closing the dialog itself (via the card closer or `,(0,X.jsx)(`code`,{children:`close()`}),`) should fire that callback.`]}),(0,X.jsxs)(`p`,{children:[`Watch the event log below: after clicking the alert closer you should see `,(0,X.jsx)(`em`,{children:`only`}),` "Alert onClose fired", not "Dialog onClose fired".`]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(K,{_label:`Open dialog with alert`,_on:{onClick:()=>{i(!0),e.current?.showModal()}}}),(0,X.jsx)(vT,{ref:e,_label:`Dialog with KolAlert inside`,_variant:`card`,_width:`40%`,_on:{onToggle:e=>console.log(`Dialog onToggle triggered!`,e),onClose:()=>{a(`Dialog onClose fired`)}},children:(0,X.jsxs)(`div`,{className:`p-4`,children:[r&&(0,X.jsx)(uT,{_label:`Closeable alert`,_type:`info`,_variant:`card`,_hasCloser:!0,_on:{onClose:()=>{a(`Alert onClose fired`),i(!1)}},children:`Close this alert – the dialog must stay open and its onClose must NOT fire.`}),!r&&(0,X.jsx)(`p`,{children:`Alert was closed. The dialog is still open – correct behaviour!`})]})})]}),t.length>0&&(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`strong`,{children:`Event log:`}),(0,X.jsx)(`ul`,{children:t.map((e,t)=>(0,X.jsx)(`li`,{children:e},t))})]})]})]})}}},Oj=[`left`,`top`,`right`,`bottom`].map(e=>({label:e,value:e})),kj=({value:e=`left`,onChange:t})=>(0,X.jsx)(`div`,{className:`grid gap-4`,children:(0,X.jsx)(`div`,{className:`container my-4 d-grid gap-4`,children:(0,X.jsx)(AT,{_label:`Drawer alignment`,_value:e,_options:Oj,_orientation:`horizontal`,_on:{onChange:t}})})}),Aj={drawer:{basic:()=>{let[e]=tk(),t=e.get(`align`),n=e.get(`closer`)===`true`,r=(0,w.useRef)(null),[i,a]=(0,w.useState)(t||`left`),[o,s]=(0,w.useState)(n);return(0,w.useEffect)(()=>{t&&r.current?.showModal()},[t]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolDrawer shows a dialog attached to one of the sides of the viewport, when opened. This sample illustrates the four alignments.`})}),(0,X.jsx)(kj,{value:i,onChange:(e,t)=>a(t)}),(0,X.jsx)(CT,{_label:`Drawer has closer`,className:`mb-4`,_checked:o,_on:{onInput:(e,t)=>{s(t===!0)}}}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(yT,{ref:r,_label:`I am a drawer`,_level:2,_align:i,_hasCloser:o,_on:{onClose:()=>console.log(`Drawer onClose triggered!`),onToggle:e=>console.log(`Drawer onToggle triggered!`,e)},children:(0,X.jsxs)(`div`,{className:i===`left`||i===`right`?`drawer-content-vertical`:``,children:[(0,X.jsx)(`p`,{className:`mt-0`,children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.`}),(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>r.current?.close()}})]})}),(0,X.jsx)(K,{_label:`Open drawer`,_on:{onClick:()=>r.current?.showModal()}})]})]})},controlled:()=>{let[e]=tk(),t=e.get(`align`),[n,r]=(0,w.useState)(!1),[i,a]=(0,w.useState)(t||`left`);return(0,X.jsxs)(`div`,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows the KolDrawer controlled by the property `,(0,X.jsx)(`code`,{children:`_open`}),` instead of methods.`]})}),(0,X.jsx)(kj,{value:i,onChange:(e,t)=>a(t)}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(yT,{_open:n,_align:i,_label:`I'm a controlled drawer`,_level:2,_on:{onClose:()=>r(!1)},children:(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet,`}),(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>r(!1)}})]})}),(0,X.jsx)(K,{_label:`Open drawer`,_on:{onClick:()=>r(!0)}})]})]})},scrolled:()=>{let e=(0,w.useRef)(null),[t,n]=(0,w.useState)(`bottom`),[r,i]=(0,w.useState)(!0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates how KolDrawer handles content that exceeds the drawer dimensions and shows the correct way to handle overflow. Use the "Enable Overflow Handling" toggle to see the difference between problematic behavior (content exceeding drawer bounds) and the proper solution (overflow handling within the slot content).`})}),(0,X.jsxs)(`div`,{className:`flex flex-col gap-4 mb-4`,children:[(0,X.jsx)(kj,{value:t,onChange:(e,t)=>n(t)}),(0,X.jsx)(CT,{_label:`Enable Overflow Handling (Recommended)`,_checked:r,_on:{onChange:(e,t)=>i(!!t)}})]}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(yT,{ref:e,_label:`Scrollable Drawer`,_level:2,_align:t,children:r?(0,X.jsx)(`div`,{style:{width:t===`left`||t===`right`?`90vw`:void 0,height:t===`top`||t===`bottom`?`90vh`:void 0,overflow:`auto`,padding:`0`,border:`1px solid #999`},children:(0,X.jsxs)(`div`,{style:{width:t===`left`||t===`right`?`150vw`:void 0,height:t===`top`||t===`bottom`?`150vh`:void 0,background:`linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)`,backgroundSize:`20px 20px`,backgroundPosition:`0 0, 0 10px, 10px -10px, -10px 0px`,border:`2px dashed #ccc`,padding:`20px`,display:`flex`,flexDirection:`column`,gap:`20px`},children:[(0,X.jsx)(`p`,{children:`Content with proper overflow handling - scrollable within drawer bounds`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h3`,{children:`Large Content Area (Scrollable)`}),(0,X.jsxs)(`p`,{children:[`Container: `,t===`left`||t===`right`?`400px wide`:`90vw wide`,` ×`,` `,t===`top`||t===`bottom`?`90vh high`:`400px high`]}),(0,X.jsxs)(`p`,{children:[`Content: `,t===`left`||t===`right`?`150vw wide`:`400px wide`,` ×`,` `,t===`top`||t===`bottom`?`150vh high`:`400px high`]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Overflow Handling:`}),` Enabled - Container has fixed size with overflow: auto`]}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`With overflow handling enabled, this content scrolls properly within the drawer container. You can scroll horizontally/vertically to see all content.`}),(0,X.jsx)(`div`,{style:{marginTop:`auto`,paddingTop:`40px`},children:(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>e.current?.close()}})})]})]})}):(0,X.jsxs)(`div`,{style:{width:t===`left`||t===`right`?`150vw`:`400px`,height:t===`top`||t===`bottom`?`150vh`:`400px`,background:`linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)`,backgroundSize:`20px 20px`,backgroundPosition:`0 0, 0 10px, 10px -10px, -10px 0px`,border:`2px dashed #ccc`,padding:`20px`,display:`flex`,flexDirection:`column`,gap:`20px`},children:[(0,X.jsx)(`p`,{children:`❌ Content exceeding drawer bounds - problematic behavior`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h3`,{children:`Large Content Area`}),(0,X.jsxs)(`p`,{children:[`Width: `,t===`left`||t===`right`?`150vw (exceeds drawer width)`:`400px`]}),(0,X.jsxs)(`p`,{children:[`Height: `,t===`top`||t===`bottom`?`150vh (exceeds drawer height)`:`400px`]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Overflow Handling:`}),` Disabled - Content extends beyond drawer boundaries`]}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Without overflow handling, this content may extend beyond the drawer boundaries, causing layout issues.`}),(0,X.jsx)(`div`,{style:{marginTop:`auto`,paddingTop:`40px`},children:(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>e.current?.close()}})})]})]})}),(0,X.jsx)(K,{_label:`Open scrollable drawer`,_on:{onClick:()=>e.current?.open()}})]})]})},"big-content":()=>{let e=(0,w.useRef)(null),[t,n]=(0,w.useState)(`bottom`);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates how KolDrawer handles content that exceeds the drawer dimensions.`})}),(0,X.jsx)(`div`,{className:`flex flex-col gap-4 mb-4`,children:(0,X.jsx)(kj,{value:t,onChange:(e,t)=>n(t)})}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(yT,{ref:e,_label:`Scrollable Drawer`,_align:t,_level:2,children:(0,X.jsxs)(`div`,{style:{width:t===`left`||t===`right`?`20vw`:void 0,height:t===`top`||t===`bottom`?`20vh`:void 0},children:[(0,X.jsx)(`h3`,{children:`Large Content Area (Scrollable)`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`div`,{style:{marginTop:`auto`,paddingTop:`40px`},children:(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>e.current?.close()}})})]})}),(0,X.jsx)(K,{_label:`Open scrollable drawer`,_on:{onClick:()=>e.current?.open()}})]})]})}}},jj={form:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolForm renders a form around the input components provided in a slot. This sample shows a basic form with three input fields and a submit button.`})}),(0,X.jsx)(Z,{id:`form-basic`,className:`grid gap-2`,children:(0,X.jsxs)(bT,{className:`w-full`,_on:{onSubmit:e=>console.log(`submitted:`,e)},children:[(0,X.jsx)(J,{id:`input1`,_label:`Input 1`}),(0,X.jsx)(J,{id:`input2`,_label:`Input 2`}),(0,X.jsx)(J,{id:`input3`,_label:`Input 3`}),(0,X.jsx)(K,{_label:`Submit`,_variant:`primary`,_type:`submit`})]})})]}),"error-list":()=>{let e=(0,w.useRef)(null);return(0,w.useEffect)(()=>{e.current?.focusErrorList()},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a form with error messages.`})}),(0,X.jsx)(Z,{id:`error-list`,children:(0,X.jsx)(bT,{className:`w-full`,ref:e,_on:{onSubmit:()=>{e.current?.focusErrorList()}},_errorList:[{message:`Error in Input 2 (default scroll behaviour)`,selector:`#input2`},{message:`Error in Input 3 (no scrolling, just alert)`,selector:()=>alert(`Error in Input 3`)},{message:`Error in Input 4 (custom scroll behaviour)`,selector:`#input4`,options:{behavior:`instant`,block:`start`,afterFocus:()=>console.log(`after Focus Input 4`)}}],children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,X.jsx)(J,{id:`input1`,_label:`Input 1`}),(0,X.jsx)(J,{id:`input2`,_label:`Input 2`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(J,{id:`input3`,_label:`Input 3`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(J,{id:`input4`,_label:`Input 4`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}})]})})})]})},"error-list-scroll":()=>{let e=(0,w.useRef)(null);return(0,w.useEffect)(()=>{e.current?.focusErrorList()},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a form with error messages.`})}),(0,X.jsx)(Z,{id:`error-list`,children:(0,X.jsx)(bT,{className:`w-full`,ref:e,_on:{onSubmit:()=>{e.current?.focusErrorList()}},_errorList:[{message:`Error in Input 2 (default scroll behaviour)`,selector:`#input2`},{message:`Error in Input 3 (no scrolling, just alert)`,selector:()=>alert(`Error in Input 3`)},{message:`Error in Input 4 (custom scroll behaviour)`,selector:`#input4`,options:{behavior:`instant`,block:`start`,afterFocus:()=>console.log(`after Focus Input 4`)}}],children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-250`,children:[(0,X.jsx)(J,{id:`input1`,_label:`Input 1`}),(0,X.jsx)(J,{id:`input2`,_label:`Input 2`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(J,{id:`input3`,_label:`Input 3`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(J,{id:`input4`,_label:`Input 4`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(`div`,{children:(0,X.jsx)(K,{_label:`ScrollTo`,_type:`submit`})})]})})})]})}}},Mj=new WeakMap,Nj=e=>(Mj.has(e)===!1&&Mj.set(e,(0,sk.createRoot)(e)),Mj.get(e)),Pj=[{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`},{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`},{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`},{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`},{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`}];function Fj(e){let{dummyClickEventHandler:t}=hA(),n={onClick:t};return(0,X.jsx)(K,{...e,_on:n})}var Ij={horizontal:[[{label:`Workdays`,colSpan:5,width:500},{label:`Weekend`,colSpan:2,width:200}],[{key:`monday`,label:`Monday`,render:(e,t)=>{let{label:n}=t;Lj(e,(0,X.jsx)(Fj,{_label:n,style:{fontSize:`75%`}}))},compareFn:(e,t)=>e.monday<t.monday?-1:+(e.monday>t.monday),sortDirection:`ASC`,textAlign:`right`,width:100},{key:`tuesday`,label:`Tuesday`,render:(e,t)=>{let{label:n}=t;Lj(e,(0,X.jsx)(fT,{_color:`#060`,_label:n}))},compareFn:(e,t)=>e.tuesday<t.tuesday?-1:+(e.tuesday>t.tuesday),sortDirection:`DESC`,width:100},{key:`wednesday`,label:`Wednesday`,render:(e,t)=>{let{label:n}=t;Lj(e,(0,X.jsx)(fT,{_color:`#006`,_label:n}))},width:110},{key:`thursday`,label:`Thursday`,render:(e,t)=>{let{label:n}=t;Lj(e,(0,X.jsx)(fT,{_color:`#600`,_label:n}))},width:100},{key:`friday`,label:`Friday`,render:(e,t)=>{let{label:n}=t;Lj(e,(0,X.jsx)(fT,{_color:`#303`,_label:n}))},width:100},{key:`saturday`,label:`Saturday`,render:(e,t)=>{let{label:n}=t;Lj(e,(0,X.jsx)(fT,{_color:`#330`,_label:n}))},width:100},{key:`sunday`,label:`Sunday`,render:(e,t)=>{let{label:n}=t;Lj(e,(0,X.jsx)(fT,{_color:`#033`,_label:n}))},width:100}]],vertical:[[{label:`Early`,width:100},{label:`Noon`,width:100},{label:`Evening`,width:100},{label:`Night`,width:100}]]},Lj=(e,t)=>{let n=document.createElement(`div`);n.setAttribute(`role`,`presentation`),e.innerHTML=``,e.appendChild(n),Nj(n).render(t)},Rj={handout:{basic:()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(`div`,{className:`grid gap-4 md:grid-cols-[auto_1fr_1fr] items-center`,children:[(0,X.jsx)(MT,{className:`block w-75px`,_labeled:!1}),(0,X.jsx)(q,{_label:``,_level:1,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`Kolibri-Handout `,(0,X.jsxs)(`small`,{children:[`for `,WA(UA())]})]})}),(0,X.jsxs)(_T,{_label:`Abstract`,_open:!0,children:[`The handout shows a selection of KoliBri components in the style of `,(0,X.jsx)(`strong`,{children:WA(UA())}),`. Since KoliBri offers self-contained, accessible web components that can be customized to your own corporate design using theming, you don't have to develop these components yourself. For more information read our documentation and follow us (`,(0,X.jsx)(Y,{_label:`https://github.com/public-ui/kolibri`,_href:`https://github.com/public-ui/kolibri`,_target:`_blank`}),`).`]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4 sm:grid-cols-6 md:grid-cols-6 xl:grid-cols-12`,children:[(0,X.jsx)(hT,{className:`col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2`,_label:`Heading`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsx)(q,{_label:`Heading Level 1`,_level:1}),(0,X.jsx)(q,{_label:`Heading Level 2`,_level:2}),(0,X.jsx)(q,{_label:`Heading Level 3`,_level:3}),(0,X.jsx)(q,{_label:`Heading Level 4`,_level:4}),(0,X.jsx)(q,{_label:`Heading Level 5`,_level:5}),(0,X.jsx)(q,{_label:`Heading Level 6`,_level:6}),(0,X.jsx)(q,{_label:`Heading Level 6`,_secondaryHeadline:`Lessons`,_level:6})]})}),(0,X.jsx)(hT,{className:`col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2`,_label:`Abbreviation and Progress`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsxs)(`p`,{children:[`I am `,(0,X.jsx)(cT,{children:`e.g.`}),` an abbreviation.`]}),(0,X.jsx)(RT,{_variant:`bar`,_max:100,_value:33,_label:`Progress`}),(0,X.jsx)(RT,{_variant:`cycle`,_max:100,_value:66,_label:`Progress`})]})}),(0,X.jsx)(hT,{className:`col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3`,_label:`Button, LinkButton and Tab`,_level:2,children:(0,X.jsx)(`div`,{slot:``,className:`grid gap-2 p-2`,children:(0,X.jsxs)(qT,{_label:``,_selected:0,_tabs:[{_label:`Button`},{_label:`LinkButton`},{_label:`Disabled Tab`,_disabled:!0}],children:[(0,X.jsxs)(`div`,{className:`grid gap-2 py-2`,children:[(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`},_label:`primary`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:{left:`kolicon-chevron-left`},_label:`primary`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-chevron-left`,_label:`primary`,_variant:`primary`,_on:t})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_icons:{right:`kolicon-chevron-right`},_label:`secondary`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:{right:`kolicon-chevron-right`},_label:`secondary`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-chevron-right`,_label:`secondary`,_variant:`secondary`,_on:t})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_icons:{top:`kolicon-chevron-up`},_label:`danger`,_variant:`danger`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:{top:`kolicon-chevron-up`},_label:`danger`,_variant:`danger`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-chevron-up`,_label:`danger`,_variant:`danger`,_on:t})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_icons:{bottom:`kolicon-chevron-down`},_label:`normal`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:{bottom:`kolicon-chevron-down`},_label:`normal`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-chevron-down`,_label:`normal`,_variant:`normal`,_on:t})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_label:`ghost`,_variant:`ghost`}),(0,X.jsx)(K,{_disabled:!0,_label:`ghost`,_variant:`ghost`}),(0,X.jsx)(K,{_icons:`kolicon-house`,_hideLabel:!0,_label:`ghost`,_variant:`ghost`,_on:t})]})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 py-2`,children:[(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(NT,{_href:`#/back-page`,_icons:{left:`kolicon-chevron-left`},_label:`primary`,_variant:`primary`}),(0,X.jsx)(NT,{_href:`#/back-page`,_icons:{left:`kolicon-chevron-left`},_label:`primary`,_variant:`primary`}),(0,X.jsx)(NT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-chevron-left`,_label:`primary`,_variant:`primary`})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(NT,{_href:`#/back-page`,_icons:{right:`kolicon-chevron-right`},_label:`secondary`,_variant:`secondary`}),(0,X.jsx)(NT,{_href:`#/back-page`,_icons:{right:`kolicon-chevron-right`},_label:`secondary`,_variant:`secondary`}),(0,X.jsx)(NT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-chevron-right`,_label:`secondary`,_variant:`secondary`})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(NT,{_href:`#/back-page`,_icons:{top:`kolicon-chevron-up`},_label:`danger`,_variant:`danger`}),(0,X.jsx)(NT,{_href:`#/back-page`,_icons:{top:`kolicon-chevron-up`},_label:`danger`,_variant:`danger`}),(0,X.jsx)(NT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-chevron-up`,_label:`danger`,_variant:`danger`})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(NT,{_href:`#/back-page`,_icons:{bottom:`kolicon-chevron-down`},_label:`normal`,_variant:`normal`}),(0,X.jsx)(NT,{_href:`#/back-page`,_icons:{bottom:`kolicon-chevron-down`},_label:`normal`,_variant:`normal`}),(0,X.jsx)(NT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-chevron-down`,_label:`normal`,_variant:`normal`})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(NT,{_href:`#/back-page`,_label:`ghost`,_variant:`ghost`}),(0,X.jsx)(NT,{_href:`#/back-page`,_label:`ghost`,_variant:`ghost`}),(0,X.jsx)(NT,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`ghost`,_variant:`ghost`})]})]})]})})}),(0,X.jsx)(hT,{className:`col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2`,_label:`Accordion, Link and ButtonLink`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsx)(lT,{_label:`Links`,_level:3,_open:!0,children:(0,X.jsxs)(`div`,{className:`grid gap-2`,slot:``,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link text`}),(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_label:`Link text with icon`}),(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link text with icon only`}),(0,X.jsx)(Y,{_href:`/`,_label:`Visited link`}),(0,X.jsxs)(`p`,{children:[`I am a `,(0,X.jsx)(Y,{_href:`#/back-page`,_label:`externer Link`,_target:`w3c`}),` in the running text.`]})]})}),(0,X.jsx)(lT,{_label:`ButtonLinks`,_level:3,children:(0,X.jsxs)(`div`,{className:`grid gap-2`,slot:``,children:[(0,X.jsx)(mT,{_label:`Link text`}),(0,X.jsx)(mT,{_icons:`kolicon-house`,_label:`Link text with icon`}),(0,X.jsx)(mT,{_icons:`kolicon-house`,_hideLabel:!0,_label:`Link text with icon only`}),(0,X.jsxs)(`p`,{children:[`I am a `,(0,X.jsx)(mT,{_label:`Link`}),` in the running text.`]}),(0,X.jsx)(mT,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`,top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`},_label:`Icons`})]})})]})}),(0,X.jsx)(hT,{className:`col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-3`,_label:`Alert`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsx)(uT,{_label:`Default message`,_type:`default`,children:`This is the text of the alert.`}),(0,X.jsx)(uT,{_type:`success`,children:`Success message text`}),(0,X.jsx)(uT,{_type:`error`,_hasCloser:!0,children:`This is a error message text.`}),(0,X.jsx)(uT,{_label:`Info card`,_type:`info`,_variant:`card`,children:`This is the text of the alert.`}),(0,X.jsx)(uT,{_label:`Warning card`,_type:`warning`,_hasCloser:!0,_variant:`card`,children:`This is the text of the alert.`})]})}),(0,X.jsx)(hT,{className:`col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2`,_label:`Nav and Breadcrumb`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsx)(`div`,{children:(0,X.jsx)(FT,{_label:`Main navigation`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`2 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_active:!0,_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 External navigation point`,_icons:`kolicon-house`,_href:`#/back-page`,_target:`_blank`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_active:!0,_label:`3.3.1 Navigation point (active)`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.3.2 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`}]}]},{_label:`3 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`}],_hasCompactButton:!0})}),(0,X.jsx)(`div`,{children:(0,X.jsx)(pT,{_label:`Breadcrumb aus Text-Links`,_links:[{_label:`Homepage`,_href:`#/back-page`},{_label:`Bottom of the homepage`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]})})]})}),(0,X.jsx)(hT,{className:`col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5`,_label:`Input`,_level:2,children:(0,X.jsx)(bT,{slot:``,children:(0,X.jsxs)(`div`,{className:`grid gap-4 sm:grid-cols-2 md:grid-cols-3 p-2`,children:[(0,X.jsx)(wT,{_label:`Color`}),(0,X.jsx)(DT,{_label:`Upload file`}),(0,X.jsx)(OT,{_label:`Number input`}),(0,X.jsx)(TT,{_type:`date`,_label:`Date`}),(0,X.jsx)(ET,{_icons:`{'left': 'kolicon-house'}`,_msg:{_type:`error`,_description:`Test of an error message`},_touched:!0,_label:`E-mail address`}),(0,X.jsx)(J,{_hint:`I am a hint.`,_label:`First name`}),(0,X.jsx)(kT,{_label:`password`}),(0,X.jsx)(BT,{_options:`[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]`,_label:`Stimmung`}),(0,X.jsx)(jT,{_min:0,_max:50,_value:25,_label:`Slider`}),(0,X.jsx)(AT,{className:`herr-frau`,_options:`[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]`,_value:`1`,_label:`Salutation`}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(AT,{_orientation:`horizontal`,_options:`[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]`,_value:`0`,_label:`Salutation`}),(0,X.jsx)(CT,{_label:``,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`I accept the `,(0,X.jsx)(cT,{children:`AGB`}),`.`]})})]}),(0,X.jsx)(JT,{_rows:4,_label:`Textarea`})]})})}),(0,X.jsx)(hT,{className:`col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5`,_label:`Table with Pagination`,_level:2,children:(0,X.jsx)(`div`,{slot:``,className:`gap-2 p-2 flex flex-col`,children:(0,X.jsx)(GT,{_label:`Table`,_headers:Ij,_data:Pj,_pagination:!0})})})]}),(0,X.jsx)(QT,{_label:`5.0.2-test.2`})]})}}},zj={heading:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolHeading renders a heading with the given level.`})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(q,{_label:`I'm a H1-heading`,_level:1}),(0,X.jsx)(q,{_label:`I'm a H2-heading`,_level:2}),(0,X.jsx)(q,{_label:`I'm a H3-heading`,_level:3}),(0,X.jsx)(q,{_label:`I'm a H4-heading`,_level:4}),(0,X.jsx)(q,{_label:`I'm a H5-heading`,_level:5}),(0,X.jsx)(q,{_label:`I'm a H6-heading`,_level:6})]})]}),badge:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolHeading with its different levels and content provided using the export slot instead of the `,(0,X.jsx)(`code`,{children:`_label`}),`-property.`]})}),(0,X.jsxs)(Z,{id:`badged`,children:[(0,X.jsx)(q,{_label:``,_level:1,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(fT,{_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:2,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(fT,{_color:`#86ffc6`,_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:3,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(fT,{_color:`#06539e`,_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:4,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(fT,{_color:`#ae0000`,_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:5,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(fT,{_color:`#8b008b`,_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:6,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(fT,{_color:`#ffc0cb`,_label:`Label`})]})})]})]}),paragraph:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolHeading with its different levels combined with some text content each.`})}),(0,X.jsxs)(Z,{id:`paragraph`,children:[(0,X.jsx)(q,{_label:`Ich bin eine H1-Überschrift`,_level:1}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H2-Überschrift`,_level:2}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H3-Überschrift`,_level:3}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H4-Überschrift`,_level:4}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H5-Überschrift`,_level:5}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H6-Überschrift`,_level:6}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`})]})]}),secondary:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolHeading with the prop `,(0,X.jsx)(`code`,{children:`_secondaryHeadline`}),` in use.`]})}),(0,X.jsx)(Z,{id:`secondary`,children:(0,X.jsx)(q,{_label:`This is a H1 headline`,_secondaryHeadline:`This is a secondary headline`,_level:1})})]})}},Bj={icon:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolIcon renders codicon icons. This sample shows regular icons and one with a custom style-property, changing the icon color.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(xT,{className:`block`,_label:`Alert Info Icon`,_icons:`kolicon-alert-info`}),(0,X.jsx)(xT,{className:`block`,_label:`Kolibri Icon`,_icons:`kolicon-kolibri`}),(0,X.jsx)(xT,{className:`block`,_label:`House Icon`,_icons:`kolicon-house`}),(0,X.jsx)(xT,{className:`block`,_label:`Settings Icon`,_icons:`kolicon-settings`}),(0,X.jsx)(xT,{className:`block`,_label:`Pin Icon (pinned)`,_icons:`kolicon-pin-pinned`}),(0,X.jsx)(xT,{className:`block`,_label:`Pin Icon (unpinned)`,_icons:`kolicon-pin-unpinned`}),(0,X.jsx)(xT,{className:`block w-[1em] h-[1em]`,style:{color:`red`},_label:`House Icon`,_icons:`kolicon-house`}),(0,X.jsx)(xT,{className:`block`,_label:`Plus Icon`,_icons:`codicon codicon-plus`})]})]}),"all-kolicons":()=>{let[e,t]=(0,w.useState)({}),[n,r]=(0,w.useState)(null);return(0,w.useEffect)(()=>{let e=new AbortController;return fetch(`assets/kolicons/kolicons.json`,{signal:e.signal}).then(e=>{if(!e.ok)throw Error(`Failed to load kolicons: ${e.status} ${e.statusText}`.trim());return e.json()}).then(e=>{t(e)}).catch(t=>{if(e.signal.aborted)return;let n=t instanceof Error?t.message:`Failed to load kolicons`;r(n),console.error(t)}),()=>e.abort()},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows all kolicons with their names.`})}),n&&(0,X.jsx)(uT,{_alert:!0,_label:`Kolicons could not be loaded`,_type:`error`,children:n}),(0,X.jsx)(`div`,{className:`grid grid-cols-2 gap-8 p-8`,children:Object.entries(e).map(([e])=>(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(xT,{_label:`Icon ${e}`,_icons:`kolicon-`+e}),(0,X.jsxs)(`span`,{children:[`kolicon-`,e]})]},e))})]})},font:()=>{let[e]=tk(),t=e.get(`theme`)??UA(),n=(0,w.useMemo)(()=>t?NA(t,`iconVariants`):[],[t]),r=(0,w.useMemo)(()=>t?NA(t,`iconVariantsButton`):[],[t]),i=(0,w.useMemo)(()=>t?NA(t,`iconVariantsInput`):[],[t]),a=Array.isArray(n)&&n.length>0,o=Array.isArray(r)&&r.length>0,s=Array.isArray(i)&&i.length>0;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolIcon renders different icon fonts depending on your theme.`})}),(0,X.jsx)(Z,{id:`icons`,className:`grid grid-cols-2 gap-8 p-8`,skipSnapshot:!a,children:a?n.map(e=>(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(xT,{_label:e,_icons:e}),(0,X.jsxs)(`span`,{children:[`<KolIcon _icons='`,e,`' _label="`,e,`" />`]})]},e)):(0,X.jsx)(`p`,{children:`This theme has no variants for icons.`})}),(0,X.jsx)(Z,{id:`buttons`,className:`grid grid-cols-2 gap-8 p-8`,skipSnapshot:!o,children:o?r.map(e=>(0,X.jsxs)(`div`,{className:`flex gap-4 items-center`,children:[(0,X.jsx)(K,{_icons:e,_label:`Button`,_variant:`primary`}),(0,X.jsxs)(`span`,{children:[`<KolButton _icons='`,e,`' _label="Button" _variant="primary" />`]})]},e)):(0,X.jsx)(`p`,{children:`This theme has no variants for icons in buttons.`})}),(0,X.jsx)(Z,{id:`inputs`,className:`grid gap-8 p-8`,skipSnapshot:!s,children:s?i.map(e=>(0,X.jsxs)(`div`,{className:`flex gap-4 items-center`,children:[(0,X.jsx)(J,{_icons:e,_label:`Input with Icon`}),(0,X.jsxs)(`span`,{children:[`<KolInputText _icons='`,e,`' _label="Input with Icon" />`]})]},e)):(0,X.jsx)(`p`,{children:`This theme has no variants for icons in inputs.`})})]})}}},Vj={image:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolImage renders an image. The sample shows an image with alternative text.`})}),(0,X.jsx)(Z,{id:`basic`,fitContent:!0,children:(0,X.jsx)(ST,{_alt:`KoliBri design system illustration showing three people working on laptops surrounded by UI components, charts, and the KoliBri hummingbird logo`,_src:`assets/sample-image.png`,className:`w-image`})})]}),events:()=>{let[e,t]=(0,w.useState)([]),[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)([]),[o,s]=(0,w.useState)([]),c=(0,w.useRef)(null);return(0,w.useEffect)(()=>{let e=c.current;if(!e)return;let t=()=>a(e=>[...e,new Date().toLocaleTimeString()]),n=()=>s(e=>[...e,new Date().toLocaleTimeString()]);return e.addEventListener(`error`,t),e.addEventListener(`load`,n),()=>{e.removeEventListener(`error`,t),e.removeEventListener(`load`,n)}},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolImage fires both _on.onError / _on.onLoad callbacks and native error / load DOM events on the host element.`})}),(0,X.jsx)(`h3`,{children:`Via _on prop`}),(0,X.jsx)(ST,{_alt:`This image will fail to load`,_src:`/this-image-does-not-exist.png`,_on:{onError:()=>t(e=>[...e,new Date().toLocaleTimeString()]),onLoad:()=>r(e=>[...e,new Date().toLocaleTimeString()])}}),(0,X.jsxs)(`p`,{children:[`onError fired: `,e.length===0?`not yet`:e.join(`, `)]}),(0,X.jsxs)(`p`,{children:[`onLoad fired: `,n.length===0?`not yet`:n.join(`, `)]}),(0,X.jsx)(`h3`,{children:`Via native addEventListener`}),(0,X.jsx)(ST,{ref:c,_alt:`KoliBri design system illustration`,_src:`sample-image.png`,className:`w-image`}),(0,X.jsxs)(`p`,{children:[`native error fired: `,i.length===0?`not yet`:i.join(`, `)]}),(0,X.jsxs)(`p`,{children:[`native load fired: `,o.length===0?`not yet`:o.join(`, `)]})]})}}},Hj=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`unchecked`),children:(0,X.jsx)(CT,{...n,_label:`Not selected`,_value:!1,_required:!0})}),(0,X.jsx)(Z,{...i(`indeterminate`),children:(0,X.jsx)(CT,{...n,_label:`Indeterminate`,_value:null,_indeterminate:!0})}),(0,X.jsx)(Z,{...i(`checked`),children:(0,X.jsx)(CT,{...n,ref:r,_accessKey:`A`,_checked:!0,_label:`Selected`,_tooltipAlign:`right`,_value:!0})}),(0,X.jsx)(Z,{...i(`long-label`),children:(0,X.jsx)(CT,{...n,_checked:!0,_icons:{unchecked:`ckolicon-cross`},_label:`With a very long label and upheavals `.repeat(5),_value:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(CT,{...n,_disabled:!0,_label:`Disabled`,_value:!0,_hint:`Hint text`})}),(0,X.jsx)(Z,{...i(`checked-disabled`),children:(0,X.jsx)(CT,{...n,_checked:!0,_disabled:!0,_label:`Checked and disabled`})}),(0,X.jsx)(Z,{...i(`indet-disabled`),children:(0,X.jsx)(CT,{...n,_indeterminate:!0,_disabled:!0,_label:`Indeterminate and disabled`})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(CT,{...n,_msg:{_type:`error`,_description:nA},_label:`With error`,_touched:!0,_value:!0,_hint:`Hint text`,_required:!0})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(CT,{...n,_label:`With access key`,_accessKey:`c`,_value:null})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(CT,{...n,_label:`With short key`,_shortKey:`s`,_value:null})}),(0,X.jsx)(Z,{...i(`info-popover`),children:(0,X.jsx)(CT,{...n,_label:`With popover`,_value:!1,_required:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`},children:(0,X.jsx)(`span`,{slot:`expert`,children:`Expert Slot & required`})})})]})}),Uj=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Label align "left" with label`,children:(0,X.jsx)(Hj,{blockIdPrefix:`left`,...e,_labelAlign:`left`})}),(0,X.jsx)(pj,{heading:`Label align "left" without Label (hideLabel)`,children:(0,X.jsx)(Hj,{blockIdPrefix:`left-hide`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0,_labelAlign:`left`})})]}),(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Label align "right" with label`,children:(0,X.jsx)(Hj,{blockIdPrefix:`right`,...e})}),(0,X.jsx)(pj,{heading:`Label align "right" without Label (hideLabel)`,children:(0,X.jsx)(Hj,{blockIdPrefix:`right-hide`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})]})}),Wj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputCheckbox renders a checkbox. The sample shows KolInputCheckbox in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:Uj,showButtons:!1})]}),Gj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolInputCheckbox in the variant "button".`})}),(0,X.jsx)(dj,{RefComponent:Uj,_variant:`button`,showButtons:!1})]}),Kj=()=>{let[e,t]=(0,w.useState)([]),n=(0,w.useCallback)(e=>{t(t=>[`${new Date().toISOString().slice(11,23)} ${e}`,...t].slice(0,8))},[]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Clicking the label text while the checkbox is already focused must `,(0,X.jsx)(`strong`,{children:`not`}),` fire a spurious `,(0,X.jsx)(`code`,{children:`onBlur`}),`. To verify the fix: focus the checkbox (Tab or first click), then click its label text again — the event log should show only `,(0,X.jsx)(`code`,{children:`onChange`}),`, `,(0,X.jsx)(`strong`,{children:`not`}),` `,(0,X.jsx)(`code`,{children:`onBlur`}),` followed by `,(0,X.jsx)(`code`,{children:`onFocus`}),`.`]})}),(0,X.jsx)(CT,{_label:`Accept terms and conditions`,_on:{onFocus:()=>n(`onFocus`),onBlur:()=>n(`onBlur`),onChange:(e,t)=>n(`onChange → ${String(t)}`)}}),(0,X.jsxs)(`section`,{style:{marginTop:`1rem`},children:[(0,X.jsx)(`p`,{children:(0,X.jsx)(`strong`,{children:`Event log (newest first):`})}),e.length===0?(0,X.jsx)(`p`,{children:`No events yet.`}):(0,X.jsx)(`ol`,{style:{fontFamily:`monospace`,fontSize:`0.875rem`},children:e.map((e,t)=>(0,X.jsx)(`li`,{children:e},t))})]})]})},qj=({label:e,blockId:t,renderInput:n})=>{let[r,i]=(0,w.useState)(null),[a,o]=(0,w.useState)(null),s=(0,w.useMemo)(()=>({onChange:(e,t)=>{i(t)},onInput:(e,t)=>{o(t)}}),[]);return(0,X.jsxs)(Z,{id:t??Qk(e),className:`grid gap-4 mb-6`,"aria-label":`Event callback demo: ${e}`,children:[n(s),(0,X.jsxs)(`div`,{className:`grid gap-2`,children:[(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`onInput value:`}),` `,(0,X.jsx)(`code`,{children:JSON.stringify(a)})]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`onChange value:`}),` `,(0,X.jsx)(`code`,{children:JSON.stringify(r)})]})]})]})},Jj={"input-checkbox":{basic:Wj,"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputCheckbox`,renderInput:e=>(0,X.jsx)(CT,{_label:`Accept terms`,_on:e})})]}),"focus-events":Kj,switch:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolInputCheckbox in the variant "switch".`})}),(0,X.jsx)(dj,{RefComponent:Uj,_variant:`switch`,showButtons:!1})]}),button:Gj}},Yj=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(wT,{...n,_msg:{_type:`error`,_description:nA},_icons:{left:`kolicon-kolibri`},_label:`Color (Black background test)`,_value:`#f08080`})}),(0,X.jsx)(Z,{...i(`suggestions-error`),children:(0,X.jsx)(wT,{...n,_msg:{_type:`error`,_description:nA},_label:`Color with error and suggestions`,_suggestions:`['#000000','#f08080', '#0000ff','#00ff00']`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(wT,{...n,_msg:{_type:`info`,_description:`Just a hint message.`},_label:`Color`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(wT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Color`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(wT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Color`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(wT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Color`,_touched:!0})}),(0,X.jsx)(Z,{...i(`hint`),children:(0,X.jsx)(wT,{...n,ref:r,_accessKey:`C`,_hint:`Hint text`,_label:`Color with hint`,_value:`#f08080`})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(wT,{...n,_disabled:!0,_label:`Color (Disabled)`,_value:`#f08080`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(wT,{...n,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(wT,{...n,_label:`With short key`,_shortKey:`s`})}),(0,X.jsx)(Z,{...i(`info-popover`),children:(0,X.jsx)(wT,{...n,_label:`With short popover`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})})]})}),Xj=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Color`,children:(0,X.jsx)(Yj,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Color (hideLabel)`,children:(0,X.jsx)(Yj,{blockIdPrefix:`hide-label`,snapshotOnly:`suggestions-error`,ref:t,...e,_hideLabel:!0})})]})}),Zj={"input-color":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputColor renders a color input. The sample shows KolInputColor in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:Xj,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputColor`,renderInput:e=>(0,X.jsx)(wT,{_label:`Pick color`,_on:e})})]})}},Qj=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(TT,{...n,_type:`date`,_label:`Date input (Black background test)`,_required:!0})}),(0,X.jsx)(Z,{...i(`datetime-local`),children:(0,X.jsx)(TT,{...n,_type:`datetime-local`,_label:`Local-Datetime (Standard)`,_required:!0})}),(0,X.jsx)(Z,{...i(`datetime-seconds`),children:(0,X.jsx)(TT,{...n,_step:1,_type:`datetime-local`,_hint:rA,_msg:{_type:`error`,_description:nA},_label:`Local datetime (with seconds)`,_required:!0,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(TT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Date`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(TT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Date`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(TT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Date`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(TT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Date`,_touched:!0})}),(0,X.jsx)(Z,{...i(`month`),children:(0,X.jsx)(TT,{...n,_type:`month`,_label:`Month`,_required:!0})}),(0,X.jsx)(Z,{...i(`week`),children:(0,X.jsx)(TT,{...n,ref:r,_accessKey:`W`,_type:`week`,_label:`Week`,_required:!0})}),(0,X.jsx)(Z,{...i(`time`),children:(0,X.jsx)(TT,{...n,_type:`time`,_label:`Time (standard)`,_required:!0})}),(0,X.jsx)(Z,{...i(`time-seconds`),children:(0,X.jsx)(TT,{...n,_step:1,_type:`time`,_label:`Time (with seconds)`,_required:!0})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(TT,{...n,_readOnly:!0,_label:`Date input (read-only)`,_required:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(TT,{...n,_disabled:!0,_label:`Date input (Disabled)`,_required:!0})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(TT,{...n,_label:`With access key`,_accessKey:`s`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(TT,{...n,_label:`With short key`,_shortKey:`s`})})]})}),$j=({blockIdPrefix:e,...t})=>{let n=new Date(`January 10, 2024, 12:00`),r=new Date(`October 20, 2024, 15:00`);return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`${e}-date-iso`,children:(0,X.jsx)(TT,{...t,_type:`date`,_label:`Date with Iso`,_min:`2024-09-26`,_max:`2024-09-27`})}),(0,X.jsx)(Z,{id:`${e}-date-object`,children:(0,X.jsx)(TT,{...t,_type:`date`,_label:`Date with Date`,_min:n,_max:r})}),(0,X.jsx)(Z,{id:`${e}-time-iso`,children:(0,X.jsx)(TT,{...t,_type:`time`,_label:`Time with Iso`,_min:`12:00`,_max:`15:00`})}),(0,X.jsx)(Z,{id:`${e}-time-object`,children:(0,X.jsx)(TT,{...t,_type:`time`,_label:`Time with Date`,_min:n,_max:r})}),(0,X.jsx)(Z,{id:`${e}-datetime-iso`,children:(0,X.jsx)(TT,{...t,_type:`datetime-local`,_label:`DayTime with Iso`,_min:`2024-09-26T12:00`,_max:`2024-09-27T15:00`})}),(0,X.jsx)(Z,{id:`${e}-datetime-object`,children:(0,X.jsx)(TT,{...t,_type:`datetime-local`,_label:`DayTime with Date`,_min:n,_max:r})}),(0,X.jsx)(Z,{id:`${e}-week-iso`,children:(0,X.jsx)(TT,{...t,_type:`week`,_label:`Week with Iso`,_min:`2024-W10`,_max:`2024-W50`})}),(0,X.jsx)(Z,{id:`${e}-week-object`,children:(0,X.jsx)(TT,{...t,_type:`week`,_label:`Week with Date`,_min:n,_max:r})}),(0,X.jsx)(Z,{id:`${e}-month-iso`,children:(0,X.jsx)(TT,{...t,_type:`month`,_label:`Month with Iso`,_min:`2024-02`,_max:`2024-10`})}),(0,X.jsx)(Z,{id:`${e}-month-object`,children:(0,X.jsx)(TT,{...t,_type:`month`,_label:`Month with Date`,_min:n,_max:r})})]})},eM=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Date`,children:(0,X.jsx)(Qj,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Date (hideLabel)`,children:(0,X.jsx)(Qj,{blockIdPrefix:`hide-label`,snapshotOnly:`datetime-seconds`,ref:t,...e,_hideLabel:!0})}),(0,X.jsx)(pj,{heading:`Date (with min/max)`,children:(0,X.jsx)($j,{blockIdPrefix:`min-max`,...e})})]})}),tM=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputDate renders all types of fields for date and time input. The sample shows KolInputDate in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:eM,showButtons:!1})]}),nM=e=>String(e).padStart(2,`0`),rM=(e,t,n)=>{let r=new Date(e,t-1,n);return r.getFullYear()===e&&r.getMonth()===t-1&&r.getDate()===n};function iM(e){let t=/^\s*(\d{1,2})\.(\d{1,2})\.(\d{4})\s*$/.exec(e);if(!t)return null;let n=+t[1],r=+t[2],i=+t[3];return rM(i,r,n)?`${i}-${nM(r)}-${nM(n)}`:null}function aM(e){return e instanceof HTMLElement&&e.tagName===`KOL-INPUT-DATE`}async function oM(e,t){typeof e.setIsoValue==`function`?await e.setIsoValue(t):e.value===void 0?e._value===void 0?e.setAttribute(`_value`,t):e._value=t:e.value=t,e.dispatchEvent(new Event(`input`,{bubbles:!0,composed:!0})),e.dispatchEvent(new Event(`change`,{bubbles:!0,composed:!0}))}var sM=()=>{let[e,t]=(0,w.useState)(`31.12.2025`),[n,r]=(0,w.useState)(``),i=(0,w.useRef)(null),a=(0,w.useMemo)(()=>iM(e),[e]);(0,w.useEffect)(()=>{let e=new AbortController;return document.addEventListener(`focusin`,e=>{let t=e.composedPath?.()??[];i.current=t.find(aM)??null},{capture:!0,signal:e.signal}),()=>e.abort()},[]),(0,w.useEffect)(()=>{let e=new AbortController;return document.addEventListener(`paste`,e=>{let t=i.current;if(!t)return;let n=iM(e.clipboardData?.getData(`text`)??``);n?(e.preventDefault(),oM(t,n),r(`Pasted.`)):r(`Clipboard: unrecognized date. Use DD.MM.YYYY.`)},{capture:!0,signal:e.signal}),()=>e.abort()},[]);let o=(0,w.useCallback)(async e=>{r(``);try{await navigator.clipboard.writeText(e),r(`Copied.`)}catch{r(`Copy failed. Your browser may block clipboard access.`)}},[]),s=(0,w.useCallback)((e,n)=>{e?.target&&t(typeof n==`string`?n:String(n??``))},[]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Type a date in German format (`,(0,X.jsx)(`code`,{children:`DD.MM.YYYY`}),`), click `,(0,X.jsx)(`em`,{children:`Copy to Clipboard`}),`, then paste it into the date field below with `,(0,X.jsx)(`kbd`,{children:`Ctrl`}),`+`,(0,X.jsx)(`kbd`,{children:`V`}),`. The ISO conversion happens internally.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,lang:`en`,children:[(0,X.jsxs)(`section`,{"aria-labelledby":`de-title`,children:[(0,X.jsx)(`h3`,{id:`de-title`,className:`text-lg font-semibold mb-2`,children:`German date (DD.MM.YYYY)`}),(0,X.jsxs)(`div`,{className:`grid gap-3`,children:[(0,X.jsx)(J,{className:`w-full`,_label:`German date (DD.MM.YYYY)`,_placeholder:`e.g., 31.12.2025`,_value:e,_type:`text`,_on:{onInput:s,onChange:s}}),(0,X.jsx)(`p`,{className:`opacity-80`,id:`button-desc`,children:`Click the button to copy the exact German date, then paste it into the date field below.`}),(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(K,{_label:`Copy to Clipboard`,_on:{onClick:()=>o(e)},"aria-describedby":`button-desc`}),!a&&(0,X.jsx)(`span`,{className:`text-red-600`,children:`Invalid date`})]}),(0,X.jsx)(TT,{_type:`date`,_label:`Date (paste here with Ctrl+V)`,className:`w-full`})]})]}),(0,X.jsx)(`p`,{"aria-live":`polite`,role:`status`,className:`mt-2 opacity-80`,children:n})]})]})},cM=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputDate`,renderInput:e=>(0,X.jsx)(TT,{_label:`Date`,_on:e})})]}),lM=()=>{let e=(0,w.useRef)(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the KolInputDate `,(0,X.jsx)(`code`,{children:`reset`}),`-Method, which can be used to clear the field, even when it holds incomplete or invalid values.`]})}),(0,X.jsx)(TT,{className:`w-full`,ref:e,_label:`Resettable Input Date`,_value:`2024-02-10`}),(0,X.jsx)(K,{className:`mt`,_label:`Reset`,_on:{onClick:()=>e.current?.reset()}})]})},uM=[`default`,`error`,`info`,`success`,`warning`];function dM(e){return{onChange:()=>e(e=>!e)}}var fM={"input-date":{basic:tM,"get-value":cM,"copy-paste":sM,reset:lM,"show-hide-msg":()=>{let[e,t]=(0,w.useState)(!0),[n,r]=(0,w.useState)(!0),[i,a]=(0,w.useState)(!1),o=dM(t),s=dM(r),c=dM(a);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example shows how messages work in input fields.`})}),(0,X.jsxs)(`div`,{className:`flex gap-4 flex-col`,children:[(0,X.jsxs)(`div`,{className:`flex gap-4 items-center`,children:[(0,X.jsx)(CT,{_label:`Toggle Msg`,_on:o,_checked:e,_variant:`button`}),(0,X.jsx)(CT,{_label:`Toggle Touched`,_on:s,_checked:n,_variant:`button`}),(0,X.jsx)(CT,{_label:`Toggle Hide Msg`,_on:c,_checked:i,_variant:`button`})]}),(0,X.jsxs)(`pre`,{children:[`Message exists: `,e?`Yes`:`No`,` (showMsg: `,e?`Yes`:`No`,`)`,(0,X.jsx)(`br`,{}),`Non-Error-Message visible: `,e&&!i?`Yes`:`No`,` (showMsg: `,e?`Yes`:`No`,`, hideMsg: `,i?`Yes`:`No`,`)`,(0,X.jsx)(`br`,{}),`Error-Message visible: `,e&&n&&!i?`Yes`:`No`,` (showMsg: `,e?`Yes`:`No`,`, isTouched: `,n?`Yes`:`No`,`, hideMsg: `,i?`Yes`:`No`,`)`]}),uM.map(t=>(0,X.jsx)(TT,{_hideMsg:i,_label:`Date (_msg, ${t})`,_msg:e?{_description:`${t} message`,_type:t}:void 0,_touched:n},t))]})]})}}},pM=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(ET,{...n,_required:!0,_value:`test@mail.de`,_msg:{_type:`error`,_description:nA},_label:`E-Mail (Black background test)`})}),(0,X.jsx)(Z,{...i(`suggestions`),children:(0,X.jsx)(ET,{...n,ref:r,_accessKey:`M`,_placeholder:`elke@mustermann.de`,_suggestions:`['test1@mail.de', 'test2@mail.de', 'test3@mail.de']`,_label:`E-Mail (list)`,_hint:rA,_msg:{_type:`error`,_description:nA},_touched:!0,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}}})}),(0,X.jsx)(Z,{...i(`info-popover`),children:(0,X.jsx)(ET,{...n,_required:!0,_label:`E-Mail`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(ET,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`E-Mail`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(ET,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`E-Mail`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(ET,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`E-Mail`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(ET,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`E-Mail`,_touched:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(ET,{...n,_disabled:!0,_value:`test@mail.de`,_label:`E-Mail (Disabled)`})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(ET,{...n,_readOnly:!0,_value:`test@mail.de`,_label:`E-Mail (Readonly)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(ET,{...n,_value:`test@mail.de`,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(ET,{...n,_value:`test@mail.de`,_label:`With short key`,_shortKey:`s`})})]})}),mM=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Email`,children:(0,X.jsx)(pM,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Email (hideLabel)`,children:(0,X.jsx)(pM,{blockIdPrefix:`hide-label`,snapshotOnly:`suggestions`,ref:t,...e,_hideLabel:!0})})]})}),hM={"input-email":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputEmail renders an email input field. The sample shows KolInputEmail in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:mM,showButtons:!1})]}),counter:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases an email input with a counter for the chars in the field. Maximal length is 30.`})}),(0,X.jsx)(Z,{id:`counter`,children:(0,X.jsx)(ET,{_label:`E-Mail`,_value:`anderson@example.com`,_hasCounter:!0,_maxLength:30})})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputEmail`,renderInput:e=>(0,X.jsx)(ET,{_label:`E-Mail`,_on:e})})]})}},gM={onClick:()=>console.log(`click`),onChange:(e,t)=>console.log(`onChange `,e,t),onInput:(e,t)=>console.log(`onInput`,e,t)},_M=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(DT,{...n,_label:`Upload file (Black background test)`,_icons:{left:{icon:`kolicon-up`}},_touched:!0,_on:gM})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(DT,{...n,_required:!0,_hint:rA,_msg:{_type:`error`,_description:nA},_label:`Upload file (Error State)`,_icons:{left:{icon:`kolicon-up`}},_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Upload file`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Upload file`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Upload file`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Upload file`,_touched:!0})}),(0,X.jsx)(Z,{...i(`multiple`),children:(0,X.jsx)(DT,{...n,ref:r,_accessKey:`h`,_multiple:!0,_msg:{_type:`error`,_description:nA},_label:`Upload file (Multiple)`})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(DT,{...n,_disabled:!0,_label:`Upload file (Disabled)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(DT,{...n,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(DT,{...n,_label:`With short key`,_shortKey:`s`})})]})}),vM=(0,w.forwardRef)(function({blockIdPrefix:e,...t}){let n=t=>({id:`${e}-${t}`});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...n(`accept`),children:(0,X.jsx)(DT,{...t,_label:`Accept`,_touched:!0})}),(0,X.jsx)(Z,{...n(`accept-multiple`),children:(0,X.jsx)(DT,{...t,_label:`Accept multiple`,_multiple:!0,_touched:!0})}),(0,X.jsx)(Z,{...n(`accept-disabled`),children:(0,X.jsx)(DT,{...t,_label:`Accept disabled`,_disabled:!0,_touched:!0})}),(0,X.jsx)(Z,{...n(`accept-multiple-disabled`),children:(0,X.jsx)(DT,{...t,_label:`Accept multiple disabled`,_multiple:!0,_disabled:!0,_touched:!0})})]})}),yM=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`File`,children:(0,X.jsx)(_M,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`File (hideLabel)`,children:(0,X.jsx)(_M,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),bM=(0,w.forwardRef)(function(e){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`File`,children:(0,X.jsx)(vM,{blockIdPrefix:`label`,...e,_accept:`.pdf`})}),(0,X.jsx)(pj,{heading:`File (hideLabel)`,children:(0,X.jsx)(vM,{blockIdPrefix:`hide-label`,...e,_accept:`.pdf`,_hideLabel:!0})})]})}),xM={"input-file":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputFile renders a file input field. The sample shows KolInputFile in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:yM,showButtons:!1})]}),"drag-and-drop":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputFile renders a file input field. The sample shows KolInputFile in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:bM,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputFile`,renderInput:e=>(0,X.jsx)(DT,{_label:`Upload file`,_on:e})})]})}},SM=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(OT,{...n,_required:!0,_touched:!0,_value:123,_label:`Number input (Black background test)`})}),(0,X.jsx)(Z,{...i(`icons-error`),children:(0,X.jsx)(OT,{...n,_required:!0,_msg:{_type:`error`,_description:nA},_touched:!0,_placeholder:`Mit Icons`,_label:`Number input`,_icons:{left:{icon:`kolicon-kolibri`},right:{icon:`kolicon-kolibri`}},_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-error`),children:(0,X.jsx)(OT,{...n,_required:!0,_msg:{_type:`error`,_description:nA},_touched:!0,_value:123,_label:`Number input`})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(OT,{...n,_required:!0,_msg:{_type:`warning`,_description:nA},_touched:!0,_value:123,_label:`Number input`})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(OT,{...n,_required:!0,_msg:{_type:`info`,_description:nA},_touched:!0,_value:123,_label:`Number input`})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(OT,{...n,_required:!0,_msg:{_type:`success`,_description:nA},_touched:!0,_value:123,_label:`Number input`})}),(0,X.jsx)(Z,{...i(`min-max-step`),children:(0,X.jsx)(OT,{...n,ref:r,_accessKey:`Z`,_max:10,_min:-10,_step:2,_label:`Number input (-10 to 10 in steps of 2)`})}),(0,X.jsx)(Z,{...i(`hint`),children:(0,X.jsx)(OT,{...n,_hint:`Hint text`,_value:123,_label:`Number input with hint`})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(OT,{...n,_readOnly:!0,_value:123,_label:`Number input (Readonly)`})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(OT,{...n,_disabled:!0,_value:123,_label:`Number input (Disabled)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(OT,{...n,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(OT,{...n,_label:`With short key`,_shortKey:`s`})})]})}),CM=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Number`,children:(0,X.jsx)(SM,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Number (hideLabel)`,children:(0,X.jsx)(SM,{blockIdPrefix:`hide-label`,snapshotOnly:`msg-error`,ref:t,...e,_hideLabel:!0})})]})}),wM=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputNumber encompasses basic functionalities, utilizing the min, max, and step attributes to restrict the range of input values. Despite these constraints, it allows free input that can ignore the defined minimum and maximum values, as well as step sizes. The component intentionally does not emphasize validation rules, supporting examples without form validation, and refrains from additional validation through native HTML element validation.`})}),(0,X.jsx)(dj,{RefComponent:CM,showButtons:!1})]}),TM=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputNumber`,renderInput:e=>(0,X.jsx)(OT,{_label:`Amount`,_on:e})})]}),EM=e=>e.type===`checkbox`,DM=e=>e.type===`file`,OM=e=>e instanceof Date,kM=e=>e==null,AM=e=>typeof e==`object`,jM=e=>!kM(e)&&!Array.isArray(e)&&AM(e)&&!OM(e),MM=e=>jM(e)&&e.target?EM(e.target)?e.target.checked:DM(e.target)?e.target.files:e.target.value:e,NM=/[.[\]'"]/,PM=e=>e.split(NM).filter(Boolean);function FM(e,t){let n=PM(t),r=e._formValues,i=e._defaultValues;for(let e=0;e<n.length-1;e++){let t=n[e];if(r=r==null?r:r[t],i=i==null?i:i[t],r===null||i===null)return null}}var IM=(e,t)=>t.split(`.`).some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join(`.`))),LM=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`;function RM(e){if(typeof e!=`object`||!e)return e;if(e instanceof Date)return new Date(e);let t=typeof Blob<`u`&&e instanceof Blob,n=typeof FileList<`u`&&e instanceof FileList;if(LM&&(t||n))return e;let r=Array.isArray(e);if(!r&&e.constructor!==Object)return e;let i=r?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=RM(e[t]));return i}var zM={BLUR:`blur`,FOCUS_OUT:`focusout`,CHANGE:`change`,SUBMIT:`submit`,TRIGGER:`trigger`,VALID:`valid`},BM={onBlur:`onBlur`,onChange:`onChange`,onSubmit:`onSubmit`,onTouched:`onTouched`,all:`all`},VM={max:`max`,min:`min`,maxLength:`maxLength`,minLength:`minLength`,pattern:`pattern`,required:`required`,validate:`validate`},HM=[VM.required,VM.min,VM.max,VM.minLength,VM.maxLength,VM.pattern,VM.validate],UM=`form`,WM=`root`,GM=[`__proto__`,`constructor`,`prototype`],KM=/^\w*$/,qM=e=>KM.test(e),JM=e=>e===void 0,$=(e,t,n)=>{if(!t||!jM(e))return n;let r=qM(t)?[t]:PM(t);if(r.some(e=>GM.includes(e)))return n;let i=r.reduce((e,t)=>kM(e)?void 0:e[t],e);return JM(i)||i===e?JM(e[t])?n:e[t]:i},YM=e=>typeof e==`boolean`,XM=e=>typeof e==`function`,ZM=(e,t,n)=>{let r=-1,i=qM(t)?[t]:PM(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=jM(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(GM.includes(t))return;e[t]=a,e=e[t]}},QM=w.createContext(null);QM.displayName=`HookFormControlContext`;var $M=()=>w.useContext(QM),eN=(e,t,n,r=!0)=>{let i={};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==BM.all&&(t._proxyFormState[i]=!r||BM.all),n&&(n[i]=!0),e[i]}});return i},tN=LM?w.useLayoutEffect:w.useEffect,nN=e=>{let t=e.constructor&&e.constructor.prototype;return jM(t)&&t.hasOwnProperty(`isPrototypeOf`)},rN=e=>kM(e)||!AM(e),iN=(e,t)=>t.length===0&&!Array.isArray(e)&&!nN(e);function aN(e,t,n=new WeakMap){if(e===t)return!0;if(rN(e)||rN(t))return Object.is(e,t);if(OM(e)&&OM(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(iN(e,r)||iN(t,i))return Object.is(e,t);if(!r.length&&Array.isArray(e)!==Array.isArray(t))return!1;let a=n.get(e);if(a&&a.has(t))return!0;if(a)a.add(t);else{let r=new WeakSet;r.add(t),n.set(e,r)}for(let i of r){let r=e[i];if(!(i in t))return!1;if(i!==`ref`){let e=t[i];if(OM(r)&&OM(e)||(jM(r)||Array.isArray(r))&&(jM(e)||Array.isArray(e))?!aN(r,e,n):!Object.is(r,e))return!1}}return!0}function oN(e){let t=w.useRef(!1),n=w.useRef(!1),r=w.useRef(void 0),i=w.useRef(0);return i.current++,!n.current&&e&&(n.current=!0,r.current=RM(e())),{resyncIfNeeded:w.useCallback((e,a,o)=>{if(e&&(t.current||n.current&&i.current>1)){let e=a();aN(r.current,e)||o(e)}t.current=!0},[]),snapshot:w.useCallback((e,t)=>{e&&(r.current=RM(t()))},[])}}function sN(e){let t=$M(),{control:n=t,disabled:r,name:i,exact:a}=e||{},o=()=>({...n._formState,defaultValues:n._defaultValues}),[s,c]=w.useState(o),l=w.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),{resyncIfNeeded:u,snapshot:d}=oN(o);return tN(()=>{u(!r,o,c);let e=n._subscribe({name:i,formState:l.current,exact:a,callback:e=>{!r&&c({...n._formState,...e,defaultValues:n._defaultValues})}});return()=>{e(),d(!r,o)}},[n,i,r,a,u,d]),w.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),w.useMemo(()=>eN(s,n,l.current,!1),[s,n])}var cN=e=>typeof e==`string`,lN=(e,t,n,r,i)=>cN(e)?(r&&t.watch.add(e),$(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),$(n,e,$(i,e)))):(r&&(t.watchAll=!0),n);function uN(e){let t=$M(),{control:n=t,name:r,defaultValue:i,disabled:a,exact:o,compute:s}=e||{},c=w.useRef(i),l=w.useRef(s),u=w.useRef(n),d=w.useRef(r);l.current=s;let f=()=>{let e=n._getWatch(r,c.current);return l.current?l.current(e):e},[p,m]=w.useState(f),h=w.useRef(p),g=w.useCallback(e=>{let t=lN(r,n._names,e||n._formValues,!1,c.current);return l.current?l.current(t):t},[n._formValues,n._names,r]),_=w.useCallback(e=>{if(!a){let t=lN(r,n._names,e||n._formValues,!1,c.current);if(l.current){let e=l.current(t);aN(e,h.current)||(m(e),h.current=e)}else m(t)}},[n._formValues,n._names,a,r]),{resyncIfNeeded:v,snapshot:y}=oN(f),b=w.useRef(_);b.current=_;let x=w.useRef(g);x.current=g,tN(()=>{u.current!==n||!aN(d.current,r)?(u.current=n,d.current=r,b.current()):v(!a,()=>x.current(),e=>{m(e),h.current=e});let e=n._subscribe({name:r,formState:{values:!0},exact:o,callback:e=>{b.current(e.values)}});return()=>{e(),y(!a,()=>x.current())}},[n,o,r,a,v,y]),w.useEffect(()=>n._removeUnmounted());let S=u.current!==n,C=d.current;return w.useMemo(()=>{if(a)return!1;let e=!S&&!aN(C,r);return S||e},[a,S,r,C])?g():p}function dN(e){let t=$M(),{name:n,disabled:r,control:i=t,shouldUnregister:a,defaultValue:o,exact:s=!0}=e,c=IM(i._names.array,n),l=uN({control:i,name:n,defaultValue:w.useMemo(()=>{let e=$(i._formValues,n,$(i._defaultValues,n,o));return JM(e)?FM(i,n):e},[i,n,o]),exact:s}),u=sN({control:i,name:n,exact:s}),d=w.useRef(e),f=w.useRef(null),p=w.useRef(i.register(n,{...e.rules,value:l,...YM(e.disabled)?{disabled:e.disabled}:{}}));d.current=e;let m=w.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!$(u.errors,n)},isDirty:{enumerable:!0,get:()=>!!$(u.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!$(u.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!$(u.validatingFields,n)},error:{enumerable:!0,get:()=>$(u.errors,n)}}),[u,n]),h=w.useCallback(e=>{let t=MM(e);return $(i._fields,n)||(p.current=i.register(n,{...d.current.rules,value:t})),p.current.onChange({target:{value:MM(e),name:n},type:zM.CHANGE})},[n,i]),g=w.useCallback(()=>p.current.onBlur({target:{value:$(i._formValues,n),name:n},type:zM.BLUR}),[n,i._formValues]),_=w.useCallback(e=>{e&&(f.current={focus:()=>XM(e.focus)&&e.focus(),select:()=>XM(e.select)&&e.select(),setCustomValidity:t=>XM(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>XM(e.reportValidity)&&e.reportValidity()});let t=$(i._fields,n);t&&t._f&&e&&(t._f.ref=f.current,t._f._c=!0)},[i._fields,n]),v=w.useMemo(()=>({name:n,value:l,...YM(r)||u.disabled?{disabled:u.disabled||r}:{},onChange:h,onBlur:g,ref:_}),[n,r,u.disabled,h,g,_,l]);return w.useEffect(()=>{let e=i._options.shouldUnregister||a;p.current=i.register(n,{...d.current.rules,...YM(d.current.disabled)?{disabled:d.current.disabled}:{}});let t=(e,t)=>{let n=$(i._fields,e);n&&n._f&&(n._f.mount=t,n._f._c=t)};if(t(n,!0),e){let e=RM($(a?i._defaultValues:i._options.values||i._defaultValues,n,$(i._options.defaultValues,n,d.current.defaultValue)));ZM(i._defaultValues,n,e),JM($(i._formValues,n))&&ZM(i._formValues,n,e)}if(!c&&i.register(n,{...d.current.rules,...YM(d.current.disabled)?{disabled:d.current.disabled}:{}}),f.current){let e=$(i._fields,n);e&&e._f&&(e._f.ref=f.current)}return()=>{(c?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}},[n,i,c,a]),w.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),w.useMemo(()=>({field:v,formState:u,fieldState:m}),[v,u,m])}var fN=e=>e.render(dN(e)),pN=e=>({isOnSubmit:!e||e===BM.onSubmit,isOnBlur:e===BM.onBlur,isOnChange:e===BM.onChange,isOnAll:e===BM.all,isOnTouch:e===BM.onTouched}),mN=(e,t,n)=>{if(n)return!1;if(t.watchAll||t.watch.has(e))return!0;for(let n of t.watch)if(e.startsWith(n)&&e.charAt(n.length)===`.`)return!0;return!1},hN=(e,t,n)=>{for(let r of n||Object.keys(e)){if(r===`_f`)continue;let i=n?$(e,r):e[r];if(i){let{_f:e}=i;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],e.name)||e.ref&&t(e.ref,e.name)||hN(i,t))return!0}else if((jM(i)||Array.isArray(i))&&hN(i,t))return!0}}},gN=(e,t,n)=>{let r=$(e,n),i=Array.isArray(r)?r:[];return ZM(i,WM,t[n]),ZM(e,n,i),e},_N=e=>jM(e)&&!Object.keys(e).length,vN=e=>{if(!LM)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},yN=e=>e.type===`radio`,bN=e=>e instanceof RegExp,xN=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},SN={value:!1,isValid:!1},CN={value:!0,isValid:!0},wN=e=>{if(!Array.isArray(e))return SN;if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}let t=e[0];return!t||!t.checked||t.disabled?SN:!t.attributes||!(`value`in t.attributes)||JM(t.value)||t.value===``?CN:{value:t.value,isValid:!0}},TN={isValid:!1,value:null},EN=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,TN):TN;function DN(e,t,n=`validate`){if(cN(e)||Array.isArray(e)&&e.every(cN)||YM(e)&&!e)return{type:n,message:cN(e)?e:``,ref:t}}var ON=e=>jM(e)&&!bN(e)?e:{value:e,message:``},kN=async(e,t,n,r,i,a)=>{let{ref:o,refs:s,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:p,validate:m,name:h,valueAsNumber:g,mount:_,_c:v}=e._f,y=$(n,h);if(!_||t.has(h))return{};let b=s?s[0]:o,x=e=>{if(i&&b.reportValidity){let t=YM(e)?``:e||``;s?s.forEach(e=>XM(e.setCustomValidity)&&e.setCustomValidity(t)):b.setCustomValidity(t),b.reportValidity()}},S={},C=yN(o),w=EM(o),T=C||w,E=(g||DM(o))&&JM(o.value)&&JM(y)||vN(o)&&o.value===``&&!v||y===``||Array.isArray(y)&&!y.length,ee=xN.bind(null,h,r,S),te=(e,t,n,r=VM.maxLength,i=VM.minLength)=>{let a=e?t:n;S[h]={type:e?r:i,message:a,ref:o,...ee(e?r:i,a)}};if(a?!Array.isArray(y)||!y.length:c&&(!T&&(E||kM(y))||YM(y)&&!y||w&&!wN(s).isValid||C&&!EN(s).isValid)){let{value:e,message:t}=cN(c)?{value:!!c,message:c}:ON(c);if(e&&(S[h]={type:VM.required,message:t,ref:b,...ee(VM.required,t)},!r))return x(t),S}if(!E&&(!kM(d)||!kM(f))){let e,t,n=ON(f),i=ON(d);if(!kM(y)&&!OM(y)&&!isNaN(y)){let r=o.valueAsNumber||y&&+y;kM(n.value)||(e=r>n.value),kM(i.value)||(t=r<i.value)}else{let r=o.valueAsDate||new Date(y),a=e=>new Date(new Date().toDateString()+` `+e),s=o.type==`time`,c=o.type==`week`;cN(n.value)&&y&&(e=s?a(y)>a(n.value):c?y>n.value:r>new Date(n.value)),cN(i.value)&&y&&(t=s?a(y)<a(i.value):c?y<i.value:r<new Date(i.value))}if((e||t)&&(te(!!e,n.message,i.message,VM.max,VM.min),!r))return x(S[h].message),S}if((l||u)&&!E&&(cN(y)||a&&Array.isArray(y))){let e=ON(l),t=ON(u),n=!kM(e.value)&&y.length>+e.value,i=!kM(t.value)&&y.length<+t.value;if((n||i)&&(te(n,e.message,t.message),!r))return x(S[h].message),S}if(p&&!E&&cN(y)){let{value:e,message:t}=ON(p);if(bN(e)&&!y.match(e)&&(S[h]={type:VM.pattern,message:t,ref:o,...ee(VM.pattern,t)},!r))return x(t),S}if(m){if(XM(m)){let e=DN(await m(y,n),b);if(e&&(S[h]={...e,...ee(VM.validate,e.message)},!r))return x(e.message),S}else if(jM(m)){let e={};for(let t in m){if(!_N(e)&&!r)break;let i=DN(await m[t](y,n),b,t);i&&(e={...i,...ee(t,i.message)},r||x(i.message),r&&(S[h]=e))}if(!_N(e)&&(S[h]={ref:b,...e},!r))return S}}let ne=S[h];return x(!ne||ne.message),S},AN=e=>Array.isArray(e)?e:[e],jN=e=>Array.isArray(e)?e.filter(Boolean):[];function MN(e,t){let n=t.length-1,r=0;for(;r<n;){if(kM(e)){e=void 0;break}e=e[t[r]],r++}return e}function NN(e){for(let t in e)if(e.hasOwnProperty(t)&&!JM(e[t]))return!1;return!0}function PN(e,t){if(cN(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let n=Array.isArray(t)?t:qM(t)?[t]:PM(t);if(n.some(e=>GM.includes(String(e))))return e;let r=n.length===1?e:MN(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(jM(r)&&_N(r)||Array.isArray(r)&&NN(r))&&PN(e,n.slice(0,-1)),e}var FN=w.createContext(null);FN.displayName=`HookFormContext`;var IN=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function LN(e,t){let n=Array.isArray(e)?[]:{};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],a=t[r];i&&(jM(i)||Array.isArray(i))&&a?n[r]=LN(i,a):e[r]&&(n[r]=a)}return n}var RN=(e,t)=>e!==null&&AM(e)&&Object.prototype.hasOwnProperty.call(e,t),zN=(e,t)=>{if(!t)return!1;let n=e;for(let r of qM(t)?[t]:PM(t)){if(!RN(n,r))return RN(e,t);n=n[r]}return!0},BN=e=>e.type===`select-multiple`,VN=e=>yN(e)||EM(e),HN=e=>vN(e)&&e.isConnected;function UN(e){return Array.isArray(e)||jM(e)}function WN(e,t,n=``,r=[]){for(let i in e){let a=n?`${n}.${i}`:i,o=e[i];UN(o)&&UN($(t,a))?WN(o,t,a,r):r.push(a)}return r}var GN=e=>{for(let t in e)if(XM(e[t]))return!0;return!1};function KN(e){return Array.isArray(e)||jM(e)&&!GN(e)}function qN(e){return!!(e&&`_f`in e)}function JN(e){return Array.isArray(e)?!e.some(e=>!JM(e)):!Object.keys(e).length}function YN(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function XN(e,t={},n){for(let r in e){let i=e[r],a=n&&n[r];KN(i)&&(!Array.isArray(i)||!qN(a))?(t[r]=Array.isArray(i)?[]:{},XN(i,t[r],a),JN(t[r])&&YN(t,r)):JM(i)||(t[r]=!0)}return t}function ZN(e,t,n,r){n||=XN(t,{},r);for(let i in e){let a=e[i],o=r&&r[i];KN(a)&&(!Array.isArray(a)||!qN(o))?(JM(t)||rN(n[i])?n[i]=XN(a,Array.isArray(a)?[]:{},o):ZN(a,kM(t)?{}:t[i],n[i],o),JN(n[i])&&YN(n,i)):aN(a,t[i])?YN(n,i):n[i]=!0}return n}var QN=(e,t)=>{let n=t.split(`.`),r=[],i=n[0];for(let t=1;t<n.length;i+=`.`+n[t++])!isNaN(+n[t])&&e.has(i)&&r.push(`${i}.${n[t]}`);return r},$N=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>JM(e)?e:t?e===``?NaN:e&&+e:n&&cN(e)?new Date(e):r?r(e):e;function eP(e){let t=e.ref;return DM(t)?t.files:yN(t)?EN(e.refs).value:BN(t)?[...t.selectedOptions].map(({value:e})=>e):EM(t)?wN(e.refs).value:$N(t.value,e)}var tP=(e,t,n,r)=>{let i={};for(let n of e){let e=$(t,n);e&&ZM(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},nP=e=>JM(e)?e:bN(e)?e.source:jM(e)?bN(e.value)?e.value.source:e.value:e,rP=`AsyncFunction`,iP=e=>{if(!e||!e.validate)return!1;if(XM(e.validate))return e.validate.constructor.name===rP;if(jM(e.validate)){for(let t in e.validate)if(e.validate[t].constructor.name===rP)return!0}return!1},aP=e=>e.mount&&(e.required||!JM(e.required)&&e.required!==!1||!JM(e.min)||!JM(e.max)||!JM(e.maxLength)||!JM(e.minLength)||e.pattern||e.validate);function oP(e,t,n){let r=$(e,n);if(r?.type||r?.message||Array.isArray(r))return{error:r,name:n};let i=n.split(`.`);for(;i.length;){let r=i.join(`.`),a=$(t,r),o=$(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var sP=(e,t,n,r)=>{n(e);let i=Object.keys(e).filter(e=>e!==`name`);return!i.length||r&&i.length>=Object.keys(t).length||i.find(e=>t[e]===(!r||BM.all))},cP=(e,t,n)=>!e||!t||e===t||AN(e).some(e=>e&&(n?e===t||e.startsWith(t+`.`):e.startsWith(t)||t.startsWith(e))),lP=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e,uP=(e,t)=>{let n=$(e,t);!jN(n).length&&!(n!=null&&n.root)&&PN(e,t)},dP={mode:BM.onSubmit,reValidateMode:BM.onChange,shouldFocusError:!0},fP=(e,t)=>{for(let n in e)n in t||delete e[n];Object.assign(e,t)},pP={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function mP(e={}){let t={...dP,...e},n={...RM(pP),isLoading:XM(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},r={},i=(jM(t.defaultValues)||jM(t.values))&&RM(t.defaultValues||t.values)||{},a=t.shouldUnregister?{}:RM(i),o={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},s={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},c={},l={},u=0,d=pN(t.mode),f=pN(t.reValidateMode),p={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},m={...p},h={...m},g=(...e)=>e.some(e=>m[e]||h[e]),_={array:IN(),state:IN()},v=0,y=0,b=t.criteriaMode===BM.all,x=(e,t)=>n=>{clearTimeout(l[e]),l[e]=setTimeout(t,n)},S=e=>{clearTimeout(l[e]),delete l[e],delete c[e]},C=e=>{S(e);let t=`${e}.`;for(let e of Object.keys(c))e.startsWith(t)&&S(e)},w=async e=>{if(!o.keepIsValid&&!t.disabled&&(g(`isValid`)||e)){let e=++v,i;t.resolver?(i=_N((await O()).errors),e===v&&T()):i=await le({fields:r,onlyCheckValid:!0,eventType:zM.VALID}),e===v&&i!==n.isValid&&_.state.next({isValid:i})}},T=(e,r)=>{!t.disabled&&g(`isValidating`,`validatingFields`)&&((e||s.mount).forEach(e=>{e&&(r?ZM(n.validatingFields,e,r):PN(n.validatingFields,e))}),_.state.next({validatingFields:n.validatingFields,isValidating:!_N(n.validatingFields)}))},E=()=>{n.dirtyFields=ZN(i,a,void 0,r)},ee=(e,i=[],s,c,l=!0,u=!0)=>{if(c&&s&&!t.disabled){o.action=!0;let t=$(r,e);if(o.actionArrayLengths.has(e)||o.actionArrayLengths.set(e,Array.isArray(t)?t.length:0),u&&Array.isArray(t)){let n=s(t,c.argA,c.argB);l&&ZM(r,e,n)}let a=$(n.errors,e);if(u&&Array.isArray(a)){let t=a.root,r=s(a,c.argA,c.argB)||a;t&&(r.root=t),l&&ZM(n.errors,e,r),uP(n.errors,e)}let d=$(n.touchedFields,e),f=u&&Array.isArray(d);if(f){let t=s(d,c.argA,c.argB);l&&ZM(n.touchedFields,e,t)}let p=$(n.dirtyFields,e);if(u&&Array.isArray(p)){let t=s(p,c.argA,c.argB)||p;l&&ZM(n.dirtyFields,e,t)}g(`dirtyFields`)&&E(),_.state.next({name:e,isDirty:de(e,i),dirtyFields:n.dirtyFields,...f&&{touchedFields:n.touchedFields},errors:n.errors,isValid:n.isValid})}else ZM(a,e,i)},te=(e,t)=>{ZM(n.errors,e,t),n.errors={...n.errors},_.state.next({errors:n.errors})},ne=e=>{Object.keys(c).forEach(S);let t=!_N(e);n.errors=e,_.state.next({errors:n.errors,...t?{isValid:!1}:{}}),!t&&o.mount&&w()},re=e=>{let t=qM(e)?[e]:PM(e),n=a,r=i;for(let e=0;e<t.length-1;e++){let i=t[e];if(n=kM(n)?n:n[i],r=kM(r)?r:r[i],n===null&&r!==null)return!0}return!1},ie=e=>{if(!o.actionArrayLengths.size)return!1;let t=qM(e)?[e]:PM(e),n=a,r=``,i=-1,s=0;for(let e=0;e<t.length;e++){if(kM(n))return!1;let a=t[e];if(r=r?`${r}.${a}`:a,Array.isArray(n)&&+a>=n.length)return i===-1?!1:e!==i||+a<s;if(o.actionArrayLengths.has(r)&&(i=e+1,s=o.actionArrayLengths.get(r)),n=n[a],JM(n)&&i!==-1&&e>i&&+t[i]<s)return!0}return!1},ae=(c,l,u,d)=>{let f=$(r,c);if(f){if(re(c)||ie(c))return;let r=JM($(a,c)),p=$(a,c,JM(u)?$(i,c):u);JM(p)||d&&d.defaultChecked||l?ZM(a,c,l?p:eP(f._f)):me(c,p),o.mount&&!o.action&&(t.resolver&&g(`isValidating`,`validatingFields`)?Promise.resolve().then(()=>w()):w(),r&&n.isDirty&&g(`isDirty`)&&(de()||(n.isDirty=!1,_.state.next({...n}))),e.shouldUnregister&&r&&!JM($(a,c))&&mN(c,s)&&(o.watch=!0))}},oe=(e,o,s,c,l)=>{let u=!1,d=!1,f={name:e};if(!t.disabled||c===!0){if(!s||c){let t=aN($(i,e),o);g(`isDirty`)&&(d=n.isDirty,n.isDirty=f.isDirty=!t||de(),u=d!==f.isDirty),d=!!$(n.dirtyFields,e),t===n.isDirty?t?PN(n.dirtyFields,e):ZM(n.dirtyFields,e,!0):fP(n.dirtyFields,ZN(i,a,void 0,r)),f.dirtyFields=n.dirtyFields,u||=g(`dirtyFields`)&&d!==!t}if(s){let t=$(n.touchedFields,e);t||(ZM(n.touchedFields,e,s),f.touchedFields=n.touchedFields,u||=g(`touchedFields`)&&t!==s)}u&&l&&_.state.next(f)}return u?f:{}},D=(e,r,i,a)=>{let o=$(n.errors,e),s=g(`isValid`)&&YM(r)&&n.isValid!==r;if(t.delayError&&i?(c[e]=x(e,()=>te(e,i)),c[e](t.delayError)):(S(e),i?ZM(n.errors,e,i):PN(n.errors,e),n.errors={...n.errors}),(i?!aN(o,i):o)||!_N(a)||s){let t={...a,...s&&YM(r)?{isValid:r}:{},errors:n.errors,name:e};_.state.next(t)}},O=async e=>(T(e,!0),await t.resolver(a,t.context,tP(e||s.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),se=async e=>{let t=y,{errors:i}=await O(e);if(t!==y)return i;if(T(e),e){for(let t of e){let e=$(i,t);C(t);let a=s.array.has(t)&&jM(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e))),o=$(r,t),c=jM(o)&&Object.keys(o).some(e=>e!==`_f`);a?gN(n.errors,{[t]:e},t):e?.type||e?.message||Array.isArray(e)||jM(e)&&c?ZM(n.errors,t,e):PN(n.errors,t)}n.errors={...n.errors}}else Object.keys(c).forEach(S),n.errors=i;return i},ce=async({name:e,eventType:r})=>{if(t.validate){let i=y,o=await t.validate({formValues:a,formState:n,name:e,eventType:r});if(i!==y)return!0;if(jM(o)){let e=!0;Te(UM);for(let t in o){let n=o[t];n&&(e=!1,Ee(`${UM}.${t}`,{message:cN(n.message)?n.message:``,type:n.type||VM.validate}))}return e}return cN(o)||!o?(Ee(UM,{message:o||``,type:VM.validate}),!1):(Te(UM),!0)}return!0},le=async({fields:r,onlyCheckValid:i,name:o,eventType:c,context:l={valid:!0,runRootValidation:!1}})=>{let u=y;if(t.validate&&!l.runRootValidation&&(l.runRootValidation=!0,!await ce({name:o,eventType:c})&&(l.valid=!1,i)))return l.valid;for(let o in r){let d=r[o];if(d){let{_f:r,...f}=d;if(r){let o=s.array.has(r.name),c=d._f&&iP(d._f),f=g(`isValidating`,`validatingFields`);c&&f&&T([r.name],!0);let p=await kN(d,s.disabled,a,b,t.shouldUseNativeValidation&&!i,o);if(u!==y)return l.valid;if(c&&f&&T([r.name]),p[r.name]&&(l.valid=!1,i)||(i||(S(r.name),$(p,r.name)?o?gN(n.errors,p,r.name):ZM(n.errors,r.name,p[r.name]):PN(n.errors,r.name)),e.shouldUseNativeValidation&&p[r.name]))break}!_N(f)&&await le({context:l,onlyCheckValid:i,fields:f,name:o,eventType:c})}}return l.valid},ue=()=>{for(let e of s.unMount){let t=$(r,e);t&&(t._f.refs?t._f.refs.every(e=>!HN(e)):!HN(t._f.ref))&&Ae(e)}s.unMount=new Set},de=(e,t)=>(e&&t&&ZM(a,e,t),!aN(o.mount?a:i,i)),fe=(e,t,n)=>lN(e,s,{...o.mount?a:JM(t)||cN(e)?i:t},n,t),pe=e=>jN($(o.mount?a:i,e,t.shouldUnregister?$(i,e,[]):[])),me=(e,t,n={},i=!1,o=!1,s=!1)=>{let c=$(r,e),l=t;if(c){let n=c._f;n&&(!n.disabled&&ZM(a,e,$N(t,n)),l=vN(n.ref)&&kM(t)?``:t,BN(n.ref)?[...n.ref.options].forEach(e=>e.selected=l.includes(e.value)):n.refs?EM(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(e.checked=Array.isArray(l)?!!l.find(t=>t===e.value):l===e.value||!!l)}):n.refs.forEach(e=>e.checked=e.value===l):DM(n.ref)?n.ref.value=``:(n.ref.value=l,n.ref.type||o||s||_.state.next({name:e,values:i?a:RM(a)})))}(n.shouldDirty||n.shouldTouch)&&oe(e,c&&c._f&&!c._f.disabled&&(c._f.valueAsNumber||c._f.valueAsDate||c._f.setValueAs)?$N(t,c._f):l,n.shouldTouch,n.shouldDirty,!o),n.shouldValidate&&xe(e,{delayError:n.delayError}),n.shouldValidate&&c&&c._f&&c._f.deps&&(!Array.isArray(c._f.deps)||c._f.deps.length>0)&&xe(c._f.deps)},he=(e,t,n,i=!1,o=!1,c=!1)=>{s.array.has(e)&&_.array.next({name:e,values:i?a:RM(a)});for(let a in t){if(!t.hasOwnProperty(a))continue;let l=t[a],u=e+`.`+a,d=$(r,u);(s.array.has(e)||jM(l)||d&&!d._f)&&!OM(l)?he(u,l,n,i,o,c):me(u,l,n,i,o,c)}},ge=(e,t,i,c,l=!1)=>{let u=$(r,e),d=s.array.has(e),f=c?t:RM(t),p=aN($(a,e),f);if(p||ZM(a,e,f),d)_.array.next({name:e,values:c?a:RM(a)}),g(`isDirty`,`dirtyFields`)&&i.shouldDirty&&(E(),l||_.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:de(e,f)})),i.shouldValidate&&xe(e,{delayError:i.delayError});else{let t=Array.isArray(f)&&!f.length||_N(f),n=!p&&!l;!u||u._f||kM(f)||t?me(e,f,i,c,l,n):he(e,f,i,c,l,n)}if(!p&&!l){let t=mN(e,s),r=c?a:RM(a);if(_.state.next({...t&&n,name:o.mount||t?e:void 0,values:r}),!d)for(let t of QN(s.array,e))_.state.next({name:t,values:r})}},_e=(e,t,n={})=>ge(e,t,n,!1),ve=(e,t={})=>{let r=XM(e)?e(a):e;if(!aN(a,r)){a={...a,...r};for(let e of s.mount)zN(r,e)&&ge(e,$(r,e),t,!0,!0);_.state.next({...n,name:void 0,type:void 0,...u?{values:a}:{}}),t.shouldValidate&&w()}},ye=async e=>{o.mount=!0;let i=e.target,l=i.name,p=!0,m=$(r,l),h=e=>{p=Number.isNaN(e)||OM(e)&&isNaN(e.getTime())||aN(e,$(a,l,e))};if(m){let o,v,x=i.type?eP(m._f):MM(e),S=e.type===zM.BLUR||e.type===zM.FOCUS_OUT,C=!aP(m._f)&&!t.validate&&!t.resolver&&!$(n.errors,l)&&!m._f.deps,E=C||lP(S,$(n.touchedFields,l),n.isSubmitted,f,d),ee=mN(l,s,S);if(ZM(a,l,RM(x)),S){if(!i||!i.readOnly){m._f.onBlur&&m._f.onBlur(e);let t=c[l];t&&t(0)}}else m._f.onChange&&m._f.onChange(e);let te=oe(l,x,S),ne=!_N(te)||ee;if(!S&&_.state.next({name:l,type:e.type,...u?{values:RM(a)}:{}}),E)return C&&n.isValid||!g(`isValid`)||(t.mode===`onBlur`?S&&w():S||w()),ne&&_.state.next({name:l,...ee?{}:te});if(!t.resolver&&t.validate&&await ce({name:l,eventType:e.type}),!S&&ee&&_.state.next({...n}),t.resolver){let e=y,{errors:t}=await O([l]);if(e!==y)return;if(T([l]),h(x),!p){!_N(te)&&_.state.next(te);return}let i=oP(n.errors,r,l),a=oP(t,r,i.name||l);o=a.error,l=a.name,v=_N(t)}else{let n=y;if(T([l],!0),o=(await kN(m,s.disabled,a,b,t.shouldUseNativeValidation))[l],n!==y)return;if(T([l]),h(x),p){if(o)v=!1;else if(g(`isValid`)&&(v=await le({fields:r,onlyCheckValid:!0,name:l,eventType:e.type}),n!==y))return}}p&&(m._f.deps&&(!Array.isArray(m._f.deps)||m._f.deps.length>0)&&xe(m._f.deps),D(l,v,o,te))}},be=(e,t)=>{if($(n.errors,t)&&e.focus)return e.focus(),1},xe=async(e,i={})=>{let a,o,l=AN(e);if(t.resolver){let t=y,n=await se(JM(e)?e:l);if(a=_N(n),o=e?!l.some(e=>$(n,e)):a,t!==y)return o}else e?(o=(await Promise.all(l.map(async e=>{let t=$(r,e);return await le({fields:t&&t._f?{[e]:t}:t,eventType:zM.TRIGGER})}))).every(Boolean),(o||n.isValid)&&w()):o=a=await le({fields:r,name:e,eventType:zM.TRIGGER});if(i.delayError&&t.delayError&&cN(e)){let r=$(n.errors,e);r?(PN(n.errors,e),c[e]=x(e,()=>te(e,r)),c[e](t.delayError)):S(e)}if(i.shouldTouch)for(let t of e?l:s.mount)!s.array.has(t)&&ZM(n.touchedFields,t,!0);return _.state.next({...!cN(e)||g(`isValid`)&&a!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},...i.shouldTouch&&g(`touchedFields`)?{touchedFields:n.touchedFields}:{},errors:n.errors}),i.shouldFocus&&!o&&hN(r,be,e?l:s.mount),o},Se=(e,t)=>{let r={...o.mount?a:i};return t&&(r=LN(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),JM(e)?r:cN(e)?$(r,e):e.map(e=>$(r,e))},Ce=e=>JM(e)?{...n.errors}:cN(e)?$(n.errors,e):e.map(e=>$(n.errors,e)),we=(e,t)=>{let r=t||n,i=$(r.errors,e);return{invalid:!!i,isDirty:!!$(r.dirtyFields,e),error:i,isValidating:!!$(r.validatingFields,e),isTouched:!!$(r.touchedFields,e)}},Te=e=>{let t=e?AN(e):void 0;t?t.forEach(e=>{C(e),PN(n.errors,e),_.state.next({name:e,errors:n.errors})}):(Object.keys(c).forEach(S),n.errors={},_.state.next({errors:n.errors}))},Ee=(e,t,i)=>{C(e);let a=($(r,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:c,types:l,...u}=$(n.errors,e)||{};ZM(n.errors,e,{...u,...t,ref:a}),_.state.next({name:e,errors:n.errors,isValid:!1}),i&&i.shouldFocus&&a&&a.focus&&a.focus()},De=(e,t)=>{if(XM(e)){u++;let{unsubscribe:n}=_.state.subscribe({next:n=>`values`in n&&e(n.values||fe(void 0,t),n)}),r=!1;return{unsubscribe:()=>{r||(r=!0,u--,n())}}}return fe(e,t,!0)},Oe=e=>{let t=!!e.formState?.values;t&&u++;let{unsubscribe:r}=_.state.subscribe({next:t=>{if(cP(e.name,t.name,e.exact)&&sP(t,e.formState||m,Be,e.reRenderRoot)){let r={...a};e.callback({values:r,...n,...t,defaultValues:i})}}});if(!t)return r;let o=!1;return()=>{o||(o=!0,u--,r())}},ke=e=>(o.mount=!0,h={...h,...e.formState},Oe({...e,formState:{...p,...e.formState}})),Ae=(e,o={})=>{for(let c of e?AN(e):s.mount)s.mount.delete(c),s.array.delete(c),s.disabled.delete(c),o.keepValue||(PN(r,c),PN(a,c)),o.keepError||(C(c),PN(n.errors,c)),!o.keepDirty&&PN(n.dirtyFields,c),!o.keepTouched&&PN(n.touchedFields,c),!o.keepIsValidating&&PN(n.validatingFields,c),!t.shouldUnregister&&!o.keepDefaultValue&&PN(i,c);u&&_.state.next({values:RM(a)}),_.state.next({...n,...o.keepDirty?{}:{isDirty:de()},...o.keepIsValidating?{}:{isValidating:!_N(n.validatingFields)}}),!o.keepIsValid&&w()},je=({disabled:e,name:t})=>{if(YM(e)&&o.mount||e||s.disabled.has(t)){let n=s.disabled.has(t)!==!!e;e?s.disabled.add(t):s.disabled.delete(t),n&&o.mount&&!o.action&&w()}},Me=(e,n={})=>{let a=$(r,e),c=YM(n.disabled)||YM(t.disabled),l=!s.registerName.has(e)&&a&&a._f&&!a._f.mount;if(ZM(r,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...n}}),s.mount.add(e),a&&a._f){let t=$(r,e);for(let e of HM)e in n||delete t._f[e]}return a&&!l?je({disabled:YM(n.disabled)?n.disabled:t.disabled,name:e}):ae(e,!0,n.value),{...c?{disabled:n.disabled||t.disabled}:{},...t.progressive?{required:!!n.required,min:nP(n.min),max:nP(n.max),minLength:nP(n.minLength),maxLength:nP(n.maxLength),pattern:nP(n.pattern)}:{},name:e,onChange:ye,onBlur:ye,ref:c=>{if(c){s.registerName.add(e),Me(e,n),s.registerName.delete(e),a=$(r,e);let t=JM(c.value)&&c.querySelectorAll&&c.querySelectorAll(`input,select,textarea`)[0]||c,o=VN(t),l=a._f.refs||[];if(o?l.find(e=>e===t):t===a._f.ref)return;let u={...a._f};o?(u.refs=[...l.filter(HN),t,...Array.isArray($(i,e))?[{}]:[]],u.ref={type:t.type,name:e}):(u.ref=t,delete u.refs),ZM(r,e,{_f:u}),ae(e,!1,void 0,t)}else a=$(r,e,{}),a._f&&(a._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(IM(s.array,e)&&o.action)&&s.unMount.add(e)}}},Ne=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&hN(r,be,s.mount),Pe=e=>{YM(e)&&(_.state.next({disabled:e}),hN(r,(t,n)=>{let i=$(r,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0))},Fe=(e,i)=>async o=>{let l,u;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let d=RM(a);if(_.state.next({isSubmitting:!0}),t.resolver){let e=y,{errors:t,values:r}=await O();if(e!==y)return;T(),Object.keys(c).forEach(S),n.errors=t,d=RM(r)}else{let e=y;if(await le({fields:r,eventType:zM.SUBMIT}),e!==y)return;PN(n.errors,WM)}if(s.disabled.size)for(let e of s.disabled)PN(d,e);if(_N(n.errors)){_.state.next({errors:{}});try{l=await e(d,o)}catch(e){u=e}}else i&&await i({...n.errors},o),Ne(),setTimeout(Ne);if(_.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:_N(n.errors)&&!u,submitCount:n.submitCount+1,errors:n.errors}),u)throw u;return l},Ie=(e,t={})=>{$(r,e)&&(PN(n.validatingFields,e),JM(t.defaultValue)?_e(e,RM($(i,e))):(_e(e,t.defaultValue),ZM(i,e,RM(t.defaultValue))),t.keepTouched||PN(n.touchedFields,e),t.keepDirty||(PN(n.dirtyFields,e),n.isDirty=t.defaultValue?de(e,RM($(i,e))):de()),t.keepError||(C(e),PN(n.errors,e),w()),_.state.next({...n,isValidating:!_N(n.validatingFields)}))},Le=(e,l={})=>{y++;let u=e?RM(e):i,d=RM(u),f=_N(e),p=d,h=r;if(Object.keys(c).forEach(S),l.keepDefaultValues||(i=u),!l.keepValues){if(l.keepDirtyValues){let e=new Set([...s.mount,...WN(ZN(i,a,void 0,h),n.dirtyFields)]);for(let t of e){let e=$(n.dirtyFields,t),r=$(a,t),i=$(p,t);e&&!JM(r)?ZM(p,t,r):!e&&!JM(i)&&_e(t,i)}}else{if(LM&&JM(e))for(let e of s.mount){let t=$(r,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(vN(e)){let t=e.closest(`form`);if(t){t.reset();break}}}}if(l.keepFieldsRef)for(let e of s.mount)_e(e,$(p,e));else r={}}if(t.shouldUnregister){if(a=l.keepDefaultValues?RM(i):{},l.keepFieldsRef)for(let e of s.mount)ZM(a,e,$(p,e))}else a=RM(p);_.array.next({values:{...p}}),_.state.next({name:void 0,type:void 0,values:{...p}})}s={mount:l.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:``},o.mount=!m.isValid||!!l.keepIsValid||!!l.keepDirtyValues||!t.shouldUnregister&&!_N(p),o.watch=!!t.shouldUnregister,o.keepIsValid=!!l.keepIsValid,o.action=!1,o.actionArrayLengths.clear(),l.keepErrors||(n.errors={}),_.state.next({submitCount:l.keepSubmitCount?n.submitCount:0,isDirty:f?!1:l.keepDirty?n.isDirty:l.keepValues?de():!(!l.keepDefaultValues||aN(e,i)),isSubmitted:l.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:f?{}:l.keepDirtyValues?l.keepDefaultValues&&a?ZN(i,a,void 0,h):n.dirtyFields:l.keepDefaultValues&&e?ZN(i,e,void 0,h):l.keepDirty?n.dirtyFields:l.keepValues?ZN(i,a,void 0,h):{},touchedFields:l.keepTouched?n.touchedFields:{},...!l.keepIsValidating&&(n.isValidating||!_N(n.validatingFields))?{validatingFields:{},isValidating:!1}:null,errors:l.keepErrors?n.errors:{},isSubmitSuccessful:l.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},Re=(e,n)=>Le(XM(e)?e(a):e,{...t.resetOptions,...n}),ze=(e,t={})=>{let n=$(r,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&XM(e.select)&&e.select()})}},Be=e=>{let{name:t,type:r,values:i,...a}=e;n={...n,...a}};_.state.subscribe({next:Be});let Ve={control:{register:Me,unregister:Ae,getFieldState:we,handleSubmit:Fe,setError:Ee,_subscribe:Oe,_runSchema:O,_updateIsValidating:T,_focusError:Ne,_getWatch:fe,_getDirty:de,_setValid:w,_setFieldArray:ee,_setDisabledField:je,_setErrors:ne,_getFieldArray:pe,_reset:Le,_resetDefaultValues:()=>XM(t.defaultValues)&&t.defaultValues().then(e=>{Re(e,t.resetOptions),_.state.next({isLoading:!1})}),_removeUnmounted:ue,_disableForm:Pe,_subjects:_,_proxyFormState:m,get _fields(){return r},get _formValues(){return a},get _state(){return o},set _state(e){o=e},get _defaultValues(){return i},get _names(){return s},set _names(e){s=e},get _formState(){return n},get _options(){return t},set _options(e){t={...t,...e},d=pN(t.mode),f=pN(t.reValidateMode),b=t.criteriaMode===BM.all}},subscribe:ke,trigger:xe,register:Me,handleSubmit:Fe,watch:De,setValue:_e,setValues:ve,getValues:Se,getErrors:Ce,reset:Re,resetField:Ie,resetDefaultValues:(e,t={})=>{if(i=RM(e),!t.keepDirty){let e=ZN(i,a,void 0,r);n.dirtyFields=e,n.isDirty=!_N(e)}t.keepIsValid||w(),_.state.next({...n,defaultValues:i})},clearErrors:Te,unregister:Ae,setError:Ee,setFocus:ze,getFieldState:we};return{...Ve,formControl:Ve}}function hP(e={}){let t=w.useRef(void 0),n=w.useRef(void 0),r=w.useRef(e.formControl),i=w.useRef(!!e.validate),[a,o]=w.useState(()=>({...RM(pP),isLoading:XM(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:XM(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&r.current!==e.formControl){if(r.current=e.formControl,e.formControl)t.current={...e.formControl,formState:a},e.defaultValues&&!XM(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...r}=mP(e);t.current={...r,formState:a}}}let s=t.current.control;s._options={...e,validate:e.validate};let c=()=>({...s._formState,defaultValues:s._defaultValues}),{resyncIfNeeded:l,snapshot:u}=oN(c);return tN(()=>{l(!0,c,o);let e=s._subscribe({formState:s._proxyFormState,callback:()=>o({...s._formState,defaultValues:s._defaultValues}),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),s._formState.isReady=!0,()=>{e(),u(!0,c)}},[s,l,u]),w.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),w.useEffect(()=>{e.mode&&(s._options.mode=e.mode),e.reValidateMode&&(s._options.reValidateMode=e.reValidateMode)},[s,e.mode,e.reValidateMode]),w.useEffect(()=>{e.errors&&(s._setErrors(e.errors),s._focusError())},[s,e.errors]),w.useEffect(()=>{var n;i.current&&!e.validate&&((n=t.current)==null||n.clearErrors(UM)),i.current=!!e.validate},[e.validate]),w.useEffect(()=>{e.shouldUnregister&&s._subjects.state.next({values:s._getWatch()})},[s,e.shouldUnregister]),w.useEffect(()=>{if(s._proxyFormState.isDirty){let e=s._getDirty();e!==a.isDirty&&s._subjects.state.next({isDirty:e})}},[s,a.isDirty]),w.useEffect(()=>{e.values&&!aN(e.values,n.current)?(s._reset(e.values,{keepFieldsRef:!0,...s._options.resetOptions}),s._options.resetOptions?.keepIsValid||s._setValid(),n.current=e.values,o(e=>({...e}))):s._resetDefaultValues()},[s,e.values]),w.useEffect(()=>{s._state.mount||(s._setValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),t.current.formState=w.useMemo(()=>eN(a,s),[s,a]),t.current}function gP(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var _P;(function(e){e.event=`event`,e.props=`prop`})(_P||={});function vP(){}function yP(e){var t,n=void 0;return function(){for(var r=[],i=arguments.length;i--;)r[i]=arguments[i];return t&&r.length===t.length&&r.every(function(e,n){return e===t[n]})||(t=r,n=e.apply(void 0,r)),n}}function bP(e){return!!(e||``).match(/\d/)}function xP(e){return e==null}function SP(e){return typeof e==`number`&&isNaN(e)}function CP(e){return xP(e)||SP(e)||typeof e==`number`&&!isFinite(e)}function wP(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,`\\$&`)}function TP(e){switch(e){case`lakh`:return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case`wan`:return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}function EP(e,t,n){var r=TP(n),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(r,`$1`+t)}function DP(e){var t=(0,w.useRef)(e);return t.current=e,(0,w.useRef)(function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return t.current.apply(t,e)}).current}function OP(e,t){t===void 0&&(t=!0);var n=e[0]===`-`,r=n&&t;e=e.replace(`-`,``);var i=e.split(`.`);return{beforeDecimal:i[0],afterDecimal:i[1]||``,hasNegation:n,addNegation:r}}function kP(e){if(!e)return e;var t=e[0]===`-`;t&&(e=e.substring(1,e.length));var n=e.split(`.`),r=n[0].replace(/^0+/,``)||`0`,i=n[1]||``;return(t?`-`:``)+r+(i?`.`+i:``)}function AP(e,t,n){for(var r=``,i=n?`0`:``,a=0;a<=t-1;a++)r+=e[a]||i;return r}function jP(e,t){return Array(t+1).join(e)}function MP(e){var t=e+``,n=t[0]===`-`?`-`:``;n&&(t=t.substring(1));var r=t.split(/[eE]/g),i=r[0],a=r[1];if(a=Number(a),!a)return n+i;i=i.replace(`.`,``);var o=1+a,s=i.length;return o<0?i=`0.`+jP(`0`,Math.abs(o))+i:o>=s?i+=jP(`0`,o-s):i=(i.substring(0,o)||`0`)+`.`+i.substring(o),n+i}function NP(e,t,n){if([``,`-`].indexOf(e)!==-1)return e;var r=(e.indexOf(`.`)!==-1||n)&&t,i=OP(e),a=i.beforeDecimal,o=i.afterDecimal,s=i.hasNegation,c=parseFloat(`0.`+(o||`0`)),l=(o.length<=t?`0.`+o:c.toFixed(t)).split(`.`),u=a;a&&Number(l[0])&&(u=a.split(``).reverse().reduce(function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e},l[0]));var d=AP(l[1]||``,t,n),f=s?`-`:``,p=r?`.`:``;return``+f+u+p+d}function PP(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move(`character`,t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var FP=yP(function(e,t){for(var n=0,r=0,i=e.length,a=t.length;e[n]===t[n]&&n<i;)n++;for(;e[i-1-r]===t[a-1-r]&&a-r>n&&i-r>n;)r++;return{from:{start:n,end:i-r},to:{start:n,end:a-r}}}),IP=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function LP(e,t,n){return Math.min(Math.max(e,t),n)}function RP(e){return Math.max(e.selectionStart,e.selectionEnd)}function zP(){return typeof navigator<`u`&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function BP(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:``}}function VP(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,i=e.formattedValueIndex;return t[r]===n[i]}function HP(e,t,n,r,i,a,o){o===void 0&&(o=VP);var s=i.findIndex(function(e){return e}),c=e.slice(0,s);!t&&!n.startsWith(c)&&(t=c,n=c+n,r+=c.length);for(var l=n.length,u=e.length,d={},f=Array(l),p=0;p<l;p++){f[p]=-1;for(var m=0,h=u;m<h;m++)if(o({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:p,formattedValueIndex:m})&&d[m]!==!0){f[p]=m,d[m]=!0;break}}for(var g=r;g<l&&(f[g]===-1||!a(n[g]));)g++;var _=g===l||f[g]===-1?u:f[g];for(g=r-1;g>0&&f[g]===-1;)g--;var v=g===-1||f[g]===-1?0:f[g]+1;return v>_?_:r-v<_-r?v:_}function UP(e,t,n,r){var i=e.length;if(t=LP(t,0,i),r===`left`){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=i&&!n[t];)t++;t>i&&(t=n.lastIndexOf(!0))}return t===-1&&(t=i),t}function WP(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n<r;n++)t[n]=!!(bP(e[n])||bP(e[n-1]));return t}function GP(e,t,n,r,i,a){a===void 0&&(a=vP);var o=DP(function(e,t){var n,a;return CP(e)?(a=``,n=``):typeof e==`number`||t?(a=typeof e==`number`?MP(e):e,n=r(a)):(a=i(e,void 0),n=r(a)),{formattedValue:n,numAsString:a}}),s=(0,w.useState)(function(){return o(xP(e)?t:e,n)}),c=s[0],l=s[1],u=DP(function(e,t){e.formattedValue!==c.formattedValue&&l({formattedValue:e.formattedValue,numAsString:e.value}),a(e,t)}),d=e,f=n;xP(e)&&(d=c.numAsString,f=!0);var p=o(d,f);return(0,w.useMemo)(function(){l(p)},[p.formattedValue]),(0,w.useEffect)(function(){if(!xP(t)&&xP(e)&&c.formattedValue!==``){var n=parseFloat(c.numAsString);u({formattedValue:c.formattedValue,value:c.numAsString,floatValue:isNaN(n)?void 0:n},{event:void 0,source:_P.props})}},[]),[c,u]}function KP(e){return e.replace(/[^0-9]/g,``)}function qP(e){return e}function JP(e){var t=e.type;t===void 0&&(t=`text`);var n=e.displayType;n===void 0&&(n=`input`);var r=e.customInput,i=e.renderText,a=e.getInputRef,o=e.format;o===void 0&&(o=qP);var s=e.removeFormatting;s===void 0&&(s=KP);var c=e.defaultValue,l=e.valueIsNumericString,u=e.onValueChange,d=e.isAllowed,f=e.onChange;f===void 0&&(f=vP);var p=e.onKeyDown;p===void 0&&(p=vP);var m=e.onMouseUp;m===void 0&&(m=vP);var h=e.onFocus;h===void 0&&(h=vP);var g=e.onBlur;g===void 0&&(g=vP);var _=e.value,v=e.getCaretBoundary;v===void 0&&(v=WP);var y=e.isValidInputCharacter;y===void 0&&(y=bP);var b=e.isCharacterSame,x=gP(e,[`type`,`displayType`,`customInput`,`renderText`,`getInputRef`,`format`,`removeFormatting`,`defaultValue`,`valueIsNumericString`,`onValueChange`,`isAllowed`,`onChange`,`onKeyDown`,`onMouseUp`,`onFocus`,`onBlur`,`value`,`getCaretBoundary`,`isValidInputCharacter`,`isCharacterSame`]),S=GP(_,c,!!l,o,s,u),C=S[0],T=C.formattedValue,E=C.numAsString,ee=S[1],te=(0,w.useRef)(),ne=(0,w.useRef)({formattedValue:T,numAsString:E}),re=function(e,t){ne.current={formattedValue:e.formattedValue,numAsString:e.value},ee(e,t)},ie=(0,w.useState)(!1),ae=ie[0],oe=ie[1],D=(0,w.useRef)(null),O=(0,w.useRef)({setCaretTimeout:null,focusTimeout:null});(0,w.useEffect)(function(){return oe(!0),function(){clearTimeout(O.current.setCaretTimeout),clearTimeout(O.current.focusTimeout)}},[]);var se=o,ce=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},le=function(e,t,n){(e.selectionStart!==0||e.selectionEnd!==e.value.length)&&(PP(e,t),O.current.setCaretTimeout=setTimeout(function(){e.value===n&&e.selectionStart!==t&&PP(e,t)},0))},ue=function(e,t,n){return UP(e,t,v(e),n)},de=function(e,t,n){var r=v(t),i=HP(t,T,e,n,r,y,b);return i=UP(t,i,r),i},fe=function(e){var t=e.formattedValue;t===void 0&&(t=``);var n=e.input,r=e.source,i=e.event,a=e.numAsString,o;if(n){var s=e.inputValue||n.value,c=RP(n);n.value=t,o=de(s,t,c),o!==void 0&&le(n,o,t)}t!==T&&re(ce(t,a),{event:i,source:r})};(0,w.useEffect)(function(){var e=ne.current,t=e.formattedValue,n=e.numAsString;(T!==t||E!==n)&&re(ce(T,E),{event:void 0,source:_P.props})},[T,E]);var pe=D.current?RP(D.current):void 0;(typeof window<`u`?w.useLayoutEffect:w.useEffect)(function(){var e=D.current;if(T!==ne.current.formattedValue&&e){var t=de(ne.current.formattedValue,T,pe);e.value=T,le(e,t,T)}},[T]);var me=function(e,t,n){var r=t.target,i=te.current?IP(te.current,r.selectionEnd):FP(T,e),a=Object.assign(Object.assign({},i),{lastValue:T}),o=s(e,a),c=se(o);if(o=s(c,void 0),d&&!d(ce(c,o))){var l=t.target,u=de(e,T,RP(l));return l.value=T,le(l,u,T),!1}return fe({formattedValue:c,numAsString:o,inputValue:e,event:t,source:n,input:t.target}),!0},he=function(e,t){t===void 0&&(t=0),te.current={selectionStart:e.selectionStart,selectionEnd:e.selectionEnd+t}},ge=function(e){var t=e.target.value;me(t,e,_P.event)&&f(e),te.current=void 0},_e=function(e){var t=e.target,n=e.key,r=t.selectionStart,i=t.selectionEnd,a=t.value;a===void 0&&(a=``);var o;n===`ArrowLeft`||n===`Backspace`?o=Math.max(r-1,0):n===`ArrowRight`?o=Math.min(r+1,a.length):n===`Delete`&&(o=r);var s=0;n===`Delete`&&r===i&&(s=1);var c=n===`ArrowLeft`||n===`ArrowRight`;if(o===void 0||r!==i&&!c)p(e),he(t,s);else{var l=o;c?(l=ue(a,o,n===`ArrowLeft`?`left`:`right`),l!==o&&e.preventDefault()):n===`Delete`&&!y(a[o])?l=ue(a,o,`right`):n===`Backspace`&&!y(a[o])&&(l=ue(a,o,`left`)),l!==o&&le(t,l,a),p(e),he(t,s)}},ve=function(e){var t=e.target,n=function(){var e=t.selectionStart,n=t.selectionEnd,r=t.value;if(r===void 0&&(r=``),e===n){var i=ue(r,e);i!==e&&le(t,i,r)}};n(),requestAnimationFrame(function(){n()}),m(e),he(t)},ye=function(e){e.persist&&e.persist();var t=e.target,n=e.currentTarget;D.current=t,O.current.focusTimeout=setTimeout(function(){var r=t.selectionStart,i=t.selectionEnd,a=t.value;a===void 0&&(a=``);var o=ue(a,r);o!==r&&(r!==0||i!==a.length)&&le(t,o,a),h(Object.assign(Object.assign({},e),{currentTarget:n}))},0)},be=function(e){D.current=null,clearTimeout(O.current.focusTimeout),clearTimeout(O.current.setCaretTimeout),g(e)},xe=ae&&zP()?`numeric`:void 0,Se=Object.assign({inputMode:xe},x,{type:t,value:T,onChange:ge,onKeyDown:_e,onMouseUp:ve,onFocus:ye,onBlur:be});if(n===`text`)return i?w.createElement(w.Fragment,null,i(T,x)||null):w.createElement(`span`,Object.assign({},x,{ref:a}),T);if(r){var Ce=r;return w.createElement(Ce,Object.assign({},Se,{ref:a}))}return w.createElement(`input`,Object.assign({},Se,{ref:a}))}function YP(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i=``);var a=t.suffix;a===void 0&&(a=``);var o=t.allowNegative,s=t.thousandsGroupStyle;if(s===void 0&&(s=`thousand`),e===``||e===`-`)return e;var c=XP(t),l=c.thousandSeparator,u=c.decimalSeparator,d=n!==0&&e.indexOf(`.`)!==-1||n&&r,f=OP(e,o),p=f.beforeDecimal,m=f.afterDecimal,h=f.addNegation;return n!==void 0&&(m=AP(m,n,!!r)),l&&(p=EP(p,l,s)),i&&(p=i+p),a&&(m+=a),h&&(p=`-`+p),e=p+(d&&u||``)+m,e}function XP(e){var t=e.decimalSeparator;t===void 0&&(t=`.`);var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=`,`),r||=[t,`.`],{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function ZP(e,t){e===void 0&&(e=``);var n=RegExp(`(-)`),r=RegExp(`(-)(.)*(-)`),i=n.test(e),a=r.test(e);return e=e.replace(/-/g,``),i&&!a&&t&&(e=`-`+e),e}function QP(e,t){return RegExp(`(^-)|[0-9]|`+wP(e),t?`g`:void 0)}function $P(e,t,n){return e===``||!t?.match(/\d/)&&!n?.match(/\d/)&&typeof e==`string`&&!isNaN(Number(e))}function eF(e,t,n){var r;t===void 0&&(t=BP(e));var i=n.allowNegative,a=n.prefix;a===void 0&&(a=``);var o=n.suffix;o===void 0&&(o=``);var s=n.decimalScale,c=t.from,l=t.to,u=l.start,d=l.end,f=XP(n),p=f.allowedDecimalSeparators,m=f.decimalSeparator,h=e[d]===m;if(bP(e)&&(e===a||e===o)&&t.lastValue===``)return e;if(d-u===1&&p.indexOf(e[u])!==-1){var g=s===0?``:m;e=e.substring(0,u)+g+e.substring(u+1,e.length)}var _=function(e,t,n){var r=!1,i=!1;a.startsWith(`-`)?r=!1:e.startsWith(`--`)?(r=!1,i=!0):o.startsWith(`-`)&&e.length===o.length?r=!1:e[0]===`-`&&(r=!0);var s=+!!r;return i&&(s=2),s&&(e=e.substring(s),t-=s,n-=s),{value:e,start:t,end:n,hasNegation:r}},v=_(e,u,d),y=v.hasNegation;r=v,e=r.value,u=r.start,d=r.end;var b=_(t.lastValue,c.start,c.end),x=b.start,S=b.end,C=b.value,w=e.substring(u,d);e.length&&C.length&&(x>C.length-o.length||S<a.length)&&!(w&&o.startsWith(w))&&(e=C);var T=0;e.startsWith(a)?T+=a.length:u<a.length&&(T=u),e=e.substring(T),d-=T;var E=e.length,ee=e.length-o.length;e.endsWith(o)?E=ee:(d>ee||d>e.length-o.length)&&(E=d),e=e.substring(0,E),e=ZP(y?`-`+e:e,i),e=(e.match(QP(m,!0))||[]).join(``);var te=e.indexOf(m);e=e.replace(new RegExp(wP(m),`g`),function(e,t){return t===te?`.`:``});var ne=OP(e,i),re=ne.beforeDecimal,ie=ne.afterDecimal,ae=ne.addNegation;return l.end-l.start<c.end-c.start&&re===``&&h&&!parseFloat(ie)&&(e=ae?`-`:``),e}function tF(e,t){var n=t.prefix;n===void 0&&(n=``);var r=t.suffix;r===void 0&&(r=``);var i=Array.from({length:e.length+1}).map(function(){return!0}),a=e[0]===`-`;i.fill(!1,0,Math.min(n.length+ +!!a,e.length));var o=e.length;return i.fill(!1,o-r.length+1,o+1),i}function nF(e){var t=XP(e),n=t.thousandSeparator,r=t.decimalSeparator,i=e.prefix;i===void 0&&(i=``);var a=e.allowNegative;if(a===void 0&&(a=!0),n===r)throw Error(`
62
+ Decimal separator can't be same as thousand separator.
63
+ thousandSeparator: `+n+` (thousandSeparator = {true} is same as thousandSeparator = ",")
64
+ decimalSeparator: `+r+` (default value for decimalSeparator is .)
65
+ `);return i.startsWith(`-`)&&a&&(console.error(`
66
+ Prefix can't start with '-' when allowNegative is true.
67
+ prefix: `+i+`
68
+ allowNegative: `+a+`
69
+ `),a=!1),Object.assign(Object.assign({},e),{allowNegative:a})}function rF(e){e=nF(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,n=e.allowNegative,r=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=vP);var a=e.onBlur;a===void 0&&(a=vP);var o=e.thousandSeparator,s=e.decimalScale,c=e.fixedDecimalScale,l=e.prefix;l===void 0&&(l=``);var u=e.defaultValue,d=e.value,f=e.valueIsNumericString,p=e.onValueChange,m=gP(e,[`decimalSeparator`,`allowedDecimalSeparators`,`thousandsGroupStyle`,`suffix`,`allowNegative`,`allowLeadingZeros`,`onKeyDown`,`onBlur`,`thousandSeparator`,`decimalScale`,`fixedDecimalScale`,`prefix`,`defaultValue`,`value`,`valueIsNumericString`,`onValueChange`]),h=XP(e),g=h.decimalSeparator,_=h.allowedDecimalSeparators,v=function(t){return YP(t,e)},y=function(t,n){return eF(t,n,e)},b=xP(d)?u:d,x=f??$P(b,l,t);xP(d)?xP(u)||(x||=typeof u==`number`):x||=typeof d==`number`;var S=function(e){return CP(e)?e:(typeof e==`number`&&(e=MP(e)),x&&typeof s==`number`?NP(e,s,!!c):e)},C=GP(S(d),S(u),!!x,v,y,p),w=C[0],T=w.numAsString,E=w.formattedValue,ee=C[1];return Object.assign(Object.assign({},m),{value:E,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===g||bP(e)},isCharacterSame:function(e){var t=e.currentValue,n=e.lastValue,r=e.formattedValue,i=e.currentValueIndex,a=e.formattedValueIndex,o=t[i],u=r[a],f=FP(n,t).to,p=function(e){return y(e).indexOf(`.`)+l.length};return d===0&&c&&s&&t[f.start]===g&&p(t)<i&&p(r)>a?!1:i>=f.start&&i<f.end&&_&&_.includes(o)&&u===g?!0:o===u},onValueChange:ee,format:v,removeFormatting:y,getCaretBoundary:function(t){return tF(t,e)},onKeyDown:function(e){var t=e.target,r=e.key,a=t.selectionStart,u=t.selectionEnd,d=t.value;if(d===void 0&&(d=``),(r===`Backspace`||r===`Delete`)&&u<l.length&&d!==`-`)e.preventDefault();else if(a!==u)i(e);else{r===`Backspace`&&d[0]===`-`&&a===l.length+1&&n&&PP(t,1),s&&c&&(r===`Backspace`&&d[a-1]===g?(PP(t,a-1),e.preventDefault()):r===`Delete`&&d[a]===g&&e.preventDefault()),_?.includes(r)&&d[a]===g&&PP(t,a+1);var f=o===!0?`,`:o;r===`Backspace`&&d[a-1]===f&&PP(t,a-1),r===`Delete`&&d[a]===f&&PP(t,a+1),i(e)}},onBlur:function(t){var n=T;n.match(/\d/g)||(n=``),r||(n=kP(n)),c&&s&&(n=NP(n,s,c)),n!==T&&ee({formattedValue:YP(n,e),value:n,floatValue:parseFloat(n)},{event:t,source:_P.event}),a(t)}})}function iF(e){var t=rF(e);return w.createElement(JP,Object.assign({},t))}var aF=class{parse(e){return e==null||e===``?``:String(e).replace(/[eE.,]/g,``).replace(/\d[+-]/g,``)}},oF=/[.,+eE]/,sF=e=>{e.key.length===1&&!e.ctrlKey&&!e.metaKey&&oF.test(e.key)&&e.preventDefault()};function cF({_label:e,_msg:t,_touched:n,_on:r,_required:i,value:a,thousandSeparator:o=!0,suffix:s=`€`,...c}){let l=r&&typeof r==`object`?r:void 0;return(0,X.jsx)(iF,{...c,value:a,suffix:s,thousandSeparator:o,valueIsNumericString:!1,customInput:r=>{let a=r.value;return(0,X.jsx)(J,{...r,_value:a,_label:e,_msg:t,_touched:n,_required:i,_on:{onBlur:r.onBlur,onChange:r.onChange,onFocus:r.onFocus,onInput:r.onInput}})},onValueChange:e=>{let t=new Event(`input`);l?.onInput?.(t,e.floatValue)},onBlur:e=>{l?.onBlur?.(e.nativeEvent)}})}function lF(e){let{name:t,control:n,rules:r,defaultValue:i,shouldUnregister:a,disabled:o,_label:s,_required:c,...l}=e;return(0,X.jsx)(fN,{name:t,control:n,rules:r,defaultValue:i,shouldUnregister:a,disabled:o,render:({field:e,fieldState:t})=>{let n=l._on;return(0,X.jsx)(cF,{...l,_label:s,_required:c,value:e.value,_touched:t.isTouched,_msg:t.error?{_type:`error`,_description:t.error.message||String(t.error)}:void 0,_on:{onInput:(t,r)=>{e.onChange(r),n?.onInput?.(t,r)},onBlur:()=>e.onBlur()}})}})}function uF(){let e=new aF,[t,n]=w.useState(void 0),[r,i]=w.useState(-128),[a,o]=w.useState(!1),s=hP({defaultValues:{currency:1e6},mode:`onTouched`}),c=s.watch();return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example demonstrates formatting number input. The first example shows whole number formatting where decimal separators (. and ,) and scientific notation (e) are automatically removed on input. The second example shows currency formatting with react-number-format in a react-hook-form context.`})}),(0,X.jsxs)(`section`,{className:`w-full grid gap-4`,children:[(0,X.jsxs)(Z,{id:`whole-number`,children:[(0,X.jsx)(bT,{children:(0,X.jsx)(OT,{_label:`Whole number`,_step:1,_value:t??r,_on:{onKeyDown:sF,onBlur:()=>{o(!0)},onInput:(t,r)=>{let a=e.parse(r),o=a===``?void 0:Number(a);n(o),i(o)}}})}),(0,X.jsx)(`pre`,{className:`text-base mt-2`,children:JSON.stringify({value:r,touched:a},null,2)})]}),(0,X.jsxs)(Z,{id:`currency`,children:[(0,X.jsx)(bT,{_on:{onSubmit:e=>{s.handleSubmit(async()=>{})(e)}},children:(0,X.jsx)(lF,{control:s.control,name:`currency`,decimalScale:2,displayType:`input`,rules:{required:`Please enter a currency amount.`},_label:`Currency`,_required:!0})}),(0,X.jsx)(`pre`,{className:`text-base mt-2`,children:JSON.stringify(c,null,2)})]})]})]})}var dF={"input-number":{basic:wM,"get-value":TM,"number-formatter":uF}},fF=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(kT,{...n,_label:`Passwort (Black background test)`})}),(0,X.jsx)(Z,{...i(`icons-error`),children:(0,X.jsx)(kT,{...n,ref:r,_accessKey:`P`,_required:!0,_hint:rA,_msg:{_type:`error`,_description:nA},_placeholder:`Mit Icons`,_label:`Passwort`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}},_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(kT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Passwort`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(kT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Passwort`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(kT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Passwort`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(kT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Passwort`,_touched:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(kT,{...n,_disabled:!0,_msg:{_type:`error`,_description:nA},_label:`Passwort (Disabled)`,_touched:!0})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(kT,{...n,_readOnly:!0,_label:`Passwort (Readonly)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(kT,{...n,ref:r,_shortKey:`c`,_label:`With access key`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(kT,{...n,ref:r,_shortKey:`s`,_label:`With short key`})})]})}),pF=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Password`,children:(0,X.jsx)(fF,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Password (hideLabel)`,children:(0,X.jsx)(fF,{blockIdPrefix:`hide-label`,snapshotOnly:`icons-error`,ref:t,...e,_hideLabel:!0})})]})}),mF={"input-password":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputPassword renders a password input field. The sample shows KolInputPassword in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:pF,showButtons:!1})]}),counter:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases a password input with a counter for the chars in the field. Maximal length is 30.`})}),(0,X.jsx)(Z,{id:`counter`,children:(0,X.jsx)(kT,{_label:`Password`,_value:`Hunter2`,_hasCounter:!0,_maxLength:30})})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputPassword`,renderInput:e=>(0,X.jsx)(kT,{_label:`Password`,_on:e})})]}),"show-password":()=>{let e=(0,w.useRef)(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolInputPassword in the variant "visibility-toggle". It features a button to toggle between a visible and hidden password input.`})}),(0,X.jsx)(Z,{id:`show-password`,children:(0,X.jsxs)(bT,{className:`w-full`,children:[(0,X.jsx)(kT,{_placeholder:`With 'Show password' button`,_label:`Password`,ref:e,className:`block`,_visibilityToggle:!0}),(0,X.jsx)(kT,{_placeholder:`With 'Show password' button`,_label:`Password`,ref:e,className:`block`,_visibilityToggle:!0,_value:`Password`}),(0,X.jsx)(kT,{_placeholder:`With 'Show password' button and disabled`,_label:`Password`,ref:e,className:`block`,_disabled:!0,_visibilityToggle:!0})]})})]})}}},hF=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(AT,{...n,_options:`[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`Salutation (Black background test)`})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(AT,{...n,_required:!0,_msg:{_type:`error`,_description:nA},_touched:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`Salutation (with error)`})}),(0,X.jsx)(Z,{...i(`horizontal`),children:(0,X.jsx)(AT,{...n,ref:r,_orientation:`horizontal`,_required:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation (horizontal)`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`},_tooltipAlign:`right`})}),(0,X.jsx)(Z,{...i(`horizontal-disabled`),children:(0,X.jsx)(AT,{...n,_disabled:!0,_orientation:`horizontal`,_required:!0,_msg:{_type:`error`,_description:nA},_touched:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation (horizontal with error)`})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(AT,{...n,_disabled:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation`,_touched:!0})}),(0,X.jsx)(Z,{...i(`horizontal-hints`),children:(0,X.jsx)(AT,{...n,_orientation:`horizontal`,_required:!0,_msg:{_type:`error`,_description:nA},_touched:!0,_value:`Company`,_options:[{label:`Mrs.`,value:`Mrs.`,hint:`Description for option "Mrs."`},{label:`Mr. (disabled)`,value:`Mr.`,hint:`Description for option "Mr."`,disabled:!0},{label:`Company`,value:`Company`,hint:`Description for option "Company"`}],_label:`Salutation (horizontal with error hint and description)`,_hint:rA})})]})}),gF=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Radio`,children:(0,X.jsx)(hF,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Radio (hideLabel)`,children:(0,X.jsx)(hF,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),_F=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:gF,showButtons:!1})]}),vF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputRadio`,renderInput:e=>(0,X.jsx)(AT,{_label:`Option`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),yF=()=>{let[e,t]=(0,w.useState)(!0),[n,r]=(0,w.useState)(`horizontal`),i=[{label:`Field 1`,value:1},{label:`Field 2`,value:2}];return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows the `,(0,X.jsx)(`code`,{children:`horizontal`}),` and `,(0,X.jsx)(`code`,{children:`vertical`}),` orientation of KolInoutRadio. It also features a button to test re-rendering.`]})}),(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(K,{_label:`Click me a few times`,_on:{onClick:()=>{t(e=>!e)}}}),(0,X.jsx)(CT,{_label:`Switch orientation (horizontal/vertical)`,_on:{onChange:()=>{r(e=>e===`horizontal`?`vertical`:`horizontal`)}},_variant:`switch`})]}),e&&(0,X.jsx)(bT,{children:(0,X.jsxs)(Z,{id:`orientation`,className:`container my-4 d-grid gap-4`,children:[(0,X.jsx)(AT,{_label:`Test (${n})`,_options:i,_orientation:n,_required:!0}),(0,X.jsx)(AT,{_hideLabel:!0,_label:`Test (${n})`,_options:i,_orientation:n,_required:!0})]})})]})},bF=()=>{let e=[{label:`Field 1`,value:{id:1,name:`Option 1`}},{label:`Field 2`,value:{id:2,name:`Option 2`}}];return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(Q,{children:[`This sample shows KolInputRadio with `,(0,X.jsx)(`code`,{children:`object`}),` and `,(0,X.jsx)(`code`,{children:`undefined`}),` values.`]}),(0,X.jsxs)(bT,{children:[(0,X.jsxs)(`p`,{children:[`In this example for `,(0,X.jsx)(`code`,{children:`KolInputRadio`}),`, the values of the options are defined as objects.`]}),(0,X.jsx)(Z,{id:`object-value`,className:`container my-4 d-grid gap-4`,children:(0,X.jsx)(AT,{_value:e[1].value,_options:e,_label:`Test (with object value)`})}),(0,X.jsxs)(`p`,{children:[`In this example for `,(0,X.jsx)(`code`,{children:`KolInputRadio`}),`, no value is set.`]}),(0,X.jsx)(Z,{id:`no-value`,className:`container my-4 d-grid gap-4`,children:(0,X.jsx)(AT,{_options:e,_label:`Test (without value)`})})]})]})},xF=[{label:1,value:1,hint:`One person`},{label:2,value:2,hint:`Two persons`},{label:3,value:3,hint:`Three persons`}],SF=JSON.stringify([{label:`Mrs.`},{label:`Mr.`},{label:`Company`,value:`company`}]),CF=[{label:`No`,value:!1},{label:`Yes`,value:!0}],wF={"input-radio":{basic:_F,"get-value":vF,horizontal:yF,object:bF,"option-values":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The options of KolInputRadio accept a number as `,(0,X.jsx)(`code`,{children:`label`}),`, which is shown as text, and an optional `,(0,X.jsx)(`code`,{children:`hint`}),` per option. An option without `,(0,X.jsx)(`code`,{children:`value`}),` uses its label as value, and a falsy value such as `,(0,X.jsx)(`code`,{children:`false`}),` is selected like any other value.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`number-labels`,children:(0,X.jsx)(AT,{_label:`Number of persons (number labels with hints)`,_options:xF,_value:2})}),(0,X.jsx)(Z,{id:`label-as-value`,children:(0,X.jsx)(AT,{_label:`Salutation (options without value)`,_options:SF,_value:`Mr.`,_orientation:`horizontal`})}),(0,X.jsx)(Z,{id:`falsy-value`,children:(0,X.jsx)(AT,{_label:`Newsletter (value false selected)`,_options:CF,_value:!1,_orientation:`horizontal`})})]})]})}},TF=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(jT,{...n,_min:0,_max:50,_msg:{_type:`error`,_description:nA},_label:`Slider (Black background test)`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}},_touched:!0})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(jT,{...n,ref:r,_accessKey:`F`,_min:0,_max:50,_step:10,_hint:rA,_msg:{_type:`error`,_description:nA},_label:`Slider with error`,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(jT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Slider`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(jT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Slider`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(jT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Slider`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(jT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Slider`,_touched:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(jT,{...n,_disabled:!0,_min:0,_max:50,_label:`Slider (disabled)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(jT,{...n,_min:0,_max:50,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(jT,{...n,_min:0,_max:50,_label:`With short key`,_shortKey:`s`})}),(0,X.jsx)(Z,{...i(`small-range`),children:(0,X.jsx)(jT,{...n,_min:0,_max:5,_label:`Small range (max=5): number input should not be narrower than 4 digits wide`})})]})}),EF=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Range`,children:(0,X.jsx)(TF,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Range (hideLabel)`,children:(0,X.jsx)(TF,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),DF={"input-range":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputRange renders a pair of range- and number fields wich are synchronized with each other. The sample shows KolInputRange in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:EF,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputRange`,renderInput:e=>(0,X.jsx)(jT,{_label:`Range`,_on:e})})]})}},OF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates access keys and short keys for KolInputText. Access keys provide keyboard shortcuts for focusing inputs.`})}),(0,X.jsx)(Z,{id:`access-key-value`,children:(0,X.jsx)(J,{_label:`With access key (Alt+F)`,_value:`Press Alt+F to focus`,_accessKey:`f`})}),(0,X.jsx)(Z,{id:`short-key-value`,children:(0,X.jsx)(J,{_label:`With short key (Alt+N)`,_value:`Press Alt+N to focus`,_shortKey:`n`})}),(0,X.jsx)(Z,{id:`access-key-placeholder`,children:(0,X.jsx)(J,{_label:`Access key (Alt+E)`,_value:``,_placeholder:`Email address`,_accessKey:`e`})}),(0,X.jsx)(Z,{id:`short-key-placeholder`,children:(0,X.jsx)(J,{_label:`Short key (Alt+P)`,_value:``,_placeholder:`Phone number`,_shortKey:`p`})})]}),kF=`
70
+ label { display: block; }
71
+ span { display: block; margin-bottom: 4px; }
72
+ input { border: 1px solid #888; padding: 4px 8px; font: inherit; }
73
+ `,AF=(e,t)=>{let n=e.getRootNode();return(t??``).trim().split(/\s+/).filter(Boolean).map(e=>n instanceof ShadowRoot?n.querySelector(`#${CSS.escape(e)}`):document.getElementById(e)).filter(e=>e!==null)},jF=class extends HTMLElement{static get observedAttributes(){return[`aria-details`]}connectedCallback(){this._render()}attributeChangedCallback(){this.isConnected&&this._render()}_render(){this.innerHTML=`<style>${kF}</style><label><span>Native input, no shadow root</span><input aria-label="Native light input"></label>`;let e=this.querySelector(`input`),t=this.getAttribute(`aria-details`);t?e.setAttribute(`aria-details`,t):e.removeAttribute(`aria-details`)}},MF=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`})}static get observedAttributes(){return[`aria-details`]}connectedCallback(){this.shadowRoot.innerHTML=`<style>${kF}</style><label><span>Native input, inside a shadow root</span><input aria-label="Native shadow input"></label>`,this._sync(this.getAttribute(`aria-details`))}attributeChangedCallback(e,t,n){this.isConnected&&this._sync(n)}_sync(e){let t=this.shadowRoot.querySelector(`input`);if(`ariaDetailsElements`in t)try{t.ariaDetailsElements=AF(this,e)}catch{}}};typeof customElements<`u`&&(customElements.get(`demo-input-light`)||customElements.define(`demo-input-light`,jF),customElements.get(`demo-input-shadow`)||customElements.define(`demo-input-shadow`,MF));var NF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`Demonstrates how to use `,(0,X.jsx)(`code`,{children:`_ariaDetails`}),` to reference an external element that provides detailed information about form inputs. All inputs below reference the same details box via their `,(0,X.jsx)(`code`,{children:`_ariaDetails`}),` prop.`]}),(0,X.jsxs)(`p`,{children:[`The native inputs above are the control group: the first one declares a plain `,(0,X.jsx)(`code`,{children:`aria-details`}),` IDREF in the same tree, the second one is wrapped in a native web component whose shadow input bridges the reference via `,(0,X.jsx)(`code`,{children:`ariaDetailsElements`}),` — the same mechanism KoliBri uses. If a native case announces the details in a screen reader while the KoliBri fields do not, the gap is in KoliBri; if the native shadow case is silent too, the platform does not support the relation across the boundary yet (Safari/VoiceOver lacks element reflection — verify with NVDA or JAWS on Chromium instead).`]}),(0,X.jsxs)(`p`,{children:[`The last example below replicates the`,` `,(0,X.jsxs)(`a`,{href:`https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-details`,children:[`MDN example for `,(0,X.jsx)(`code`,{children:`aria-details`})]}),`: a term references its definition and an explanatory link — the canonical use outside of forms the attribute was designed for.`]})]}),(0,X.jsxs)(Z,{id:`aria-details`,className:`grid gap-8`,children:[(0,X.jsxs)(`div`,{className:`grid gap-4 p-4 border border-gray-300 rounded`,children:[(0,X.jsx)(`h2`,{className:`text-lg font-semibold`,children:`Native reference implementations`}),(0,X.jsxs)(`div`,{children:[(0,X.jsxs)(`label`,{className:`block`,children:[(0,X.jsx)(`span`,{className:`block mb-2`,children:`Native HTML input (no web component)`}),(0,X.jsx)(`input`,{"aria-details":`details-box-native-light`,"aria-label":`Native light input`,className:`border border-gray-500 p-2`})]}),(0,X.jsx)(`div`,{id:`details-box-native-light`,className:`mt-2 p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800`,children:`Details for the plain native input: the IDREF resolves in the same tree — no boundary to cross.`})]}),(0,X.jsx)(`div`,{children:w.createElement(`demo-input-light`,{"aria-details":`details-box-native-light`})}),(0,X.jsxs)(`div`,{children:[w.createElement(`demo-input-shadow`,{"aria-details":`details-box-native-shadow`}),(0,X.jsxs)(`div`,{id:`details-box-native-shadow`,className:`mt-2 p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800`,children:[`Details for the native shadow input: the reference crosses the boundary via `,(0,X.jsx)(`code`,{children:`ariaDetailsElements`}),` on the input.`]})]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4 p-4 border border-gray-300 rounded`,children:[(0,X.jsx)(`h2`,{className:`text-lg font-semibold`,children:`Form Inputs with Shared Details`}),(0,X.jsx)(J,{_label:`Email Address`,_ariaDetails:`details-box`,_placeholder:`user@example.com`,_hint:`We'll never share your email`}),(0,X.jsx)(BT,{_label:`Country`,_ariaDetails:`details-box`,_options:[{label:`Germany`,value:`de`},{label:`Austria`,value:`at`},{label:`Switzerland`,value:`ch`}]}),(0,X.jsx)(JT,{_label:`Message`,_ariaDetails:`details-box`,_placeholder:`Enter your message here...`,_rows:4}),(0,X.jsx)(gT,{_label:`Favorite Language`,_ariaDetails:`details-box`,_suggestions:[`TypeScript`,`JavaScript`,`Python`,`Go`,`Rust`,`Java`]})]}),(0,X.jsxs)(`div`,{id:`details-box`,className:`p-4 bg-blue-50 border-l-4 border-blue-400 rounded`,role:`complementary`,children:[(0,X.jsx)(`h3`,{className:`font-semibold text-blue-900 mb-2`,children:`💡 Form Details`}),(0,X.jsxs)(`ul`,{className:`text-sm text-blue-800 space-y-2`,children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Email:`}),` Please enter a valid email address. We use this to contact you about your submission.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Country:`}),` Select your country of residence. This helps us provide localized support.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Message:`}),` Provide as much detail as possible. The more information you give, the better we can assist you.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Language:`}),` Choose your preferred programming language. This helps us recommend relevant resources.`]})]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4 p-4 border border-gray-300 rounded`,children:[(0,X.jsx)(`h2`,{className:`text-lg font-semibold`,children:`MDN example: term & definition`}),(0,X.jsxs)(`p`,{children:[`The term below references two targets: the definition paragraph and the explanatory image link. Screen reader support for `,(0,X.jsx)(`code`,{children:`aria-details`}),` is heavily fragmented — check `,(0,X.jsx)(`a`,{href:`https://a11ysupport.io/tech/aria/aria-details_attribute`,children:`a11ysupport.io`}),` before relying on it.`]}),(0,X.jsxs)(`p`,{children:[`The `,(0,X.jsx)(`strong`,{children:`cubic-bezier()`}),` functional notation defines a cubic`,` `,(0,X.jsx)(`span`,{role:`term`,"aria-details":`bezier bezImg`,className:`underline decoration-dotted underline-offset-4`,children:`Bézier curve`}),`. As these curves are continuous, they are often used to smooth down the start and end of the curve and are therefore sometimes called easing functions.`]}),(0,X.jsxs)(`p`,{role:`definition`,id:`bezier`,className:`p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800`,children:[`A `,(0,X.jsx)(`strong`,{children:`Bézier curve`}),`, (Pronounced \\ ˈbe-zē-ˌā \\ `,(0,X.jsx)(`i`,{"aria-description":`English pronunciation`,children:`BEH-zee-ay`}),`) is a mathematically described curve used in computer graphics and animation. The curve is defined by a set of control points with a minimum of two. Web related graphics and animations use Cubic Béziers, which are curves with four control points P`,(0,X.jsx)(`sub`,{children:`0`}),`, P`,(0,X.jsx)(`sub`,{children:`1`}),`, P`,(0,X.jsx)(`sub`,{children:`2`}),`, and P`,(0,X.jsx)(`sub`,{children:`3`}),`.`]}),(0,X.jsx)(`a`,{href:`https://developer.mozilla.org/en-US/docs/Web/CSS/easing-function`,id:`bezImg`,"aria-label":`Explanation of Bézier curve in CSS easing functions`,target:`_blank`,rel:`noreferrer`,className:`block w-fit`,children:(0,X.jsxs)(`svg`,{width:`200`,height:`160`,viewBox:`0 0 200 160`,role:`img`,"aria-label":`Cubic Bézier curve showing 4 control points.`,className:`border border-gray-400 rounded bg-white`,children:[(0,X.jsx)(`path`,{d:`M 20 130 C 60 10, 140 150, 180 30`,fill:`none`,stroke:`#0075ff`,strokeWidth:`2`}),(0,X.jsx)(`line`,{x1:`20`,y1:`130`,x2:`60`,y2:`10`,stroke:`#888`,strokeDasharray:`4 3`}),(0,X.jsx)(`line`,{x1:`140`,y1:`150`,x2:`180`,y2:`30`,stroke:`#888`,strokeDasharray:`4 3`}),(0,X.jsx)(`circle`,{cx:`20`,cy:`130`,r:`4`,fill:`#0075ff`}),(0,X.jsx)(`circle`,{cx:`60`,cy:`10`,r:`4`,fill:`#888`}),(0,X.jsx)(`circle`,{cx:`140`,cy:`150`,r:`4`,fill:`#888`}),(0,X.jsx)(`circle`,{cx:`180`,cy:`30`,r:`4`,fill:`#0075ff`}),(0,X.jsx)(`text`,{x:`12`,y:`148`,fontSize:`12`,fill:`#202020`,children:`P0`}),(0,X.jsx)(`text`,{x:`60`,y:`24`,fontSize:`12`,fill:`#202020`,textAnchor:`middle`,children:`P1`}),(0,X.jsx)(`text`,{x:`140`,y:`144`,fontSize:`12`,fill:`#202020`,textAnchor:`middle`,children:`P2`}),(0,X.jsx)(`text`,{x:`184`,y:`20`,fontSize:`12`,fill:`#202020`,textAnchor:`end`,children:`P3`})]})})]})]})]}),PF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases the component placed on a colored background.`})}),(0,X.jsxs)(Z,{id:`background-default`,className:`grid gap-4 bg-blue-400 p-4 rounded`,children:[(0,X.jsx)(`strong`,{children:`Default background:`}),(0,X.jsx)(J,{_label:`First name`,_value:`John Doe`})]}),(0,X.jsxs)(Z,{id:`background-unset`,className:`grid gap-4 bg-blue-400 p-4 rounded`,children:[(0,X.jsx)(`strong`,{children:`Unset background:`}),(0,X.jsx)(J,{style:{backgroundColor:`unset`},_label:`First name`,_value:`John Doe`})]})]}),FF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases the most important InputText variants: default, required, validation error, disabled, read-only, search with clear button, and with icons.`})}),(0,X.jsx)(Z,{id:`events`,children:(0,X.jsx)(J,{_label:`Name`,_value:`Anderson-Clark`,_on:{onBlur:xj,onChange:xj,onClick:xj,onFocus:xj,onInput:xj,onKeyDown:xj},onBlur:bj,onChange:bj,onClick:bj,onFocus:bj,onInput:bj,onKeyDown:bj})}),(0,X.jsx)(Z,{id:`error`,children:(0,X.jsx)(J,{_label:`Name`,_required:!0,_msg:{_type:`error`,_description:`Please enter your name`},_touched:!0})}),(0,X.jsx)(Z,{id:`hint`,children:(0,X.jsx)(J,{_label:`Name`,_required:!0,_hint:`Enter your surname`})}),(0,X.jsx)(Z,{id:`disabled`,children:(0,X.jsx)(J,{_label:`Name`,_value:`Anderson-Clark`,_disabled:!0})}),(0,X.jsx)(Z,{id:`info-popover`,children:(0,X.jsx)(J,{_label:`Name`,_required:!0,_value:`Anderson-Clark`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{id:`readonly-popover`,children:(0,X.jsx)(J,{_label:`Name`,_readOnly:!0,_value:`Anderson-Clark`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{id:`icon`,children:(0,X.jsx)(J,{_label:`Name`,_icons:`kolicon-house`,_value:`Anderson-Clark`})}),(0,X.jsx)(Z,{id:`search`,children:(0,X.jsx)(J,{_label:`Search`,_type:`search`,_value:`test`,_placeholder:`Search with clear button`})})]}),IF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates the clear button for search type input fields.`})}),(0,X.jsx)(Z,{id:`search-empty`,children:(0,X.jsx)(J,{_label:`Search`,_type:`search`,_placeholder:`Enter search term`})}),(0,X.jsx)(Z,{id:`search-value`,children:(0,X.jsx)(J,{_label:`Search (with value)`,_type:`search`,_value:`test`,_placeholder:`Enter search term`})}),(0,X.jsx)(Z,{id:`search-disabled`,children:(0,X.jsx)(J,{_label:`Search (disabled)`,_type:`search`,_disabled:!0,_value:`test`,_placeholder:`Disabled search`})}),(0,X.jsx)(Z,{id:`search-read-only`,children:(0,X.jsx)(J,{_label:`Search (read only)`,_type:`search`,_readOnly:!0,_value:`test`})}),(0,X.jsx)(Z,{id:`text-no-clear-button`,children:(0,X.jsx)(J,{_label:`Text (no clear button)`,_type:`text`,_value:`test`,_placeholder:`Regular text input`})})]}),LF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases an input with a counter for the chars in the field. Maximal length is 30.`})}),(0,X.jsx)(Z,{id:`counter`,children:(0,X.jsx)(J,{_label:`Name`,_icons:`kolicon-house`,_value:`Anderson-Clark`,_hasCounter:!0,_maxLength:30})})]}),RF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the disabled state of KolInputText. Disabled inputs cannot be edited or focused.`})}),(0,X.jsx)(Z,{id:`placeholder`,children:(0,X.jsx)(J,{_label:`Disabled with placeholder`,_placeholder:`Placeholder text`,_disabled:!0})}),(0,X.jsx)(Z,{id:`value`,children:(0,X.jsx)(J,{_label:`Disabled with value`,_value:`This field is disabled`,_disabled:!0})}),(0,X.jsx)(Z,{id:`error`,children:(0,X.jsx)(J,{_label:`Disabled with error message`,_value:`Invalid value`,_msg:{_type:`error`,_description:`Error message`},_disabled:!0,_touched:!0})}),(0,X.jsx)(Z,{id:`enabled`,children:(0,X.jsx)(J,{_label:`Comparison: Enabled`,_value:`This field is enabled`})})]}),zF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This sample shows KolInputText with expert slot. The expert slot allows for complex custom content beyond simple text inputs.`}),(0,X.jsxs)(`p`,{children:[`For further information on the expert slot see its `,(0,X.jsx)(`a`,{href:`https://public-ui.github.io/docs/concepts/expert-slot`,children:`documentation`})]})]}),(0,X.jsx)(Z,{id:`text`,children:(0,X.jsx)(J,{_label:``,_type:`text`,children:(0,X.jsx)(`span`,{slot:`expert`,children:`I am more than just a input field`})})}),(0,X.jsx)(Z,{id:`badge`,children:(0,X.jsx)(J,{_label:``,_type:`text`,_value:`Complex example`,children:(0,X.jsxs)(`div`,{slot:`expert`,className:`flex items-center gap-2`,children:[(0,X.jsx)(fT,{_label:`Premium`,_color:`#1a73e8`}),(0,X.jsx)(xT,{_icons:`kolicon-check`,_label:``}),(0,X.jsx)(`span`,{children:`Verified account with premium features`})]})})}),(0,X.jsx)(Z,{id:`note`,children:(0,X.jsx)(J,{_label:``,_type:`text`,_placeholder:`Enter your email`,children:(0,X.jsxs)(`div`,{slot:`expert`,style:{padding:`0.5rem`,backgroundColor:`#f0f0f0`,borderRadius:`4px`},children:[(0,X.jsx)(`strong`,{children:`Note:`}),` This email will be used for account recovery and notifications.`]})})}),(0,X.jsx)(Z,{id:`required`,children:(0,X.jsx)(J,{_label:``,_type:`text`,_required:!0,children:(0,X.jsxs)(`div`,{slot:`expert`,className:`inline-block`,children:[(0,X.jsx)(`span`,{className:`expert-slot-required-label`,children:`Username`}),(0,X.jsx)(LT,{_label:`Help`,_icons:`kolicon-alert-info`,_variant:`ghost`,_hideLabel:!0,_inline:!0,children:(0,X.jsx)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:`You have to take care of the asterics on your own!`})})]})})}),(0,X.jsx)(Z,{id:`readonly`,children:(0,X.jsx)(J,{_label:``,_type:`text`,_readOnly:!0,_value:`(read only) is also not appended`,children:(0,X.jsxs)(`div`,{slot:`expert`,className:`inline-block`,children:[(0,X.jsx)(`span`,{className:`expert-slot-required-label`,children:`Username`}),(0,X.jsx)(LT,{_label:`Help`,_icons:`kolicon-alert-info`,_variant:`ghost`,_hideLabel:!0,_inline:!0,children:(0,X.jsx)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:`Readonly is also not appended`})})]})})})]}),BF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolInputText`,renderInput:e=>(0,X.jsx)(J,{_label:`Name`,_on:e})})]}),VF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This story demonstrates the `,(0,X.jsx)(`code`,{children:`_hideLabel`}),` feature for KolInputText. It allows hiding the label visually while keeping it accessible for screen readers.`]})}),(0,X.jsx)(Z,{id:`search`,children:(0,X.jsx)(J,{_hideLabel:!0,_label:`Search`,_placeholder:`Search...`,_type:`search`})}),(0,X.jsx)(Z,{id:`error`,children:(0,X.jsx)(J,{_hideLabel:!0,_label:`Email`,_placeholder:`Enter email`,_msg:{_type:`error`,_description:`Invalid email format`},_touched:!0})}),(0,X.jsx)(Z,{id:`address-group`,children:(0,X.jsxs)(`fieldset`,{className:`grid md:grid-cols-2 gap-4`,children:[(0,X.jsx)(`legend`,{children:`Street Address`}),(0,X.jsx)(uT,{className:`col-span-2`,_level:0,_type:`error`,children:`Please complete the address`}),(0,X.jsx)(J,{_hideLabel:!0,_hideMsg:!0,_label:`Street name`,_placeholder:`Street name`,_msg:{_type:`error`,_description:`Please complete the address`},_touched:!0}),(0,X.jsx)(J,{_hideLabel:!0,_hideMsg:!0,_label:`House number`,_placeholder:`Number`,_msg:{_type:`error`,_description:`Please complete the address`},_touched:!0})]})})]}),HF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows the `,(0,X.jsx)(`code`,{children:`_hideMsg`}),` feature for KolInputText. It allows to hide the message from an input field and can be used, when the message (e.g. error) is already shown somewhere else, e.g. for a group of inputs.`]})}),(0,X.jsx)(Z,{id:`single-error`,children:(0,X.jsx)(J,{_msg:{_type:`error`,_description:`Error message`},_label:`Input with error`,_touched:!0})}),(0,X.jsx)(Z,{id:`combined-error`,children:(0,X.jsxs)(`fieldset`,{className:`grid md:grid-cols-2 gap-4`,children:[(0,X.jsx)(`legend`,{children:`Combined input field`}),(0,X.jsx)(uT,{className:`col-span-2`,_level:0,_type:`error`,children:`This is a combined error message`}),(0,X.jsx)(J,{_msg:{_type:`error`,_description:`This is a combined error message`},_hideMsg:!0,_label:`First input`,_touched:!0}),(0,X.jsx)(J,{_msg:{_type:`error`,_description:`This is a combined error message`},_hideMsg:!0,_label:`Second input with error`,_touched:!0})]})})]}),UF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates all available message types for KolInputText: default, info, error, warning, and success.`})}),(0,X.jsx)(Z,{id:`msg-default`,children:(0,X.jsx)(J,{_label:`Default message`,_value:`Valid value`,_msg:{_type:`default`,_description:`This is a default message`},_touched:!0})}),(0,X.jsx)(Z,{id:`msg-error`,children:(0,X.jsx)(J,{_label:`Error message`,_value:`Invalid value`,_msg:{_type:`error`,_description:`This is an error message`},_touched:!0})}),(0,X.jsx)(Z,{id:`msg-info`,children:(0,X.jsx)(J,{_label:`Info message`,_value:`Some value`,_msg:{_type:`info`,_description:`This is an informational message`},_touched:!0})}),(0,X.jsx)(Z,{id:`msg-success`,children:(0,X.jsx)(J,{_label:`Success message`,_value:`Valid value`,_msg:{_type:`success`,_description:`This is a success message`},_touched:!0})}),(0,X.jsx)(Z,{id:`msg-warning`,children:(0,X.jsx)(J,{_label:`Warning message`,_value:`Valid value`,_msg:{_type:`warning`,_description:`This is a warning message`},_touched:!0})})]}),WF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`Regression sample for #9073: when both _msg and _hasCounter are set, aria-describedby must reference both the message and counter elements.`}),(0,X.jsx)(`p`,{children:`Open DevTools and inspect each input to confirm aria-describedby contains both IDs.`})]}),(0,X.jsx)(Z,{id:`warning`,children:(0,X.jsx)(J,{_label:`Warning + Counter`,_msg:{_type:`warning`,_description:`Bitte prüfen Sie Ihre Eingabe.`},_hasCounter:!0,_maxLength:30})}),(0,X.jsx)(Z,{id:`error`,children:(0,X.jsx)(J,{_label:`Error + Counter (touched)`,_msg:{_type:`error`,_description:`Pflichtfeld – bitte ausfüllen.`},_hasCounter:!0,_maxLength:30,_touched:!0})}),(0,X.jsx)(Z,{id:`info`,children:(0,X.jsx)(J,{_label:`Info + Counter`,_msg:{_type:`info`,_description:`Hinweis: maximal 20 Zeichen.`},_hasCounter:!0,_maxLength:20})})]}),GF=`^[A-Za-z]{3}-\\d{3}$`,KF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates HTML5 pattern validation for both native input and KolInputText components.`})}),(0,X.jsx)(Z,{id:`pattern`,children:(0,X.jsxs)(`form`,{className:`grid gap-4`,children:[(0,X.jsxs)(`div`,{className:`grid gap-2`,children:[(0,X.jsx)(`label`,{htmlFor:`native-input`,children:`Native Input (Pattern: AAA-123, case-insensitive)`}),(0,X.jsx)(`input`,{id:`native-input`,name:`native-input`,pattern:GF,type:`text`})]}),(0,X.jsx)(J,{_label:`KoliBri Input (Pattern: AAA-123, case-insensitive)`,_name:`kolibri-input`,_pattern:GF,_hint:`Note: This input is not linked to the form element. The validation inside the Shadow DOM is currently not triggered on form submit.`}),(0,X.jsx)(`div`,{children:(0,X.jsx)(`button`,{type:`submit`,children:`Submit`})})]})})]}),qF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the placeholder feature of KolInputText.`})}),(0,X.jsx)(Z,{id:`first-name`,children:(0,X.jsx)(J,{_label:`First name`,_placeholder:`Enter your first name`})}),(0,X.jsx)(Z,{id:`email`,children:(0,X.jsx)(J,{_label:`Email address`,_placeholder:`user@example.com`})}),(0,X.jsx)(Z,{id:`tel`,children:(0,X.jsx)(J,{_label:`Phone number`,_placeholder:`+49 123 456789`,_type:`tel`})}),(0,X.jsx)(Z,{id:`url`,children:(0,X.jsx)(J,{_label:`Website`,_placeholder:`https://example.com`,_type:`url`})}),(0,X.jsx)(Z,{id:`search`,children:(0,X.jsx)(J,{_label:`Search`,_placeholder:`Search...`,_type:`search`})})]}),JF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the readonly state of KolInputText. Readonly inputs can be focused but not edited.`})}),(0,X.jsx)(Z,{id:`placeholder`,children:(0,X.jsx)(J,{_label:`Readonly with placeholder`,_placeholder:`Placeholder text`,_readOnly:!0})}),(0,X.jsx)(Z,{id:`value`,children:(0,X.jsx)(J,{_label:`Readonly with value`,_value:`This field is readonly`,_readOnly:!0})}),(0,X.jsx)(Z,{id:`info`,children:(0,X.jsx)(J,{_label:`Readonly with info message`,_value:`Read-only value`,_msg:{_type:`info`,_description:`This field cannot be edited`},_readOnly:!0,_touched:!0})}),(0,X.jsx)(Z,{id:`editable`,children:(0,X.jsx)(J,{_label:`Comparison: Editable`,_value:`This field is editable`})})]}),YF=()=>{let e=w.useRef(null);function t(){e.current?.focus(),e.current?.setSelectionStart(8)}function n(){e.current?.focus(),e.current?.setSelectionRange(2,5)}function r(){e.current?.focus(),e.current?.setRangeText(`INSERTED`,5,9,`select`)}return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how to change the selection in a KolInputText.`})}),(0,X.jsxs)(Z,{id:`select-range`,children:[(0,X.jsx)(J,{_value:`Very long value`,_label:`Text Input Label`,ref:e}),(0,X.jsx)(mT,{_label:`Set Start`,onClick:t}),(0,X.jsx)(mT,{_label:`Set Range`,onClick:n}),(0,X.jsx)(mT,{_label:`Set Range Text`,onClick:r})]})]})},XF={_icons:`kolicon-alert-info`,_hideLabel:!0},ZF={left:{icon:`kolicon-eye`},right:{icon:`kolicon-check`}},QF=()=>{let e=Rt.getInstance(document),t={onClick:()=>{e.enqueue({description:`Smart-Button clicked`,label:`Toaster`,type:`default`})}};return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows the smart button feature for KolInputText. It allows the usage of a button inside the bnput.`})}),(0,X.jsx)(Z,{id:`enabled`,children:(0,X.jsx)(J,{_label:`Input with button and icons`,_type:`text`,_smartButton:{...XF,_label:`Open Toast`,_on:t},_icons:ZF})}),(0,X.jsx)(Z,{id:`disabled`,children:(0,X.jsx)(J,{_label:`Disabled input with button and icons`,_disabled:!0,_type:`text`,_smartButton:{...XF,_label:`Disabled Button`},_icons:ZF})})]})},$F=class{SEPARATOR=` `;CHARS_PER_GROUP=4;KEEP_ALPHANUM=/[^a-zA-Z0-9]/g;parse(e){return e.replace(this.KEEP_ALPHANUM,``).toUpperCase()}format(e){let t=this.parse(e),n=RegExp(`(.{${this.CHARS_PER_GROUP}})(?!$)`,`g`);return t.replace(n,`$1${this.SEPARATOR}`)}adjustCursorPosition(e,t,n){let r=this.format(e),i=this.format(t);if(n>=r.length)return i.length;let a=0;for(let e=0;e<n&&e<r.length;e++)r[e]!==this.SEPARATOR&&a++;let o=0;for(let e=0;e<i.length;e++)if(i[e]!==this.SEPARATOR&&o++===a)return e;return i.length}},eI=class{LOCALE=navigator.language;CURRENCY_SYMBOL=` €`;parse(e){let t=e.replace(/[^\d.,]/g,``),n=t.lastIndexOf(`,`),r=t.lastIndexOf(`.`),i;return i=n>r?t.replace(/\./g,``).replace(`,`,`.`):r>n?t.replace(/,/g,``):t.replace(/[.,]/g,``),parseFloat(i)||0}format(e){let t=typeof e==`string`?this.parse(e):e;return new Intl.NumberFormat(this.LOCALE,{minimumFractionDigits:2,maximumFractionDigits:2}).format(t)+this.CURRENCY_SYMBOL}adjustCursorPosition(e,t,n){let r=this.format(e),i=this.format(t);if(n>=r.length)return i.length;let a=0;for(let e=0;e<n&&e<r.length;e++)/\d/.test(r[e])&&a++;let o=0;for(let e=0;e<i.length;e++)if(/\d/.test(i[e])&&o++===a)return e;return i.length}};function tI(){let e=new $F,t=new eI,n=hP({defaultValues:{iban:`DE89370400440532013000`}}),r=hP({defaultValues:{currency:1e6}}),i=t=>{let r=t.target,i=e.parse(r.value),a=e.adjustCursorPosition(n.getValues(`iban`),i,r.selectionStart||0);n.setValue(`iban`,i),requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.setSelectionRange(a,a)})})};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This example demonstrates two different formatting strategies for input fields:`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Live Formatting (IBAN):`}),` Formatting happens while typing. The value is immediately formatted and displayed with intelligent cursor positioning. Best for fixed-format values where users expect visual feedback during input.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`On-Blur Formatting (Currency):`}),` Formatting happens when leaving the field (onBlur event). Allows free typing without interruption. Best for numeric values where users might input in various formats.`]})]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Key Concept:`}),` The form model always stores the `,(0,X.jsx)(`em`,{children:`unformatted`}),` value (raw IBAN string, numeric currency value), while the input field displays the `,(0,X.jsx)(`em`,{children:`formatted`}),` value for better readability.`]})]}),(0,X.jsxs)(Z,{id:`iban`,className:`w-full flex flex-col`,children:[(0,X.jsxs)(`div`,{className:`p-2`,children:[(0,X.jsx)(q,{_label:`Live Formatting - IBAN`,_level:2}),(0,X.jsx)(`p`,{className:`text-sm mb-2`,children:`Formatting occurs during input with intelligent cursor control`}),(0,X.jsx)(bT,{children:(0,X.jsx)(`form`,{onSubmit:n.handleSubmit(async()=>{}),children:(0,X.jsx)(fN,{name:`iban`,control:n.control,render:({field:t})=>(0,X.jsx)(`div`,{className:`block mt-2`,children:(0,X.jsx)(J,{id:`field-iban`,_label:`IBAN`,_value:e.format(t.value??``),_required:!0,_on:{onInput:i,onBlur:t.onBlur}})})})})})]}),(0,X.jsxs)(`div`,{className:`p-2`,children:[(0,X.jsx)(q,{_label:`Model (Unformatted Value)`,_level:2}),(0,X.jsx)(`pre`,{className:`text-base`,children:JSON.stringify(n.watch(),null,2)})]})]}),(0,X.jsxs)(Z,{id:`currency`,className:`w-full flex flex-col`,children:[(0,X.jsxs)(`div`,{className:`p-2`,children:[(0,X.jsx)(q,{_label:`On-Blur Formatting - Currency`,_level:2}),(0,X.jsx)(`p`,{className:`text-sm mb-2`,children:`Formatting occurs when leaving the field (onBlur) for uninterrupted input`}),(0,X.jsx)(bT,{children:(0,X.jsx)(`form`,{onSubmit:r.handleSubmit(async()=>{}),children:(0,X.jsx)(fN,{name:`currency`,control:r.control,render:({field:e})=>(0,X.jsx)(`div`,{className:`block mt-2`,children:(0,X.jsx)(J,{id:`field-currency`,_label:`Currency`,_value:t.format(e.value??0),_on:{onBlur:n=>{let r=n.target,i=t.parse(r.value);e.onChange(i),e.onBlur()}}})})})})})]}),(0,X.jsxs)(`div`,{className:`p-2`,children:[(0,X.jsx)(q,{_label:`Model (Numeric Value)`,_level:2}),(0,X.jsx)(`pre`,{className:`text-base`,children:JSON.stringify(r.watch(),null,2)})]})]})]})}var nI={"input-text":{"aria-details":NF,basic:FF,"clear-button":IF,"get-value":BF,"message-types":UF,placeholder:qF,disabled:RF,readonly:JF,counter:LF,"msg-and-counter":WF,"access-short-key":OF,"hide-label":VF,"hide-msg":HF,"text-formatter":tI,"smart-button":QF,"expert-slot":zF,pattern:KF,"select-range":YF,background:PF,variant:()=>{let[e]=tk(),t=e.get(`theme`)??UA(),n=(0,w.useMemo)(()=>t?NA(t,`inputVariants`):[],[t]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases input variants depending on your choosen theme.`})}),(0,X.jsx)(`div`,{className:`grid grid-cols-2 gap-8 p-8`,children:!Array.isArray(n)||n.length===0?(0,X.jsx)(Z,{id:`no-variants`,children:(0,X.jsx)(`p`,{children:`This theme has no variants for inputs.`})}):n.map(e=>(0,X.jsxs)(Z,{id:`variant-${Qk(String(e))}`,heading:`Variante: ${String(e)}`,className:`grid gap-4 p-8`,children:[(0,X.jsx)(J,{_label:`Input Text`,_hint:`Enter your surname`,_variant:e,_msg:{_type:`error`,_description:`Error message`},_touched:!0,_hasCounter:!0}),(0,X.jsx)(kT,{_label:`Input Passwort`,_variant:e}),(0,X.jsx)(wT,{_label:`Input Color`,_variant:e}),(0,X.jsx)(TT,{_label:`Input Date`,_variant:e}),(0,X.jsx)(ET,{_label:`Input Email`,_variant:e}),(0,X.jsx)(DT,{_label:`Input File`,_variant:e}),(0,X.jsx)(OT,{_label:`Input Number`,_variant:e}),(0,X.jsx)(jT,{_label:`Input Range`,_variant:e}),(0,X.jsx)(BT,{_label:`Select`,_options:[{label:`Please select…`,value:``},{label:`One`,value:`one`},{label:`Two`,value:`two`}],_variant:e}),(0,X.jsx)(VT,{_label:`Single Select`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_variant:e}),(0,X.jsx)(gT,{_label:`Combobox`,_suggestions:`['Herr','Frau','Firma']`,_variant:e}),(0,X.jsx)(AT,{_label:`Radio Group`,_options:[{label:`Field 1`,value:1},{label:`Field 2`,value:2}],_variant:e}),(0,X.jsx)(JT,{_label:`Textarea`,_variant:e})]},e))})]})}}},rI={kolibri:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolKolibri renders the KoliBri logo. The sample show the logo with and without label and with a custom color.`})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(q,{class:`block`,_level:3,_label:`Regular`}),(0,X.jsx)(MT,{class:`block`,style:{width:300}}),(0,X.jsx)(q,{class:`block`,_level:3,_label:`Without Label`}),(0,X.jsx)(MT,{class:`block`,style:{width:300},_labeled:!1}),(0,X.jsx)(q,{class:`block`,_level:3,_label:`Customized color`}),(0,X.jsx)(MT,{class:`block`,style:{width:300},_color:`#cc006e`})]})]})}},iI={"link-button":{basic:()=>{let[e]=tk(),t=e.get(`theme`)??UA(),n=(0,w.useMemo)(()=>t?NA(t,`buttonVariants`):[],[t]),{dummyClickEventHandler:r}=hA(),i={onClick:r};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolLinkButton renders a link that looks like a button. The sample shows the different theme exclusive styling variants.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsxs)(Z,{id:`variants`,children:[(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(n)||n.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,X.jsx)(NT,{_href:`#/back-page`,_icons:`kolicon-house`,_label:`${e}`,_variant:e,_on:i},e))}),(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(n)||n.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,X.jsx)(NT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-settings`,_label:`${e}`,_variant:e,_on:i},e))})]})})]})},"aria-description":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLinkButton with aria-description`})}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(NT,{_href:`#/back-page`,_label:`Link Button Text without area description`}),(0,X.jsx)(NT,{_href:`#/back-page`,_label:`Link Button Text`,_ariaDescription:`Link Button Aria Description`}),(0,X.jsx)(NT,{_href:`#/back-page`,_label:`Link Button Text`,_ariaDescription:`Link Button Aria Description with external Link`,_target:`_blank`})]})]}),target:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLinkButton with diffrent Targets`})}),(0,X.jsxs)(Z,{id:`target`,className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(NT,{_href:`#/back-page`,_label:`Link Button Target default`}),(0,X.jsx)(NT,{_href:`#/back-page`,_label:`Link Button Target _self`,_target:`_blank`}),(0,X.jsx)(NT,{_href:`#/back-page`,_label:`Link Button Target _blank`,_target:`_blank`})]})]})}},aI={link:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolLink renders a link. This sample shows disabled links, links with hidden label, the boolean _inline property and links with different CSS`,` `,(0,X.jsx)(`code`,{children:`display`}),`-properties.`]})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_inline:!1,_label:`Simple Link`}),(0,X.jsx)(Y,{_disabled:!0,_href:`#/back-page`,_inline:!1,_label:`Simple Link (disabled)`}),(0,X.jsx)(Y,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_inline:!1,_label:`Icon Link`}),(0,X.jsx)(Y,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_inline:!1,_label:`Icon Link (disabled)`}),(0,X.jsxs)(`p`,{children:[`In this paragraph, a standard link `,(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Simple Link`}),` and a disabled link`,` `,(0,X.jsx)(Y,{_disabled:!0,_href:`#/back-page`,_label:`Simple Link (disabled)`}),` are inserted. They are rendered by default as `,(0,X.jsx)(`strong`,{children:`inline elements`}),`.`]}),(0,X.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that is rendered as an inline-block element.`,` `,(0,X.jsx)(Y,{class:`d-inline-block`,_accessKey:`S`,_href:`#/back-page`,_label:`Simple Link`}),`. This allows you to assign width, height, and other properties to it using CSS styles.`,(0,X.jsx)(`br`,{}),(0,X.jsx)(`br`,{}),`After that, there is a link that is rendered as a block element. `,(0,X.jsx)(Y,{class:`d-block`,_href:`#/back-page`,_label:`Simple Link`}),`, therefore, I span the entire width of the parent element, causing a line break.`]}),(0,X.jsx)(Y,{_href:`#/back-page`,_inline:!1,_label:`Special Variant Link`,_variant:`theme-link`})]})]}),icons:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLink with icons in different alignments and combinations.`})}),(0,X.jsxs)(Z,{id:`icons`,children:[(0,X.jsx)(Y,{_icons:`kolicon-house`,_label:`I am a link with an icon on the left`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:{right:`kolicon-house`},_label:`I am a link with an icon on the right`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:{top:`kolicon-house`},_label:`I am a link with an icon at the top`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:{bottom:`kolicon-house`},_label:`I am a link with icon below`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`},_label:`I am a link with all icons`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:`kolicon-house`,_href:`https://public-ui.github.io/`,_label:`I am a external link with an icon on the left`,_target:`_blank`}),(0,X.jsx)(Y,{_icons:{right:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external linkwith an icon on the right`,_target:`_blank`}),(0,X.jsx)(Y,{_icons:{top:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external link with an icon at the top`,_target:`_blank`}),(0,X.jsx)(Y,{_icons:{bottom:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external link with icon below`,_target:`_blank`}),(0,X.jsx)(Y,{_href:`https://public-ui.github.io/`,_label:`I am a external link with all icons`,_target:`_blank`,_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`}})]})]}),image:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolLink can be used with slot-content instead of a label as well. This sample demonstrates the slot content used to display an image.`})}),(0,X.jsxs)(Z,{id:`image`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`I am a link that is rendered as text`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:``,children:(0,X.jsx)(ST,{_alt:`KoliBri design system illustration showing three people working on laptops surrounded by UI components, charts, and the KoliBri hummingbird logo`,_src:`sample-image.png`,className:`w-image`,slot:`expert`})})]})]}),target:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolLink with different `,(0,X.jsx)(`code`,{children:`_target`}),`-properties.`]})}),(0,X.jsx)(Z,{id:`target`,className:`text-base d-flex gap-4`,children:(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link without target`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link with target (_self)`,_target:`_self`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link with target (_blank)`,_target:`_blank`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link without target`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link with target (_self)`,_target:`_self`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link with target (_blank)`,_target:`_blank`})})]})})]}),"aria-description":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLink with aria-description`})}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link Text without aria description`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link Text`,_ariaDescription:`Link Area Description`})]})]}),"access-key":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLink with access key. The access keys can be used to trigger the buttons using the keyboard.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`With S access key`,_accessKey:`S`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Very small s`,_accessKey:`s`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Access key does not appear in label`,_accessKey:`s`}),(0,X.jsx)(Y,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_label:`access key without label`,_accessKey:`s`})]})]}),"short-key":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`With S short key`,_shortKey:`S`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Very small s`,_shortKey:`s`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Short key does not appear in label`,_shortKey:`s`}),(0,X.jsx)(Y,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_label:`short key without label`,_shortKey:`s`})]})]}),"react-router":()=>{let e=VD();return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolLink works with react-router. Primary click uses preventDefault() and navigate(...), while right click open in new tab still follows _href. Make sure _href and navigate(...) point to the same path.`})}),(0,X.jsx)(`div`,{className:`grid gap-4`,children:(0,X.jsx)(Y,{_href:`/back-page`,_inline:!1,_label:`Go to overview`,_on:{onClick:t=>{t.preventDefault(),e(`/back-page`)}}})})]})},"linked-headline":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a linked headline with anchor.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Y,{_href:`/#/link/linked-headline#headline1`,_label:``,children:(0,X.jsx)(q,{_label:`I'm H2-heading number one`,_level:2,slot:`expert`,id:`headline1`})}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(Y,{_href:`/#/link/linked-headline#headline2`,_label:``,children:(0,X.jsx)(q,{_label:`I'm H2-heading number two`,_level:2,slot:`expert`,id:`headline2`})}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(Y,{_href:`/#/link/linked-headline#headline3`,_label:``,children:(0,X.jsx)(q,{_label:`I'm H2-heading number three`,_level:2,slot:`expert`,id:`headline3`})}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})]})]}),"on-click":()=>{let[e,t]=(0,w.useState)(0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`This sample demonstrates the issue described in`,` `,(0,X.jsx)(`a`,{href:`https://github.com/public-ui/kolibri/issues/10726`,target:`_blank`,rel:`noopener noreferrer`,children:`#10726`}),`.`,(0,X.jsx)(`br`,{}),`Test the behavior of KolLink with onClick handlers and compare it to native <a> tags.`]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Expected behavior (like native <a> tag):`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:`onClick without preventDefault: Execute onClick AND navigate to href`}),(0,X.jsx)(`li`,{children:`onClick with preventDefault: Execute onClick, BLOCK navigation`}),(0,X.jsx)(`li`,{children:`onClick returning false: Execute onClick, BLOCK navigation`})]})]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Current behavior (Issue #10726):`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:`❌ onClick with preventDefault: Still navigates to href (should only execute onClick)`}),(0,X.jsx)(`li`,{children:`❌ onClick returning false: Still navigates to href (should only execute onClick)`})]})]})]}),(0,X.jsx)(Z,{id:`on-click`,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(`div`,{className:`bg-gray-100 p-4 rounded`,children:[(0,X.jsx)(`h2`,{className:`h3 mb-2`,children:`Test Results`}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`onClick executions:`}),` `,e]}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600`,children:`(Open browser console to see detailed logs)`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600`,children:`Note: This demo uses href="#test" to avoid actual page reloads. Check the URL hash and console output.`})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 1: onClick ohne preventDefault`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter AND adds #test-1 to URL`}),(0,X.jsx)(Y,{_href:`#test-1`,_label:`Click me (no preventDefault)`,_on:{onClick:(e,n)=>{console.log(`Test 1: onClick ohne preventDefault`,{event:e,href:n}),t(e=>e+1)}},_inline:!1})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 2: onClick mit preventDefault()`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter but does NOT add #test-2 to URL`}),(0,X.jsx)(Y,{_href:`#test-2`,_label:`Click me (with preventDefault)`,_on:{onClick:(e,n)=>{console.log(`Test 2: onClick mit preventDefault`,{event:e,href:n}),t(e=>e+1),e.preventDefault()}},_inline:!1})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 3: onClick returning false`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter but does NOT add #test-3 to URL`}),(0,X.jsx)(Y,{_href:`#test-3`,_label:`Click me (return false)`,_on:{onClick:(e,n)=>(console.log(`Test 3: onClick mit return false`,{event:e,href:n}),t(e=>e+1),!1)},_inline:!1})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 4: useNavigate Pattern (Issue #10726)`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click logs navigate action but does NOT add #test-4 to URL`}),(0,X.jsx)(Y,{_href:`#test-4`,_label:`Click me (simulate useNavigate)`,_on:{onClick:(e,n)=>{console.log(`Test 4: onClick mit simulate navigate`,{event:e,href:n}),t(e=>e+1),e.preventDefault(),console.log(`Simulated navigate to:`,n)}},_inline:!1})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Reference: Native <a> Tag`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Test native <a> tag behavior for comparison`}),(0,X.jsxs)(`div`,{className:`grid gap-2`,children:[(0,X.jsx)(`a`,{href:`#native-test-1`,onClick:()=>{console.log(`Native a: onClick ohne preventDefault`),t(e=>e+1)},className:`btn btn-primary`,children:`Native: No preventDefault`}),(0,X.jsx)(`a`,{href:`#native-test-2`,onClick:e=>{console.log(`Native a: onClick mit preventDefault`),t(e=>e+1),e.preventDefault()},className:`btn btn-primary`,children:`Native: With preventDefault`}),(0,X.jsx)(`a`,{href:`#native-test-3`,onClick:()=>(console.log(`Native a: onClick mit return false`),t(e=>e+1),!1),className:`btn btn-primary`,children:`Native: Return false`})]})]})]})})]})},"link-variant":()=>{let[e]=tk(),t=e.get(`theme`)??UA(),n=(0,w.useMemo)(()=>t?NA(t,`linkVariants`):[],[t]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows the theme specific variants of KolLink.`})}),(0,X.jsxs)(Z,{id:`variants`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Normal link without a variant`}),!Array.isArray(n)||n.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Theme exclusive variant: ${e}`,_variant:e},e))]})]})}}},oI={meter:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolMeter renders a semantic meter element. You can use _min (default 0), _max (default 1) and _unit (default %) to customize it.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`basic`,heading:`Basic`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(PT,{_label:`Storage used`,_value:.5}),(0,X.jsx)(PT,{_label:`Weight`,_max:100,_value:75,_unit:`kg`}),(0,X.jsx)(PT,{_label:`Temperature`,_min:-100,_max:100,_value:-50,_unit:`°C`})]})})})]}),clamped:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`A `,(0,X.jsx)(`code`,{children:`_value`}),` outside the range of `,(0,X.jsx)(`code`,{children:`_min`}),` and `,(0,X.jsx)(`code`,{children:`_max`}),` is clamped into it: a value above `,(0,X.jsx)(`code`,{children:`_max`}),` renders as`,` `,(0,X.jsx)(`code`,{children:`_max`}),`, a value below `,(0,X.jsx)(`code`,{children:`_min`}),` as `,(0,X.jsx)(`code`,{children:`_min`}),`.`]})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`clamped`,heading:`Values outside the range`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(PT,{_label:`Value 140, maximum 100 (shows 100)`,_max:100,_value:140,_unit:`%`}),(0,X.jsx)(PT,{_label:`Value 60, range 0 to 100 (unchanged)`,_max:100,_value:60,_unit:`%`}),(0,X.jsx)(PT,{_label:`Value -20, minimum 0 (shows 0)`,_min:0,_max:100,_value:-20,_unit:`%`}),(0,X.jsx)(PT,{_label:`Value -40 °C, range -20 to 60 °C (shows -20 °C)`,_min:-20,_max:60,_value:-40,_unit:`°C`})]})})})]}),dynamic:()=>{let[e,t]=(0,w.useState)(120);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolMeter announces value changes immediately to screen readers. Use the buttons below to verify the live region updates without delay.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsxs)(Z,{id:`dynamic-value`,heading:`Dynamic value`,children:[(0,X.jsx)(PT,{_label:`Used hard disk space`,_max:500,_min:0,_unit:`GB`,_value:e}),(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(K,{_label:`120 GB`,_on:{onClick:()=>t(120)},_variant:`secondary`}),(0,X.jsx)(K,{_label:`240 GB`,_on:{onClick:()=>t(240)},_variant:`secondary`}),(0,X.jsx)(K,{_label:`360 GB`,_on:{onClick:()=>t(360)},_variant:`secondary`}),(0,X.jsx)(K,{_label:`480 GB`,_on:{onClick:()=>t(480)},_variant:`secondary`})]})]})})]})},optimum:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`The _optimum prop indicates the preferred value. Combined with _low and _high, the browser uses it to determine whether the current value is in a good, acceptable or bad zone – which affects the semantic coloring.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`optimum-medium-zone-good`,heading:`Optimum in medium zone (good = medium)`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(PT,{_label:`Temperature is nice`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:20,_unit:`°C`}),(0,X.jsx)(PT,{_label:`It's too cold`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:-10,_unit:`°C`}),(0,X.jsx)(PT,{_label:`It's too hot`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:50,_unit:`°C`})]})}),(0,X.jsx)(Z,{id:`optimum-low-zone-good-low`,heading:`Optimum in low zone (good = low)`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(PT,{_label:`Memory Usage`,_max:100,_value:10,_low:25,_high:75,_optimum:10}),(0,X.jsx)(PT,{_label:`Memory Usage`,_max:100,_value:50,_low:25,_high:75,_optimum:10}),(0,X.jsx)(PT,{_label:`Memory Usage`,_max:100,_value:90,_low:25,_high:75,_optimum:10})]})}),(0,X.jsx)(Z,{id:`optimum-high-zone-good-high`,heading:`Optimum in high zone (good = high)`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(PT,{_label:`Battery level`,_max:100,_value:10,_low:25,_high:75,_optimum:90}),(0,X.jsx)(PT,{_label:`Battery level`,_max:100,_value:50,_low:25,_high:75,_optimum:90}),(0,X.jsx)(PT,{_label:`Battery level`,_max:100,_value:90,_low:25,_high:75,_optimum:90})]})})]})]}),orientation:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`The _orientation prop switches the meter bar between horizontal (default) and vertical. Vertical meters grow from bottom to top and are useful for tank fill levels, signal strength or similar scalar indicators.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`vertical`,heading:`Vertical`,children:(0,X.jsxs)(`div`,{className:`flex flex-row gap-8 items-end`,children:[(0,X.jsx)(PT,{style:{"--kol-meter-vertical-height":`100`},_label:`Tank 100l`,_max:100,_value:50,_orientation:`vertical`,_unit:`l`}),(0,X.jsx)(PT,{style:{"--kol-meter-vertical-height":`150`},_label:`Tank 150l`,_max:150,_value:50,_orientation:`vertical`,_unit:`l`}),(0,X.jsx)(PT,{style:{"--kol-meter-vertical-height":`200`},_label:`Tank 200l`,_max:200,_value:150,_orientation:`vertical`,_unit:`l`})]})}),(0,X.jsx)(Z,{id:`vertical-ranges-optimum`,heading:`Vertical with ranges and optimum`,children:(0,X.jsxs)(`div`,{className:`flex flex-row gap-8`,children:[(0,X.jsx)(PT,{_label:`Low`,_max:100,_value:10,_low:25,_high:75,_optimum:50,_orientation:`vertical`}),(0,X.jsx)(PT,{_label:`OK`,_max:100,_value:50,_low:25,_high:75,_optimum:50,_orientation:`vertical`}),(0,X.jsx)(PT,{_label:`High`,_max:100,_value:90,_low:25,_high:75,_optimum:50,_orientation:`vertical`})]})})]})]})}},sI={modal:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(uT,{_label:`Component is DEPRECATED`,_type:`error`,_variant:`card`,className:`header-alert`,children:[`The Modal component was renamed to Dialog. Please use the Dialog sample instead.\xA0`,(0,X.jsx)(Y,{_href:`/#/dialog`,_target:`_blank`,_label:`Open Dialog samples`})]}),(0,X.jsx)(Ej,{})]})}},cI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolNav with a link to the current page. This makes the component automatically assign `,(0,X.jsx)(`code`,{children:`aria-current="page"`}),`to it.`]})}),(0,X.jsx)(Z,{id:`aria-current`,children:(0,X.jsx)(FT,{class:`block w-sm`,_label:`Main navigation`,_links:[{_label:`Homepage`,_href:`#/back-page`},{_label:`Nav - aria-current (Current page)`,_href:`#/nav/aria-current`,_active:!0}]})})]}),lI=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 Navigation point`,_href:`#/back-page`,_target:`asdasd`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.3.1 Navigation point`,_href:`#/back-page`},{_label:`3.3.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.4 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1.1 Navigation point`,_href:`#/back-page`},{_label:`3.4.1.2 Navigation point (active)`,_href:`#/back-page`}]},{_label:`3.4.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.5 Navigation point`,_href:`#/back-page`}]},{_label:`4 Navigation point with children and onClick`,_children:[{_label:`4.1 Nested link`,_href:`#/back-page`}],_on:{onClick:()=>console.log(`4.1 Nested link clicked`)}},{_label:`5 No own page, only category`,_active:!0,_children:[{_label:`5.1 Nested link`,_href:`#/back-page`}]},{_label:`6 No own page, with icon`,_icons:`kolicon-kolibri`,_children:[{_label:`6.1 Nested link`,_href:`#/back-page`}]}],uI=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`},{_label:`4 Navigation point with children and onClick`,_on:{onClick:()=>console.log(`4.1 Nested link clicked`)}},{_label:`5 No own page, only category`,_active:!0},{_label:`6 No own page, with icon`,_icons:`kolicon-kolibri`}],dI=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 Navigation point`,_target:`asdasd`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.3.1 Navigation point`,_href:`#/back-page`,_active:!0},{_label:`3.3.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.4 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1.1 Navigation point`,_href:`#/back-page`},{_label:`3.4.1.2 Navigation point (active)`,_href:`#/back-page`}]},{_label:`3.4.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.5 Navigation point`,_href:`#/back-page`}]}],fI={nav:{basic:()=>{let[e,t]=(0,w.useState)(!0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolNav renders a navigation. In this sample, icons for the navigation elements can be shown or hidden using a checkbox and the navigation can be collapsed, showing only icons and no text labels.`})}),(0,X.jsxs)(`section`,{className:`grid gap-8`,children:[(0,X.jsx)(`section`,{children:(0,X.jsx)(CT,{_label:`Show icons when expanded`,_checked:e,_on:{onChange:(e,n)=>{t(n)}}})}),(0,X.jsx)(Z,{id:`navigation-submenu`,heading:`Navigation without submenu`,fitContent:!0,children:(0,X.jsx)(FT,{class:`block w-fit`,_label:`Navigation without submenu`,_links:uI,_hasCompactButton:!0,_hasIconsWhenExpanded:e})}),(0,X.jsx)(Z,{id:`navigation-submenu-2`,heading:`Navigation with submenu`,fitContent:!0,children:(0,X.jsx)(FT,{class:`block w-fit`,_label:`Navigation with submenu`,_links:lI,_hasCompactButton:!0,_hasIconsWhenExpanded:e})}),(0,X.jsx)(Z,{id:`navigation-submenu-active`,heading:`Navigation with submenu active`,fitContent:!0,children:(0,X.jsx)(FT,{class:`block w-fit`,_label:`Navigation with submenu active`,_links:dI,_hasCompactButton:!0,_hasIconsWhenExpanded:e})})]})]})},"aria-current":cI}},pI={pagination:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolPagination renders a pagination for datasets. The sample shows the different states and variations of a pagination and the option to change the page size.`})}),(0,X.jsxs)(Z,{id:`basic`,narrow:!0,children:[(0,X.jsx)(IT,{_max:316514,_page:15475,_pageSize:20,_siblingCount:3,_boundaryCount:1,_label:`Large dataset, page in the middle (Entries 309481 to 309500 of 316514)`,_on:{}}),(0,X.jsx)(IT,{_max:316514,_page:1,_pageSize:50,_siblingCount:2,_boundaryCount:1,_label:`Large dataset, first page (Entries 1 to 50 of 316514)`,_on:{}}),(0,X.jsx)(IT,{_max:316514,_page:6331,_pageSize:50,_siblingCount:2,_boundaryCount:1,_label:`Large dataset, last page (Entries 316501 to 316514 of 316514)`,_on:{}}),(0,X.jsx)(IT,{_max:14,_page:14,_pageSize:1,_siblingCount:1,_boundaryCount:2,_label:`Small dataset, last page (Entries 14 to 14 of 14)`,_on:{}}),(0,X.jsx)(IT,{_max:4,_page:1,_pageSize:4,_siblingCount:0,_boundaryCount:2,_label:`Tiny dataset, first page (Entries 1 to 4 of 4)`,_on:{}}),(0,X.jsx)(IT,{_max:10,_page:15,_pageSize:5,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`Edge case: page exceeds max (corrected to page 2, Entries 6 to 10 of 10)`,_on:{}}),(0,X.jsx)(IT,{_max:1e3,_page:10,_pageSize:25,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`Medium dataset with boundary buttons only (Entries 226 to 250 of 1000)`,_on:{}}),(0,X.jsx)(IT,{_max:379,_page:6,_pageSize:10,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`With page size options`,_on:{},_pageSizeOptions:[10,25,50,100]}),(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:1,_boundaryCount:1,_label:`Page size 10, sibling count 1 (Entries 41 to 50 of 100)`,_on:{}}),(0,X.jsx)(IT,{_max:250,_page:3,_pageSize:30,_siblingCount:2,_boundaryCount:0,_label:`No boundary buttons, sibling count 2 (Entries 61 to 90 of 250)`,_on:{}})]})]}),"button-visibility":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates how to show or hide the navigation buttons (first, previous, next, last) in a pagination. All examples use the same dataset configuration (_max=100, _page=5, _pageSize=10) to show the effect of different button visibility settings.`})}),(0,X.jsxs)(Z,{id:`button-visibility`,children:[(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Default: All buttons visible (first, previous, next, last)`,_on:{}}),(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Only previous and next buttons`,_on:{},_hasButtons:{first:!1,last:!1,next:!0,previous:!0}}),(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`No navigation buttons, only page numbers`,_on:{},_hasButtons:!1})]}),(0,X.jsxs)(Z,{id:`button-combinations`,skipSnapshot:!0,children:[(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Only first and last buttons`,_on:{},_hasButtons:{first:!0,last:!0,next:!1,previous:!1}}),(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except first`,_on:{},_hasButtons:{first:!1,last:!0,next:!0,previous:!0}}),(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except last`,_on:{},_hasButtons:{first:!0,last:!1,next:!0,previous:!0}}),(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except previous`,_on:{},_hasButtons:{first:!0,last:!0,next:!0,previous:!1}}),(0,X.jsx)(IT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except next`,_on:{},_hasButtons:{first:!0,last:!0,next:!1,previous:!0}})]})]}),"sibling-boundary":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates how _siblingCount and _boundaryCount affect the number of page buttons shown. All examples use the same dataset configuration (_max=20, _page=5, _pageSize=1) to clearly show the effect of these settings. _siblingCount controls how many page buttons appear next to the current page, while _boundaryCount controls how many buttons appear at the beginning and end of the pagination.`})}),(0,X.jsxs)(Z,{id:`sibling-boundary`,children:[(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_label:`Default: siblingCount=1, boundaryCount=1 (shows pages 1, 4, 5, 6, 20)`,_on:{}}),(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_siblingCount:2,_boundaryCount:1,_label:`siblingCount=2, boundaryCount=1 (shows pages 1, 3, 4, 5, 6, 7, 20)`,_on:{}}),(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_siblingCount:3,_boundaryCount:1,_label:`siblingCount=3, boundaryCount=1 (shows pages 1, 2, 3, 4, 5, 6, 7, 8, 20)`,_on:{}}),(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_siblingCount:0,_boundaryCount:1,_label:`siblingCount=0, boundaryCount=1 (shows pages 1, 5, 20 only)`,_on:{}}),(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:2,_label:`siblingCount=1, boundaryCount=2 (shows pages 1, 2, 4, 5, 6, 19, 20)`,_on:{}}),(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:3,_label:`siblingCount=1, boundaryCount=3 (shows pages 1, 2, 3, 4, 5, 6, 18, 19, 20)`,_on:{}}),(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:0,_label:`siblingCount=1, boundaryCount=0 (shows pages 4, 5, 6 only, with ellipsis)`,_on:{}}),(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_siblingCount:0,_boundaryCount:0,_label:`siblingCount=0, boundaryCount=0 (shows page 5 only, with ellipsis on both sides)`,_on:{}}),(0,X.jsx)(IT,{_max:20,_page:5,_pageSize:1,_siblingCount:5,_boundaryCount:2,_label:`siblingCount=5, boundaryCount=2 (shows almost all pages)`,_on:{}}),(0,X.jsx)(IT,{_max:100,_page:50,_pageSize:1,_siblingCount:3,_boundaryCount:2,_label:`Larger dataset: _max=100, _page=50, siblingCount=3, boundaryCount=2`,_on:{}})]})]})}},mI=[`top`,`right`,`bottom`,`left`],hI={"popover-button":{align:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`code`,{children:`_popoverAlign`}),` places the popover on one of the four sides of the button; the default is `,(0,X.jsx)(`code`,{children:`bottom`}),`. If there is not enough space, the popover moves to the opposite side.`]}),(0,X.jsx)(`p`,{children:`Open the buttons one after the other to compare the positions.`})]}),(0,X.jsx)(Z,{id:`popover-align`,className:`grid grid-cols-2 gap-32 p-32 justify-items-center`,skipSnapshot:!0,children:mI.map(e=>(0,X.jsx)(LT,{_label:`Popover ${e}`,_popoverAlign:e,children:(0,X.jsxs)(`p`,{className:`m-0 p-2 bg-white`,children:[`Popover placed `,(0,X.jsx)(`strong`,{children:e}),`.`]})},e))})]}),basic:()=>{let{dummyClickEventHandler:e}=hA(),t=w.useRef(null),n={onClick:e},r=[{type:`button`,_label:`Show`,_icons:`kolicon-eye`,_on:n},{type:`button`,_label:`Delete`,_icons:`kolicon-minus`,_on:n},{type:`button`,_label:`Add`,_icons:`kolicon-plus`,_on:n}];return(0,w.useEffect)(()=>{t.current&&(t.current.showPopover(),t.current.focus())},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The PopoverButton component combines a button with a popover that appears when clicked. The popover can be positioned in different directions (top, right, bottom, left) using the `,(0,X.jsx)(`code`,{children:`_popoverAlign`}),` prop.`]})}),(0,X.jsxs)(`div`,{className:`flex flex-col gap-4 items-center`,children:[(0,X.jsx)(LT,{_label:`Actions`,_variant:`primary`,_icons:{right:`kolicon-chevron-down`},ref:t,children:(0,X.jsx)(YT,{_label:`Action toolbar`,_items:r,_orientation:`vertical`})}),(0,X.jsx)(LT,{_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,X.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray bg-white`,children:[(0,X.jsx)(q,{_label:`Help Information`,_level:0}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})]})})]})]})},inline:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`A PopoverButton inline with some dummy text. Here the PopoverButton has the height of the surrounding text. As statet in`,(0,X.jsx)(`a`,{href:`https://www.w3.org/WAI/WCAG21/Understanding/target-size.html`,children:`Understanding SC 2.5.5`}),` target size of a help icon in text can be smaller than 44px by 44px.`]})}),(0,X.jsx)(Z,{id:`inline`,className:`flex flex-col gap-4`,children:(0,X.jsxs)(`p`,{children:[`Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium.`,(0,X.jsx)(LT,{_inline:!0,_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,X.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:[(0,X.jsx)(q,{_label:`Help Information`,_level:0}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})]})}),(0,X.jsx)(`br`,{}),`Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})})]})}},gI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolProgress renders a progress indicator. The sample shows the variants "bar" and "cycle" with and without labels.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4 grid-cols-1 sm:grid-cols-2`,children:[(0,X.jsxs)(Z,{id:`percentages`,heading:`Percentages`,className:`flex flex-col gap-4`,children:[(0,X.jsx)(RT,{_variant:`bar`,_max:7,_value:0}),(0,X.jsx)(RT,{_variant:`bar`,_max:7,_value:2}),(0,X.jsx)(RT,{_variant:`bar`,_max:7,_value:7}),(0,X.jsx)(RT,{_variant:`cycle`,_max:7,_value:6})]}),(0,X.jsxs)(Z,{id:`custom-units`,heading:`Custom units`,className:`flex flex-col gap-4`,children:[(0,X.jsx)(RT,{_label:`Distance`,_variant:`bar`,_max:65434,_value:7236,_unit:`m`}),(0,X.jsx)(RT,{_label:`12 Tasks to do`,_variant:`bar`,_max:12,_value:5,_unit:`tasks completed`}),(0,X.jsx)(RT,{_label:`Max 150 kg`,_variant:`cycle`,_max:150,_value:42,_unit:`kg`})]}),(0,X.jsxs)(Z,{id:`min-max`,heading:`Min & Max`,className:`flex flex-col gap-4`,children:[(0,X.jsx)(RT,{_label:`More than max`,_variant:`bar`,_max:7,_value:14}),(0,X.jsx)(RT,{_label:`Less than min`,_variant:`bar`,_max:7,_value:-7})]})]})]}),_I=()=>{let[e,t]=(0,w.useState)(5),[n,r]=(0,w.useState)(10);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This shows that values can be changed and that they are clamped at max value (here at 10).`})}),(0,X.jsxs)(`fieldset`,{title:`changing`,className:`flex flex-col gap-4`,children:[(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(`button`,{onClick:()=>t(-2),children:`set -2`}),(0,X.jsx)(`button`,{onClick:()=>t(5),children:`set 5`}),(0,X.jsx)(`button`,{onClick:()=>t(13),children:`set 13`}),(0,X.jsx)(`button`,{onClick:()=>r(-1),children:`change max to -1`}),(0,X.jsx)(`button`,{onClick:()=>r(5),children:`change max to 5`}),(0,X.jsx)(`button`,{onClick:()=>r(10),children:`change max to 10`})]}),(0,X.jsx)(RT,{_label:`Showing ${e} of ${n}`,_variant:`bar`,_max:n,_value:e}),(0,X.jsx)(RT,{_variant:`cycle`,_max:n,_value:e})]})]})},vI=100,yI=5,bI=1e3,xI={progress:{basic:gI,changing:_I,dynamic:()=>{let[e,t]=(0,w.useState)(0),[n,r]=(0,w.useState)(!0),[i,a]=(0,w.useState)(!0);return(0,w.useEffect)(()=>{if(!n)return;let e=setInterval(()=>t(e=>e>=vI?0:e+yI),bI);return()=>clearInterval(e)},[n]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The value grows by `,yI,` every second and starts again at 0 after `,vI,`. Screen readers announce the current value every 5 seconds through the live region. Removing and inserting the components again checks that the announcement continues afterwards.`]})}),(0,X.jsxs)(Z,{id:`progress-dynamic`,skipSnapshot:!0,children:[(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(K,{_label:n?`Pause`:`Resume`,_on:{onClick:()=>r(!n)}}),(0,X.jsx)(K,{_label:i?`Remove`:`Insert`,_on:{onClick:()=>a(!i)}})]}),i&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(RT,{_label:`Upload`,_variant:`bar`,_max:vI,_value:e}),(0,X.jsx)(RT,{_label:`Upload`,_variant:`cycle`,_max:vI,_value:e})]})]})]})}}},SI={quote:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolQuote renders a quote with optional citation. This sample shows a quote in the variant "inline" with a link for citation.`})}),(0,X.jsx)(Z,{id:`basic`,children:(0,X.jsx)(zT,{_href:`https://datatracker.ietf.org/doc/html/rfc1149`,_quote:`Avian carriers can provide high delay.`,_variant:`inline`})})]}),block:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a quote in the "block" variant.`})}),(0,X.jsx)(Z,{id:`block`,children:(0,X.jsx)(zT,{_label:`RFC 1149`,_href:`https://datatracker.ietf.org/doc/html/rfc1149`,_quote:`Avian carriers can provide high delay, low throughput, and low altitude
74
+ service. The connection topology is limited to a single point-to-point path
75
+ for each carrier, used with standard carriers, but many carriers can be used
76
+ without significant interference with each other, outside early spring.
77
+ This is because of the 3D ether space available to the carriers, in contrast
78
+ to the 1D ether used by IEEE802.3. The carriers have an intrinsic collision
79
+ avoidance system, which increases availability.`,_variant:`block`})})]})}},CI=[{label:`Prof. Dr. very long value with more word so it really really breaks the layout `,value:`long`},{label:`No salutation`,value:``},{label:`Mrs.`,value:`Mrs.`},{label:`Mr.`,value:`Mr.`},{label:`Divers`,value:`Divers`}],wI=CI.map((e,t)=>t===0?{label:`Select salutation`,value:``,disabled:!0}:e),TI=hj.reduce((e,t)=>{let n=t.label.charAt(0).toUpperCase();return e[n]||(e[n]={label:n,options:[]}),e[n].options.push({label:t.label,value:t.label}),e},{}),EI=Object.values(TI),DI=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`salutation-icons`),children:(0,X.jsx)(BT,{...n,ref:r,_accessKey:`a`,_options:CI,_label:`Salutation`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}}})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(BT,{...n,_options:CI,_label:`Disabled`,_disabled:!0})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(BT,{...n,_options:wI,_label:`Salutation with error`,_msg:{_type:`error`,_description:nA},_touched:!0})}),(0,X.jsx)(Z,{...i(`multiple`),children:(0,X.jsx)(BT,{...n,_options:hj,_label:`Multiple choice`,_multiple:!0})}),(0,X.jsx)(Z,{...i(`multiple-error`),children:(0,X.jsx)(BT,{...n,_options:hj,_label:`Multiple choice with error`,_multiple:!0,_required:!0,_msg:{_type:`error`,_description:nA},_hint:rA,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(BT,{...n,_options:CI,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(BT,{...n,_options:CI,_label:`With short key`,_shortKey:`s`})}),(0,X.jsx)(Z,{...i(`grouped`),children:(0,X.jsx)(BT,{...n,_options:EI,_label:`With grouped by first letter`,_value:`Albanien`})}),(0,X.jsx)(Z,{...i(`grouped-multiple`),children:(0,X.jsx)(BT,{...n,_options:EI,_label:`With grouped by first letter (multiple)`,_multiple:!0,_value:[`Albanien`]})})]})}),OI=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Text`,children:(0,X.jsx)(DI,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Text (hideLabel)`,children:(0,X.jsx)(DI,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),kI={select:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolSelect renders a select field. The sample shows KolSelect in a form context with all variations and states.`})}),(0,X.jsx)(dj,{RefComponent:OI,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolSelect`,renderInput:e=>(0,X.jsx)(BT,{_label:`Select option`,_options:[{label:`Please select…`,value:``},{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),"multiple-dropdown":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Shows KolSelect with multiple=true and rows=1 - a select with multiselection in a dropdown.`})}),(0,X.jsx)(qj,{label:`KolSelect`,renderInput:e=>(0,X.jsx)(BT,{_label:`Select options`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`},{label:`Three`,value:`three`},{label:`Four`,value:`four`},{label:`Five`,value:`five`},{label:`Six`,value:`six`},{label:`Seven`,value:`seven`},{label:`Eight`,value:`eight`},{label:`Nine`,value:`nine`}],_multiple:!0,_rows:1,_on:e})})]})}},AI=[{value:`1`,label:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam`},{value:`2`,label:`Lorem ipsum dolor`},{value:`3`,label:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`},{value:`4`,label:`Lorem ipsum dolor`},{value:`5`,label:`Lorem ipsum dolor`},{value:`6`,label:`Lorem ipsum dolor`},{value:`7`,label:`Lorem ipsum dolor`},{value:`8`,label:`Lorem ipsum dolor`},{value:`2`,label:`Lorem ipsum dolor`}],jI=({blockIdPrefix:e,snapshotOnly:t,...n})=>{let r=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...r(`hint`),children:(0,X.jsx)(VT,{...n,_hint:rA,_label:`Label`,_options:hj,_value:`de`})}),(0,X.jsx)(Z,{...r(`disabled`),children:(0,X.jsx)(VT,{...n,_label:`Disabled`,_options:hj,_value:`de`,_disabled:!0})}),(0,X.jsx)(Z,{...r(`error`),children:(0,X.jsx)(VT,{...n,_options:hj,_msg:{_type:`error`,_description:nA},_rows:3,_touched:!0,_label:`Label`,_placeholder:`Placeholder`,_required:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...r(`access-key`),children:(0,X.jsx)(VT,{...n,_label:`With access key`,_options:hj,_value:`de`,_accessKey:`c`})}),(0,X.jsx)(Z,{...r(`short-key`),children:(0,X.jsx)(VT,{...n,_label:`With short key`,_options:hj,_value:`de`,_shortKey:`s`})}),(0,X.jsx)(Z,{...r(`long-labels`),children:(0,X.jsx)(VT,{...n,_label:`With long labels`,_options:AI,_placeholder:`Placeholder`})}),(0,X.jsx)(Z,{...r(`no-clear-button`),children:(0,X.jsx)(VT,{...n,_label:`With hidden clear button`,_options:hj,_value:`de`,_hasClearButton:!1})}),(0,X.jsx)(Z,{...r(`boolean-values`),children:(0,X.jsx)(VT,{...n,_label:`Boolean option values (Issue #9122)`,_options:[{label:`False`,value:!1},{label:`True`,value:!0}],_value:!1})}),(0,X.jsx)(Z,{...r(`disabled-options`),children:(0,X.jsx)(VT,{...n,_hint:rA,_label:`With disabled options`,_options:[{value:`bw`,label:`Baden-Württemberg`,disabled:!0},{value:`by`,label:`Bayern`,disabled:!0},{value:`be`,label:`Berlin`},{value:`bb`,label:`Brandenburg`},{value:`hb`,label:`Bremen`},{value:`hh`,label:`Hamburg`},{value:`he`,label:`Hessen`},{value:`mv`,label:`Mecklenburg-Vorpommern`},{value:`ni`,label:`Niedersachsen`,disabled:!0},{value:`nw`,label:`Nordrhein-Westfalen`},{value:`rp`,label:`Rheinland-Pfalz`},{value:`sl`,label:`Saarland`},{value:`sn`,label:`Sachsen`},{value:`st`,label:`Sachsen-Anhalt`,disabled:!0},{value:`sh`,label:`Schleswig-Holstein`},{value:`th`,label:`Thüringen`,disabled:!0}],_value:`be`})})]})},MI=e=>(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Text`,children:(0,X.jsx)(jI,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Text (hideLabel)`,children:(0,X.jsx)(jI,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,...e,_hideLabel:!0})})]}),NI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`SingleSelect provides a select field for a single value, supported by a search field.`})}),(0,X.jsx)(dj,{RefComponent:MI,showButtons:!1})]}),PI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolSingleSelect`,renderInput:e=>(0,X.jsx)(VT,{_label:`Search option`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),FI=({show:e})=>e?(0,X.jsx)(`div`,{className:`loading-overlay`,children:(0,X.jsx)(UT,{_label:`loading`,_show:e,_variant:`cycle`,style:{backgroundColor:`transparent`}})}):null,II=()=>{let[e,t]=(0,w.useState)([]),[n,r]=(0,w.useState)(!1);function i(){e.length>0||(r(!0),setTimeout(()=>{t(hj),r(!1)},5e3))}return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This single select loads its list of countries 5 seconds after the first input of the user to simulate a call to the server.`})}),(0,X.jsxs)(`section`,{className:`w-full relative p-3`,children:[(0,X.jsx)(VT,{_label:`Lazy loaded countries`,_options:e,onInput:()=>i()}),(0,X.jsx)(FI,{show:n})]})]})},LI=[{label:`Zero`,value:0},{label:`No`,value:!1},{label:`Empty string`,value:``},{label:`One`,value:1},{label:`Two (disabled)`,value:2,disabled:!0}],RI=[{label:2024,value:2024},{label:2025,value:2025},{label:2026,value:2026}],zI={"single-select":{basic:NI,"get-value":PI,"lazy-loaded":II,"option-values":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The options of KolSingleSelect accept any value, also falsy ones such as `,(0,X.jsx)(`code`,{children:`0`}),`, `,(0,X.jsx)(`code`,{children:`false`}),` or an empty string; the selected option is found by its value. A number as `,(0,X.jsx)(`code`,{children:`label`}),` is shown as text. Disabled options stay visible in the list but can not be selected.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`falsy-zero`,children:(0,X.jsx)(VT,{_label:`Value 0 selected`,_options:LI,_value:0})}),(0,X.jsx)(Z,{id:`falsy-false`,children:(0,X.jsx)(VT,{_label:`Value false selected`,_options:LI,_value:!1})}),(0,X.jsx)(Z,{id:`number-labels`,children:(0,X.jsx)(VT,{_label:`Number labels (year)`,_options:RI,_value:2025})})]})]})}},BI={"skip-nav":{basic:()=>{let e=(0,w.useRef)(null);return(0,w.useEffect)(()=>{e.current?.focus()},[]),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`KolSkipNav renders a list of navigation links that are visually hidden by default and only visible on focus.`}),(0,X.jsx)(`p`,{children:`For testing purposes, click into the example and press the tab-key in order to focus the first link.`})]}),(0,X.jsx)(HT,{ref:e,_label:`Hidden navigation`,_links:[{_label:`To the top`,_href:`#/back-page`},{_label:`To the form`,_href:`#/back-page`},{_label:`To the end`,_href:`#/back-page`}]})]})}}},VI={spin:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolSpin renders a loading indicator. It supports the variants "dot" (default) and "cycle". With`,` `,(0,X.jsx)(`code`,{children:`_variant="none"`}),` and the expert slot a custom animation can be used – custom animations are not necessarily barrier-free. Color and size can be changed with the CSS properties `,(0,X.jsx)(`code`,{children:`--kol-spin-color`}),` and `,(0,X.jsx)(`code`,{children:`--kol-spin-size`}),`. The label (`,(0,X.jsx)(`code`,{children:`_label`}),`) is only exposed to assistive technology, so it does not change the visual appearance.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`basic`,heading:`Variant dot (default)`,fitContent:!0,children:(0,X.jsx)(UT,{_show:!0})}),(0,X.jsx)(Z,{id:`cycle`,heading:`Variant cycle`,fitContent:!0,children:(0,X.jsx)(UT,{_show:!0,_variant:`cycle`})}),(0,X.jsx)(Z,{id:`custom`,heading:`Custom animation (expert slot)`,fitContent:!0,children:(0,X.jsx)(UT,{_show:!0,_variant:`none`,children:(0,X.jsx)(`span`,{slot:`expert`,className:`loader`})})}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(q,{_level:2,_label:`With label (screen reader only)`}),(0,X.jsx)(UT,{_show:!0,_label:`Loading data...`})]}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(q,{_level:2,_label:`Custom color and size (CSS properties)`}),(0,X.jsx)(UT,{_show:!0,style:{"--kol-spin-color":`green`,"--kol-spin-size":`80`}})]})]})]})}},HI={"split-button":{basic:()=>{let{buttonWithTextClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The `,(0,X.jsx)(`code`,{children:`SplitButton`}),` component combines a primary action button with a context menu. Clicking the main button triggers the`,(0,X.jsx)(`strong`,{children:` Edit`}),` action. The context menu opens a vertical list of additional actions:`,(0,X.jsx)(`strong`,{children:` Save`}),`, `,(0,X.jsx)(`strong`,{children:`Move`}),`, and `,(0,X.jsx)(`strong`,{children:`Delete`}),`.`]})}),(0,X.jsx)(Z,{id:`basic`,className:`flex flex-col gap-4`,children:(0,X.jsx)(WT,{_label:`Edit`,_on:t,children:(0,X.jsx)(YT,{_label:`Action toolbar`,_items:[{type:`button`,_label:`Save`,_icons:`kolicon-check`,_on:t},{type:`button`,_label:`Move Up`,_icons:`kolicon-chevron-up`,_on:t},{type:`button`,_label:`Delete`,_icons:`kolicon-minus`,_on:t}],_orientation:`vertical`})})})]})},"with-context":()=>{let e=w.useRef(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon.`})}),(0,X.jsx)(`div`,{className:`flex gap-4`,children:(0,X.jsx)(WT,{ref:e,_label:`Only the arrow opens`,children:(0,X.jsxs)(`div`,{style:{width:300,padding:16,border:`1px solid #ccc`},onClick:e=>e.stopPropagation(),children:[(0,X.jsx)(`p`,{children:`SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon.`}),(0,X.jsxs)(`div`,{style:{gap:16,display:`flex`,flexDirection:`column`},children:[(0,X.jsx)(J,{_label:`User`}),(0,X.jsx)(J,{_label:`Role`}),(0,X.jsx)(K,{_label:`Close`,_on:{onClick:()=>{e.current?.closePopup()}}})]})]})})})]})}}},UI={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`,width:200},{key:`owner`,label:`Owner`,width:140},{type:`action`,key:`actions`,label:`Actions`,textAlign:`left`,width:250,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}},{type:`button`,_label:`Start`,_icons:`kolicon-chevron-right`,_variant:`secondary`,_on:{onClick:()=>alert(`Start task ${t.id}`)}},{type:`link`,_label:`View`,_href:`#/back-page?taskId=${t.id}`,_target:`_blank`,_icons:`kolicon-external-link`,_hideLabel:!1}]}},{type:`action`,key:`externalActions`,label:`External Actions`,textAlign:`right`,width:280,actions:e=>[{type:`link`,_label:`View on Dashboard`,_href:`#/back-page?taskId=${e.id}`,_target:`_blank`,_icons:`kolicon-external-link`,_hideLabel:!1}]}]]},WI=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`}],GI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,X.jsx)(Z,{id:`action-columns`,className:`w-full`,children:(0,X.jsx)(GT,{_label:`Tasks with action buttons`,_headers:UI,_data:WI,className:`block`})})]}),KI=50,qI=[`Max`,`Erika`,`John`,`Jane`,`Peter`,`Anna`,`Michael`,`Sarah`,`Thomas`,`Lisa`,`Daniel`,`Maria`,`Christian`,`Laura`,`Stefan`,`Julia`,`Andreas`,`Sophie`,`Markus`,`Emma`],JI=[`Mustermann`,`Musterfrau`,`Doe`,`Smith`,`Schmidt`,`Müller`,`Weber`,`Meyer`,`Wagner`,`Becker`,`Fischer`,`Schneider`,`Hoffmann`,`Koch`,`Bauer`,`Richter`,`Klein`,`Wolf`,`Schröder`,`Neumann`],YI=[`active`,`inactive`,`pending`],XI=(e=>Array.from({length:e},(e,t)=>{let n=qI[t%qI.length],r=JI[Math.floor(t/qI.length)%JI.length],i=YI[t%YI.length],a=t+1;return{id:a,name:`${n} ${r}`,email:`${n.toLowerCase()}.${r.toLowerCase()}${a>20?a:``}@example.com`,status:i}}))(KI),ZI={horizontal:[[{key:`id`,label:`ID`,textAlign:`left`,width:60,compareFn:(e,t)=>e.id-t.id,sortDirection:`ASC`},{key:`name`,label:`Name`,textAlign:`left`,compareFn:(e,t)=>e.name.localeCompare(t.name,`de`),sortDirection:`ASC`,width:250},{key:`email`,label:`E-Mail`,textAlign:`left`,compareFn:(e,t)=>e.email.localeCompare(t.email,`de`),sortDirection:`ASC`,width:350},{key:`status`,label:`Status`,textAlign:`center`,width:100,compareFn:(e,t)=>e.status.localeCompare(t.status,`de`),sortDirection:`ASC`},{type:`action`,key:`actions`,label:`Aktionen`,textAlign:`center`,width:180,actions:e=>{let t=e;return[{type:`button`,_label:`Bearbeiten`,_icons:`kolicon-eye`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`secondary`,_on:{onClick:()=>{console.log(`Edit clicked for:`,t),alert(`Bearbeiten: ${t.name}`)}}},{type:`button`,_label:`Löschen`,_icons:`kolicon-alert-error`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`danger`,_on:{onClick:()=>{console.log(`Delete clicked for:`,t),alert(`Löschen: ${t.name}`)}}},{type:`button`,_label:`Details anzeigen`,_icons:`kolicon-alert-info`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`normal`,_on:{onClick:()=>{console.log(`Details clicked for:`,t),alert(`Details: ${JSON.stringify(t,null,2)}`)}}}]}}]]},QI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`Performance demo: `,KI,` rows with action buttons defined once in the column header using the refactored approach. The factory function generates actions for each row on demand, eliminating redundant data and improving maintainability.`]}),(0,X.jsxs)(`p`,{children:[`Actions stay type-safe with `,(0,X.jsx)(`code`,{children:`ActionColumnPropType`}),` (ButtonProps or LinkProps), and no custom render functions are needed.`]})]}),(0,X.jsx)(`section`,{className:`w-full`,children:(0,X.jsx)(GT,{_label:`Benutzerverwaltung mit Action-Spalte`,_headers:ZI,_data:XI,className:`block`})})]}),$I={horizontal:[[{key:`project`,label:`Project`,width:200},{key:`owner`,label:`Owner`,width:140},{label:`ID`,key:`id`,width:100,render:(e,t)=>{let{label:n}=t;return`Index: ${n}`}},{type:`action`,key:`actions`,label:`Actions`,width:100,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}}]}}]]},eL=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`,react:`test`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`,react:`test`}],tL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,X.jsx)(`section`,{className:`w-full`,children:(0,X.jsx)(GT,{_label:`Tasks with action buttons`,_headers:$I,_data:eL,className:`block`,_hasSettingsMenu:!0})})]}),nL=new WeakMap,rL=new WeakMap,iL=new WeakMap,aL=new WeakMap,oL=0,sL=`
80
+ table { border-collapse: collapse; }
81
+ th, td { border: 1px solid #888; padding: 4px 12px; }
82
+ th { background: #f0f0f0; }
83
+ `,cL=`
84
+ <thead><tr><th scope="col">City</th><th scope="col">Country</th></tr></thead>
85
+ <tbody><tr><td>Berlin</td><td>Germany</td></tr></tbody>
86
+ `,lL=class extends HTMLElement{static get observedAttributes(){return[`aria-labelledby`]}connectedCallback(){this._render()}attributeChangedCallback(){this.isConnected&&this._render()}_render(){let e=this.getAttribute(`aria-labelledby`)??``;this.innerHTML=`<style>${sL}</style><table>${cL}</table>`;let t=this.querySelector(`table`);e?t.setAttribute(`aria-labelledby`,e):t.removeAttribute(`aria-labelledby`)}},uL=class extends HTMLElement{constructor(){super(),this.id||=`nit-${++oL}`;try{nL.set(this,this.attachInternals())}catch{}}connectedCallback(){this.innerHTML=`<table aria-labelledby="${this.id}">${cL}</table>`}set labelElements(e){let t=nL.get(this);if(t)try{t.ariaLabelledByElements=e}catch{}}},dL=class extends HTMLElement{constructor(){super();try{rL.set(this,this.attachInternals())}catch{}iL.set(this,this.attachShadow({mode:`open`}))}static get observedAttributes(){return[`aria-labelledby`]}connectedCallback(){let e=iL.get(this);e.innerHTML=`<style>demo-inner-table { display: block; }${sL}</style><demo-inner-table></demo-inner-table>`,aL.set(this,e.querySelector(`demo-inner-table`)),this._sync(this.getAttribute(`aria-labelledby`))}attributeChangedCallback(e,t,n){this.isConnected&&this._sync(n)}_sync(e){let t=this.getRootNode(),n=(e??``).trim().split(/\s+/).filter(Boolean).map(e=>t instanceof ShadowRoot?t.querySelector(`#${CSS.escape(e)}`):document.getElementById(e)).filter(e=>e!==null),r=rL.get(this);if(r)try{r.ariaLabelledByElements=n}catch{}let i=aL.get(this);i&&(i.labelElements=n)}};typeof customElements<`u`&&(customElements.get(`demo-table-light`)||customElements.define(`demo-table-light`,lL),customElements.get(`demo-inner-table`)||customElements.define(`demo-inner-table`,uL),customElements.get(`demo-outer-table`)||customElements.define(`demo-outer-table`,dL));var fL={_data:[{city:`Berlin`,country:`Germany`}],_headers:{horizontal:[[{key:`city`,label:`City`},{key:`country`,label:`Country`}]],vertical:[]},_label:`Label should always be filled`,_minWidth:`auto`},pL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Demonstrates how to label a table using an external heading via `,(0,X.jsx)(`code`,{children:`_ariaLabelledby`}),`. The referenced heading lives outside the component's Shadow DOM. KoliBri resolves the element reference via `,(0,X.jsx)(`code`,{children:`ElementInternals.ariaLabelledByElements`}),`, which crosses the Shadow DOM boundary — unlike a plain `,(0,X.jsx)(`code`,{children:`aria-labelledby`}),` attribute, which is scoped to the same tree.`]})}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col gap-6`,children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-native`,children:`Native HTML (no Web Component)`}),(0,X.jsxs)(`p`,{children:[`Plain `,(0,X.jsx)(`code`,{children:`<table aria-labelledby="…">`}),`. No Shadow DOM — the IDREF resolves directly in the document tree.`]}),(0,X.jsxs)(`table`,{"aria-labelledby":`caption-native`,children:[(0,X.jsx)(`thead`,{children:(0,X.jsxs)(`tr`,{children:[(0,X.jsx)(`th`,{children:`City`}),(0,X.jsx)(`th`,{children:`Country`})]})}),(0,X.jsx)(`tbody`,{children:(0,X.jsxs)(`tr`,{children:[(0,X.jsx)(`td`,{children:`Berlin`}),(0,X.jsx)(`td`,{children:`Germany`})]})})]})]}),(0,X.jsx)(`hr`,{"aria-hidden":`true`,className:`border-0`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-wc-light`,children:`Native Web Component — no Shadow DOM`}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`code`,{children:`demo-table-light`}),` renders the table into the light DOM (`,(0,X.jsx)(`code`,{children:`attachShadow`}),` not called). The table's `,(0,X.jsx)(`code`,{children:`aria-labelledby`}),` `,`IDREF resolves in the host document — no boundary to cross.`]}),w.createElement(`demo-table-light`,{"aria-labelledby":`caption-wc-light`})]}),(0,X.jsx)(`hr`,{"aria-hidden":`true`,className:`border-0`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-wc-shadow`,children:`Native Web Component — with Shadow DOM`}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`code`,{children:`demo-outer-table`}),` (shadow: open) resolves the IDREF via `,(0,X.jsx)(`code`,{children:`getRootNode()`}),` and sets`,` `,(0,X.jsx)(`code`,{children:`ElementInternals.ariaLabelledByElements`}),` on itself and on the inner element. The inner `,(0,X.jsx)(`code`,{children:`<table>`}),` references the inner element via IDREF — valid because both share the same shadow tree.`]}),w.createElement(`demo-outer-table`,{"aria-labelledby":`caption-wc-shadow`})]}),(0,X.jsx)(`hr`,{"aria-hidden":`true`,className:`border-0`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-stateless`,children:`kol-table-stateless`}),(0,X.jsxs)(`p`,{children:[`The `,(0,X.jsx)(`code`,{children:`<h2>`}),` above serves as the accessible label via `,(0,X.jsx)(`code`,{children:`_ariaLabelledby`}),`. No internal `,(0,X.jsx)(`code`,{children:`<caption>`}),` is rendered.`]}),(0,X.jsx)(KT,{_ariaLabelledby:`caption-stateless`,...fL,_hasSettingsMenu:!0})]}),(0,X.jsx)(`hr`,{"aria-hidden":`true`,className:`border-0`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-stateful`,children:`kol-table-stateful`}),(0,X.jsxs)(`p`,{children:[`Same via the stateful wrapper — `,(0,X.jsx)(`code`,{children:`_ariaLabelledby`}),` is forwarded to the internal stateless implementation.`]}),(0,X.jsx)(GT,{_ariaLabelledby:`caption-stateful`,...fL})]})]})]}),mL=[{common_name:`African elephant`,scientific_name:`Loxodonta africana`,conservation_status:`Vulnerable`,habitat:`Savannas and forests`,diet:`Herbivore`,geographic_range:`Sub-Saharan Africa`},{common_name:`American bison`,scientific_name:`Bison bison`,conservation_status:`Near Threatened`,habitat:`Grasslands and plains`,diet:`Herbivore`,geographic_range:`North America`},{common_name:`Arctic fox`,scientific_name:`Vulpes lagopus`,conservation_status:`Least Concern`,habitat:`Tundra`,diet:`Omnivore`,geographic_range:`Arctic Circle`},{common_name:`Atlantic puffin`,scientific_name:`Fratercula arctica`,conservation_status:`Vulnerable`,habitat:`Coastal cliffs and open ocean`,diet:`Carnivore`,geographic_range:`North Atlantic Ocean`},{common_name:`Bengal tiger`,scientific_name:`Panthera tigris tigris`,conservation_status:`Endangered`,habitat:`Tropical forests and grasslands`,diet:`Carnivore`,geographic_range:`Indian subcontinent`},{common_name:`Black rhinoceros`,scientific_name:`Diceros bicornis`,conservation_status:`Critically Endangered`,habitat:`Savannas and shrublands`,diet:`Herbivore`,geographic_range:`Eastern and Southern Africa`},{common_name:`Blue whale`,scientific_name:`Balaenoptera musculus`,conservation_status:`Endangered`,habitat:`Open ocean`,diet:`Carnivore`,geographic_range:`Global oceans`},{common_name:`California condor`,scientific_name:`Gymnogyps californianus`,conservation_status:`Critically Endangered`,habitat:`Cliffs and scrublands`,diet:`Scavenger`,geographic_range:`Western United States`},{common_name:`Cheetah`,scientific_name:`Acinonyx jubatus`,conservation_status:`Vulnerable`,habitat:`Grasslands and savannas`,diet:`Carnivore`,geographic_range:`Africa and Iran`},{common_name:`Emperor penguin`,scientific_name:`Aptenodytes forsteri`,conservation_status:`Near Threatened`,habitat:`Sea ice and open ocean`,diet:`Carnivore`,geographic_range:`Antarctica`},{common_name:`Galápagos tortoise`,scientific_name:`Chelonoidis niger`,conservation_status:`Vulnerable`,habitat:`Volcanic highlands`,diet:`Herbivore`,geographic_range:`Galápagos Islands`},{common_name:`Giant anteater`,scientific_name:`Myrmecophaga tridactyla`,conservation_status:`Vulnerable`,habitat:`Grasslands and forests`,diet:`Insectivore`,geographic_range:`Central and South America`},{common_name:`Giant panda`,scientific_name:`Ailuropoda melanoleuca`,conservation_status:`Vulnerable`,habitat:`Temperate bamboo forests`,diet:`Herbivore`,geographic_range:`Central China`},{common_name:`Golden eagle`,scientific_name:`Aquila chrysaetos`,conservation_status:`Least Concern`,habitat:`Mountains and open plains`,diet:`Carnivore`,geographic_range:`Northern Hemisphere`},{common_name:`Gray wolf`,scientific_name:`Canis lupus`,conservation_status:`Least Concern`,habitat:`Forests and tundra`,diet:`Carnivore`,geographic_range:`Northern Hemisphere`},{common_name:`Great white shark`,scientific_name:`Carcharodon carcharias`,conservation_status:`Vulnerable`,habitat:`Coastal and offshore waters`,diet:`Carnivore`,geographic_range:`Global temperate seas`},{common_name:`Green sea turtle`,scientific_name:`Chelonia mydas`,conservation_status:`Endangered`,habitat:`Coastal waters and beaches`,diet:`Herbivore`,geographic_range:`Tropical and subtropical oceans`},{common_name:`Harpy eagle`,scientific_name:`Harpia harpyja`,conservation_status:`Near Threatened`,habitat:`Tropical rainforests`,diet:`Carnivore`,geographic_range:`Central and South America`},{common_name:`Humpback whale`,scientific_name:`Megaptera novaeangliae`,conservation_status:`Least Concern`,habitat:`Open ocean`,diet:`Carnivore`,geographic_range:`Global oceans`},{common_name:`Jaguar`,scientific_name:`Panthera onca`,conservation_status:`Near Threatened`,habitat:`Tropical rainforests and wetlands`,diet:`Carnivore`,geographic_range:`Central and South America`},{common_name:`Koala`,scientific_name:`Phascolarctos cinereus`,conservation_status:`Vulnerable`,habitat:`Eucalyptus woodlands`,diet:`Herbivore`,geographic_range:`Eastern Australia`},{common_name:`Monarch butterfly`,scientific_name:`Danaus plexippus`,conservation_status:`Endangered`,habitat:`Prairies and meadows`,diet:`Herbivore`,geographic_range:`North America`},{common_name:`Mountain gorilla`,scientific_name:`Gorilla beringei beringei`,conservation_status:`Endangered`,habitat:`Montane forests`,diet:`Herbivore`,geographic_range:`Central Africa`},{common_name:`Narwhal`,scientific_name:`Monodon monoceros`,conservation_status:`Near Threatened`,habitat:`Arctic waters`,diet:`Carnivore`,geographic_range:`Arctic Circle`},{common_name:`Okapi`,scientific_name:`Okapia johnstoni`,conservation_status:`Endangered`,habitat:`Rainforests`,diet:`Herbivore`,geographic_range:`Democratic Republic of the Congo`},{common_name:`Polar bear`,scientific_name:`Ursus maritimus`,conservation_status:`Vulnerable`,habitat:`Sea ice and tundra`,diet:`Carnivore`,geographic_range:`Arctic Circle`},{common_name:`Red kangaroo`,scientific_name:`Osphranter rufus`,conservation_status:`Least Concern`,habitat:`Deserts and grasslands`,diet:`Herbivore`,geographic_range:`Australia`},{common_name:`Red panda`,scientific_name:`Ailurus fulgens`,conservation_status:`Endangered`,habitat:`Temperate forests`,diet:`Omnivore`,geographic_range:`Eastern Himalayas`},{common_name:`Snow leopard`,scientific_name:`Panthera uncia`,conservation_status:`Vulnerable`,habitat:`Mountain ranges`,diet:`Carnivore`,geographic_range:`Central and South Asia`},{common_name:`Southern cassowary`,scientific_name:`Casuarius casuarius`,conservation_status:`Least Concern`,habitat:`Tropical rainforests`,diet:`Omnivore`,geographic_range:`New Guinea and northeastern Australia`},{common_name:`Tasmanian devil`,scientific_name:`Sarcophilus harrisii`,conservation_status:`Endangered`,habitat:`Forests and coastal scrub`,diet:`Carnivore`,geographic_range:`Tasmania`},{common_name:`Yellow-eyed penguin`,scientific_name:`Megadyptes antipodes`,conservation_status:`Endangered`,habitat:`Coastal forests and beaches`,diet:`Carnivore`,geographic_range:`New Zealand`}],hL=Array.from({length:200},(e,t)=>{let n=mL[t%mL.length];return{id:t+1,...n}});function gL(e){return Array.from({length:e},(e,t)=>{let n=mL[t%mL.length];return{id:t+1,...n}})}var _L={label:e=>`Selection for ${e.common_name}`,multiple:!0,keyPropertyName:`id`},vL=[{label:`ID`,key:`id`,textAlign:`right`,width:60},{label:`Common name`,key:`common_name`,textAlign:`left`,width:250},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:400},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:250},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:400},{label:`Diet`,key:`diet`,textAlign:`left`,width:200},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:300}],yL=()=>{let[e,t]=tk(),[n,r]=(0,w.useState)(50),[i,a]=(0,w.useState)([0,0]),o=(0,w.useRef)(!1),[s,c]=(0,w.useState)(vL),l={horizontal:[s]};function u(){if(o.current)return;let n=e.get(`rows`);n?+n<5e3&&r(+n):t(e=>(e.append(`rows`,`50`),e));let i=e.get(`addCols`);if(i){if(+i<200){let e=[...vL];for(let t=0;t<+i;t++)e.push({label:`label`+t,key:`key`+t,textAlign:`left`,width:100});c(e)}}else t(e=>(e.append(`addCols`,`0`),e));let s=e.get(`fixedCols`);if(s){let e=s.split(`.`);a([+e[0],+e[1]])}else t(e=>(e.append(`fixedCols`,`0.0`),e));o.current=!0}return(0,w.useEffect)(()=>u(),[e]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`You can change what this examples shows with query parameters. Change the values as you like:`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:`rows=400 - loads 400 rows`}),(0,X.jsx)(`li`,{children:`addCols=10 - adds 10 empty columns to the end`}),(0,X.jsx)(`li`,{children:`fixedCols=2.1 - makes the first two and the last column sticky`})]})]}),(0,X.jsx)(q,{_level:2,_label:`Configurable table`}),(0,X.jsx)(GT,{_label:`Animal species overview`,_data:gL(n),_headers:l,className:`block`,_selection:_L,_fixedCols:i})]})},bL=[{left:`Left Example`,center:`Center Example`,right:`Right Example`}],xL=()=>0,SL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with columns headers and data in different text alignments.`})}),(0,X.jsxs)(Z,{id:`column-alignment`,className:`w-full flex flex-col`,fitContent:!0,children:[(0,X.jsx)(q,{_label:`Simple table`,_level:3}),(0,X.jsx)(GT,{_label:`Table for demonstration purposes with different text align properties`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,width:160},{label:`center`,key:`center`,textAlign:`center`,width:160},{label:`right`,key:`right`,textAlign:`right`,width:160}]]},_data:bL,className:`block`,style:{maxWidth:`600px`}}),(0,X.jsx)(q,{_label:`Table with sortable columns`,_level:3,className:`block mt-6`}),(0,X.jsx)(GT,{_label:`Table for demonstration purposes with sortable columns`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,compareFn:xL,width:160},{label:`center`,key:`center`,textAlign:`center`,compareFn:xL,width:160},{label:`right`,key:`right`,textAlign:`right`,compareFn:xL,width:160}]]},_data:bL,className:`block`,style:{maxWidth:`600px`}}),(0,X.jsx)(q,{_label:`Table some sortable columns`,_level:3,className:`block mt-6`}),(0,X.jsx)(GT,{_label:`Table for demonstration purposes with some but not all columns sortable`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,compareFn:xL,width:160},{label:`center`,key:`center`,textAlign:`center`,compareFn:xL,width:160},{label:`right`,key:`right`,textAlign:`right`,width:160}]]},_data:bL,className:`block`,style:{maxWidth:`600px`}}),(0,X.jsx)(q,{_label:`Table with vertical heading`,_level:3,className:`block mt-6`}),(0,X.jsx)(GT,{_label:`Table for demonstration purposes with vertical heading`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,width:160},{label:`center`,key:`center`,textAlign:`center`,width:160},{label:`right`,key:`right`,textAlign:`right`,width:160}]],vertical:[[{label:`Vertical`,width:160}]]},_data:bL,className:`block`,style:{maxWidth:`600px`}})]})]}),CL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful using vertical and horizontal headers, applying colspan and rowspan.`})}),(0,X.jsx)(Z,{id:`complex-headers`,className:`w-full flex flex-col`,children:(0,X.jsx)(GT,{_label:`Business hours`,_data:[{asp:`Center`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`,saturday:`09:00`,sunday:`10:00`},{asp:`Tiergarten`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`,saturday:`09:00`,sunday:`10:00`},{asp:`Maxvorstadt`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`,saturday:`09:00`,sunday:`10:00`}],_headers:{vertical:[[{label:`Berlin`,rowSpan:2,width:100},{label:`München`,width:100}]],horizontal:[[{label:`District`,rowSpan:2,key:`asp`,width:120,textAlign:`center`},{label:`Workdays`,colSpan:5,width:580,textAlign:`center`},{label:`Weekend`,colSpan:2,width:200,textAlign:`center`}],[{label:`Monday`,key:`monday`,width:50,textAlign:`center`},{label:`Tuesday`,key:`tuesday`,width:50,textAlign:`center`},{label:`Wednesday`,key:`wednesday`,width:50,textAlign:`center`},{label:`Thursday`,key:`thursday`,width:50,textAlign:`center`},{label:`Friday`,key:`friday`,width:50,textAlign:`center`},{label:`Saturday`,key:`saturday`,width:50,textAlign:`center`},{label:`Sunday`,key:`sunday`,width:50,textAlign:`center`}]]}})})]}),wL=22,TL=[{city:`Reykjavík`,temperature:6},{city:`Berlin`,temperature:21},{city:`Palma de Mallorca`,temperature:29},{city:`Cairo`,temperature:35},{city:`Helsinki`,temperature:14}],EL={horizontal:[[{label:`City`,key:`city`,width:160},{label:`Temperature (°C)`,key:`temperature`,textAlign:`right`,width:160,compareFn:(e,t,n=`ASC`)=>{let r=e.temperature,i=t.temperature,a=Math.abs(r-wL),o=Math.abs(i-wL);return a===o?n===`DESC`?i-r:r-i:n===`DESC`?o-a:a-o},render:(e,t,n)=>{let r=Math.abs(n.temperature-wL);return`${n.temperature} °C (Δ ${r} °C)`}}]]},DL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates how `,(0,X.jsx)(`code`,{children:`compareFn`}),` receives the current `,(0,X.jsx)(`code`,{children:`sortDirection`}),`. Ascending sorts show cities that are closest to 22\xA0°C first, descending sorts highlight the most extreme temperatures.`]})}),(0,X.jsx)(`section`,{className:`w-full`,children:(0,X.jsx)(GT,{_label:`Direction aware compare function`,_data:TL,_headers:EL,className:`block`})})]}),OL={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:160,sortDirection:`NOS`},{label:`Common name`,key:`common_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Diet`,key:`diet`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:160,sortDirection:`NOS`}]]},kL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows an empty KolTableStateful.`})}),(0,X.jsx)(GT,{_label:`Table for demonstration purposes`,_headers:OL,_data:[]})]}),AL=10,jL=[`Max`,`Erika`,`John`,`Jane`,`Peter`,`Anna`,`Michael`,`Sarah`,`Thomas`,`Lisa`,`Daniel`,`Maria`,`Christian`,`Laura`,`Stefan`,`Julia`,`Andreas`,`Sophie`,`Markus`,`Emma`],ML=[`Mustermann`,`Musterfrau`,`Doe`,`Smith`,`Schmidt`,`Müller`,`Weber`,`Meyer`,`Wagner`,`Becker`,`Fischer`,`Schneider`,`Hoffmann`,`Koch`,`Bauer`,`Richter`,`Klein`,`Wolf`,`Schröder`,`Neumann`],NL=[`active`,`inactive`,`pending`],PL=(e=>Array.from({length:e},(e,t)=>{let n=jL[t%jL.length],r=ML[Math.floor(t/jL.length)%ML.length],i=NL[t%NL.length],a=t+1;return{id:a,name:`${n} ${r}`,email:`${n.toLowerCase()}.${r.toLowerCase()}${a>20?a:``}@example.com`,status:i}}))(AL),FL=()=>{let[e,t]=w.useState(2),n=w.useMemo(()=>{let t=t=>(n,r)=>{let i=r.data;if(i.id===e+1){n.textContent=``;let e=document.createElement(`strong`);e.textContent=String(i[t]),n.appendChild(e)}else n.textContent=String(i[t])},n=e=>(t,n)=>{let r=t[e],i=n[e];return typeof r==`number`&&typeof i==`number`?r-i:typeof r==`string`&&typeof i==`string`?r.localeCompare(i,`de`):0};return{horizontal:[[{key:`id`,label:`ID`,textAlign:`left`,width:60,compareFn:n(`id`),render:t(`id`),sortDirection:`ASC`},{key:`name`,label:`Name`,textAlign:`left`,compareFn:n(`name`),render:t(`name`),sortDirection:`ASC`},{key:`email`,label:`E-Mail`,textAlign:`left`,compareFn:n(`email`),render:t(`email`),sortDirection:`ASC`},{key:`status`,label:`Status`,textAlign:`center`,width:100,compareFn:n(`status`),render:t(`status`),sortDirection:`ASC`}]]}},[e]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This sample demonstrates how to programmatically highlight a specific row in a table. You can change the highlighted row by using the input field above the table.`}),(0,X.jsxs)(`p`,{children:[`The highlighting is achieved by using a custom `,(0,X.jsx)(`code`,{children:`render`}),` function for each column, which checks if the current row's ID matches the selected highlight index and applies bold styling.`]})]}),(0,X.jsxs)(`section`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(OT,{className:`self-start`,_label:`Highlight Row Index`,_value:e,_on:{onInput:(e,n)=>t(Number(n))},_min:0,_max:9}),(0,X.jsx)(GT,{_label:`Benutzerverwaltung mit Hervorhebung`,_headers:n,_data:PL,className:`block`})]})]})},IL=Intl.DateTimeFormat(`de-DE`,{day:`2-digit`,month:`2-digit`,year:`numeric`}),LL=[{order:0,date:new Date(`1981-05-26T21:33:43.612Z`)},{order:1,date:new Date(`1971-04-25T19:44:17.014Z`)},{order:2,date:new Date(`1986-07-10T11:39:29.539Z`)},{order:3,date:new Date(`1976-02-02T10:00:36.346Z`)},{order:4,date:new Date(`1998-07-07T12:50:36.016Z`)},{order:5,date:new Date(`1994-09-05T05:10:44.078Z`)},{order:6,date:new Date(`1986-05-23T13:05:01.874Z`)},{order:7,date:new Date(`1975-06-29T21:51:29.359Z`)},{order:8,date:new Date(`1974-05-15T23:47:02.499Z`)},{order:9,date:new Date(`1990-05-27T10:13:19.641Z`)},{order:10,date:new Date(`1993-10-20T03:54:08.739Z`)},{order:11,date:new Date(`2000-02-25T11:55:43.705Z`)},{order:12,date:new Date(`1988-08-27T09:59:12.251Z`)},{order:13,date:new Date(`1980-10-24T10:41:24.897Z`)},{order:14,date:new Date(`1995-01-25T12:31:27.983Z`)},{order:15,date:new Date(`1995-04-15T02:00:39.048Z`)},{order:16,date:new Date(`1994-03-15T19:13:04.564Z`)},{order:17,date:new Date(`1999-03-02T16:53:04.418Z`)},{order:18,date:new Date(`1982-08-23T18:37:38.014Z`)},{order:19,date:new Date(`1995-06-19T12:39:56.321Z`)},{order:20,date:new Date(`1994-09-23T15:03:35.746Z`)},{order:21,date:new Date(`1990-04-15T23:38:02.147Z`)},{order:22,date:new Date(`1983-08-01T10:36:44.006Z`)},{order:23,date:new Date(`1986-06-28T21:27:04.588Z`)},{order:24,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:25,date:new Date(`1998-07-14T15:52:29.010Z`)},{order:26,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:27,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:28,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:29,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:30,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:31,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:32,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:33,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:34,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:35,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:36,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:37,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:38,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:39,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:40,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:41,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:42,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:43,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:44,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:45,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:46,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:47,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:48,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:49,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:50,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:51,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:52,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:53,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:54,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:55,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:56,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:57,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:58,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:59,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:60,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:61,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:62,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:63,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:64,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:65,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:66,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:67,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:68,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:69,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:70,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:71,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:72,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:73,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:74,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:75,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:76,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:77,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:78,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:79,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:80,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:81,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:82,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:83,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:84,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:85,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:86,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:87,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:88,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:89,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:90,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:91,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:92,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:93,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:94,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:95,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:96,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:97,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:98,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:99,date:new Date(`1995-12-15T23:12:14.411Z`)}],RL=[{small:`Small Example`,large:`Larger Example`}],zL={horizontal:[[{label:`Small Column`,key:`small`,textAlign:`left`,width:200},{label:`Large Column`,key:`large`,textAlign:`left`,width:300},{label:`Larger Column`,key:`large`,textAlign:`left`,width:400},{label:`Larger Column`,key:`large`,textAlign:`left`,width:400}]]},BL={horizontal:[[{label:`Small Column`,key:`small`,textAlign:`left`,width:160},{label:`Large Column`,key:`large`,textAlign:`left`,width:160},{label:`Larger Column`,key:`large`,textAlign:`left`,width:160}]]},VL={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,compareFn:()=>0,render:(e,t,n)=>IL.format(n.date)}]]},HL=()=>{let[e,t]=(0,w.useState)(!0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with and without horizontal scrollbars. When a scrollbar is present, it should be possible to focus the table container and to scroll it using arrow keys.`})}),(0,X.jsxs)(`div`,{className:`w-[400px] flex flex-col gap-4`,children:[(0,X.jsx)(Z,{id:`scrollbar-horizontal`,className:`w-full flex flex-col gap-4`,children:(0,X.jsx)(GT,{_label:`Table for demonstration purposes with horizontal scrollbar.`,_headers:e?zL:BL,_data:RL,className:`block`})}),(0,X.jsx)(GT,{_label:`Table for demonstration horizontal scrolling with pagination.`,_headers:VL,_data:LL,_pagination:!0}),(0,X.jsx)(Z,{id:`scrollbar-horizontal-empty`,className:`w-full flex flex-col gap-4`,children:(0,X.jsx)(GT,{_label:`Table for demonstration purposes with horizontal scrollbar with auto width calculation.`,_headers:e?zL:BL,_data:[],className:`block`})})]}),(0,X.jsx)(CT,{_checked:e,_label:`Toggle width restriction`,_variant:`switch`,_on:{onChange:(e,n)=>{t(!!n)}}}),(0,X.jsx)(q,{_label:`Same table without scrollbar`,_level:2,className:`block mt-4`}),(0,X.jsx)(`p`,{className:`mt-0`,children:(0,X.jsx)(`i`,{children:`Scrollbar appears on very small viewport sizes`})}),(0,X.jsx)(Z,{id:`scrollbar-horizontal-large`,className:`w-full flex flex-col gap-4`,skipSnapshot:!0,children:(0,X.jsx)(GT,{_label:`Table for demonstration purposes without horizontal scrollbar`,_headers:zL,_data:RL,className:`block`,_pagination:!0})})]})};function UL(e){let{dummyClickEventHandler:t}=hA(),n={onClick:t};return(0,X.jsx)(K,{...e,_on:n})}var WL=e=>{let t=`${e}`,n=t.charAt(0).toUpperCase()+t.slice(1);return{label:n,key:t,textAlign:`left`,width:160,render:(t,r)=>{let{label:i}=r,a={_label:n,_variant:e,_icons:{right:`kolicon-kolibri`}};Nj($T(t)).render(i===`button`?(0,X.jsx)(UL,{...a}):(0,X.jsx)(NT,{_href:`#/back-page`,...a}))}}},GL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a KolTableStateless with different interactive child elements. It can be used to assure themes show these child elements correctly.`})}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col`,children:[(0,X.jsx)(KT,{_label:`Button styles`,_headers:{horizontal:[[WL(`primary`),WL(`secondary`),WL(`normal`),WL(`danger`),WL(`ghost`)]],vertical:[[{label:`Button`,width:120},{label:`Link-Button`,width:120}]]},_data:[{primary:`button`,secondary:`button`,normal:`button`,danger:`button`,ghost:`button`},{primary:`link-button`,secondary:`link-button`,normal:`link-button`,danger:`link-button`,ghost:`link-button`}],className:`block`}),(0,X.jsx)(KT,{_label:`Link styles`,_headers:{horizontal:[[{key:`regular`,label:`Regular`,textAlign:`left`,width:180,render:(e,t)=>{let{label:n}=t,r={_label:n,_icons:{right:`kolicon-kolibri`}};Nj($T(e)).render(n===`button-link`?(0,X.jsx)(mT,{...r}):(0,X.jsx)(Y,{_href:`#/back-page`,...r}))}}]],vertical:[[{label:`Link`,width:140},{label:`Button-Link`,width:140}]]},_data:[{regular:`link`},{regular:`button-link`}],className:`block mt`})]})]}),KL=Intl.DateTimeFormat(`de-DE`,{day:`2-digit`,month:`2-digit`,year:`numeric`}),qL=[`Devon Chen`,`Fatima Alvi`,`Leon Köhler`,`Mila Schmidt`,`Sven Lindholm`],JL=[`Customer Service`,`Digital Services`,`Infrastructure`,`Municipal Office`],YL=[`High`,`Medium`,`Low`],XL=[`Blocked`,`In progress`,`Ready`],ZL=YL.reduce((e,t,n)=>(e[t]=n,e),{}),QL=XL.reduce((e,t,n)=>(e[t]=n,e),{}),$L=Array.from({length:15}).map((e,t)=>({date:new Date(Date.now()-t*1e3*60*60*24),assignee:qL[t%qL.length],department:JL[t%JL.length],priority:YL[t%YL.length],status:XL[t%XL.length],openTickets:t*3%11})),eR=[{label:`Assignee`,key:`assignee`,compareFn:(e,t)=>e.assignee.localeCompare(t.assignee,`de`),sortDirection:`ASC`,width:200},{label:`Department`,key:`department`,compareFn:(e,t)=>e.department.localeCompare(t.department,`de`),width:200},{label:`Priority`,key:`priority`,textAlign:`center`,compareFn:(e,t)=>ZL[e.priority]-ZL[t.priority],sortDirection:`DESC`,width:150},{label:`Status`,key:`status`,textAlign:`center`,compareFn:(e,t)=>QL[e.status]-QL[t.status],width:150},{label:`Open tickets`,key:`openTickets`,textAlign:`right`,compareFn:(e,t)=>e.openTickets-t.openTickets,width:100},{label:`Last updated`,key:`date`,textAlign:`center`,render:(e,t,n)=>KL.format(n.date),compareFn:(e,t)=>e.date<t.date?-1:+(t.date<e.date),width:150}],tR={horizontal:[eR]},nR={vertical:[eR]},rR=()=>{let[e,t]=(0,w.useState)(nR),[n,r]=(0,w.useState)(tR);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Multi-sort allows layering multiple column sorts at once. Compare the compact examples with the project backlog showcase to see how the sort order indicator helps track complex prioritisation.`})}),(0,X.jsxs)(`section`,{className:`w-full grid gap-6`,children:[(0,X.jsxs)(Z,{id:`vertical`,heading:`Vertical`,children:[(0,X.jsx)(mT,{_label:`Reset Table`,_on:{onClick:()=>t({vertical:[[...eR]]})}}),(0,X.jsx)(GT,{_label:`Sort Table with Order and Date`,_data:$L.slice(0,10),_headers:e,className:`block`,_allowMultiSort:!0,_on:{onSortChange:(e,t)=>console.log(`sort changed`,t)}})]}),(0,X.jsxs)(Z,{id:`horizontal`,heading:`Horizontal`,children:[(0,X.jsx)(mT,{_label:`Reset Table`,_on:{onClick:()=>r({horizontal:[[...eR]]})}}),(0,X.jsx)(GT,{_label:`Sort Table with Order and Date`,_data:$L,_headers:n,className:`block`,_allowMultiSort:!0})]})]})]})},iR=[{id:`1001`,name:`John`,age:30},{id:`1002`,name:`Jane`,age:25}],aR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example demonstrates a column that cannot be hidden in the settings.`})}),(0,X.jsx)(Z,{id:`non-hidable`,fitContent:!0,children:(0,X.jsx)(GT,{_label:`Table with a non-hidable column`,_hasSettingsMenu:!0,_headers:{horizontal:[[{key:`id`,label:`ID`,hidable:!1,width:160},{key:`name`,label:`Name`,width:160},{key:`age`,label:`Age`,width:160}]]},_data:iR,className:`block`,style:{maxWidth:`600px`}})})]}),oR={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,render:(e,t,n)=>IL.format(n.date)}]]},sR=()=>(0,X.jsxs)(`div`,{className:`w-full grid gap-14`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with different pagination positions. All paginations hide the first and last buttons.`})}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col gap-14`,children:[(0,X.jsx)(Z,{id:`bottom`,heading:`Table with pagination at the bottom.`,children:(0,X.jsx)(GT,{_label:`Sample table with pagination at the bottom`,_data:LL,_headers:oR,_pagination:{_page:1,_hasButtons:{first:!1,next:!0,last:!1,previous:!0}},_paginationPosition:`bottom`,_variant:`small`})}),(0,X.jsx)(Z,{id:`top`,heading:`Table with pagination at the top.`,children:(0,X.jsx)(GT,{_label:`Sample table with pagination at the top`,_data:LL,_headers:oR,_pagination:{_page:2,_hasButtons:{first:!0,next:!1,last:!0,previous:!1}},_paginationPosition:`top`})}),(0,X.jsx)(Z,{id:`both`,heading:`Table with pagination at both top and bottom.`,children:(0,X.jsx)(GT,{_label:`Sample table with pagination at both top and bottom`,_data:LL,_headers:oR,_pagination:{_page:3,_hasButtons:{first:!1,next:!1,last:!1,previous:!1}},_paginationPosition:`both`})})]})]}),cR=[{columnA:`Column A`,columnB:`Column B`,columnC:`Column C`}],lR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example shows the table with predefined settings.`})}),(0,X.jsx)(GT,{_label:`Table for demonstration purposes with predefined settings`,_hasSettingsMenu:!0,_headers:{horizontal:[[{key:`columnC`,visible:!0,label:`Column C`,width:450},{key:`columnB`,visible:!0,label:`Column B`,width:200},{key:`columnA`,visible:!1,label:`Column A`,width:160}]]},_data:cR,className:`block`})]});function uR(e){let t=[],n=new Date(`1970-01-01`).getTime(),r=new Date(`2025-12-31`).getTime();for(let i=0;i<e;i++){let e=n+Math.random()*(r-n);t.push({order:i,shipped:Math.random()>.5,date:new Date(e)})}return t}var dR=uR(100);function fR({label:e,icons:t}){let{dummyClickEventHandler:n}=hA();return(0,X.jsx)(K,{_label:e,_icons:t,_on:{onClick:n}})}var pR={horizontal:[[{label:`#`,key:`order`,textAlign:`center`,width:100,render:(e,t)=>{let{label:n}=t;return`Index: ${n}`}},{label:`Status`,key:`shipped`,textAlign:`center`,width:100,render:(e,t)=>{let{label:n}=t,r=e;r.textContent=n?`Order has been dispatched 🚚`:`Order pending 📦`}},{label:`Date (string)`,key:`date`,width:150,textAlign:`center`,render:(e,t)=>{let{label:n}=t;e.innerHTML=`<strong>${IL.format(n)}</strong>`},compareFn:(e,t)=>e.date.getTime()-t.date.getTime()},{label:`Action (react)`,key:`action`,width:250,render:e=>{Nj($T(e)).render((0,X.jsxs)(`div`,{style:{display:`grid`,gridAutoFlow:`column`,alignItems:`end`,gap:`4px`,width:`190px`},children:[(0,X.jsx)(J,{_label:`Input`}),(0,X.jsx)(fR,{label:`Save`,icons:{left:`kolicon-check`}})]}))}}]]},mR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful using React render functions for the cell contents.`})}),(0,X.jsx)(GT,{_label:`Sort by date column`,_data:dR,_headers:pR,className:`w-full`,_hasSettingsMenu:!0})]}),hR=[{id:`U-001`,name:`Andrea Schmidt`,team:`Design`,email:`andrea@example.org`,status:`Active`},{id:`U-002`,name:`Boris Klein`,team:`Engineering`,email:`boris@example.org`,status:`Active`},{id:`U-003`,name:`Chiara Russo`,team:`Support`,email:`chiara@example.org`,status:`On leave`}],gR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This example demonstrates how the table settings respect column metadata. Some columns can be hidden, reordered, or resized, while others stay locked based on their `,(0,X.jsx)(`code`,{children:`hidable`}),`, `,(0,X.jsx)(`code`,{children:`sortable`}),`, and `,(0,X.jsx)(`code`,{children:`resizable`}),` flags.`]})}),(0,X.jsx)(GT,{_label:`Table with column option restrictions`,_hasSettingsMenu:!0,_headers:{horizontal:[[{key:`id`,label:`ID`,hidable:!1,sortable:!1,visible:!0,width:240},{key:`name`,label:`Name`,visible:!0,width:480},{key:`team`,label:`Team`,sortable:!1,visible:!0,width:320},{key:`email`,label:`E-Mail`,resizable:!1,visible:!0,width:400},{key:`status`,label:`Status`,hidable:!1,resizable:!1,visible:!0,width:160}]]},_data:hR,className:`block`,style:{maxWidth:`720px`}})]}),_R=Intl.DateTimeFormat(`de-DE`,{day:`2-digit`,month:`2-digit`,year:`numeric`}),vR=(e=`ASC`)=>(t,n)=>{let r=t.date.getTime()-n.date.getTime();return e===`DESC`?-r:r},yR={horizontal:[[{label:`order`,key:`order`,textAlign:`center`,width:160},{label:`date`,key:`date`,textAlign:`center`,width:160,render:(e,t,n)=>_R.format(n.date),compareFn:(e,t,n)=>vR(n)(e,t)}]]},bR={vertical:[[{label:`order`,key:`order`,textAlign:`center`,width:160},{label:`date`,key:`date`,textAlign:`center`,width:160,render:(e,t,n)=>_R.format(n.date),compareFn:(e,t,n)=>vR(n)(e,t)}]]},xR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with sortable columns. The sort-order can be changed by clicking the "date" header column.`})}),(0,X.jsxs)(`section`,{className:`w-full grid gap-4`,children:[(0,X.jsx)(Z,{id:`vertical-headers`,heading:`Vertical headers`,children:(0,X.jsx)(GT,{_label:`Sort a date column`,_data:LL.slice(0,10),_headers:bR,className:`block`})}),(0,X.jsx)(Z,{id:`horizontal-headers`,heading:`Horizontal headers`,children:(0,X.jsx)(GT,{_label:`Sort a date column`,_data:LL,_headers:yR,className:`block`})})]})]}),SR={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`},{key:`owner`,label:`Owner`,width:140},{type:`state`,key:`userStates`,label:`States`,textAlign:`left`,width:500}]]},CR=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`,userStates:[{type:`badge`,_label:`Logged out`,_color:`#aa0000`},{type:`badge`,_label:`In Project`,_color:`#0000aa`}]},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`,userStates:[{type:`badge`,_label:`Logged in`,_color:`#00aa00`},{type:`badge`,_label:`In Project`,_color:`#0000aa`}]}],wR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the state column: States are defined once in the column header definition using a factory function.`})}),(0,X.jsx)(Z,{id:`action-columns`,className:`w-full`,children:(0,X.jsx)(GT,{_label:`Tasks with action buttons`,_headers:SR,_data:CR,className:`block`})})]}),TR={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:160,sortDirection:`NOS`},{label:`Common name`,key:`common_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Diet`,key:`diet`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:160,sortDirection:`NOS`}]]},ER=()=>{let e=()=>new Promise(e=>setTimeout(()=>e({COMPLEX_DATA:hL}),5e4)),t=()=>{a(!0),e().then(e=>{r(e.COMPLEX_DATA.slice(0,15)),a(!1)})},[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)(!0);return(0,w.useEffect)(()=>t(),[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolTableStateful can load data async.`})}),(0,X.jsx)(`section`,{className:`w-full relative`,children:(0,X.jsx)(GT,{_label:`Table for demonstration purposes`,_loading:i,_headers:TR,_data:n})})]})},DR=x(y(((e,t,n)=>{((n,r)=>{typeof define==`function`&&define.amd?define([],r):typeof t==`object`&&e!==void 0?t.exports=r():n.Papa=r()})(n,function e(){var t=typeof self<`u`?self:typeof window<`u`?window:t===void 0?{}:t,n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,i={},a=0,o={};function s(e){return e.charCodeAt(0)===65279?e.slice(1):e}function c(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine=``,this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=y(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new p(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){var i=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<i){let t=this._config.newline;t||=(a=this._config.quoteChar||`"`,this._handle.guessLineEndings(e,a)),e=[...e.split(t).slice(i)].join(t)}this.isFirstChunk&&x(this._config.beforeFirstChunk)&&(a=this._config.beforeFirstChunk(e))!==void 0&&(e=a),this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e,a=(this._partialLine=``,this._handle.parse(i,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=a.meta.cursor,i=(this._finished||(this._partialLine=i.substring(e-this._baseIndex),this._baseIndex=e),a&&a.data&&(this._rowCount+=a.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),r)t.postMessage({results:a,workerId:o.WORKER_ID,finished:i});else if(x(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=a=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!i||!x(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),i||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){x(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function l(e){var t;(e||={}).chunkSize||(e.chunkSize=o.RemoteChunkSize),c.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)),t.ontimeout=b(this._chunkTimeout,this),t.open(this._config.downloadRequestBody?`POST`:`GET`,this._input,!n),this._config.downloadTimeout&&!n&&(t.timeout=this._config.downloadTimeout),this._config.downloadRequestHeaders){var e,r=this._config.downloadRequestHeaders;for(e in r)t.setRequestHeader(e,r[e])}var i;this._config.chunkSize&&(i=this._start+this._config.chunkSize-1,t.setRequestHeader(`Range`,`bytes=`+this._start+`-`+i));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&t.status===0&&this._chunkError()}},this._chunkLoaded=function(){t.readyState===4&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>(e=e.getResponseHeader(`Content-Range`))===null?-1:parseInt(e.substring(e.lastIndexOf(`/`)+1)))(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(Error(e))},this._chunkTimeout=function(){this._chunkError(`Request timed out after `+this._config.downloadTimeout+`ms`)}}function u(e){(e||={}).chunkSize||(e.chunkSize=o.LocalChunkSize),c.call(this,e);var t,n,r=typeof FileReader<`u`;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=n.call(e,this._start,i)),t.readAsText(e,this._config.encoding));r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;c.call(this,e||={}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,n;if(!this._finished)return e=this._config.chunkSize,t=e?(n=t.substring(0,e),t.substring(e)):(n=t,``),this._finished=!t,this.parseChunk(n)}}function f(e){c.call(this,e||={});var t=[],n=!0,r=!1;this.pause=function(){c.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){c.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on(`data`,this._streamData),this._input.on(`end`,this._streamEnd),this._input.on(`error`,this._streamError)},this._checkIsFinished=function(){r&&t.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=b(function(e){try{t.push(typeof e==`string`?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=b(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=b(function(){this._streamCleanUp(),r=!0,this._streamData(``)},this),this._streamCleanUp=b(function(){this._input.removeListener(`data`,this._streamData),this._input.removeListener(`end`,this._streamEnd),this._input.removeListener(`error`,this._streamError)},this)}function p(e){var t,n,r,i,a=2**53,s=-a,c=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,u=this,d=0,f=0,p=!1,g=!1,_=[],v={data:[],errors:[],meta:{}};function b(t){return e.skipEmptyLines===`greedy`?t.join(``).trim()===``:t.length===1&&t[0].length===0}function S(){if(v&&r&&(w(`Delimiter`,`UndetectableDelimiter`,`Unable to auto-detect delimiting character; defaulted to '`+o.DefaultDelimiter+`'`),r=!1),e.skipEmptyLines&&(v.data=v.data.filter(function(e){return!b(e)})),C()){if(v){if(Array.isArray(v.data[0])){for(var t=0;C()&&t<v.data.length;t++)v.data[t].forEach(e);v.data.splice(0,1)}else v.data.forEach(e)}function e(e){_.push(e)}}function n(t,n){for(var r=e.header?{}:[],i=0;i<t.length;i++){var o=i,u=t[i],u=((t,n)=>(t=>(e.dynamicTypingFunction&&e.dynamicTyping[t]===void 0&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?n===`true`||n===`TRUE`||n!==`false`&&n!==`FALSE`&&((e=>{if(c.test(e)&&(e=parseFloat(e),s<e&&e<a))return 1})(n)?parseFloat(n):l.test(n)?new Date(n):n===``?null:n):n)(o=e.header?i>=_.length?`__parsed_extra`:_[i]:o,u=e.transform?e.transform(u,o):u);o===`__parsed_extra`?(r[o]=r[o]||[],r[o].push(u)):r[o]=u}return e.header&&(i>_.length?w(`FieldMismatch`,`TooManyFields`,`Too many fields: expected `+_.length+` fields but parsed `+i,f+n):i<_.length&&w(`FieldMismatch`,`TooFewFields`,`Too few fields: expected `+_.length+` fields but parsed `+i,f+n)),r}var i;v&&(e.header||e.dynamicTyping||e.transform)&&(i=1,!v.data.length||Array.isArray(v.data[0])?(v.data=v.data.map(n),i=v.data.length):v.data=n(v.data,0),e.header&&v.meta&&(v.meta.fields=_),f+=i)}function C(){return e.header&&_.length===0}function w(e,t,n,r){e={type:e,code:t,message:n},r!==void 0&&(e.row=r),v.errors.push(e)}x(e.step)&&(i=e.step,e.step=function(t){v=t,C()?S():(S(),v.data.length!==0&&(d+=t.data.length,e.preview&&d>e.preview?n.abort():(v.data=v.data[0],i(v,u))))}),this.parse=function(i,a,s){var c=e.quoteChar||`"`,c=(e.newline||=this.guessLineEndings(i,c),r=!1,e.delimiter?x(e.delimiter)&&(e.delimiter=e.delimiter(i),v.meta.delimiter=e.delimiter):((c=((t,n,r,i,a)=>{var s,c,l,u;a||=[`,`,` `,`|`,`;`,o.RECORD_SEP,o.UNIT_SEP];for(var d=0;d<a.length;d++){for(var f,p=a[d],m=0,g=0,_=0,v=(l=void 0,new h({comments:i,delimiter:p,newline:n,preview:10}).parse(t)),y=0;y<v.data.length;y++)r&&b(v.data[y])?_++:(f=v.data[y].length,g+=f,l===void 0?l=f:0<f&&(m+=Math.abs(f-l),l=f));0<v.data.length&&(g/=v.data.length-_),1.99<g&&(c===void 0||m<c||m===c&&u<g)&&(c=m,s=p,u=g)}return{successful:!!(e.delimiter=s),bestDelimiter:s}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=c.bestDelimiter:(r=!0,e.delimiter=o.DefaultDelimiter),v.meta.delimiter=e.delimiter),y(e));return c.header=C(),e.preview&&e.header&&c.preview++,t=i,n=new h(c),v=n.parse(t,a,s),S(),p?{meta:{paused:!0}}:v||{meta:{paused:!1}}},this.paused=function(){return p},this.pause=function(){p=!0,n.abort(),t=x(e.chunk)?``:t.substring(n.getCharIndex())},this.resume=function(){u.streamer._halted?(p=!1,u.streamer.parseChunk(t,!0)):setTimeout(u.resume,3)},this.aborted=function(){return g},this.abort=function(){g=!0,n.abort(),v.meta.aborted=!0,x(e.complete)&&e.complete(v),t=``},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=RegExp(m(t)+`([^]*?)`+m(t),`gm`),n=(e=e.replace(t,``)).split(`\r`),t=e.split(`
87
+ `),e=1<t.length&&t[0].length<n[0].length;if(n.length===1||e)return`
88
+ `;for(var r=0,i=0;i<n.length;i++)n[i][0]===`
89
+ `&&r++;return r>=n.length/2?`\r
90
+ `:`\r`}}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function h(e){var t=(e||={}).delimiter,n=e.newline,r=e.comments,i=e.step,a=e.preview,c=e.fastMode,l=null,u=!1,d=e.quoteChar==null?`"`:e.quoteChar,f=d;if(e.escapeChar!==void 0&&(f=e.escapeChar),(typeof t!=`string`||-1<o.BAD_DELIMITERS.indexOf(t))&&(t=`,`),r===t)throw Error(`Comment character same as delimiter`);!0===r?r=`#`:(typeof r!=`string`||-1<o.BAD_DELIMITERS.indexOf(r))&&(r=!1),n!==`
91
+ `&&n!==`\r`&&n!==`\r
92
+ `&&(n=`
93
+ `);var p=0,h=!1;this.parse=function(o,g,_){if(typeof o!=`string`)throw Error(`Input must be a string`);var v=o.length,y=t.length,b=n.length,S=r.length,C=x(i),w=[],T=[],E=[],ee=p=0;if(!o)return ue();if(c||!1!==c&&o.indexOf(d)===-1){for(var te=o.split(n),ne=0;ne<te.length;ne++){if(E=te[ne],p+=E.length,ne!==te.length-1)p+=n.length;else if(_)return ue();if(!r||E.substring(0,S)!==r){if(C){if(w=[],O(E.split(t)),de(),h)return ue()}else O(E.split(t));if(a&&a<=ne)return w=w.slice(0,a),ue(!0)}}return ue()}for(var re=o.indexOf(t,p),ie=o.indexOf(n,p),ae=new RegExp(m(f)+m(d),`g`),oe=o.indexOf(d,p);;)if(o[p]===d)for(oe=p,p++;;){if((oe=o.indexOf(d,oe+1))===-1)return _||T.push({type:`Quotes`,code:`MissingQuotes`,message:`Quoted field unterminated`,row:w.length,index:p}),ce();if(oe===v-1)return ce(o.substring(p,oe).replace(ae,d));if(d===f&&o[oe+1]===f)oe++;else if(d===f||oe===0||o[oe-1]!==f){re!==-1&&re<oe+1&&(re=o.indexOf(t,oe+1));var D=se((ie=ie!==-1&&ie<oe+1?o.indexOf(n,oe+1):ie)===-1?re:Math.min(re,ie));if(o.substr(oe+1+D,y)===t){E.push(o.substring(p,oe).replace(ae,d)),o[p=oe+1+D+y]!==d&&(oe=o.indexOf(d,p)),re=o.indexOf(t,p),ie=o.indexOf(n,p);break}if(D=se(ie),o.substring(oe+1+D,oe+1+D+b)===n){if(E.push(o.substring(p,oe).replace(ae,d)),le(oe+1+D+b),re=o.indexOf(t,p),oe=o.indexOf(d,p),C&&(de(),h))return ue();if(a&&w.length>=a)return ue(!0);break}T.push({type:`Quotes`,code:`InvalidQuotes`,message:`Trailing quote on quoted field is malformed`,row:w.length,index:p}),oe++}}else if(r&&E.length===0&&o.substring(p,p+S)===r){if(ie===-1)return ue();p=ie+b,ie=o.indexOf(n,p),re=o.indexOf(t,p)}else if(re!==-1&&(re<ie||ie===-1))E.push(o.substring(p,re)),p=re+y,re=o.indexOf(t,p);else{if(ie===-1)break;if(E.push(o.substring(p,ie)),le(ie+b),C&&(de(),h))return ue();if(a&&w.length>=a)return ue(!0)}return ce();function O(e){w.push(e),ee=p}function se(e){var t=0;return t=e!==-1&&(e=o.substring(oe+1,e))&&e.trim()===``?e.length:t}function ce(e){return _||(e===void 0&&(e=o.substring(p)),E.push(e),p=v,O(E),C&&de()),ue()}function le(e){p=e,O(E),E=[],ie=o.indexOf(n,p)}function ue(r){if(e.header&&!g&&w.length&&!u){var i=w[0],a=Object.create(null),o=new Set(i);let t=!1;for(let n=0;n<i.length;n++){let r=s(i[n]);if(a[r=x(e.transformHeader)?e.transformHeader(r,n):r]){let e,s=a[r];for(;e=r+`_`+s,s++,o.has(e););o.add(e),i[n]=e,a[r]++,t=!0,(l=l===null?{}:l)[e]=r}else a[r]=1,i[n]=r;o.add(r)}t&&console.warn(`Duplicate headers found and renamed.`),u=!0}return{data:w,errors:T,meta:{delimiter:t,linebreak:n,aborted:h,truncated:!!r,cursor:ee+(g||0),renamedHeaders:l}}}function de(){i(ue()),w=[],T=[]}},this.abort=function(){h=!0},this.getCharIndex=function(){return p}}function g(e){var t=e.data,n=i[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var a={abort:function(){r=!0,_(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(x(n.userStep)){for(var o=0;o<t.results.data.length&&(n.userStep({data:t.results.data[o],errors:t.results.errors,meta:t.results.meta},a),!r);o++);delete t.results}else x(n.userChunk)&&(n.userChunk(t.results,a,t.file),delete t.results)}t.finished&&!r&&_(t.workerId,t.results)}function _(e,t){var n=i[e];x(n.userComplete)&&n.userComplete(t),n.terminate(),delete i[e]}function v(){throw Error(`Not implemented.`)}function y(e){if(typeof e!=`object`||!e)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=y(e[t]);return n}function b(e,t){return function(){e.apply(t,arguments)}}function x(e){return typeof e==`function`}return o.parse=function(n,r){var c=(r||={}).dynamicTyping||!1;if(x(c)&&(r.dynamicTypingFunction=c,c={}),r.dynamicTyping=c,r.transform=!!x(r.transform)&&r.transform,r.downloadTimeout!==void 0){var c=parseInt(r.downloadTimeout);if(isNaN(c))throw Error(`Config downloadTimeout value (`+r.downloadTimeout+`) not parsable by parseInt(val).`);r.downloadTimeout=c}if(!r.worker||!o.WORKERS_SUPPORTED)return c=null,o.NODE_STREAM_INPUT,typeof n==`string`?(n=s(n),c=new(r.download?l:d)(r)):!0===n.readable&&x(n.read)&&x(n.on)?c=new f(r):(t.File&&n instanceof File||n instanceof Object)&&(c=new u(r)),c.stream(n);(c=(()=>{var n;return!!o.WORKERS_SUPPORTED&&(n=(()=>{var n=t.URL||t.webkitURL||null,r=e.toString();return o.BLOB_URL||=n.createObjectURL(new Blob([`var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; `,`(`,r,`)();`],{type:`text/javascript`}))})(),(n=new t.Worker(n)).onmessage=g,n.id=a++,i[n.id]=n)})()).userStep=r.step,c.userChunk=r.chunk,c.userComplete=r.complete,c.userError=r.error,r.step=x(r.step),r.chunk=x(r.chunk),r.complete=x(r.complete),r.error=x(r.error),delete r.worker,c.postMessage({input:n,config:r,workerId:c.id})},o.unparse=function(e,t){var n=!1,r=!0,i=`,`,a=`\r
94
+ `,s=`"`,c=s+s,l=!1,u=null,d=!1,f=((()=>{if(typeof t==`object`){if(typeof t.delimiter!=`string`||o.BAD_DELIMITERS.filter(function(e){return t.delimiter.indexOf(e)!==-1}).length||(i=t.delimiter),typeof t.quotes!=`boolean`&&typeof t.quotes!=`function`&&!Array.isArray(t.quotes)||(n=t.quotes),typeof t.skipEmptyLines!=`boolean`&&typeof t.skipEmptyLines!=`string`||(l=t.skipEmptyLines),typeof t.newline==`string`&&(a=t.newline),typeof t.quoteChar==`string`&&(s=t.quoteChar,c=s+s),typeof t.header==`boolean`&&(r=t.header),Array.isArray(t.columns)){if(t.columns.length===0)throw Error(`Option columns is empty`);u=t.columns}t.escapeChar!==void 0&&(c=t.escapeChar+s),t.escapeFormulae instanceof RegExp?d=t.escapeFormulae:typeof t.escapeFormulae==`boolean`&&t.escapeFormulae&&(d=/^[=+\-@\t\r].*$/)}})(),new RegExp(m(s),`g`));if(typeof e==`string`&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return p(null,e,l);if(typeof e[0]==`object`)return p(u||Object.keys(e[0]),e,l)}else if(typeof e==`object`)return typeof e.data==`string`&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:typeof e.data[0]==`object`?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||typeof e.data[0]==`object`||(e.data=[e.data])),p(e.fields||[],e.data||[],l);throw Error(`Unable to serialize unrecognized input`);function p(e,t,n){var o=``,s=(typeof e==`string`&&(e=JSON.parse(e)),typeof t==`string`&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),c=!Array.isArray(t[0]);if(s&&r){for(var l=0;l<e.length;l++)0<l&&(o+=i),o+=h(e[l],l);0<t.length&&(o+=a)}for(var u=0;u<t.length;u++){var d=(s?e:t[u]).length,f=!1,p=s?Object.keys(t[u]).length===0:t[u].length===0;if(n&&!s&&(f=n===`greedy`?t[u].join(``).trim()===``:t[u].length===1&&t[u][0].length===0),n===`greedy`&&s){for(var m=[],g=0;g<d;g++){var _=c?e[g]:g;m.push(t[u][_])}f=m.join(``).trim()===``}if(!f){for(var v=0;v<d;v++){0<v&&!p&&(o+=i);var y=s&&c?e[v]:v;o+=h(t[u][y],v)}u<t.length-1&&(!n||0<d&&!p)&&(o+=a)}}return o}function h(e,t){var r,a,l;return e==null?``:e.constructor===Date?isNaN(e.getTime())?``:e.toISOString():(l=!1,d&&typeof e==`string`&&d.test(e)&&(e=`'`+e,l=!0),a=(r=e.toString()).replace(f,c),(l=l||!0===n||typeof n==`function`&&n(e,t)||Array.isArray(n)&&n[t]||((e,t)=>{for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1})(a,o.BAD_DELIMITERS)||-1<a.indexOf(i)||-1<r.indexOf(s)||a.charAt(0)===` `||a.charAt(a.length-1)===` `)?s+a+s:a)}},o.RECORD_SEP=``,o.UNIT_SEP=``,o.BYTE_ORDER_MARK=``,o.BAD_DELIMITERS=[`\r`,`
95
+ `,`"`,o.BYTE_ORDER_MARK],o.WORKERS_SUPPORTED=!n&&!!t.Worker,o.NODE_STREAM_INPUT=1,o.LocalChunkSize=10485760,o.RemoteChunkSize=5242880,o.DefaultDelimiter=`,`,o.Parser=h,o.ParserHandle=p,o.NetworkStreamer=l,o.FileStreamer=u,o.StringStreamer=d,o.ReadableStreamStreamer=f,r&&(t.onmessage=function(e){e=e.data,o.WORKER_ID===void 0&&e&&(o.WORKER_ID=e.workerId),typeof e.input==`string`?t.postMessage({workerId:o.WORKER_ID,results:o.parse(e.input,e.config),finished:!0}):(t.File&&e.input instanceof File||e.input instanceof Object)&&(e=o.parse(e.input,e.config))&&t.postMessage({workerId:o.WORKER_ID,results:e,finished:!0})}),(l.prototype=Object.create(c.prototype)).constructor=l,(u.prototype=Object.create(c.prototype)).constructor=u,(d.prototype=Object.create(d.prototype)).constructor=d,(f.prototype=Object.create(c.prototype)).constructor=f,o})}))(),1),OR={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,render:(e,t,n)=>IL.format(n.date)}]]},kR=(e,t)=>{let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=t,document.body.append(r),r.click(),r.remove(),setTimeout(()=>URL.revokeObjectURL(n),0)},AR=e=>{let t=e.trim().replace(/[<>:"/\\|?*\u0000-\u001F]/g,`-`).replace(/\.+$/,``);return t.length>0?t:`table-export`},jR=LL.map(e=>({Date:IL.format(e.date),Order:e.order})),MR=()=>{let[e,t]=(0,w.useState)(`table-export`),n=(0,w.useCallback)((e,n)=>{t(String(n??``))},[]),r=AR(e),i=(0,w.useCallback)(()=>{let e=DR.default.unparse(jR,{delimiter:`;`,newline:`\r
96
+ `});kR(new Blob([``,e],{type:`text/csv;charset=utf-8;header=present`}),`${r}.csv`)},[r]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows CSV export for KolTableStateful data, using browser Blob downloads and a configurable file name.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(J,{_label:`Export file name`,_value:e,_hint:`The entered value is used for CSV export.`,_on:{onInput:n}}),(0,X.jsx)(`div`,{className:`flex gap-4`,children:(0,X.jsx)(K,{_label:`Export CSV`,_on:{onClick:i}})}),(0,X.jsx)(GT,{_label:`Table with export actions`,_data:LL,_headers:OR,className:`block`})]})]})},NR=[{name:`Charlie`,score:72},{name:`Alice`,score:95},{name:`Bob`,score:88},{name:`Diana`,score:61},{name:`Eve`,score:84}],PR={horizontal:[[{key:`name`,label:`Name`,sortDirection:`ASC`,compareFn:(e,t)=>e.name.localeCompare(t.name)},{key:`score`,label:`Score`,textAlign:`right`,compareFn:(e,t)=>e.score-t.score}]]},FR=()=>{let e=(0,w.useRef)(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the `,(0,X.jsx)(`code`,{children:`resetSort()`}),` method on `,(0,X.jsx)(`code`,{children:`KolTableStateful`}),`. Sort the table manually by clicking on a column header, then press “Reset Sort” to restore the default sort order defined in `,(0,X.jsx)(`code`,{children:`_headers`}),`.`]})}),(0,X.jsxs)(`section`,{className:`w-full grid gap-4`,children:[(0,X.jsx)(K,{_label:`Reset Sort`,_on:{onClick:()=>{e.current?.resetSort?.()}}}),(0,X.jsx)(GT,{ref:e,_label:`Table with resettable sort`,_data:NR,_headers:PR,className:`block`,_on:{onSortChange:(e,t)=>console.log(`sort changed`,t)}})]})]})},IR=[{id:`U-001`,name:`Andrea Schmidt`,team:`Design`,email:`andrea@example.org`,status:`Active`},{id:`U-002`,name:`Boris Klein`,team:`Engineering`,email:`boris@example.org`,status:`Active`},{id:`U-003`,name:`Chiara Russo`,team:`Support`,email:`chiara@example.org`,status:`On leave`},{id:`U-004`,name:`Dmitri Volkov`,team:`Engineering`,email:`dmitri@example.org`,status:`Active`},{id:`U-005`,name:`Elena Costa`,team:`Design`,email:`elena@example.org`,status:`On leave`},{id:`U-006`,name:`Farid Haddad`,team:`Support`,email:`farid@example.org`,status:`Active`}],LR=e=>(t,n,r=`ASC`)=>{let i=String(t[e]).localeCompare(String(n[e]));return r===`DESC`?-i:i},RR=()=>({horizontal:[[{key:`id`,label:`ID`,visible:!0,width:120},{key:`name`,label:`Name`,visible:!0,width:240,compareFn:LR(`name`)},{key:`team`,label:`Team`,visible:!0,width:200,compareFn:LR(`team`)},{key:`email`,label:`E-Mail`,visible:!0,width:280},{key:`status`,label:`Status`,visible:!0,width:160,compareFn:LR(`status`)}]]}),zR=()=>{let[e,t]=(0,w.useState)(0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example demonstrates that column settings applied via the settings menu are remembered. Open the settings menu and change a column's width, visibility or order and apply. Then sort a column, switch the pagination page, select a row, or use the "Force parent re-render" button – the customized columns must stay as you configured them and must no longer reset to their defaults (issue #10344).`})}),(0,X.jsx)(K,{_label:`Force parent re-render (${e})`,_on:{onClick:()=>t(e=>e+1)},className:`block`}),(0,X.jsx)(GT,{_label:`Table that remembers settings across sorting, pagination and selection`,_hasSettingsMenu:!0,_pagination:{_page:1,_pageSize:3},_selection:{label:e=>`Select ${e.name}`,keyPropertyName:`id`,selectedKeys:[]},_headers:RR(),_data:IR,className:`block`})]})},BR={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`,width:200},{key:`owner`,label:`Owner`,width:200},{type:`action`,key:`actions`,label:`Actions`,width:250,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}}]}}]]},VR=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`},{id:`T-03`,project:`UX audit`,owner:`Tyler Gray`},{id:`T-04`,project:`Software Architectur`,owner:`Tess Richardson`}],HR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,X.jsx)(Z,{id:`selection`,className:`w-full`,children:(0,X.jsx)(GT,{_label:`Tasks with action buttons`,_headers:BR,_data:VR,className:`block`,_selection:{label:e=>`Selection for ${e.id}`,selectedKeys:[`T-01`],disabledKeys:[`T-04`],keyPropertyName:`id`},_on:{onSelectionChange:(e,t)=>{console.log(`Selection change via callback`,t)}}})})]}),UR={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`,width:200},{key:`owner`,label:`Owner`,width:200},{type:`action`,key:`actions`,label:`Actions`,width:250,actions:e=>{let t=e;return[{type:`button`,_label:`Start`,_icons:`kolicon-chevron-right`,_variant:`secondary`,_on:{onClick:()=>alert(`Start task ${t.id}`)}}]}}]]},WR=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`},{id:`T-03`,project:`UX audit`,owner:`Tyler Gray`},{id:`T-04`,project:`Software Architectur`,owner:`Tess Richardson`}],GR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,X.jsx)(Z,{id:`single-selection`,className:`w-full`,children:(0,X.jsx)(GT,{_label:`Tasks with action buttons`,_headers:UR,_data:WR,className:`block`,_selection:{label:e=>`Selection for ${e.id}`,selectedKeys:[`T-01`],disabledKeys:[`T-04`],keyPropertyName:`id`,multiple:!1},_on:{onSelectionChange:(e,t)=>{console.log(`Selection change via callback`,t)}}})})]}),KR=[{left:`Left Example`,center:`Center Example`,right:`Right Example`},{},{},{}],qR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolTableStateless can be used directly, with the KolTableStateful wrapper.`})}),(0,X.jsx)(Z,{id:`stateless`,className:`w-full`,fitContent:!0,children:(0,X.jsx)(KT,{_label:`Table for demonstration purposes`,_headers:{horizontal:[[{key:`left`,label:`left`,textAlign:`left`,sortDirection:`ASC`,width:100},{key:`center`,label:`center`,textAlign:`center`,sortDirection:`DESC`,width:100},{key:`right`,label:`right`,textAlign:`right`,sortDirection:`NOS`,width:100},{key:`nosort`,label:`no sort option`,width:150}]],vertical:[[{key:`vertical-left`,label:`left`,textAlign:`left`,sortDirection:`ASC`},{key:`vertical-center`,label:`center`,textAlign:`center`,sortDirection:`DESC`},{key:`vertical-right`,label:`right`,textAlign:`right`,sortDirection:`NOS`},{key:`vertical-nosort`,label:`no sort option`}]]},_data:KR,className:`block`,style:{maxWidth:`600px`},_on:{onSort:(e,t)=>{console.log(t)}}})})]}),JR={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:160,sortDirection:`NOS`},{label:`Common name`,key:`common_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Diet`,key:`diet`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:160,sortDirection:`NOS`}]]},YR=()=>{let e=()=>new Promise(e=>setTimeout(()=>e({COMPLEX_DATA:hL}),5e3)),t=()=>{a(!0),e().then(e=>{r(e.COMPLEX_DATA.slice(0,15)),a(!1)})},[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)(!0);return(0,w.useEffect)(()=>t(),[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolTableStateless can be used async and with KolPagination. Paging and sorting are not functional here, because a backend would offer this in real life.`})}),(0,X.jsxs)(Z,{id:`async`,className:`w-full relative`,children:[(0,X.jsx)(KT,{_label:`Table for demonstration purposes`,_loading:i,_headers:JR,_data:n,_on:{onSort:()=>t()}}),(0,X.jsx)(IT,{_label:`Pagination for the demonstration table`,_max:200,_page:1,_siblingCount:0,_boundaryCount:2,_pageSize:15,_on:{onChangePage:()=>t()}})]})]})},XR=[{id:`1001`,name:`Foo Bar`,internalIdentifier:`AAA1001`},{id:`1002`,name:`Foo Baz`,internalIdentifier:`AAA1002`},{id:`1003`,name:`This row is always unchecked`,internalIdentifier:`AAA1003`},{id:`1004`,name:`This row is always checked`,internalIdentifier:`AAA1004`}];function ZR({label:e}){let{dummyClickEventHandler:t}=hA();return(0,X.jsx)(K,{_label:e,_on:{onClick:t}})}var QR=()=>{let[e,t]=(0,w.useState)([`AAA1002`,`AAA1004`]),n={label:e=>`Selection for ${e.name}`,selectedKeys:e,keyPropertyName:`internalIdentifier`,disabledKeys:[`AAA1003`,`AAA1004`]},r=(0,w.useRef)(null),i=({detail:e})=>{console.log(`Selection change via event`,e)};return(0,w.useEffect)(()=>{let e=r.current,t=`kolSelectionChange`;return e?.addEventListener(t,i),()=>{e?.removeEventListener(t,i)}},[r]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateless with checkboxes for selection enabled.`})}),(0,X.jsx)(Z,{id:`selection`,className:`w-full`,children:(0,X.jsx)(KT,{_label:`Table with selection checkboxes`,_headers:{horizontal:[[{key:`id`,label:`#ID`,textAlign:`left`,width:70},{key:`name`,label:`Name`,textAlign:`left`,width:200},{key:`action`,label:`Action`,textAlign:`left`,render:(e,t)=>{let n=t.data?.id;Nj($T(e)).render((0,X.jsx)(ZR,{label:`Click ${n}`}))},width:100}]]},_data:XR,_selection:n,_on:{onSelectionChange:(e,n)=>{console.log(`Selection change via callback`,n),t(n)}},className:`block`,ref:r})})]})},$R=[{id:`U1001`,name:`Alice Johnson`,role:`Admin`,email:`alice@example.org`,active:`Yes`},{id:`U1002`,name:`Bob Smith`,role:`Editor`,email:`bob@example.org`,active:`No`},{id:`U1003`,name:`Carol Lee`,role:`Viewer`,email:`carol@example.org`,active:`Yes`},{id:`U1004`,name:`David Kim`,role:`Editor`,email:`david@example.org`,active:`Yes`}],ez=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`This sample shows `,(0,X.jsx)(`code`,{children:`KolTableStateless`}),` with the settings menu enabled via`,(0,X.jsx)(`code`,{children:`_hasSettingsMenu`}),`. Each column demonstrates a different combination of sorting and resizing options.`]}),(0,X.jsxs)(`p`,{children:[`Every column declares an explicit `,(0,X.jsx)(`code`,{children:`width`}),`, so the width fields in the settings menu show the current pixel values instead of starting empty. This also prevents a resizable column from collapsing when its width is adjusted from the menu.`]}),(0,X.jsxs)(`ul`,{children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`ID`}),` keeps a fixed width with `,(0,X.jsx)(`code`,{children:`resizable: false`}),` while still allowing sorting.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Name`}),` represents the default behavior with both sorting and resizing enabled.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Role`}),` disables sorting but keeps `,(0,X.jsx)(`code`,{children:`resizable: true`}),` so users can widen the column if necessary.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`E-Mail`}),` allows sorting but locks its width with `,(0,X.jsx)(`code`,{children:`resizable: false`}),` to keep the layout stable.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Active`}),` is neither sortable nor resizable to emphasise the status indicator.`]})]})]}),(0,X.jsx)(KT,{_label:`Users (stateless with settings menu)`,className:`w-full`,_hasSettingsMenu:!0,_headers:{horizontal:[[{key:`id`,label:`ID`,textAlign:`center`,sortDirection:`NOS`,sortable:!0,resizable:!1,width:120},{key:`name`,label:`Name`,textAlign:`center`,sortDirection:`NOS`,sortable:!0,resizable:!0,width:200},{key:`role`,label:`Role`,textAlign:`center`,sortDirection:`NOS`,sortable:!1,resizable:!0,width:160},{key:`email`,label:`E-Mail`,textAlign:`center`,sortDirection:`NOS`,sortable:!0,resizable:!1,width:240},{key:`active`,label:`Active`,textAlign:`center`,sortDirection:`NOS`,sortable:!1,resizable:!1,width:120}]]},_data:$R,_on:{onSort:(e,t)=>console.log(`sort`,t),onSelectionChange:(e,t)=>console.log(`selection`,t),onChangeHeaderCells:(e,t)=>console.log(`header settings changed`,t)}})]}),tz=[{id:`1001`,name:`Foo Bar`,internalIdentifier:`AAA1001`},{id:`1002`,name:`Foo Baz`,internalIdentifier:`AAA1002`},{id:`1003`,name:`Foo Disabled`,internalIdentifier:`AAA1003`}];function nz({label:e}){let{dummyClickEventHandler:t}=hA();return(0,X.jsx)(K,{_label:e,_on:{onClick:t}})}var rz=()=>{let[e,t]=(0,w.useState)([`1002`]),n={label:e=>`Selection for ${e.name}`,multiple:!1,selectedKeys:e,disabledKeys:[`AAA1003`],keyPropertyName:`internalIdentifier`},r=(0,w.useRef)(null),i=(0,w.useCallback)(({detail:e})=>{console.log(`Selection change via event`,e)},[]),a=(0,w.useCallback)((e,n)=>{console.log(`Selection change via callback`,n),t(n)},[]);(0,w.useEffect)(()=>{let e=r.current,t=`kolSelectionChange`;return e?.addEventListener(t,i),()=>{e?.removeEventListener(t,i)}},[r,i]);let o=(0,w.useCallback)((e,t)=>{let n=t.data?.id;Nj($T(e)).render((0,X.jsx)(nz,{label:`Click ${n}`}))},[]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateless with checkboxes for selection enabled.`})}),(0,X.jsx)(Z,{id:`single-selection`,className:`w-full`,fitContent:!0,children:(0,X.jsx)(KT,{_label:`Table with selection checkboxes`,_headers:{horizontal:[[{key:`id`,label:`#ID`,textAlign:`left`,width:100},{key:`name`,label:`Name`,textAlign:`left`,width:200},{key:`action`,label:`Action`,textAlign:`left`,render:o,width:200}]]},_data:tz,_selection:n,_on:{onSelectionChange:a},className:`block`,ref:r})})]})},iz={label:e=>`Selection for ${e.common_name}`,multiple:!1,keyPropertyName:`internalIdentifier`},az={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:60},{label:`Common name`,key:`common_name`,textAlign:`left`,width:250},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:400},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:250},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:400},{label:`Diet`,key:`diet`,textAlign:`left`,width:200},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:300}]]},oz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with the first three and last columns sticky. It should be focusable and scrollable with the keyboard. The table headline should be sticky at the top of the table. The data lists animal species with conservation-focused details.`})}),(0,X.jsx)(Z,{id:`sticky-cols`,heading:`Sticky columns`,children:(0,X.jsx)(GT,{_label:`Animal species overview`,_data:hL,_headers:az,className:`block`,_selection:iz,_fixedCols:[2,1]})})]}),sz={label:e=>`Selection for ${e.common_name}`,multiple:!1,keyPropertyName:`internalIdentifier`},cz={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:60},{label:`Common name`,key:`common_name`,textAlign:`left`,width:160},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:160},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:160},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:160},{label:`Diet`,key:`diet`,textAlign:`left`,width:160},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:160}]]},lz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with vertical scrollbar. It should be focusable and scrollable with the keyboard. The table headline should be sticky at the top of the table, if your chosen theme supports sticky header. The table's maximum height is set to 75vh with the CSS property --kol-table-max-height. The data lists animal species with conservation-focused details.`})}),(0,X.jsx)(Z,{id:`sticky-header`,heading:`Sticky headers`,children:(0,X.jsx)(GT,{_label:`Animal species overview`,_data:hL,_headers:cz,className:`block`,_selection:sz,style:{"--kol-table-max-height":`75vh`}})})]}),uz={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,render:(e,t,n)=>IL.format(n.date)}]]},dz=()=>{let[e]=tk(),t=e.get(`theme`)??UA(),n=(0,w.useMemo)(()=>t?NA(t,`tableVariants`):[],[t]);return(0,X.jsxs)(`div`,{className:`w-full grid gap-14`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with different variants controlled by the theme.`})}),!Array.isArray(n)||n.length===0?(0,X.jsx)(Z,{id:`variant-no`,children:(0,X.jsx)(`p`,{children:`This theme has no variants for tables.`})}):n.map((e,t)=>(0,X.jsx)(Z,{id:`variant-`+t,className:`w-full flex flex-col gap-14`,children:(0,X.jsx)(GT,{_label:`Table with variant: `+e,_data:LL,_headers:uz,_pagination:{_page:1,_hasButtons:{first:!1,next:!0,last:!1,previous:!0}},_paginationPosition:`bottom`,_variant:e})}))]})},fz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with footer data.`})}),(0,X.jsx)(Z,{id:`with-footer`,children:(0,X.jsx)(GT,{className:`w-full`,_label:`Business hours`,_headers:{horizontal:[[{label:`District`,key:`asp`,width:160},{label:`Monday`,key:`monday`,width:160},{label:`Tuesday`,key:`tuesday`,width:160},{label:`Wednesday`,key:`wednesday`,width:160},{label:`Thursday`,key:`thursday`,width:160},{label:`Friday`,key:`friday`,width:160}]]},_data:[{asp:`Center`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`},{asp:`Tiergarten`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`},{asp:`Maxvorstadt`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`}],_dataFoot:[{tuesday:`Lunch break from 11 to 14 o'clock`}]})})]}),pz={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,render:(e,t,n)=>IL.format(n.date)}]]},mz={_page:2},hz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolTableStateful can be navigated using a pagination.`})}),(0,X.jsx)(Z,{id:`with-pagination`,className:`w-full`,children:(0,X.jsx)(GT,{_label:`Table description`,_data:LL,_headers:pz,_pagination:mz})})]}),gz=[{id:1001,name:`Max Mustermann`,email:`max.mustermann@example.com`},{id:1002,name:`Erika Musterfrau`,email:`erika.musterfrau@example.com`},{id:1003,name:`John Doe`,email:`john.doe@example.com`},{id:1004,name:`Jane Doe`,email:`jane.doe@example.com`},{id:1005,name:`Peter Smith`,email:`peter.smith@example.com`},{id:1006,name:`Anna Smith`,email:`anna.smith@example.com`},{id:1007,name:`Michael Schmidt`,email:`michael.schmidt@example.com`},{id:1008,name:`Sarah Schmidt`,email:`sarah.schmidt@example.com`},{id:1009,name:`Thomas Müller`,email:`thomas.mueller@example.com`},{id:1010,name:`Lisa Müller`,email:`lisa.mueller@example.com`}],_z={horizontal:[[{key:`id`,label:`ID`,textAlign:`left`,width:80,compareFn:(e,t)=>e.id-t.id,sortDirection:`ASC`},{key:`name`,label:`Name`,textAlign:`left`,compareFn:(e,t)=>e.name.localeCompare(t.name,`en`)},{key:`email`,label:`Email`,textAlign:`left`,compareFn:(e,t)=>e.email.localeCompare(t.email,`en`)}]]},vz=[`Ada`,`Bruno`,`Clara`,`Finn`,`Ida`,`Jonas`,`Lena`,`Nele`,`Otto`,`Sina`],yz=[`Bauer`,`Fuchs`,`Hirsch`,`Kraft`,`Lindner`,`Moor`,`Reuter`,`Schubert`,`Wagner`,`Winter`];function bz(e){return e[Math.floor(Math.random()*e.length)]}function xz(e){return e.reduce((e,t)=>Math.max(e,t.id),1e3)+1}function Sz(e){let t=bz(vz),n=bz(yz);return{id:e,name:`${t} ${n}`,email:`${t.toLowerCase()}.${n.toLowerCase()}@example.com`}}var Cz={table:{"column-alignment":SL,"complex-headers":CL,empty:kL,"horizontal-scrollbar":HL,"interactive-child-elements":GL,"multi-sort":rR,"highlight-row":FL,"non-hidable-columns":aR,"pagination-position":sR,"predefined-settings":lR,"action-columns":GI,"action-columns-performance":QI,"state-columns":wR,"render-cell":mR,"settings-column-options":gR,"sort-data":xR,"direction-aware-sort":DL,"stateful-async":ER,"stateful-export":MR,"stateful-reset-sort":FR,"stateful-settings-persistence":zR,"stateless-with-settings-menu":ez,"stateful-with-selection":HR,"stateful-with-single-selection":GR,stateless:qR,"stateless-async":YR,"stateless-with-selection":QR,"stateless-with-single-selection":rz,"sticky-cols":oz,"sticky-header":lz,"with-footer":fz,"with-pagination":hz,"with-toolbar":()=>{let[e,t]=(0,w.useState)(gz),[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)(!1),[o,s]=(0,w.useState)(null),c=o!==null&&e.some(e=>e.id===o.id),l={keyPropertyName:`id`,label:e=>`Select row ${e.name}`,multiple:i,selectedKeys:n},u=(e,t)=>{r((t??[]).map(e=>e.id))},d=(e,t)=>{a(t===!0),t!==!0&&n.length>1&&r([])},f=()=>{s(Sz(xz(e)))},p=()=>{let t=e.find(e=>e.id===n[0]);t!==void 0&&s({...t})},m=()=>{s(null)},h=()=>{o!==null&&t(e=>c?e.map(e=>e.id===o.id?o:e):[...e,o]),s(null)},g=[{type:`button`,_label:`Add`,_icons:{left:{icon:`kolicon-plus`}},_variant:`primary`,_on:{onClick:f}},{type:`button`,_label:`Edit`,_variant:`secondary`,_disabled:n.length!==1,_on:{onClick:p}},{type:`button`,_label:`Delete`,_icons:{left:{icon:`kolicon-cross`}},_variant:`danger`,_disabled:n.length===0,_on:{onClick:()=>{n.length!==0&&(t(e.filter(e=>!n.includes(e.id))),r([]))}}}];return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample combines a toolbar with a table: a switch toggles between single and multiple selection. "Add" generates a new dummy record in a form and inserts it via "Create". "Edit" opens the selected row in the same form when exactly one row is selected. "Delete" removes all selected rows and is only enabled with a selection.`})}),(0,X.jsxs)(`section`,{className:`w-full`,children:[(0,X.jsx)(YT,{_label:`Table actions`,_items:g}),(0,X.jsx)(CT,{className:`block w-fit py-2`,_label:`Multiple selection`,_variant:`switch`,_checked:i,_value:!0,_on:{onInput:d}}),(0,X.jsx)(yT,{_label:c?`Edit entry`:`Add entry`,_align:`right`,_level:2,_open:o!==null,_hasCloser:!0,_on:{onClose:m},children:o!==null&&(0,X.jsxs)(`div`,{className:`flex flex-col gap-4 py-4`,children:[(0,X.jsx)(J,{_label:`Name`,_value:o.name,_on:{onInput:(e,t)=>s({...o,name:String(t)})}}),(0,X.jsx)(J,{_label:`Email`,_value:o.email,_on:{onInput:(e,t)=>s({...o,email:String(t)})}}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:c?`Save`:`Create`,_variant:`primary`,_on:{onClick:h}}),(0,X.jsx)(K,{_label:`Cancel`,_variant:`secondary`,_on:{onClick:m}})]})]})}),(0,X.jsx)(GT,{_label:`User management`,_headers:_z,_data:e,className:`block`,_selection:l,_on:{onSelectionChange:u}})]})]})},big:yL,"action-and-render":tL,variant:dz,"aria-labelledby":pL}},wz=[{_icons:`kolicon-check`,_label:`First tab`,_on:{onSelect:e=>{console.log(`First tab selected`,e)}}},{_icons:`kolicon-link-external`,_label:`Second Tab`},{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled Tab`},{_icons:`kolicon-eye`,_label:`Last tab`}],Tz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolTabs with the property `,(0,X.jsx)(`code`,{children:`_align`}),` set to `,(0,X.jsx)(`code`,{children:`left`}),`, `,(0,X.jsx)(`code`,{children:`right`}),`, `,(0,X.jsx)(`code`,{children:`top`}),` and `,(0,X.jsx)(`code`,{children:`bottom`}),`.`]})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:[`left`,`right`,`top`,`bottom`].map(e=>{let t=`Tabs with ${e} align`;return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(q,{_level:2,_label:t}),(0,X.jsxs)(qT,{_tabs:wz,_align:e,_label:t,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})]},e)})})]}),Ez=[{_icons:`kolicon-check`,_label:`First tab`,_on:{onSelect:e=>{console.log(`First tab selected`,e)}}},{_icons:`kolicon-link-external`,_label:`Second Tab`},{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled Tab`},{_icons:`kolicon-eye`,_label:`Last tab`}],Dz=Ez.map(e=>({...e,_icons:void 0})),Oz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolTabs renders tab captions and their associated content. This sample shows tab captions with and without icons and disabled tabs.`})}),(0,X.jsx)(Z,{id:`regular`,children:(0,X.jsxs)(qT,{_tabs:Dz,_label:`Regular tabs`,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})}),(0,X.jsx)(Z,{id:`icons`,children:(0,X.jsxs)(qT,{_tabs:Ez,className:`mt-4`,_label:`Tabs with icons`,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})})]}),kz=[{_icons:`kolicon-check`,_label:`First tab`,_on:{onSelect:e=>{console.log(`First tab selected`,e)}}},{_icons:`kolicon-link-external`,_label:`Second Tab`},{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled Tab`},{_icons:`kolicon-eye`,_label:`Last tab`}],Az=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`This sample shows KolTabs with the property `,(0,X.jsx)(`code`,{children:`_behavior`}),` set to `,(0,X.jsx)(`code`,{children:`select-manual`}),` and `,(0,X.jsx)(`code`,{children:`select-automatic`}),`.`]}),(0,X.jsx)(`p`,{children:`This property allows controlling when an arrow key is pressed whether the tab change takes place right away or only focuses the tab caption.`})]}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(q,{_level:2,_label:`Tabs with "select manual" behavior`}),(0,X.jsxs)(qT,{_tabs:kz,_behavior:`select-manual`,_label:`Tabs with select manual behavior`,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(q,{_level:2,_label:`Tabs with "select automatic" behavior`}),(0,X.jsxs)(qT,{_tabs:kz,className:`mt-4`,_behavior:`select-automatic`,_label:`Tabs with select automatic behavior`,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})]})]})]}),jz=()=>{let[e,t]=(0,w.useState)([{_label:`First tab`},{_label:`Second Tab`}]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTabs with a "create tab" button.`})}),(0,X.jsx)(Z,{id:`create-button`,children:(0,X.jsxs)(qT,{_tabs:e,className:`mt-4`,_label:`Tabs with create button`,_hasCreateButton:!0,_on:{onCreate:()=>{t([...e,{_label:`Tab #${e.length+1}`}])}},children:[e.map((e,t)=>(0,X.jsxs)(`p`,{slot:`tab-${t}`,children:[`Contents of `,e._label]},`tab-${t}`)),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`})]})})]})},Mz=[{_hideLabel:!0,_icons:`kolicon-check`,_label:`First tab`,_on:{onSelect:e=>{console.log(`First tab selected`,e)}}},{_hideLabel:!0,_icons:`kolicon-link-external`,_label:`Second Tab`},{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_label:`Disabled Tab`},{_hideLabel:!0,_icons:`kolicon-eye`,_label:`Last tab`}],Nz={tabs:{basic:Oz,"create-button":jz,"icons-only":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTabs with hidden labels.`})}),(0,X.jsx)(Z,{id:`icons-only`,children:(0,X.jsxs)(qT,{_label:`Tabs with icons`,_tabs:Mz,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})})]}),behavior:Az,align:Tz}},Pz=`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
97
+ magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd
98
+ gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
99
+ elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos
100
+ et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
101
+ sit amet.`,Fz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the `,(0,X.jsx)(`code`,{children:`_adjustHeight`}),`-property of KolTextarea. The textarea automatically grows with its content.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`adjust-height`,children:(0,X.jsx)(JT,{_adjustHeight:!0,_value:Pz,_label:`Text input (auto grow with value)`})}),(0,X.jsx)(JT,{_adjustHeight:!0,_label:`Text input (auto grow with initial 3 rows)`,_rows:3})]})]}),Iz=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(JT,{...n,ref:r,_placeholder:`Placeholder`,_label:`Text`})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(JT,{...n,_placeholder:`Placeholder`,_required:!0,_msg:{_type:`error`,_description:nA},_label:`Text`,_touched:!0,_hint:rA,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(JT,{...n,_placeholder:`Placeholder`,_label:`Text`,_msg:{_type:`info`,_description:`Just a hint`},_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(JT,{...n,_placeholder:`Placeholder`,_label:`Text`,_msg:{_type:`warning`,_description:`Small warning`},_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(JT,{...n,_placeholder:`Placeholder`,_label:`Text`,_msg:{_type:`success`,_description:`Success message`},_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(JT,{...n,_placeholder:`Placeholder`,_label:`Text`,_msg:{_type:`default`,_description:`Default message`},_touched:!0})}),(0,X.jsx)(Z,{...i(`rows`),children:(0,X.jsx)(JT,{...n,ref:r,_accessKey:`T`,_label:`Text (3 rows)`,_rows:3})}),(0,X.jsx)(Z,{...i(`placeholder`),children:(0,X.jsx)(JT,{...n,ref:r,_label:`Text (placeholder)`,_rows:3,_placeholder:`Placeholder`})}),(0,X.jsx)(Z,{...i(`disabled-empty`),children:(0,X.jsx)(JT,{...n,ref:r,_label:`Text (disabled & placeholder)`,_rows:3,_placeholder:`Placeholder`,_disabled:!0})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(JT,{...n,ref:r,_label:`Text (readonly)`,_rows:3,_placeholder:`Placeholder`,_readOnly:!0})}),(0,X.jsx)(Z,{...i(`disabled-value`),children:(0,X.jsx)(JT,{...n,ref:r,_label:`Text (disabled & value)`,_rows:3,_placeholder:`Placeholder`,_value:`Lorem ipsum`,_disabled:!0})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(JT,{...n,ref:r,_label:`With access key`,_rows:3,_placeholder:`Placeholder`,_value:`Lorem ipsum`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(JT,{...n,ref:r,_label:`With short key`,_rows:3,_placeholder:`Placeholder`,_value:`Lorem ipsum`,_shortKey:`s`})})]})}),Lz=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(fj,{children:[(0,X.jsx)(pj,{heading:`Text`,children:(0,X.jsx)(Iz,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(pj,{heading:`Text (hideLabel)`,children:(0,X.jsx)(Iz,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),Rz={textarea:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolTextarea renders a text field. The sample shows KolTextarea in a form context with different variations and states.`})}),(0,X.jsx)(dj,{RefComponent:Lz,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(qj,{label:`KolTextarea`,renderInput:e=>(0,X.jsx)(JT,{_label:`Message`,_on:e})})]}),"adjust-height":Fz,resize:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the `,(0,X.jsx)(`code`,{children:`_resize`}),`-property of KolTextarea. The sample textarea can (only) be resized in the given direction.`]})}),(0,X.jsx)(bT,{className:`w-full`,children:(0,X.jsxs)(Z,{id:`resize`,className:`flex flex-col gap-4`,children:[(0,X.jsx)(JT,{_label:`Text input (unset)`}),(0,X.jsx)(JT,{_resize:`vertical`,_label:`Text input (vertical)`}),(0,X.jsx)(JT,{_resize:`none`,_label:`Text input (none)`})]})})]}),rows:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the `,(0,X.jsx)(`code`,{children:`_rows`}),`-property of KolTextarea. The sample textarea has a fixed row number of 10.`]})}),(0,X.jsx)(Z,{id:`rows`,children:(0,X.jsx)(bT,{className:`w-full`,children:(0,X.jsx)(JT,{_rows:10,_label:`Texteingabe`})})})]}),"with-counter":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The sample demonstrates various `,(0,X.jsx)(`code`,{children:`KolTextarea`}),` configurations — contrasting soft vs. hard `,(0,X.jsx)(`code`,{children:`_maxLength`}),` settings and the optional`,(0,X.jsx)(`code`,{children:`_hasCounter`}),` — including one instance without length limits.`]})}),(0,X.jsxs)(Z,{id:`with-counter`,className:`w-full flex flex-col gap-4`,children:[(0,X.jsx)(JT,{_label:`Textarea with soft max length`,_value:`Lorem Ipsum`,className:`mt-2`,_maxLength:20,_hasCounter:!0,_maxLengthBehavior:`soft`}),(0,X.jsx)(JT,{_label:`Textarea with max length`,_value:`Lorem Ipsum`,className:`mt-2`,_maxLength:20}),(0,X.jsx)(JT,{_label:`Textarea with max length and counter`,_value:`Lorem Ipsum`,className:`mt-2`,_maxLength:20,_hasCounter:!0}),(0,X.jsx)(JT,{_label:`Textarea with counter`,_value:`Lorem Ipsum`,className:`mt-2`,_hasCounter:!0})]})]})}},zz=()=>{let[e]=tk(),t=e.get(`type`),n=Rt.getInstance(document),r=()=>{n.enqueue({description:`Toasty`,label:`Initial Toast`,type:`warning`,onClose:()=>{console.log(`Simple toast has been closed.`)}})};(0,w.useEffect)(()=>{t&&n.enqueue({description:`Toasty`,label:`Toast with type '${t}'`,type:t})},[t,n]);let i=()=>{n.enqueue({render:(e,{close:t})=>{Nj(e).render((0,X.jsx)(X.Fragment,{children:(0,X.jsx)(K,{_label:`Hello World from Toast!`,_on:{onClick:()=>{console.log(`Toast Button clicked!`),t()}}})}))},label:`Initial Toast`,type:`warning`})},a=async()=>{let e=await n.enqueue({description:`I will disappear in two seconds...`,label:`Good Bye`,type:`warning`});e&&setTimeout(e,2e3)};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(uT,{_label:`Component is DEPRECATED`,_type:`error`,_variant:`card`,className:`header-alert`,children:[`For more information, please refer\xA0`,(0,X.jsx)(Y,{_href:`https://public-ui.github.io/en/docs/components/toaster`,_target:`_blank`,_label:`to the documentation`}),`.`]}),(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates the toast service with all its options.`})}),(0,X.jsx)(`section`,{className:`grid gap-4`,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:`Show simple toast`,_on:{onClick:r}}),(0,X.jsx)(K,{_label:`Show complex toast`,_on:{onClick:i}}),(0,X.jsx)(K,{_label:`Show toast and close after 2 seconds`,_on:{onClick:()=>void a()}}),(0,X.jsx)(K,{_label:`Close all toasts`,_on:{onClick:()=>{n.closeAll()}}})]})})]})},Bz=[`default`,`info`,`success`,`warning`,`error`],Vz=Bz.map(e=>({label:e,value:e})),Hz=e=>typeof e==`string`&&Bz.includes(e),Uz={toast:{basic:zz,configurator:()=>{let[e]=tk(),t=e.get(`type`),n=Hz(t)?t:void 0,[r,i]=(0,w.useState)(()=>n??`default`),a=(0,w.useMemo)(()=>Rt.getInstance(document),[]);return(0,w.useEffect)(()=>(Bz.forEach(e=>{a.enqueue({description:`Toasty`,label:`Toast with type '${e}'`,type:e})}),()=>{a.closeAll()}),[a]),(0,w.useEffect)(()=>{n&&i(n)},[n]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(uT,{_label:`Component is DEPRECATED`,_type:`error`,_variant:`card`,className:`header-alert`,children:[`For more information, please refer\xA0`,(0,X.jsx)(Y,{_href:`https://public-ui.github.io/en/docs/components/toaster`,_target:`_blank`,_label:`to the documentation`}),`.`]}),(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates the toast service with all its options. Use the configuration below to choose a toast type and open a toast with the card variant.`})}),(0,X.jsxs)(`section`,{className:`grid gap-4`,children:[(0,X.jsx)(AT,{_orientation:`horizontal`,_label:`Toast type`,_value:r,_options:Vz,_on:{onChange:(e,t)=>{Hz(t)&&i(t)}}}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:`Open ${r} toast`,_on:{onClick:()=>{a.enqueue({description:`Toasty`,label:`Toast with type '${r}'`,type:r})}}}),(0,X.jsx)(K,{_label:`Close all toasts`,_on:{onClick:()=>{a.closeAll()}}})]})]})]})}}},Wz={toolbar:{basic:()=>{let e=[{type:`button`,_label:`Back`,_hideLabel:!0,_icons:{left:{icon:`kolicon-chevron-left`}}},{type:`button`,_label:`Next`,_hideLabel:!0,_icons:{right:{icon:`kolicon-chevron-right`}}},{type:`hr`},{type:`link`,_href:`#/back-page`,_label:`Simple Link 1`},{type:`link`,_href:`#/back-page`,_label:`Simple Link 3`},{type:`hr`},{type:`button`,_label:`Bold`,_variant:`secondary`},{type:`button`,_label:`Delete`,_icons:{right:{icon:`kolicon-cross`}},_variant:`danger`}];return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolToolbars renders a set of given control elements grouped into one toolbar where focus can be moved using the keyboard arrow keys. The sample features button and link elements.`})}),(0,X.jsx)(Z,{id:`horizontal`,heading:`Orientation horizontal`,fitContent:!0,narrow:!0,children:(0,X.jsx)(YT,{class:`block w-fit`,_label:`Toolbar`,_items:e})}),(0,X.jsx)(Z,{id:`vertical`,heading:`Orientation vertical`,fitContent:!0,children:(0,X.jsx)(YT,{class:`block w-fit`,_label:`Toolbar`,_items:e,_orientation:`vertical`})})]})},disabled:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolToolbars with some of the elements disabled.`})}),(0,X.jsx)(Z,{id:`disabled`,fitContent:!0,children:(0,X.jsx)(YT,{_label:`Toolbar`,class:`block w-fit`,_items:[{type:`button`,_label:`Back`,_disabled:!0,_hideLabel:!0,_icons:{left:{icon:`kolicon-chevron-left`}}},{type:`button`,_label:`Next`,_hideLabel:!0,_icons:{right:{icon:`kolicon-chevron-right`}}},{type:`link`,_href:`#/back-page`,_label:`Simple Link 1`},{type:`link`,_href:`#/back-page`,_disabled:!0,_label:`Simple Link 3`},{type:`button`,_label:`Bold`}]})})]})}},Gz=()=>{let e=[`🐶`,`🐱`,`🐭`,`🐹`,`🐰`,`🦊`,`🐻`,`🐼`,`🐨`,`🐯`,`🦁`,`🐮`,`🐷`,`🐽`,`🐸`,`🐵`];return e[Math.floor(Math.random()*e.length)]},Kz={tree:{"basic/:subPage":()=>{let e=(0,w.useContext)(Zk),{subPage:t}=UD(),[n,r]=(0,w.useState)(`1 Home`),[i,a]=(0,w.useState)(!1),[o,s]=(0,w.useState)(!1),[c,l]=(0,w.useState)(!0),u=()=>{r(`1 Home ${Gz()}`)},d=n=>({_href:`#/tree/basic/${n}${e?`?hideMenus`:``}`,_active:n===t});return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolTree renders a keyboard accessible nested navigation. Branches of the tree can be collapsed or expanded.`})}),(0,X.jsx)(Z,{id:`tree`,fitContent:!0,children:(0,X.jsxs)(XT,{_label:`Sitemap`,class:`block w-fit`,children:[(0,X.jsx)(ZT,{_label:n,...d(`home`)}),(0,X.jsxs)(ZT,{_label:`2 About (open initially)`,...d(`about`),_open:!0,children:[(0,X.jsx)(ZT,{_label:`2.0 Legal`,...d(`legal`)}),(0,X.jsxs)(ZT,{_label:`2.1 Team`,...d(`team`),children:[(0,X.jsx)(ZT,{_label:`2.1.1. Values`,...d(`values`)}),(0,X.jsxs)(ZT,{_label:`2.1.2. Members`,...d(`members`),children:[(0,X.jsx)(ZT,{_label:`2.1.2.1 Humans`,...d(`humans`)}),i&&(0,X.jsx)(ZT,{_label:`2.1.2.2 Pets`,...d(`pets`)})]}),(0,X.jsx)(ZT,{_label:`2.1.3 Locations`,...d(`locations`),children:o&&(0,X.jsxs)(ZT,{_label:`2.1.3.1 Europe`,...d(`europe`),children:[(0,X.jsx)(ZT,{_label:`2.1.3.1.1 Denmark`,...d(`denmark`)}),(0,X.jsx)(ZT,{_label:`2.1.3.1.2 Netherlands`,...d(`netherlands`)})]})})]})]}),c&&(0,X.jsxs)(ZT,{_label:`3. Products`,...d(`products`),children:[(0,X.jsxs)(ZT,{_label:`3.1 Home`,...d(`home-products`),children:[(0,X.jsx)(ZT,{_label:`3.1.1 Refrigerators`,...d(`fridges`)}),(0,X.jsx)(ZT,{_label:`3.1.2 Coffee makers`,...d(`coffee-makers`)})]}),(0,X.jsx)(ZT,{_label:`3.1 Office`,...d(`office-products`),children:(0,X.jsx)(ZT,{_label:`3.2.1 Printers`,...d(`printers`)})})]})]})}),(0,X.jsxs)(`p`,{children:[`Current tree item: `,t??`none`]}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:`Change label for '1 Home'`,_on:{onClick:u}}),(0,X.jsx)(K,{_label:`Toggle '2.1.2.2 Pets'`,_on:{onClick:()=>a(!i)}}),(0,X.jsx)(K,{_label:`Toggle '2.2.1 Europe' (two levels at once)`,_on:{onClick:()=>s(!o)}}),(0,X.jsx)(K,{_label:`Toggle '3. Products'`,_on:{onClick:()=>l(!c)}})]})]})}}},qz={version:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolVersion renders a label showing the given version number.`})}),(0,X.jsx)(Z,{id:`basic`,fitContent:!0,children:(0,X.jsx)(QT,{_label:`1.1.1`})})]}),context:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolVersion inline with text paragraph content.`})}),(0,X.jsx)(Z,{id:`context`,children:(0,X.jsxs)(`p`,{children:[(0,X.jsx)(QT,{_label:`1.0.0`}),` Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`]})})]})}},Jz=[{left:`Left Example`,center:`Center Example`,right:`Right Example`}],Yz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolAccordion can have other KoliBri components as content. Some are shown here.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(lT,{_label:`With Combobox`,_open:!0,children:(0,X.jsx)(gT,{_label:`Combobox in Accordion`,_suggestions:`['Herr','Frau','Firma']`})}),(0,X.jsx)(lT,{_label:`With Table`,_open:!0,children:(0,X.jsx)(GT,{_label:`Table for demonstration purposes with different text align properties`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,width:300},{label:`center`,key:`center`,textAlign:`center`,width:300},{label:`right`,key:`right`,textAlign:`right`,width:300}]]},_data:Jz})})]})]}),Xz=({label:e})=>{let t=Rt.getInstance(document),n=(0,w.useRef)(null),r=(0,w.useRef)(null),i=()=>{t.enqueue({label:`Edit clicked`,description:`The button "edit" has been clicked for ${e}`,type:`info`})},a=()=>{t.enqueue({label:`Delete clicked`,description:`The button "delete" has been clicked for ${e}`,type:`warning`})};return(0,X.jsxs)(`div`,{style:{display:`flex`,gap:`calc(10rem / var(--kolibri-root-font-size, 16))`},onKeyUp:e=>{switch(e.code){case`KeyE`:n.current?.focus(),i();return;case`KeyD`:r.current?.focus(),a();return}},children:[(0,X.jsx)(K,{ref:n,_label:`Edit`,_shortKey:`e`,_on:{onClick:i}}),(0,X.jsx)(K,{ref:r,_label:`Delete`,_shortKey:`d`,_variant:`danger`,_on:{onClick:a}})]})},Zz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This scenario demonstrates an interactive table where each row contains buttons with shortcut keys. The shortcut keys provide visual keyboard indicators and are also functionally implemented.`}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`How to use:`}),` Move focus within one of the "Actions" cells and press "e" to edit or "d" to delete the corresponding row.`]})]}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`interactive-table-button`,heading:`Interactive Table with Button Shortkeys`,children:(0,X.jsx)(GT,{_label:`Interactive table with shortkey buttons in each row`,_data:[{label:`Row 1`},{label:`Row 2`},{label:`Row 3`},{label:`Row 4`}],_headers:{horizontal:[[{label:`Label`,key:`label`,textAlign:`left`,width:200},{label:`Actions`,key:`actions`,textAlign:`left`,width:150,render:(e,t)=>{let n=t.data;n?.label&&Nj($T(e)).render((0,X.jsx)(Xz,{label:n.label}))}}]]},_pagination:{_page:1}})})})]}),Qz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example show how different components works with tabIndex.`})}),(0,X.jsxs)(`div`,{className:`w-full grid gap-4`,children:[(0,X.jsx)(hT,{_label:`Button`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(K,{_label:`Button 1, Tabindex 4`,_variant:`primary`,tabIndex:4}),(0,X.jsx)(K,{_disabled:!0,_label:`Button 2, Tabindex 3`,_variant:`primary`,tabIndex:3}),(0,X.jsx)(K,{_label:`Button 3, Tabindex 2`,_variant:`primary`,tabIndex:2}),(0,X.jsx)(K,{_label:`Button 4, Tabindex 1`,_variant:`primary`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`ButtonLink`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(mT,{_label:`ButtonLink 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(mT,{_disabled:!0,_label:`ButtonLink 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(mT,{_label:`ButtonLink 3, Tabindex 2`,tabIndex:2}),(0,X.jsx)(mT,{_label:`ButtonLink 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`Combobox`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(gT,{_hint:rA,_label:`Combobox 1, Tabindex 4`,_suggestions:gj,_value:`Deutschland`,tabIndex:4}),(0,X.jsx)(gT,{_disabled:!0,_hint:rA,_label:`Combobox 2, Tabindex 3`,_suggestions:gj,_value:`Deutschland`,tabIndex:3}),(0,X.jsx)(gT,{_touched:!0,_hint:rA,_msg:{_type:`error`,_description:nA},_label:`Combobox 3, Tabindex 2`,_suggestions:gj,_value:`Deutschland`,tabIndex:2}),(0,X.jsx)(gT,{_hint:rA,_label:`Combobox 4, Tabindex 1`,_suggestions:gj,_value:`Deutschland`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputCheckbox`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(CT,{_label:`InputCheckbox 4, Tabindex 1`,_value:!1,tabIndex:4}),(0,X.jsx)(CT,{_disabled:!0,_label:`InputCheckbox 3, Tabindex 2`,_value:!1,tabIndex:3}),(0,X.jsx)(CT,{_touched:!0,_label:`InputCheckbox 2, Tabindex 3`,_msg:{_type:`error`,_description:nA},_value:!1,tabIndex:2}),(0,X.jsx)(CT,{_label:`InputCheckbox 1, Tabindex 4`,_value:!1,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputColor`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(wT,{_value:`#f08080`,_label:`InputCheckbox 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(wT,{_disabled:!0,_value:`#f08080`,_label:`InputCheckbox 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(wT,{_touched:!0,_value:`#f08080`,_label:`InputCheckbox 3, Tabindex 2`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(wT,{_value:`#f08080`,_label:`InputCheckbox 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputDate`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(TT,{_type:`datetime-local`,_label:`InputCheckbox 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(TT,{_disabled:!0,_type:`datetime-local`,_label:`InputCheckbox 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(TT,{_touched:!0,_type:`datetime-local`,_label:`InputCheckbox 3, Tabindex 2`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(TT,{_type:`datetime-local`,_label:`InputCheckbox 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputEmail`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(ET,{_label:`InputEmail 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(ET,{_disabled:!0,_label:`InputEmail 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(ET,{_touched:!0,_label:`InputEmail 3, Tabindex 2`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(ET,{_label:`InputEmail 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputFile`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(DT,{_label:`InputFile 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(DT,{_disabled:!0,_label:`InputFile 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(DT,{_touched:!0,_label:`InputFile 3, Tabindex 2`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(DT,{_label:`InputFile 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputNumber`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(OT,{_label:`InputNumber 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(OT,{_disabled:!0,_label:`InputNumber 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(OT,{_touched:!0,_label:`InputNumber 3, Tabindex 2`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(OT,{_label:`InputNumber 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputPassword`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(kT,{_label:`InputPassword 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(kT,{_disabled:!0,_label:`InputPassword 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(kT,{_touched:!0,_label:`InputPassword 3, Tabindex 2`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(kT,{_label:`InputPassword 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputRadio`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(AT,{_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`InputRadio 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(AT,{_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`InputRadio 2, Tabindex 3`,_disabled:!0,tabIndex:3}),(0,X.jsx)(AT,{_touched:!0,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`InputRadio 3, Tabindex 2`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(AT,{_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`InputRadio 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputRange`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(jT,{_label:`InputRange 1, Tabindex 4`,_min:0,_max:50,tabIndex:4}),(0,X.jsx)(jT,{_disabled:!0,_label:`InputRange 2, Tabindex 3`,_min:0,_max:50,tabIndex:3}),(0,X.jsx)(jT,{_touched:!0,_label:`InputRange 3, Tabindex 2`,_min:0,_max:50,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(jT,{_label:`InputRange 4, Tabindex 1`,_min:0,_max:50,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`InputText`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(J,{_label:`InputText 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(J,{_disabled:!0,_label:`InputText 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(J,{_touched:!0,_label:`InputText 3, Tabindex 2`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(J,{_label:`InputText 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`LinkButton`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(NT,{_href:`#/back-page`,_label:`InputText 1, Tabindex 4`,_variant:`primary`,tabIndex:4}),(0,X.jsx)(NT,{_disabled:!0,_href:`#/back-page`,_label:`InputText 2, Tabindex 3`,_variant:`primary`,tabIndex:3}),(0,X.jsx)(NT,{_href:`#/back-page`,_label:`InputText 3, Tabindex 2`,_variant:`primary`,tabIndex:2}),(0,X.jsx)(NT,{_href:`#/back-page`,_label:`InputText 4, Tabindex 1`,_variant:`primary`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`Link`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`InputText 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(Y,{_disabled:!0,_href:`#/back-page`,_label:`InputText 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`InputText 3, Tabindex 2`,tabIndex:2}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`InputText 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`SingleSelect`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(VT,{_label:`InputText 1, Tabindex 4`,_options:hj,_value:`de`,tabIndex:4}),(0,X.jsx)(VT,{_disabled:!0,_label:`InputText 2, Tabindex 3`,_options:hj,_value:`de`,tabIndex:3}),(0,X.jsx)(VT,{_touched:!0,_label:`InputText 3, Tabindex 2`,_options:hj,_msg:{_type:`error`,_description:nA},_value:`de`,tabIndex:2}),(0,X.jsx)(VT,{_label:`InputText 4, Tabindex 1`,_options:hj,_value:`de`,tabIndex:1})]})}),(0,X.jsx)(hT,{_label:`SplitButton`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(WT,{_label:`InputText 1, Tabindex 4`,tabIndex:4,children:`Dropdown-Inhalt`}),(0,X.jsx)(WT,{_label:`InputText 2, Tabindex 3`,tabIndex:3,_disabled:!0,children:`Dropdown-Inhalt`}),(0,X.jsx)(WT,{_label:`InputText 3, Tabindex 2`,tabIndex:2,children:`Dropdown-Inhalt`}),(0,X.jsx)(WT,{_label:`InputText 4, Tabindex 1`,tabIndex:1,children:`Dropdown-Inhalt`})]})}),(0,X.jsx)(hT,{_label:`Textarea`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(JT,{_label:`Textarea 1, Tabindex 4`,_rows:3,_placeholder:`Placeholder`,tabIndex:4}),(0,X.jsx)(JT,{_disabled:!0,_label:`Textarea 2, Tabindex 3`,_rows:3,_placeholder:`Placeholder`,tabIndex:3}),(0,X.jsx)(JT,{_touched:!0,_label:`Textarea 3, Tabindex 2`,_rows:3,_placeholder:`Placeholder`,_msg:{_type:`error`,_description:nA},tabIndex:2}),(0,X.jsx)(JT,{_label:`Textarea 4, Tabindex 1`,_rows:3,_placeholder:`Placeholder`,tabIndex:1})]})})]})]}),$z=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates how tooltip animation duration and width can be customized via`,(0,X.jsx)(`code`,{children:`--kolibri-tooltip-animation-duration`}),` and `,(0,X.jsx)(`code`,{children:`--kol-tooltip-width`}),`.`]})}),(0,X.jsxs)(`div`,{className:`flex justify-center items-center gap-4`,children:[(0,X.jsx)(K,{_label:`Custom duration`,_hideLabel:!0,style:{"--kolibri-tooltip-animation-duration":`2500ms`},_icons:`fa-solid fa-clock`,_on:t}),(0,X.jsx)(K,{_label:`Custom width`,_hideLabel:!0,style:{"--kol-tooltip-width":`400px`},_icons:`kolicon-chevron-up`,_on:t})]})]})},eB=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolForm with KolInputDate inside to make sure enter on the date icon does not submit the form.`})}),(0,X.jsxs)(bT,{_on:{onSubmit:()=>{console.error(`submitted`),alert(`submitted`)}},children:[(0,X.jsx)(TT,{_label:`date`,_name:`datum`}),(0,X.jsx)(K,{_label:`Submit`,_type:`submit`})]})]}),tB=[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],nB=()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This example shows how deactivated interactive elements are displayed.`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:`Deactivated interactive elements pose a particular challenge for accessibility.`}),(0,X.jsx)(`li`,{children:`It must not be possible to focus on deactivated interactive elements, otherwise the tab paths will be unnecessarily extended.`}),(0,X.jsx)(`li`,{children:`Deactivated interactive elements should be labelled clearly and legibly.`}),(0,X.jsx)(`li`,{children:`Deactivated interactive elements have a tooltip for sighted people and aria labelling for the screen readers reading mode if they are represented by an interpretable graphic.`})]}),(0,X.jsx)(`p`,{children:`This implementation ensures standardized use for all users.`})]}),(0,X.jsxs)(`div`,{className:`w-full grid gap-4`,children:[(0,X.jsx)(hT,{_label:`Button`,_level:0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`Label`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_label:`Label`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`fa-solid fa-house`,_label:`Label`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`fa-solid fa-house`,_label:`Label`,_on:t})]})}),(0,X.jsx)(hT,{_label:`ButtonLink`,_level:0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(mT,{_label:`Label`}),(0,X.jsx)(mT,{_disabled:!0,_label:`Label`}),(0,X.jsx)(mT,{_hideLabel:!0,_icons:`fa-solid fa-house`,_label:`Label`}),(0,X.jsx)(mT,{_hideLabel:!0,_icons:`fa-solid fa-house`,_disabled:!0,_label:`Label`})]})}),(0,X.jsx)(hT,{_label:`Link`,_level:0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(Y,{_href:`#`,_label:`Label`}),(0,X.jsx)(Y,{_disabled:!0,_href:`#`,_label:`Label`}),(0,X.jsx)(Y,{_hideLabel:!0,_href:`#`,_icons:`fa-solid fa-house`,_label:`Label`}),(0,X.jsx)(Y,{_disabled:!0,_hideLabel:!0,_href:`#`,_icons:`fa-solid fa-house`,_label:`Label`})]})}),(0,X.jsx)(hT,{_label:`LinkButton`,_level:0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(NT,{_href:`#`,_label:`Label`}),(0,X.jsx)(NT,{_disabled:!0,_href:`#`,_label:`Label`}),(0,X.jsx)(NT,{_hideLabel:!0,_href:`#`,_icons:`fa-solid fa-house`,_label:`Label`}),(0,X.jsx)(NT,{_disabled:!0,_hideLabel:!0,_href:`#`,_icons:`fa-solid fa-house`,_label:`Label`})]})}),(0,X.jsx)(hT,{_label:`Accordion`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(lT,{_label:`Label`,children:`Content`}),(0,X.jsx)(lT,{_disabled:!0,_label:`Label`,children:`Content`}),(0,X.jsx)(lT,{_label:`Label (open)`,_open:!0,children:`Content`}),(0,X.jsx)(lT,{_disabled:!0,_label:`Label (open)`,_open:!0,children:`Content`})]})}),(0,X.jsx)(hT,{_label:`Details`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(_T,{_label:`Label`,children:`Content`}),(0,X.jsx)(_T,{_disabled:!0,_label:`Label`,children:`Content`}),(0,X.jsx)(_T,{_label:`Label (open)`,_open:!0,children:`Content`}),(0,X.jsx)(_T,{_disabled:!0,_label:`Label (open)`,_open:!0,children:`Content`})]})}),[CT,wT,TT,ET,DT,OT,kT,jT,J].map(e=>{let t=e.render.displayName;return(0,X.jsx)(hT,{_label:t,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(e,{_label:`Label`}),(0,X.jsx)(e,{_disabled:!0,_label:`Label`}),(0,X.jsx)(e,{_hideLabel:!0,_label:`Label`}),(0,X.jsx)(e,{_disabled:!0,_hideLabel:!0,_label:`Label`})]})},t)}),[AT,BT].map(e=>{let t=e.render.displayName;return(0,X.jsx)(hT,{_label:t,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(e,{_label:`Label`,_options:tB}),(0,X.jsx)(e,{_disabled:!0,_label:`Label`,_options:tB}),(0,X.jsx)(e,{_hideLabel:!0,_label:`Label`,_options:tB}),(0,X.jsx)(e,{_disabled:!0,_hideLabel:!0,_label:`Label`,_options:tB})]})},t)}),(0,X.jsx)(hT,{_label:`KolTextarea`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(JT,{_label:`Label`,_rows:3}),(0,X.jsx)(JT,{_disabled:!0,_label:`Label`,_rows:3}),(0,X.jsx)(JT,{_hideLabel:!0,_label:`Label`,_rows:3}),(0,X.jsx)(JT,{_disabled:!0,_hideLabel:!0,_label:`Label`,_rows:3})]})})]})]})},rB=()=>{let e=new Map;return e.set(`accordion`,(e,t)=>(0,X.jsx)(lT,{className:`w-full`,_label:`Accordion here`,ref:t})),e.set(`badge`,(e,t)=>(0,X.jsx)(fT,{className:`w-full`,_label:`Badge with button`,_smartButton:{_label:`Action`,_icons:`kolicon-house`,_on:{onClick:()=>{}}},ref:t})),e.set(`button`,(e,t)=>(0,X.jsx)(K,{_label:`Button here`,ref:t})),e.set(`buttonLink`,(e,t)=>(0,X.jsx)(mT,{_label:`ButtonLink here`,ref:t})),e.set(`card`,(e,t)=>(0,X.jsx)(hT,{className:`w-full`,_label:`Card with link here`,_href:`#`,ref:t})),e.set(`combobox`,(e,t)=>(0,X.jsx)(gT,{className:`w-full`,_label:`KolCombobox here`,_suggestions:[],ref:t})),e.set(`details`,(e,t)=>(0,X.jsx)(_T,{className:`w-full`,_label:`Details here`,ref:t,children:`detailed details`})),e.set(`inputCheckbox`,(e,t)=>(0,X.jsx)(CT,{className:`w-full`,_name:`checkbox`,_label:`Checkbox`,ref:t})),e.set(`inputColor`,(e,t)=>(0,X.jsx)(wT,{className:`w-full`,_name:`color`,_label:`Color`,ref:t})),e.set(`inputDate`,(e,t)=>(0,X.jsx)(TT,{className:`w-full`,_name:`date`,_label:`Date`,ref:t})),e.set(`inputEmail`,(e,t)=>(0,X.jsx)(ET,{className:`w-full`,_name:`email`,_label:`Email`,ref:t})),e.set(`inputFile`,(e,t)=>(0,X.jsx)(DT,{className:`w-full`,_name:`file`,_label:`File`,ref:t})),e.set(`inputFileMultiple`,(e,t)=>(0,X.jsx)(DT,{className:`w-full`,_name:`file`,_label:`Files (multiple)`,_multiple:!0,ref:t})),e.set(`inputNumber`,(e,t)=>(0,X.jsx)(OT,{className:`w-full`,_name:`number`,_label:`Number`,ref:t})),e.set(`inputPassword`,(e,t)=>(0,X.jsx)(kT,{className:`w-full`,_name:`password`,_label:`Password`,ref:t})),e.set(`inputRadio`,(e,t)=>(0,X.jsx)(AT,{className:`w-full`,_name:`radio`,_label:`Radio`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],_value:`A`,ref:t})),e.set(`inputRange`,(e,t)=>(0,X.jsx)(jT,{className:`w-full`,_name:`range`,_label:`Range`,ref:t})),e.set(`inputText`,(e,t)=>(0,X.jsx)(J,{className:`w-full`,_name:`text`,_label:`Text`,ref:t})),e.set(`link`,(e,t)=>(0,X.jsx)(Y,{className:`w-full`,_label:`Link here`,_href:`#`,ref:t})),e.set(`linkButton`,(e,t)=>(0,X.jsx)(`div`,{children:(0,X.jsx)(NT,{_label:`LinkButton here`,_href:`#`,ref:t})})),e.set(`popoverButton`,(e,t)=>(0,X.jsx)(LT,{_label:`PopoverButton here`,ref:t})),e.set(`select`,(e,t)=>(0,X.jsx)(BT,{className:`w-full`,_name:`select`,_label:`Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],ref:t})),e.set(`selectMultiple`,(e,t)=>(0,X.jsx)(BT,{className:`w-full`,_name:`select`,_label:`Select (multiple)`,_multiple:!0,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],_rows:2,ref:t})),e.set(`singleSelect`,(e,t)=>(0,X.jsx)(VT,{className:`w-full`,_name:`singleSelect`,_label:`Single Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],ref:t})),e.set(`skipNav`,(e,t)=>(0,X.jsx)(HT,{_label:`SkipNav`,_links:[{_label:`Skip to main content`,_href:`#main`}],ref:t})),e.set(`splitButton`,(e,t)=>(0,X.jsx)(WT,{_label:`SplitButton here`,ref:t})),e.set(`tabs`,(e,t)=>(0,X.jsx)(qT,{className:`w-full`,_label:`Tabs here`,_tabs:[{_label:`Tab 1`},{_label:`Tab 2`},{_label:`Tab 3`}],ref:t,children:`Tab content`})),e.set(`textarea`,(e,t)=>(0,X.jsx)(JT,{className:`w-full`,_name:`textarea`,_label:`Textarea`,_rows:5,ref:t})),e.set(`toolbar`,(e,t)=>(0,X.jsx)(YT,{className:`w-full`,_label:`Toolbar here`,_items:[{type:`button`,_label:`Action 1`},{type:`button`,_label:`Action 2`}],ref:t})),e.set(`tree`,(e,t)=>(0,X.jsxs)(XT,{className:`w-full`,_label:`Tree here`,ref:t,children:[(0,X.jsx)(ZT,{_label:`1 Home`,_href:`#`}),(0,X.jsxs)(ZT,{_label:`2 Products`,_href:`#`,_open:!0,children:[(0,X.jsx)(ZT,{_label:`2.1 Electronics`,_href:`#`}),(0,X.jsx)(ZT,{_label:`2.2 Furniture`,_href:`#`})]}),(0,X.jsx)(ZT,{_label:`3 Services`,_href:`#`})]})),e},iB=e=>{let t=[...(0,w.useMemo)(()=>rB(),[]).keys()].map(e=>e);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample serves for automated tests of the focus state for input components. When loading one of the examples linked below, focus will be set on the element initially. When testing manually, you may have to reload the page after opening an example.`})}),e.invalidComponent&&(0,X.jsx)(uT,{_type:`error`,_variant:`card`,children:`Component not found.`}),(0,X.jsx)(q,{_level:2,_label:`Focus Test Cases`}),(0,X.jsx)(`ul`,{children:t.map(e=>(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_label:e,_href:`#/scenarios/focus-elements?component=${e}`})},e))})]})},aB=()=>{let e=(0,w.useMemo)(()=>rB(),[]),[t]=tk(),n=t.get(`component`),r=n?e.get(n):void 0,i=(0,w.useMemo)(()=>r?(0,w.forwardRef)(r):null,[r]),a=(0,w.useCallback)(e=>{e&&e.focus()},[n]);return n?i?(0,X.jsx)(`div`,{children:(0,X.jsx)(i,{ref:a})}):(0,X.jsx)(iB,{invalidComponent:!0}):(0,X.jsx)(iB,{})},oB=[{name:`Elephant`,species:`Loxodonta`,habitat:`Savannah`,diet:`Herbivore`,lifespan:60},{name:`Tiger`,species:`Panthera tigris`,habitat:`Forest`,diet:`Carnivore`,lifespan:20},{name:`Kangaroo`,species:`Macropus`,habitat:`Grassland`,diet:`Herbivore`,lifespan:23},{name:`Penguin`,species:`Aptenodytes forsteri`,habitat:`Antarctica`,diet:`Carnivore`,lifespan:20},{name:`Giraffe`,species:`Giraffa camelopardalis`,habitat:`Savannah`,diet:`Herbivore`,lifespan:25},{name:`Panda`,species:`Ailuropoda melanoleuca`,habitat:`Forest`,diet:`Herbivore`,lifespan:20},{name:`Dolphin`,species:`Delphinus delphis`,habitat:`Ocean`,diet:`Carnivore`,lifespan:40},{name:`Eagle`,species:`Aquila chrysaetos`,habitat:`Mountains`,diet:`Carnivore`,lifespan:30},{name:`Koala`,species:`Phascolarctos cinereus`,habitat:`Forest`,diet:`Herbivore`,lifespan:18},{name:`Lion`,species:`Panthera leo`,habitat:`Savannah`,diet:`Carnivore`,lifespan:15},{name:`Zebra`,species:`Equus quagga`,habitat:`Savannah`,diet:`Herbivore`,lifespan:25},{name:`Wolf`,species:`Canis lupus`,habitat:`Forest`,diet:`Carnivore`,lifespan:14},{name:`Cheetah`,species:`Acinonyx jubatus`,habitat:`Savannah`,diet:`Carnivore`,lifespan:12},{name:`Polar Bear`,species:`Ursus maritimus`,habitat:`Arctic`,diet:`Carnivore`,lifespan:25},{name:`Rhinoceros`,species:`Rhinocerotidae`,habitat:`Savannah`,diet:`Herbivore`,lifespan:40},{name:`Hippopotamus`,species:`Hippopotamus amphibius`,habitat:`Rivers`,diet:`Herbivore`,lifespan:45},{name:`Chimpanzee`,species:`Pan troglodytes`,habitat:`Forest`,diet:`Omnivore`,lifespan:50},{name:`Orangutan`,species:`Pongo`,habitat:`Forest`,diet:`Omnivore`,lifespan:45},{name:`Leopard`,species:`Panthera pardus`,habitat:`Forest`,diet:`Carnivore`,lifespan:17},{name:`Hyena`,species:`Hyaenidae`,habitat:`Savannah`,diet:`Carnivore`,lifespan:25},{name:`Crocodile`,species:`Crocodylidae`,habitat:`Rivers`,diet:`Carnivore`,lifespan:70},{name:`Alligator`,species:`Alligatoridae`,habitat:`Swamps`,diet:`Carnivore`,lifespan:50},{name:`Ostrich`,species:`Struthio camelus`,habitat:`Savannah`,diet:`Omnivore`,lifespan:40},{name:`Flamingo`,species:`Phoenicopterus`,habitat:`Lakes`,diet:`Omnivore`,lifespan:30},{name:`Peacock`,species:`Pavo cristatus`,habitat:`Forest`,diet:`Omnivore`,lifespan:20},{name:`Parrot`,species:`Psittaciformes`,habitat:`Forest`,diet:`Omnivore`,lifespan:50},{name:`Toucan`,species:`Ramphastidae`,habitat:`Forest`,diet:`Omnivore`,lifespan:20},{name:`Sloth`,species:`Folivora`,habitat:`Forest`,diet:`Herbivore`,lifespan:30},{name:`Armadillo`,species:`Dasypodidae`,habitat:`Grassland`,diet:`Omnivore`,lifespan:15},{name:`Anteater`,species:`Myrmecophaga tridactyla`,habitat:`Forest`,diet:`Insectivore`,lifespan:14},{name:`Bat`,species:`Chiroptera`,habitat:`Caves`,diet:`Omnivore`,lifespan:20},{name:`Otter`,species:`Lutrinae`,habitat:`Rivers`,diet:`Carnivore`,lifespan:16},{name:`Beaver`,species:`Castor`,habitat:`Rivers`,diet:`Herbivore`,lifespan:24},{name:`Moose`,species:`Alces alces`,habitat:`Forest`,diet:`Herbivore`,lifespan:20},{name:`Deer`,species:`Cervidae`,habitat:`Forest`,diet:`Herbivore`,lifespan:20},{name:`Bison`,species:`Bison bison`,habitat:`Grassland`,diet:`Herbivore`,lifespan:20},{name:`Buffalo`,species:`Syncerus caffer`,habitat:`Savannah`,diet:`Herbivore`,lifespan:25},{name:`Camel`,species:`Camelus`,habitat:`Desert`,diet:`Herbivore`,lifespan:50},{name:`Llama`,species:`Lama glama`,habitat:`Mountains`,diet:`Herbivore`,lifespan:20},{name:`Alpaca`,species:`Vicugna pacos`,habitat:`Mountains`,diet:`Herbivore`,lifespan:20},{name:`Goat`,species:`Capra aegagrus hircus`,habitat:`Mountains`,diet:`Herbivore`,lifespan:18},{name:`Sheep`,species:`Ovis aries`,habitat:`Grassland`,diet:`Herbivore`,lifespan:12},{name:`Cow`,species:`Bos taurus`,habitat:`Grassland`,diet:`Herbivore`,lifespan:20},{name:`Pig`,species:`Sus scrofa domesticus`,habitat:`Farm`,diet:`Omnivore`,lifespan:15},{name:`Chicken`,species:`Gallus gallus domesticus`,habitat:`Farm`,diet:`Omnivore`,lifespan:10}],sB=[{_icons:`fa-solid fa-chart-pie`,_label:`Erster Tab`},{_icons:`fa-solid fa-calendar`,_label:`Zweiter Tab`,_disabled:!0},{_icons:`fa-solid fa-briefcase`,_label:`Deaktivierter Tab`,_disabled:!0},{_icons:`fa-solid fa-address-card`,_label:`Letzter Tab`,_disabled:!0}],cB={horizontal:[[{key:`name`,label:`Name`,textAlign:`left`},{key:`species`,label:`Species`,textAlign:`left`},{key:`habitat`,label:`Habitat`,textAlign:`left`},{key:`diet`,label:`Diet`,textAlign:`left`},{key:`lifespan`,label:`lifespan`,textAlign:`right`}]]};function lB(){return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This advanced scenario demonstrates a complex layout with KolTable featuring horizontal scrollbar within a tab-based navigation system. The table automatically calculates its minimum width based on column definitions and provides smooth horizontal scrolling when content exceeds the container width. This example showcases real-world usage in a dashboard-like interface with sidebar navigation and tabbed content areas.`})}),(0,X.jsxs)(`div`,{className:`mainlayout`,children:[(0,X.jsx)(`aside`,{className:`nav-area`,children:(0,X.jsx)(FT,{_label:`Main navigation`,_links:lI,_hasCompactButton:!0,_hasIconsWhenExpanded:!0})}),(0,X.jsx)(`div`,{className:`content`,children:(0,X.jsxs)(qT,{_tabs:sB,_align:`top`,_label:`Demo Tabs`,children:[(0,X.jsx)(`div`,{style:{overflow:`hidden`},children:(0,X.jsx)(GT,{_label:`Table for demonstration purposes with horizontal scrollbar`,_headers:cB,_data:oB,_pagination:{_page:1},className:`block`})}),(0,X.jsx)(`div`,{}),(0,X.jsx)(`div`,{}),(0,X.jsx)(`div`,{})]})})]})]})}var uB=()=>{let e=`Unrecognized phone number.`;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This sample shows how input components can be grouped together with just one error message, without repeating the message for every field.`}),(0,X.jsx)(`p`,{children:`The sample only demonstrates how the errors can be displayed, an actual validation logic is not part of the example.`})]}),(0,X.jsxs)(`fieldset`,{children:[(0,X.jsx)(`legend`,{children:`Phone number`}),(0,X.jsx)(uT,{_alert:!0,_type:`error`,_label:e}),(0,X.jsxs)(`div`,{className:`grid grid-cols-3 gap-4 max-w-2xl`,children:[(0,X.jsx)(BT,{_options:[{label:`United States +1`,value:`1`},{label:`Greece +30 `,value:`30`},{label:`Germany +49`,value:`49`},{label:`Japan +81`,value:`81`}],_label:`CountryCode `,_msg:{_description:e,_type:`error`},_touched:!0,_hideMsg:!0}),(0,X.jsx)(J,{_label:`Area code`,_msg:{_description:e,_type:`error`},_touched:!0,_hideMsg:!0}),(0,X.jsx)(J,{_label:`Local number`,_msg:{_description:e,_type:`error`},_touched:!0,_hideMsg:!0})]})]}),(0,X.jsxs)(`fieldset`,{className:`mt`,children:[(0,X.jsx)(`legend`,{children:`Pizza toppings`}),(0,X.jsx)(uT,{_alert:!0,_type:`error`,_label:`Choose at least two and up to five toppings.`}),[`Mushrooms`,`Bell Peppers`,`Onions`,`Olives`,`Spinach`,`Tomatoes`,`Artichokes`,`Zucchini`,`Jalapeños`,`Basil`].map(t=>(0,X.jsx)(CT,{_label:t,_msg:{_description:e,_type:`error`},_touched:!0,_hideMsg:!0},t))]})]})},dB=(0,w.createContext)(void 0),fB=(0,w.createContext)(!1),pB=e=>{let t=(0,w.useRef)(null),[n,r]=(0,w.useState)(void 0),[i,a]=(0,w.useState)(e.inputProps._value),o=e.formatter||JSON.stringify,s=(0,w.useContext)(dB),c=(0,w.useContext)(fB),l=(0,w.useCallback)(async()=>{let e=await t.current?.getValue();r(e)},[]);(0,w.useEffect)(()=>{let e=()=>{l()};return s?.addEventListener(`runAll`,e),()=>{s?.removeEventListener(`runAll`,e)}},[s,l]);let u=Object.fromEntries([`onInput`,`onChange`,`onBlur`,`onClick`,`onFocus`,`onMouseDown`].map(t=>[t,(n,r)=>{c&&console.log(e.inputProps._label,t,r,n),t===`onInput`&&a(r)}]));return(0,X.jsx)(X.Fragment,{children:(0,X.jsxs)(`div`,{className:`grid grid-cols-3 items-end gap-4`,"data-testid":e.testId,children:[(0,X.jsx)(e.InputComponent,{ref:t,_on:u,...e.inputProps,_value:i}),(0,X.jsx)(K,{_label:`getValue()`,_on:{onClick:()=>{l()}}}),(0,X.jsx)(`pre`,{className:`text-base`,children:o(n)})]})})},mB=()=>{let e=(0,w.useMemo)(()=>new EventTarget,[]),[t,n]=(0,w.useState)(!0);return(0,X.jsx)(X.Fragment,{children:(0,X.jsx)(dB.Provider,{value:e,children:(0,X.jsxs)(fB.Provider,{value:t,children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows how the input components `,(0,X.jsx)(`code`,{children:`getValue()`}),` method works. It's called when clicking the "getValue()" button and prints the current value right next to itself.`]})}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col`,children:[(0,X.jsx)(hT,{_label:`Sample options`,className:`block ha mb-8`,children:(0,X.jsx)(CT,{_label:`Log events to console`,_value:!0,_checked:t,_on:{onChange:(e,t)=>n(t)}})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(pB,{testId:`scenario-inputText`,InputComponent:J,inputProps:{_label:`InputText`}}),(0,X.jsx)(pB,{testId:`scenario-inputCheckboxString`,InputComponent:CT,inputProps:{_label:`KolInputCheckbox (value)`,_value:`Checkbox True Value`}}),(0,X.jsx)(pB,{testId:`scenario-inputCheckboxBoolean`,InputComponent:CT,inputProps:{_label:`KolInputCheckbox (boolean)`}}),(0,X.jsx)(pB,{testId:`scenario-inputColor`,InputComponent:wT,inputProps:{_label:`KolInputColor`}}),(0,X.jsx)(pB,{testId:`scenario-inputDate`,InputComponent:TT,inputProps:{_label:`KolInputDate`}}),(0,X.jsx)(pB,{testId:`scenario-inputEmail`,InputComponent:ET,inputProps:{_label:`KolInputEmail`}}),(0,X.jsx)(pB,{testId:`scenario-inputFile`,InputComponent:DT,inputProps:{_label:`KolInputFile`},formatter:e=>e instanceof FileList?`FileList{${Array.from(e).map(e=>e.name).join(`, `)}}`:JSON.stringify(e)}),(0,X.jsx)(pB,{testId:`scenario-inputNumber`,InputComponent:OT,inputProps:{_label:`KolInputNumber`}}),(0,X.jsx)(pB,{testId:`scenario-inputPassword`,InputComponent:kT,inputProps:{_label:`KolInputPassword`}}),(0,X.jsx)(pB,{testId:`scenario-inputRange`,InputComponent:jT,inputProps:{_label:`KolInputRange`}}),(0,X.jsx)(pB,{testId:`scenario-inputRadio`,InputComponent:AT,inputProps:{_label:`KolInputRadio`,_orientation:`horizontal`,_options:[{label:`New York`,value:`New York`},{label:`Rio de Janeiro`,value:`Rio de Janeiro`},{label:`Rosenheim`,value:`Rosenheim`}],_value:`New York`}}),(0,X.jsx)(pB,{testId:`scenario-select`,InputComponent:BT,inputProps:{_label:`KolSelect`,_options:[{label:`New York`,value:`New York`},{label:`Rio de Janeiro`,value:`Rio de Janeiro`},{label:`Rosenheim`,value:`Rosenheim`}]}}),(0,X.jsx)(pB,{testId:`scenario-singleSelect`,InputComponent:VT,inputProps:{_label:`KolSingleSelect`,_options:[{label:`New York`,value:`New York`},{label:`Rio de Janeiro`,value:`Rio de Janeiro`},{label:`Rosenheim`,value:`Rosenheim`}],_value:`Rosenheim`}}),(0,X.jsx)(pB,{testId:`scenario-combobox`,InputComponent:gT,inputProps:{_label:`KolCombobox`,_suggestions:gj,_value:`Deutschland`}}),(0,X.jsx)(pB,{testId:`scenario-textarea`,InputComponent:JT,inputProps:{_label:`KolTextarea`}}),(0,X.jsx)(pB,{testId:`scenario-button`,InputComponent:K,inputProps:{_label:`KolButton`,_variant:`ghost`,_value:`KolButton value`}}),(0,X.jsx)(pB,{testId:`scenario-buttonLink`,InputComponent:mT,inputProps:{_label:`KolButtonLink`,_value:`KolButtonLink value`}}),(0,X.jsxs)(`div`,{className:`grid grid-cols-3 gap-4`,children:[(0,X.jsx)(`div`,{}),(0,X.jsx)(K,{_label:`Run all`,_variant:`primary`,_on:{onClick:()=>{e.dispatchEvent(new Event(`runAll`))}}})]})]})]})]})})})},hB=()=>{let e=e=>[{text:e},{text:`partly english`,lang:`en`},{text:` Label`,lang:`de`}],t=[{_label:e(`Link `),_href:`#/`},{_label:e(`Link `),_href:`#/`}],n=[{_label:e(`Tab `)},{_label:`Second Tab`}];return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Label can use additional language attributes for screenreaders.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`label-lang-accordion`,children:(0,X.jsx)(lT,{_label:e(`Accordion `),children:(0,X.jsx)(`p`,{children:`Contents Accordion`})})}),(0,X.jsx)(Z,{id:`label-lang-alert`,children:(0,X.jsx)(uT,{_label:e(`Alert `),children:`This is the text of the alert.`})}),(0,X.jsx)(Z,{id:`label-lang-badge`,children:(0,X.jsx)(fT,{_label:e(`Badge `)})}),(0,X.jsx)(Z,{id:`label-lang-breadcrumb`,children:(0,X.jsx)(pT,{_label:`Breadcrumb`,_links:t})}),(0,X.jsx)(Z,{id:`label-lang-button`,children:(0,X.jsx)(K,{_label:e(`Button `)})}),(0,X.jsx)(Z,{id:`label-lang-button-link`,children:(0,X.jsx)(mT,{_label:e(`ButtonLink `)})}),(0,X.jsx)(Z,{id:`label-lang-card`,children:(0,X.jsx)(hT,{_label:e(`Card `),children:`Inhaltsbereich`})}),(0,X.jsx)(Z,{id:`label-lang-details`,children:(0,X.jsx)(_T,{_label:e(`Details `),children:(0,X.jsx)(`p`,{children:`Contents Details`})})}),(0,X.jsx)(Z,{id:`label-lang-heading`,children:(0,X.jsx)(q,{_label:e(`Heading `),_level:1})}),(0,X.jsx)(Z,{id:`label-lang-checkbox`,children:(0,X.jsx)(CT,{_label:e(`Checkbox`)})}),(0,X.jsx)(Z,{id:`label-lang-input`,children:(0,X.jsx)(J,{_label:e(`Input `)})}),(0,X.jsx)(Z,{id:`label-lang-link`,children:(0,X.jsx)(Y,{_label:e(`Link `),_href:``})}),(0,X.jsx)(Z,{id:`label-lang-link-button`,children:(0,X.jsx)(NT,{_label:e(`LinkButton `),_href:``})}),(0,X.jsx)(Z,{id:`label-lang-meter`,children:(0,X.jsx)(PT,{_label:e(`Meter `),_max:1024,_min:0,_unit:`MB`,_value:512})}),(0,X.jsx)(Z,{id:`label-lang-nav`,children:(0,X.jsx)(FT,{_label:`Navi`,_links:t})}),(0,X.jsx)(Z,{id:`label-lang-popover`,children:(0,X.jsx)(LT,{_label:e(`Popover `),children:`Text`})}),(0,X.jsx)(Z,{id:`label-lang-progress`,children:(0,X.jsx)(RT,{_label:e(`Progress `),_max:100,_value:45,_variant:`bar`})}),(0,X.jsx)(Z,{id:`label-lang-quote`,children:(0,X.jsx)(zT,{_href:`https://public-ui.github.io/docs`,_label:e(`Quote `),_quote:`Quote.`,_variant:`inline`})}),(0,X.jsx)(Z,{id:`label-lang-table`,children:(0,X.jsx)(GT,{_label:e(`Table `),_data:[],_headers:{horizontal:[[{label:`ID`,key:`id`,width:160}]]}})}),(0,X.jsx)(Z,{id:`label-lang-tabs`,children:(0,X.jsx)(qT,{_tabs:n,_label:`Regular tabs`})}),(0,X.jsx)(Z,{id:`label-lang-toolbar`,children:(0,X.jsx)(YT,{_label:`Toolbar`,_items:[{type:`button`,_label:e(`Button `)},{type:`link`,_label:e(`Link `),_href:`#`}]})}),(0,X.jsx)(Z,{id:`label-lang-tree`,children:(0,X.jsx)(XT,{_label:`Tree`,children:(0,X.jsx)(ZT,{_label:e(`TreeItem `),_href:`#/`})})})]})]})},gB=()=>{let[e,t]=(0,w.useState)(100),[n,r]=(0,w.useState)(null),[i,a]=(0,w.useState)(null),[o,s]=(0,w.useState)(!1),c={onInput:(e,n)=>{t(n)}},l=(e,t)=>{switch(e){case`text`:return(0,X.jsx)(J,{_label:`TextInput #${t}`},t);case`number`:return(0,X.jsx)(OT,{_label:`NumberInput #${t}`},t);case`checkbox`:return(0,X.jsx)(CT,{_label:`Checkbox #${t}`},t);default:return null}},u=()=>{if(!n)return null;let t=[];for(let r=1;r<=e;r++)t.push(l(n,r));return t},d=e=>{s(!0),a(null);let t=performance.now();r(e),setTimeout(()=>{let e=performance.now();a(e-t),s(!1)},0)};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example renders many KoliBri components to show the performance. Choose a component type and set the number of instances to render.`})}),(0,X.jsxs)(`div`,{className:`w-full mb-6`,children:[(0,X.jsx)(`div`,{className:`flex flex-wrap items-end gap-4 mb-4`,children:(0,X.jsx)(OT,{_label:`Number of components`,_value:e,_min:1,_max:500,_on:c})}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4 mb-6`,children:[(0,X.jsx)(K,{_label:`Render TextInputs`,_variant:`primary`,onClick:()=>d(`text`)}),(0,X.jsx)(K,{_label:`Render NumberInputs`,_variant:`primary`,onClick:()=>d(`number`)}),(0,X.jsx)(K,{_label:`Render Checkboxes`,_variant:`primary`,onClick:()=>d(`checkbox`)}),(0,X.jsx)(K,{_label:`Clear`,_variant:`secondary`,onClick:()=>{r(null),a(null),s(!1)}})]})]}),n&&(0,X.jsxs)(`div`,{className:`w-full mb-4`,children:[(0,X.jsxs)(`p`,{className:`text-sm text-gray-600 mb-2`,children:[`Rendering `,e,` `,n,` component`,e===1?``:`s`]}),o&&(0,X.jsx)(`p`,{className:`text-sm text-blue-600`,children:`⏱️ Measuring render time...`}),i!==null&&!o&&(0,X.jsxs)(`p`,{className:`text-sm text-green-600`,children:[`✅ Render time: `,i.toFixed(2),`ms`]})]}),(0,X.jsx)(`div`,{className:`w-full grid gap-4`,children:u()})]})},_B=e=>e.type===`checkbox`,vB=e=>e.type===`file`,yB=e=>e instanceof Date,bB=e=>e==null,xB=e=>typeof e==`object`,SB=e=>!bB(e)&&!Array.isArray(e)&&xB(e)&&!yB(e),CB=e=>SB(e)&&e.target?_B(e.target)?e.target.checked:vB(e.target)?e.target.files:e.target.value:e,wB=/[.[\]'"]/,TB=e=>e.split(wB).filter(Boolean);function EB(e,t){let n=TB(t),r=e._formValues,i=e._defaultValues;for(let e=0;e<n.length-1;e++){let t=n[e];if(r=r==null?r:r[t],i=i==null?i:i[t],r===null||i===null)return null}}var DB=(e,t)=>t.split(`.`).some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join(`.`))),OB=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`;function kB(e){if(typeof e!=`object`||!e)return e;if(e instanceof Date)return new Date(e);let t=typeof Blob<`u`&&e instanceof Blob,n=typeof FileList<`u`&&e instanceof FileList;if(OB&&(t||n))return e;let r=Array.isArray(e);if(!r&&e.constructor!==Object)return e;let i=r?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=kB(e[t]));return i}var AB={BLUR:`blur`,FOCUS_OUT:`focusout`,CHANGE:`change`,SUBMIT:`submit`,TRIGGER:`trigger`,VALID:`valid`},jB={onBlur:`onBlur`,onChange:`onChange`,onSubmit:`onSubmit`,onTouched:`onTouched`,all:`all`},MB={max:`max`,min:`min`,maxLength:`maxLength`,minLength:`minLength`,pattern:`pattern`,required:`required`,validate:`validate`};MB.required,MB.min,MB.max,MB.minLength,MB.maxLength,MB.pattern,MB.validate;var NB=[`__proto__`,`constructor`,`prototype`],PB=/^\w*$/,FB=e=>PB.test(e),IB=e=>e===void 0,LB=(e,t,n)=>{if(!t||!SB(e))return n;let r=FB(t)?[t]:TB(t);if(r.some(e=>NB.includes(e)))return n;let i=r.reduce((e,t)=>bB(e)?void 0:e[t],e);return IB(i)||i===e?IB(e[t])?n:e[t]:i},RB=e=>typeof e==`boolean`,zB=e=>typeof e==`function`,BB=(e,t,n)=>{let r=-1,i=FB(t)?[t]:TB(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=SB(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(NB.includes(t))return;e[t]=a,e=e[t]}},VB=w.createContext(null);VB.displayName=`HookFormControlContext`;var HB=()=>w.useContext(VB),UB=(e,t,n,r=!0)=>{let i={};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==jB.all&&(t._proxyFormState[i]=!r||jB.all),n&&(n[i]=!0),e[i]}});return i},WB=OB?w.useLayoutEffect:w.useEffect,GB=e=>{let t=e.constructor&&e.constructor.prototype;return SB(t)&&t.hasOwnProperty(`isPrototypeOf`)},KB=e=>bB(e)||!xB(e),qB=(e,t)=>t.length===0&&!Array.isArray(e)&&!GB(e);function JB(e,t,n=new WeakMap){if(e===t)return!0;if(KB(e)||KB(t))return Object.is(e,t);if(yB(e)&&yB(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(qB(e,r)||qB(t,i))return Object.is(e,t);if(!r.length&&Array.isArray(e)!==Array.isArray(t))return!1;let a=n.get(e);if(a&&a.has(t))return!0;if(a)a.add(t);else{let r=new WeakSet;r.add(t),n.set(e,r)}for(let i of r){let r=e[i];if(!(i in t))return!1;if(i!==`ref`){let e=t[i];if(yB(r)&&yB(e)||(SB(r)||Array.isArray(r))&&(SB(e)||Array.isArray(e))?!JB(r,e,n):!Object.is(r,e))return!1}}return!0}function YB(e){let t=w.useRef(!1),n=w.useRef(!1),r=w.useRef(void 0),i=w.useRef(0);return i.current++,!n.current&&e&&(n.current=!0,r.current=kB(e())),{resyncIfNeeded:w.useCallback((e,a,o)=>{if(e&&(t.current||n.current&&i.current>1)){let e=a();JB(r.current,e)||o(e)}t.current=!0},[]),snapshot:w.useCallback((e,t)=>{e&&(r.current=kB(t()))},[])}}function XB(e){let t=HB(),{control:n=t,disabled:r,name:i,exact:a}=e||{},o=()=>({...n._formState,defaultValues:n._defaultValues}),[s,c]=w.useState(o),l=w.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),{resyncIfNeeded:u,snapshot:d}=YB(o);return WB(()=>{u(!r,o,c);let e=n._subscribe({name:i,formState:l.current,exact:a,callback:e=>{!r&&c({...n._formState,...e,defaultValues:n._defaultValues})}});return()=>{e(),d(!r,o)}},[n,i,r,a,u,d]),w.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),w.useMemo(()=>UB(s,n,l.current,!1),[s,n])}var ZB=e=>typeof e==`string`,QB=(e,t,n,r,i)=>ZB(e)?(r&&t.watch.add(e),LB(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),LB(n,e,LB(i,e)))):(r&&(t.watchAll=!0),n);function $B(e){let t=HB(),{control:n=t,name:r,defaultValue:i,disabled:a,exact:o,compute:s}=e||{},c=w.useRef(i),l=w.useRef(s),u=w.useRef(n),d=w.useRef(r);l.current=s;let f=()=>{let e=n._getWatch(r,c.current);return l.current?l.current(e):e},[p,m]=w.useState(f),h=w.useRef(p),g=w.useCallback(e=>{let t=QB(r,n._names,e||n._formValues,!1,c.current);return l.current?l.current(t):t},[n._formValues,n._names,r]),_=w.useCallback(e=>{if(!a){let t=QB(r,n._names,e||n._formValues,!1,c.current);if(l.current){let e=l.current(t);JB(e,h.current)||(m(e),h.current=e)}else m(t)}},[n._formValues,n._names,a,r]),{resyncIfNeeded:v,snapshot:y}=YB(f),b=w.useRef(_);b.current=_;let x=w.useRef(g);x.current=g,WB(()=>{u.current!==n||!JB(d.current,r)?(u.current=n,d.current=r,b.current()):v(!a,()=>x.current(),e=>{m(e),h.current=e});let e=n._subscribe({name:r,formState:{values:!0},exact:o,callback:e=>{b.current(e.values)}});return()=>{e(),y(!a,()=>x.current())}},[n,o,r,a,v,y]),w.useEffect(()=>n._removeUnmounted());let S=u.current!==n,C=d.current;return w.useMemo(()=>{if(a)return!1;let e=!S&&!JB(C,r);return S||e},[a,S,r,C])?g():p}function eV(e){let t=HB(),{name:n,disabled:r,control:i=t,shouldUnregister:a,defaultValue:o,exact:s=!0}=e,c=DB(i._names.array,n),l=$B({control:i,name:n,defaultValue:w.useMemo(()=>{let e=LB(i._formValues,n,LB(i._defaultValues,n,o));return IB(e)?EB(i,n):e},[i,n,o]),exact:s}),u=XB({control:i,name:n,exact:s}),d=w.useRef(e),f=w.useRef(null),p=w.useRef(i.register(n,{...e.rules,value:l,...RB(e.disabled)?{disabled:e.disabled}:{}}));d.current=e;let m=w.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!LB(u.errors,n)},isDirty:{enumerable:!0,get:()=>!!LB(u.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!LB(u.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!LB(u.validatingFields,n)},error:{enumerable:!0,get:()=>LB(u.errors,n)}}),[u,n]),h=w.useCallback(e=>{let t=CB(e);return LB(i._fields,n)||(p.current=i.register(n,{...d.current.rules,value:t})),p.current.onChange({target:{value:CB(e),name:n},type:AB.CHANGE})},[n,i]),g=w.useCallback(()=>p.current.onBlur({target:{value:LB(i._formValues,n),name:n},type:AB.BLUR}),[n,i._formValues]),_=w.useCallback(e=>{e&&(f.current={focus:()=>zB(e.focus)&&e.focus(),select:()=>zB(e.select)&&e.select(),setCustomValidity:t=>zB(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>zB(e.reportValidity)&&e.reportValidity()});let t=LB(i._fields,n);t&&t._f&&e&&(t._f.ref=f.current,t._f._c=!0)},[i._fields,n]),v=w.useMemo(()=>({name:n,value:l,...RB(r)||u.disabled?{disabled:u.disabled||r}:{},onChange:h,onBlur:g,ref:_}),[n,r,u.disabled,h,g,_,l]);return w.useEffect(()=>{let e=i._options.shouldUnregister||a;p.current=i.register(n,{...d.current.rules,...RB(d.current.disabled)?{disabled:d.current.disabled}:{}});let t=(e,t)=>{let n=LB(i._fields,e);n&&n._f&&(n._f.mount=t,n._f._c=t)};if(t(n,!0),e){let e=kB(LB(a?i._defaultValues:i._options.values||i._defaultValues,n,LB(i._options.defaultValues,n,d.current.defaultValue)));BB(i._defaultValues,n,e),IB(LB(i._formValues,n))&&BB(i._formValues,n,e)}if(!c&&i.register(n,{...d.current.rules,...RB(d.current.disabled)?{disabled:d.current.disabled}:{}}),f.current){let e=LB(i._fields,n);e&&e._f&&(e._f.ref=f.current)}return()=>{(c?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}},[n,i,c,a]),w.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),w.useMemo(()=>({field:v,formState:u,fieldState:m}),[v,u,m])}var tV=e=>e.render(eV(e)),nV=w.createContext(null);nV.displayName=`HookFormContext`,jB.onSubmit,jB.onChange;function rV(e,t){let n=w.forwardRef((n,r)=>{let{name:i,control:a,rules:o,defaultValue:s,shouldUnregister:c,...l}=n;return w.createElement(tV,{name:i,control:a,rules:o,defaultValue:s,shouldUnregister:c,disabled:n._disabled,render:({field:n,fieldState:a})=>{let o=l._on,s={...l,ref:e=>{r&&(typeof r==`function`?r(e):r.current=e),e&&n.ref(e)},_name:i,_touched:a.isTouched,_disabled:n.disabled,_msg:a.error?{_type:`error`,_description:a.error.message||a.error.toString?.()||`Unknown error`}:void 0,_on:{...o||{},onInput:(e,t)=>{n.onChange(t),o?.onInput?.(e,t)},onChange:(e,t)=>{n.onChange(t),o?.onChange?.(e,t)},onBlur:e=>{n.onBlur(),o?.onBlur?.(e)}}};return t&&(s[t]=n.value),w.createElement(e,{...s})}})});return n.displayName=`withController(${e.displayName||e.name||`Component`})`,n}var iV=rV(J,`_value`),aV=rV(kT,`_value`),oV=rV(ET,`_value`),sV=rV(OT,`_value`),cV=rV(jT,`_value`),lV=rV(TT,`_value`),uV=rV(wT,`_value`),dV=rV(DT),fV=rV(JT,`_value`),pV=rV(gT,`_value`),mV=rV(BT,`_value`),hV=rV(VT,`_value`),gV=rV(AT,`_value`),_V=rV(CT,`_checked`),vV={firstName:``,lastName:``,email:``,password:``,age:18,volume:50,birthday:``,favoriteColor:`#000000`,cv:null,bio:``,country:``,language:`de`,framework:``,gender:``,termsAccepted:!1},yV=[{label:`English`,value:`en`},{label:`German`,value:`de`},{label:`French`,value:`fr`}],bV=[{label:`React`,value:`react`},{label:`Vue`,value:`vue`},{label:`Stencil`,value:`stencil`}],xV=[{label:`Male`,value:`male`},{label:`Female`,value:`female`},{label:`Other`,value:`other`}],SV=[`firstName`,`lastName`,`email`,`password`,`age`,`volume`,`birthday`,`favoriteColor`,`cv`,`bio`,`country`,`language`,`framework`,`gender`,`termsAccepted`],CV=()=>{let{control:e,handleSubmit:t,setValue:n,getValues:r,trigger:i}=hP({defaultValues:vV,mode:`onTouched`,shouldFocusError:!0}),a=()=>{SV.forEach(e=>{n(e,r(e),{shouldTouch:!0,shouldValidate:!0})})},o=e=>{alert(JSON.stringify(e,null,2))},s=e=>{a(),i(void 0,{shouldFocus:!0}),console.warn(`Validation errors:`,e)};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates a form using React Hook Form with KoliBri adapters wrapped in a KolForm. All inputs are validated, and error messages are shown on submit.`})}),(0,X.jsx)(bT,{className:`w-full max-w-xl`,_on:{onSubmit:e=>{t(o,s)(e)}},children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(iV,{name:`firstName`,control:e,_label:`First Name`,rules:{required:`First name is required`},_required:!0}),(0,X.jsx)(iV,{name:`lastName`,control:e,_label:`Last Name`,rules:{required:`Last name is required`},_required:!0}),(0,X.jsx)(oV,{name:`email`,control:e,_label:`Email`,rules:{required:`Email is required`},_required:!0}),(0,X.jsx)(aV,{name:`password`,control:e,_label:`Password`,rules:{required:`Password is required`},_required:!0}),(0,X.jsx)(sV,{name:`age`,control:e,_label:`Age`,rules:{required:`Age is required`,min:0},_required:!0}),(0,X.jsx)(cV,{name:`volume`,control:e,_label:`Volume (0–100)`,_min:0,_max:100}),(0,X.jsx)(lV,{name:`birthday`,control:e,_label:`Birthday`,rules:{required:`Birthday is required`}}),(0,X.jsx)(uV,{name:`favoriteColor`,control:e,_label:`Favorite Color`,id:`favoriteColor`}),(0,X.jsx)(dV,{name:`cv`,control:e,_label:`Upload CV`,rules:{required:`Please upload your CV`},_required:!0}),(0,X.jsx)(fV,{name:`bio`,control:e,_label:`Bio`,rules:{required:`Please provide a short bio`},_required:!0}),(0,X.jsx)(pV,{control:e,rules:{required:`Please select a country`},name:`country`,_label:`Country`,_suggestions:gj,_required:!0}),(0,X.jsx)(mV,{control:e,rules:{required:`Please select a language`},name:`language`,_label:`Preferred Language`,_options:yV,_required:!0}),(0,X.jsx)(hV,{rules:{required:`Please select a framework`},control:e,name:`framework`,_label:`Favorite Framework`,_options:bV,_required:!0}),(0,X.jsx)(gV,{control:e,rules:{required:`Please select your gender`},name:`gender`,_label:`Gender`,_options:xV,_required:!0}),(0,X.jsx)(_V,{name:`termsAccepted`,control:e,_label:`I accept the terms and conditions`,rules:{required:`You must accept the terms`},_required:!0}),(0,X.jsx)(K,{_label:`Submit`,_type:`submit`})]})})]})},wV={first:``,second:``},TV={scenarios:{"button-shortkey-table":Zz,"change-tabindex":Qz,"custom-tooltip-css-properties":$z,"date-in-form":eB,"disabled-interactive-scenario":nB,"focus-elements":aB,"label-lang":hB,"input-group-with-error":uB,"inputs-get-value":mB,"react-hook-form-adapter":CV,"react-hook-form-adapter-disabled":()=>{let{control:e,handleSubmit:t,watch:n}=hP({defaultValues:wV}),r=e=>{alert(JSON.stringify(e,null,2))};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows two fields of which just one can be filled. The other gets disabled.`})}),(0,X.jsx)(bT,{className:`w-full max-w-xl`,_on:{onSubmit:e=>{t(r)(e)}},children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(iV,{name:`first`,control:e,_label:`First`,_disabled:!!n(`second`)}),(0,X.jsx)(iV,{name:`second`,control:e,_label:`Second`,_disabled:!!n(`first`)}),(0,X.jsx)(K,{_label:`Submit`,_type:`submit`})]})})]})},"same-height-of-all-interactive-elements":()=>{let{dummyClickEventHandler:e}=hA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`All interactive elements, such as buttons and input fields, should have the same height to ensure a consistent and visually balanced user interface.`})}),(0,X.jsxs)(`div`,{className:`w-full flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,X.jsx)(NT,{_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t}),(0,X.jsx)(NT,{_hideLabel:!0,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t}),(0,X.jsx)(gT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Combobox`,_suggestions:[]}),(0,X.jsx)(wT,{_hideLabel:!0,_icons:{left:`kolicon-house`},_label:`Input-Color`}),(0,X.jsx)(DT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-File`}),(0,X.jsx)(TT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Date`}),(0,X.jsx)(ET,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Email`}),(0,X.jsx)(OT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Number`}),(0,X.jsx)(kT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Password`}),(0,X.jsx)(jT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Range`}),(0,X.jsx)(J,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Text`}),(0,X.jsx)(BT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Select`,_options:[]}),(0,X.jsx)(VT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Single Select`,_options:[]}),(0,X.jsx)(JT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Textarea`})]})]})},"same-height-of-all-form-elements-with-label":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`All form elements with labels, should have the same height and gaps to ensure a consistent and visually balanced user interface.`})}),(0,X.jsxs)(`div`,{className:`w-full flex flex-wrap gap-4`,children:[(0,X.jsx)(gT,{_icons:`kolicon-house`,_label:`Combobox`,_suggestions:[]}),(0,X.jsx)(wT,{_icons:{left:`kolicon-house`},_label:`Input-Color`}),(0,X.jsx)(DT,{_icons:`kolicon-house`,_label:`Input-File`}),(0,X.jsx)(TT,{_icons:`kolicon-house`,_label:`Input-Date`}),(0,X.jsx)(ET,{_icons:`kolicon-house`,_label:`Input-Email`}),(0,X.jsx)(OT,{_icons:`kolicon-house`,_label:`Input-Number`}),(0,X.jsx)(kT,{_icons:`kolicon-house`,_label:`Input-Password`}),(0,X.jsx)(jT,{_icons:`kolicon-house`,_label:`Input-Range`}),(0,X.jsx)(J,{_icons:`kolicon-house`,_label:`Input-Text`}),(0,X.jsx)(BT,{_icons:`kolicon-house`,_label:`Select`,_options:[]}),(0,X.jsx)(VT,{_icons:`kolicon-house`,_label:`Single Select`,_options:[]}),(0,X.jsx)(JT,{_icons:`kolicon-house`,_label:`Textarea`})]})]}),"static-form":()=>{let{searchParams:e}=new URL(location.href);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This sample shows how KoliBri can be used in a static form context.`}),(0,X.jsxs)(`ol`,{children:[(0,X.jsxs)(`li`,{children:[`First you have to enable the `,(0,X.jsx)(`code`,{children:`experimental mode`}),`:`,` `,(0,X.jsx)(`code`,{className:`bg-gray-200`,children:`<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />`})]}),(0,X.jsxs)(`li`,{children:[`Currently you have to use a native `,(0,X.jsx)(`code`,{children:`form`}),` element:`,` `,(0,X.jsx)(`code`,{className:`bg-gray-200`,children:`<form method="GET">...</form>`})]}),(0,X.jsxs)(`li`,{children:[`It is important in static usage to give every input a `,(0,X.jsx)(`code`,{children:`name`}),` attribute:`,` `,(0,X.jsx)(`code`,{className:`bg-gray-200`,children:`<KolInputColor _name="color" _label="Color" />`})]}),(0,X.jsxs)(`li`,{children:[`Last of all one button should have the type `,(0,X.jsx)(`code`,{children:`submit`}),`:`,` `,(0,X.jsx)(`code`,{className:`bg-gray-200`,children:`<KolButton _label="Submit" _type="submit" _variant="primary" />`})]})]})]}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col`,children:[e.size>0&&(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(q,{_level:2,_label:`Submitted data`}),(0,X.jsx)(`pre`,{className:`text-base`,children:(0,X.jsx)(`code`,{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),(0,X.jsxs)(`form`,{className:`grid gap-4`,method:`get`,noValidate:!0,children:[(0,X.jsx)(CT,{_name:`checkbox`,_label:`Checkbox`}),(0,X.jsx)(wT,{_name:`color`,_label:`Color`}),(0,X.jsx)(TT,{_name:`date`,_label:`Date`}),(0,X.jsx)(ET,{_name:`email`,_label:`Email`}),(0,X.jsx)(DT,{_name:`file`,_label:`File`}),(0,X.jsx)(DT,{_name:`file`,_label:`Files (multiple)`,_multiple:!0}),(0,X.jsx)(OT,{_name:`number`,_label:`Number`}),(0,X.jsx)(kT,{_name:`password`,_label:`Password`}),(0,X.jsx)(AT,{_name:`radio`,_label:`Radio`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,X.jsx)(jT,{_name:`range`,_label:`Range`}),(0,X.jsx)(J,{_name:`text`,_label:`Text`}),(0,X.jsx)(BT,{_name:`select`,_label:`Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,X.jsx)(BT,{_name:`select`,_label:`Select (multiple)`,_multiple:!0,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],_rows:2}),(0,X.jsx)(VT,{_name:`singleSelect`,_label:`Single Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,X.jsx)(gT,{_name:`combobox`,_label:`Combobox`,_suggestions:gj}),(0,X.jsx)(JT,{_name:`textarea`,_label:`Textarea`,_rows:5}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`Submit`,_type:`submit`,_variant:`primary`}),(0,X.jsx)(K,{_label:`Reset`,_type:`reset`})]}),(0,X.jsx)(`input`,{type:`hidden`,value:crypto.randomUUID(),name:`random`})]})]})]})},"table-horizontal-scrollbar-advanced":lB,"toolbar-item-order":()=>{let[e,t]=(0,w.useState)(!1),[n,r]=(0,w.useState)(!1),i=()=>{t(!0),setTimeout(()=>{t(!1)},2e3)},a=()=>{r(!0),setTimeout(()=>{r(!1)},2e3)},o=(0,w.useMemo)(()=>Array.from({length:5},(t,n)=>({type:`button`,_label:`Button ${n+1}`,_on:{onClick:i},_icons:e?`fa-solid fa-spinner fa-spin`:void 0,_disabled:e})),[e]),s=(0,w.useMemo)(()=>Array.from({length:5},(e,t)=>({type:`button`,_label:`Button ${t+1}`,_on:{onClick:a},_disabled:n,_icons:n?`fa-solid fa-spinner fa-spin`:void 0})),[n]);return(0,X.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:`1rem`},children:[(0,X.jsx)(q,{_label:`Disabled Toolbar Buttons Bug (solved)`}),(0,X.jsx)(q,{_label:`icon vor disabled`,_level:2}),(0,X.jsx)(YT,{_label:`KolToolbar A`,_items:o}),(0,X.jsx)(q,{_label:`disabled vor icon`,_level:2}),(0,X.jsxs)(`p`,{children:[`Klicke auf einen der `,s.length-1,` ersten Buttons hatte zur Folge, dass die nachfolgenden Buttons kaputt gehen.`]}),(0,X.jsx)(YT,{_label:`KolToolbar B`,_items:s})]})},"tooltip-positioning":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example demonstrates tooltip positioning within container query contexts. Container queries can interfere with fixed positioning, causing tooltips to render incorrectly relative to the viewport. The layout containment fix ensures tooltips position properly even when their parent elements use container-based sizing and layout rules.`})}),(0,X.jsx)(`div`,{style:{container:`test / size`,contain:`layout`},children:(0,X.jsx)(LT,{_label:`Sample PopoverButton—Click for Popover`,_icons:`kolicon-alert-info`,_tooltipAlign:`right`,_hideLabel:!0,children:`This is an explanation shown on click.`})})]}),"accordion-components":Yz,"z-index":()=>{let[e]=tk(),t=e.get(`show-dialog`),n=(0,w.useRef)(null);return(0,w.useEffect)(()=>{t===`true`&&n.current?.openModal()},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows the combination of a few components overlaying content. Dialog, Popover, Tooltip`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsxs)(`div`,{children:[(0,X.jsx)(K,{_label:`Open card dialog`,_on:{onClick:()=>n.current?.openModal()}}),(0,X.jsxs)(vT,{ref:n,_label:`Card dialog`,_variant:`card`,_width:`30%`,children:[(0,X.jsx)(LT,{_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,X.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:[(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-check`,_label:`OK`,_variant:`primary`})]})}),(0,X.jsx)(gT,{_label:`With string array in html`,_suggestions:`['Herr','Frau','Firma']`,_value:`Herr`,_hideLabel:!0}),(0,X.jsx)(OT,{_label:`Amount`})]})]})})]})},"performance-test":gB}},EV={...Rj,...iA,...aA,...cA,...lA,...uA,...pA,...gA,...lj,...uj,...wj,...Tj,...Dj,...Aj,...jj,...zj,...Bj,...Vj,...Jj,...Zj,...fM,...hM,...xM,...dF,...mF,...wF,...DF,...nI,...rI,...iI,...aI,...oI,...sI,...fI,...pI,...hI,...xI,...SI,...kI,...BI,...VI,...zI,...HI,...Cz,...Nz,...Rz,...Uz,...Wz,...Kz,...qz,...TV};RA(localStorage);var DV=({customThemes:e})=>{let t=RD(),[n,r]=tk(),i=n.has(`hideMenus`),a=(0,w.useMemo)(()=>{let t=[bA,...e&&e.length>0?e:xA];return BA(t),t},[e]),o=n.get(`theme`)??UA(),[s,c]=(0,w.useState)(()=>MA.isInitialized(a));(0,w.useEffect)(()=>{let e=!0,t=MA.isInitialized(a),n=t=>{e&&c(t)};if(t)setTimeout(()=>n(!0),0);else return n(!1),MA.initialize(a).then(()=>{n(!0)}),()=>{e=!1}},[a]);let l=(e,t=`/`)=>{let n=[];for(let r in e)if(e[r]){let i=e[r],a=`${t}${r}`;typeof i==`function`?n.push(a):typeof i==`object`&&i&&(n=n.concat(l(i,`${a}/`)))}return n},u=e=>{let t=[];for(let n in e)if(e[n]){let r=e[n],i=`/${n}`;if(typeof r==`function`)t.push((0,X.jsx)(dO,{path:i,element:(0,X.jsx)(r,{})},i)),t.push((0,X.jsx)(dO,{path:`${i}/all`,element:(0,X.jsx)(`div`,{className:`d-grid gap-4`,children:a.map(e=>(0,X.jsxs)(`div`,{className:`d-grid gap-2`,children:[(0,X.jsx)(`div`,{className:`mt-4`,children:(0,X.jsx)(`strong`,{children:e.name})}),(0,X.jsx)(`div`,{className:`my-2`,children:(0,X.jsx)(r,{})}),(0,X.jsx)(`hr`,{"aria-hidden":`true`})]},e.key))})},`${i}/all`));else if(typeof r==`object`&&r){let e=Object.keys(r);e.length>0&&t.push((0,X.jsx)(dO,{path:`${i}/*`,element:(0,X.jsxs)(pO,{children:[(0,X.jsx)(dO,{path:`/`,element:(0,X.jsx)(uO,{to:e[0]})}),u(r)]})},i))}}return t},d=(0,w.useMemo)(()=>l(EV),[]),f=(0,w.useMemo)(()=>u(EV),[]),p=new Map;d.forEach(e=>{let t=e.split(`/`);p.has(t[1])||p.set(t[1],{label:t[1],value:e})}),HA(o),Lk(),Xk();let m=SA.includes(o),[h,g]=Ik(m);return(0,w.useEffect)(()=>{document.title=`KoliBri-Handout - ${WA(UA())} | v${dk.version}`,document.body.setAttribute(`class`,o),document.body.dataset.theme=o},[o]),s?(0,X.jsx)(Zk.Provider,{value:i,children:(0,X.jsxs)(`div`,{className:i?``:`app-container`,"data-theme":o,children:[!i&&(0,X.jsx)(Dk,{version:dk.version,themes:a,theme:o,sample:t.pathname,routes:EV,routeList:d,buildDate:`2026-11-24T23:55:19.101Z`,commitHash:`1b80033`,colorScheme:h,supportsDark:m,onThemeChange:e=>{r(t=>(t.set(`theme`,e),t)),window.location.reload()},onColorSchemeChange:g}),(0,X.jsx)(`main`,{className:`flex flex-col items-stretch p-4`,id:`route-container`,children:(0,X.jsxs)(pO,{children:[f,(0,X.jsx)(dO,{path:`*`,element:(0,X.jsx)(uO,{to:d[0],replace:!0})}),(0,X.jsx)(dO,{path:`back-page`,element:(0,X.jsx)(pk,{})})]})})]})}):(0,X.jsx)(Zk.Provider,{value:i,children:(0,X.jsx)(`main`,{className:`flex flex-col items-stretch p-4`,id:`route-container`,children:(0,X.jsx)(`p`,{children:`Loading data`})})})},OV=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableI18nOverwriting`),kV=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableThemePatching`),AV=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableTagNameTransformer`),jV=e=>`${e}-sample`;AV&&oT(jV);var MV=async()=>{throw Error(`Environment variable THEME_MODULE not specified. The visual-tests app must be started via "kolibri-visual-test".`)};uk(),(async()=>{try{await gt(await MV(),[],{environment:`production`,reflectInputValues:!0,theme:void 0,translation:{name:`en`},translations:OV?new Set([e=>e(`en`,{"kol-error":`Tiny error!`}),e=>e(`de`,{"kol-error":`Kleiner Fehler!`})]):void 0,transformTagName:AV?jV:void 0}),kV&&r.patchTheme(`default`,{"KOL-BUTTON":`
102
+ button {
103
+ border: 1px solid red;
104
+ }`,"KOL-SPIN":`
105
+ .bg-spin-2 {
106
+ background-color: red;
107
+ }
108
+ .bg-spin-3 {
109
+ background-color: gold;
110
+ }`},{append:!0})}catch(e){console.warn(`Theme registration failed:`,e)}let e=c(),t=e?[{key:e,name:e}]:void 0;GA(t);let n=document.querySelector(`div#app`);n instanceof HTMLDivElement&&(0,sk.createRoot)(n).render((0,X.jsx)(w.StrictMode,{children:(0,X.jsx)(XO,{children:(0,X.jsx)(DV,{customThemes:t})})}))})();export{de as A,Ot as C,st as D,Te as E,ct as O,Mt as S,vt as T,Lt as _,Wi as a,kt as b,za as c,Mi as d,Ra as f,N as g,Na as h,wi as i,ue as k,Ma as l,Fi as m,xu as n,Li as o,Aa as p,Ti as r,La as s,Su as t,Oa as u,It as v,xt as w,Nt as x,Ft as y};
111
+ //# sourceMappingURL=index-BToyeIaL.js.map