@public-ui/sample-react 4.1.1-rc.2 → 4.1.1-rc.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.
- package/dist/assets/{Alert-DJWeD9Xz-whjsP8QM.js → Alert-Dpxgsk5h-DaVf3nEL.js} +2 -2
- package/dist/assets/{Alert-DJWeD9Xz-whjsP8QM.js.map → Alert-Dpxgsk5h-DaVf3nEL.js.map} +1 -1
- package/dist/assets/{Collapsible-C6YbGDhK-BGIfB75R.js → Collapsible-bnOZJnyH-D3Ia6uJ4.js} +2 -2
- package/dist/assets/{Collapsible-C6YbGDhK-BGIfB75R.js.map → Collapsible-bnOZJnyH-D3Ia6uJ4.js.map} +1 -1
- package/dist/assets/{CustomSuggestionsOptionsGroup-BBiujBa7-oaFhAR4M.js → CustomSuggestionsOptionsGroup-DHH1ynIA-GRY2FMuZ.js} +2 -2
- package/dist/assets/{CustomSuggestionsOptionsGroup-BBiujBa7-oaFhAR4M.js.map → CustomSuggestionsOptionsGroup-DHH1ynIA-GRY2FMuZ.js.map} +1 -1
- package/dist/assets/{FieldControlStateWrapper-D0fzj9Oy-EdRMydrO.js → FieldControlStateWrapper-DhJorxpS-DQJyQCl5.js} +2 -2
- package/dist/assets/{FieldControlStateWrapper-D0fzj9Oy-EdRMydrO.js.map → FieldControlStateWrapper-DhJorxpS-DQJyQCl5.js.map} +1 -1
- package/dist/assets/{FormFieldStateWrapper-BFyiN9EY-C7bBg0X9.js → FormFieldStateWrapper-Dv6_VAtz-B77B1MZm.js} +2 -2
- package/dist/assets/{FormFieldStateWrapper-BFyiN9EY-C7bBg0X9.js.map → FormFieldStateWrapper-Dv6_VAtz-B77B1MZm.js.map} +1 -1
- package/dist/assets/{Heading-Cp72eQOw-C_3UfwQj.js → Heading-Dq9b664g--7g5PEA3.js} +2 -2
- package/dist/assets/{Heading-Cp72eQOw-C_3UfwQj.js.map → Heading-Dq9b664g--7g5PEA3.js.map} +1 -1
- package/dist/assets/{Icon-BI9iw7pD-BcWsEg8j.js → Icon-BenYNrZ4-NGzVuhE8.js} +2 -2
- package/dist/assets/{Icon-BI9iw7pD-BcWsEg8j.js.map → Icon-BenYNrZ4-NGzVuhE8.js.map} +1 -1
- package/dist/assets/{Input-DXQUCRHF-DReDwU8k.js → Input-DG_Nqgy7-CdSl0hvE.js} +2 -2
- package/dist/assets/{Input-DXQUCRHF-DReDwU8k.js.map → Input-DG_Nqgy7-CdSl0hvE.js.map} +1 -1
- package/dist/assets/{InputStateWrapper-D7DYAs_8-CT70q1el.js → InputStateWrapper-C_pyyTSX-DqIsB0wK.js} +2 -2
- package/dist/assets/{InputStateWrapper-D7DYAs_8-CT70q1el.js.map → InputStateWrapper-C_pyyTSX-DqIsB0wK.js.map} +1 -1
- package/dist/assets/{InternalUnderlinedBadgeText-DLXbDpmD-BXnXGnNY.js → InternalUnderlinedBadgeText-DhL4XBjG-BhnNWJXI.js} +2 -2
- package/dist/assets/{InternalUnderlinedBadgeText-DLXbDpmD-BXnXGnNY.js.map → InternalUnderlinedBadgeText-DhL4XBjG-BhnNWJXI.js.map} +1 -1
- package/dist/assets/{Span-BXTwASbu-NhknMTSe.js → Span-CTCuXdOx-Cy5o9rkQ.js} +2 -2
- package/dist/assets/{Span-BXTwASbu-NhknMTSe.js.map → Span-CTCuXdOx-Cy5o9rkQ.js.map} +1 -1
- package/dist/assets/{access-and-short-key-CPX70LXd-RzQ3gXPA.js → access-and-short-key-CPX70LXd-DkVH7z6K.js} +2 -2
- package/dist/assets/{access-and-short-key-CPX70LXd-RzQ3gXPA.js.map → access-and-short-key-CPX70LXd-DkVH7z6K.js.map} +1 -1
- package/dist/assets/{align-DDUsWnWP-C_Tp4Sxv.js → align-DDUsWnWP-ck8Vy_OB.js} +2 -2
- package/dist/assets/{align-DDUsWnWP-C_Tp4Sxv.js.map → align-DDUsWnWP-ck8Vy_OB.js.map} +1 -1
- package/dist/assets/{align-floating-elements-DGbaInbL-KD3H10XJ.js → align-floating-elements-DGbaInbL-B9kdx3Cx.js} +2 -2
- package/dist/assets/{align-floating-elements-DGbaInbL-KD3H10XJ.js.map → align-floating-elements-DGbaInbL-B9kdx3Cx.js.map} +1 -1
- package/dist/assets/{associated.controller-CdEaJGVD-BzKGAiOf.js → associated.controller-CdEaJGVD-Ce4k8wK-.js} +2 -2
- package/dist/assets/{associated.controller-CdEaJGVD-BzKGAiOf.js.map → associated.controller-CdEaJGVD-Ce4k8wK-.js.map} +1 -1
- package/dist/assets/{auto-complete-69d94cWC-L8xaBwZN.js → auto-complete-69d94cWC-bo6XzhTc.js} +2 -2
- package/dist/assets/{auto-complete-69d94cWC-L8xaBwZN.js.map → auto-complete-69d94cWC-bo6XzhTc.js.map} +1 -1
- package/dist/assets/base-controller-Bkp0Z9l1-CGrNG0bX.js +2 -0
- package/dist/assets/base-controller-Bkp0Z9l1-CGrNG0bX.js.map +1 -0
- package/dist/assets/{color-CUkVwfhq-D2SCoTUH.js → color-CUkVwfhq-vMzQCKi8.js} +2 -2
- package/dist/assets/{color-CUkVwfhq-D2SCoTUH.js.map → color-CUkVwfhq-vMzQCKi8.js.map} +1 -1
- package/dist/assets/{contrast-qfZiX0wi-7fMhKEda.js → contrast-qfZiX0wi-1I_2v_z9.js} +2 -2
- package/dist/assets/{contrast-qfZiX0wi-7fMhKEda.js.map → contrast-qfZiX0wi-1I_2v_z9.js.map} +1 -1
- package/dist/assets/{controller-vTikIczD-DE3wlldf.js → controller-Ci3-VPPO-DOzVAzKO.js} +2 -2
- package/dist/assets/{controller-vTikIczD-DE3wlldf.js.map → controller-Ci3-VPPO-DOzVAzKO.js.map} +1 -1
- package/dist/assets/{controller-D61Uz9xi-BENfox1n.js → controller-Cx3UWBbU-BJKisy7X.js} +2 -2
- package/dist/assets/{controller-D61Uz9xi-BENfox1n.js.map → controller-Cx3UWBbU-BJKisy7X.js.map} +1 -1
- package/dist/assets/controller-DEXOEa0T-B4Abl9ES.js +2 -0
- package/dist/assets/controller-DEXOEa0T-B4Abl9ES.js.map +1 -0
- package/dist/assets/{controller-BaXjr15p-C9mTDvMj.js → controller-Ivqfe3_p-DIPJu9Sw.js} +2 -2
- package/dist/assets/{controller-BaXjr15p-C9mTDvMj.js.map → controller-Ivqfe3_p-DIPJu9Sw.js.map} +1 -1
- package/dist/assets/{controller-icon-DKRqmDU2-DoJk7e7A.js → controller-icon-DnxFHbRN-3Z1YGnII.js} +2 -2
- package/dist/assets/{controller-icon-DKRqmDU2-DoJk7e7A.js.map → controller-icon-DnxFHbRN-3Z1YGnII.js.map} +1 -1
- package/dist/assets/{controller-zA71XEOV-jnijHjNx.js → controller-zA71XEOV-cZhed7B8.js} +2 -2
- package/dist/assets/{controller-zA71XEOV-jnijHjNx.js.map → controller-zA71XEOV-cZhed7B8.js.map} +1 -1
- package/dist/assets/custom-class-DyUifVn_-Bh4aNHMZ.js +2 -0
- package/dist/assets/{custom-class-DyUifVn_-bykX3Vkt.js.map → custom-class-DyUifVn_-Bh4aNHMZ.js.map} +1 -1
- package/dist/assets/{dev.utils-DEjbEXtH-DBmWP5yn.js → dev.utils-BMMmANAZ-BTtYwTOF.js} +2 -2
- package/dist/assets/{dev.utils-DEjbEXtH-DBmWP5yn.js.map → dev.utils-BMMmANAZ-BTtYwTOF.js.map} +1 -1
- package/dist/assets/{devtools-CeSDfGe0-CYBQI16L.js → devtools-C0XNS3IL-D8vlYs7c.js} +2 -2
- package/dist/assets/{devtools-CeSDfGe0-CYBQI16L.js.map → devtools-C0XNS3IL-D8vlYs7c.js.map} +1 -1
- package/dist/assets/disabled-BdPI9eda-nLn8C_pR.js +2 -0
- package/dist/assets/{disabled-BdPI9eda-BFM0nFDP.js.map → disabled-BdPI9eda-nLn8C_pR.js.map} +1 -1
- package/dist/assets/has-closer-BbY1hw6m-CDQG-6T1.js +2 -0
- package/dist/assets/{has-closer-BbY1hw6m-DKOu4hpa.js.map → has-closer-BbY1hw6m-CDQG-6T1.js.map} +1 -1
- package/dist/assets/hide-label-ByItyHgV-B72vgS72.js +2 -0
- package/dist/assets/{hide-label-ByItyHgV-x1WBM_YB.js.map → hide-label-ByItyHgV-B72vgS72.js.map} +1 -1
- package/dist/assets/href-BtQW7uxb-C-MUowE_.js +2 -0
- package/dist/assets/{href-BtQW7uxb-Dtbdn_7c.js.map → href-BtQW7uxb-C-MUowE_.js.map} +1 -1
- package/dist/assets/i18n-DvMeCREp-0gkosKKJ.js +2 -0
- package/dist/assets/{i18n-DvMeCREp-BkNCAkAX.js.map → i18n-DvMeCREp-0gkosKKJ.js.map} +1 -1
- package/dist/assets/{icons-CmA8Oww0-CXBaqbvf.js → icons-CmA8Oww0-D3lROVQS.js} +2 -2
- package/dist/assets/{icons-CmA8Oww0-CXBaqbvf.js.map → icons-CmA8Oww0-D3lROVQS.js.map} +1 -1
- package/dist/assets/{index-BjMDbBlh.js → index-gwN9RN4C.js} +9 -9
- package/dist/assets/index-gwN9RN4C.js.map +1 -0
- package/dist/assets/inline-q8GZVjiZ-B1gTugU9.js +2 -0
- package/dist/assets/{inline-q8GZVjiZ-VKUiprtL.js.map → inline-q8GZVjiZ-B1gTugU9.js.map} +1 -1
- package/dist/assets/{kol-abbr.entry-B-lUQbxH.js → kol-abbr.entry-DVTfmhZo.js} +2 -2
- package/dist/assets/{kol-abbr.entry-B-lUQbxH.js.map → kol-abbr.entry-DVTfmhZo.js.map} +1 -1
- package/dist/assets/{kol-accordion.entry-Da8qMj8E.js → kol-accordion.entry-DAso96XV.js} +2 -2
- package/dist/assets/{kol-accordion.entry-Da8qMj8E.js.map → kol-accordion.entry-DAso96XV.js.map} +1 -1
- package/dist/assets/{kol-alert-wc.entry-BlqQ55Y3.js → kol-alert-wc.entry-BjG0OP7_.js} +2 -2
- package/dist/assets/{kol-alert-wc.entry-BlqQ55Y3.js.map → kol-alert-wc.entry-BjG0OP7_.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-DWk_5ftu.js → kol-alert.entry-s3apaFjP.js} +2 -2
- package/dist/assets/{kol-alert.entry-DWk_5ftu.js.map → kol-alert.entry-s3apaFjP.js.map} +1 -1
- package/dist/assets/{kol-avatar.entry-C-XYCFzW.js → kol-avatar.entry-jRMsgQqq.js} +3 -3
- package/dist/assets/kol-avatar.entry-jRMsgQqq.js.map +1 -0
- package/dist/assets/{kol-badge.entry-4p0WlFDX.js → kol-badge.entry-Bx8PrRFe.js} +2 -2
- package/dist/assets/{kol-badge.entry-4p0WlFDX.js.map → kol-badge.entry-Bx8PrRFe.js.map} +1 -1
- package/dist/assets/{kol-breadcrumb.entry-DeYeOkI2.js → kol-breadcrumb.entry-D9ABs-Fx.js} +2 -2
- package/dist/assets/{kol-breadcrumb.entry-DeYeOkI2.js.map → kol-breadcrumb.entry-D9ABs-Fx.js.map} +1 -1
- package/dist/assets/{kol-button-link.entry-BTLVK0XO.js → kol-button-link.entry-BuMpiLTb.js} +2 -2
- package/dist/assets/{kol-button-link.entry-BTLVK0XO.js.map → kol-button-link.entry-BuMpiLTb.js.map} +1 -1
- package/dist/assets/{kol-button-wc.entry-B-J14lZU.js → kol-button-wc.entry-CiOzuUbP.js} +2 -2
- package/dist/assets/{kol-button-wc.entry-B-J14lZU.js.map → kol-button-wc.entry-CiOzuUbP.js.map} +1 -1
- package/dist/assets/{kol-button.entry-YTrFHoRO.js → kol-button.entry-OAzVARv0.js} +2 -2
- package/dist/assets/{kol-button.entry-YTrFHoRO.js.map → kol-button.entry-OAzVARv0.js.map} +1 -1
- package/dist/assets/{kol-card-wc.entry-D6C5kURb.js → kol-card-wc.entry-gYYhx4Gm.js} +2 -2
- package/dist/assets/{kol-card-wc.entry-D6C5kURb.js.map → kol-card-wc.entry-gYYhx4Gm.js.map} +1 -1
- package/dist/assets/{kol-card.entry-BxmlWFWn.js → kol-card.entry-B0Jhdy1S.js} +2 -2
- package/dist/assets/{kol-card.entry-BxmlWFWn.js.map → kol-card.entry-B0Jhdy1S.js.map} +1 -1
- package/dist/assets/{kol-click-button.entry-CR4vGBIG.js → kol-click-button.entry-BMUVib5l.js} +2 -2
- package/dist/assets/{kol-click-button.entry-CR4vGBIG.js.map → kol-click-button.entry-BMUVib5l.js.map} +1 -1
- package/dist/assets/{kol-combobox.entry-IdKzVlZA.js → kol-combobox.entry-C5SQ7k4u.js} +2 -2
- package/dist/assets/{kol-combobox.entry-IdKzVlZA.js.map → kol-combobox.entry-C5SQ7k4u.js.map} +1 -1
- package/dist/assets/{kol-details.entry-D5st0BX6.js → kol-details.entry-DE51BYty.js} +2 -2
- package/dist/assets/{kol-details.entry-D5st0BX6.js.map → kol-details.entry-DE51BYty.js.map} +1 -1
- package/dist/assets/{kol-dialog-wc.entry-DzHsyjY-.js → kol-dialog-wc.entry-CuT8hG69.js} +2 -2
- package/dist/assets/{kol-dialog-wc.entry-DzHsyjY-.js.map → kol-dialog-wc.entry-CuT8hG69.js.map} +1 -1
- package/dist/assets/{kol-dialog.entry-DsiWv2es.js → kol-dialog.entry-D0YSiNDZ.js} +2 -2
- package/dist/assets/{kol-dialog.entry-DsiWv2es.js.map → kol-dialog.entry-D0YSiNDZ.js.map} +1 -1
- package/dist/assets/{kol-drawer.entry-B1CZG-cR.js → kol-drawer.entry-wSRTTUTD.js} +2 -2
- package/dist/assets/{kol-drawer.entry-B1CZG-cR.js.map → kol-drawer.entry-wSRTTUTD.js.map} +1 -1
- package/dist/assets/{kol-form.entry-CI0ZJqih.js → kol-form.entry-Cc3txdvp.js} +2 -2
- package/dist/assets/{kol-form.entry-CI0ZJqih.js.map → kol-form.entry-Cc3txdvp.js.map} +1 -1
- package/dist/assets/{kol-heading.entry-Dqe6leNy.js → kol-heading.entry-BOZOkxzn.js} +2 -2
- package/dist/assets/{kol-heading.entry-Dqe6leNy.js.map → kol-heading.entry-BOZOkxzn.js.map} +1 -1
- package/dist/assets/{kol-icon.entry-DVnmaxjt.js → kol-icon.entry-BZsfXjnx.js} +4 -4
- package/dist/assets/{kol-icon.entry-DVnmaxjt.js.map → kol-icon.entry-BZsfXjnx.js.map} +1 -1
- package/dist/assets/{kol-image.entry-Bbsz9RiV.js → kol-image.entry-vf7agZVe.js} +2 -2
- package/dist/assets/kol-image.entry-vf7agZVe.js.map +1 -0
- package/dist/assets/{kol-input-checkbox.entry-BssMIuzQ.js → kol-input-checkbox.entry-B5Q25scf.js} +2 -2
- package/dist/assets/{kol-input-checkbox.entry-BssMIuzQ.js.map → kol-input-checkbox.entry-B5Q25scf.js.map} +1 -1
- package/dist/assets/{kol-input-color.entry-Ge15OHf_.js → kol-input-color.entry-DFqOp9LR.js} +2 -2
- package/dist/assets/{kol-input-color.entry-Ge15OHf_.js.map → kol-input-color.entry-DFqOp9LR.js.map} +1 -1
- package/dist/assets/{kol-input-date.entry-4UjrgPNZ.js → kol-input-date.entry-Dtt-F3-E.js} +2 -2
- package/dist/assets/{kol-input-date.entry-4UjrgPNZ.js.map → kol-input-date.entry-Dtt-F3-E.js.map} +1 -1
- package/dist/assets/{kol-input-email.entry-4cAbA7hP.js → kol-input-email.entry-Br3FfhyK.js} +2 -2
- package/dist/assets/{kol-input-email.entry-4cAbA7hP.js.map → kol-input-email.entry-Br3FfhyK.js.map} +1 -1
- package/dist/assets/{kol-input-file.entry-DdCyYhLv.js → kol-input-file.entry-DxE4HxBA.js} +2 -2
- package/dist/assets/{kol-input-file.entry-DdCyYhLv.js.map → kol-input-file.entry-DxE4HxBA.js.map} +1 -1
- package/dist/assets/{kol-input-number.entry-BHmpqNIb.js → kol-input-number.entry-DVXO2aEN.js} +2 -2
- package/dist/assets/{kol-input-number.entry-BHmpqNIb.js.map → kol-input-number.entry-DVXO2aEN.js.map} +1 -1
- package/dist/assets/{kol-input-password.entry-BUhrmmWY.js → kol-input-password.entry-B3mfhcwd.js} +2 -2
- package/dist/assets/{kol-input-password.entry-BUhrmmWY.js.map → kol-input-password.entry-B3mfhcwd.js.map} +1 -1
- package/dist/assets/{kol-input-radio.entry-DM1ATFgC.js → kol-input-radio.entry-Bl15yx3u.js} +2 -2
- package/dist/assets/{kol-input-radio.entry-DM1ATFgC.js.map → kol-input-radio.entry-Bl15yx3u.js.map} +1 -1
- package/dist/assets/{kol-input-range.entry-Pasgdb0K.js → kol-input-range.entry-DKb1rDaX.js} +2 -2
- package/dist/assets/{kol-input-range.entry-Pasgdb0K.js.map → kol-input-range.entry-DKb1rDaX.js.map} +1 -1
- package/dist/assets/{kol-input-text.entry-BmHIql4K.js → kol-input-text.entry-CoVISLPe.js} +2 -2
- package/dist/assets/{kol-input-text.entry-BmHIql4K.js.map → kol-input-text.entry-CoVISLPe.js.map} +1 -1
- package/dist/assets/{kol-kolibri.entry-8ncrG8Yr.js → kol-kolibri.entry-d34ib_Cl.js} +2 -2
- package/dist/assets/{kol-kolibri.entry-8ncrG8Yr.js.map → kol-kolibri.entry-d34ib_Cl.js.map} +1 -1
- package/dist/assets/{kol-link-button.entry-DoWm_UTU.js → kol-link-button.entry-nTyJKqOn.js} +2 -2
- package/dist/assets/{kol-link-button.entry-DoWm_UTU.js.map → kol-link-button.entry-nTyJKqOn.js.map} +1 -1
- package/dist/assets/{kol-link-wc.entry-CIG4D_J9.js → kol-link-wc.entry-CLvMpBQp.js} +2 -2
- package/dist/assets/{kol-link-wc.entry-CIG4D_J9.js.map → kol-link-wc.entry-CLvMpBQp.js.map} +1 -1
- package/dist/assets/{kol-link.entry-CsVjnmdg.js → kol-link.entry-DhDCy808.js} +2 -2
- package/dist/assets/{kol-link.entry-CsVjnmdg.js.map → kol-link.entry-DhDCy808.js.map} +1 -1
- package/dist/assets/{kol-modal.entry-CT0XV4Ad.js → kol-modal.entry-Cf5T-mgY.js} +2 -2
- package/dist/assets/{kol-modal.entry-CT0XV4Ad.js.map → kol-modal.entry-Cf5T-mgY.js.map} +1 -1
- package/dist/assets/{kol-nav.entry-DsJy0thO.js → kol-nav.entry-wR-d-Qsg.js} +2 -2
- package/dist/assets/{kol-nav.entry-DsJy0thO.js.map → kol-nav.entry-wR-d-Qsg.js.map} +1 -1
- package/dist/assets/{kol-pagination-wc.entry-1fpbGGzf.js → kol-pagination-wc.entry-g-JSZKST.js} +2 -2
- package/dist/assets/{kol-pagination-wc.entry-1fpbGGzf.js.map → kol-pagination-wc.entry-g-JSZKST.js.map} +1 -1
- package/dist/assets/{kol-pagination.entry-DhJPQWQh.js → kol-pagination.entry-DVmEF8__.js} +2 -2
- package/dist/assets/{kol-pagination.entry-DhJPQWQh.js.map → kol-pagination.entry-DVmEF8__.js.map} +1 -1
- package/dist/assets/{kol-popover-button-wc.entry-flLGsXkS.js → kol-popover-button-wc.entry-DHCZ92lV.js} +2 -2
- package/dist/assets/{kol-popover-button-wc.entry-flLGsXkS.js.map → kol-popover-button-wc.entry-DHCZ92lV.js.map} +1 -1
- package/dist/assets/{kol-popover-button.entry-D4wTv6og.js → kol-popover-button.entry-D8zueLZ-.js} +2 -2
- package/dist/assets/{kol-popover-button.entry-D4wTv6og.js.map → kol-popover-button.entry-D8zueLZ-.js.map} +1 -1
- package/dist/assets/{kol-popover-wc.entry-C9mEM7Fk.js → kol-popover-wc.entry-CZEEh8na.js} +2 -2
- package/dist/assets/{kol-popover-wc.entry-C9mEM7Fk.js.map → kol-popover-wc.entry-CZEEh8na.js.map} +1 -1
- package/dist/assets/{kol-progress.entry-B4QD9y7W.js → kol-progress.entry-DNCbw4OD.js} +3 -3
- package/dist/assets/kol-progress.entry-DNCbw4OD.js.map +1 -0
- package/dist/assets/{kol-quote.entry-DEZdfLeF.js → kol-quote.entry-Bbw3YeNy.js} +2 -2
- package/dist/assets/kol-quote.entry-Bbw3YeNy.js.map +1 -0
- package/dist/assets/{kol-select-wc.entry-TgpNrPzf.js → kol-select-wc.entry-U0KvHDKH.js} +2 -2
- package/dist/assets/{kol-select-wc.entry-TgpNrPzf.js.map → kol-select-wc.entry-U0KvHDKH.js.map} +1 -1
- package/dist/assets/{kol-select.entry-D__h6j_m.js → kol-select.entry-B7psywQa.js} +2 -2
- package/dist/assets/{kol-select.entry-D__h6j_m.js.map → kol-select.entry-B7psywQa.js.map} +1 -1
- package/dist/assets/{kol-single-select.entry-D8D_E56c.js → kol-single-select.entry-Bp-72hrE.js} +2 -2
- package/dist/assets/{kol-single-select.entry-D8D_E56c.js.map → kol-single-select.entry-Bp-72hrE.js.map} +1 -1
- package/dist/assets/kol-skeleton.entry-BeFF2ZTD.js +2 -0
- package/dist/assets/kol-skeleton.entry-BeFF2ZTD.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-DH1hGZqK.js → kol-skip-nav.entry-DuWEMRAJ.js} +2 -2
- package/dist/assets/{kol-skip-nav.entry-DH1hGZqK.js.map → kol-skip-nav.entry-DuWEMRAJ.js.map} +1 -1
- package/dist/assets/{kol-spin.entry-C0RvIIE_.js → kol-spin.entry-DbvoupBk.js} +2 -2
- package/dist/assets/{kol-spin.entry-C0RvIIE_.js.map → kol-spin.entry-DbvoupBk.js.map} +1 -1
- package/dist/assets/{kol-split-button.entry-BfJPIYMv.js → kol-split-button.entry-BBlzb6xt.js} +2 -2
- package/dist/assets/{kol-split-button.entry-BfJPIYMv.js.map → kol-split-button.entry-BBlzb6xt.js.map} +1 -1
- package/dist/assets/{kol-table-settings-wc.entry-zRskP_I3.js → kol-table-settings-wc.entry-CGJgWEXF.js} +2 -2
- package/dist/assets/{kol-table-settings-wc.entry-zRskP_I3.js.map → kol-table-settings-wc.entry-CGJgWEXF.js.map} +1 -1
- package/dist/assets/{kol-table-stateful.entry-BMBH15A-.js → kol-table-stateful.entry-z62xqv1e.js} +2 -2
- package/dist/assets/{kol-table-stateful.entry-BMBH15A-.js.map → kol-table-stateful.entry-z62xqv1e.js.map} +1 -1
- package/dist/assets/kol-table-stateless-wc.entry-__WJP02V.js +2 -0
- package/dist/assets/kol-table-stateless-wc.entry-__WJP02V.js.map +1 -0
- package/dist/assets/{kol-table-stateless.entry-DKpUQeO_.js → kol-table-stateless.entry-BS9-cW18.js} +2 -2
- package/dist/assets/{kol-table-stateless.entry-DKpUQeO_.js.map → kol-table-stateless.entry-BS9-cW18.js.map} +1 -1
- package/dist/assets/{kol-tabs.entry-YmGqUgGm.js → kol-tabs.entry-kGCybfT6.js} +2 -2
- package/dist/assets/{kol-tabs.entry-YmGqUgGm.js.map → kol-tabs.entry-kGCybfT6.js.map} +1 -1
- package/dist/assets/{kol-textarea.entry-C_nH94Ew.js → kol-textarea.entry-BoH8rimm.js} +2 -2
- package/dist/assets/{kol-textarea.entry-C_nH94Ew.js.map → kol-textarea.entry-BoH8rimm.js.map} +1 -1
- package/dist/assets/{kol-toast-container.entry-DIGuxp-2.js → kol-toast-container.entry-CaWbTsJ5.js} +2 -2
- package/dist/assets/{kol-toast-container.entry-DIGuxp-2.js.map → kol-toast-container.entry-CaWbTsJ5.js.map} +1 -1
- package/dist/assets/{kol-toolbar.entry-WrpPD6za.js → kol-toolbar.entry-GBNN07L8.js} +2 -2
- package/dist/assets/{kol-toolbar.entry-WrpPD6za.js.map → kol-toolbar.entry-GBNN07L8.js.map} +1 -1
- package/dist/assets/{kol-tooltip-wc.entry-Cnt7-Ygs.js → kol-tooltip-wc.entry-BiEaLZ7M.js} +2 -2
- package/dist/assets/{kol-tooltip-wc.entry-Cnt7-Ygs.js.map → kol-tooltip-wc.entry-BiEaLZ7M.js.map} +1 -1
- package/dist/assets/{kol-tree-item-wc.entry-Bq3o4F67.js → kol-tree-item-wc.entry-CVHmxHOe.js} +2 -2
- package/dist/assets/{kol-tree-item-wc.entry-Bq3o4F67.js.map → kol-tree-item-wc.entry-CVHmxHOe.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-B4IOrHy_.js → kol-tree-item.entry-aMekyAcy.js} +2 -2
- package/dist/assets/{kol-tree-item.entry-B4IOrHy_.js.map → kol-tree-item.entry-aMekyAcy.js.map} +1 -1
- package/dist/assets/{kol-tree-wc.entry-B3R5pOba.js → kol-tree-wc.entry-DBeiOpca.js} +2 -2
- package/dist/assets/{kol-tree-wc.entry-B3R5pOba.js.map → kol-tree-wc.entry-DBeiOpca.js.map} +1 -1
- package/dist/assets/{kol-tree.entry-rtvpIpB9.js → kol-tree.entry-Dh7-nDdw.js} +2 -2
- package/dist/assets/{kol-tree.entry-rtvpIpB9.js.map → kol-tree.entry-Dh7-nDdw.js.map} +1 -1
- package/dist/assets/{kol-version.entry-DZB28pje.js → kol-version.entry-DMx-Zb6l.js} +2 -2
- package/dist/assets/{kol-version.entry-DZB28pje.js.map → kol-version.entry-DMx-Zb6l.js.map} +1 -1
- package/dist/assets/kolicons/kolicons.eot +0 -0
- package/dist/assets/kolicons/kolicons.ttf +0 -0
- package/dist/assets/kolicons/kolicons.woff +0 -0
- package/dist/assets/kolicons/kolicons.woff2 +0 -0
- package/dist/assets/kolicons/style.css +6 -6
- package/dist/assets/label-BWcVeIOr-BceKQdCa.js +2 -0
- package/dist/assets/label-BWcVeIOr-BceKQdCa.js.map +1 -0
- package/dist/assets/{label-C18ud7Yt-DVVPTrJO.js → label-C18ud7Yt-82TCWEmK.js} +2 -2
- package/dist/assets/{label-C18ud7Yt-DVVPTrJO.js.map → label-C18ud7Yt-82TCWEmK.js.map} +1 -1
- package/dist/assets/{markdown-BWEzLPZi-DFm1Teot.js → markdown-BWEzLPZi-B3rqMG9V.js} +2 -2
- package/dist/assets/{markdown-BWEzLPZi-DFm1Teot.js.map → markdown-BWEzLPZi-B3rqMG9V.js.map} +1 -1
- package/dist/assets/{max-length-behavior-BfK6OnzA-CFRV0h79.js → max-length-behavior-BfK6OnzA-DzIWoHR_.js} +2 -2
- package/dist/assets/{max-length-behavior-BfK6OnzA-CFRV0h79.js.map → max-length-behavior-BfK6OnzA-DzIWoHR_.js.map} +1 -1
- package/dist/assets/multiple-BgWWOenK-B3hEUZsc.js +2 -0
- package/dist/assets/{multiple-BgWWOenK-BiRsQNNj.js.map → multiple-BgWWOenK-B3hEUZsc.js.map} +1 -1
- package/dist/assets/open-BhLtfnQI-BIQqgl2v.js +2 -0
- package/dist/assets/{open-BhLtfnQI-DZsQacUm.js.map → open-BhLtfnQI-BIQqgl2v.js.map} +1 -1
- package/dist/assets/{orientation-pWOiDBRo-DxvZs80G.js → orientation-pWOiDBRo-BMiZEahu.js} +2 -2
- package/dist/assets/{orientation-pWOiDBRo-DxvZs80G.js.map → orientation-pWOiDBRo-BMiZEahu.js.map} +1 -1
- package/dist/assets/placeholder-D8vH7TM6-Bt4sc7gg.js +2 -0
- package/dist/assets/{placeholder-D8vH7TM6-DyibCwDo.js.map → placeholder-D8vH7TM6-Bt4sc7gg.js.map} +1 -1
- package/dist/assets/read-only-C5tWj8H1-B1qynKWp.js +2 -0
- package/dist/assets/{read-only-C5tWj8H1-vblWMP9l.js.map → read-only-C5tWj8H1-B1qynKWp.js.map} +1 -1
- package/dist/assets/required-Dt9l4wUg-7ZwrOVKK.js +2 -0
- package/dist/assets/{required-Dt9l4wUg-CApdT4t8.js.map → required-Dt9l4wUg-7ZwrOVKK.js.map} +1 -1
- package/dist/assets/rows-CN7sG0G_-_iI54y--.js +2 -0
- package/dist/assets/{rows-CN7sG0G_-BhBHgXk8.js.map → rows-CN7sG0G_-_iI54y--.js.map} +1 -1
- package/dist/assets/show-DWCKSt29-C54smbkc.js +2 -0
- package/dist/assets/{show-DWCKSt29-BxS4tE9S.js.map → show-DWCKSt29-C54smbkc.js.map} +1 -1
- package/dist/assets/spell-check-BcvxI-Fn-BZNKR1Oj.js +2 -0
- package/dist/assets/{spell-check-BcvxI-Fn-CkYWKpW_.js.map → spell-check-BcvxI-Fn-BZNKR1Oj.js.map} +1 -1
- package/dist/assets/src-9cntFd6X-D_2j7iWo.js +2 -0
- package/dist/assets/src-9cntFd6X-D_2j7iWo.js.map +1 -0
- package/dist/assets/{suggestions-CAPtcaUM-BvULVswR.js → suggestions-CAPtcaUM-BwelBzKE.js} +2 -2
- package/dist/assets/{suggestions-CAPtcaUM-BvULVswR.js.map → suggestions-CAPtcaUM-BwelBzKE.js.map} +1 -1
- package/dist/assets/{table-selection-DAMWzd6x-CCKpEpPk.js → table-selection-DAMWzd6x-CYIUpGwe.js} +2 -2
- package/dist/assets/{table-selection-DAMWzd6x-CCKpEpPk.js.map → table-selection-DAMWzd6x-CYIUpGwe.js.map} +1 -1
- package/dist/assets/test-component.entry-4Nbwt3wY.js +2 -0
- package/dist/assets/{test-component.entry-CNoI6wXE.js.map → test-component.entry-4Nbwt3wY.js.map} +1 -1
- package/dist/assets/tooltip-align-DodV1tEH-Bb1580pm.js +2 -0
- package/dist/assets/{tooltip-align-DodV1tEH-C0uBWTyV.js.map → tooltip-align-DodV1tEH-Bb1580pm.js.map} +1 -1
- package/dist/assets/{unique-nav-labels-BVWNmacO-B3f7tr2g.js → unique-nav-labels-BVWNmacO-BhpD1QcD.js} +2 -2
- package/dist/assets/{unique-nav-labels-BVWNmacO-B3f7tr2g.js.map → unique-nav-labels-BVWNmacO-BhpD1QcD.js.map} +1 -1
- package/dist/assets/{validation-D7gmRWfA-BC6NP_C1.js → validation-D7gmRWfA-DjP3E0bS.js} +2 -2
- package/dist/assets/{validation-D7gmRWfA-BC6NP_C1.js.map → validation-D7gmRWfA-DjP3E0bS.js.map} +1 -1
- package/dist/assets/validation-QdERp-08-CVd6ZXcO.js +2 -0
- package/dist/assets/{validation-QdERp-08-D6Z7BgE7.js.map → validation-QdERp-08-CVd6ZXcO.js.map} +1 -1
- package/dist/assets/{variant-class-name-DbXpwWql-DmBUH_Cb.js → variant-class-name-DbXpwWql-CT6lY5M4.js} +2 -2
- package/dist/assets/{variant-class-name-DbXpwWql-DmBUH_Cb.js.map → variant-class-name-DbXpwWql-CT6lY5M4.js.map} +1 -1
- package/dist/index.html +1 -1
- package/package.json +7 -7
- package/public/assets/kolicons/kolicons.eot +0 -0
- package/public/assets/kolicons/kolicons.ttf +0 -0
- package/public/assets/kolicons/kolicons.woff +0 -0
- package/public/assets/kolicons/kolicons.woff2 +0 -0
- package/public/assets/kolicons/style.css +6 -6
- package/src/scenarios/performance-test.tsx +1 -1
- package/src/scenarios/skeleton.tsx +0 -1
- package/dist/assets/base-controller-DXBNrrLx-C0AnRAqn.js +0 -2
- package/dist/assets/base-controller-DXBNrrLx-C0AnRAqn.js.map +0 -1
- package/dist/assets/controller-CseHvmhJ-DdyDYkY6.js +0 -2
- package/dist/assets/controller-CseHvmhJ-DdyDYkY6.js.map +0 -1
- package/dist/assets/custom-class-DyUifVn_-bykX3Vkt.js +0 -2
- package/dist/assets/disabled-BdPI9eda-BFM0nFDP.js +0 -2
- package/dist/assets/has-closer-BbY1hw6m-DKOu4hpa.js +0 -2
- package/dist/assets/hide-label-ByItyHgV-x1WBM_YB.js +0 -2
- package/dist/assets/href-BtQW7uxb-Dtbdn_7c.js +0 -2
- package/dist/assets/i18n-DvMeCREp-BkNCAkAX.js +0 -2
- package/dist/assets/index-BjMDbBlh.js.map +0 -1
- package/dist/assets/inline-q8GZVjiZ-VKUiprtL.js +0 -2
- package/dist/assets/kol-avatar.entry-C-XYCFzW.js.map +0 -1
- package/dist/assets/kol-image.entry-Bbsz9RiV.js.map +0 -1
- package/dist/assets/kol-progress.entry-B4QD9y7W.js.map +0 -1
- package/dist/assets/kol-quote.entry-DEZdfLeF.js.map +0 -1
- package/dist/assets/kol-skeleton.entry-M9OoeNC8.js +0 -2
- package/dist/assets/kol-skeleton.entry-M9OoeNC8.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-DgPnssE8.js +0 -2
- package/dist/assets/kol-table-stateless-wc.entry-DgPnssE8.js.map +0 -1
- package/dist/assets/label-DVazFQSR-Nl0d3c-O.js +0 -2
- package/dist/assets/label-DVazFQSR-Nl0d3c-O.js.map +0 -1
- package/dist/assets/multiple-BgWWOenK-BiRsQNNj.js +0 -2
- package/dist/assets/open-BhLtfnQI-DZsQacUm.js +0 -2
- package/dist/assets/placeholder-D8vH7TM6-DyibCwDo.js +0 -2
- package/dist/assets/read-only-C5tWj8H1-vblWMP9l.js +0 -2
- package/dist/assets/required-Dt9l4wUg-CApdT4t8.js +0 -2
- package/dist/assets/rows-CN7sG0G_-BhBHgXk8.js +0 -2
- package/dist/assets/show-DWCKSt29-BxS4tE9S.js +0 -2
- package/dist/assets/spell-check-BcvxI-Fn-CkYWKpW_.js +0 -2
- package/dist/assets/src-CcGoBQSj-Df3ylVCZ.js +0 -2
- package/dist/assets/src-CcGoBQSj-Df3ylVCZ.js.map +0 -1
- package/dist/assets/test-component.entry-CNoI6wXE.js +0 -2
- package/dist/assets/tooltip-align-DodV1tEH-C0uBWTyV.js +0 -2
- package/dist/assets/validation-QdERp-08-D6Z7BgE7.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/kol-abbr.entry-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/kol-abbr.entry-DVTfmhZo.js","assets/label-C18ud7Yt-82TCWEmK.js","assets/kol-accordion.entry-DAso96XV.js","assets/Collapsible-bnOZJnyH-D3Ia6uJ4.js","assets/tslib.es6-CxX45GIN-BGVaTf34.js","assets/clsx-COFh-Vc8-D7cYsJM5.js","assets/Heading-Dq9b664g--7g5PEA3.js","assets/disabled-BdPI9eda-nLn8C_pR.js","assets/open-BhLtfnQI-BIQqgl2v.js","assets/dev.utils-BMMmANAZ-BTtYwTOF.js","assets/validation-QdERp-08-CVd6ZXcO.js","assets/kol-avatar.entry-jRMsgQqq.js","assets/i18n-DvMeCREp-0gkosKKJ.js","assets/contrast-qfZiX0wi-1I_2v_z9.js","assets/base-controller-Bkp0Z9l1-CGrNG0bX.js","assets/label-BWcVeIOr-BceKQdCa.js","assets/src-9cntFd6X-D_2j7iWo.js","assets/kol-badge.entry-Bx8PrRFe.js","assets/Alert-Dpxgsk5h-DaVf3nEL.js","assets/color-CUkVwfhq-vMzQCKi8.js","assets/icons-CmA8Oww0-D3lROVQS.js","assets/Span-CTCuXdOx-Cy5o9rkQ.js","assets/Icon-BenYNrZ4-NGzVuhE8.js","assets/InternalUnderlinedBadgeText-DhL4XBjG-BhnNWJXI.js","assets/isObject-DvSELytj-CqVuuo6Q.js","assets/markdown-BWEzLPZi-B3rqMG9V.js","assets/kol-breadcrumb.entry-D9ABs-Fx.js","assets/unique-nav-labels-BVWNmacO-BhpD1QcD.js","assets/validation-D7gmRWfA-DjP3E0bS.js","assets/kol-details.entry-DE51BYty.js","assets/kol-drawer.entry-wSRTTUTD.js","assets/align-DDUsWnWP-ck8Vy_OB.js","assets/has-closer-BbY1hw6m-CDQG-6T1.js","assets/tooltip-open-tracking-rBbBgPWP-DRkgcff2.js","assets/kol-form.entry-Cc3txdvp.js","assets/kol-heading.entry-BOZOkxzn.js","assets/kol-icon.entry-BZsfXjnx.js","assets/kol-image.entry-vf7agZVe.js","assets/kol-input-checkbox.entry-B5Q25scf.js","assets/controller-Ci3-VPPO-DOzVAzKO.js","assets/required-Dt9l4wUg-7ZwrOVKK.js","assets/orientation-pWOiDBRo-BMiZEahu.js","assets/FormFieldStateWrapper-Dv6_VAtz-B77B1MZm.js","assets/access-and-short-key-CPX70LXd-DkVH7z6K.js","assets/hide-label-ByItyHgV-B72vgS72.js","assets/tooltip-align-DodV1tEH-Bb1580pm.js","assets/associated.controller-CdEaJGVD-Ce4k8wK-.js","assets/Input-DG_Nqgy7-CdSl0hvE.js","assets/FieldControlStateWrapper-DhJorxpS-DQJyQCl5.js","assets/controller-zA71XEOV-cZhed7B8.js","assets/kol-input-color.entry-DFqOp9LR.js","assets/controller-icon-DnxFHbRN-3Z1YGnII.js","assets/InputStateWrapper-C_pyyTSX-DqIsB0wK.js","assets/auto-complete-69d94cWC-bo6XzhTc.js","assets/suggestions-CAPtcaUM-BwelBzKE.js","assets/kol-input-date.entry-Dtt-F3-E.js","assets/read-only-C5tWj8H1-B1qynKWp.js","assets/kol-input-email.entry-Br3FfhyK.js","assets/max-length-behavior-BfK6OnzA-DzIWoHR_.js","assets/multiple-BgWWOenK-B3hEUZsc.js","assets/controller-Cx3UWBbU-BJKisy7X.js","assets/spell-check-BcvxI-Fn-BZNKR1Oj.js","assets/controller-Ivqfe3_p-DIPJu9Sw.js","assets/placeholder-D8vH7TM6-Bt4sc7gg.js","assets/kol-input-file.entry-DxE4HxBA.js","assets/kol-input-number.entry-DVXO2aEN.js","assets/kol-input-password.entry-B3mfhcwd.js","assets/kol-input-radio.entry-Bl15yx3u.js","assets/kol-input-text.entry-CoVISLPe.js","assets/kol-kolibri.entry-d34ib_Cl.js","assets/kol-nav.entry-wR-d-Qsg.js","assets/kol-progress.entry-DNCbw4OD.js","assets/kol-quote.entry-Bbw3YeNy.js","assets/kol-skeleton.entry-BeFF2ZTD.js","assets/controller-DEXOEa0T-B4Abl9ES.js","assets/kol-skip-nav.entry-DuWEMRAJ.js","assets/kol-spin.entry-DbvoupBk.js","assets/show-DWCKSt29-C54smbkc.js","assets/kol-split-button.entry-BBlzb6xt.js","assets/kol-table-stateful.entry-z62xqv1e.js","assets/table-selection-DAMWzd6x-CYIUpGwe.js","assets/keyboard-DNd73LVa-BwofTq6r.js","assets/kol-tabs.entry-kGCybfT6.js","assets/kol-textarea.entry-BoH8rimm.js","assets/rows-CN7sG0G_-_iI54y--.js","assets/kol-toast-container.entry-CaWbTsJ5.js","assets/kol-toolbar.entry-GBNN07L8.js","assets/kol-version.entry-DMx-Zb6l.js","assets/kol-alert-wc.entry-BjG0OP7_.js","assets/kol-button-wc.entry-CiOzuUbP.js","assets/variant-class-name-DbXpwWql-CT6lY5M4.js","assets/custom-class-DyUifVn_-Bh4aNHMZ.js","assets/inline-q8GZVjiZ-B1gTugU9.js","assets/kol-card-wc.entry-gYYhx4Gm.js","assets/kol-click-button.entry-BMUVib5l.js","assets/kol-combobox.entry-C5SQ7k4u.js","assets/CustomSuggestionsOptionsGroup-DHH1ynIA-GRY2FMuZ.js","assets/kol-dialog-wc.entry-CuT8hG69.js","assets/kol-input-range.entry-DKb1rDaX.js","assets/kol-link-wc.entry-CLvMpBQp.js","assets/href-BtQW7uxb-C-MUowE_.js","assets/kol-pagination-wc.entry-g-JSZKST.js","assets/kol-popover-button-wc.entry-DHCZ92lV.js","assets/align-floating-elements-DGbaInbL-B9kdx3Cx.js","assets/kol-popover-wc.entry-CZEEh8na.js","assets/kol-select-wc.entry-U0KvHDKH.js","assets/kol-single-select.entry-Bp-72hrE.js","assets/kol-table-settings-wc.entry-CGJgWEXF.js","assets/kol-table-stateless-wc.entry-__WJP02V.js","assets/kol-tooltip-wc.entry-BiEaLZ7M.js","assets/kol-tree-item-wc.entry-CVHmxHOe.js","assets/kol-tree-wc.entry-DBeiOpca.js","assets/devtools-C0XNS3IL-D8vlYs7c.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))i(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const u of d.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function a(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function i(c){if(c.ep)return;c.ep=!0;const d=a(c);fetch(c.href,d)}})();function $z(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Of={exports:{}},ji={};var Uh;function Bz(){if(Uh)return ji;Uh=1;var e=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function a(i,c,d){var u=null;if(d!==void 0&&(u=""+d),c.key!==void 0&&(u=""+c.key),"key"in c){d={};for(var k in c)k!=="key"&&(d[k]=c[k])}else d=c;return c=d.ref,{$$typeof:e,type:i,key:u,ref:c!==void 0?c:null,props:d}}return ji.Fragment=o,ji.jsx=a,ji.jsxs=a,ji}var Fh;function Mz(){return Fh||(Fh=1,Of.exports=Bz()),Of.exports}var r=Mz(),Rf={exports:{}},Be={};var Kh;function Iz(){if(Kh)return Be;Kh=1;var e=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),u=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),_=Symbol.iterator;function w(N){return N===null||typeof N!="object"?null:(N=_&&N[_]||N["@@iterator"],typeof N=="function"?N:null)}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,T={};function C(N,G,ce){this.props=N,this.context=G,this.refs=T,this.updater=ce||L}C.prototype.isReactComponent={},C.prototype.setState=function(N,G){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,G,"setState")},C.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function x(){}x.prototype=C.prototype;function z(N,G,ce){this.props=N,this.context=G,this.refs=T,this.updater=ce||L}var R=z.prototype=new x;R.constructor=z,S(R,C.prototype),R.isPureReactComponent=!0;var B=Array.isArray;function F(){}var Z={H:null,A:null,T:null,S:null},oe=Object.prototype.hasOwnProperty;function de(N,G,ce){var pe=ce.ref;return{$$typeof:e,type:N,key:G,ref:pe!==void 0?pe:null,props:ce}}function Re(N,G){return de(N.type,G,N.props)}function ie(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function ee(N){var G={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(ce){return G[ce]})}var ke=/\/+/g;function Ce(N,G){return typeof N=="object"&&N!==null&&N.key!=null?ee(""+N.key):G.toString(36)}function Ae(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(F,F):(N.status="pending",N.then(function(G){N.status==="pending"&&(N.status="fulfilled",N.value=G)},function(G){N.status==="pending"&&(N.status="rejected",N.reason=G)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function I(N,G,ce,pe,Ne){var De=typeof N;(De==="undefined"||De==="boolean")&&(N=null);var Ge=!1;if(N===null)Ge=!0;else switch(De){case"bigint":case"string":case"number":Ge=!0;break;case"object":switch(N.$$typeof){case e:case o:Ge=!0;break;case g:return Ge=N._init,I(Ge(N._payload),G,ce,pe,Ne)}}if(Ge)return Ne=Ne(N),Ge=pe===""?"."+Ce(N,0):pe,B(Ne)?(ce="",Ge!=null&&(ce=Ge.replace(ke,"$&/")+"/"),I(Ne,G,ce,"",function(gt){return gt})):Ne!=null&&(ie(Ne)&&(Ne=Re(Ne,ce+(Ne.key==null||N&&N.key===Ne.key?"":(""+Ne.key).replace(ke,"$&/")+"/")+Ge)),G.push(Ne)),1;Ge=0;var Ln=pe===""?".":pe+":";if(B(N))for(var xn=0;xn<N.length;xn++)pe=N[xn],De=Ln+Ce(pe,xn),Ge+=I(pe,G,ce,De,Ne);else if(xn=w(N),typeof xn=="function")for(N=xn.call(N),xn=0;!(pe=N.next()).done;)pe=pe.value,De=Ln+Ce(pe,xn++),Ge+=I(pe,G,ce,De,Ne);else if(De==="object"){if(typeof N.then=="function")return I(Ae(N),G,ce,pe,Ne);throw G=String(N),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return Ge}function Y(N,G,ce){if(N==null)return N;var pe=[],Ne=0;return I(N,pe,"","",function(De){return G.call(ce,De,Ne++)}),pe}function se(N){if(N._status===-1){var G=N._result;G=G(),G.then(function(ce){(N._status===0||N._status===-1)&&(N._status=1,N._result=ce)},function(ce){(N._status===0||N._status===-1)&&(N._status=2,N._result=ce)}),N._status===-1&&(N._status=0,N._result=G)}if(N._status===1)return N._result.default;throw N._result}var Te=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},Ee={map:Y,forEach:function(N,G,ce){Y(N,function(){G.apply(this,arguments)},ce)},count:function(N){var G=0;return Y(N,function(){G++}),G},toArray:function(N){return Y(N,function(G){return G})||[]},only:function(N){if(!ie(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};return Be.Activity=h,Be.Children=Ee,Be.Component=C,Be.Fragment=a,Be.Profiler=c,Be.PureComponent=z,Be.StrictMode=i,Be.Suspense=p,Be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,Be.__COMPILER_RUNTIME={__proto__:null,c:function(N){return Z.H.useMemoCache(N)}},Be.cache=function(N){return function(){return N.apply(null,arguments)}},Be.cacheSignal=function(){return null},Be.cloneElement=function(N,G,ce){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var pe=S({},N.props),Ne=N.key;if(G!=null)for(De in G.key!==void 0&&(Ne=""+G.key),G)!oe.call(G,De)||De==="key"||De==="__self"||De==="__source"||De==="ref"&&G.ref===void 0||(pe[De]=G[De]);var De=arguments.length-2;if(De===1)pe.children=ce;else if(1<De){for(var Ge=Array(De),Ln=0;Ln<De;Ln++)Ge[Ln]=arguments[Ln+2];pe.children=Ge}return de(N.type,Ne,pe)},Be.createContext=function(N){return N={$$typeof:u,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:d,_context:N},N},Be.createElement=function(N,G,ce){var pe,Ne={},De=null;if(G!=null)for(pe in G.key!==void 0&&(De=""+G.key),G)oe.call(G,pe)&&pe!=="key"&&pe!=="__self"&&pe!=="__source"&&(Ne[pe]=G[pe]);var Ge=arguments.length-2;if(Ge===1)Ne.children=ce;else if(1<Ge){for(var Ln=Array(Ge),xn=0;xn<Ge;xn++)Ln[xn]=arguments[xn+2];Ne.children=Ln}if(N&&N.defaultProps)for(pe in Ge=N.defaultProps,Ge)Ne[pe]===void 0&&(Ne[pe]=Ge[pe]);return de(N,De,Ne)},Be.createRef=function(){return{current:null}},Be.forwardRef=function(N){return{$$typeof:k,render:N}},Be.isValidElement=ie,Be.lazy=function(N){return{$$typeof:g,_payload:{_status:-1,_result:N},_init:se}},Be.memo=function(N,G){return{$$typeof:m,type:N,compare:G===void 0?null:G}},Be.startTransition=function(N){var G=Z.T,ce={};Z.T=ce;try{var pe=N(),Ne=Z.S;Ne!==null&&Ne(ce,pe),typeof pe=="object"&&pe!==null&&typeof pe.then=="function"&&pe.then(F,Te)}catch(De){Te(De)}finally{G!==null&&ce.types!==null&&(G.types=ce.types),Z.T=G}},Be.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},Be.use=function(N){return Z.H.use(N)},Be.useActionState=function(N,G,ce){return Z.H.useActionState(N,G,ce)},Be.useCallback=function(N,G){return Z.H.useCallback(N,G)},Be.useContext=function(N){return Z.H.useContext(N)},Be.useDebugValue=function(){},Be.useDeferredValue=function(N,G){return Z.H.useDeferredValue(N,G)},Be.useEffect=function(N,G){return Z.H.useEffect(N,G)},Be.useEffectEvent=function(N){return Z.H.useEffectEvent(N)},Be.useId=function(){return Z.H.useId()},Be.useImperativeHandle=function(N,G,ce){return Z.H.useImperativeHandle(N,G,ce)},Be.useInsertionEffect=function(N,G){return Z.H.useInsertionEffect(N,G)},Be.useLayoutEffect=function(N,G){return Z.H.useLayoutEffect(N,G)},Be.useMemo=function(N,G){return Z.H.useMemo(N,G)},Be.useOptimistic=function(N,G){return Z.H.useOptimistic(N,G)},Be.useReducer=function(N,G,ce){return Z.H.useReducer(N,G,ce)},Be.useRef=function(N){return Z.H.useRef(N)},Be.useState=function(N){return Z.H.useState(N)},Be.useSyncExternalStore=function(N,G,ce){return Z.H.useSyncExternalStore(N,G,ce)},Be.useTransition=function(){return Z.H.useTransition()},Be.version="19.2.4",Be}var Hh;function rk(){return Hh||(Hh=1,Rf.exports=Iz()),Rf.exports}var j=rk();const le=$z(j),Uz=e=>e.toLowerCase().split("-").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(""),L1=e=>e.replace(/([A-Z])/g,o=>`-${o[0].toLowerCase()}`),Fz=(e,o,a={})=>{if(e instanceof Element){const i=Kz(e.classList,o,a);i!==""&&(e.className=i),Object.keys(o).forEach(c=>{if(!(c==="children"||c==="style"||c==="ref"||c==="class"||c==="className"||c==="forwardedRef"))if(c.indexOf("on")===0&&c[2]===c[2].toUpperCase()){const d=c.substring(2),u=d[0].toLowerCase()+d.substring(1);N1(u)||Vz(e,u,o[c])}else e[c]=o[c],typeof o[c]==="string"&&e.setAttribute(L1(c),o[c])})}},Kz=(e,o,a)=>{const i=o.className||o.class,c=a.className||a.class,d=Df(e),u=Df(i?i.split(" "):[]),k=Df(c?c.split(" "):[]),p=[];return d.forEach(m=>{u.has(m)?(p.push(m),u.delete(m)):k.has(m)||p.push(m)}),u.forEach(m=>p.push(m)),p.join(" ")},Hz=e=>{switch(e){case"doubleclick":return"dblclick"}return e};const N1=e=>{if(typeof document>"u")return!0;{const o="on"+Hz(e);let a=o in document;if(!a){const i=document.createElement("div");i.setAttribute(o,"return;"),a=typeof i[o]=="function"}return a}},Vz=(e,o,a)=>{const i=e.__events||(e.__events={}),c=i[o];c&&e.removeEventListener(o,c),e.addEventListener(o,i[o]=function(u){a&&a.call(this,u)})},Df=e=>{const o=new Map;return e.forEach(a=>o.set(a,a)),o};let bb;const qz=e=>{bb=e},Zz=(e,o)=>{typeof e=="function"?e(o):e!=null&&(e.current=o)},Pz=(...e)=>o=>{e.forEach(a=>{Zz(a,o)})},Gz=(e,o)=>{const a=(i,c)=>le.createElement(e,{...i,forwardedRef:c});return a.displayName=o,le.forwardRef(a)},Oe=(e,o,a,i)=>{const c=Uz(e),d=class extends le.Component{componentEl;setComponentElRef=u=>{this.componentEl=u};constructor(u){super(u)}componentDidMount(){this.componentDidUpdate(this.props)}componentDidUpdate(u){Fz(this.componentEl,this.props,u)}render(){const{children:u,forwardedRef:k,style:p,className:m,ref:g,...h}=this.props,w={...Object.keys(h).reduce((S,T)=>{const C=h[T];if(T.indexOf("on")===0&&T[2]===T[2].toUpperCase()){const x=T.substring(2).toLowerCase();typeof document<"u"&&N1(x)&&(S[T]=C)}else{const x=typeof C;(x==="string"||x==="boolean"||x==="number")&&(S[L1(T)]=C)}return S},{}),ref:Pz(k,this.setComponentElRef),style:p},L=typeof bb=="function"?bb(e):e;return j.createElement(L,w,u)}static get displayName(){return c}};return Gz(d,c)},Ui=Oe("kol-abbr"),qn=Oe("kol-accordion"),oo=Oe("kol-alert"),_s=Oe("kol-avatar"),wn=Oe("kol-badge"),$i=Oe("kol-breadcrumb"),$=Oe("kol-button"),He=Oe("kol-button-link"),$e=Oe("kol-card"),po=Oe("kol-combobox"),ar=Oe("kol-details"),kb=Oe("kol-dialog"),nd=Oe("kol-drawer"),mo=Oe("kol-form"),ne=Oe("kol-heading"),jo=Oe("kol-icon"),ak=Oe("kol-image"),an=Oe("kol-input-checkbox"),Kn=Oe("kol-input-color"),Fe=Oe("kol-input-date"),Hn=Oe("kol-input-email"),Nn=Oe("kol-input-file"),yn=Oe("kol-input-number"),An=Oe("kol-input-password"),On=Oe("kol-input-radio"),Vn=Oe("kol-input-range"),fe=Oe("kol-input-text"),Es=Oe("kol-kolibri"),ge=Oe("kol-link"),Xe=Oe("kol-link-button"),jl=Oe("kol-nav"),gl=Oe("kol-pagination"),Al=Oe("kol-popover-button"),Qo=Oe("kol-progress"),O1=Oe("kol-quote"),Qn=Oe("kol-select"),ko=Oe("kol-single-select"),R1=Oe("kol-skeleton"),Yz=Oe("kol-skip-nav"),Wi=Oe("kol-spin"),yl=Oe("kol-split-button"),on=Oe("kol-table-stateful"),_a=Oe("kol-table-stateless"),ir=Oe("kol-tabs"),Qe=Oe("kol-textarea"),xa=Oe("kol-toolbar"),D1=Oe("kol-tree"),no=Oe("kol-tree-item"),od=Oe("kol-version");function Kr(e){const o=document.createElement("div");return o.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(o),o}var $f={exports:{}},Si={},Bf={exports:{}},Mf={};var Vh;function Jz(){return Vh||(Vh=1,(function(e){function o(I,Y){var se=I.length;I.push(Y);e:for(;0<se;){var Te=se-1>>>1,Ee=I[Te];if(0<c(Ee,Y))I[Te]=Y,I[se]=Ee,se=Te;else break e}}function a(I){return I.length===0?null:I[0]}function i(I){if(I.length===0)return null;var Y=I[0],se=I.pop();if(se!==Y){I[0]=se;e:for(var Te=0,Ee=I.length,N=Ee>>>1;Te<N;){var G=2*(Te+1)-1,ce=I[G],pe=G+1,Ne=I[pe];if(0>c(ce,se))pe<Ee&&0>c(Ne,ce)?(I[Te]=Ne,I[pe]=se,Te=pe):(I[Te]=ce,I[G]=se,Te=G);else if(pe<Ee&&0>c(Ne,se))I[Te]=Ne,I[pe]=se,Te=pe;else break e}}return Y}function c(I,Y){var se=I.sortIndex-Y.sortIndex;return se!==0?se:I.id-Y.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;e.unstable_now=function(){return d.now()}}else{var u=Date,k=u.now();e.unstable_now=function(){return u.now()-k}}var p=[],m=[],g=1,h=null,_=3,w=!1,L=!1,S=!1,T=!1,C=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function R(I){for(var Y=a(m);Y!==null;){if(Y.callback===null)i(m);else if(Y.startTime<=I)i(m),Y.sortIndex=Y.expirationTime,o(p,Y);else break;Y=a(m)}}function B(I){if(S=!1,R(I),!L)if(a(p)!==null)L=!0,F||(F=!0,ee());else{var Y=a(m);Y!==null&&Ae(B,Y.startTime-I)}}var F=!1,Z=-1,oe=5,de=-1;function Re(){return T?!0:!(e.unstable_now()-de<oe)}function ie(){if(T=!1,F){var I=e.unstable_now();de=I;var Y=!0;try{e:{L=!1,S&&(S=!1,x(Z),Z=-1),w=!0;var se=_;try{n:{for(R(I),h=a(p);h!==null&&!(h.expirationTime>I&&Re());){var Te=h.callback;if(typeof Te=="function"){h.callback=null,_=h.priorityLevel;var Ee=Te(h.expirationTime<=I);if(I=e.unstable_now(),typeof Ee=="function"){h.callback=Ee,R(I),Y=!0;break n}h===a(p)&&i(p),R(I)}else i(p);h=a(p)}if(h!==null)Y=!0;else{var N=a(m);N!==null&&Ae(B,N.startTime-I),Y=!1}}break e}finally{h=null,_=se,w=!1}Y=void 0}}finally{Y?ee():F=!1}}}var ee;if(typeof z=="function")ee=function(){z(ie)};else if(typeof MessageChannel<"u"){var ke=new MessageChannel,Ce=ke.port2;ke.port1.onmessage=ie,ee=function(){Ce.postMessage(null)}}else ee=function(){C(ie,0)};function Ae(I,Y){Z=C(function(){I(e.unstable_now())},Y)}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(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):oe=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function(I){switch(_){case 1:case 2:case 3:var Y=3;break;default:Y=_}var se=_;_=Y;try{return I()}finally{_=se}},e.unstable_requestPaint=function(){T=!0},e.unstable_runWithPriority=function(I,Y){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var se=_;_=I;try{return Y()}finally{_=se}},e.unstable_scheduleCallback=function(I,Y,se){var Te=e.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?Te+se:Te):se=Te,I){case 1:var Ee=-1;break;case 2:Ee=250;break;case 5:Ee=1073741823;break;case 4:Ee=1e4;break;default:Ee=5e3}return Ee=se+Ee,I={id:g++,callback:Y,priorityLevel:I,startTime:se,expirationTime:Ee,sortIndex:-1},se>Te?(I.sortIndex=se,o(m,I),a(p)===null&&I===a(m)&&(S?(x(Z),Z=-1):S=!0,Ae(B,se-Te))):(I.sortIndex=Ee,o(p,I),L||w||(L=!0,F||(F=!0,ee()))),I},e.unstable_shouldYield=Re,e.unstable_wrapCallback=function(I){var Y=_;return function(){var se=_;_=Y;try{return I.apply(this,arguments)}finally{_=se}}}})(Mf)),Mf}var qh;function Xz(){return qh||(qh=1,Bf.exports=Jz()),Bf.exports}var If={exports:{}},_o={};var Zh;function Qz(){if(Zh)return _o;Zh=1;var e=rk();function o(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)m+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(o(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},c=Symbol.for("react.portal");function d(p,m,g){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:h==null?null:""+h,children:p,containerInfo:m,implementation:g}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function k(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return _o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,_o.createPortal=function(p,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(o(299));return d(p,m,null,g)},_o.flushSync=function(p){var m=u.T,g=i.p;try{if(u.T=null,i.p=2,p)return p()}finally{u.T=m,i.p=g,i.d.f()}},_o.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,i.d.C(p,m))},_o.prefetchDNS=function(p){typeof p=="string"&&i.d.D(p)},_o.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var g=m.as,h=k(g,m.crossOrigin),_=typeof m.integrity=="string"?m.integrity:void 0,w=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;g==="style"?i.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:h,integrity:_,fetchPriority:w}):g==="script"&&i.d.X(p,{crossOrigin:h,integrity:_,fetchPriority:w,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},_o.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var g=k(m.as,m.crossOrigin);i.d.M(p,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&i.d.M(p)},_o.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var g=m.as,h=k(g,m.crossOrigin);i.d.L(p,g,{crossOrigin:h,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},_o.preloadModule=function(p,m){if(typeof p=="string")if(m){var g=k(m.as,m.crossOrigin);i.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else i.d.m(p)},_o.requestFormReset=function(p){i.d.r(p)},_o.unstable_batchedUpdates=function(p,m){return p(m)},_o.useFormState=function(p,m,g){return u.H.useFormState(p,m,g)},_o.useFormStatus=function(){return u.H.useHostTransitionStatus()},_o.version="19.2.4",_o}var Ph;function Wz(){if(Ph)return If.exports;Ph=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(o){console.error(o)}}return e(),If.exports=Qz(),If.exports}var Gh;function e6(){if(Gh)return Si;Gh=1;var e=Xz(),o=rk(),a=Wz();function i(n){var t="https://react.dev/errors/"+n;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+n+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function d(n){var t=n,l=n;if(n.alternate)for(;t.return;)t=t.return;else{n=t;do t=n,(t.flags&4098)!==0&&(l=t.return),n=t.return;while(n)}return t.tag===3?l:null}function u(n){if(n.tag===13){var t=n.memoizedState;if(t===null&&(n=n.alternate,n!==null&&(t=n.memoizedState)),t!==null)return t.dehydrated}return null}function k(n){if(n.tag===31){var t=n.memoizedState;if(t===null&&(n=n.alternate,n!==null&&(t=n.memoizedState)),t!==null)return t.dehydrated}return null}function p(n){if(d(n)!==n)throw Error(i(188))}function m(n){var t=n.alternate;if(!t){if(t=d(n),t===null)throw Error(i(188));return t!==n?null:n}for(var l=n,s=t;;){var f=l.return;if(f===null)break;var b=f.alternate;if(b===null){if(s=f.return,s!==null){l=s;continue}break}if(f.child===b.child){for(b=f.child;b;){if(b===l)return p(f),n;if(b===s)return p(f),t;b=b.sibling}throw Error(i(188))}if(l.return!==s.return)l=f,s=b;else{for(var v=!1,y=f.child;y;){if(y===l){v=!0,l=f,s=b;break}if(y===s){v=!0,s=f,l=b;break}y=y.sibling}if(!v){for(y=b.child;y;){if(y===l){v=!0,l=b,s=f;break}if(y===s){v=!0,s=b,l=f;break}y=y.sibling}if(!v)throw Error(i(189))}}if(l.alternate!==s)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?n:t}function g(n){var t=n.tag;if(t===5||t===26||t===27||t===6)return n;for(n=n.child;n!==null;){if(t=g(n),t!==null)return t;n=n.sibling}return null}var h=Object.assign,_=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),z=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),Re=Symbol.for("react.memo_cache_sentinel"),ie=Symbol.iterator;function ee(n){return n===null||typeof n!="object"?null:(n=ie&&n[ie]||n["@@iterator"],typeof n=="function"?n:null)}var ke=Symbol.for("react.client.reference");function Ce(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ke?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case S:return"Fragment";case C:return"Profiler";case T:return"StrictMode";case B:return"Suspense";case F:return"SuspenseList";case de:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case L:return"Portal";case z:return n.displayName||"Context";case x:return(n._context.displayName||"Context")+".Consumer";case R:var t=n.render;return n=n.displayName,n||(n=t.displayName||t.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Z:return t=n.displayName||null,t!==null?t:Ce(n.type)||"Memo";case oe:t=n._payload,n=n._init;try{return Ce(n(t))}catch{}}return null}var Ae=Array.isArray,I=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},Te=[],Ee=-1;function N(n){return{current:n}}function G(n){0>Ee||(n.current=Te[Ee],Te[Ee]=null,Ee--)}function ce(n,t){Ee++,Te[Ee]=n.current,n.current=t}var pe=N(null),Ne=N(null),De=N(null),Ge=N(null);function Ln(n,t){switch(ce(De,t),ce(Ne,n),ce(pe,null),t.nodeType){case 9:case 11:n=(n=t.documentElement)&&(n=n.namespaceURI)?sh(n):0;break;default:if(n=t.tagName,t=t.namespaceURI)t=sh(t),n=dh(t,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}G(pe),ce(pe,n)}function xn(){G(pe),G(Ne),G(De)}function gt(n){n.memoizedState!==null&&ce(Ge,n);var t=pe.current,l=dh(t,n.type);t!==l&&(ce(Ne,n),ce(pe,l))}function Tt(n){Ne.current===n&&(G(pe),G(Ne)),Ge.current===n&&(G(Ge),xi._currentValue=se)}var Zr,Pr;function _t(n){if(Zr===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Zr=t&&t[1]||"",Pr=-1<l.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+Zr+n+Pr}var $t=!1;function fr(n,t){if(!n||$t)return"";$t=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(t){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(P){var q=P}Reflect.construct(n,[],W)}else{try{W.call()}catch(P){q=P}n.call(W.prototype)}}else{try{throw Error()}catch(P){q=P}(W=n())&&typeof W.catch=="function"&&W.catch(function(){})}}catch(P){if(P&&q&&typeof P.stack=="string")return[P.stack,q.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=s.DetermineComponentFrameRoot(),v=b[0],y=b[1];if(v&&y){var E=v.split(`
|
|
@@ -24,11 +24,11 @@ Please change the parent <Route path="${T}"> to <Route path="${T==="/"?"*":`${T}
|
|
|
24
24
|
- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`)},vM=(e,o=8)=>{o>7&&b5(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.
|
|
25
25
|
|
|
26
26
|
Link:
|
|
27
|
-
- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)};var k5=.2126,p5=.7152,m5=.0722,Hf=1/12.92;function Vf(e){return Math.pow((e+.055)/1.055,2.4)}function xg(e){var o=e[0]/255,a=e[1]/255,i=e[2]/255,c=o<=.03928?o*Hf:Vf(o),d=a<=.03928?a*Hf:Vf(a),u=i<=.03928?i*Hf:Vf(i);return c*k5+d*p5+u*m5}function yg(e){var o=255;(e=e.replace(/^#/,"")).length===8&&(o=parseInt(e.slice(6,8),16),e=e.substring(0,6)),e.length===4&&(o=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 a=parseInt(e,16);return[a>>16,a>>8&255,255&a,o]}function v5(e,o){return(Math.max(e,o)+.05)/(Math.min(e,o)+.05)}function h5(e,o){return v5(xg(e),xg(o))}function g5(e,o){return h5(yg(e),yg(o))}function _5(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}var qf,wg;function x5(){return wg||(wg=1,qf={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]}),qf}var Zf,zg;function y5(){if(zg)return Zf;zg=1;var e=x5();Zf=a;var o={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function a(i){var c,d=[],u=1,k;if(typeof i=="string")if(i=i.toLowerCase(),e[i])d=e[i].slice(),k="rgb";else if(i==="transparent")u=0,k="rgb",d=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(i)){var p=i.slice(1),m=p.length,g=m<=4;u=1,g?(d=[parseInt(p[0]+p[0],16),parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16)],m===4&&(u=parseInt(p[3]+p[3],16)/255)):(d=[parseInt(p[0]+p[1],16),parseInt(p[2]+p[3],16),parseInt(p[4]+p[5],16)],m===8&&(u=parseInt(p[6]+p[7],16)/255)),d[0]||(d[0]=0),d[1]||(d[1]=0),d[2]||(d[2]=0),k="rgb"}else if(c=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(i)){var h=c[1],_=h==="rgb",p=h.replace(/a$/,"");k=p;var m=p==="cmyk"?4:p==="gray"?1:3;d=c[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(S,T){if(/%$/.test(S))return T===m?parseFloat(S)/100:p==="rgb"?parseFloat(S)*255/100:parseFloat(S);if(p[T]==="h"){if(/deg$/.test(S))return parseFloat(S);if(o[S]!==void 0)return o[S]}return parseFloat(S)}),h===p&&d.push(1),u=_||d[m]===void 0?1:d[m],d=d.slice(0,m)}else i.length>10&&/[0-9](?:\s|\/)/.test(i)&&(d=i.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),k=i.match(/([a-z])/ig).join("").toLowerCase());else isNaN(i)?Array.isArray(i)||i.length?(d=[i[0],i[1],i[2]],k="rgb",u=i.length===4?i[3]:1):i instanceof Object&&(i.r!=null||i.red!=null||i.R!=null?(k="rgb",d=[i.r||i.red||i.R||0,i.g||i.green||i.G||0,i.b||i.blue||i.B||0]):(k="hsl",d=[i.h||i.hue||i.H||0,i.s||i.saturation||i.S||0,i.l||i.lightness||i.L||i.b||i.brightness]),u=i.a||i.alpha||i.opacity||1,i.opacity!=null&&(u/=100)):(k="rgb",d=[i>>>16,(i&65280)>>>8,i&255]);return{space:k,values:d,alpha:u}}return Zf}var w5=y5(),hM=id(w5);const z5={min:[0,0,0],max:[255,255,255]};var gM={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var o=e[0]/360,a=e[1]/100,i=e[2]/100,c,d,u,k,p,m=0;if(a===0)return p=i*255,[p,p,p];for(d=i<.5?i*(1+a):i+a-i*a,c=2*i-d,k=[0,0,0];m<3;)u=o+1/3*-(m-1),u<0?u++:u>1&&u--,p=6*u<1?c+(d-c)*6*u:2*u<1?d:3*u<2?c+(d-c)*(2/3-u)*6:c,k[m++]=p*255;return k}};z5.hsl=function(e){var o=e[0]/255,a=e[1]/255,i=e[2]/255,c=Math.min(o,a,i),d=Math.max(o,a,i),u=d-c,k,p,m;return d===c?k=0:o===d?k=(a-i)/u:a===d?k=2+(i-o)/u:i===d&&(k=4+(o-a)/u),k=Math.min(k*60,360),k<0&&(k+=360),m=(c+d)/2,d===c?p=0:m<=.5?p=u/(d+c):p=u/(2-d-c),[k,p*100,m*100]};var Br={exports:{}},jg;function j5(){if(jg)return Br.exports;jg=1,Br.exports=e,Br.exports.arr=e,Br.exports.obj=o,Br.exports.css=a,Br.exports.hex=i,Br.exports.num=c;function e(x){var z=d(x);return z.length==3?z.concat(255):(z[3]=Math.round(z[3]),z)}function o(x){var z=d(x);return{r:z[0],g:z[1],b:z[2],a:z.length==3?255:Math.round(z[3])}}function a(x){var z=d(x);return z.length==3&&z.push(255),z[3]==255?"rgb("+z[0]+", "+z[1]+", "+z[2]+")":z[3]==0?"rgba("+z[0]+", "+z[1]+", "+z[2]+", 0)":"rgba("+z[0]+", "+z[1]+", "+z[2]+", "+String(z[3]/255).substr(1)+")"}function i(x){var Z=d(x);Z.length==3&&Z.push(255);var z=Z[3]==255,R=u(Z[0]),B=u(Z[1]),F=u(Z[2]),Z=u(Math.round(Z[3])),oe=k(R,B,F,Z);return z?oe?"#"+R.charAt(0)+B.charAt(0)+F.charAt(0):"#"+R+B+F:oe?"#"+R.charAt(0)+B.charAt(0)+F.charAt(0)+Z.charAt(0):"#"+R+B+F+Z}function c(x){var z=d(x);return z.length==3?z.push(255):z[3]=Math.round(z[3]),(z[3]<<24>>>0|z[0]<<16|z[1]<<8|z[2])>>>0}function d(x){return typeof x=="string"?(x=x.toLowerCase(),p(x)||g(x)||h(x)||T(x)||C(x)||[0,0,0,255]):w(x)||L(x)||S(x)||[0,0,0,255]}function u(x){var z=x.toString(16);return z.length==1?"0"+z:z}function k(x,z,R,B){var F=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return F.indexOf(x)!=-1&&F.indexOf(z)!=-1&&F.indexOf(R)!=-1&&F.indexOf(B)!=-1}function p(x){if(x=="red")return[255,0,0];if(x=="green")return[0,255,0];if(x=="blue")return[0,0,255];if(x=="black")return[0,0,0];if(x=="white")return[255,255,255];if(x=="cyan")return[0,255,255];if(x=="gray")return[128,128,128];if(x=="grey")return[128,128,128];if(x=="magenta")return[255,0,255];if(x=="pink")return[255,0,255];if(x=="yellow")return[255,255,0]}function m(x){return x.length==1?parseInt(x+x,16):parseInt(x,16)}function g(x){var z=x.replace(/^#/,""),R=z.length;if(R==3||R==4){var B=m(z[0]),F=m(z[1]),Z=m(z[2]),oe=R==3?255:m(z[3]);return isNaN(B)||isNaN(F)||isNaN(Z)||isNaN(oe)?void 0:[B,F,Z,oe]}}function h(x){var z=x.replace(/^#/,""),R=z.length;if(R==6||R==8){var B=m(z.slice(0,2)),F=m(z.slice(2,4)),Z=m(z.slice(4,6)),oe=R==6?255:m(z.slice(6,8));return isNaN(B)||isNaN(F)||isNaN(Z)||isNaN(oe)?void 0:[B,F,Z,oe]}}function _(x,z){return typeof x!="number"||z===!0&&Math.floor(x)!==x?-1:x>=0&&x<=255?x:-1}function w(x){if(Object.prototype.toString.call(x)==="[object Object]"&&Object.getPrototypeOf(x)===Object.getPrototypeOf({})){var z=_(x.r!=null?x.r:x.red!=null?x.red:0,!0),R=_(x.g!=null?x.g:x.green!=null?x.green:0,!0),B=_(x.b!=null?x.b:x.blue!=null?x.blue:0,!0),F=_(x.a!=null?x.a:x.alpha!=null?x.alpha:255,!0);if(z!=-1&&R!=-1&&B!=-1&&F!=-1)return[z,R,B,F]}}function L(x){if(Array.isArray(x)&&(x.length==3||x.length==4)){var z=_(x[0],!0),R=_(x[1],!0),B=_(x[2],!0),F=_(x[3]!=null?x[3]:255,!0);if(z!=-1&&R!=-1&&B!=-1&&F!=-1)return[z,R,B,F]}}function S(x){if(typeof x=="number"&&Math.floor(x)==x&&x<=4294967295&&x>=0){var z=x>>24&255,R=x>>16&255,B=x>>8&255,F=x&255;return[R,B,F,z]}}function T(x){if(x.substr(0,4)=="rgb("){x=x.match(/^rgb\(([^)]+)\)/)[1];var z=x.split(/ *, */).map(Number),R=_(z[0],!0),B=_(z[1],!0),F=_(z[2],!0);if(R!=-1&&B!=-1&&F!=-1)return[R,B,F,255]}}function C(x){if(x.substr(0,5)=="rgba("){x=x.match(/^rgba\(([^)]+)\)/)[1];var z=x.split(/ *, */).map(Number),R=_(z[0],!0),B=_(z[1],!0),F=_(z[2],!0),Z=_(z[3]*255);if(R!=-1&&B!=-1&&F!=-1&&Z!=-1)return[R,B,F,Z]}}return Br.exports}var S5=j5(),Sg=id(S5);const T5=/\[object Object\]/,Pf=(e,o)=>{typeof e=="string"&&T5.test(e)||o()},A5=(e,o)=>{typeof e=="string"&&e===""||o()},_M=(e,o)=>{s5()&&(Rn.debug([e,o]),Rn.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:o,writable:!1})},E5=e=>{var o,a,i;(o=e.nextHooks)===null||o===void 0||o.forEach((c,d)=>{var u;const k=c.get("beforePatch");typeof k=="function"&&k((u=e.nextState)===null||u===void 0?void 0:u.get(d),e.nextState,e,d)}),((a=e.nextState)===null||a===void 0?void 0:a.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,(i=e.nextHooks)===null||i===void 0||i.forEach((c,d)=>{const u=c.get("afterPatch");typeof u=="function"&&u(e.state[d],e.state,e,d)})),delete e.nextHooks},yb=(e,o,a,i={})=>{var c,d;e.nextHooks===void 0&&(e.nextHooks=new Map),e.nextState===void 0&&(e.nextState=new Map),e.nextHooks.get(o)instanceof Map||e.nextHooks.set(o,new Map),typeof i.afterPatch=="function"&&((c=e.nextHooks.get(o))===null||c===void 0||c.set("afterPatch",i.afterPatch)),typeof i.beforePatch=="function"&&((d=e.nextHooks.get(o))===null||d===void 0||d.set("beforePatch",i.beforePatch)),e.nextState.set(o,a),E5(e)},C5=(e,o,a,i)=>{vy(`[${e.constructor.name}] The property value: (${a}) for '${o}' is not valid. Allowed values are: ${Array.from(i).join(", ")}`)};function kk(e,o,a,i,c,d={}){a(c)?yb(e,o,c,d.hooks):c===void 0&&d.required!==!0&&a(d.defaultValue)?yb(e,o,d.defaultValue,d.hooks):(d.required||i.add(null),C5(e,o,c,i))}const xM=(e,o,a,i)=>{kk(e,o,c=>typeof c=="boolean",new Set(["Boolean {true, false}"]),a,i)},yM=(e,o,a,i={})=>{const c=typeof i.minLength=="number"?i?.minLength:0;kk(e,o,d=>typeof d=="string"&&d.length>=c&&(typeof i?.maxLength>"u"||d.length<=i.maxLength),new Set(["String"]),a,i)},wM=(e,o,a,i)=>{kk(e,o,c=>typeof c=="number"&&(typeof i?.min>"u"||typeof i?.min=="number"&&c>=i.min)&&(typeof i?.max>"u"||typeof i?.max=="number"&&c<=i.max),new Set(["Number"]),a,i)},zM=(e,o,a,i,c=u=>u===u,d={})=>{A5(i,()=>{Pf(i,()=>{typeof i>"u"&&(i=[]);try{try{i=O5(i)}catch{}if(Array.isArray(i)){const u=i.find(k=>!a(k));u===void 0&&c(i)?yb(e,o,i,d.hooks):Pf(u,()=>{throw Rn.debug(u),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")})}else Pf(i,()=>{throw Rn.debug(i),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")})}catch(u){Rn.debug(u)}})})},L5=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch{throw Rn.warn(["stringifyJson",e]),Rn.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},N5=/^[{[]/,O5=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{if(N5.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch{Rn.warn(["parseJson",e]),Rn.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).")}}throw new Error},R5=e=>typeof e=="boolean"?e===!0?"true":"false":void 0,jM=e=>typeof e=="string"?e:R5(e),D5=(e,o)=>{const a=new Set,i=[o];let c=0;for(;c<i.length;){const d=i[c++];if(a.has(d))continue;if(a.add(d),d instanceof Element&&d.matches(e))return d;const u=Array.from(d.children||[]);for(let k=0;k<u.length;k++)i.push(u[k]);if(d instanceof HTMLElement&&d.shadowRoot&&i.push(d.shadowRoot),d instanceof HTMLSlotElement){const k=d.assignedNodes({flatten:!0});for(let p=0;p<k.length;p++)k[p]instanceof Element&&i.push(k[p])}}return null},$5=(e,o)=>{const a=new Set,i=[],c=new Set,d=[o];let u=0;for(;u<d.length;){const k=d[u++];if(a.has(k))continue;a.add(k),k instanceof Element&&k.matches(e)&&!c.has(k)&&(i.push(k),c.add(k));const p=Array.from(k.children||[]);for(let m=0;m<p.length;m++)d.push(p[m]);if(k instanceof HTMLElement&&k.shadowRoot&&d.push(k.shadowRoot),k instanceof HTMLSlotElement){const m=k.assignedNodes({flatten:!0});for(let g=0;g<m.length;g++)m[g]instanceof Element&&d.push(m[g])}}return i},B5=(e,o)=>D5(e,o||bk()),M5=(e,o)=>$5(e,o||bk());let Gf=null;const hy=()=>(Gf=Gf||{backgroundColor:"#00000000",color:"#00000000",domNode:bk().body,level:"Fail",score:1},Gf),Tg=/(\d+, ){3}0\)/,wb=(e,o=hy())=>{const a=getComputedStyle(e),i=Tg.test(a.backgroundColor)?o.backgroundColor:Sg.hex(a.backgroundColor),c=Tg.test(a.color)?o.color:Sg.hex(a.color),d=g5(i,c),u={backgroundColor:i,color:c,domNode:e,level:_5(d),score:d};return d<4.5&&Rn.error(["Color-Contrast-Error",{backgroundColor:u.backgroundColor,color:u.color,level:u.level,score:u.score},u.domNode]),u},I5=(e,o=hy())=>{o.domNode instanceof HTMLElement&&(o=wb(o.domNode,o));const a=o.domNode.querySelector(e);if(a===null){const i=o.domNode.querySelectorAll('[class="hydrated"]');for(let c=0;c<i.length&&(o.domNode=i[c],o=I5(e,o),o.domNode===null);c++);return o}else return wb(a,o)};class Xo{static queryHtmlElementColors(o,a,i=!1,c=!0){let d=null;if(i===!0||Xo.executionLock===!1)if(i===!1&&(Xo.cache.clear(),Xo.cache.set(a.domNode,a),Xo.executionLock=!0,c===!0&&Rn.debug("[KoliBriUtils] Color contrast analysis started...")),o===a.domNode)d=a;else{const u=new Set;if(a.domNode.shadowRoot){const g=a.domNode.shadowRoot.children;for(let h=0;h<g.length;h++)u.add(g[h])}const k=a.domNode;if(typeof k.assignedNodes=="function"){const g=k.assignedNodes();for(let h=0;h<g.length;h++)g[h]instanceof HTMLElement&&u.add(g[h])}const p=a.domNode.children;for(let g=0;g<p.length;g++)u.add(p[g]);const m=Array.from(u);for(let g=0;g<m.length;g++){let h=Xo.cache.get(m[g]);h===void 0&&(h=wb(m[g],a)),Xo.cache.set(m[g],h);const _=Xo.queryHtmlElementColors(o,h,!0,!1);if(_!==null){d=_;break}}}else Rn.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return i===!1&&(c===!0&&Rn.debug(`[KoliBriUtils] Color contrast analysis finished (${Xo.cache.size} DOM elements are analysed).`),Xo.executionLock=!1,Xo.cache.clear()),d}}Xo.executionLock=!1;Xo.cache=new Map;class Aa{}Aa.getCssStyle=Rs;Aa.patchTheme=U4;Aa.patchThemeTag=I4;Aa.querySelector=B5;Aa.querySelectorAll=M5;Aa.stringifyJson=L5;const SM=e=>typeof e=="object"&&e!==null,Ag=(e,o=0)=>typeof e=="string"&&e.length>=o,TM=e=>{if(typeof e=="object"&&e!==null){for(const o in e)if(Ag(o,1)===!1)return!1}else return Ag(e,1);return!0},AM=new Event("StateChange");let Eg="kol-abbr",Cg="kol-accordion",Lg="kol-alert",Ng="kol-alert-wc",Og="kol-avatar",Rg="kol-avatar-wc",Dg="kol-badge",$g="kol-breadcrumb",Bg="kol-button-link",Mg="kol-button",Ig="kol-button-wc",Ug="kol-card",Fg="kol-card-wc",Kg="kol-combobox",Hg="kol-details",Vg="kol-dialog",qg="kol-dialog-wc",Zg="kol-drawer",Pg="kol-form",Gg="kol-heading",Yg="kol-icon",Jg="kol-image",Xg="kol-input-checkbox",Qg="kol-input-color",Wg="kol-input-date",e_="kol-input-email",n_="kol-input-file",o_="kol-input-number",t_="kol-input-password",r_="kol-input-radio",a_="kol-input-range",l_="kol-input",i_="kol-input-text",c_="kol-kolibri",s_="kol-link-button",d_="kol-link",u_="kol-link-wc",f_="kol-modal",b_="kol-nav",k_="kol-pagination",p_="kol-pagination-wc",m_="kol-popover-wc",v_="kol-popover-button",h_="kol-popover-button-wc",g_="kol-progress",__="kol-quote",x_="kol-select",y_="kol-select-wc",w_="kol-single-select",z_="kol-skip-nav",j_="kol-spin",S_="kol-split-button",T_="kol-table-settings-wc",A_="kol-table-stateful",E_="kol-table-stateless",C_="kol-table-stateless-wc",L_="kol-tabs",N_="kol-textarea",zb="kol-toast-container",Yf="kol-tooltip-wc",O_="kol-tree-item",R_="kol-tree-item-wc",D_="kol-tree",$_="kol-tree-wc",B_="kol-version";const U5=e=>{Eg=e(Eg),Cg=e(Cg),Lg=e(Lg),Ng=e(Ng),Og=e(Og),Rg=e(Rg),Dg=e(Dg),$g=e($g),Bg=e(Bg),Mg=e(Mg),Ig=e(Ig),Ug=e(Ug),Fg=e(Fg),Kg=e(Kg),Hg=e(Hg),Vg=e(Vg),qg=e(qg),Zg=e(Zg),Pg=e(Pg),Gg=e(Gg),Yg=e(Yg),Jg=e(Jg),Xg=e(Xg),Qg=e(Qg),Wg=e(Wg),e_=e(e_),n_=e(n_),o_=e(o_),t_=e(t_),r_=e(r_),a_=e(a_),l_=e(l_),i_=e(i_),c_=e(c_),s_=e(s_),d_=e(d_),u_=e(u_),f_=e(f_),b_=e(b_),k_=e(k_),p_=e(p_),m_=e(m_),v_=e(v_),h_=e(h_),g_=e(g_),__=e(__),x_=e(x_),y_=e(y_),w_=e(w_),z_=e(z_),j_=e(j_),S_=e(S_),T_=e(T_),A_=e(A_),E_=e(E_),C_=e(C_),L_=e(L_),N_=e(N_),zb=e(zb),e(Yf),Yf=e(Yf),O_=e(O_),R_=e(R_),D_=e(D_),$_=e($_),B_=e(B_)};var F5={error:"Fehler",warning:"Warnung",info:"Hinweis",success:"Erfolg",message:"Nachricht",close:"Schließen","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","change-order":"Sortierung von {{colLabel}} ändern","action-running":"Aktion wird ausgeführt...","action-done":"Aktion abgeschlossen",pagination:"Paginierung","page-first":"Direkt zur ersten Seite","page-back":"Eine Seite zurück","page-next":"Eine Seite weiter","page-last":"Direkt zur letzten Seite","entries-per-site":"Einträge pro Seite",page:"Seite","page-current":"Seite {{page}}","page-selected":"Seite {{page}} ist ausgewählt","page-per-site":"Einträge pro Seite","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren","logo-description":"Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}","open-link-in-tab":"Öffnet in neuem Tab.","kolibri-logo":"Logo von KoliBri","table-pagination-label":"Paginierung für die Tabelle {{label}}","table-sort-order":"Priorität {{order}}","avatar-alt":"Avatar von {{name}}","split-button-dropdown-label-open":"Optionen anzeigen","split-button-dropdown-label-close":"Optionen schließen","toast-close-all":"Alle Benachrichtigungen schließen","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:",version:"Versionsnummer","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","table-selection-all":"Alle auswählen","table-selection-none":"Alle abwählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-settings":"Tabellenkonfiguration","table-settings-cancel":"Abbrechen","table-settings-apply":"Übernehmen","table-settings-show-column":"Spalte {{column}} anzeigen","table-settings-column-width":"Breite von {{column}}","table-settings-move-up":"Spalte {{column}} nach oben verschieben","table-settings-move-down":"Spalte {{column}} nach unten verschieben","table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-column-not-hidable":"nicht ausblendbar",dropdown:"Auswahlliste","nav-label-open":"Untermenü zu {{label}} öffnen","nav-label-close":"Untermenü zu {{label}} schließen","close-alert":"Benachrichtigung schließen","show-password":"einblenden","hide-password":"ausblenden","no-results-message":"Keine Ergebnisse gefunden.","delete-selection":"Auswahl entfernen","filename-text":"Datei auswählen oder hier ablegen...","data-browse-text":"Datei auswählen",sort:"sortieren","pagination-position-top":"oben","pagination-position-bottom":"unten","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen",readonly:"schreibgeschützt"},K5={error:"Error",warning:"Warning",info:"Note",success:"Success",message:"Message",close:"Close","form-description":"Form fields marked with an asterisk (*) are mandatory.",new:"New","no-entries":"No entries available.","change-order":"Change order of {{colLabel}}","action-running":"Action is running...","action-done":"Action done",pagination:"Pagination","page-first":"Directly to the first page","page-back":"One page back","page-next":"One page further","page-last":"Directly to the last page","entries-per-site":"Entries per page",page:"Page","page-current":"Page {{page}}","page-selected":"Page {{page}} is selected","page-per-site":"Entries per page","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation","logo-description":"Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}","open-link-in-tab":"Opens in new tab.","kolibri-logo":"KoliBri logo","table-pagination-label":"Pagination for table {{label}}","table-sort-order":"Priority {{order}}","avatar-alt":"Avatar of {{name}}","split-button-dropdown-label-open":"Show options","split-button-dropdown-label-close":"Hide options","toast-close-all":"Close all notifications","error-list":"Error list","error-list-message":"Please correct the following errors",version:"Version number","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","table-selection-all":"Select all","table-selection-none":"Deselect all","table-selection-indeterminate":"Select all with partial selection","table-settings":"Table configuration","table-settings-cancel":"Cancel","table-settings-apply":"Apply","table-settings-show-column":"Show column {{column}}","table-settings-column-width":"{{column}} width","table-settings-move-up":"Move {{column}} column up","table-settings-move-down":"Move {{column}} column down","table-settings-error-all-invisible":"At least one column must be visible.","table-settings-column-not-hidable":"cannot be hidden",dropdown:"Dropdown","nav-label-open":"Submenu for {{label}} open","nav-label-close":"Submenu for {{label}} close","close-alert":"Close notification","show-password":"Show","hide-password":"Hide","no-results-message":"No results found.","delete-selection":"Delete selection","filename-text":"Choose a file or drop it here...","data-browse-text":"Browse",sort:"sort","pagination-position-top":"top","pagination-position-bottom":"bottom","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","character-limit-exceeded":"You have {{over}} characters too many.","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters",readonly:"read-only"};const M_=e=>Object.keys(e).reduce((o,a)=>(o[`kol-${a}`]=e[a],o),{}),H5=new Set([e=>e("en",M_(K5)),e=>e("de",M_(F5))]),V5=function(e,o,a){return e.split(o).join(a)};class q5{constructor(o){this.resourceMap=new Map,this.language=o??"de"}addTranslations(o){Array.isArray(o)?o=new Set(o):typeof o=="function"&&(o=new Set([o])),o!==void 0&&o.forEach(a=>a((i,c)=>{let d=this.resourceMap.get(i);return d||(d=new Map,this.resourceMap.set(i,d)),Object.entries(c).forEach(([u,k])=>{k&&d.set(u,k)}),i}))}setLanguage(o){this.language=o}translate(o,a){var i;let c=(i=this.resourceMap.get(this.language))===null||i===void 0?void 0:i.get(o);return c?a?.placeholders&&Object.entries(a.placeholders).forEach(([d,u])=>{c=V5(c,`{{${d}}}`,u)}):c=o,c}}let Ds;const EM=()=>Ds,Z5=(e,o=H5)=>(Ds=new q5(e),Ds.addTranslations(o),Ds);var P5={};let gy=!1,_y;const G5=async(e,o,a)=>{var i,c;const d=typeof process<"u"&&P5?"production":void 0;by(a?.environment||d||"production"),Z5((c=(i=a?.translation)===null||i===void 0?void 0:i.name)!==null&&c!==void 0?c:"de",a?.translations),a?.transformTagName&&U5(a?.transformTagName);const u=await q4(e,o,a);return gy=!0,_y=a,Rn.info("Development mode active - Enhanced debugging features available"),u},Y5=()=>gy,CM=()=>_y;var Jf,I_;function J5(){return I_||(I_=1,Jf=function(o){return function(a,i){if(!a)return o;var c;typeof a=="string"?c=a:i=a;var d=o;return c&&(d+="__"+c),d+(i?Object.keys(i).reduce(function(u,k){var p=i[k];return p&&(u+=" "+(typeof p=="boolean"?d+"--"+k:d+"--"+k+"_"+p)),u},""):"")}}),Jf}var X5=J5(),Q5=id(X5);function W5(){const e=new Map,o=(a,i,c)=>{try{return e.get(a)(i,c)}catch{return e.set(a,Q5(a)).get(a)(i,c)}};return o.forBlock=a=>{const i=(c,d)=>o(a,c,d);return i.forElement=c=>d=>o(a,c,d),i},o}const LM=W5();var U_;(function(e){e.blur="blur",e.change="change",e.changeHeaderCells="changeheadercells",e.changePage="changepage",e.changePageSize="changepagesize",e.click="click",e.close="close",e.create="create",e.focus="focus",e.input="input",e.keydown="keydown",e.mousedown="mousedown",e.reset="reset",e.select="select",e.selectionChange="selectionchange",e.sort="sort",e.submit="submit",e.toggle="toggle"})(U_||(U_={}));const ej={bubbles:!0,cancelable:!0,composed:!0};function nj(e,o=null){return new CustomEvent(e,Object.assign(Object.assign({},ej),{detail:o}))}function NM(e,o,a){e.dispatchEvent(nj(o,a))}class Hr{constructor(o,a){var i;this.document=o,this.options=a,this.toastContainerElement=this.document.createElement(zb),this.document.body.prepend(this.toastContainerElement),!((i=this.options)===null||i===void 0)&&i.defaultVariant&&Rn.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(o,a){if(!Y5())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let i=this.instances.get(o);return i||(i=new Hr(o,a),this.instances.set(o,i)),i}dispose(){const o=this.toastContainerElement;o?(this.toastContainerElement=void 0,o.remove()):Rn.warn("Toaster service is already disposed.")}enqueue(o){if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue=="function")return this.toastContainerElement.enqueue(o)}closeAll(o=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll=="function"&&this.toastContainerElement.closeAll(o)}}Hr.instances=new Map;var vo;(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"})(vo||(vo={}));var Ve;(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"})(Ve||(Ve={}));var sr;(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"})(sr||(sr={}));const we=new Map;we.set(vo["Die Bundesregierung"],["Die","Bundesregierung"]);we.set(vo["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);we.set(vo["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);we.set(vo["Auswärtiges Amt"],["Auswärtiges Amt"]);we.set(vo["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);we.set(vo["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);we.set(vo["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);we.set(vo["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);we.set(vo["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);we.set(vo["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);we.set(vo["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);we.set(vo["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);we.set(vo["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);we.set(vo["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);we.set(vo["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);we.set(Ve["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);we.set(Ve["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);we.set(Ve["Bundesamt für äußere Restitutionen"],[]);we.set(Ve["Bundesamt für Bauwesen und Raumordnung"],[]);we.set(Ve["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);we.set(Ve["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);we.set(Ve["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);we.set(Ve["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);we.set(Ve["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);we.set(Ve["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);we.set(Ve["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);we.set(Ve["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);we.set(Ve["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);we.set(Ve["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);we.set(Ve["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);we.set(Ve["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);we.set(Ve["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);we.set(Ve.Bundesarchiv,["Das","Bundesarchiv"]);we.set(Ve["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);we.set(Ve.Bundesausgleichsamt,["Bundesausgleichsamt"]);we.set(Ve.Bundeskartellamt,["Bundeskartellamt"]);we.set(Ve.Bundeskriminalamt,["Bundeskriminalamt"]);we.set(Ve.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);we.set(Ve["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);we.set(Ve.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);we.set(Ve["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);we.set(Ve.Bundessortenamt,["Bundessortenamt"]);we.set(Ve.Bundessprachenamt,["Bundessprachenamt"]);we.set(Ve["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);we.set(Ve.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);we.set(Ve["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);we.set(Ve["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);we.set(Ve["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);we.set(Ve.Generalzolldirektion,["Generalzolldirektion"]);we.set(Ve["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);we.set(Ve["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);we.set(sr["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);we.set(sr["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);we.set(sr["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);we.set(sr["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);we.set(sr["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);we.set(sr["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);we.set(sr["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);const oj="modulepreload",tj=function(e){return"/"+e},F_={},me=function(o,a,i){let c=Promise.resolve();if(a&&a.length>0){let p=function(m){return Promise.all(m.map(g=>Promise.resolve(g).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),k=u?.nonce||u?.getAttribute("nonce");c=p(a.map(m=>{if(m=tj(m),m in F_)return;F_[m]=!0;const g=m.endsWith(".css"),h=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${h}`))return;const _=document.createElement("link");if(_.rel=g?"stylesheet":oj,g||(_.as="script"),_.crossOrigin="",_.href=m,k&&_.setAttribute("nonce",k),document.head.appendChild(_),g)return new Promise((w,L)=>{_.addEventListener("load",w),_.addEventListener("error",()=>L(new Error(`Unable to preload CSS for ${m}`)))})}))}function d(u){const k=new Event("vite:preloadError",{cancelable:!0});if(k.payload=u,window.dispatchEvent(k),!k.defaultPrevented)throw u}return c.then(u=>{for(const k of u||[])k.status==="rejected"&&d(k.reason);return o().catch(d)})},rj="kolibri",ya={hydratedSelectorName:"hydrated",lazyLoad:!0,propChangeCallback:!0,slotRelocation:!0,state:!0,updatable:!0},OM={kolibriVersion:"4.1.1-rc.2"};var aj=Object.defineProperty,lj=(e,o)=>{for(var a in o)aj(e,a,{get:o[a],enumerable:!0})},ij="http://www.w3.org/2000/svg",cj="http://www.w3.org/1999/xhtml",xy=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(xy||{}),yy=(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))(yy||{}),Xf="type",Qf="value",jb="serialized:",sj=(e,o)=>{var a;const i=o.$cmpMeta$;Object.entries((a=i.$members$)!=null?a:{}).map(([d,[u]])=>{if(u&31||u&32){const k=e[d],p=dj(Object.getPrototypeOf(e),d)||Object.getOwnPropertyDescriptor(e,d);p&&Object.defineProperty(e,d,{get(){return p.get.call(this)},set(m){p.set.call(this,m)},configurable:!0,enumerable:!0}),e[d]=o.$instanceValues$.has(d)?o.$instanceValues$.get(d):k}})};function dj(e,o){for(;e;){const a=Object.getOwnPropertyDescriptor(e,o);if(a?.get)return a;e=Object.getPrototypeOf(e)}}var tt=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},RM=(e,o)=>{o&&(e.__stencil__getHostRef=()=>o,o.$lazyInstance$=e,o.$cmpMeta$.$flags$&512&&ya.state&&sj(e,o))},uj=(e,o)=>{const a={$flags$:0,$hostElement$:e,$cmpMeta$:o,$instanceValues$:new Map,$serializerValues$:new Map};a.$onInstancePromise$=new Promise(c=>a.$onInstanceResolve$=c),a.$onReadyPromise$=new Promise(c=>a.$onReadyResolve$=c),e["s-p"]=[],e["s-rc"]=[],a.$fetchedCbList$=[];const i=a;return e.__stencil__getHostRef=()=>i,i},K_=(e,o)=>o in e,be=(e,o)=>(0,console.error)(e,o),Wf=new Map,fj=(e,o,a)=>{const i=e.$tagName$.replace(/-/g,"_"),c=e.$lazyBundleId$;if(!c)return;const d=Wf.get(c);if(d)return d[i];{const u=k=>(Wf.set(c,k),k[i]);switch(c){case"kol-abbr":return me(()=>import("./kol-abbr.entry-B-lUQbxH.js"),__vite__mapDeps([0,1])).then(u,be);case"kol-accordion":return me(()=>import("./kol-accordion.entry-Da8qMj8E.js"),__vite__mapDeps([2,3,4,5,6,7,1,8,9,10])).then(u,be);case"kol-alert":return me(()=>import("./kol-alert.entry-DWk_5ftu.js"),[]).then(u,be);case"kol-avatar":return me(()=>import("./kol-avatar.entry-C-XYCFzW.js"),__vite__mapDeps([11,12,13,14,15,16])).then(u,be);case"kol-badge":return me(()=>import("./kol-badge.entry-4p0WlFDX.js"),__vite__mapDeps([17,18,4,5,12,6,19,13,20,21,22,23,24,25,9])).then(u,be);case"kol-breadcrumb":return me(()=>import("./kol-breadcrumb.entry-DeYeOkI2.js"),__vite__mapDeps([26,1,27,28])).then(u,be);case"kol-button":return me(()=>import("./kol-button.entry-YTrFHoRO.js"),[]).then(u,be);case"kol-button-link":return me(()=>import("./kol-button-link.entry-BTLVK0XO.js"),[]).then(u,be);case"kol-card":return me(()=>import("./kol-card.entry-BxmlWFWn.js"),[]).then(u,be);case"kol-details":return me(()=>import("./kol-details.entry-D5st0BX6.js"),__vite__mapDeps([29,3,4,5,6,7,1,8,9,10])).then(u,be);case"kol-dialog":return me(()=>import("./kol-dialog.entry-DsiWv2es.js"),[]).then(u,be);case"kol-drawer":return me(()=>import("./kol-drawer.entry-B1CZG-cR.js"),__vite__mapDeps([30,31,32,1,8,5,33])).then(u,be);case"kol-form":return me(()=>import("./kol-form.entry-CI0ZJqih.js"),__vite__mapDeps([34,12,18,4,5,6])).then(u,be);case"kol-heading":return me(()=>import("./kol-heading.entry-Dqe6leNy.js"),__vite__mapDeps([35,18,4,5,12,6,1,25,10])).then(u,be);case"kol-icon":return me(()=>import("./kol-icon.entry-DVnmaxjt.js"),__vite__mapDeps([36,1,5])).then(u,be);case"kol-image":return me(()=>import("./kol-image.entry-Bbsz9RiV.js"),__vite__mapDeps([37,14,16])).then(u,be);case"kol-input-checkbox":return me(()=>import("./kol-input-checkbox.entry-BssMIuzQ.js"),__vite__mapDeps([38,5,9,39,1,40,41,42,43,7,44,45,31,46,24,4,23,12,18,6,22,47,48,49])).then(u,be);case"kol-input-color":return me(()=>import("./kol-input-color.entry-Ge15OHf_.js"),__vite__mapDeps([50,42,43,7,44,1,45,31,46,24,4,23,5,12,18,6,51,22,20,52,47,9,53,54])).then(u,be);case"kol-input-date":return me(()=>import("./kol-input-date.entry-4UjrgPNZ.js"),__vite__mapDeps([55,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,53,56,40,54])).then(u,be);case"kol-input-email":return me(()=>import("./kol-input-email.entry-4cAbA7hP.js"),__vite__mapDeps([57,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,58,59,60,61,54,62,53,63,56,40])).then(u,be);case"kol-input-file":return me(()=>import("./kol-input-file.entry-DdCyYhLv.js"),__vite__mapDeps([64,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,59,40])).then(u,be);case"kol-input-number":return me(()=>import("./kol-input-number.entry-BHmpqNIb.js"),__vite__mapDeps([65,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,25,9,49,53,63,56,40,54])).then(u,be);case"kol-input-password":return me(()=>import("./kol-input-password.entry-BUhrmmWY.js"),__vite__mapDeps([66,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,62,53,58,63,56,40])).then(u,be);case"kol-input-radio":return me(()=>import("./kol-input-radio.entry-DM1ATFgC.js"),__vite__mapDeps([67,5,9,49,39,1,40,41,42,43,7,44,45,31,46,24,4,23,12,18,6,48,47])).then(u,be);case"kol-input-text":return me(()=>import("./kol-input-text.entry-BmHIql4K.js"),__vite__mapDeps([68,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,60,61,54,62,53,58,63,56,40])).then(u,be);case"kol-kolibri":return me(()=>import("./kol-kolibri.entry-8ncrG8Yr.js"),__vite__mapDeps([69,13,19,12])).then(u,be);case"kol-link":return me(()=>import("./kol-link.entry-CsVjnmdg.js"),[]).then(u,be);case"kol-link-button":return me(()=>import("./kol-link-button.entry-DoWm_UTU.js"),[]).then(u,be);case"kol-modal":return me(()=>import("./kol-modal.entry-CT0XV4Ad.js"),[]).then(u,be);case"kol-nav":return me(()=>import("./kol-nav.entry-DsJy0thO.js"),__vite__mapDeps([70,44,1,12,5,9,27,28])).then(u,be);case"kol-pagination":return me(()=>import("./kol-pagination.entry-DhJPQWQh.js"),[]).then(u,be);case"kol-popover-button":return me(()=>import("./kol-popover-button.entry-D4wTv6og.js"),[]).then(u,be);case"kol-progress":return me(()=>import("./kol-progress.entry-B4QD9y7W.js"),__vite__mapDeps([71,15,14])).then(u,be);case"kol-quote":return me(()=>import("./kol-quote.entry-DEZdfLeF.js"),__vite__mapDeps([72,14,15])).then(u,be);case"kol-select":return me(()=>import("./kol-select.entry-D__h6j_m.js"),[]).then(u,be);case"kol-skeleton":return me(()=>import("./kol-skeleton.entry-M9OoeNC8.js"),__vite__mapDeps([73,74,15,14])).then(u,be);case"kol-skip-nav":return me(()=>import("./kol-skip-nav.entry-DH1hGZqK.js"),__vite__mapDeps([75,1,27,28])).then(u,be);case"kol-spin":return me(()=>import("./kol-spin.entry-C0RvIIE_.js"),__vite__mapDeps([76,1,77,12,5])).then(u,be);case"kol-split-button":return me(()=>import("./kol-split-button.entry-BfJPIYMv.js"),__vite__mapDeps([78,12,5])).then(u,be);case"kol-table-stateful":return me(()=>import("./kol-table-stateful.entry-BMBH15A-.js"),__vite__mapDeps([79,12,80,1,81])).then(u,be);case"kol-table-stateless":return me(()=>import("./kol-table-stateless.entry-DKpUQeO_.js"),[]).then(u,be);case"kol-tabs":return me(()=>import("./kol-tabs.entry-YmGqUgGm.js"),__vite__mapDeps([82,31,1,12,81,5])).then(u,be);case"kol-textarea":return me(()=>import("./kol-textarea.entry-C_nH94Ew.js"),__vite__mapDeps([83,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,9,58,63,56,40,84,61])).then(u,be);case"kol-toast-container":return me(()=>import("./kol-toast-container.entry-DIGuxp-2.js"),__vite__mapDeps([85,12,9,18,4,5,6,25])).then(u,be);case"kol-toolbar":return me(()=>import("./kol-toolbar.entry-WrpPD6za.js"),__vite__mapDeps([86,4,1,81,41])).then(u,be);case"kol-tree":return me(()=>import("./kol-tree.entry-rtvpIpB9.js"),[]).then(u,be);case"kol-tree-item":return me(()=>import("./kol-tree-item.entry-B4IOrHy_.js"),[]).then(u,be);case"kol-version":return me(()=>import("./kol-version.entry-DZB28pje.js"),__vite__mapDeps([87,1,12])).then(u,be);case"kol-alert-wc":return me(()=>import("./kol-alert-wc.entry-BlqQ55Y3.js"),__vite__mapDeps([88,18,4,5,12,6,32,1,10])).then(u,be);case"kol-button-wc":return me(()=>import("./kol-button-wc.entry-B-J14lZU.js"),__vite__mapDeps([89,23,24,43,90,91,7,44,20,92,1,45,31,18,4,5,12,6,21,22,25,49,46])).then(u,be);case"kol-card-wc":return me(()=>import("./kol-card-wc.entry-D6C5kURb.js"),__vite__mapDeps([93,32,1,12,10,18,4,5,6,25,9])).then(u,be);case"kol-click-button":return me(()=>import("./kol-click-button.entry-CR4vGBIG.js"),__vite__mapDeps([94,74,15,14])).then(u,be);case"kol-combobox":return me(()=>import("./kol-combobox.entry-IdKzVlZA.js"),__vite__mapDeps([95,42,43,7,44,1,45,31,46,24,4,23,5,12,18,6,51,22,20,52,47,96,9,63,40,54])).then(u,be);case"kol-dialog-wc":return me(()=>import("./kol-dialog-wc.entry-DzHsyjY-.js"),__vite__mapDeps([97,1,5,33])).then(u,be);case"kol-input-range":return me(()=>import("./kol-input-range.entry-Pasgdb0K.js"),__vite__mapDeps([98,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,53,54])).then(u,be);case"kol-link-wc":return me(()=>import("./kol-link-wc.entry-CIG4D_J9.js"),__vite__mapDeps([99,23,24,43,90,91,7,44,100,20,92,1,45,31,18,4,5,12,6,21,22,25])).then(u,be);case"kol-pagination-wc":return me(()=>import("./kol-pagination-wc.entry-1fpbGGzf.js"),__vite__mapDeps([101,91,1,45,31,12,9,27])).then(u,be);case"kol-popover-button-wc":return me(()=>import("./kol-popover-button-wc.entry-flLGsXkS.js"),__vite__mapDeps([102,103,92,31,5])).then(u,be);case"kol-popover-wc":return me(()=>import("./kol-popover-wc.entry-C9mEM7Fk.js"),__vite__mapDeps([104,103,31,77,5])).then(u,be);case"kol-select-wc":return me(()=>import("./kol-select-wc.entry-TgpNrPzf.js"),__vite__mapDeps([105,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,9,49,59,39,40,41,84])).then(u,be);case"kol-single-select":return me(()=>import("./kol-single-select.entry-D8D_E56c.js"),__vite__mapDeps([106,42,43,7,44,1,45,31,46,24,4,23,5,12,18,6,51,22,20,52,47,96,9,39,40,41,63])).then(u,be);case"kol-table-settings-wc":return me(()=>import("./kol-table-settings-wc.entry-zRskP_I3.js"),__vite__mapDeps([107,4,12])).then(u,be);case"kol-table-stateless-wc":return me(()=>import("./kol-table-stateless-wc.entry-DgPnssE8.js"),__vite__mapDeps([108,4,12,80,1,81,5,9,24])).then(u,be);case"kol-tooltip-wc":return me(()=>import("./kol-tooltip-wc.entry-Cnt7-Ygs.js"),__vite__mapDeps([109,103,31,1,18,4,5,12,6,21,22,23,24,25,9,33])).then(u,be);case"kol-tree-item-wc":return me(()=>import("./kol-tree-item-wc.entry-Bq3o4F67.js"),__vite__mapDeps([110,100,1,8,5,9])).then(u,be);case"kol-tree-wc":return me(()=>import("./kol-tree-wc.entry-B3R5pOba.js"),__vite__mapDeps([111,1])).then(u,be);case"test-component":return me(()=>import("./test-component.entry-CNoI6wXE.js"),[]).then(u,be)}}return me(()=>import(`./${c}.entry.js`),[]).then(u=>(Wf.set(c,u),u[i]),u=>{be(u,o.$hostElement$)})},Hs=new Map,wy=[],bj="r",kj="o",Sb="s",pj="t",mj="c",qi="s-id",Tb="sty-id",H_="c-id",vj="{visibility:hidden}.hydrated{visibility:inherit}",zy="slot-fb{display:contents}slot-fb[hidden]{display:none}",V_="http://www.w3.org/1999/xlink",nn=typeof window<"u"?window:{},kn={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,o,a,i)=>e.addEventListener(o,a,i),rel:(e,o,a,i)=>e.removeEventListener(o,a,i),ce:(e,o)=>new CustomEvent(e,o)},hj=(()=>{var e;let o=!1;try{(e=nn.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){o=!0}}))}catch{}return o})(),gj=e=>Promise.resolve(e),pk=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Ab=pk?!!nn.document&&Object.getOwnPropertyDescriptor(nn.document.adoptedStyleSheets,"length").writable:!1,jy=e=>gj().then(e),mk=e=>(e=typeof e,e==="object"||e==="function");function Sy(e){var o,a,i;return(i=(a=(o=e.head)==null?void 0:o.querySelector('meta[name="csp-nonce"]'))==null?void 0:a.getAttribute("content"))!=null?i:void 0}var _j=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),xj=class ma{static fromLocalValue(o){const a=o[Xf],i=Qf in o?o[Qf]:void 0;switch(a){case"string":return i;case"boolean":return i;case"bigint":return BigInt(i);case"undefined":return;case"null":return null;case"number":return i==="NaN"?NaN:i==="-0"?-0:i==="Infinity"?1/0:i==="-Infinity"?-1/0:i;case"array":return i.map(m=>ma.fromLocalValue(m));case"date":return new Date(i);case"map":const c=new Map;for(const[m,g]of i){const h=typeof m=="object"&&m!==null?ma.fromLocalValue(m):m,_=ma.fromLocalValue(g);c.set(h,_)}return c;case"object":const d={};for(const[m,g]of i)d[m]=ma.fromLocalValue(g);return d;case"regexp":const{pattern:u,flags:k}=i;return new RegExp(u,k);case"set":const p=new Set;for(const m of i)p.add(ma.fromLocalValue(m));return p;case"symbol":return Symbol(i);default:throw new Error(`Unsupported type: ${a}`)}}static fromLocalValueArray(o){return o.map(a=>ma.fromLocalValue(a))}static isLocalValueObject(o){if(typeof o!="object"||o===null||!o.hasOwnProperty(Xf))return!1;const a=o[Xf];return Object.values({...xy,...yy}).includes(a)?a!=="null"&&a!=="undefined"?o.hasOwnProperty(Qf):!0:!1}},yj={};lj(yj,{err:()=>Ty,map:()=>wj,ok:()=>Eb,unwrap:()=>zj,unwrapErr:()=>jj});var Eb=e=>({isOk:!0,isErr:!1,value:e}),Ty=e=>({isOk:!1,isErr:!0,value:e});function wj(e,o){if(e.isOk){const a=o(e.value);return a instanceof Promise?a.then(i=>Eb(i)):Eb(a)}if(e.isErr){const a=e.value;return Ty(a)}throw"should never get here"}var zj=e=>{if(e.isOk)return e.value;throw e.value},jj=e=>{if(e.isErr)return e.value;throw e.value};function Sj(e){return typeof e!="string"||!e.startsWith(jb)?e:xj.fromLocalValue(JSON.parse(atob(e.slice(jb.length))))}var Ei;function Tj(e){var o;const a=this.attachShadow({mode:"open"});Ei===void 0&&(Ei=(o=void 0)!=null?o:null),Ei&&(Ab?a.adoptedStyleSheets.push(Ei):a.adoptedStyleSheets=[...a.adoptedStyleSheets,Ei])}var Ay=e=>{const o=Ur(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ey(o,e.tagName).forEach(i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(Ej(i,vk(i),!1).length?i.hidden=!0:i.hidden=!1)});let a=0;for(a=0;a<o.length;a++){const i=o[a];i.nodeType===1&&Ur(i,"childNodes").length&&Ay(i)}},Aj=e=>{const o=[];for(let a=0;a<e.length;a++){const i=e[a]["s-nr"]||void 0;i&&i.isConnected&&o.push(i)}return o};function Ey(e,o,a){let i=0,c=[],d;for(;i<e.length;i++)d=e[i],d["s-sr"]&&(!o||d["s-hn"]===o)&&a===void 0&&c.push(d),c=[...c,...Ey(d.childNodes,o,a)];return c}var Ej=(e,o,a=!0)=>{const i=[];(a&&e["s-sr"]||!e["s-sr"])&&i.push(e);let c=e;for(;c=c.nextSibling;)vk(c)===o&&(a||!c["s-sr"])&&i.push(c);return i},q_=(e,o)=>e.nodeType===1?e.getAttribute("slot")===null&&o===""||e.getAttribute("slot")===o:e["s-sn"]===o?!0:o==="",Cj=(e,o,a,i)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const c=document.createTextNode("");if(c["s-nr"]=e,!o["s-cr"]||!o["s-cr"].parentNode)return;const d=o["s-cr"].parentNode,u=Ur(d,"appendChild");if(typeof i<"u"){c["s-oo"]=i;const k=Ur(d,"childNodes"),p=[c];k.forEach(m=>{m["s-nr"]&&p.push(m)}),p.sort((m,g)=>!m["s-oo"]||m["s-oo"]<(g["s-oo"]||0)?-1:!g["s-oo"]||g["s-oo"]<m["s-oo"]?1:0),p.forEach(m=>u.call(d,m))}else u.call(d,c);e["s-ol"]=c,e["s-sh"]=o["s-hn"]},vk=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Cy(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const o=a=>(function(i){const c=[],d=this["s-sn"];i?.flatten&&console.error(`
|
|
27
|
+
- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)};var k5=.2126,p5=.7152,m5=.0722,Hf=1/12.92;function Vf(e){return Math.pow((e+.055)/1.055,2.4)}function xg(e){var o=e[0]/255,a=e[1]/255,i=e[2]/255,c=o<=.03928?o*Hf:Vf(o),d=a<=.03928?a*Hf:Vf(a),u=i<=.03928?i*Hf:Vf(i);return c*k5+d*p5+u*m5}function yg(e){var o=255;(e=e.replace(/^#/,"")).length===8&&(o=parseInt(e.slice(6,8),16),e=e.substring(0,6)),e.length===4&&(o=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 a=parseInt(e,16);return[a>>16,a>>8&255,255&a,o]}function v5(e,o){return(Math.max(e,o)+.05)/(Math.min(e,o)+.05)}function h5(e,o){return v5(xg(e),xg(o))}function g5(e,o){return h5(yg(e),yg(o))}function _5(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}var qf,wg;function x5(){return wg||(wg=1,qf={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]}),qf}var Zf,zg;function y5(){if(zg)return Zf;zg=1;var e=x5();Zf=a;var o={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function a(i){var c,d=[],u=1,k;if(typeof i=="string")if(i=i.toLowerCase(),e[i])d=e[i].slice(),k="rgb";else if(i==="transparent")u=0,k="rgb",d=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(i)){var p=i.slice(1),m=p.length,g=m<=4;u=1,g?(d=[parseInt(p[0]+p[0],16),parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16)],m===4&&(u=parseInt(p[3]+p[3],16)/255)):(d=[parseInt(p[0]+p[1],16),parseInt(p[2]+p[3],16),parseInt(p[4]+p[5],16)],m===8&&(u=parseInt(p[6]+p[7],16)/255)),d[0]||(d[0]=0),d[1]||(d[1]=0),d[2]||(d[2]=0),k="rgb"}else if(c=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(i)){var h=c[1],_=h==="rgb",p=h.replace(/a$/,"");k=p;var m=p==="cmyk"?4:p==="gray"?1:3;d=c[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(S,T){if(/%$/.test(S))return T===m?parseFloat(S)/100:p==="rgb"?parseFloat(S)*255/100:parseFloat(S);if(p[T]==="h"){if(/deg$/.test(S))return parseFloat(S);if(o[S]!==void 0)return o[S]}return parseFloat(S)}),h===p&&d.push(1),u=_||d[m]===void 0?1:d[m],d=d.slice(0,m)}else i.length>10&&/[0-9](?:\s|\/)/.test(i)&&(d=i.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),k=i.match(/([a-z])/ig).join("").toLowerCase());else isNaN(i)?Array.isArray(i)||i.length?(d=[i[0],i[1],i[2]],k="rgb",u=i.length===4?i[3]:1):i instanceof Object&&(i.r!=null||i.red!=null||i.R!=null?(k="rgb",d=[i.r||i.red||i.R||0,i.g||i.green||i.G||0,i.b||i.blue||i.B||0]):(k="hsl",d=[i.h||i.hue||i.H||0,i.s||i.saturation||i.S||0,i.l||i.lightness||i.L||i.b||i.brightness]),u=i.a||i.alpha||i.opacity||1,i.opacity!=null&&(u/=100)):(k="rgb",d=[i>>>16,(i&65280)>>>8,i&255]);return{space:k,values:d,alpha:u}}return Zf}var w5=y5(),hM=id(w5);const z5={min:[0,0,0],max:[255,255,255]};var gM={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var o=e[0]/360,a=e[1]/100,i=e[2]/100,c,d,u,k,p,m=0;if(a===0)return p=i*255,[p,p,p];for(d=i<.5?i*(1+a):i+a-i*a,c=2*i-d,k=[0,0,0];m<3;)u=o+1/3*-(m-1),u<0?u++:u>1&&u--,p=6*u<1?c+(d-c)*6*u:2*u<1?d:3*u<2?c+(d-c)*(2/3-u)*6:c,k[m++]=p*255;return k}};z5.hsl=function(e){var o=e[0]/255,a=e[1]/255,i=e[2]/255,c=Math.min(o,a,i),d=Math.max(o,a,i),u=d-c,k,p,m;return d===c?k=0:o===d?k=(a-i)/u:a===d?k=2+(i-o)/u:i===d&&(k=4+(o-a)/u),k=Math.min(k*60,360),k<0&&(k+=360),m=(c+d)/2,d===c?p=0:m<=.5?p=u/(d+c):p=u/(2-d-c),[k,p*100,m*100]};var Br={exports:{}},jg;function j5(){if(jg)return Br.exports;jg=1,Br.exports=e,Br.exports.arr=e,Br.exports.obj=o,Br.exports.css=a,Br.exports.hex=i,Br.exports.num=c;function e(x){var z=d(x);return z.length==3?z.concat(255):(z[3]=Math.round(z[3]),z)}function o(x){var z=d(x);return{r:z[0],g:z[1],b:z[2],a:z.length==3?255:Math.round(z[3])}}function a(x){var z=d(x);return z.length==3&&z.push(255),z[3]==255?"rgb("+z[0]+", "+z[1]+", "+z[2]+")":z[3]==0?"rgba("+z[0]+", "+z[1]+", "+z[2]+", 0)":"rgba("+z[0]+", "+z[1]+", "+z[2]+", "+String(z[3]/255).substr(1)+")"}function i(x){var Z=d(x);Z.length==3&&Z.push(255);var z=Z[3]==255,R=u(Z[0]),B=u(Z[1]),F=u(Z[2]),Z=u(Math.round(Z[3])),oe=k(R,B,F,Z);return z?oe?"#"+R.charAt(0)+B.charAt(0)+F.charAt(0):"#"+R+B+F:oe?"#"+R.charAt(0)+B.charAt(0)+F.charAt(0)+Z.charAt(0):"#"+R+B+F+Z}function c(x){var z=d(x);return z.length==3?z.push(255):z[3]=Math.round(z[3]),(z[3]<<24>>>0|z[0]<<16|z[1]<<8|z[2])>>>0}function d(x){return typeof x=="string"?(x=x.toLowerCase(),p(x)||g(x)||h(x)||T(x)||C(x)||[0,0,0,255]):w(x)||L(x)||S(x)||[0,0,0,255]}function u(x){var z=x.toString(16);return z.length==1?"0"+z:z}function k(x,z,R,B){var F=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return F.indexOf(x)!=-1&&F.indexOf(z)!=-1&&F.indexOf(R)!=-1&&F.indexOf(B)!=-1}function p(x){if(x=="red")return[255,0,0];if(x=="green")return[0,255,0];if(x=="blue")return[0,0,255];if(x=="black")return[0,0,0];if(x=="white")return[255,255,255];if(x=="cyan")return[0,255,255];if(x=="gray")return[128,128,128];if(x=="grey")return[128,128,128];if(x=="magenta")return[255,0,255];if(x=="pink")return[255,0,255];if(x=="yellow")return[255,255,0]}function m(x){return x.length==1?parseInt(x+x,16):parseInt(x,16)}function g(x){var z=x.replace(/^#/,""),R=z.length;if(R==3||R==4){var B=m(z[0]),F=m(z[1]),Z=m(z[2]),oe=R==3?255:m(z[3]);return isNaN(B)||isNaN(F)||isNaN(Z)||isNaN(oe)?void 0:[B,F,Z,oe]}}function h(x){var z=x.replace(/^#/,""),R=z.length;if(R==6||R==8){var B=m(z.slice(0,2)),F=m(z.slice(2,4)),Z=m(z.slice(4,6)),oe=R==6?255:m(z.slice(6,8));return isNaN(B)||isNaN(F)||isNaN(Z)||isNaN(oe)?void 0:[B,F,Z,oe]}}function _(x,z){return typeof x!="number"||z===!0&&Math.floor(x)!==x?-1:x>=0&&x<=255?x:-1}function w(x){if(Object.prototype.toString.call(x)==="[object Object]"&&Object.getPrototypeOf(x)===Object.getPrototypeOf({})){var z=_(x.r!=null?x.r:x.red!=null?x.red:0,!0),R=_(x.g!=null?x.g:x.green!=null?x.green:0,!0),B=_(x.b!=null?x.b:x.blue!=null?x.blue:0,!0),F=_(x.a!=null?x.a:x.alpha!=null?x.alpha:255,!0);if(z!=-1&&R!=-1&&B!=-1&&F!=-1)return[z,R,B,F]}}function L(x){if(Array.isArray(x)&&(x.length==3||x.length==4)){var z=_(x[0],!0),R=_(x[1],!0),B=_(x[2],!0),F=_(x[3]!=null?x[3]:255,!0);if(z!=-1&&R!=-1&&B!=-1&&F!=-1)return[z,R,B,F]}}function S(x){if(typeof x=="number"&&Math.floor(x)==x&&x<=4294967295&&x>=0){var z=x>>24&255,R=x>>16&255,B=x>>8&255,F=x&255;return[R,B,F,z]}}function T(x){if(x.substr(0,4)=="rgb("){x=x.match(/^rgb\(([^)]+)\)/)[1];var z=x.split(/ *, */).map(Number),R=_(z[0],!0),B=_(z[1],!0),F=_(z[2],!0);if(R!=-1&&B!=-1&&F!=-1)return[R,B,F,255]}}function C(x){if(x.substr(0,5)=="rgba("){x=x.match(/^rgba\(([^)]+)\)/)[1];var z=x.split(/ *, */).map(Number),R=_(z[0],!0),B=_(z[1],!0),F=_(z[2],!0),Z=_(z[3]*255);if(R!=-1&&B!=-1&&F!=-1&&Z!=-1)return[R,B,F,Z]}}return Br.exports}var S5=j5(),Sg=id(S5);const T5=/\[object Object\]/,Pf=(e,o)=>{typeof e=="string"&&T5.test(e)||o()},A5=(e,o)=>{typeof e=="string"&&e===""||o()},_M=(e,o)=>{s5()&&(Rn.debug([e,o]),Rn.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:o,writable:!1})},E5=e=>{var o,a,i;(o=e.nextHooks)===null||o===void 0||o.forEach((c,d)=>{var u;const k=c.get("beforePatch");typeof k=="function"&&k((u=e.nextState)===null||u===void 0?void 0:u.get(d),e.nextState,e,d)}),((a=e.nextState)===null||a===void 0?void 0:a.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,(i=e.nextHooks)===null||i===void 0||i.forEach((c,d)=>{const u=c.get("afterPatch");typeof u=="function"&&u(e.state[d],e.state,e,d)})),delete e.nextHooks},yb=(e,o,a,i={})=>{var c,d;e.nextHooks===void 0&&(e.nextHooks=new Map),e.nextState===void 0&&(e.nextState=new Map),e.nextHooks.get(o)instanceof Map||e.nextHooks.set(o,new Map),typeof i.afterPatch=="function"&&((c=e.nextHooks.get(o))===null||c===void 0||c.set("afterPatch",i.afterPatch)),typeof i.beforePatch=="function"&&((d=e.nextHooks.get(o))===null||d===void 0||d.set("beforePatch",i.beforePatch)),e.nextState.set(o,a),E5(e)},C5=(e,o,a,i)=>{vy(`[${e.constructor.name}] The property value: (${a}) for '${o}' is not valid. Allowed values are: ${Array.from(i).join(", ")}`)};function kk(e,o,a,i,c,d={}){a(c)?yb(e,o,c,d.hooks):c===void 0&&d.required!==!0&&a(d.defaultValue)?yb(e,o,d.defaultValue,d.hooks):(d.required||i.add(null),C5(e,o,c,i))}const xM=(e,o,a,i)=>{kk(e,o,c=>typeof c=="boolean",new Set(["Boolean {true, false}"]),a,i)},yM=(e,o,a,i={})=>{const c=typeof i.minLength=="number"?i?.minLength:0;kk(e,o,d=>typeof d=="string"&&d.length>=c&&(typeof i?.maxLength>"u"||d.length<=i.maxLength),new Set(["String"]),a,i)},wM=(e,o,a,i)=>{kk(e,o,c=>typeof c=="number"&&(typeof i?.min>"u"||typeof i?.min=="number"&&c>=i.min)&&(typeof i?.max>"u"||typeof i?.max=="number"&&c<=i.max),new Set(["Number"]),a,i)},zM=(e,o,a,i,c=u=>u===u,d={})=>{A5(i,()=>{Pf(i,()=>{typeof i>"u"&&(i=[]);try{try{i=O5(i)}catch{}if(Array.isArray(i)){const u=i.find(k=>!a(k));u===void 0&&c(i)?yb(e,o,i,d.hooks):Pf(u,()=>{throw Rn.debug(u),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")})}else Pf(i,()=>{throw Rn.debug(i),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")})}catch(u){Rn.debug(u)}})})},L5=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch{throw Rn.warn(["stringifyJson",e]),Rn.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},N5=/^[{[]/,O5=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{if(N5.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch{Rn.warn(["parseJson",e]),Rn.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).")}}throw new Error},R5=e=>typeof e=="boolean"?e===!0?"true":"false":void 0,jM=e=>typeof e=="string"?e:R5(e),D5=(e,o)=>{const a=new Set,i=[o];let c=0;for(;c<i.length;){const d=i[c++];if(a.has(d))continue;if(a.add(d),d instanceof Element&&d.matches(e))return d;const u=Array.from(d.children||[]);for(let k=0;k<u.length;k++)i.push(u[k]);if(d instanceof HTMLElement&&d.shadowRoot&&i.push(d.shadowRoot),d instanceof HTMLSlotElement){const k=d.assignedNodes({flatten:!0});for(let p=0;p<k.length;p++)k[p]instanceof Element&&i.push(k[p])}}return null},$5=(e,o)=>{const a=new Set,i=[],c=new Set,d=[o];let u=0;for(;u<d.length;){const k=d[u++];if(a.has(k))continue;a.add(k),k instanceof Element&&k.matches(e)&&!c.has(k)&&(i.push(k),c.add(k));const p=Array.from(k.children||[]);for(let m=0;m<p.length;m++)d.push(p[m]);if(k instanceof HTMLElement&&k.shadowRoot&&d.push(k.shadowRoot),k instanceof HTMLSlotElement){const m=k.assignedNodes({flatten:!0});for(let g=0;g<m.length;g++)m[g]instanceof Element&&d.push(m[g])}}return i},B5=(e,o)=>D5(e,o||bk()),M5=(e,o)=>$5(e,o||bk());let Gf=null;const hy=()=>(Gf=Gf||{backgroundColor:"#00000000",color:"#00000000",domNode:bk().body,level:"Fail",score:1},Gf),Tg=/(\d+, ){3}0\)/,wb=(e,o=hy())=>{const a=getComputedStyle(e),i=Tg.test(a.backgroundColor)?o.backgroundColor:Sg.hex(a.backgroundColor),c=Tg.test(a.color)?o.color:Sg.hex(a.color),d=g5(i,c),u={backgroundColor:i,color:c,domNode:e,level:_5(d),score:d};return d<4.5&&Rn.error(["Color-Contrast-Error",{backgroundColor:u.backgroundColor,color:u.color,level:u.level,score:u.score},u.domNode]),u},I5=(e,o=hy())=>{o.domNode instanceof HTMLElement&&(o=wb(o.domNode,o));const a=o.domNode.querySelector(e);if(a===null){const i=o.domNode.querySelectorAll('[class="hydrated"]');for(let c=0;c<i.length&&(o.domNode=i[c],o=I5(e,o),o.domNode===null);c++);return o}else return wb(a,o)};class Xo{static queryHtmlElementColors(o,a,i=!1,c=!0){let d=null;if(i===!0||Xo.executionLock===!1)if(i===!1&&(Xo.cache.clear(),Xo.cache.set(a.domNode,a),Xo.executionLock=!0,c===!0&&Rn.debug("[KoliBriUtils] Color contrast analysis started...")),o===a.domNode)d=a;else{const u=new Set;if(a.domNode.shadowRoot){const g=a.domNode.shadowRoot.children;for(let h=0;h<g.length;h++)u.add(g[h])}const k=a.domNode;if(typeof k.assignedNodes=="function"){const g=k.assignedNodes();for(let h=0;h<g.length;h++)g[h]instanceof HTMLElement&&u.add(g[h])}const p=a.domNode.children;for(let g=0;g<p.length;g++)u.add(p[g]);const m=Array.from(u);for(let g=0;g<m.length;g++){let h=Xo.cache.get(m[g]);h===void 0&&(h=wb(m[g],a)),Xo.cache.set(m[g],h);const _=Xo.queryHtmlElementColors(o,h,!0,!1);if(_!==null){d=_;break}}}else Rn.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return i===!1&&(c===!0&&Rn.debug(`[KoliBriUtils] Color contrast analysis finished (${Xo.cache.size} DOM elements are analysed).`),Xo.executionLock=!1,Xo.cache.clear()),d}}Xo.executionLock=!1;Xo.cache=new Map;class Aa{}Aa.getCssStyle=Rs;Aa.patchTheme=U4;Aa.patchThemeTag=I4;Aa.querySelector=B5;Aa.querySelectorAll=M5;Aa.stringifyJson=L5;const SM=e=>typeof e=="object"&&e!==null,Ag=(e,o=0)=>typeof e=="string"&&e.length>=o,TM=e=>{if(typeof e=="object"&&e!==null){for(const o in e)if(Ag(o,1)===!1)return!1}else return Ag(e,1);return!0},AM=new Event("StateChange");let Eg="kol-abbr",Cg="kol-accordion",Lg="kol-alert",Ng="kol-alert-wc",Og="kol-avatar",Rg="kol-avatar-wc",Dg="kol-badge",$g="kol-breadcrumb",Bg="kol-button-link",Mg="kol-button",Ig="kol-button-wc",Ug="kol-card",Fg="kol-card-wc",Kg="kol-combobox",Hg="kol-details",Vg="kol-dialog",qg="kol-dialog-wc",Zg="kol-drawer",Pg="kol-form",Gg="kol-heading",Yg="kol-icon",Jg="kol-image",Xg="kol-input-checkbox",Qg="kol-input-color",Wg="kol-input-date",e_="kol-input-email",n_="kol-input-file",o_="kol-input-number",t_="kol-input-password",r_="kol-input-radio",a_="kol-input-range",l_="kol-input",i_="kol-input-text",c_="kol-kolibri",s_="kol-link-button",d_="kol-link",u_="kol-link-wc",f_="kol-modal",b_="kol-nav",k_="kol-pagination",p_="kol-pagination-wc",m_="kol-popover-wc",v_="kol-popover-button",h_="kol-popover-button-wc",g_="kol-progress",__="kol-quote",x_="kol-select",y_="kol-select-wc",w_="kol-single-select",z_="kol-skip-nav",j_="kol-spin",S_="kol-split-button",T_="kol-table-settings-wc",A_="kol-table-stateful",E_="kol-table-stateless",C_="kol-table-stateless-wc",L_="kol-tabs",N_="kol-textarea",zb="kol-toast-container",Yf="kol-tooltip-wc",O_="kol-tree-item",R_="kol-tree-item-wc",D_="kol-tree",$_="kol-tree-wc",B_="kol-version";const U5=e=>{Eg=e(Eg),Cg=e(Cg),Lg=e(Lg),Ng=e(Ng),Og=e(Og),Rg=e(Rg),Dg=e(Dg),$g=e($g),Bg=e(Bg),Mg=e(Mg),Ig=e(Ig),Ug=e(Ug),Fg=e(Fg),Kg=e(Kg),Hg=e(Hg),Vg=e(Vg),qg=e(qg),Zg=e(Zg),Pg=e(Pg),Gg=e(Gg),Yg=e(Yg),Jg=e(Jg),Xg=e(Xg),Qg=e(Qg),Wg=e(Wg),e_=e(e_),n_=e(n_),o_=e(o_),t_=e(t_),r_=e(r_),a_=e(a_),l_=e(l_),i_=e(i_),c_=e(c_),s_=e(s_),d_=e(d_),u_=e(u_),f_=e(f_),b_=e(b_),k_=e(k_),p_=e(p_),m_=e(m_),v_=e(v_),h_=e(h_),g_=e(g_),__=e(__),x_=e(x_),y_=e(y_),w_=e(w_),z_=e(z_),j_=e(j_),S_=e(S_),T_=e(T_),A_=e(A_),E_=e(E_),C_=e(C_),L_=e(L_),N_=e(N_),zb=e(zb),e(Yf),Yf=e(Yf),O_=e(O_),R_=e(R_),D_=e(D_),$_=e($_),B_=e(B_)};var F5={error:"Fehler",warning:"Warnung",info:"Hinweis",success:"Erfolg",message:"Nachricht",close:"Schließen","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","change-order":"Sortierung von {{colLabel}} ändern","action-running":"Aktion wird ausgeführt...","action-done":"Aktion abgeschlossen",pagination:"Paginierung","page-first":"Direkt zur ersten Seite","page-back":"Eine Seite zurück","page-next":"Eine Seite weiter","page-last":"Direkt zur letzten Seite","entries-per-site":"Einträge pro Seite",page:"Seite","page-current":"Seite {{page}}","page-selected":"Seite {{page}} ist ausgewählt","page-per-site":"Einträge pro Seite","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren","logo-description":"Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}","open-link-in-tab":"Öffnet in neuem Tab.","kolibri-logo":"Logo von KoliBri","table-pagination-label":"Paginierung für die Tabelle {{label}}","table-sort-order":"Priorität {{order}}","avatar-alt":"Avatar von {{name}}","split-button-dropdown-label-open":"Optionen anzeigen","split-button-dropdown-label-close":"Optionen schließen","toast-close-all":"Alle Benachrichtigungen schließen","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:",version:"Versionsnummer","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","table-selection-all":"Alle auswählen","table-selection-none":"Alle abwählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-settings":"Tabellenkonfiguration","table-settings-cancel":"Abbrechen","table-settings-apply":"Übernehmen","table-settings-show-column":"Spalte {{column}} anzeigen","table-settings-column-width":"Breite von {{column}}","table-settings-move-up":"Spalte {{column}} nach oben verschieben","table-settings-move-down":"Spalte {{column}} nach unten verschieben","table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-column-not-hidable":"nicht ausblendbar",dropdown:"Auswahlliste","nav-label-open":"Untermenü zu {{label}} öffnen","nav-label-close":"Untermenü zu {{label}} schließen","close-alert":"Benachrichtigung schließen","show-password":"einblenden","hide-password":"ausblenden","no-results-message":"Keine Ergebnisse gefunden.","delete-selection":"Auswahl entfernen","filename-text":"Datei auswählen oder hier ablegen...","data-browse-text":"Datei auswählen",sort:"sortieren","pagination-position-top":"oben","pagination-position-bottom":"unten","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen",readonly:"schreibgeschützt"},K5={error:"Error",warning:"Warning",info:"Note",success:"Success",message:"Message",close:"Close","form-description":"Form fields marked with an asterisk (*) are mandatory.",new:"New","no-entries":"No entries available.","change-order":"Change order of {{colLabel}}","action-running":"Action is running...","action-done":"Action done",pagination:"Pagination","page-first":"Directly to the first page","page-back":"One page back","page-next":"One page further","page-last":"Directly to the last page","entries-per-site":"Entries per page",page:"Page","page-current":"Page {{page}}","page-selected":"Page {{page}} is selected","page-per-site":"Entries per page","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation","logo-description":"Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}","open-link-in-tab":"Opens in new tab.","kolibri-logo":"KoliBri logo","table-pagination-label":"Pagination for table {{label}}","table-sort-order":"Priority {{order}}","avatar-alt":"Avatar of {{name}}","split-button-dropdown-label-open":"Show options","split-button-dropdown-label-close":"Hide options","toast-close-all":"Close all notifications","error-list":"Error list","error-list-message":"Please correct the following errors",version:"Version number","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","table-selection-all":"Select all","table-selection-none":"Deselect all","table-selection-indeterminate":"Select all with partial selection","table-settings":"Table configuration","table-settings-cancel":"Cancel","table-settings-apply":"Apply","table-settings-show-column":"Show column {{column}}","table-settings-column-width":"{{column}} width","table-settings-move-up":"Move {{column}} column up","table-settings-move-down":"Move {{column}} column down","table-settings-error-all-invisible":"At least one column must be visible.","table-settings-column-not-hidable":"cannot be hidden",dropdown:"Dropdown","nav-label-open":"Submenu for {{label}} open","nav-label-close":"Submenu for {{label}} close","close-alert":"Close notification","show-password":"Show","hide-password":"Hide","no-results-message":"No results found.","delete-selection":"Delete selection","filename-text":"Choose a file or drop it here...","data-browse-text":"Browse",sort:"sort","pagination-position-top":"top","pagination-position-bottom":"bottom","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","character-limit-exceeded":"You have {{over}} characters too many.","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters",readonly:"read-only"};const M_=e=>Object.keys(e).reduce((o,a)=>(o[`kol-${a}`]=e[a],o),{}),H5=new Set([e=>e("en",M_(K5)),e=>e("de",M_(F5))]),V5=function(e,o,a){return e.split(o).join(a)};class q5{constructor(o){this.resourceMap=new Map,this.language=o??"de"}addTranslations(o){Array.isArray(o)?o=new Set(o):typeof o=="function"&&(o=new Set([o])),o!==void 0&&o.forEach(a=>a((i,c)=>{let d=this.resourceMap.get(i);return d||(d=new Map,this.resourceMap.set(i,d)),Object.entries(c).forEach(([u,k])=>{k&&d.set(u,k)}),i}))}setLanguage(o){this.language=o}translate(o,a){var i;let c=(i=this.resourceMap.get(this.language))===null||i===void 0?void 0:i.get(o);return c?a?.placeholders&&Object.entries(a.placeholders).forEach(([d,u])=>{c=V5(c,`{{${d}}}`,u)}):c=o,c}}let Ds;const EM=()=>Ds,Z5=(e,o=H5)=>(Ds=new q5(e),Ds.addTranslations(o),Ds);var P5={};let gy=!1,_y;const G5=async(e,o,a)=>{var i,c;const d=typeof process<"u"&&P5?"production":void 0;by(a?.environment||d||"production"),Z5((c=(i=a?.translation)===null||i===void 0?void 0:i.name)!==null&&c!==void 0?c:"de",a?.translations),a?.transformTagName&&U5(a?.transformTagName);const u=await q4(e,o,a);return gy=!0,_y=a,Rn.info("Development mode active - Enhanced debugging features available"),u},Y5=()=>gy,CM=()=>_y;var Jf,I_;function J5(){return I_||(I_=1,Jf=function(o){return function(a,i){if(!a)return o;var c;typeof a=="string"?c=a:i=a;var d=o;return c&&(d+="__"+c),d+(i?Object.keys(i).reduce(function(u,k){var p=i[k];return p&&(u+=" "+(typeof p=="boolean"?d+"--"+k:d+"--"+k+"_"+p)),u},""):"")}}),Jf}var X5=J5(),Q5=id(X5);function W5(){const e=new Map,o=(a,i,c)=>{try{return e.get(a)(i,c)}catch{return e.set(a,Q5(a)).get(a)(i,c)}};return o.forBlock=a=>{const i=(c,d)=>o(a,c,d);return i.forElement=c=>d=>o(a,c,d),i},o}const LM=W5();var U_;(function(e){e.blur="blur",e.change="change",e.changeHeaderCells="changeheadercells",e.changePage="changepage",e.changePageSize="changepagesize",e.click="click",e.close="close",e.create="create",e.focus="focus",e.input="input",e.keydown="keydown",e.mousedown="mousedown",e.reset="reset",e.select="select",e.selectionChange="selectionchange",e.sort="sort",e.submit="submit",e.toggle="toggle"})(U_||(U_={}));const ej={bubbles:!0,cancelable:!0,composed:!0};function nj(e,o=null){return new CustomEvent(e,Object.assign(Object.assign({},ej),{detail:o}))}function NM(e,o,a){e.dispatchEvent(nj(o,a))}class Hr{constructor(o,a){var i;this.document=o,this.options=a,this.toastContainerElement=this.document.createElement(zb),this.document.body.prepend(this.toastContainerElement),!((i=this.options)===null||i===void 0)&&i.defaultVariant&&Rn.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(o,a){if(!Y5())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let i=this.instances.get(o);return i||(i=new Hr(o,a),this.instances.set(o,i)),i}dispose(){const o=this.toastContainerElement;o?(this.toastContainerElement=void 0,o.remove()):Rn.warn("Toaster service is already disposed.")}enqueue(o){if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue=="function")return this.toastContainerElement.enqueue(o)}closeAll(o=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll=="function"&&this.toastContainerElement.closeAll(o)}}Hr.instances=new Map;var vo;(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"})(vo||(vo={}));var Ve;(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"})(Ve||(Ve={}));var sr;(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"})(sr||(sr={}));const we=new Map;we.set(vo["Die Bundesregierung"],["Die","Bundesregierung"]);we.set(vo["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);we.set(vo["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);we.set(vo["Auswärtiges Amt"],["Auswärtiges Amt"]);we.set(vo["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);we.set(vo["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);we.set(vo["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);we.set(vo["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);we.set(vo["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);we.set(vo["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);we.set(vo["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);we.set(vo["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);we.set(vo["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);we.set(vo["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);we.set(vo["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);we.set(Ve["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);we.set(Ve["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);we.set(Ve["Bundesamt für äußere Restitutionen"],[]);we.set(Ve["Bundesamt für Bauwesen und Raumordnung"],[]);we.set(Ve["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);we.set(Ve["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);we.set(Ve["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);we.set(Ve["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);we.set(Ve["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);we.set(Ve["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);we.set(Ve["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);we.set(Ve["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);we.set(Ve["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);we.set(Ve["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);we.set(Ve["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);we.set(Ve["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);we.set(Ve["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);we.set(Ve.Bundesarchiv,["Das","Bundesarchiv"]);we.set(Ve["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);we.set(Ve.Bundesausgleichsamt,["Bundesausgleichsamt"]);we.set(Ve.Bundeskartellamt,["Bundeskartellamt"]);we.set(Ve.Bundeskriminalamt,["Bundeskriminalamt"]);we.set(Ve.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);we.set(Ve["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);we.set(Ve.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);we.set(Ve["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);we.set(Ve.Bundessortenamt,["Bundessortenamt"]);we.set(Ve.Bundessprachenamt,["Bundessprachenamt"]);we.set(Ve["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);we.set(Ve.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);we.set(Ve["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);we.set(Ve["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);we.set(Ve["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);we.set(Ve.Generalzolldirektion,["Generalzolldirektion"]);we.set(Ve["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);we.set(Ve["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);we.set(sr["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);we.set(sr["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);we.set(sr["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);we.set(sr["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);we.set(sr["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);we.set(sr["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);we.set(sr["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);const oj="modulepreload",tj=function(e){return"/"+e},F_={},me=function(o,a,i){let c=Promise.resolve();if(a&&a.length>0){let p=function(m){return Promise.all(m.map(g=>Promise.resolve(g).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),k=u?.nonce||u?.getAttribute("nonce");c=p(a.map(m=>{if(m=tj(m),m in F_)return;F_[m]=!0;const g=m.endsWith(".css"),h=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${h}`))return;const _=document.createElement("link");if(_.rel=g?"stylesheet":oj,g||(_.as="script"),_.crossOrigin="",_.href=m,k&&_.setAttribute("nonce",k),document.head.appendChild(_),g)return new Promise((w,L)=>{_.addEventListener("load",w),_.addEventListener("error",()=>L(new Error(`Unable to preload CSS for ${m}`)))})}))}function d(u){const k=new Event("vite:preloadError",{cancelable:!0});if(k.payload=u,window.dispatchEvent(k),!k.defaultPrevented)throw u}return c.then(u=>{for(const k of u||[])k.status==="rejected"&&d(k.reason);return o().catch(d)})},rj="kolibri",ya={hydratedSelectorName:"hydrated",lazyLoad:!0,propChangeCallback:!0,slotRelocation:!0,state:!0,updatable:!0},OM={kolibriVersion:"4.1.1-rc.3"};var aj=Object.defineProperty,lj=(e,o)=>{for(var a in o)aj(e,a,{get:o[a],enumerable:!0})},ij="http://www.w3.org/2000/svg",cj="http://www.w3.org/1999/xhtml",xy=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(xy||{}),yy=(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))(yy||{}),Xf="type",Qf="value",jb="serialized:",sj=(e,o)=>{var a;const i=o.$cmpMeta$;Object.entries((a=i.$members$)!=null?a:{}).map(([d,[u]])=>{if(u&31||u&32){const k=e[d],p=dj(Object.getPrototypeOf(e),d)||Object.getOwnPropertyDescriptor(e,d);p&&Object.defineProperty(e,d,{get(){return p.get.call(this)},set(m){p.set.call(this,m)},configurable:!0,enumerable:!0}),e[d]=o.$instanceValues$.has(d)?o.$instanceValues$.get(d):k}})};function dj(e,o){for(;e;){const a=Object.getOwnPropertyDescriptor(e,o);if(a?.get)return a;e=Object.getPrototypeOf(e)}}var tt=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},RM=(e,o)=>{o&&(e.__stencil__getHostRef=()=>o,o.$lazyInstance$=e,o.$cmpMeta$.$flags$&512&&ya.state&&sj(e,o))},uj=(e,o)=>{const a={$flags$:0,$hostElement$:e,$cmpMeta$:o,$instanceValues$:new Map,$serializerValues$:new Map};a.$onInstancePromise$=new Promise(c=>a.$onInstanceResolve$=c),a.$onReadyPromise$=new Promise(c=>a.$onReadyResolve$=c),e["s-p"]=[],e["s-rc"]=[],a.$fetchedCbList$=[];const i=a;return e.__stencil__getHostRef=()=>i,i},K_=(e,o)=>o in e,be=(e,o)=>(0,console.error)(e,o),Wf=new Map,fj=(e,o,a)=>{const i=e.$tagName$.replace(/-/g,"_"),c=e.$lazyBundleId$;if(!c)return;const d=Wf.get(c);if(d)return d[i];{const u=k=>(Wf.set(c,k),k[i]);switch(c){case"kol-abbr":return me(()=>import("./kol-abbr.entry-DVTfmhZo.js"),__vite__mapDeps([0,1])).then(u,be);case"kol-accordion":return me(()=>import("./kol-accordion.entry-DAso96XV.js"),__vite__mapDeps([2,3,4,5,6,7,1,8,9,10])).then(u,be);case"kol-alert":return me(()=>import("./kol-alert.entry-s3apaFjP.js"),[]).then(u,be);case"kol-avatar":return me(()=>import("./kol-avatar.entry-jRMsgQqq.js"),__vite__mapDeps([11,12,13,14,15,16])).then(u,be);case"kol-badge":return me(()=>import("./kol-badge.entry-Bx8PrRFe.js"),__vite__mapDeps([17,18,4,5,12,6,19,13,20,21,22,23,24,25,9])).then(u,be);case"kol-breadcrumb":return me(()=>import("./kol-breadcrumb.entry-D9ABs-Fx.js"),__vite__mapDeps([26,1,27,28])).then(u,be);case"kol-button":return me(()=>import("./kol-button.entry-OAzVARv0.js"),[]).then(u,be);case"kol-button-link":return me(()=>import("./kol-button-link.entry-BuMpiLTb.js"),[]).then(u,be);case"kol-card":return me(()=>import("./kol-card.entry-B0Jhdy1S.js"),[]).then(u,be);case"kol-details":return me(()=>import("./kol-details.entry-DE51BYty.js"),__vite__mapDeps([29,3,4,5,6,7,1,8,9,10])).then(u,be);case"kol-dialog":return me(()=>import("./kol-dialog.entry-D0YSiNDZ.js"),[]).then(u,be);case"kol-drawer":return me(()=>import("./kol-drawer.entry-wSRTTUTD.js"),__vite__mapDeps([30,31,32,1,8,5,33])).then(u,be);case"kol-form":return me(()=>import("./kol-form.entry-Cc3txdvp.js"),__vite__mapDeps([34,12,18,4,5,6])).then(u,be);case"kol-heading":return me(()=>import("./kol-heading.entry-BOZOkxzn.js"),__vite__mapDeps([35,18,4,5,12,6,1,25,10])).then(u,be);case"kol-icon":return me(()=>import("./kol-icon.entry-BZsfXjnx.js"),__vite__mapDeps([36,1,5])).then(u,be);case"kol-image":return me(()=>import("./kol-image.entry-vf7agZVe.js"),__vite__mapDeps([37,14,16])).then(u,be);case"kol-input-checkbox":return me(()=>import("./kol-input-checkbox.entry-B5Q25scf.js"),__vite__mapDeps([38,5,9,39,1,40,41,42,43,7,44,45,31,46,24,4,23,12,18,6,22,47,48,49])).then(u,be);case"kol-input-color":return me(()=>import("./kol-input-color.entry-DFqOp9LR.js"),__vite__mapDeps([50,42,43,7,44,1,45,31,46,24,4,23,5,12,18,6,51,22,20,52,47,9,53,54])).then(u,be);case"kol-input-date":return me(()=>import("./kol-input-date.entry-Dtt-F3-E.js"),__vite__mapDeps([55,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,53,56,40,54])).then(u,be);case"kol-input-email":return me(()=>import("./kol-input-email.entry-Br3FfhyK.js"),__vite__mapDeps([57,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,58,59,60,61,54,62,53,63,56,40])).then(u,be);case"kol-input-file":return me(()=>import("./kol-input-file.entry-DxE4HxBA.js"),__vite__mapDeps([64,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,59,40])).then(u,be);case"kol-input-number":return me(()=>import("./kol-input-number.entry-DVXO2aEN.js"),__vite__mapDeps([65,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,25,9,49,53,63,56,40,54])).then(u,be);case"kol-input-password":return me(()=>import("./kol-input-password.entry-B3mfhcwd.js"),__vite__mapDeps([66,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,62,53,58,63,56,40])).then(u,be);case"kol-input-radio":return me(()=>import("./kol-input-radio.entry-Bl15yx3u.js"),__vite__mapDeps([67,5,9,49,39,1,40,41,42,43,7,44,45,31,46,24,4,23,12,18,6,48,47])).then(u,be);case"kol-input-text":return me(()=>import("./kol-input-text.entry-CoVISLPe.js"),__vite__mapDeps([68,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,60,61,54,62,53,58,63,56,40])).then(u,be);case"kol-kolibri":return me(()=>import("./kol-kolibri.entry-d34ib_Cl.js"),__vite__mapDeps([69,13,19,12])).then(u,be);case"kol-link":return me(()=>import("./kol-link.entry-DhDCy808.js"),[]).then(u,be);case"kol-link-button":return me(()=>import("./kol-link-button.entry-nTyJKqOn.js"),[]).then(u,be);case"kol-modal":return me(()=>import("./kol-modal.entry-Cf5T-mgY.js"),[]).then(u,be);case"kol-nav":return me(()=>import("./kol-nav.entry-wR-d-Qsg.js"),__vite__mapDeps([70,44,1,12,5,9,27,28])).then(u,be);case"kol-pagination":return me(()=>import("./kol-pagination.entry-DVmEF8__.js"),[]).then(u,be);case"kol-popover-button":return me(()=>import("./kol-popover-button.entry-D8zueLZ-.js"),[]).then(u,be);case"kol-progress":return me(()=>import("./kol-progress.entry-DNCbw4OD.js"),__vite__mapDeps([71,15,14])).then(u,be);case"kol-quote":return me(()=>import("./kol-quote.entry-Bbw3YeNy.js"),__vite__mapDeps([72,14,15])).then(u,be);case"kol-select":return me(()=>import("./kol-select.entry-B7psywQa.js"),[]).then(u,be);case"kol-skeleton":return me(()=>import("./kol-skeleton.entry-BeFF2ZTD.js"),__vite__mapDeps([73,74,15,14])).then(u,be);case"kol-skip-nav":return me(()=>import("./kol-skip-nav.entry-DuWEMRAJ.js"),__vite__mapDeps([75,1,27,28])).then(u,be);case"kol-spin":return me(()=>import("./kol-spin.entry-DbvoupBk.js"),__vite__mapDeps([76,1,77,12,5])).then(u,be);case"kol-split-button":return me(()=>import("./kol-split-button.entry-BBlzb6xt.js"),__vite__mapDeps([78,12,5])).then(u,be);case"kol-table-stateful":return me(()=>import("./kol-table-stateful.entry-z62xqv1e.js"),__vite__mapDeps([79,12,80,1,81])).then(u,be);case"kol-table-stateless":return me(()=>import("./kol-table-stateless.entry-BS9-cW18.js"),[]).then(u,be);case"kol-tabs":return me(()=>import("./kol-tabs.entry-kGCybfT6.js"),__vite__mapDeps([82,31,1,12,81,5])).then(u,be);case"kol-textarea":return me(()=>import("./kol-textarea.entry-BoH8rimm.js"),__vite__mapDeps([83,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,9,58,63,56,40,84,61])).then(u,be);case"kol-toast-container":return me(()=>import("./kol-toast-container.entry-CaWbTsJ5.js"),__vite__mapDeps([85,12,9,18,4,5,6,25])).then(u,be);case"kol-toolbar":return me(()=>import("./kol-toolbar.entry-GBNN07L8.js"),__vite__mapDeps([86,4,1,81,41])).then(u,be);case"kol-tree":return me(()=>import("./kol-tree.entry-Dh7-nDdw.js"),[]).then(u,be);case"kol-tree-item":return me(()=>import("./kol-tree-item.entry-aMekyAcy.js"),[]).then(u,be);case"kol-version":return me(()=>import("./kol-version.entry-DMx-Zb6l.js"),__vite__mapDeps([87,1,12])).then(u,be);case"kol-alert-wc":return me(()=>import("./kol-alert-wc.entry-BjG0OP7_.js"),__vite__mapDeps([88,18,4,5,12,6,32,1,10])).then(u,be);case"kol-button-wc":return me(()=>import("./kol-button-wc.entry-CiOzuUbP.js"),__vite__mapDeps([89,23,24,43,90,91,7,44,20,92,1,45,31,18,4,5,12,6,21,22,25,49,46])).then(u,be);case"kol-card-wc":return me(()=>import("./kol-card-wc.entry-gYYhx4Gm.js"),__vite__mapDeps([93,32,1,12,10,18,4,5,6,25,9])).then(u,be);case"kol-click-button":return me(()=>import("./kol-click-button.entry-BMUVib5l.js"),__vite__mapDeps([94,74,15,14])).then(u,be);case"kol-combobox":return me(()=>import("./kol-combobox.entry-C5SQ7k4u.js"),__vite__mapDeps([95,42,43,7,44,1,45,31,46,24,4,23,5,12,18,6,51,22,20,52,47,96,9,63,40,54])).then(u,be);case"kol-dialog-wc":return me(()=>import("./kol-dialog-wc.entry-CuT8hG69.js"),__vite__mapDeps([97,1,5,33])).then(u,be);case"kol-input-range":return me(()=>import("./kol-input-range.entry-DKb1rDaX.js"),__vite__mapDeps([98,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,52,47,9,49,53,54])).then(u,be);case"kol-link-wc":return me(()=>import("./kol-link-wc.entry-CLvMpBQp.js"),__vite__mapDeps([99,23,24,43,90,91,7,44,100,20,92,1,45,31,18,4,5,12,6,21,22,25])).then(u,be);case"kol-pagination-wc":return me(()=>import("./kol-pagination-wc.entry-g-JSZKST.js"),__vite__mapDeps([101,91,1,45,31,12,9,27])).then(u,be);case"kol-popover-button-wc":return me(()=>import("./kol-popover-button-wc.entry-DHCZ92lV.js"),__vite__mapDeps([102,103,92,31,5])).then(u,be);case"kol-popover-wc":return me(()=>import("./kol-popover-wc.entry-CZEEh8na.js"),__vite__mapDeps([104,103,31,77,5])).then(u,be);case"kol-select-wc":return me(()=>import("./kol-select-wc.entry-U0KvHDKH.js"),__vite__mapDeps([105,5,42,43,7,44,1,45,31,46,24,4,23,12,18,6,51,22,20,9,49,59,39,40,41,84])).then(u,be);case"kol-single-select":return me(()=>import("./kol-single-select.entry-Bp-72hrE.js"),__vite__mapDeps([106,42,43,7,44,1,45,31,46,24,4,23,5,12,18,6,51,22,20,52,47,96,9,39,40,41,63])).then(u,be);case"kol-table-settings-wc":return me(()=>import("./kol-table-settings-wc.entry-CGJgWEXF.js"),__vite__mapDeps([107,4,12])).then(u,be);case"kol-table-stateless-wc":return me(()=>import("./kol-table-stateless-wc.entry-__WJP02V.js"),__vite__mapDeps([108,4,12,80,1,81,5,9,24])).then(u,be);case"kol-tooltip-wc":return me(()=>import("./kol-tooltip-wc.entry-BiEaLZ7M.js"),__vite__mapDeps([109,103,31,1,18,4,5,12,6,21,22,23,24,25,9,33])).then(u,be);case"kol-tree-item-wc":return me(()=>import("./kol-tree-item-wc.entry-CVHmxHOe.js"),__vite__mapDeps([110,100,1,8,5,9])).then(u,be);case"kol-tree-wc":return me(()=>import("./kol-tree-wc.entry-DBeiOpca.js"),__vite__mapDeps([111,1])).then(u,be);case"test-component":return me(()=>import("./test-component.entry-4Nbwt3wY.js"),[]).then(u,be)}}return me(()=>import(`./${c}.entry.js`),[]).then(u=>(Wf.set(c,u),u[i]),u=>{be(u,o.$hostElement$)})},Hs=new Map,wy=[],bj="r",kj="o",Sb="s",pj="t",mj="c",qi="s-id",Tb="sty-id",H_="c-id",vj="{visibility:hidden}.hydrated{visibility:inherit}",zy="slot-fb{display:contents}slot-fb[hidden]{display:none}",V_="http://www.w3.org/1999/xlink",nn=typeof window<"u"?window:{},kn={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,o,a,i)=>e.addEventListener(o,a,i),rel:(e,o,a,i)=>e.removeEventListener(o,a,i),ce:(e,o)=>new CustomEvent(e,o)},hj=(()=>{var e;let o=!1;try{(e=nn.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){o=!0}}))}catch{}return o})(),gj=e=>Promise.resolve(e),pk=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Ab=pk?!!nn.document&&Object.getOwnPropertyDescriptor(nn.document.adoptedStyleSheets,"length").writable:!1,jy=e=>gj().then(e),mk=e=>(e=typeof e,e==="object"||e==="function");function Sy(e){var o,a,i;return(i=(a=(o=e.head)==null?void 0:o.querySelector('meta[name="csp-nonce"]'))==null?void 0:a.getAttribute("content"))!=null?i:void 0}var _j=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),xj=class ma{static fromLocalValue(o){const a=o[Xf],i=Qf in o?o[Qf]:void 0;switch(a){case"string":return i;case"boolean":return i;case"bigint":return BigInt(i);case"undefined":return;case"null":return null;case"number":return i==="NaN"?NaN:i==="-0"?-0:i==="Infinity"?1/0:i==="-Infinity"?-1/0:i;case"array":return i.map(m=>ma.fromLocalValue(m));case"date":return new Date(i);case"map":const c=new Map;for(const[m,g]of i){const h=typeof m=="object"&&m!==null?ma.fromLocalValue(m):m,_=ma.fromLocalValue(g);c.set(h,_)}return c;case"object":const d={};for(const[m,g]of i)d[m]=ma.fromLocalValue(g);return d;case"regexp":const{pattern:u,flags:k}=i;return new RegExp(u,k);case"set":const p=new Set;for(const m of i)p.add(ma.fromLocalValue(m));return p;case"symbol":return Symbol(i);default:throw new Error(`Unsupported type: ${a}`)}}static fromLocalValueArray(o){return o.map(a=>ma.fromLocalValue(a))}static isLocalValueObject(o){if(typeof o!="object"||o===null||!o.hasOwnProperty(Xf))return!1;const a=o[Xf];return Object.values({...xy,...yy}).includes(a)?a!=="null"&&a!=="undefined"?o.hasOwnProperty(Qf):!0:!1}},yj={};lj(yj,{err:()=>Ty,map:()=>wj,ok:()=>Eb,unwrap:()=>zj,unwrapErr:()=>jj});var Eb=e=>({isOk:!0,isErr:!1,value:e}),Ty=e=>({isOk:!1,isErr:!0,value:e});function wj(e,o){if(e.isOk){const a=o(e.value);return a instanceof Promise?a.then(i=>Eb(i)):Eb(a)}if(e.isErr){const a=e.value;return Ty(a)}throw"should never get here"}var zj=e=>{if(e.isOk)return e.value;throw e.value},jj=e=>{if(e.isErr)return e.value;throw e.value};function Sj(e){return typeof e!="string"||!e.startsWith(jb)?e:xj.fromLocalValue(JSON.parse(atob(e.slice(jb.length))))}var Ei;function Tj(e){var o;const a=this.attachShadow({mode:"open"});Ei===void 0&&(Ei=(o=void 0)!=null?o:null),Ei&&(Ab?a.adoptedStyleSheets.push(Ei):a.adoptedStyleSheets=[...a.adoptedStyleSheets,Ei])}var Ay=e=>{const o=Ur(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ey(o,e.tagName).forEach(i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(Ej(i,vk(i),!1).length?i.hidden=!0:i.hidden=!1)});let a=0;for(a=0;a<o.length;a++){const i=o[a];i.nodeType===1&&Ur(i,"childNodes").length&&Ay(i)}},Aj=e=>{const o=[];for(let a=0;a<e.length;a++){const i=e[a]["s-nr"]||void 0;i&&i.isConnected&&o.push(i)}return o};function Ey(e,o,a){let i=0,c=[],d;for(;i<e.length;i++)d=e[i],d["s-sr"]&&(!o||d["s-hn"]===o)&&a===void 0&&c.push(d),c=[...c,...Ey(d.childNodes,o,a)];return c}var Ej=(e,o,a=!0)=>{const i=[];(a&&e["s-sr"]||!e["s-sr"])&&i.push(e);let c=e;for(;c=c.nextSibling;)vk(c)===o&&(a||!c["s-sr"])&&i.push(c);return i},q_=(e,o)=>e.nodeType===1?e.getAttribute("slot")===null&&o===""||e.getAttribute("slot")===o:e["s-sn"]===o?!0:o==="",Cj=(e,o,a,i)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const c=document.createTextNode("");if(c["s-nr"]=e,!o["s-cr"]||!o["s-cr"].parentNode)return;const d=o["s-cr"].parentNode,u=Ur(d,"appendChild");if(typeof i<"u"){c["s-oo"]=i;const k=Ur(d,"childNodes"),p=[c];k.forEach(m=>{m["s-nr"]&&p.push(m)}),p.sort((m,g)=>!m["s-oo"]||m["s-oo"]<(g["s-oo"]||0)?-1:!g["s-oo"]||g["s-oo"]<m["s-oo"]?1:0),p.forEach(m=>u.call(d,m))}else u.call(d,c);e["s-ol"]=c,e["s-sh"]=o["s-hn"]},vk=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Cy(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const o=a=>(function(i){const c=[],d=this["s-sn"];i?.flatten&&console.error(`
|
|
28
28
|
Flattening is not supported for Stencil non-shadow slots.
|
|
29
29
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
30
30
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
31
|
-
`);const u=this["s-cr"].parentElement;return(u.__childNodes?u.childNodes:Aj(u.childNodes)).forEach(p=>{d===vk(p)&&c.push(p)}),a?c.filter(p=>p.nodeType===1):c}).bind(e);e.assignedElements=o(!0),e.assignedNodes=o(!1)}function Ur(e,o){if("__"+o in e){const a=e["__"+o];return typeof a!="function"?a:a.bind(e)}else return typeof e[o]!="function"?e[o]:e[o].bind(e)}var Rt=(e,o="")=>()=>{},Lj=(e,o)=>()=>{},wl=new WeakMap,Ly=(e,o,a)=>{let i=Hs.get(e);pk&&a?(i=i||new CSSStyleSheet,typeof i=="string"?i=o:i.replaceSync(o)):i=o,Hs.set(e,i)},Ny=(e,o,a)=>{var i;const c=hk(o,a),d=Hs.get(c);if(!nn.document)return c;if(e=e.nodeType===11?e:nn.document,d)if(typeof d=="string"){e=e.head||e;let u=wl.get(e),k;if(u||wl.set(e,u=new Set),!u.has(c)){if(e.host&&(k=e.querySelector(`[${Tb}="${c}"]`)))k.innerHTML=d;else{k=nn.document.createElement("style"),k.innerHTML=d;const p=(i=kn.$nonce$)!=null?i:Sy(nn.document);if(p!=null&&k.setAttribute("nonce",p),!(o.$flags$&1))if(e.nodeName==="HEAD"){const m=e.querySelectorAll("link[rel=preconnect]"),g=m.length>0?m[m.length-1].nextSibling:e.querySelector("style");e.insertBefore(k,g?.parentNode===e?g:null)}else if("host"in e)if(pk){const m=new CSSStyleSheet;m.replaceSync(d),Ab?e.adoptedStyleSheets.unshift(m):e.adoptedStyleSheets=[m,...e.adoptedStyleSheets]}else{const m=e.querySelector("style");m?m.innerHTML=d+m.innerHTML:e.prepend(k)}else e.append(k);o.$flags$&1&&e.insertBefore(k,null)}o.$flags$&4&&(k.innerHTML+=zy),u&&u.add(c)}}else e.adoptedStyleSheets.includes(d)||(Ab?e.adoptedStyleSheets.push(d):e.adoptedStyleSheets=[...e.adoptedStyleSheets,d]);return c},Nj=e=>{const o=e.$cmpMeta$,a=e.$hostElement$,i=o.$flags$,c=Rt("attachStyles",o.$tagName$),d=Ny(a.shadowRoot?a.shadowRoot:a.getRootNode(),o,e.$modeName$);i&10&&(a["s-sc"]=d,a.classList.add(d+"-h")),c()},hk=(e,o)=>"sc-"+(o&&e.$flags$&32?e.$tagName$+"-"+o:e.$tagName$),Oj=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Rj=()=>{if(!nn.document)return;const e=nn.document.querySelectorAll(`[${Tb}]`);let o=0;for(;o<e.length;o++)Ly(e[o].getAttribute(Tb),Oj(e[o].innerHTML),!0)},Oy=(e,o,...a)=>{let i=null,c=null,d=null,u=!1,k=!1;const p=[],m=h=>{for(let _=0;_<h.length;_++)i=h[_],Array.isArray(i)?m(i):i!=null&&typeof i!="boolean"&&((u=typeof e!="function"&&!mk(i))&&(i=String(i)),u&&k?p[p.length-1].$text$+=i:p.push(u?El(null,i):i),k=u)};if(m(a),o){o.key&&(c=o.key),o.name&&(d=o.name);{const h=o.className||o.class;h&&(o.class=typeof h!="object"?h:Object.keys(h).filter(_=>h[_]).join(" "))}}if(typeof e=="function")return e(o===null?{}:o,p,Bj);const g=El(e,null);return g.$attrs$=o,p.length>0&&(g.$children$=p),g.$key$=c,g.$name$=d,g},El=(e,o)=>{const a={$flags$:0,$tag$:e,$text$:o,$elm$:null,$children$:null};return a.$attrs$=null,a.$key$=null,a.$name$=null,a},Dj={},$j=e=>e&&e.$tag$===Dj,Bj={forEach:(e,o)=>e.map(Z_).forEach(o),map:(e,o)=>e.map(Z_).map(o).map(Mj)},Z_=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Mj=e=>{if(typeof e.vtag=="function"){const a={...e.vattrs};return e.vkey&&(a.key=e.vkey),e.vname&&(a.name=e.vname),Oy(e.vtag,a,...e.vchildren||[])}const o=El(e.vtag,e.vtext);return o.$attrs$=e.vattrs,o.$children$=e.vchildren,o.$key$=e.vkey,o.$name$=e.vname,o},Ij=(e,o,a,i)=>{var c,d;const u=Rt("hydrateClient",o),k=e.shadowRoot,p=[],m=[],g=[],h=k?[]:null,_=El(o,null);_.$elm$=e,nn.document&&(!kn.$orgLocNodes$||!kn.$orgLocNodes$.size)&&Lb(nn.document.body,kn.$orgLocNodes$=new Map),e[qi]=a,e.removeAttribute(qi),i.$vnode$=Cb(_,p,m,h,e,e,a,g);let w=0;const L=p.length;let S;for(w;w<L;w++){S=p[w];const Z=S.$hostId$+"."+S.$nodeId$,oe=kn.$orgLocNodes$.get(Z),de=S.$elm$;if(!k)de["s-hn"]=o.toUpperCase(),S.$tag$==="slot"&&(de["s-cr"]=e["s-cr"]);else if((c=S.$tag$)!=null&&c.toString().includes("-")&&S.$tag$!=="slot-fb"&&!S.$elm$.shadowRoot){const Re=tt(S.$elm$);if(Re){const ie=hk(Re.$cmpMeta$,S.$elm$.getAttribute("s-mode")),ee=nn.document.querySelector(`style[sty-id="${ie}"]`);ee&&e.shadowRoot.append(ee.cloneNode(!0))}}S.$tag$==="slot"&&(S.$name$=S.$elm$["s-sn"]||S.$elm$.name||null,S.$children$?(S.$flags$|=2,S.$elm$.childNodes.length||S.$children$.forEach(Re=>{S.$elm$.appendChild(Re.$elm$)})):S.$flags$|=1),oe&&oe.isConnected&&(oe.parentElement.shadowRoot&&oe["s-en"]===""&&oe.parentNode.insertBefore(de,oe.nextSibling),oe.parentNode.removeChild(oe),k||(de["s-oo"]=parseInt(S.$nodeId$))),oe&&!oe["s-id"]&&kn.$orgLocNodes$.delete(Z)}const T=[],C=g.length;let x=0,z,R,B,F;for(x;x<C;x++)if(z=g[x],!(!z||!z.length))for(B=z.length,R=0,R;R<B;R++){if(F=z[R],T[F.hostId]||(T[F.hostId]=kn.$orgLocNodes$.get(F.hostId)),!T[F.hostId])continue;const Z=T[F.hostId];Z.shadowRoot&&F.node.parentElement!==Z&&Z.appendChild(F.node),(!Z.shadowRoot||!k)&&(F.slot["s-cr"]||(F.slot["s-cr"]=Z["s-cr"],!F.slot["s-cr"]&&Z.shadowRoot?F.slot["s-cr"]=Z:F.slot["s-cr"]=(Z.__childNodes||Z.childNodes)[0]),Cj(F.node,F.slot,!1,F.node["s-oo"]),(d=F.node.parentElement)!=null&&d.shadowRoot&&F.node.getAttribute&&F.node.getAttribute("slot")&&F.node.removeAttribute("slot"))}if(k){let Z=0;const oe=h.length;if(oe){for(Z;Z<oe;Z++){const de=h[Z];de&&k.appendChild(de)}Array.from(e.childNodes).forEach(de=>{typeof de["s-en"]!="string"&&typeof de["s-sn"]!="string"&&(de.nodeType===1&&de.slot&&de.hidden?de.removeAttribute("hidden"):(de.nodeType===8&&!de.nodeValue||de.nodeType===3&&!de.wholeText.trim())&&de.parentNode.removeChild(de))})}}i.$hostElement$=e,u()},Cb=(e,o,a,i,c,d,u,k=[])=>{let p,m,g,h;if(d.nodeType===1){if(p=d.getAttribute(H_),p&&(m=p.split("."),m[0]===u||m[0]==="0")){g=P_({$flags$:0,$hostId$:m[0],$nodeId$:m[1],$depth$:m[2],$index$:m[3],$tag$:d.tagName.toLowerCase(),$elm$:d,$attrs$:{class:d.className||""}}),o.push(g),d.removeAttribute(H_),e.$children$||(e.$children$=[]);const w=g.$elm$.getAttribute("s-sn");typeof w=="string"&&(g.$tag$==="slot-fb"&&G_(w,m[2],g,d,e,o,a,i,k),g.$elm$["s-sn"]=w,g.$elm$.removeAttribute("s-sn")),g.$index$!==void 0&&(e.$children$[g.$index$]=g),e=g,i&&g.$depth$==="0"&&(i[g.$index$]=g.$elm$)}if(d.shadowRoot)for(h=d.shadowRoot.childNodes.length-1;h>=0;h--)Cb(e,o,a,i,c,d.shadowRoot.childNodes[h],u,k);const _=d.__childNodes||d.childNodes;for(h=_.length-1;h>=0;h--)Cb(e,o,a,i,c,_[h],u,k)}else if(d.nodeType===8){if(m=d.nodeValue.split("."),m[1]===u||m[1]==="0"){if(p=m[0],g=P_({$hostId$:m[1],$nodeId$:m[2],$depth$:m[3],$index$:m[4]||"0",$elm$:d,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),p===pj)g.$elm$=J_(d,3),g.$elm$&&g.$elm$.nodeType===3&&(g.$text$=g.$elm$.textContent,o.push(g),d.remove(),u===g.$hostId$&&(e.$children$||(e.$children$=[]),e.$children$[g.$index$]=g),i&&g.$depth$==="0"&&(i[g.$index$]=g.$elm$));else if(p===mj)g.$elm$=J_(d,8),g.$elm$&&g.$elm$.nodeType===8&&(o.push(g),d.remove());else if(g.$hostId$===u)if(p===Sb){const _=d["s-sn"]=m[5]||"";G_(_,m[2],g,d,e,o,a,i,k)}else p===bj&&(i?d.remove():(c["s-cr"]=d,d["s-cn"]=!0))}}else if(e&&e.$tag$==="style"){const _=El(null,d.textContent);_.$elm$=d,_.$index$="0",e.$children$=[_]}else d.nodeType===3&&!d.wholeText.trim()&&!d["s-nr"]&&d.remove();return e},Lb=(e,o)=>{if(e.nodeType===1){const a=e[qi]||e.getAttribute(qi);a&&o.set(a,e);let i=0;if(e.shadowRoot)for(;i<e.shadowRoot.childNodes.length;i++)Lb(e.shadowRoot.childNodes[i],o);const c=e.__childNodes||e.childNodes;for(i=0;i<c.length;i++)Lb(c[i],o)}else if(e.nodeType===8){const a=e.nodeValue.split(".");a[0]===kj&&(o.set(a[1]+"."+a[2],e),e.nodeValue="",e["s-en"]=a[3])}},P_=e=>({...{$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:"0",$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},...e});function G_(e,o,a,i,c,d,u,k,p){i["s-sr"]=!0,a.$name$=e||null,a.$tag$="slot";const m=c?.$elm$?c.$elm$["s-id"]||c.$elm$.getAttribute("s-id"):"";if(k&&nn.document){const g=a.$elm$=nn.document.createElement(a.$tag$);a.$name$&&a.$elm$.setAttribute("name",e),c.$elm$.shadowRoot&&m&&m!==a.$hostId$?Ur(c.$elm$,"insertBefore")(g,Ur(c.$elm$,"children")[0]):Ur(Ur(i,"parentNode"),"insertBefore")(g,i),Y_(p,o,e,i,a.$hostId$),i.remove(),a.$depth$==="0"&&(k[a.$index$]=a.$elm$)}else{const g=a.$elm$,h=m&&m!==a.$hostId$&&c.$elm$.shadowRoot;Y_(p,o,e,i,h?m:a.$hostId$),Cy(i),h&&c.$elm$.insertBefore(g,c.$elm$.children[0])}d.push(a),u.push(a),c.$children$||(c.$children$=[]),c.$children$[a.$index$]=a}var Y_=(e,o,a,i,c)=>{var d,u;let k=i.nextSibling;if(e[o]=e[o]||[],!(!k||(d=k.nodeValue)!=null&&d.startsWith(Sb+".")))do k&&((k.getAttribute&&k.getAttribute("slot")||k["s-sn"])===a||a===""&&!k["s-sn"]&&(!k.getAttribute||!k.getAttribute("slot"))&&(k.nodeType===8||k.nodeType===3))&&(k["s-sn"]=a,e[o].push({slot:i,node:k,hostId:c})),k=k?.nextSibling;while(k&&!((u=k.nodeValue)!=null&&u.startsWith(Sb+".")))},J_=(e,o)=>{let a=e;do a=a.nextSibling;while(a&&(a.nodeType!==o||!a.nodeValue));return a},gk=e=>{const o=_j(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${o}))(${o}\\b)`,"g")};gk("::slotted");gk(":host");gk(":host-context");var Uj=e=>wy.map(o=>o(e)).find(o=>!!o),Fj=e=>wy.push(e),Nb=(e,o,a)=>typeof e=="string"&&e.startsWith(jb)?(e=Sj(e),e):e!=null&&!mk(e)?o&4?e==="false"?!1:e===""||!!e:o&2?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:o&1?String(e):e:e,Kj=e=>{var o;return(o=tt(e))==null?void 0:o.$hostElement$},DM=(e,o,a)=>{const i=Kj(e);return{emit:c=>Ry(i,o,{bubbles:!0,composed:!0,cancelable:!0,detail:c})}},Ry=(e,o,a)=>{const i=kn.ce(o,a);return e.dispatchEvent(i),i},X_=(e,o,a,i,c,d,u)=>{if(a===i)return;let k=K_(e,o),p=o.toLowerCase();if(o==="class"){const m=e.classList,g=Q_(a);let h=Q_(i);if((e["s-si"]||e["s-sc"])&&u){const _=e["s-sc"]||e["s-si"];h.push(_),g.forEach(w=>{w.startsWith(_)&&h.push(w)}),h=[...new Set(h)].filter(w=>w),m.add(...h)}else m.remove(...g.filter(_=>_&&!h.includes(_))),m.add(...h.filter(_=>_&&!g.includes(_)))}else if(o==="style"){for(const m in a)(!i||i[m]==null)&&(m.includes("-")?e.style.removeProperty(m):e.style[m]="");for(const m in i)(!a||i[m]!==a[m])&&(m.includes("-")?e.style.setProperty(m,i[m]):e.style[m]=i[m])}else if(o!=="key")if(o==="ref")i&&i(e);else if(!k&&o[0]==="o"&&o[1]==="n"){if(o[2]==="-"?o=o.slice(3):K_(nn,p)?o=p.slice(2):o=p[2]+o.slice(3),a||i){const m=o.endsWith(Dy);o=o.replace(Vj,""),a&&kn.rel(e,o,a,m),i&&kn.ael(e,o,i,m)}}else{const m=mk(i);if((k||m&&i!==null)&&!c)try{if(e.tagName.includes("-"))e[o]!==i&&(e[o]=i);else{const h=i??"";o==="list"?k=!1:(a==null||e[o]!=h)&&(typeof e.__lookupSetter__(o)=="function"?e[o]=h:e.setAttribute(o,h))}}catch{}let g=!1;p!==(p=p.replace(/^xlink\:?/,""))&&(o=p,g=!0),i==null||i===!1?(i!==!1||e.getAttribute(o)==="")&&(g?e.removeAttributeNS(V_,o):e.removeAttribute(o)):(!k||d&4||c)&&!m&&e.nodeType===1&&(i=i===!0?"":i,g?e.setAttributeNS(V_,o,i):e.setAttribute(o,i))}},Hj=/\s/,Q_=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Hj)),Dy="Capture",Vj=new RegExp(Dy+"$"),Ob=(e,o,a,i)=>{const c=o.$elm$.nodeType===11&&o.$elm$.host?o.$elm$.host:o.$elm$,d=e&&e.$attrs$||{},u=o.$attrs$||{};for(const k of W_(Object.keys(d)))k in u||X_(c,k,d[k],void 0,a,o.$flags$,i);for(const k of W_(Object.keys(u)))X_(c,k,d[k],u[k],a,o.$flags$,i)};function W_(e){return e.includes("ref")?[...e.filter(o=>o!=="ref"),"ref"]:e}var Rb,cd,Db=!1,Vs=!1,_k=!1,Bo=!1,qs=(e,o,a)=>{var i;const c=o.$children$[a];let d=0,u,k,p;if(Db||(_k=!0,c.$tag$==="slot"&&(c.$flags$|=c.$children$?2:1)),c.$text$!==null)u=c.$elm$=nn.document.createTextNode(c.$text$);else if(c.$flags$&1)u=c.$elm$=nn.document.createTextNode(""),Ob(null,c,Bo);else{if(Bo||(Bo=c.$tag$==="svg"),!nn.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(u=c.$elm$=nn.document.createElementNS(Bo?ij:cj,!Db&&ya.slotRelocation&&c.$flags$&2?"slot-fb":c.$tag$),Bo&&c.$tag$==="foreignObject"&&(Bo=!1),Ob(null,c,Bo),c.$children$)for(d=0;d<c.$children$.length;++d)k=qs(e,c,d),k&&u.appendChild(k);c.$tag$==="svg"?Bo=!1:u.tagName==="foreignObject"&&(Bo=!0)}return u["s-hn"]=cd,c.$flags$&3&&(u["s-sr"]=!0,u["s-cr"]=Rb,u["s-sn"]=c.$name$||"",u["s-rf"]=(i=c.$attrs$)==null?void 0:i.ref,Cy(u),p=e&&e.$children$&&e.$children$[a],p&&p.$tag$===c.$tag$&&e.$elm$&&Zi(e.$elm$,!1)),u},Zi=(e,o)=>{kn.$flags$|=1;const a=Array.from(e.__childNodes||e.childNodes);for(let i=a.length-1;i>=0;i--){const c=a[i];c["s-hn"]!==cd&&c["s-ol"]&&(Fr(Pi(c).parentNode,c,Pi(c)),c["s-ol"].remove(),c["s-ol"]=void 0,c["s-sh"]=void 0,_k=!0),o&&Zi(c,o)}kn.$flags$&=-2},$y=(e,o,a,i,c,d)=>{let u=e["s-cr"]&&e["s-cr"].parentNode||e,k;for(u.shadowRoot&&u.tagName===cd&&(u=u.shadowRoot);c<=d;++c)i[c]&&(k=qs(null,a,c),k&&(i[c].$elm$=k,Fr(u,k,Pi(o))))},By=(e,o,a)=>{for(let i=o;i<=a;++i){const c=e[i];if(c){const d=c.$elm$;Iy(c),d&&(Vs=!0,d["s-ol"]?d["s-ol"].remove():Zi(d,!0),d.remove())}}},qj=(e,o,a,i,c=!1)=>{let d=0,u=0,k=0,p=0,m=o.length-1,g=o[0],h=o[m],_=i.length-1,w=i[0],L=i[_],S,T;for(;d<=m&&u<=_;)if(g==null)g=o[++d];else if(h==null)h=o[--m];else if(w==null)w=i[++u];else if(L==null)L=i[--_];else if(ys(g,w,c))_l(g,w,c),g=o[++d],w=i[++u];else if(ys(h,L,c))_l(h,L,c),h=o[--m],L=i[--_];else if(ys(g,L,c))(g.$tag$==="slot"||L.$tag$==="slot")&&Zi(g.$elm$.parentNode,!1),_l(g,L,c),Fr(e,g.$elm$,h.$elm$.nextSibling),g=o[++d],L=i[--_];else if(ys(h,w,c))(g.$tag$==="slot"||L.$tag$==="slot")&&Zi(h.$elm$.parentNode,!1),_l(h,w,c),Fr(e,h.$elm$,g.$elm$),h=o[--m],w=i[++u];else{for(k=-1,p=d;p<=m;++p)if(o[p]&&o[p].$key$!==null&&o[p].$key$===w.$key$){k=p;break}k>=0?(T=o[k],T.$tag$!==w.$tag$?S=qs(o&&o[u],a,k):(_l(T,w,c),o[k]=void 0,S=T.$elm$),w=i[++u]):(S=qs(o&&o[u],a,u),w=i[++u]),S&&Fr(Pi(g.$elm$).parentNode,S,Pi(g.$elm$))}d>m?$y(e,i[_+1]==null?null:i[_+1].$elm$,a,i,u,_):u>_&&By(o,d,m)},ys=(e,o,a=!1)=>e.$tag$===o.$tag$?e.$tag$==="slot"?e.$name$===o.$name$:a?(a&&!e.$key$&&o.$key$&&(e.$key$=o.$key$),!0):e.$key$===o.$key$:!1,Pi=e=>e&&e["s-ol"]||e,_l=(e,o,a=!1)=>{const i=o.$elm$=e.$elm$,c=e.$children$,d=o.$children$,u=o.$tag$,k=o.$text$;let p;k===null?(Bo=u==="svg"?!0:u==="foreignObject"?!1:Bo,Ob(e,o,Bo,a),c!==null&&d!==null?qj(i,c,o,d,a):d!==null?(e.$text$!==null&&(i.textContent=""),$y(i,null,o,d,0,d.length-1)):!a&&ya.updatable&&c!==null?By(c,0,c.length-1):a&&ya.updatable&&c!==null&&d===null&&(o.$children$=c),Bo&&u==="svg"&&(Bo=!1)):(p=i["s-cr"])?p.parentNode.textContent=k:e.$text$!==k&&(i.data=k)},rr=[],My=e=>{let o,a,i;const c=e.__childNodes||e.childNodes;for(const d of c){if(d["s-sr"]&&(o=d["s-cr"])&&o.parentNode){a=o.parentNode.__childNodes||o.parentNode.childNodes;const u=d["s-sn"];for(i=a.length-1;i>=0;i--)if(o=a[i],!o["s-cn"]&&!o["s-nr"]&&o["s-hn"]!==d["s-hn"])if(q_(o,u)){let k=rr.find(p=>p.$nodeToRelocate$===o);Vs=!0,o["s-sn"]=o["s-sn"]||u,k?(k.$nodeToRelocate$["s-sh"]=d["s-hn"],k.$slotRefNode$=d):(o["s-sh"]=d["s-hn"],rr.push({$slotRefNode$:d,$nodeToRelocate$:o})),o["s-sr"]&&rr.map(p=>{q_(p.$nodeToRelocate$,o["s-sn"])&&(k=rr.find(m=>m.$nodeToRelocate$===o),k&&!p.$slotRefNode$&&(p.$slotRefNode$=k.$slotRefNode$))})}else rr.some(k=>k.$nodeToRelocate$===o)||rr.push({$nodeToRelocate$:o})}d.nodeType===1&&My(d)}},Iy=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Iy)},Fr=(e,o,a)=>e?.insertBefore(o,a),Zj=(e,o,a=!1)=>{var i,c,d,u;const k=e.$hostElement$,p=e.$cmpMeta$,m=e.$vnode$||El(null,null),h=$j(o)?o:Oy(null,null,o);if(cd=k.tagName,p.$attrsToReflect$&&(h.$attrs$=h.$attrs$||{},p.$attrsToReflect$.forEach(([_,w])=>{h.$attrs$[w]=k[_]})),a&&h.$attrs$)for(const _ of Object.keys(h.$attrs$))k.hasAttribute(_)&&!["key","ref","style","class"].includes(_)&&(h.$attrs$[_]=k[_]);h.$tag$=null,h.$flags$|=4,e.$vnode$=h,h.$elm$=m.$elm$=k.shadowRoot||k,Db=!!(p.$flags$&1)&&!(p.$flags$&128),Rb=k["s-cr"],Vs=!1,_l(m,h,a);{if(kn.$flags$|=1,_k){My(h.$elm$);for(const _ of rr){const w=_.$nodeToRelocate$;if(!w["s-ol"]&&nn.document){const L=nn.document.createTextNode("");L["s-nr"]=w,Fr(w.parentNode,w["s-ol"]=L,w)}}for(const _ of rr){const w=_.$nodeToRelocate$,L=_.$slotRefNode$;if(L){const S=L.parentNode;let T=L.nextSibling;{let z=(i=w["s-ol"])==null?void 0:i.previousSibling;for(;z;){let R=(c=z["s-nr"])!=null?c:null;if(R&&R["s-sn"]===w["s-sn"]&&S===(R.__parentNode||R.parentNode)){for(R=R.nextSibling;R===w||R?.["s-sr"];)R=R?.nextSibling;if(!R||!R["s-nr"]){T=R;break}}z=z.previousSibling}}const C=w.__parentNode||w.parentNode,x=w.__nextSibling||w.nextSibling;(!T&&S!==C||x!==T)&&w!==T&&(!w["s-hn"]&&w["s-ol"]&&(w["s-hn"]=w["s-ol"].parentNode.nodeName),Fr(S,w,T),w.nodeType===1&&w.tagName!=="SLOT-FB"&&(w.hidden=(d=w["s-ih"])!=null?d:!1)),w&&typeof L["s-rf"]=="function"&&L["s-rf"](L)}else w.nodeType===1&&(a&&(w["s-ih"]=(u=w.hidden)!=null?u:!1),w.hidden=!0)}}Vs&&Ay(h.$elm$),kn.$flags$&=-2,rr.length=0}Rb=void 0},Uy=(e,o)=>{if(o&&!e.$onRenderResolve$&&o["s-p"]){const a=o["s-p"].push(new Promise(i=>e.$onRenderResolve$=()=>{o["s-p"].splice(a-1,1),i()}))}},xk=(e,o)=>{if(e.$flags$&4){e.$flags$|=512;return}Uy(e,e.$ancestorComponent$);const a=()=>Pj(e,o);if(o){queueMicrotask(()=>{a()});return}return a()},Pj=(e,o)=>{const a=e.$hostElement$,i=Rt("scheduleUpdate",e.$cmpMeta$.$tagName$),c=e.$lazyInstance$;if(!c)throw new Error(`Can't render component <${a.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 d;return o?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([u,k])=>lr(c,u,k,a)),e.$queuedListeners$=void 0),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(u=>u(a)),d=lr(c,"componentWillLoad",void 0,a)):d=lr(c,"componentWillUpdate",void 0,a),d=ex(d,()=>lr(c,"componentWillRender",void 0,a)),i(),ex(d,()=>Yj(e,c,o))},ex=(e,o)=>Gj(e)?e.then(o).catch(a=>{console.error(a),o()}):o(),Gj=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Yj=async(e,o,a)=>{var i;const c=e.$hostElement$,d=Rt("update",e.$cmpMeta$.$tagName$),u=c["s-rc"];a&&Nj(e);const k=Rt("render",e.$cmpMeta$.$tagName$);Jj(e,o,c,a),u&&(u.map(p=>p()),c["s-rc"]=void 0),k(),d();{const p=(i=c["s-p"])!=null?i:[],m=()=>Xj(e);p.length===0?m():(Promise.all(p).then(m),e.$flags$|=4,p.length=0)}},Jj=(e,o,a,i)=>{try{o=o.render&&o.render(),e.$flags$|=2,Zj(e,o,i)}catch(c){be(c,e.$hostElement$)}return null},Xj=e=>{const o=e.$cmpMeta$.$tagName$,a=e.$hostElement$,i=Rt("postUpdate",o),c=e.$lazyInstance$,d=e.$ancestorComponent$;lr(c,"componentDidRender",void 0,a),e.$flags$&64?(lr(c,"componentDidUpdate",void 0,a),i()):(e.$flags$|=64,Qj(a),lr(c,"componentDidLoad",void 0,a),i(),e.$onReadyResolve$(a),d||Fy()),e.$onInstanceResolve$(a),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&jy(()=>xk(e,!1)),e.$flags$&=-517},Fy=e=>{var o;jy(()=>Ry(nn,"appload",{detail:{namespace:rj}})),(o=kn.$orgLocNodes$)!=null&&o.size&&kn.$orgLocNodes$.clear()},lr=(e,o,a,i)=>{if(e&&e[o])try{return e[o](a)}catch(c){be(c,i)}},Qj=e=>{var o;return e.classList.add((o=ya.hydratedSelectorName)!=null?o:"hydrated")},Wj=(e,o)=>tt(e).$instanceValues$.get(o),eb=(e,o,a,i)=>{const c=tt(e);if(!c)return;if(!c)throw new Error(`Couldn't find host element for "${i.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const d=c.$hostElement$,u=c.$instanceValues$.get(o),k=c.$flags$,p=c.$lazyInstance$;a=Nb(a,i.$members$[o][0]);const m=Number.isNaN(u)&&Number.isNaN(a),g=a!==u&&!m;if((!(k&8)||u===void 0)&&g&&(c.$instanceValues$.set(o,a),p)){if(i.$watchers$&&k&128){const h=i.$watchers$[o];h&&h.map(_=>{try{p[_](a,u,o)}catch(w){be(w,d)}})}if((k&18)===2){if(p.componentShouldUpdate&&p.componentShouldUpdate(a,u,o)===!1)return;xk(c,!1)}}},Ky=(e,o,a)=>{var i,c;const d=e.prototype;if(o.$members$||ya.propChangeCallback){e.watchers&&!o.$watchers$&&(o.$watchers$=e.watchers),e.deserializers&&!o.$deserializers$&&(o.$deserializers$=e.deserializers),e.serializers&&!o.$serializers$&&(o.$serializers$=e.serializers);const u=Object.entries((i=o.$members$)!=null?i:{});if(u.map(([k,[p]])=>{if(p&31||a&2&&p&32){const{get:m,set:g}=Object.getOwnPropertyDescriptor(d,k)||{};m&&(o.$members$[k][0]|=2048),g&&(o.$members$[k][0]|=4096),(a&1||!m)&&Object.defineProperty(d,k,{get(){{if((o.$members$[k][0]&2048)===0)return Wj(this,k);const h=tt(this),_=h?h.$lazyInstance$:d;return _?_[k]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(d,k,{set(h){const _=tt(this);if(_){if(g){typeof(p&32?this[k]:_.$hostElement$[k])>"u"&&_.$instanceValues$.get(k)&&(h=_.$instanceValues$.get(k)),g.apply(this,[Nb(h,p)]),h=p&32?this[k]:_.$hostElement$[k],eb(this,k,h,o);return}{if((a&1)===0||(o.$members$[k][0]&4096)===0){eb(this,k,h,o),a&1&&!_.$lazyInstance$&&_.$fetchedCbList$.push(()=>{o.$members$[k][0]&4096&&_.$lazyInstance$[k]!==_.$instanceValues$.get(k)&&(_.$lazyInstance$[k]=h)});return}const w=()=>{const L=_.$lazyInstance$[k];!_.$instanceValues$.get(k)&&L&&_.$instanceValues$.set(k,L),_.$lazyInstance$[k]=Nb(h,p),eb(this,k,_.$lazyInstance$[k],o)};_.$lazyInstance$?w():_.$fetchedCbList$.push(()=>{w()})}}}})}else a&1&&p&64&&Object.defineProperty(d,k,{value(...m){var g;const h=tt(this);return(g=h?.$onInstancePromise$)==null?void 0:g.then(()=>{var _;return(_=h.$lazyInstance$)==null?void 0:_[k](...m)})}})}),a&1){const k=new Map;d.attributeChangedCallback=function(p,m,g){kn.jmp(()=>{var h;const _=k.get(p),w=tt(this);if(this.hasOwnProperty(_)&&ya.lazyLoad&&(g=this[_],delete this[_]),d.hasOwnProperty(_)&&typeof this[_]=="number"&&this[_]==g)return;if(_==null){const T=w?.$flags$;if(w&&T&&!(T&8)&&T&128&&g!==m){const C=w.$lazyInstance$,x=(h=o.$watchers$)==null?void 0:h[p];x?.forEach(z=>{C[z]!=null&&C[z].call(C,g,m,p)})}return}const L=u.find(([T])=>T===_);L&&L[1][0]&4&&(g=!(g===null||g==="false"));const S=Object.getOwnPropertyDescriptor(d,_);g!=this[_]&&(!S.get||S.set)&&(this[_]=g)})},e.observedAttributes=Array.from(new Set([...Object.keys((c=o.$watchers$)!=null?c:{}),...u.filter(([p,m])=>m[0]&31).map(([p,m])=>{var g;const h=m[1]||p;return k.set(h,p),m[0]&512&&((g=o.$attrsToReflect$)==null||g.push([p,h])),h})]))}}return e},e3=async(e,o,a,i)=>{let c;if((o.$flags$&32)===0){if(o.$flags$|=32,a.$lazyBundleId$){const p=fj(a,o);if(p&&"then"in p){const g=Lj();c=await p,g()}else c=p;if(!c)throw new Error(`Constructor for "${a.$tagName$}#${o.$modeName$}" was not found`);c.isProxied||(a.$watchers$=c.watchers,a.$serializers$=c.serializers,a.$deserializers$=c.deserializers,Ky(c,a,2),c.isProxied=!0);const m=Rt("createInstance",a.$tagName$);o.$flags$|=8;try{new c(o)}catch(g){be(g,e)}o.$flags$&=-9,o.$flags$|=128,m(),$b(o.$lazyInstance$,e)}else{c=e.constructor;const p=e.localName;customElements.whenDefined(p).then(()=>o.$flags$|=128)}if(c&&c.style){let p;typeof c.style=="string"?p=c.style:typeof c.style!="string"&&(o.$modeName$=Uj(e),o.$modeName$&&(p=c.style[o.$modeName$]));const m=hk(a,o.$modeName$);if(!Hs.has(m)){const g=Rt("registerStyles",a.$tagName$);Ly(m,p,!!(a.$flags$&1)),g()}}}const d=o.$ancestorComponent$,u=()=>xk(o,!0);d&&d["s-rc"]?d["s-rc"].push(u):u()},$b=(e,o)=>{lr(e,"connectedCallback",void 0,o)},n3=e=>{if((kn.$flags$&1)===0){const o=tt(e);if(!o)return;const a=o.$cmpMeta$,i=Rt("connectedCallback",a.$tagName$);if(o.$flags$&1)Hy(e,o,a.$listeners$),o?.$lazyInstance$?$b(o.$lazyInstance$,e):o?.$onReadyPromise$&&o.$onReadyPromise$.then(()=>$b(o.$lazyInstance$,e));else{o.$flags$|=1;let c;if(c=e.getAttribute(qi),c){if(a.$flags$&1){const d=Ny(e.shadowRoot,a,e.getAttribute("s-mode"));e.classList.remove(d+"-h",d+"-s")}Ij(e,a.$tagName$,c,o)}c||a.$flags$&12&&o3(e);{let d=e;for(;d=d.parentNode||d.host;)if(d.nodeType===1&&d.hasAttribute("s-id")&&d["s-p"]||d["s-p"]){Uy(o,o.$ancestorComponent$=d);break}}a.$members$&&Object.entries(a.$members$).map(([d,[u]])=>{if(u&31&&d in e&&e[d]!==Object.prototype[d]){const k=e[d];delete e[d],e[d]=k}}),e3(e,o,a)}i()}},o3=e=>{if(!nn.document)return;const o=e["s-cr"]=nn.document.createComment("");o["s-cn"]=!0,Fr(e,o,e.firstChild)},nx=(e,o)=>{lr(e,"disconnectedCallback",void 0,o||e)},t3=async e=>{if((kn.$flags$&1)===0){const o=tt(e);o?.$rmListeners$&&(o.$rmListeners$.map(a=>a()),o.$rmListeners$=void 0),o?.$lazyInstance$?nx(o.$lazyInstance$,e):o?.$onReadyPromise$&&o.$onReadyPromise$.then(()=>nx(o.$lazyInstance$,e))}wl.has(e)&&wl.delete(e),e.shadowRoot&&wl.has(e.shadowRoot)&&wl.delete(e.shadowRoot)},r3=(e,o={})=>{var a;if(!nn.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const i=Rt(),c=[],d=o.exclude||[],u=nn.customElements,k=nn.document.head,p=k.querySelector("meta[charset]"),m=nn.document.createElement("style"),g=[];let h,_=!0;Object.assign(kn,o),kn.$resourcesUrl$=new URL(o.resourcesUrl||"./",nn.document.baseURI).href,kn.$flags$|=2,Rj();let w=!1;if(e.map(L=>{L[1].map(S=>{var T,C,x;const z={$flags$:S[0],$tagName$:S[1],$members$:S[2],$listeners$:S[3]};z.$flags$&4&&(w=!0),z.$members$=S[2],z.$listeners$=S[3],z.$attrsToReflect$=[],z.$watchers$=(T=S[4])!=null?T:{},z.$serializers$=(C=S[5])!=null?C:{},z.$deserializers$=(x=S[6])!=null?x:{};const R=o.transformTagName?o.transformTagName(z.$tagName$):z.$tagName$,B=class extends HTMLElement{constructor(F){if(super(F),this.hasRegisteredEventListeners=!1,F=this,uj(F,z),z.$flags$&1){if(!F.shadowRoot)Tj.call(F,z);else if(F.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${z.$tagName$}! Mode is set to ${F.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const F=tt(this);F&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Hy(this,F,z.$listeners$)),h&&(clearTimeout(h),h=null),_?g.push(this):kn.jmp(()=>n3(this)))}disconnectedCallback(){kn.jmp(()=>t3(this)),kn.raf(()=>{var F;const Z=tt(this);if(!Z)return;const oe=g.findIndex(de=>de===this);oe>-1&&g.splice(oe,1),((F=Z?.$vnode$)==null?void 0:F.$elm$)instanceof Node&&!Z.$vnode$.$elm$.isConnected&&delete Z.$vnode$.$elm$})}componentOnReady(){var F;return(F=tt(this))==null?void 0:F.$onReadyPromise$}};z.$lazyBundleId$=L[0],!d.includes(R)&&!u.get(R)&&(c.push(R),u.define(R,Ky(B,z,1)))})}),c.length>0&&(w&&(m.textContent+=zy),m.textContent+=c.sort()+vj,m.innerHTML.length)){m.setAttribute("data-styles","");const L=(a=kn.$nonce$)!=null?a:Sy(nn.document);L!=null&&m.setAttribute("nonce",L),k.insertBefore(m,p?p.nextSibling:k.firstChild)}_=!1,g.length?g.map(L=>L.connectedCallback()):kn.jmp(()=>h=setTimeout(Fy,30)),i()},$M=(e,o)=>o,Hy=(e,o,a,i)=>{a&&nn.document&&a.map(([c,d,u])=>{const k=l3(nn.document,e,c),p=a3(o,u),m=i3(c);kn.ael(k,d,p,m),(o.$rmListeners$=o.$rmListeners$||[]).push(()=>kn.rel(k,d,p,m))})},a3=(e,o)=>a=>{var i;try{e.$flags$&256?(i=e.$lazyInstance$)==null||i[o](a):(e.$queuedListeners$=e.$queuedListeners$||[]).push([o,a])}catch(c){be(c,e.$hostElement$)}},l3=(e,o,a)=>a&8?nn:o,i3=e=>hj?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,c3=()=>{Fj(e=>{try{e.shadowRoot instanceof ShadowRoot&&a5(e,K4(e))}catch{}return"default"}),me(()=>import("./devtools-CeSDfGe0-CYBQI16L.js"),__vite__mapDeps([112,9])).then(e=>{typeof e=="object"&&e!==null&&typeof e.initialize=="function"&&e.initialize()}).catch(e=>{Rn.error(e)})};const s3=c3;const d3=async(e,o)=>{if(!(typeof window>"u"))return await s3(),r3(JSON.parse('[["kol-abbr",[[289,"kol-abbr",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-accordion",[[289,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-alert",[[289,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc",[[260,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]},null,{"_alert":["validateAlert"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_type":["validateType"],"_variant":["validateVariant"]}]]],["kol-avatar",[[289,"kol-avatar",{"_color":[1],"_label":[1],"_src":[1],"initials":[32]},null,{"_color":["watchColor"],"_label":["watchLabel"],"_src":["watchSrc"]}]]],["kol-badge",[[289,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32],"focus":[64]},null,{"_icons":["validateIcons"],"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-breadcrumb",[[289,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-button",[[289,"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],"getValue":[64],"focus":[64]}]]],["kol-button-link",[[289,"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],"getValue":[64],"focus":[64]}]]],["kol-button-wc",[[260,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaHasPopup":[1,"_aria-has-popup"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_inline":["validateInline"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-card",[[289,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2]}]]],["kol-card-wc",[[260,"kol-card-wc",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"state":[32]},null,{"_on":["validateOn"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"]}]]],["kol-click-button",[[257,"kol-click-button",{"_label":[1],"focus":[64]},null,{"_label":["watchLabel"]}]]],["kol-combobox",[[289,"kol-combobox",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_hasClearButton":[4,"_has-clear-button"],"_suggestions":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"blockSuggestionMouseOver":[32],"_isOpen":[32],"_filteredSuggestions":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"keydown","handleKeyDown"],[0,"click","handleWindowClick"],[1,"mousemove","handleMouseEvent"],[0,"focusout","handleFocusOut"],[0,"blur","handleWindowBlur"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_hasClearButton":["validateHasClearButton"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-details",[[289,"kol-details",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-dialog",[[289,"kol-dialog",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"closeModal":[64]}]]],["kol-dialog-wc",[[260,"kol-dialog-wc",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"state":[32],"openModal":[64],"closeModal":[64]},null,{"_label":["validateLabel"],"_on":["validateOn"],"_width":["validateWidth"],"_variant":["validateVariant"]}]]],["kol-drawer",[[289,"kol-drawer",{"_open":[4],"_align":[1],"_hasCloser":[4,"_has-closer"],"_label":[1],"_on":[16],"state":[32],"open":[64],"close":[64]},null,{"_label":["validateLabel"],"_align":["validateAlign"],"_hasCloser":["validateHasCloser"],"_open":["validateOpen"],"_on":["validateOn"]}]]],["kol-form",[[289,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32],"focusErrorList":[64]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-heading",[[289,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"]}]]],["kol-icon",[[289,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-image",[[289,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1]},null,{"_alt":["watchAlt"],"_loading":["watchLoading"],"_sizes":["watchSizes"],"_src":["watchSrc"],"_srcset":["watchSrcset"]}]]],["kol-input-checkbox",[[289,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_checked":[1540],"_hideMsg":[4,"_hide-msg"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_indeterminate":[1540],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_indeterminate":["validateIndeterminate"],"_label":["validateLabel"],"_labelAlign":["validateLabelAlign"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-color",[[289,"kol-input-color",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-date",[[289,"kol-input-date",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[8],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"_initialValueType":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"reset":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-input-email",[[289,"kol-input-email",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_maxLengthBehavior":["validateMaxLengthBehavior"]}]]],["kol-input-file",[[289,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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],"filename":[32],"hasFileSelected":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"reset":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"]}]]],["kol-input-number",[[289,"kol-input-number",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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"],"_suggestions":[1],"_step":[8],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-password",[[289,"kol-input-password",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_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":[1537],"_variant":[1],"state":[32],"_passwordVisible":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-radio",[[289,"kol-input-radio",{"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_tooltipAlign":["validateTooltipAlign"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_hideMsg":["validateHideMsg"],"_hint":["validateHint"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-range",[[289,"kol-input-range",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"focus":[64],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-text",[[289,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"selectionStart":[64],"selectioconEnd":[64],"setSelectionRange":[64],"setSelectionStart":[64],"setRangeText":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-kolibri",[[289,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link",[[289,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_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],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64]}]]],["kol-link-button",[[289,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64]}]]],["kol-link-wc",[[260,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaOwns":[1,"_aria-owns"],"_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"],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"state":[32],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaCurrentValue":["validateAriaCurrentValue"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaOwns":["validateAriaOwns"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_download":["validateDownload"],"_hideLabel":["validateHideLabel"],"_href":["validateHref"],"_icons":["validateIcons"],"_inline":["validateInline"],"_label":["validateLabel"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_tabIndex":["validateTabIndex"],"_target":["validateTarget"],"_tooltipAlign":["validateTooltipAlign"],"_variant":["validateVariantClassName"]}]]],["kol-modal",[[289,"kol-modal",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"closeModal":[64]}]]],["kol-nav",[[289,"kol-nav",{"_collapsible":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hasIconsWhenExpanded":[4,"_has-icons-when-expanded"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-pagination",[[289,"kol-pagination",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2]}]]],["kol-pagination-wc",[[256,"kol-pagination-wc",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2],"state":[32]},null,{"_boundaryCount":["validateBoundaryCount"],"_customClass":["validateCustomClass"],"_label":["validateLabel"],"_hasButtons":["validateHasButtons"],"_on":["validateOn"],"_page":["validatePage"],"_pageSize":["validatePageSize"],"_pageSizeOptions":["validatePageSizeOptions"],"_siblingCount":["validateSiblingCount"],"_max":["validateMax"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-popover-button",[[289,"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],"hidePopover":[64],"showPopover":[64],"focus":[64]}]]],["kol-popover-button-wc",[[260,"kol-popover-button-wc",{"_accessKey":[1,"_access-key"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[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],"state":[32],"justClosed":[32],"popoverOpen":[32],"hidePopover":[64],"showPopover":[64],"focus":[64]},null,{"_inline":["validateInline"],"_popoverAlign":["validatePopoverAlign"]}]]],["kol-popover-wc",[[260,"kol-popover-wc",{"_align":[1],"_on":[16],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_on":["validateOn"],"_show":["validateShow"]}]]],["kol-progress",[[289,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"unit":[32],"variant":[32],"liveValue":[32],"max":[32]},null,{"_label":["watchLabel"],"_max":["watchMax"],"_unit":["watchUnit"],"_value":["watchValue"],"_variant":["watchVariant"]}]]],["kol-quote",[[289,"kol-quote",{"_href":[1],"_label":[1],"_quote":[1],"_variant":[1]},null,{"_href":["watchHref"],"_label":["watchLabel"],"_quote":["watchQuote"],"_variant":["watchVariant"]}]]],["kol-select",[[289,"kol-select",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"getValue":[64],"focus":[64]}]]],["kol-select-wc",[[256,"kol-select-wc",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-single-select",[[289,"kol-single-select",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_hasClearButton":[4,"_has-clear-button"],"_rows":[2],"_isOpen":[32],"_filteredOptions":[32],"_inputValue":[32],"blockSuggestionMouseOver":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"focusout","handleFocusOut"],[0,"blur","handleWindowBlur"],[0,"keydown","handleKeyDown"],[1,"mousemove","handleMouseEvent"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_hasClearButton":["validateHasClearButton"],"_rows":["validateRows"]}]]],["kol-skeleton",[[257,"kol-skeleton",{"_count":[8],"_name":[1],"label":[32],"show":[32],"count":[32],"focus":[64],"toggle":[64]},[[0,"keydown","handleKeyDown"],[8,"keydown","onKeydown"]],{"_count":["watchCount"],"_name":["watchName"]}]]],["kol-skip-nav",[[289,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32],"focus":[64]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin",[[289,"kol-spin",{"_show":[1540],"_label":[1],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_label":["validateLabel"],"_variant":["validateVariant"]}]]],["kol-split-button",[[289,"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],"state":[32],"getValue":[64],"focus":[64],"closePopup":[64]}]]],["kol-table-settings-wc",[[256,"kol-table-settings-wc",{"_horizontalHeaderCells":[16],"headerCells":[32],"editingHeaderCells":[32],"errorMessage":[32]},null,{"_horizontalHeaderCells":["handleHeaderCellsChange"]}]]],["kol-table-stateful",[[289,"kol-table-stateful",{"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headers":[1],"_label":[1],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"_selection":[1],"_on":[16],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"getSelection":[64]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_paginationPosition":["validatePaginationPosition"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_selection":["validateSelection"],"_on":["validateOn"],"_pagination":["validatePagination"]}]]],["kol-table-stateless",[[289,"kol-table-stateless",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"]}]]],["kol-table-stateless-wc",[[256,"kol-table-stateless-wc",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"tableDivElementHasScrollbar":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"changeheadercells","handleSettingsChange"]],{"_hasSettingsMenu":["validateHasSettingsMenu"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_on":["validateOn"],"_selection":["validateSelection"]}]]],["kol-tabs",[[289,"kol-tabs",{"_align":[1],"_behavior":[1],"_hasCreateButton":[4,"_has-create-button"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32]},null,{"_align":["validateAlign"],"_behavior":["validateBehavior"],"_hasCreateButton":["validateHasCreateButton"],"_label":["validateLabel"],"_on":["validateOn"],"_selected":["validateSelected"],"_tabs":["validateTabs"]}]]],["kol-textarea",[[289,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_resize":["validateResize"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-toast-container",[[289,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-toolbar",[[289,"kol-toolbar",{"_label":[1],"_items":[16],"_orientation":[1],"state":[32],"currentIndex":[32]},[[0,"keydown","handleKeyDown"],[2,"blur","handleBlur"]],{"_label":["validateLabel"],"_items":["validateItems"],"_orientation":["validateOrientation"]}]]],["kol-tooltip-wc",[[256,"kol-tooltip-wc",{"_badgeText":[1,"_badge-text"],"_align":[1],"_id":[1],"_label":[1],"state":[32],"hideTooltip":[64]},null,{"_badgeText":["validateBadgeText"],"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}]]],["kol-tree",[[289,"kol-tree",{"_label":[1]}]]],["kol-tree-item",[[289,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focus":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-tree-item-wc",[[260,"kol-tree-item-wc",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"level":[32],"state":[32],"focus":[64],"expand":[64],"collapse":[64],"isOpen":[64]},null,{"_active":["validateActive"],"_label":["validateLabel"],"_open":["validateOpen"],"_href":["validateHref"]}]]],["kol-tree-wc",[[260,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version",[[289,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component",[[0,"test-component"]]]]'),o)};var Bb={};var $s={exports:{}},u3=$s.exports,ox;function f3(){return ox||(ox=1,(function(e){(function(o,a){e.exports?e.exports=a():o.log=a()})(u3,function(){var o=function(){},a="undefined",i=typeof window!==a&&typeof window.navigator!==a&&/Trident\/|MSIE /.test(window.navigator.userAgent),c=["trace","debug","info","warn","error"],d={},u=null;function k(S,T){var C=S[T];if(typeof C.bind=="function")return C.bind(S);try{return Function.prototype.bind.call(C,S)}catch{return function(){return Function.prototype.apply.apply(C,[S,arguments])}}}function p(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function m(S){return S==="debug"&&(S="log"),typeof console===a?!1:S==="trace"&&i?p:console[S]!==void 0?k(console,S):console.log!==void 0?k(console,"log"):o}function g(){for(var S=this.getLevel(),T=0;T<c.length;T++){var C=c[T];this[C]=T<S?o:this.methodFactory(C,S,this.name)}if(this.log=this.debug,typeof console===a&&S<this.levels.SILENT)return"No console available for logging"}function h(S){return function(){typeof console!==a&&(g.call(this),this[S].apply(this,arguments))}}function _(S,T,C){return m(S)||h.apply(this,arguments)}function w(S,T){var C=this,x,z,R,B="loglevel";typeof S=="string"?B+=":"+S:typeof S=="symbol"&&(B=void 0);function F(ie){var ee=(c[ie]||"silent").toUpperCase();if(!(typeof window===a||!B)){try{window.localStorage[B]=ee;return}catch{}try{window.document.cookie=encodeURIComponent(B)+"="+ee+";"}catch{}}}function Z(){var ie;if(!(typeof window===a||!B)){try{ie=window.localStorage[B]}catch{}if(typeof ie===a)try{var ee=window.document.cookie,ke=encodeURIComponent(B),Ce=ee.indexOf(ke+"=");Ce!==-1&&(ie=/^([^;]+)/.exec(ee.slice(Ce+ke.length+1))[1])}catch{}return C.levels[ie]===void 0&&(ie=void 0),ie}}function oe(){if(!(typeof window===a||!B)){try{window.localStorage.removeItem(B)}catch{}try{window.document.cookie=encodeURIComponent(B)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function de(ie){var ee=ie;if(typeof ee=="string"&&C.levels[ee.toUpperCase()]!==void 0&&(ee=C.levels[ee.toUpperCase()]),typeof ee=="number"&&ee>=0&&ee<=C.levels.SILENT)return ee;throw new TypeError("log.setLevel() called with invalid level: "+ie)}C.name=S,C.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},C.methodFactory=T||_,C.getLevel=function(){return R??z??x},C.setLevel=function(ie,ee){return R=de(ie),ee!==!1&&F(R),g.call(C)},C.setDefaultLevel=function(ie){z=de(ie),Z()||C.setLevel(ie,!1)},C.resetLevel=function(){R=null,oe(),g.call(C)},C.enableAll=function(ie){C.setLevel(C.levels.TRACE,ie)},C.disableAll=function(ie){C.setLevel(C.levels.SILENT,ie)},C.rebuild=function(){if(u!==C&&(x=de(u.getLevel())),g.call(C),u===C)for(var ie in d)d[ie].rebuild()},x=de(u?u.getLevel():"WARN");var Re=Z();Re!=null&&(R=de(Re)),g.call(C)}u=new w,u.getLogger=function(T){if(typeof T!="symbol"&&typeof T!="string"||T==="")throw new TypeError("You must supply a name when creating a logger.");var C=d[T];return C||(C=d[T]=new w(T,u.methodFactory)),C};var L=typeof window!==a?window.log:void 0;return u.noConflict=function(){return typeof window!==a&&window.log===u&&(window.log=L),u},u.getLoggers=function(){return d},u.default=u,u})})($s)),$s.exports}f3();const b3=(e,o)=>a=>a(e,o),k3=(e,o)=>a=>a(e,o,{append:!1}),p3=()=>{const e=typeof process<"u"&&Bb?Bb:{},o=e.NODE_ENV==="test",a="VITEST"in e,i="JEST_WORKER_ID"in e,c="PLAYWRIGHT_TEST_BASE_URL"in e,d=e.CI==="true",u=e.TEST==="true"||e.IS_TEST==="true",k=typeof navigator<"u"&&navigator.webdriver===!0,p=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return o||a||i||c||d||u||k||p},rt={A11yUi:{CSS_STYLE_CACHE:new Map,IS_TEST_ENVIRONMENT:p3(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,showAverageTimes:()=>{const e={};for(const[a,i]of rt.A11yUi.PERFORMANCE_MEASURES.entries())e[a]=[i.totalTime/i.count,i.count];const o=Object.entries(e).sort((a,i)=>i[1][0]-a[1][0]);return console.table(Object.fromEntries(o.map(([a,[i,c]])=>[a,{"avg (ms)":parseFloat(i.toFixed(2)),count:c}]))),e}}},Vy=new Set,tx=new Map,m3=/--[^;]+/g,v3=/:/,h3=typeof MutationObserver<"u";let qy=()=>{Math.min(25+Math.log2(rt.A11yUi.STYLING_TASK_QUEUE.size+1)*20,250)};const g3=(e,o)=>{let a=o.match(m3);if(Array.isArray(a)){a=a.filter(c=>v3.test(c));const i=document.createElement("style");i.innerHTML=`.${e} {${a.join(";")}}`,document.querySelector("head")?.appendChild(i)}Vy.add(e)},nb=(e,o)=>{const a=rt.A11yUi.THEMES.get(e);if(a instanceof Map){const i=a.get(o);if(i!==void 0)return i}return""},_3=e=>{const o=e.firstChild;if(!(!(o instanceof HTMLStyleElement)||o.dataset.themingFallback!==void 0))for(const a of Array.from(e.childNodes))if(a instanceof HTMLStyleElement&&a.tagName==="STYLE"&&a.dataset.themingFallback===void 0)e.removeChild(a);else break},x3=(e,o)=>{try{if(rt.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const a=o.filter(i=>typeof i=="string"&&i.length>0).map(i=>{let c=tx.get(i);return c||(c=new CSSStyleSheet,c.replaceSync(i),tx.set(i,c)),c});e.adoptedStyleSheets=a}catch{for(let a=o.length-1;a>=0;a--){const i=o[a];if(typeof i!="string"||i.length===0)continue;const c=o.length-1-a,d=document.createElement("style");switch(d.dataset.themingFallback="",c){case 4:d.dataset.themingBaseA11y="";break;case 3:d.dataset.themingBaseGlobal="";break;case 2:d.dataset.themingBaseComponent="";break;case 1:d.dataset.themingCustomGlobal="";break;case 0:d.dataset.themingCustomComponent="";break;default:d.dataset.themingUnknown="";break}d.innerHTML=i,e.insertBefore(d,e.firstChild)}}},y3=(e,o,a)=>{if(a===!1||a?.mode!=="before"&&a?.mode!=="after")return;const i=Array.from(e.childNodes).filter(d=>d instanceof HTMLStyleElement&&d.tagName==="STYLE");let c;try{c=Array.from(e.adoptedStyleSheets)}catch{c=[]}if(!(i.length===0&&c.length===0))if(a.mode==="before"){const d=[...c.map(u=>Array.from(u.cssRules).map(k=>k.cssText).join("")),...i.map(u=>u.innerHTML)];o.unshift(...d)}else i.forEach(d=>o.push(d.innerHTML)),c.forEach(d=>o.push(Array.from(d.cssRules).map(u=>u.cssText).join("")))},w3=(e,o,a)=>{const i=o.name||"default";let c;try{if(e.shadowRoot===null)throw new Error("ShadowRoot is null");c=e.shadowRoot}catch{c=e}const d=rt.A11yUi.CSS_STYLE_CACHE.get(i)?.get(e.tagName);if(d)rx(e,c,d,a);else{const u=nb(i,"PROPERTIES"),k=nb(i,"GLOBAL"),p=nb(i,e.tagName);Vy.has(i)===!1&&g3(i,k);const m=[u,k,p];if(y3(c,m,o.encroachCss),o.cache===!0){let g=rt.A11yUi.CSS_STYLE_CACHE.get(i);g||(g=new Map,rt.A11yUi.CSS_STYLE_CACHE.set(i,g)),g.set(e.tagName,m)}rx(e,c,m,a)}},rx=(e,o,a,i)=>{const c=rt.A11yUi.Theme?.loglevel==="debug",d=c?performance.now():0;if(_3(o),x3(o,a),T3(e),requestAnimationFrame(i),c){const u=performance.now()-d,k=rt.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);k?(k.count+=1,k.totalTime+=u):rt.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:u})}},z3=e=>{const o=rt.A11yUi.STYLING_TASK_QUEUE.get(e);if(o){const{resetCss:a,themeDetails:i}=o;w3(e,i,a)}},j3={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},S3=h3?new MutationObserver((e,o)=>{const a=[];for(const i of e){const c=i.target;c.classList.contains("hydrated")&&rt.A11yUi.STYLING_TASK_QUEUE.has(c)&&(z3(c),a.push(c))}for(const i of a)o.observe(i,j3)}):null;S3&&(qy=()=>{});const T3=e=>{rt.A11yUi.STYLING_TASK_QUEUE.delete(e),qy()};class A3{Prefix;Key;Tag;createTheme=(o,a)=>k3(o,a);createTranslation=(o,a)=>b3(o,a);constructor(o,a,i){this.Prefix=o,this.Key=Object.getOwnPropertyNames(a),this.Tag=Object.getOwnPropertyNames(i)}}var Mb;(function(e){e[e.error=0]="error",e[e.warning=1]="warning",e[e.info=2]="info",e[e.success=3]="success",e[e.message=4]="message",e[e.close=5]="close",e[e["form-description"]=6]="form-description",e[e.of=7]="of",e[e.characters=8]="characters",e[e.new=9]="new",e[e["no-entries"]=10]="no-entries",e[e["change-order"]=11]="change-order",e[e["action-running"]=12]="action-running",e[e["action-done"]=13]="action-done",e[e["page-first"]=14]="page-first",e[e["page-back"]=15]="page-back",e[e["page-next"]=16]="page-next",e[e["page-last"]=17]="page-last",e[e["entries-per-site"]=18]="entries-per-site",e[e["page-current"]=19]="page-current",e[e["page-selected"]=20]="page-selected",e[e["page-per-site"]=21]="page-per-site",e[e["logo-description"]=22]="logo-description",e[e["open-link-in-tab"]=23]="open-link-in-tab",e[e["kolibri-logo"]=24]="kolibri-logo"})(Mb||(Mb={}));var Ib;(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.modal=31]="modal",e[e.nav=32]="nav",e[e.pagination=33]="pagination",e[e["popover-button"]=34]="popover-button",e[e.progress=35]="progress",e[e.quote=36]="quote",e[e.select=37]="select",e[e["single-select"]=38]="single-select",e[e["skip-nav"]=39]="skip-nav",e[e.spin=40]="spin",e[e["split-button"]=41]="split-button",e[e.symbol=42]="symbol",e[e.table=43]="table",e[e["table-stateful"]=44]="table-stateful",e[e["table-stateless"]=45]="table-stateless",e[e.tabs=46]="tabs",e[e.textarea=47]="textarea",e[e["toast-container"]=48]="toast-container",e[e.toolbar=49]="toolbar",e[e.tooltip=50]="tooltip",e[e.tree=51]="tree",e[e["tree-item"]=52]="tree-item"})(Ib||(Ib={}));const Ub=["development","production","test"];let Fb="production";const E3=e=>{try{if(Ub.includes(e))Fb=e;else throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${Ub.join(", ")}.`)}catch{Fb="production"}},C3=()=>{try{const e=typeof process<"u"&&Bb?"production":void 0;if(e&&Ub.includes(e))return e}catch{}return"production"};E3(C3());const L3=()=>Fb==="development",N3="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000",ml=e=>Array.isArray(e)?e:[e],ax=e=>`%c${e}`,O3=(e,o)=>typeof o=="string"&&o.length>0?`${ax(e)} | ${o}`:ax(e),vl=(e,o)=>[O3(e,o?.classifier),`${N3};${o?.overwriteStyle||""}`],Ci=e=>L3()||e===!0;class R3{constructor(o){this.label=o}debug(o,a){Ci(a?.forceLog)&&console.debug(...vl(this.label,a),...ml(o))}info(o,a){Ci(a?.forceLog)&&console.info(...vl(this.label,a),...ml(o))}trace(o,a){Ci(a?.forceLog)&&console.trace(...vl(this.label,a),...ml(o))}warn(o,a){Ci(a?.forceLog)&&console.warn(...vl(this.label,a),...ml(o))}error(o,a){console.error(...vl(this.label,a),...ml(o))}throw(o,a){if(Ci(a?.forceLog))throw new Error(...vl(this.label,a),...ml(o))}}const D3=new R3("KoliBri"),lx=new Set,$3=(e,o)=>{lx.has(e)===!1&&(lx.add(e),D3.debug([e].concat([]),{classifier:"💻 dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))};$3("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");var Mr={exports:{}},ix;function B3(){if(ix)return Mr.exports;ix=1,Mr.exports=e,Mr.exports.arr=e,Mr.exports.obj=o,Mr.exports.css=a,Mr.exports.hex=i,Mr.exports.num=c;function e(x){var z=d(x);return z.length==3?z.concat(255):(z[3]=Math.round(z[3]),z)}function o(x){var z=d(x);return{r:z[0],g:z[1],b:z[2],a:z.length==3?255:Math.round(z[3])}}function a(x){var z=d(x);return z.length==3&&z.push(255),z[3]==255?"rgb("+z[0]+", "+z[1]+", "+z[2]+")":z[3]==0?"rgba("+z[0]+", "+z[1]+", "+z[2]+", 0)":"rgba("+z[0]+", "+z[1]+", "+z[2]+", "+String(z[3]/255).substr(1)+")"}function i(x){var Z=d(x);Z.length==3&&Z.push(255);var z=Z[3]==255,R=u(Z[0]),B=u(Z[1]),F=u(Z[2]),Z=u(Math.round(Z[3])),oe=k(R,B,F,Z);return z?oe?"#"+R.charAt(0)+B.charAt(0)+F.charAt(0):"#"+R+B+F:oe?"#"+R.charAt(0)+B.charAt(0)+F.charAt(0)+Z.charAt(0):"#"+R+B+F+Z}function c(x){var z=d(x);return z.length==3?z.push(255):z[3]=Math.round(z[3]),(z[3]<<24>>>0|z[0]<<16|z[1]<<8|z[2])>>>0}function d(x){return typeof x=="string"?(x=x.toLowerCase(),p(x)||g(x)||h(x)||T(x)||C(x)||[0,0,0,255]):w(x)||L(x)||S(x)||[0,0,0,255]}function u(x){var z=x.toString(16);return z.length==1?"0"+z:z}function k(x,z,R,B){var F=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return F.indexOf(x)!=-1&&F.indexOf(z)!=-1&&F.indexOf(R)!=-1&&F.indexOf(B)!=-1}function p(x){if(x=="red")return[255,0,0];if(x=="green")return[0,255,0];if(x=="blue")return[0,0,255];if(x=="black")return[0,0,0];if(x=="white")return[255,255,255];if(x=="cyan")return[0,255,255];if(x=="gray")return[128,128,128];if(x=="grey")return[128,128,128];if(x=="magenta")return[255,0,255];if(x=="pink")return[255,0,255];if(x=="yellow")return[255,255,0]}function m(x){return x.length==1?parseInt(x+x,16):parseInt(x,16)}function g(x){var z=x.replace(/^#/,""),R=z.length;if(R==3||R==4){var B=m(z[0]),F=m(z[1]),Z=m(z[2]),oe=R==3?255:m(z[3]);return isNaN(B)||isNaN(F)||isNaN(Z)||isNaN(oe)?void 0:[B,F,Z,oe]}}function h(x){var z=x.replace(/^#/,""),R=z.length;if(R==6||R==8){var B=m(z.slice(0,2)),F=m(z.slice(2,4)),Z=m(z.slice(4,6)),oe=R==6?255:m(z.slice(6,8));return isNaN(B)||isNaN(F)||isNaN(Z)||isNaN(oe)?void 0:[B,F,Z,oe]}}function _(x,z){return typeof x!="number"||z===!0&&Math.floor(x)!==x?-1:x>=0&&x<=255?x:-1}function w(x){if(Object.prototype.toString.call(x)==="[object Object]"&&Object.getPrototypeOf(x)===Object.getPrototypeOf({})){var z=_(x.r!=null?x.r:x.red!=null?x.red:0,!0),R=_(x.g!=null?x.g:x.green!=null?x.green:0,!0),B=_(x.b!=null?x.b:x.blue!=null?x.blue:0,!0),F=_(x.a!=null?x.a:x.alpha!=null?x.alpha:255,!0);if(z!=-1&&R!=-1&&B!=-1&&F!=-1)return[z,R,B,F]}}function L(x){if(Array.isArray(x)&&(x.length==3||x.length==4)){var z=_(x[0],!0),R=_(x[1],!0),B=_(x[2],!0),F=_(x[3]!=null?x[3]:255,!0);if(z!=-1&&R!=-1&&B!=-1&&F!=-1)return[z,R,B,F]}}function S(x){if(typeof x=="number"&&Math.floor(x)==x&&x<=4294967295&&x>=0){var z=x>>24&255,R=x>>16&255,B=x>>8&255,F=x&255;return[R,B,F,z]}}function T(x){if(x.substr(0,4)=="rgb("){x=x.match(/^rgb\(([^)]+)\)/)[1];var z=x.split(/ *, */).map(Number),R=_(z[0],!0),B=_(z[1],!0),F=_(z[2],!0);if(R!=-1&&B!=-1&&F!=-1)return[R,B,F,255]}}function C(x){if(x.substr(0,5)=="rgba("){x=x.match(/^rgba\(([^)]+)\)/)[1];var z=x.split(/ *, */).map(Number),R=_(z[0],!0),B=_(z[1],!0),F=_(z[2],!0),Z=_(z[3]*255);if(R!=-1&&B!=-1&&F!=-1&&Z!=-1)return[R,B,F,Z]}}return Mr.exports}B3();new Event("StateChange");var cx;(function(e){e.blur="blur",e.change="change",e.changeHeaderCells="changeheadercells",e.changePage="changepage",e.changePageSize="changepagesize",e.click="click",e.close="close",e.create="create",e.focus="focus",e.input="input",e.keydown="keydown",e.mousedown="mousedown",e.reset="reset",e.select="select",e.selectionChange="selectionchange",e.sort="sort",e.submit="submit",e.toggle="toggle"})(cx||(cx={}));const sd=new A3("kol",Mb,Ib);var ho;(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"})(ho||(ho={}));var qe;(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"})(qe||(qe={}));var dr;(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"})(dr||(dr={}));const ze=new Map;ze.set(ho["Die Bundesregierung"],["Die","Bundesregierung"]);ze.set(ho["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);ze.set(ho["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);ze.set(ho["Auswärtiges Amt"],["Auswärtiges Amt"]);ze.set(ho["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);ze.set(ho["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);ze.set(ho["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);ze.set(ho["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);ze.set(ho["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);ze.set(ho["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);ze.set(ho["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);ze.set(ho["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);ze.set(ho["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);ze.set(ho["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);ze.set(ho["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);ze.set(qe["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);ze.set(qe["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);ze.set(qe["Bundesamt für äußere Restitutionen"],[]);ze.set(qe["Bundesamt für Bauwesen und Raumordnung"],[]);ze.set(qe["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);ze.set(qe["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);ze.set(qe["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);ze.set(qe["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);ze.set(qe["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);ze.set(qe["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);ze.set(qe["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);ze.set(qe["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);ze.set(qe["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);ze.set(qe["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);ze.set(qe["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);ze.set(qe["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);ze.set(qe["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);ze.set(qe.Bundesarchiv,["Das","Bundesarchiv"]);ze.set(qe["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);ze.set(qe.Bundesausgleichsamt,["Bundesausgleichsamt"]);ze.set(qe.Bundeskartellamt,["Bundeskartellamt"]);ze.set(qe.Bundeskriminalamt,["Bundeskriminalamt"]);ze.set(qe.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);ze.set(qe["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);ze.set(qe.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);ze.set(qe["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);ze.set(qe.Bundessortenamt,["Bundessortenamt"]);ze.set(qe.Bundessprachenamt,["Bundessprachenamt"]);ze.set(qe["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);ze.set(qe.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);ze.set(qe["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);ze.set(qe["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);ze.set(qe["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);ze.set(qe.Generalzolldirektion,["Generalzolldirektion"]);ze.set(qe["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);ze.set(qe["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);ze.set(dr["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);ze.set(dr["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);ze.set(dr["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);ze.set(dr["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);ze.set(dr["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);ze.set(dr["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);ze.set(dr["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);var M3=`/* forward the rem function */
|
|
31
|
+
`);const u=this["s-cr"].parentElement;return(u.__childNodes?u.childNodes:Aj(u.childNodes)).forEach(p=>{d===vk(p)&&c.push(p)}),a?c.filter(p=>p.nodeType===1):c}).bind(e);e.assignedElements=o(!0),e.assignedNodes=o(!1)}function Ur(e,o){if("__"+o in e){const a=e["__"+o];return typeof a!="function"?a:a.bind(e)}else return typeof e[o]!="function"?e[o]:e[o].bind(e)}var Rt=(e,o="")=>()=>{},Lj=(e,o)=>()=>{},wl=new WeakMap,Ly=(e,o,a)=>{let i=Hs.get(e);pk&&a?(i=i||new CSSStyleSheet,typeof i=="string"?i=o:i.replaceSync(o)):i=o,Hs.set(e,i)},Ny=(e,o,a)=>{var i;const c=hk(o,a),d=Hs.get(c);if(!nn.document)return c;if(e=e.nodeType===11?e:nn.document,d)if(typeof d=="string"){e=e.head||e;let u=wl.get(e),k;if(u||wl.set(e,u=new Set),!u.has(c)){if(e.host&&(k=e.querySelector(`[${Tb}="${c}"]`)))k.innerHTML=d;else{k=nn.document.createElement("style"),k.innerHTML=d;const p=(i=kn.$nonce$)!=null?i:Sy(nn.document);if(p!=null&&k.setAttribute("nonce",p),!(o.$flags$&1))if(e.nodeName==="HEAD"){const m=e.querySelectorAll("link[rel=preconnect]"),g=m.length>0?m[m.length-1].nextSibling:e.querySelector("style");e.insertBefore(k,g?.parentNode===e?g:null)}else if("host"in e)if(pk){const m=new CSSStyleSheet;m.replaceSync(d),Ab?e.adoptedStyleSheets.unshift(m):e.adoptedStyleSheets=[m,...e.adoptedStyleSheets]}else{const m=e.querySelector("style");m?m.innerHTML=d+m.innerHTML:e.prepend(k)}else e.append(k);o.$flags$&1&&e.insertBefore(k,null)}o.$flags$&4&&(k.innerHTML+=zy),u&&u.add(c)}}else e.adoptedStyleSheets.includes(d)||(Ab?e.adoptedStyleSheets.push(d):e.adoptedStyleSheets=[...e.adoptedStyleSheets,d]);return c},Nj=e=>{const o=e.$cmpMeta$,a=e.$hostElement$,i=o.$flags$,c=Rt("attachStyles",o.$tagName$),d=Ny(a.shadowRoot?a.shadowRoot:a.getRootNode(),o,e.$modeName$);i&10&&(a["s-sc"]=d,a.classList.add(d+"-h")),c()},hk=(e,o)=>"sc-"+(o&&e.$flags$&32?e.$tagName$+"-"+o:e.$tagName$),Oj=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Rj=()=>{if(!nn.document)return;const e=nn.document.querySelectorAll(`[${Tb}]`);let o=0;for(;o<e.length;o++)Ly(e[o].getAttribute(Tb),Oj(e[o].innerHTML),!0)},Oy=(e,o,...a)=>{let i=null,c=null,d=null,u=!1,k=!1;const p=[],m=h=>{for(let _=0;_<h.length;_++)i=h[_],Array.isArray(i)?m(i):i!=null&&typeof i!="boolean"&&((u=typeof e!="function"&&!mk(i))&&(i=String(i)),u&&k?p[p.length-1].$text$+=i:p.push(u?El(null,i):i),k=u)};if(m(a),o){o.key&&(c=o.key),o.name&&(d=o.name);{const h=o.className||o.class;h&&(o.class=typeof h!="object"?h:Object.keys(h).filter(_=>h[_]).join(" "))}}if(typeof e=="function")return e(o===null?{}:o,p,Bj);const g=El(e,null);return g.$attrs$=o,p.length>0&&(g.$children$=p),g.$key$=c,g.$name$=d,g},El=(e,o)=>{const a={$flags$:0,$tag$:e,$text$:o,$elm$:null,$children$:null};return a.$attrs$=null,a.$key$=null,a.$name$=null,a},Dj={},$j=e=>e&&e.$tag$===Dj,Bj={forEach:(e,o)=>e.map(Z_).forEach(o),map:(e,o)=>e.map(Z_).map(o).map(Mj)},Z_=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Mj=e=>{if(typeof e.vtag=="function"){const a={...e.vattrs};return e.vkey&&(a.key=e.vkey),e.vname&&(a.name=e.vname),Oy(e.vtag,a,...e.vchildren||[])}const o=El(e.vtag,e.vtext);return o.$attrs$=e.vattrs,o.$children$=e.vchildren,o.$key$=e.vkey,o.$name$=e.vname,o},Ij=(e,o,a,i)=>{var c,d;const u=Rt("hydrateClient",o),k=e.shadowRoot,p=[],m=[],g=[],h=k?[]:null,_=El(o,null);_.$elm$=e,nn.document&&(!kn.$orgLocNodes$||!kn.$orgLocNodes$.size)&&Lb(nn.document.body,kn.$orgLocNodes$=new Map),e[qi]=a,e.removeAttribute(qi),i.$vnode$=Cb(_,p,m,h,e,e,a,g);let w=0;const L=p.length;let S;for(w;w<L;w++){S=p[w];const Z=S.$hostId$+"."+S.$nodeId$,oe=kn.$orgLocNodes$.get(Z),de=S.$elm$;if(!k)de["s-hn"]=o.toUpperCase(),S.$tag$==="slot"&&(de["s-cr"]=e["s-cr"]);else if((c=S.$tag$)!=null&&c.toString().includes("-")&&S.$tag$!=="slot-fb"&&!S.$elm$.shadowRoot){const Re=tt(S.$elm$);if(Re){const ie=hk(Re.$cmpMeta$,S.$elm$.getAttribute("s-mode")),ee=nn.document.querySelector(`style[sty-id="${ie}"]`);ee&&e.shadowRoot.append(ee.cloneNode(!0))}}S.$tag$==="slot"&&(S.$name$=S.$elm$["s-sn"]||S.$elm$.name||null,S.$children$?(S.$flags$|=2,S.$elm$.childNodes.length||S.$children$.forEach(Re=>{S.$elm$.appendChild(Re.$elm$)})):S.$flags$|=1),oe&&oe.isConnected&&(oe.parentElement.shadowRoot&&oe["s-en"]===""&&oe.parentNode.insertBefore(de,oe.nextSibling),oe.parentNode.removeChild(oe),k||(de["s-oo"]=parseInt(S.$nodeId$))),oe&&!oe["s-id"]&&kn.$orgLocNodes$.delete(Z)}const T=[],C=g.length;let x=0,z,R,B,F;for(x;x<C;x++)if(z=g[x],!(!z||!z.length))for(B=z.length,R=0,R;R<B;R++){if(F=z[R],T[F.hostId]||(T[F.hostId]=kn.$orgLocNodes$.get(F.hostId)),!T[F.hostId])continue;const Z=T[F.hostId];Z.shadowRoot&&F.node.parentElement!==Z&&Z.appendChild(F.node),(!Z.shadowRoot||!k)&&(F.slot["s-cr"]||(F.slot["s-cr"]=Z["s-cr"],!F.slot["s-cr"]&&Z.shadowRoot?F.slot["s-cr"]=Z:F.slot["s-cr"]=(Z.__childNodes||Z.childNodes)[0]),Cj(F.node,F.slot,!1,F.node["s-oo"]),(d=F.node.parentElement)!=null&&d.shadowRoot&&F.node.getAttribute&&F.node.getAttribute("slot")&&F.node.removeAttribute("slot"))}if(k){let Z=0;const oe=h.length;if(oe){for(Z;Z<oe;Z++){const de=h[Z];de&&k.appendChild(de)}Array.from(e.childNodes).forEach(de=>{typeof de["s-en"]!="string"&&typeof de["s-sn"]!="string"&&(de.nodeType===1&&de.slot&&de.hidden?de.removeAttribute("hidden"):(de.nodeType===8&&!de.nodeValue||de.nodeType===3&&!de.wholeText.trim())&&de.parentNode.removeChild(de))})}}i.$hostElement$=e,u()},Cb=(e,o,a,i,c,d,u,k=[])=>{let p,m,g,h;if(d.nodeType===1){if(p=d.getAttribute(H_),p&&(m=p.split("."),m[0]===u||m[0]==="0")){g=P_({$flags$:0,$hostId$:m[0],$nodeId$:m[1],$depth$:m[2],$index$:m[3],$tag$:d.tagName.toLowerCase(),$elm$:d,$attrs$:{class:d.className||""}}),o.push(g),d.removeAttribute(H_),e.$children$||(e.$children$=[]);const w=g.$elm$.getAttribute("s-sn");typeof w=="string"&&(g.$tag$==="slot-fb"&&G_(w,m[2],g,d,e,o,a,i,k),g.$elm$["s-sn"]=w,g.$elm$.removeAttribute("s-sn")),g.$index$!==void 0&&(e.$children$[g.$index$]=g),e=g,i&&g.$depth$==="0"&&(i[g.$index$]=g.$elm$)}if(d.shadowRoot)for(h=d.shadowRoot.childNodes.length-1;h>=0;h--)Cb(e,o,a,i,c,d.shadowRoot.childNodes[h],u,k);const _=d.__childNodes||d.childNodes;for(h=_.length-1;h>=0;h--)Cb(e,o,a,i,c,_[h],u,k)}else if(d.nodeType===8){if(m=d.nodeValue.split("."),m[1]===u||m[1]==="0"){if(p=m[0],g=P_({$hostId$:m[1],$nodeId$:m[2],$depth$:m[3],$index$:m[4]||"0",$elm$:d,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),p===pj)g.$elm$=J_(d,3),g.$elm$&&g.$elm$.nodeType===3&&(g.$text$=g.$elm$.textContent,o.push(g),d.remove(),u===g.$hostId$&&(e.$children$||(e.$children$=[]),e.$children$[g.$index$]=g),i&&g.$depth$==="0"&&(i[g.$index$]=g.$elm$));else if(p===mj)g.$elm$=J_(d,8),g.$elm$&&g.$elm$.nodeType===8&&(o.push(g),d.remove());else if(g.$hostId$===u)if(p===Sb){const _=d["s-sn"]=m[5]||"";G_(_,m[2],g,d,e,o,a,i,k)}else p===bj&&(i?d.remove():(c["s-cr"]=d,d["s-cn"]=!0))}}else if(e&&e.$tag$==="style"){const _=El(null,d.textContent);_.$elm$=d,_.$index$="0",e.$children$=[_]}else d.nodeType===3&&!d.wholeText.trim()&&!d["s-nr"]&&d.remove();return e},Lb=(e,o)=>{if(e.nodeType===1){const a=e[qi]||e.getAttribute(qi);a&&o.set(a,e);let i=0;if(e.shadowRoot)for(;i<e.shadowRoot.childNodes.length;i++)Lb(e.shadowRoot.childNodes[i],o);const c=e.__childNodes||e.childNodes;for(i=0;i<c.length;i++)Lb(c[i],o)}else if(e.nodeType===8){const a=e.nodeValue.split(".");a[0]===kj&&(o.set(a[1]+"."+a[2],e),e.nodeValue="",e["s-en"]=a[3])}},P_=e=>({...{$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:"0",$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},...e});function G_(e,o,a,i,c,d,u,k,p){i["s-sr"]=!0,a.$name$=e||null,a.$tag$="slot";const m=c?.$elm$?c.$elm$["s-id"]||c.$elm$.getAttribute("s-id"):"";if(k&&nn.document){const g=a.$elm$=nn.document.createElement(a.$tag$);a.$name$&&a.$elm$.setAttribute("name",e),c.$elm$.shadowRoot&&m&&m!==a.$hostId$?Ur(c.$elm$,"insertBefore")(g,Ur(c.$elm$,"children")[0]):Ur(Ur(i,"parentNode"),"insertBefore")(g,i),Y_(p,o,e,i,a.$hostId$),i.remove(),a.$depth$==="0"&&(k[a.$index$]=a.$elm$)}else{const g=a.$elm$,h=m&&m!==a.$hostId$&&c.$elm$.shadowRoot;Y_(p,o,e,i,h?m:a.$hostId$),Cy(i),h&&c.$elm$.insertBefore(g,c.$elm$.children[0])}d.push(a),u.push(a),c.$children$||(c.$children$=[]),c.$children$[a.$index$]=a}var Y_=(e,o,a,i,c)=>{var d,u;let k=i.nextSibling;if(e[o]=e[o]||[],!(!k||(d=k.nodeValue)!=null&&d.startsWith(Sb+".")))do k&&((k.getAttribute&&k.getAttribute("slot")||k["s-sn"])===a||a===""&&!k["s-sn"]&&(!k.getAttribute||!k.getAttribute("slot"))&&(k.nodeType===8||k.nodeType===3))&&(k["s-sn"]=a,e[o].push({slot:i,node:k,hostId:c})),k=k?.nextSibling;while(k&&!((u=k.nodeValue)!=null&&u.startsWith(Sb+".")))},J_=(e,o)=>{let a=e;do a=a.nextSibling;while(a&&(a.nodeType!==o||!a.nodeValue));return a},gk=e=>{const o=_j(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${o}))(${o}\\b)`,"g")};gk("::slotted");gk(":host");gk(":host-context");var Uj=e=>wy.map(o=>o(e)).find(o=>!!o),Fj=e=>wy.push(e),Nb=(e,o,a)=>typeof e=="string"&&e.startsWith(jb)?(e=Sj(e),e):e!=null&&!mk(e)?o&4?e==="false"?!1:e===""||!!e:o&2?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:o&1?String(e):e:e,Kj=e=>{var o;return(o=tt(e))==null?void 0:o.$hostElement$},DM=(e,o,a)=>{const i=Kj(e);return{emit:c=>Ry(i,o,{bubbles:!0,composed:!0,cancelable:!0,detail:c})}},Ry=(e,o,a)=>{const i=kn.ce(o,a);return e.dispatchEvent(i),i},X_=(e,o,a,i,c,d,u)=>{if(a===i)return;let k=K_(e,o),p=o.toLowerCase();if(o==="class"){const m=e.classList,g=Q_(a);let h=Q_(i);if((e["s-si"]||e["s-sc"])&&u){const _=e["s-sc"]||e["s-si"];h.push(_),g.forEach(w=>{w.startsWith(_)&&h.push(w)}),h=[...new Set(h)].filter(w=>w),m.add(...h)}else m.remove(...g.filter(_=>_&&!h.includes(_))),m.add(...h.filter(_=>_&&!g.includes(_)))}else if(o==="style"){for(const m in a)(!i||i[m]==null)&&(m.includes("-")?e.style.removeProperty(m):e.style[m]="");for(const m in i)(!a||i[m]!==a[m])&&(m.includes("-")?e.style.setProperty(m,i[m]):e.style[m]=i[m])}else if(o!=="key")if(o==="ref")i&&i(e);else if(!k&&o[0]==="o"&&o[1]==="n"){if(o[2]==="-"?o=o.slice(3):K_(nn,p)?o=p.slice(2):o=p[2]+o.slice(3),a||i){const m=o.endsWith(Dy);o=o.replace(Vj,""),a&&kn.rel(e,o,a,m),i&&kn.ael(e,o,i,m)}}else{const m=mk(i);if((k||m&&i!==null)&&!c)try{if(e.tagName.includes("-"))e[o]!==i&&(e[o]=i);else{const h=i??"";o==="list"?k=!1:(a==null||e[o]!=h)&&(typeof e.__lookupSetter__(o)=="function"?e[o]=h:e.setAttribute(o,h))}}catch{}let g=!1;p!==(p=p.replace(/^xlink\:?/,""))&&(o=p,g=!0),i==null||i===!1?(i!==!1||e.getAttribute(o)==="")&&(g?e.removeAttributeNS(V_,o):e.removeAttribute(o)):(!k||d&4||c)&&!m&&e.nodeType===1&&(i=i===!0?"":i,g?e.setAttributeNS(V_,o,i):e.setAttribute(o,i))}},Hj=/\s/,Q_=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Hj)),Dy="Capture",Vj=new RegExp(Dy+"$"),Ob=(e,o,a,i)=>{const c=o.$elm$.nodeType===11&&o.$elm$.host?o.$elm$.host:o.$elm$,d=e&&e.$attrs$||{},u=o.$attrs$||{};for(const k of W_(Object.keys(d)))k in u||X_(c,k,d[k],void 0,a,o.$flags$,i);for(const k of W_(Object.keys(u)))X_(c,k,d[k],u[k],a,o.$flags$,i)};function W_(e){return e.includes("ref")?[...e.filter(o=>o!=="ref"),"ref"]:e}var Rb,cd,Db=!1,Vs=!1,_k=!1,Bo=!1,qs=(e,o,a)=>{var i;const c=o.$children$[a];let d=0,u,k,p;if(Db||(_k=!0,c.$tag$==="slot"&&(c.$flags$|=c.$children$?2:1)),c.$text$!==null)u=c.$elm$=nn.document.createTextNode(c.$text$);else if(c.$flags$&1)u=c.$elm$=nn.document.createTextNode(""),Ob(null,c,Bo);else{if(Bo||(Bo=c.$tag$==="svg"),!nn.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(u=c.$elm$=nn.document.createElementNS(Bo?ij:cj,!Db&&ya.slotRelocation&&c.$flags$&2?"slot-fb":c.$tag$),Bo&&c.$tag$==="foreignObject"&&(Bo=!1),Ob(null,c,Bo),c.$children$)for(d=0;d<c.$children$.length;++d)k=qs(e,c,d),k&&u.appendChild(k);c.$tag$==="svg"?Bo=!1:u.tagName==="foreignObject"&&(Bo=!0)}return u["s-hn"]=cd,c.$flags$&3&&(u["s-sr"]=!0,u["s-cr"]=Rb,u["s-sn"]=c.$name$||"",u["s-rf"]=(i=c.$attrs$)==null?void 0:i.ref,Cy(u),p=e&&e.$children$&&e.$children$[a],p&&p.$tag$===c.$tag$&&e.$elm$&&Zi(e.$elm$,!1)),u},Zi=(e,o)=>{kn.$flags$|=1;const a=Array.from(e.__childNodes||e.childNodes);for(let i=a.length-1;i>=0;i--){const c=a[i];c["s-hn"]!==cd&&c["s-ol"]&&(Fr(Pi(c).parentNode,c,Pi(c)),c["s-ol"].remove(),c["s-ol"]=void 0,c["s-sh"]=void 0,_k=!0),o&&Zi(c,o)}kn.$flags$&=-2},$y=(e,o,a,i,c,d)=>{let u=e["s-cr"]&&e["s-cr"].parentNode||e,k;for(u.shadowRoot&&u.tagName===cd&&(u=u.shadowRoot);c<=d;++c)i[c]&&(k=qs(null,a,c),k&&(i[c].$elm$=k,Fr(u,k,Pi(o))))},By=(e,o,a)=>{for(let i=o;i<=a;++i){const c=e[i];if(c){const d=c.$elm$;Iy(c),d&&(Vs=!0,d["s-ol"]?d["s-ol"].remove():Zi(d,!0),d.remove())}}},qj=(e,o,a,i,c=!1)=>{let d=0,u=0,k=0,p=0,m=o.length-1,g=o[0],h=o[m],_=i.length-1,w=i[0],L=i[_],S,T;for(;d<=m&&u<=_;)if(g==null)g=o[++d];else if(h==null)h=o[--m];else if(w==null)w=i[++u];else if(L==null)L=i[--_];else if(ys(g,w,c))_l(g,w,c),g=o[++d],w=i[++u];else if(ys(h,L,c))_l(h,L,c),h=o[--m],L=i[--_];else if(ys(g,L,c))(g.$tag$==="slot"||L.$tag$==="slot")&&Zi(g.$elm$.parentNode,!1),_l(g,L,c),Fr(e,g.$elm$,h.$elm$.nextSibling),g=o[++d],L=i[--_];else if(ys(h,w,c))(g.$tag$==="slot"||L.$tag$==="slot")&&Zi(h.$elm$.parentNode,!1),_l(h,w,c),Fr(e,h.$elm$,g.$elm$),h=o[--m],w=i[++u];else{for(k=-1,p=d;p<=m;++p)if(o[p]&&o[p].$key$!==null&&o[p].$key$===w.$key$){k=p;break}k>=0?(T=o[k],T.$tag$!==w.$tag$?S=qs(o&&o[u],a,k):(_l(T,w,c),o[k]=void 0,S=T.$elm$),w=i[++u]):(S=qs(o&&o[u],a,u),w=i[++u]),S&&Fr(Pi(g.$elm$).parentNode,S,Pi(g.$elm$))}d>m?$y(e,i[_+1]==null?null:i[_+1].$elm$,a,i,u,_):u>_&&By(o,d,m)},ys=(e,o,a=!1)=>e.$tag$===o.$tag$?e.$tag$==="slot"?e.$name$===o.$name$:a?(a&&!e.$key$&&o.$key$&&(e.$key$=o.$key$),!0):e.$key$===o.$key$:!1,Pi=e=>e&&e["s-ol"]||e,_l=(e,o,a=!1)=>{const i=o.$elm$=e.$elm$,c=e.$children$,d=o.$children$,u=o.$tag$,k=o.$text$;let p;k===null?(Bo=u==="svg"?!0:u==="foreignObject"?!1:Bo,Ob(e,o,Bo,a),c!==null&&d!==null?qj(i,c,o,d,a):d!==null?(e.$text$!==null&&(i.textContent=""),$y(i,null,o,d,0,d.length-1)):!a&&ya.updatable&&c!==null?By(c,0,c.length-1):a&&ya.updatable&&c!==null&&d===null&&(o.$children$=c),Bo&&u==="svg"&&(Bo=!1)):(p=i["s-cr"])?p.parentNode.textContent=k:e.$text$!==k&&(i.data=k)},rr=[],My=e=>{let o,a,i;const c=e.__childNodes||e.childNodes;for(const d of c){if(d["s-sr"]&&(o=d["s-cr"])&&o.parentNode){a=o.parentNode.__childNodes||o.parentNode.childNodes;const u=d["s-sn"];for(i=a.length-1;i>=0;i--)if(o=a[i],!o["s-cn"]&&!o["s-nr"]&&o["s-hn"]!==d["s-hn"])if(q_(o,u)){let k=rr.find(p=>p.$nodeToRelocate$===o);Vs=!0,o["s-sn"]=o["s-sn"]||u,k?(k.$nodeToRelocate$["s-sh"]=d["s-hn"],k.$slotRefNode$=d):(o["s-sh"]=d["s-hn"],rr.push({$slotRefNode$:d,$nodeToRelocate$:o})),o["s-sr"]&&rr.map(p=>{q_(p.$nodeToRelocate$,o["s-sn"])&&(k=rr.find(m=>m.$nodeToRelocate$===o),k&&!p.$slotRefNode$&&(p.$slotRefNode$=k.$slotRefNode$))})}else rr.some(k=>k.$nodeToRelocate$===o)||rr.push({$nodeToRelocate$:o})}d.nodeType===1&&My(d)}},Iy=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Iy)},Fr=(e,o,a)=>e?.insertBefore(o,a),Zj=(e,o,a=!1)=>{var i,c,d,u;const k=e.$hostElement$,p=e.$cmpMeta$,m=e.$vnode$||El(null,null),h=$j(o)?o:Oy(null,null,o);if(cd=k.tagName,p.$attrsToReflect$&&(h.$attrs$=h.$attrs$||{},p.$attrsToReflect$.forEach(([_,w])=>{h.$attrs$[w]=k[_]})),a&&h.$attrs$)for(const _ of Object.keys(h.$attrs$))k.hasAttribute(_)&&!["key","ref","style","class"].includes(_)&&(h.$attrs$[_]=k[_]);h.$tag$=null,h.$flags$|=4,e.$vnode$=h,h.$elm$=m.$elm$=k.shadowRoot||k,Db=!!(p.$flags$&1)&&!(p.$flags$&128),Rb=k["s-cr"],Vs=!1,_l(m,h,a);{if(kn.$flags$|=1,_k){My(h.$elm$);for(const _ of rr){const w=_.$nodeToRelocate$;if(!w["s-ol"]&&nn.document){const L=nn.document.createTextNode("");L["s-nr"]=w,Fr(w.parentNode,w["s-ol"]=L,w)}}for(const _ of rr){const w=_.$nodeToRelocate$,L=_.$slotRefNode$;if(L){const S=L.parentNode;let T=L.nextSibling;{let z=(i=w["s-ol"])==null?void 0:i.previousSibling;for(;z;){let R=(c=z["s-nr"])!=null?c:null;if(R&&R["s-sn"]===w["s-sn"]&&S===(R.__parentNode||R.parentNode)){for(R=R.nextSibling;R===w||R?.["s-sr"];)R=R?.nextSibling;if(!R||!R["s-nr"]){T=R;break}}z=z.previousSibling}}const C=w.__parentNode||w.parentNode,x=w.__nextSibling||w.nextSibling;(!T&&S!==C||x!==T)&&w!==T&&(!w["s-hn"]&&w["s-ol"]&&(w["s-hn"]=w["s-ol"].parentNode.nodeName),Fr(S,w,T),w.nodeType===1&&w.tagName!=="SLOT-FB"&&(w.hidden=(d=w["s-ih"])!=null?d:!1)),w&&typeof L["s-rf"]=="function"&&L["s-rf"](L)}else w.nodeType===1&&(a&&(w["s-ih"]=(u=w.hidden)!=null?u:!1),w.hidden=!0)}}Vs&&Ay(h.$elm$),kn.$flags$&=-2,rr.length=0}Rb=void 0},Uy=(e,o)=>{if(o&&!e.$onRenderResolve$&&o["s-p"]){const a=o["s-p"].push(new Promise(i=>e.$onRenderResolve$=()=>{o["s-p"].splice(a-1,1),i()}))}},xk=(e,o)=>{if(e.$flags$&4){e.$flags$|=512;return}Uy(e,e.$ancestorComponent$);const a=()=>Pj(e,o);if(o){queueMicrotask(()=>{a()});return}return a()},Pj=(e,o)=>{const a=e.$hostElement$,i=Rt("scheduleUpdate",e.$cmpMeta$.$tagName$),c=e.$lazyInstance$;if(!c)throw new Error(`Can't render component <${a.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 d;return o?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([u,k])=>lr(c,u,k,a)),e.$queuedListeners$=void 0),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(u=>u(a)),d=lr(c,"componentWillLoad",void 0,a)):d=lr(c,"componentWillUpdate",void 0,a),d=ex(d,()=>lr(c,"componentWillRender",void 0,a)),i(),ex(d,()=>Yj(e,c,o))},ex=(e,o)=>Gj(e)?e.then(o).catch(a=>{console.error(a),o()}):o(),Gj=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Yj=async(e,o,a)=>{var i;const c=e.$hostElement$,d=Rt("update",e.$cmpMeta$.$tagName$),u=c["s-rc"];a&&Nj(e);const k=Rt("render",e.$cmpMeta$.$tagName$);Jj(e,o,c,a),u&&(u.map(p=>p()),c["s-rc"]=void 0),k(),d();{const p=(i=c["s-p"])!=null?i:[],m=()=>Xj(e);p.length===0?m():(Promise.all(p).then(m),e.$flags$|=4,p.length=0)}},Jj=(e,o,a,i)=>{try{o=o.render&&o.render(),e.$flags$|=2,Zj(e,o,i)}catch(c){be(c,e.$hostElement$)}return null},Xj=e=>{const o=e.$cmpMeta$.$tagName$,a=e.$hostElement$,i=Rt("postUpdate",o),c=e.$lazyInstance$,d=e.$ancestorComponent$;lr(c,"componentDidRender",void 0,a),e.$flags$&64?(lr(c,"componentDidUpdate",void 0,a),i()):(e.$flags$|=64,Qj(a),lr(c,"componentDidLoad",void 0,a),i(),e.$onReadyResolve$(a),d||Fy()),e.$onInstanceResolve$(a),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&jy(()=>xk(e,!1)),e.$flags$&=-517},Fy=e=>{var o;jy(()=>Ry(nn,"appload",{detail:{namespace:rj}})),(o=kn.$orgLocNodes$)!=null&&o.size&&kn.$orgLocNodes$.clear()},lr=(e,o,a,i)=>{if(e&&e[o])try{return e[o](a)}catch(c){be(c,i)}},Qj=e=>{var o;return e.classList.add((o=ya.hydratedSelectorName)!=null?o:"hydrated")},Wj=(e,o)=>tt(e).$instanceValues$.get(o),eb=(e,o,a,i)=>{const c=tt(e);if(!c)return;if(!c)throw new Error(`Couldn't find host element for "${i.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const d=c.$hostElement$,u=c.$instanceValues$.get(o),k=c.$flags$,p=c.$lazyInstance$;a=Nb(a,i.$members$[o][0]);const m=Number.isNaN(u)&&Number.isNaN(a),g=a!==u&&!m;if((!(k&8)||u===void 0)&&g&&(c.$instanceValues$.set(o,a),p)){if(i.$watchers$&&k&128){const h=i.$watchers$[o];h&&h.map(_=>{try{p[_](a,u,o)}catch(w){be(w,d)}})}if((k&18)===2){if(p.componentShouldUpdate&&p.componentShouldUpdate(a,u,o)===!1)return;xk(c,!1)}}},Ky=(e,o,a)=>{var i,c;const d=e.prototype;if(o.$members$||ya.propChangeCallback){e.watchers&&!o.$watchers$&&(o.$watchers$=e.watchers),e.deserializers&&!o.$deserializers$&&(o.$deserializers$=e.deserializers),e.serializers&&!o.$serializers$&&(o.$serializers$=e.serializers);const u=Object.entries((i=o.$members$)!=null?i:{});if(u.map(([k,[p]])=>{if(p&31||a&2&&p&32){const{get:m,set:g}=Object.getOwnPropertyDescriptor(d,k)||{};m&&(o.$members$[k][0]|=2048),g&&(o.$members$[k][0]|=4096),(a&1||!m)&&Object.defineProperty(d,k,{get(){{if((o.$members$[k][0]&2048)===0)return Wj(this,k);const h=tt(this),_=h?h.$lazyInstance$:d;return _?_[k]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(d,k,{set(h){const _=tt(this);if(_){if(g){typeof(p&32?this[k]:_.$hostElement$[k])>"u"&&_.$instanceValues$.get(k)&&(h=_.$instanceValues$.get(k)),g.apply(this,[Nb(h,p)]),h=p&32?this[k]:_.$hostElement$[k],eb(this,k,h,o);return}{if((a&1)===0||(o.$members$[k][0]&4096)===0){eb(this,k,h,o),a&1&&!_.$lazyInstance$&&_.$fetchedCbList$.push(()=>{o.$members$[k][0]&4096&&_.$lazyInstance$[k]!==_.$instanceValues$.get(k)&&(_.$lazyInstance$[k]=h)});return}const w=()=>{const L=_.$lazyInstance$[k];!_.$instanceValues$.get(k)&&L&&_.$instanceValues$.set(k,L),_.$lazyInstance$[k]=Nb(h,p),eb(this,k,_.$lazyInstance$[k],o)};_.$lazyInstance$?w():_.$fetchedCbList$.push(()=>{w()})}}}})}else a&1&&p&64&&Object.defineProperty(d,k,{value(...m){var g;const h=tt(this);return(g=h?.$onInstancePromise$)==null?void 0:g.then(()=>{var _;return(_=h.$lazyInstance$)==null?void 0:_[k](...m)})}})}),a&1){const k=new Map;d.attributeChangedCallback=function(p,m,g){kn.jmp(()=>{var h;const _=k.get(p),w=tt(this);if(this.hasOwnProperty(_)&&ya.lazyLoad&&(g=this[_],delete this[_]),d.hasOwnProperty(_)&&typeof this[_]=="number"&&this[_]==g)return;if(_==null){const T=w?.$flags$;if(w&&T&&!(T&8)&&T&128&&g!==m){const C=w.$lazyInstance$,x=(h=o.$watchers$)==null?void 0:h[p];x?.forEach(z=>{C[z]!=null&&C[z].call(C,g,m,p)})}return}const L=u.find(([T])=>T===_);L&&L[1][0]&4&&(g=!(g===null||g==="false"));const S=Object.getOwnPropertyDescriptor(d,_);g!=this[_]&&(!S.get||S.set)&&(this[_]=g)})},e.observedAttributes=Array.from(new Set([...Object.keys((c=o.$watchers$)!=null?c:{}),...u.filter(([p,m])=>m[0]&31).map(([p,m])=>{var g;const h=m[1]||p;return k.set(h,p),m[0]&512&&((g=o.$attrsToReflect$)==null||g.push([p,h])),h})]))}}return e},e3=async(e,o,a,i)=>{let c;if((o.$flags$&32)===0){if(o.$flags$|=32,a.$lazyBundleId$){const p=fj(a,o);if(p&&"then"in p){const g=Lj();c=await p,g()}else c=p;if(!c)throw new Error(`Constructor for "${a.$tagName$}#${o.$modeName$}" was not found`);c.isProxied||(a.$watchers$=c.watchers,a.$serializers$=c.serializers,a.$deserializers$=c.deserializers,Ky(c,a,2),c.isProxied=!0);const m=Rt("createInstance",a.$tagName$);o.$flags$|=8;try{new c(o)}catch(g){be(g,e)}o.$flags$&=-9,o.$flags$|=128,m(),$b(o.$lazyInstance$,e)}else{c=e.constructor;const p=e.localName;customElements.whenDefined(p).then(()=>o.$flags$|=128)}if(c&&c.style){let p;typeof c.style=="string"?p=c.style:typeof c.style!="string"&&(o.$modeName$=Uj(e),o.$modeName$&&(p=c.style[o.$modeName$]));const m=hk(a,o.$modeName$);if(!Hs.has(m)){const g=Rt("registerStyles",a.$tagName$);Ly(m,p,!!(a.$flags$&1)),g()}}}const d=o.$ancestorComponent$,u=()=>xk(o,!0);d&&d["s-rc"]?d["s-rc"].push(u):u()},$b=(e,o)=>{lr(e,"connectedCallback",void 0,o)},n3=e=>{if((kn.$flags$&1)===0){const o=tt(e);if(!o)return;const a=o.$cmpMeta$,i=Rt("connectedCallback",a.$tagName$);if(o.$flags$&1)Hy(e,o,a.$listeners$),o?.$lazyInstance$?$b(o.$lazyInstance$,e):o?.$onReadyPromise$&&o.$onReadyPromise$.then(()=>$b(o.$lazyInstance$,e));else{o.$flags$|=1;let c;if(c=e.getAttribute(qi),c){if(a.$flags$&1){const d=Ny(e.shadowRoot,a,e.getAttribute("s-mode"));e.classList.remove(d+"-h",d+"-s")}Ij(e,a.$tagName$,c,o)}c||a.$flags$&12&&o3(e);{let d=e;for(;d=d.parentNode||d.host;)if(d.nodeType===1&&d.hasAttribute("s-id")&&d["s-p"]||d["s-p"]){Uy(o,o.$ancestorComponent$=d);break}}a.$members$&&Object.entries(a.$members$).map(([d,[u]])=>{if(u&31&&d in e&&e[d]!==Object.prototype[d]){const k=e[d];delete e[d],e[d]=k}}),e3(e,o,a)}i()}},o3=e=>{if(!nn.document)return;const o=e["s-cr"]=nn.document.createComment("");o["s-cn"]=!0,Fr(e,o,e.firstChild)},nx=(e,o)=>{lr(e,"disconnectedCallback",void 0,o||e)},t3=async e=>{if((kn.$flags$&1)===0){const o=tt(e);o?.$rmListeners$&&(o.$rmListeners$.map(a=>a()),o.$rmListeners$=void 0),o?.$lazyInstance$?nx(o.$lazyInstance$,e):o?.$onReadyPromise$&&o.$onReadyPromise$.then(()=>nx(o.$lazyInstance$,e))}wl.has(e)&&wl.delete(e),e.shadowRoot&&wl.has(e.shadowRoot)&&wl.delete(e.shadowRoot)},r3=(e,o={})=>{var a;if(!nn.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const i=Rt(),c=[],d=o.exclude||[],u=nn.customElements,k=nn.document.head,p=k.querySelector("meta[charset]"),m=nn.document.createElement("style"),g=[];let h,_=!0;Object.assign(kn,o),kn.$resourcesUrl$=new URL(o.resourcesUrl||"./",nn.document.baseURI).href,kn.$flags$|=2,Rj();let w=!1;if(e.map(L=>{L[1].map(S=>{var T,C,x;const z={$flags$:S[0],$tagName$:S[1],$members$:S[2],$listeners$:S[3]};z.$flags$&4&&(w=!0),z.$members$=S[2],z.$listeners$=S[3],z.$attrsToReflect$=[],z.$watchers$=(T=S[4])!=null?T:{},z.$serializers$=(C=S[5])!=null?C:{},z.$deserializers$=(x=S[6])!=null?x:{};const R=o.transformTagName?o.transformTagName(z.$tagName$):z.$tagName$,B=class extends HTMLElement{constructor(F){if(super(F),this.hasRegisteredEventListeners=!1,F=this,uj(F,z),z.$flags$&1){if(!F.shadowRoot)Tj.call(F,z);else if(F.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${z.$tagName$}! Mode is set to ${F.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const F=tt(this);F&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Hy(this,F,z.$listeners$)),h&&(clearTimeout(h),h=null),_?g.push(this):kn.jmp(()=>n3(this)))}disconnectedCallback(){kn.jmp(()=>t3(this)),kn.raf(()=>{var F;const Z=tt(this);if(!Z)return;const oe=g.findIndex(de=>de===this);oe>-1&&g.splice(oe,1),((F=Z?.$vnode$)==null?void 0:F.$elm$)instanceof Node&&!Z.$vnode$.$elm$.isConnected&&delete Z.$vnode$.$elm$})}componentOnReady(){var F;return(F=tt(this))==null?void 0:F.$onReadyPromise$}};z.$lazyBundleId$=L[0],!d.includes(R)&&!u.get(R)&&(c.push(R),u.define(R,Ky(B,z,1)))})}),c.length>0&&(w&&(m.textContent+=zy),m.textContent+=c.sort()+vj,m.innerHTML.length)){m.setAttribute("data-styles","");const L=(a=kn.$nonce$)!=null?a:Sy(nn.document);L!=null&&m.setAttribute("nonce",L),k.insertBefore(m,p?p.nextSibling:k.firstChild)}_=!1,g.length?g.map(L=>L.connectedCallback()):kn.jmp(()=>h=setTimeout(Fy,30)),i()},$M=(e,o)=>o,Hy=(e,o,a,i)=>{a&&nn.document&&a.map(([c,d,u])=>{const k=l3(nn.document,e,c),p=a3(o,u),m=i3(c);kn.ael(k,d,p,m),(o.$rmListeners$=o.$rmListeners$||[]).push(()=>kn.rel(k,d,p,m))})},a3=(e,o)=>a=>{var i;try{e.$flags$&256?(i=e.$lazyInstance$)==null||i[o](a):(e.$queuedListeners$=e.$queuedListeners$||[]).push([o,a])}catch(c){be(c,e.$hostElement$)}},l3=(e,o,a)=>a&8?nn:o,i3=e=>hj?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,c3=()=>{Fj(e=>{try{e.shadowRoot instanceof ShadowRoot&&a5(e,K4(e))}catch{}return"default"}),me(()=>import("./devtools-C0XNS3IL-D8vlYs7c.js"),__vite__mapDeps([112,9])).then(e=>{typeof e=="object"&&e!==null&&typeof e.initialize=="function"&&e.initialize()}).catch(e=>{Rn.error(e)})};const s3=c3;const d3=async(e,o)=>{if(!(typeof window>"u"))return await s3(),r3(JSON.parse('[["kol-abbr",[[289,"kol-abbr",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-accordion",[[289,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-alert",[[289,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc",[[260,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]},null,{"_alert":["validateAlert"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_type":["validateType"],"_variant":["validateVariant"]}]]],["kol-avatar",[[289,"kol-avatar",{"_color":[1],"_label":[1],"_src":[1],"initials":[32]},null,{"_color":["watchColor"],"_label":["watchLabel"],"_src":["watchSrc"]}]]],["kol-badge",[[289,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32],"focus":[64]},null,{"_icons":["validateIcons"],"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-breadcrumb",[[289,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-button",[[289,"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],"getValue":[64],"focus":[64]}]]],["kol-button-link",[[289,"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],"getValue":[64],"focus":[64]}]]],["kol-button-wc",[[260,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaHasPopup":[1,"_aria-has-popup"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_inline":["validateInline"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-card",[[289,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2]}]]],["kol-card-wc",[[260,"kol-card-wc",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"state":[32]},null,{"_on":["validateOn"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"]}]]],["kol-click-button",[[257,"kol-click-button",{"_label":[1],"focus":[64]},null,{"_label":["watchLabel"]}]]],["kol-combobox",[[289,"kol-combobox",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_hasClearButton":[4,"_has-clear-button"],"_suggestions":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"blockSuggestionMouseOver":[32],"_isOpen":[32],"_filteredSuggestions":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"keydown","handleKeyDown"],[0,"click","handleWindowClick"],[1,"mousemove","handleMouseEvent"],[0,"focusout","handleFocusOut"],[0,"blur","handleWindowBlur"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_hasClearButton":["validateHasClearButton"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-details",[[289,"kol-details",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-dialog",[[289,"kol-dialog",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"closeModal":[64]}]]],["kol-dialog-wc",[[260,"kol-dialog-wc",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"state":[32],"openModal":[64],"closeModal":[64]},null,{"_label":["validateLabel"],"_on":["validateOn"],"_width":["validateWidth"],"_variant":["validateVariant"]}]]],["kol-drawer",[[289,"kol-drawer",{"_open":[4],"_align":[1],"_hasCloser":[4,"_has-closer"],"_label":[1],"_on":[16],"state":[32],"open":[64],"close":[64]},null,{"_label":["validateLabel"],"_align":["validateAlign"],"_hasCloser":["validateHasCloser"],"_open":["validateOpen"],"_on":["validateOn"]}]]],["kol-form",[[289,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32],"focusErrorList":[64]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-heading",[[289,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"]}]]],["kol-icon",[[289,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-image",[[289,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1]},null,{"_alt":["watchAlt"],"_loading":["watchLoading"],"_sizes":["watchSizes"],"_src":["watchSrc"],"_srcset":["watchSrcset"]}]]],["kol-input-checkbox",[[289,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_checked":[1540],"_hideMsg":[4,"_hide-msg"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_indeterminate":[1540],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_indeterminate":["validateIndeterminate"],"_label":["validateLabel"],"_labelAlign":["validateLabelAlign"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-color",[[289,"kol-input-color",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-date",[[289,"kol-input-date",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[8],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"_initialValueType":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"reset":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-input-email",[[289,"kol-input-email",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_maxLengthBehavior":["validateMaxLengthBehavior"]}]]],["kol-input-file",[[289,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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],"filename":[32],"hasFileSelected":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"reset":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"]}]]],["kol-input-number",[[289,"kol-input-number",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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"],"_suggestions":[1],"_step":[8],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-password",[[289,"kol-input-password",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_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":[1537],"_variant":[1],"state":[32],"_passwordVisible":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-radio",[[289,"kol-input-radio",{"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_tooltipAlign":["validateTooltipAlign"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_hideMsg":["validateHideMsg"],"_hint":["validateHint"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-range",[[289,"kol-input-range",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"focus":[64],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-text",[[289,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"selectionStart":[64],"selectioconEnd":[64],"setSelectionRange":[64],"setSelectionStart":[64],"setRangeText":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-kolibri",[[289,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link",[[289,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_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],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64]}]]],["kol-link-button",[[289,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64]}]]],["kol-link-wc",[[260,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaOwns":[1,"_aria-owns"],"_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"],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"state":[32],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaCurrentValue":["validateAriaCurrentValue"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaOwns":["validateAriaOwns"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_download":["validateDownload"],"_hideLabel":["validateHideLabel"],"_href":["validateHref"],"_icons":["validateIcons"],"_inline":["validateInline"],"_label":["validateLabel"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_tabIndex":["validateTabIndex"],"_target":["validateTarget"],"_tooltipAlign":["validateTooltipAlign"],"_variant":["validateVariantClassName"]}]]],["kol-modal",[[289,"kol-modal",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"closeModal":[64]}]]],["kol-nav",[[289,"kol-nav",{"_collapsible":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hasIconsWhenExpanded":[4,"_has-icons-when-expanded"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-pagination",[[289,"kol-pagination",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2]}]]],["kol-pagination-wc",[[256,"kol-pagination-wc",{"_boundaryCount":[2,"_boundary-count"],"_customClass":[1,"_custom-class"],"_label":[1],"_hasButtons":[8,"_has-buttons"],"_page":[2],"_pageSize":[1026,"_page-size"],"_pageSizeOptions":[1,"_page-size-options"],"_on":[16],"_siblingCount":[2,"_sibling-count"],"_tooltipAlign":[1,"_tooltip-align"],"_max":[2],"state":[32]},null,{"_boundaryCount":["validateBoundaryCount"],"_customClass":["validateCustomClass"],"_label":["validateLabel"],"_hasButtons":["validateHasButtons"],"_on":["validateOn"],"_page":["validatePage"],"_pageSize":["validatePageSize"],"_pageSizeOptions":["validatePageSizeOptions"],"_siblingCount":["validateSiblingCount"],"_max":["validateMax"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-popover-button",[[289,"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],"hidePopover":[64],"showPopover":[64],"focus":[64]}]]],["kol-popover-button-wc",[[260,"kol-popover-button-wc",{"_accessKey":[1,"_access-key"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[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],"state":[32],"justClosed":[32],"popoverOpen":[32],"hidePopover":[64],"showPopover":[64],"focus":[64]},null,{"_inline":["validateInline"],"_popoverAlign":["validatePopoverAlign"]}]]],["kol-popover-wc",[[260,"kol-popover-wc",{"_align":[1],"_on":[16],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_on":["validateOn"],"_show":["validateShow"]}]]],["kol-progress",[[289,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"liveValue":[32]},null,{"_label":["watchLabel"],"_max":["watchMax"],"_unit":["watchUnit"],"_value":["watchValue"],"_variant":["watchVariant"]}]]],["kol-quote",[[289,"kol-quote",{"_href":[1],"_label":[1],"_quote":[1],"_variant":[1]},null,{"_href":["watchHref"],"_label":["watchLabel"],"_quote":["watchQuote"],"_variant":["watchVariant"]}]]],["kol-select",[[289,"kol-select",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"getValue":[64],"focus":[64]}]]],["kol-select-wc",[[256,"kol-select-wc",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-single-select",[[289,"kol-single-select",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_hasClearButton":[4,"_has-clear-button"],"_rows":[2],"_isOpen":[32],"_filteredOptions":[32],"_inputValue":[32],"blockSuggestionMouseOver":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"focusout","handleFocusOut"],[0,"blur","handleWindowBlur"],[0,"keydown","handleKeyDown"],[1,"mousemove","handleMouseEvent"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_hasClearButton":["validateHasClearButton"],"_rows":["validateRows"]}]]],["kol-skeleton",[[257,"kol-skeleton",{"_name":[1],"count":[32],"label":[32],"show":[32],"focus":[64],"toggle":[64]},[[0,"keydown","handleKeyDown"],[8,"keydown","onKeydown"]],{"_name":["watchName"]}]]],["kol-skip-nav",[[289,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32],"focus":[64]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin",[[289,"kol-spin",{"_show":[1540],"_label":[1],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_label":["validateLabel"],"_variant":["validateVariant"]}]]],["kol-split-button",[[289,"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],"state":[32],"getValue":[64],"focus":[64],"closePopup":[64]}]]],["kol-table-settings-wc",[[256,"kol-table-settings-wc",{"_horizontalHeaderCells":[16],"headerCells":[32],"editingHeaderCells":[32],"errorMessage":[32]},null,{"_horizontalHeaderCells":["handleHeaderCellsChange"]}]]],["kol-table-stateful",[[289,"kol-table-stateful",{"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headers":[1],"_label":[1],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"_selection":[1],"_on":[16],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"getSelection":[64]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_paginationPosition":["validatePaginationPosition"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_selection":["validateSelection"],"_on":["validateOn"],"_pagination":["validatePagination"]}]]],["kol-table-stateless",[[289,"kol-table-stateless",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"]}]]],["kol-table-stateless-wc",[[256,"kol-table-stateless-wc",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"tableDivElementHasScrollbar":[32],"stickyColsDisabled":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"changeheadercells","handleSettingsChange"]],{"_hasSettingsMenu":["validateHasSettingsMenu"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_on":["validateOn"],"_selection":["validateSelection"]}]]],["kol-tabs",[[289,"kol-tabs",{"_align":[1],"_behavior":[1],"_hasCreateButton":[4,"_has-create-button"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32]},null,{"_align":["validateAlign"],"_behavior":["validateBehavior"],"_hasCreateButton":["validateHasCreateButton"],"_label":["validateLabel"],"_on":["validateOn"],"_selected":["validateSelected"],"_tabs":["validateTabs"]}]]],["kol-textarea",[[289,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_resize":["validateResize"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-toast-container",[[289,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-toolbar",[[289,"kol-toolbar",{"_label":[1],"_items":[16],"_orientation":[1],"state":[32],"currentIndex":[32]},[[0,"keydown","handleKeyDown"],[2,"blur","handleBlur"]],{"_label":["validateLabel"],"_items":["validateItems"],"_orientation":["validateOrientation"]}]]],["kol-tooltip-wc",[[256,"kol-tooltip-wc",{"_badgeText":[1,"_badge-text"],"_align":[1],"_id":[1],"_label":[1],"state":[32],"hideTooltip":[64]},null,{"_badgeText":["validateBadgeText"],"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}]]],["kol-tree",[[289,"kol-tree",{"_label":[1]}]]],["kol-tree-item",[[289,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focus":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-tree-item-wc",[[260,"kol-tree-item-wc",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"level":[32],"state":[32],"focus":[64],"expand":[64],"collapse":[64],"isOpen":[64]},null,{"_active":["validateActive"],"_label":["validateLabel"],"_open":["validateOpen"],"_href":["validateHref"]}]]],["kol-tree-wc",[[260,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version",[[289,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component",[[0,"test-component"]]]]'),o)};var Bb={};var $s={exports:{}},u3=$s.exports,ox;function f3(){return ox||(ox=1,(function(e){(function(o,a){e.exports?e.exports=a():o.log=a()})(u3,function(){var o=function(){},a="undefined",i=typeof window!==a&&typeof window.navigator!==a&&/Trident\/|MSIE /.test(window.navigator.userAgent),c=["trace","debug","info","warn","error"],d={},u=null;function k(S,T){var C=S[T];if(typeof C.bind=="function")return C.bind(S);try{return Function.prototype.bind.call(C,S)}catch{return function(){return Function.prototype.apply.apply(C,[S,arguments])}}}function p(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function m(S){return S==="debug"&&(S="log"),typeof console===a?!1:S==="trace"&&i?p:console[S]!==void 0?k(console,S):console.log!==void 0?k(console,"log"):o}function g(){for(var S=this.getLevel(),T=0;T<c.length;T++){var C=c[T];this[C]=T<S?o:this.methodFactory(C,S,this.name)}if(this.log=this.debug,typeof console===a&&S<this.levels.SILENT)return"No console available for logging"}function h(S){return function(){typeof console!==a&&(g.call(this),this[S].apply(this,arguments))}}function _(S,T,C){return m(S)||h.apply(this,arguments)}function w(S,T){var C=this,x,z,R,B="loglevel";typeof S=="string"?B+=":"+S:typeof S=="symbol"&&(B=void 0);function F(ie){var ee=(c[ie]||"silent").toUpperCase();if(!(typeof window===a||!B)){try{window.localStorage[B]=ee;return}catch{}try{window.document.cookie=encodeURIComponent(B)+"="+ee+";"}catch{}}}function Z(){var ie;if(!(typeof window===a||!B)){try{ie=window.localStorage[B]}catch{}if(typeof ie===a)try{var ee=window.document.cookie,ke=encodeURIComponent(B),Ce=ee.indexOf(ke+"=");Ce!==-1&&(ie=/^([^;]+)/.exec(ee.slice(Ce+ke.length+1))[1])}catch{}return C.levels[ie]===void 0&&(ie=void 0),ie}}function oe(){if(!(typeof window===a||!B)){try{window.localStorage.removeItem(B)}catch{}try{window.document.cookie=encodeURIComponent(B)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function de(ie){var ee=ie;if(typeof ee=="string"&&C.levels[ee.toUpperCase()]!==void 0&&(ee=C.levels[ee.toUpperCase()]),typeof ee=="number"&&ee>=0&&ee<=C.levels.SILENT)return ee;throw new TypeError("log.setLevel() called with invalid level: "+ie)}C.name=S,C.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},C.methodFactory=T||_,C.getLevel=function(){return R??z??x},C.setLevel=function(ie,ee){return R=de(ie),ee!==!1&&F(R),g.call(C)},C.setDefaultLevel=function(ie){z=de(ie),Z()||C.setLevel(ie,!1)},C.resetLevel=function(){R=null,oe(),g.call(C)},C.enableAll=function(ie){C.setLevel(C.levels.TRACE,ie)},C.disableAll=function(ie){C.setLevel(C.levels.SILENT,ie)},C.rebuild=function(){if(u!==C&&(x=de(u.getLevel())),g.call(C),u===C)for(var ie in d)d[ie].rebuild()},x=de(u?u.getLevel():"WARN");var Re=Z();Re!=null&&(R=de(Re)),g.call(C)}u=new w,u.getLogger=function(T){if(typeof T!="symbol"&&typeof T!="string"||T==="")throw new TypeError("You must supply a name when creating a logger.");var C=d[T];return C||(C=d[T]=new w(T,u.methodFactory)),C};var L=typeof window!==a?window.log:void 0;return u.noConflict=function(){return typeof window!==a&&window.log===u&&(window.log=L),u},u.getLoggers=function(){return d},u.default=u,u})})($s)),$s.exports}f3();const b3=(e,o)=>a=>a(e,o),k3=(e,o)=>a=>a(e,o,{append:!1}),p3=()=>{const e=typeof process<"u"&&Bb?Bb:{},o=e.NODE_ENV==="test",a="VITEST"in e,i="JEST_WORKER_ID"in e,c="PLAYWRIGHT_TEST_BASE_URL"in e,d=e.CI==="true",u=e.TEST==="true"||e.IS_TEST==="true",k=typeof navigator<"u"&&navigator.webdriver===!0,p=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return o||a||i||c||d||u||k||p},rt={A11yUi:{CSS_STYLE_CACHE:new Map,IS_TEST_ENVIRONMENT:p3(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,showAverageTimes:()=>{const e={};for(const[a,i]of rt.A11yUi.PERFORMANCE_MEASURES.entries())e[a]=[i.totalTime/i.count,i.count];const o=Object.entries(e).sort((a,i)=>i[1][0]-a[1][0]);return console.table(Object.fromEntries(o.map(([a,[i,c]])=>[a,{"avg (ms)":parseFloat(i.toFixed(2)),count:c}]))),e}}},Vy=new Set,tx=new Map,m3=/--[^;]+/g,v3=/:/,h3=typeof MutationObserver<"u";let qy=()=>{Math.min(25+Math.log2(rt.A11yUi.STYLING_TASK_QUEUE.size+1)*20,250)};const g3=(e,o)=>{let a=o.match(m3);if(Array.isArray(a)){a=a.filter(c=>v3.test(c));const i=document.createElement("style");i.innerHTML=`.${e} {${a.join(";")}}`,document.querySelector("head")?.appendChild(i)}Vy.add(e)},nb=(e,o)=>{const a=rt.A11yUi.THEMES.get(e);if(a instanceof Map){const i=a.get(o);if(i!==void 0)return i}return""},_3=e=>{const o=e.firstChild;if(!(!(o instanceof HTMLStyleElement)||o.dataset.themingFallback!==void 0))for(const a of Array.from(e.childNodes))if(a instanceof HTMLStyleElement&&a.tagName==="STYLE"&&a.dataset.themingFallback===void 0)e.removeChild(a);else break},x3=(e,o)=>{try{if(rt.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const a=o.filter(i=>typeof i=="string"&&i.length>0).map(i=>{let c=tx.get(i);return c||(c=new CSSStyleSheet,c.replaceSync(i),tx.set(i,c)),c});e.adoptedStyleSheets=a}catch{for(let a=o.length-1;a>=0;a--){const i=o[a];if(typeof i!="string"||i.length===0)continue;const c=o.length-1-a,d=document.createElement("style");switch(d.dataset.themingFallback="",c){case 4:d.dataset.themingBaseA11y="";break;case 3:d.dataset.themingBaseGlobal="";break;case 2:d.dataset.themingBaseComponent="";break;case 1:d.dataset.themingCustomGlobal="";break;case 0:d.dataset.themingCustomComponent="";break;default:d.dataset.themingUnknown="";break}d.innerHTML=i,e.insertBefore(d,e.firstChild)}}},y3=(e,o,a)=>{if(a===!1||a?.mode!=="before"&&a?.mode!=="after")return;const i=Array.from(e.childNodes).filter(d=>d instanceof HTMLStyleElement&&d.tagName==="STYLE");let c;try{c=Array.from(e.adoptedStyleSheets)}catch{c=[]}if(!(i.length===0&&c.length===0))if(a.mode==="before"){const d=[...c.map(u=>Array.from(u.cssRules).map(k=>k.cssText).join("")),...i.map(u=>u.innerHTML)];o.unshift(...d)}else i.forEach(d=>o.push(d.innerHTML)),c.forEach(d=>o.push(Array.from(d.cssRules).map(u=>u.cssText).join("")))},w3=(e,o,a)=>{const i=o.name||"default";let c;try{if(e.shadowRoot===null)throw new Error("ShadowRoot is null");c=e.shadowRoot}catch{c=e}const d=rt.A11yUi.CSS_STYLE_CACHE.get(i)?.get(e.tagName);if(d)rx(e,c,d,a);else{const u=nb(i,"PROPERTIES"),k=nb(i,"GLOBAL"),p=nb(i,e.tagName);Vy.has(i)===!1&&g3(i,k);const m=[u,k,p];if(y3(c,m,o.encroachCss),o.cache===!0){let g=rt.A11yUi.CSS_STYLE_CACHE.get(i);g||(g=new Map,rt.A11yUi.CSS_STYLE_CACHE.set(i,g)),g.set(e.tagName,m)}rx(e,c,m,a)}},rx=(e,o,a,i)=>{const c=rt.A11yUi.Theme?.loglevel==="debug",d=c?performance.now():0;if(_3(o),x3(o,a),T3(e),requestAnimationFrame(i),c){const u=performance.now()-d,k=rt.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);k?(k.count+=1,k.totalTime+=u):rt.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:u})}},z3=e=>{const o=rt.A11yUi.STYLING_TASK_QUEUE.get(e);if(o){const{resetCss:a,themeDetails:i}=o;w3(e,i,a)}},j3={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},S3=h3?new MutationObserver((e,o)=>{const a=[];for(const i of e){const c=i.target;c.classList.contains("hydrated")&&rt.A11yUi.STYLING_TASK_QUEUE.has(c)&&(z3(c),a.push(c))}for(const i of a)o.observe(i,j3)}):null;S3&&(qy=()=>{});const T3=e=>{rt.A11yUi.STYLING_TASK_QUEUE.delete(e),qy()};class A3{Prefix;Key;Tag;createTheme=(o,a)=>k3(o,a);createTranslation=(o,a)=>b3(o,a);constructor(o,a,i){this.Prefix=o,this.Key=Object.getOwnPropertyNames(a),this.Tag=Object.getOwnPropertyNames(i)}}var Mb;(function(e){e[e.error=0]="error",e[e.warning=1]="warning",e[e.info=2]="info",e[e.success=3]="success",e[e.message=4]="message",e[e.close=5]="close",e[e["form-description"]=6]="form-description",e[e.of=7]="of",e[e.characters=8]="characters",e[e.new=9]="new",e[e["no-entries"]=10]="no-entries",e[e["change-order"]=11]="change-order",e[e["action-running"]=12]="action-running",e[e["action-done"]=13]="action-done",e[e["page-first"]=14]="page-first",e[e["page-back"]=15]="page-back",e[e["page-next"]=16]="page-next",e[e["page-last"]=17]="page-last",e[e["entries-per-site"]=18]="entries-per-site",e[e["page-current"]=19]="page-current",e[e["page-selected"]=20]="page-selected",e[e["page-per-site"]=21]="page-per-site",e[e["logo-description"]=22]="logo-description",e[e["open-link-in-tab"]=23]="open-link-in-tab",e[e["kolibri-logo"]=24]="kolibri-logo"})(Mb||(Mb={}));var Ib;(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.modal=31]="modal",e[e.nav=32]="nav",e[e.pagination=33]="pagination",e[e["popover-button"]=34]="popover-button",e[e.progress=35]="progress",e[e.quote=36]="quote",e[e.select=37]="select",e[e["single-select"]=38]="single-select",e[e["skip-nav"]=39]="skip-nav",e[e.spin=40]="spin",e[e["split-button"]=41]="split-button",e[e.symbol=42]="symbol",e[e.table=43]="table",e[e["table-stateful"]=44]="table-stateful",e[e["table-stateless"]=45]="table-stateless",e[e.tabs=46]="tabs",e[e.textarea=47]="textarea",e[e["toast-container"]=48]="toast-container",e[e.toolbar=49]="toolbar",e[e.tooltip=50]="tooltip",e[e.tree=51]="tree",e[e["tree-item"]=52]="tree-item"})(Ib||(Ib={}));const Ub=["development","production","test"];let Fb="production";const E3=e=>{try{if(Ub.includes(e))Fb=e;else throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${Ub.join(", ")}.`)}catch{Fb="production"}},C3=()=>{try{const e=typeof process<"u"&&Bb?"production":void 0;if(e&&Ub.includes(e))return e}catch{}return"production"};E3(C3());const L3=()=>Fb==="development",N3="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000",ml=e=>Array.isArray(e)?e:[e],ax=e=>`%c${e}`,O3=(e,o)=>typeof o=="string"&&o.length>0?`${ax(e)} | ${o}`:ax(e),vl=(e,o)=>[O3(e,o?.classifier),`${N3};${o?.overwriteStyle||""}`],Ci=e=>L3()||e===!0;class R3{constructor(o){this.label=o}debug(o,a){Ci(a?.forceLog)&&console.debug(...vl(this.label,a),...ml(o))}info(o,a){Ci(a?.forceLog)&&console.info(...vl(this.label,a),...ml(o))}trace(o,a){Ci(a?.forceLog)&&console.trace(...vl(this.label,a),...ml(o))}warn(o,a){Ci(a?.forceLog)&&console.warn(...vl(this.label,a),...ml(o))}error(o,a){console.error(...vl(this.label,a),...ml(o))}throw(o,a){if(Ci(a?.forceLog))throw new Error(...vl(this.label,a),...ml(o))}}const D3=new R3("KoliBri"),lx=new Set,$3=(e,o)=>{lx.has(e)===!1&&(lx.add(e),D3.debug([e].concat([]),{classifier:"💻 dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))};$3("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");var Mr={exports:{}},ix;function B3(){if(ix)return Mr.exports;ix=1,Mr.exports=e,Mr.exports.arr=e,Mr.exports.obj=o,Mr.exports.css=a,Mr.exports.hex=i,Mr.exports.num=c;function e(x){var z=d(x);return z.length==3?z.concat(255):(z[3]=Math.round(z[3]),z)}function o(x){var z=d(x);return{r:z[0],g:z[1],b:z[2],a:z.length==3?255:Math.round(z[3])}}function a(x){var z=d(x);return z.length==3&&z.push(255),z[3]==255?"rgb("+z[0]+", "+z[1]+", "+z[2]+")":z[3]==0?"rgba("+z[0]+", "+z[1]+", "+z[2]+", 0)":"rgba("+z[0]+", "+z[1]+", "+z[2]+", "+String(z[3]/255).substr(1)+")"}function i(x){var Z=d(x);Z.length==3&&Z.push(255);var z=Z[3]==255,R=u(Z[0]),B=u(Z[1]),F=u(Z[2]),Z=u(Math.round(Z[3])),oe=k(R,B,F,Z);return z?oe?"#"+R.charAt(0)+B.charAt(0)+F.charAt(0):"#"+R+B+F:oe?"#"+R.charAt(0)+B.charAt(0)+F.charAt(0)+Z.charAt(0):"#"+R+B+F+Z}function c(x){var z=d(x);return z.length==3?z.push(255):z[3]=Math.round(z[3]),(z[3]<<24>>>0|z[0]<<16|z[1]<<8|z[2])>>>0}function d(x){return typeof x=="string"?(x=x.toLowerCase(),p(x)||g(x)||h(x)||T(x)||C(x)||[0,0,0,255]):w(x)||L(x)||S(x)||[0,0,0,255]}function u(x){var z=x.toString(16);return z.length==1?"0"+z:z}function k(x,z,R,B){var F=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return F.indexOf(x)!=-1&&F.indexOf(z)!=-1&&F.indexOf(R)!=-1&&F.indexOf(B)!=-1}function p(x){if(x=="red")return[255,0,0];if(x=="green")return[0,255,0];if(x=="blue")return[0,0,255];if(x=="black")return[0,0,0];if(x=="white")return[255,255,255];if(x=="cyan")return[0,255,255];if(x=="gray")return[128,128,128];if(x=="grey")return[128,128,128];if(x=="magenta")return[255,0,255];if(x=="pink")return[255,0,255];if(x=="yellow")return[255,255,0]}function m(x){return x.length==1?parseInt(x+x,16):parseInt(x,16)}function g(x){var z=x.replace(/^#/,""),R=z.length;if(R==3||R==4){var B=m(z[0]),F=m(z[1]),Z=m(z[2]),oe=R==3?255:m(z[3]);return isNaN(B)||isNaN(F)||isNaN(Z)||isNaN(oe)?void 0:[B,F,Z,oe]}}function h(x){var z=x.replace(/^#/,""),R=z.length;if(R==6||R==8){var B=m(z.slice(0,2)),F=m(z.slice(2,4)),Z=m(z.slice(4,6)),oe=R==6?255:m(z.slice(6,8));return isNaN(B)||isNaN(F)||isNaN(Z)||isNaN(oe)?void 0:[B,F,Z,oe]}}function _(x,z){return typeof x!="number"||z===!0&&Math.floor(x)!==x?-1:x>=0&&x<=255?x:-1}function w(x){if(Object.prototype.toString.call(x)==="[object Object]"&&Object.getPrototypeOf(x)===Object.getPrototypeOf({})){var z=_(x.r!=null?x.r:x.red!=null?x.red:0,!0),R=_(x.g!=null?x.g:x.green!=null?x.green:0,!0),B=_(x.b!=null?x.b:x.blue!=null?x.blue:0,!0),F=_(x.a!=null?x.a:x.alpha!=null?x.alpha:255,!0);if(z!=-1&&R!=-1&&B!=-1&&F!=-1)return[z,R,B,F]}}function L(x){if(Array.isArray(x)&&(x.length==3||x.length==4)){var z=_(x[0],!0),R=_(x[1],!0),B=_(x[2],!0),F=_(x[3]!=null?x[3]:255,!0);if(z!=-1&&R!=-1&&B!=-1&&F!=-1)return[z,R,B,F]}}function S(x){if(typeof x=="number"&&Math.floor(x)==x&&x<=4294967295&&x>=0){var z=x>>24&255,R=x>>16&255,B=x>>8&255,F=x&255;return[R,B,F,z]}}function T(x){if(x.substr(0,4)=="rgb("){x=x.match(/^rgb\(([^)]+)\)/)[1];var z=x.split(/ *, */).map(Number),R=_(z[0],!0),B=_(z[1],!0),F=_(z[2],!0);if(R!=-1&&B!=-1&&F!=-1)return[R,B,F,255]}}function C(x){if(x.substr(0,5)=="rgba("){x=x.match(/^rgba\(([^)]+)\)/)[1];var z=x.split(/ *, */).map(Number),R=_(z[0],!0),B=_(z[1],!0),F=_(z[2],!0),Z=_(z[3]*255);if(R!=-1&&B!=-1&&F!=-1&&Z!=-1)return[R,B,F,Z]}}return Mr.exports}B3();new Event("StateChange");var cx;(function(e){e.blur="blur",e.change="change",e.changeHeaderCells="changeheadercells",e.changePage="changepage",e.changePageSize="changepagesize",e.click="click",e.close="close",e.create="create",e.focus="focus",e.input="input",e.keydown="keydown",e.mousedown="mousedown",e.reset="reset",e.select="select",e.selectionChange="selectionchange",e.sort="sort",e.submit="submit",e.toggle="toggle"})(cx||(cx={}));const sd=new A3("kol",Mb,Ib);var ho;(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"})(ho||(ho={}));var qe;(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"})(qe||(qe={}));var dr;(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"})(dr||(dr={}));const ze=new Map;ze.set(ho["Die Bundesregierung"],["Die","Bundesregierung"]);ze.set(ho["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);ze.set(ho["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);ze.set(ho["Auswärtiges Amt"],["Auswärtiges Amt"]);ze.set(ho["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);ze.set(ho["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);ze.set(ho["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);ze.set(ho["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);ze.set(ho["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);ze.set(ho["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);ze.set(ho["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);ze.set(ho["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);ze.set(ho["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);ze.set(ho["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);ze.set(ho["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);ze.set(qe["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);ze.set(qe["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);ze.set(qe["Bundesamt für äußere Restitutionen"],[]);ze.set(qe["Bundesamt für Bauwesen und Raumordnung"],[]);ze.set(qe["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);ze.set(qe["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);ze.set(qe["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);ze.set(qe["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);ze.set(qe["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);ze.set(qe["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);ze.set(qe["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);ze.set(qe["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);ze.set(qe["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);ze.set(qe["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);ze.set(qe["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);ze.set(qe["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);ze.set(qe["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);ze.set(qe.Bundesarchiv,["Das","Bundesarchiv"]);ze.set(qe["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);ze.set(qe.Bundesausgleichsamt,["Bundesausgleichsamt"]);ze.set(qe.Bundeskartellamt,["Bundeskartellamt"]);ze.set(qe.Bundeskriminalamt,["Bundeskriminalamt"]);ze.set(qe.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);ze.set(qe["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);ze.set(qe.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);ze.set(qe["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);ze.set(qe.Bundessortenamt,["Bundessortenamt"]);ze.set(qe.Bundessprachenamt,["Bundessprachenamt"]);ze.set(qe["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);ze.set(qe.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);ze.set(qe["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);ze.set(qe["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);ze.set(qe["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);ze.set(qe.Generalzolldirektion,["Generalzolldirektion"]);ze.set(qe["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);ze.set(qe["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);ze.set(dr["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);ze.set(dr["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);ze.set(dr["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);ze.set(dr["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);ze.set(dr["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);ze.set(dr["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);ze.set(dr["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);var M3=`/* forward the rem function */
|
|
32
32
|
@layer kol-theme-component {
|
|
33
33
|
abbr {
|
|
34
34
|
text-decoration: none;
|
|
@@ -39139,7 +39139,7 @@ Link:
|
|
|
39139
39139
|
blockquote {
|
|
39140
39140
|
margin: var(--kern-metric-space-small) var(--kern-metric-space-large);
|
|
39141
39141
|
}
|
|
39142
|
-
}`;const QT=sd.createTheme("kern-v2",{GLOBAL:XT,"KOL-ABBR":cT,"KOL-ACCORDION":sT,"KOL-ALERT":dT,"KOL-BADGE":uT,"KOL-BREADCRUMB":fT,"KOL-BUTTON":kT,"KOL-BUTTON-LINK":bT,"KOL-CARD":pT,"KOL-COMBOBOX":mT,"KOL-DETAILS":vT,"KOL-DIALOG":hT,"KOL-DRAWER":gT,"KOL-FORM":_T,"KOL-HEADING":xT,"KOL-INPUT-CHECKBOX":yT,"KOL-INPUT-COLOR":wT,"KOL-INPUT-DATE":zT,"KOL-INPUT-EMAIL":jT,"KOL-INPUT-FILE":ST,"KOL-INPUT-NUMBER":TT,"KOL-INPUT-PASSWORD":AT,"KOL-INPUT-RADIO":ET,"KOL-INPUT-RANGE":CT,"KOL-INPUT-TEXT":LT,"KOL-LINK":OT,"KOL-LINK-BUTTON":NT,"KOL-NAV":RT,"KOL-PAGINATION":DT,"KOL-POPOVER-BUTTON":$T,"KOL-PROGRESS":BT,"KOL-SELECT":MT,"KOL-SINGLE-SELECT":IT,"KOL-SKIP-NAV":UT,"KOL-SPIN":FT,"KOL-SPLIT-BUTTON":KT,"KOL-TABLE-STATEFUL":HT,"KOL-TABLE-STATELESS":VT,"KOL-TABS":qT,"KOL-TEXTAREA":ZT,"KOL-TOAST-CONTAINER":PT,"KOL-TOOLBAR":GT,"KOL-TREE":JT,"KOL-TREE-ITEM":YT}),WT="4.1.1-rc.2",Kb={version:WT},eA=()=>{const e={onClick:()=>history.back()};return r.jsxs(oo,{_label:"This is an example page",_level:0,_type:"info",children:[r.jsx("p",{children:"You followed an example link."}),history.length>1&&r.jsx($,{_label:"Go Back",_on:e})]})};function nA(){const e=matchMedia("(max-width: 1023px)"),[o,a]=j.useState(e.matches),i=()=>{a(e.matches)};return j.useEffect(()=>(i(),e.addEventListener("change",i),()=>{e.removeEventListener("change",i)}),[e]),o}function oA({children:e}){return nA()?r.jsx(qn,{_label:"All components",class:"mt",children:e}):r.jsx("div",{className:"mt scrollable-container",children:e})}function sx({label:e,to:o,children:a}){const i=Z1(o),c=Nl(o),d=D6({path:c.pathname,end:!0});return r.jsx(no,{_label:e,_href:i,_active:!!d,children:a})}function tA({routes:e}){const o=(i,c)=>Object.keys(c).map(d=>{const u=i==="tree"&&d==="basic/:subPage",k=u?"basic/home":d,p=u?"basic":d;return r.jsx(sx,{label:p,to:[i,k].join("/")},[i,d].join("/"))}),a=Object.entries(e).map(([i,c])=>r.jsx(sx,{label:i,to:i,children:o(i,c)},i));return r.jsx(oA,{children:r.jsx("nav",{children:r.jsx(D1,{_label:"Navigation",class:"block",children:a})})})}const rA=({buildDate:e,commitHash:o})=>!e&&!o?"":r.jsx("div",{className:"text-sm font-mono color-gray-5 m-t-2",children:e&&o?r.jsxs(r.Fragment,{children:["Build: ",o,r.jsx("br",{}),"at ",e]}):o?`Build: ${o}`:`Build date: ${e}`}),aA=({version:e,themes:o,theme:a,routes:i,routeList:c,sample:d,buildDate:u,commitHash:k,onThemeChange:p})=>{const m=()=>c.indexOf(d),g=()=>d.replace(/\//g," "),h=(S,T)=>{p(T)},_=()=>{const S=m(),T=S<=0?c.length-1:S-1;location.replace(`#${c[T]}`)},w=()=>{const S=m(),T=S===c.length-1?0:S+1;location.replace(`#${c[T]}`)},L=j.useMemo(()=>o.map(S=>({label:S.name,value:S.key})),[o]);return r.jsx("aside",{className:"app-sidebar p-4",children:r.jsxs("div",{className:"scrollable-container-wrapper",children:[r.jsxs("div",{className:"flex flex-justify-between flex-items-center",children:[r.jsx(ne,{_label:"KoliBri React"}),r.jsx(od,{_label:e})]}),r.jsx(rA,{buildDate:u,commitHash:k}),r.jsx(Qn,{_label:"Theme",_options:L,_on:{onChange:h},_value:a,class:"mt"}),r.jsx(ne,{_label:"Components",_level:2,className:"block mt"}),r.jsxs("div",{className:"flex flex-justify-between flex-items-center mt",children:[r.jsx($,{_icons:"kolicon-chevron-left",_hideLabel:!0,_label:"Previous component",_on:{onClick:_}}),r.jsxs("span",{className:"text-base text-center",children:[g()," (",m()+1,"/",c.length,")"]}),r.jsx($,{_icons:"kolicon-chevron-right",_hideLabel:!0,_label:"Next component",_on:{onClick:w}})]}),r.jsx(tA,{routes:i})]})})},lA=()=>{const e=Fo();N4("#"+e.pathname)},yk=j.createContext(null),iA="https://public-ui.github.io/docs/components",cA="https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components",Ke="I am an error message!",To="I am a hint.",U=e=>{const o=j.useContext(yk),a=Fo(),i=a.pathname.split("/").slice(1),c=j.useMemo(()=>i[0]==="scenarios"?null:`${iA}/${i[0]}`,[a.hash]),d=j.useMemo(()=>i[0]==="scenarios"?null:`${cA}/${i[0]}/${i[1]}.tsx`,[a.hash]);return r.jsxs(r.Fragment,{children:[r.jsx("h1",{className:"visually-hidden",children:a.pathname.replace(/\//g," ")}),o?null:r.jsxs("div",{className:"grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2",children:[r.jsx("div",{className:"indented-text",children:e.children}),r.jsxs("ul",{className:"flex flex-wrap gap-2 list-none m-0 p-0",children:[d&&r.jsx("li",{children:r.jsx(ge,{_href:d,_label:"Code",_target:"_blank"})}),c&&r.jsx("li",{children:r.jsx(ge,{_href:c,_label:"Documentation",_target:"_blank"})}),r.jsx("li",{children:r.jsx(ge,{_href:`#${a.pathname}?hideMenus`,_label:"Standalone example",_target:"_blank"})})]})]})]})},sA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolAbbr shows an abbreviation and uses kol-tooltip-wc to display the long form, if provided."})}),r.jsxs("p",{children:["I am ",r.jsx(Ui,{_label:"as an example",children:"e.g."})," an abbreviation."]}),r.jsxs("p",{children:["I am ",r.jsx(Ui,{children:"e.g."})," an abbreviation without label."]})]}),dA={abbr:{basic:sA}},uA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the ",r.jsx("code",{children:"_open"}),"-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion."]})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(qn,{_label:"Heading Accordion Tab 1 (open)",_open:!0,children:r.jsx(po,{_label:"Combobox in Accordion",_suggestions:"['Herr','Frau','Firma']"})}),r.jsx(qn,{_label:"Heading Accordion Tab 2",children:"Contents Accordion Tab 2"}),r.jsx(qn,{_label:"Heading Accordion Tab 3 (deactivated)",_disabled:!0,children:"Contents Accordion Tab 3"}),r.jsx(qn,{_label:"Heading Accordion Tab 4 (disabled and open)",_disabled:!0,_open:!0,children:"Contents Accordion Tab 4"})]})]}),fA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolAccordion with the different heading levels from 1-6."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(qn,{_label:"Heading Level 1",_level:1,children:"Contents Accordion Tab 1"}),r.jsx(qn,{_label:"Heading Level 2",_level:2,children:"Contents Accordion Tab 2"}),r.jsx(qn,{_label:"Heading Level 3",_level:3,children:"Contents Accordion Tab 3"}),r.jsx(qn,{_label:"Heading Level 4",_level:4,children:"Contents Accordion Tab 4"}),r.jsx(qn,{_label:"Heading Level 5",_level:5,children:"Contents Accordion Tab 5"}),r.jsx(qn,{_label:"Heading Level 6",_level:6,children:"Contents Accordion Tab 6"})]})]}),bA=()=>{const[e,o]=j.useState(0);return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"Multiple KolAccordions. The first is opened initially. Opening one accordion closes the others."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(qn,{_label:"Heading Accordion Tab 1 (initially open)",_open:e===0,_on:{onClick:()=>o(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. 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."}),r.jsx(qn,{_label:"Heading Accordion Tab 2",_open:e===1,_on:{onClick:()=>o(1)},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."}),r.jsx(qn,{_label:"Heading Accordion Tab 3",_open:e===2,_on:{onClick:()=>o(2)},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."})]})]})},kA={accordion:{basic:uA,headlines:fA,multiple:bA}},Li=({level:e,type:o,variant:a})=>r.jsxs(r.Fragment,{children:[r.jsx(oo,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:o,_variant:a,children:"This is the text of the alert."}),r.jsx(oo,{_type:o,_variant:a,children:"In this alert, only the text without the heading is used."}),r.jsx(oo,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:o,_variant:a,_hasCloser:!0,children:"This is the text of the alert. With close button."}),r.jsx(oo,{_type:o,_variant:a,_hasCloser:!0,children:"In this alert, only the text without the heading is used. With close button."})]}),Zy=({variant:e="msg"})=>r.jsxs("div",{className:"grid gap-4",children:[r.jsx(Li,{level:1,type:"default",variant:e}),r.jsx(Li,{level:2,type:"error",variant:e}),r.jsx(Li,{level:3,type:"info",variant:e}),r.jsx(Li,{level:4,type:"success",variant:e}),r.jsx(Li,{level:5,type:"warning",variant:e})]}),pA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",r.jsx("code",{children:"msg"}),", showing all possible types with and without headlines and close buttons."]})}),r.jsx(Zy,{variant:"msg"})]}),mA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",r.jsx("code",{children:"card"}),", showing all possible types with and without headlines and close buttons."]})}),r.jsx("section",{className:"w-full",children:r.jsx(Zy,{variant:"card"})})]}),vA={alert:{basic:pA,"card-msg":mA}},hA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(_s,{_src:"https://www.w3schools.com/howto/img_avatar.png",_label:"Elke Mustermann"}),r.jsx(_s,{_label:"Elke Mustermann "}),r.jsx(_s,{_label:"Marianne"}),r.jsx(_s,{_color:"#0000FF",_label:"Christian"})]})]}),gA={avatar:{basic:hA}},_A=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolBadge shows badges with a label, background color and optional icon."})}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx(wn,{_label:"black"}),r.jsx(wn,{_color:"#86ffc6",_label:"teal"}),r.jsx(wn,{_color:"#06539e",_label:"blue"}),r.jsx(wn,{_color:"#ae0000",_label:"red with icon",_icons:"kolicon-house"}),r.jsx(wn,{_color:"#8b008b",_label:"purple with icon",_icons:"kolicon-kolibri"})]})]}),Ni=e=>({_label:e,_smartButton:{_ariaDescription:e,_icons:"kolicon-cross",_label:"Remove",_on:{onClick:()=>alert("clicked")}}}),xA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample shows KolBadge with an optional ",r.jsx("code",{children:"smartButton"}),'. The sample defines a "close" button with X-icon a click event listener.']})}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx(wn,{...Ni("black")}),r.jsx(wn,{_color:"#86ffc6",...Ni("teal")}),r.jsx(wn,{_color:"#06539e",...Ni("blue")}),r.jsx(wn,{_color:"#ae0000",_icons:"kolicon-house",...Ni("red with icon")}),r.jsx(wn,{_color:"#8b008b",_icons:"kolicon-kolibri",...Ni("purple with icon")})]})]}),yA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample demonstrates the possibility of formatted text in badges via markdown syntax."})}),r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsx(wn,{_color:"#7db4ebff",_label:"**Bold** and _italic_ Markdown label"}),r.jsx(wn,{_color:"#8feb7dff",_label:"This is ~~strikethrough~~ text"}),r.jsx(wn,{_color:"#e6ee8eff",_label:"Source code like `y = mx + n` is possible"})]})]}),wA={badge:{basic:_A,button:xA,"formatted-label":yA}},zA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx($i,{_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"}]}),r.jsx($i,{_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"}]}),r.jsx($i,{_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"}]}),r.jsx($i,{_label:"Minimal Breadcrumb",_links:[{_label:"Homepage",_href:"#/back-page"}]})]})]}),jA={breadcrumb:{basic:zA}},SA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolButtonLink with aria-description"})}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(He,{_label:"Button Text without area description"}),r.jsx(He,{_label:"Button Text",_ariaDescription:"Button Area Description"})]})]});function _n(){const e=Hr.getInstance(document),o=c=>{e.enqueue({description:c||"Hello",label:"Hello",type:"info"})};return{dummyClickEventHandler:()=>{o()},buttonWithTextClickEventHandler:c=>{const d=c.currentTarget.textContent;o(d)}}}const TA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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 ",r.jsx("code",{children:"block"}),", ",r.jsx("code",{children:"inline-block"})," and ",r.jsx("code",{children:"inline"}),". It also demonstrates the disabled-state."]})}),r.jsxs("section",{className:"text-base",children:[r.jsx(ne,{_level:2,_label:"Button-Link with _inline"}),r.jsxs("p",{children:["In this paragraph, a link is inserted that contains no additional attributes. ",r.jsx(He,{_label:"Simple Link"})," It is rendered by default as an"," ",r.jsx("strong",{children:"inline element"}),"."]}),r.jsxs("p",{children:["In this paragraph, a link is inserted that is rendered as an inline-block element.",r.jsx(He,{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.",r.jsx("br",{}),r.jsx("br",{}),"After that, there is a link that is rendered as a block element.",r.jsx(He,{style:{display:"block"},_label:"Simple Link"}),"Therefore, I go over the entire width of the parent element to create a line break."]}),r.jsx(ne,{_level:2,_label:"Button-Link with _inline={false}"}),r.jsx("p",{children:"Use the boolean _inline property to render the link inline (default) or standalone."}),r.jsx("p",{children:r.jsx(He,{_label:"Disabled ButtonLink",_disabled:!0,_inline:!1})}),r.jsx("p",{children:r.jsx(He,{_label:"With access key",_accessKey:"c",_inline:!1,_on:o})}),r.jsx("p",{children:r.jsx(He,{_label:"Disabled ButtonLink",_inline:!1,_shortKey:"s"})}),r.jsx("p",{children:r.jsx(He,{_label:"Special Variant ButtonLink",_variant:"theme-link"})})]})]})},AA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolButtonLink with icons in different locations."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(He,{_icons:"kolicon-house",_label:"I am a link with an icon on the left"}),r.jsx(He,{_icons:{right:"kolicon-house"},_label:"I am a link with an icon on the right"}),r.jsx(He,{_icons:{top:"kolicon-house"},_label:"I am a link with an icon at the top"}),r.jsx(He,{_icons:{bottom:"kolicon-house"},_label:"I am a link with icon below"}),r.jsx(He,{_icons:{top:"kolicon-house",right:"kolicon-house",bottom:"kolicon-house",left:"kolicon-house"},_label:"I am a link with all icons"}),r.jsx(He,{_icons:"kolicon-house",_hideLabel:!0,_label:"I am a link with icon only"})]})]}),EA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolButtonLink with slot-content instead of a label. The sample uses an image as content."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(He,{_label:"I am a link that is rendered as text"}),r.jsx(He,{_label:"",children:r.jsx(ak,{_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"})})]})]}),CA={"button-link":{basic:TA,icons:AA,image:EA,"aria-description":SA}},LA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This story demonstrates buttons with"," ",r.jsx(ge,{_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."]})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with Access Keys"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"With S access key",_accessKey:"S",_on:o}),r.jsx($,{_label:"Very small b",_accessKey:"b",_on:o}),r.jsx($,{_label:"Access key does not appear in label",_accessKey:"x",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Access Key with Hidden Label"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_label:"access key without label",_hideLabel:!0,_accessKey:"a",_icons:"kolicon-cogwheel",_on:o})})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Access Key with Inline Icons"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_label:"with inline icons",_icons:{left:"kolicon-cogwheel",right:"kolicon-cogwheel"},_accessKey:"n",_on:o})})]})]})]})},NA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with and without ARIA Description"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"Button without ARIA description",_on:o}),r.jsx($,{_label:"Button with ARIA description",_ariaDescription:"This button performs an important action",_on:o})]})]})})]})},OA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Vertically Aligned Buttons"}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx($,{_label:"Label-Text",_on:o}),r.jsx($,{_icons:"kolicon-cogwheel",_label:"Label-Text with Icon",_on:o})]})]})})]})},RA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Button Variants"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"Primary",_variant:"primary",_on:o}),r.jsx($,{_icons:"kolicon-kolibri",_label:"Secondary",_variant:"secondary",_on:o}),r.jsx($,{_icons:"kolicon-cogwheel",_label:"Tertiary",_variant:"tertiary",_on:o}),r.jsx($,{_icons:"kolicon-cogwheel",_label:"Normal",_variant:"normal",_on:o}),r.jsx($,{_icons:"kolicon-alert-warning",_label:"Danger",_variant:"danger",_on:o}),r.jsx($,{_icons:"kolicon-eye-closed",_label:"Ghost",_variant:"ghost",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Disabled State"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_disabled:!0,_icons:"kolicon-house",_label:"Primary",_variant:"primary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-kolibri",_label:"Secondary",_variant:"secondary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-alert-warning",_label:"Danger",_variant:"danger",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Hidden Label (Icon Only)"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_hideLabel:!0,_icons:"kolicon-house",_label:"Primary",_variant:"primary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-kolibri",_label:"Secondary",_variant:"secondary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-alert-warning",_label:"Danger",_variant:"danger",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Icon Positions"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:{left:"kolicon-chevron-left"},_label:"Icon Left",_on:o}),r.jsx($,{_icons:{right:"kolicon-chevron-right"},_label:"Icon Right",_on:o}),r.jsx($,{_icons:{left:"kolicon-chevron-left",right:"kolicon-chevron-right"},_label:"Icons Both Sides",_on:o})]})]})]})]})},DA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This story demonstrates the disabled state of buttons. Disabled buttons are not clickable and appear visually dimmed."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Disabled Buttons"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_disabled:!0,_icons:"kolicon-house",_label:"Primary",_variant:"primary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-kolibri",_label:"Secondary",_variant:"secondary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-cogwheel",_label:"Tertiary",_variant:"tertiary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-cogwheel",_label:"Normal",_variant:"normal",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-alert-warning",_label:"Danger",_variant:"danger",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-eye-closed",_label:"Ghost",_variant:"ghost",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Comparison: Enabled vs Disabled"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"Enabled",_variant:"primary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-house",_label:"Disabled",_variant:"primary",_on:o})]})]})]})]})},$A="kol-tooltip-wc",BA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with Expert Slot Content"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"",_variant:"primary",_on:o,children:r.jsx("span",{slot:"expert",children:"I am more than just a button"})}),r.jsx($,{_icons:"kolicon-kolibri",_label:"",_variant:"secondary",_on:o,children:r.jsx("span",{slot:"expert",children:"Custom content here"})}),r.jsx($,{_icons:"kolicon-alert-warning",_label:"",_variant:"danger",_on:o,children:r.jsx("span",{slot:"expert",children:"Delete with custom text"})}),r.jsx($,{_hideLabel:!0,_label:"",_variant:"danger",_on:o,children:r.jsx(jo,{_icons:"kolicon-alert-warning",_label:"",slot:"expert"})}),r.jsx($A,{_label:"Delete with custom text"})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Disabled Buttons with Expert Slot"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_disabled:!0,_icons:"kolicon-house",_label:"",_variant:"primary",_on:o,children:r.jsx("span",{slot:"expert",children:"Disabled expert slot"})}),r.jsx($,{_disabled:!0,_icons:"kolicon-eye-closed",_label:"",_variant:"ghost",_on:o,children:r.jsx("span",{slot:"expert",children:"Another disabled one"})})]})]})]})]})},MA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with Hidden Labels"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_hideLabel:!0,_icons:"kolicon-house",_label:"Home",_variant:"primary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-kolibri",_label:"Like",_variant:"secondary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-cogwheel",_label:"Subscribe",_variant:"tertiary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-cogwheel",_label:"Buy me a coffee",_variant:"normal",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-alert-warning",_label:"Delete",_variant:"danger",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-eye-closed",_label:"Settings",_variant:"ghost",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Comparison: With and Without Hidden Label"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"Home",_variant:"primary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-house",_label:"Home",_variant:"primary",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Disabled with Hidden Label"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-house",_label:"Home",_variant:"primary",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-kolibri",_label:"Like",_variant:"secondary",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-cogwheel",_label:"Subscribe",_variant:"tertiary",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-cogwheel",_label:"Buy me a coffee",_variant:"normal",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-alert-warning",_label:"Delete",_variant:"danger",_on:o})]})]})]})]})},IA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Basic Icon Positions"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:{left:"kolicon-chevron-left"},_label:"Icon Left",_on:o}),r.jsx($,{_icons:{right:"kolicon-chevron-right"},_label:"Icon Right",_on:o}),r.jsx($,{_icons:{top:"kolicon-chevron-up"},_label:"Icon Top",_on:o}),r.jsx($,{_icons:{bottom:"kolicon-chevron-down"},_label:"Icon Bottom",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Multiple Icon Positions"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:{left:"kolicon-chevron-left",right:"kolicon-chevron-right"},_label:"Left & Right",_on:o}),r.jsx($,{_icons:{top:"kolicon-chevron-up",bottom:"kolicon-chevron-down"},_label:"Top & Bottom",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"All Icon Positions"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_icons:{top:{style:{transform:"rotate(45deg)"},icon:"kolicon-chevron-up"},bottom:"kolicon-chevron-down",left:{icon:"kolicon-chevron-left"},right:"kolicon-chevron-right"},_label:"All Directions",_on:o})})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Simple Icon String"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"Home Icon",_on:o}),r.jsx($,{_icons:"kolicon-kolibri",_label:"Heart Icon",_on:o}),r.jsx($,{_icons:"kolicon-alert-warning",_label:"Trash Icon",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Large Icon on Top"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_icons:{top:{style:{"font-size":"400%"},icon:"kolicon-house"}},_label:"Home",_on:o})})]})]})]})},UA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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)."})}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Button in Row-Reverse Container"}),r.jsx("div",{className:"flex flex-row-reverse",children:r.jsx($,{_icons:"kolicon-house",_hideLabel:!0,_label:"This is a very, very long tooltip text that exceeds the width.",_variant:"primary"})})]})})]}),FA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This story demonstrates buttons with short keys (visual keyboard shortcuts). The short key is displayed as a visual indicator within the button label, but it is purely visual and needs custom functionality implementation to make it interactive."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with Short Keys"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"With S short key",_shortKey:"S",_on:o}),r.jsx($,{_label:"Very small b",_shortKey:"b",_on:o}),r.jsx($,{_label:"Short key does not appear in label",_shortKey:"x",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Short Key with Hidden Label"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_label:"short key without label",_hideLabel:!0,_shortKey:"k",_icons:"kolicon-cogwheel",_on:o})})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Short Key with Inline Icons"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_label:"with inline icons",_icons:{left:"kolicon-cogwheel",right:"kolicon-cogwheel"},_shortKey:"n",_on:o})})]})]})]})},KA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Animated Spinner Icon via CSS Part"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{className:"spinner-button",_hideLabel:!0,_icons:{left:"kolicon-cogwheel"},_label:"Loading",_variant:"primary",_on:o}),r.jsx($,{className:"spinner-button spinner-slow",_hideLabel:!0,_icons:{left:"kolicon-cogwheel"},_label:"Syncing",_variant:"secondary",_on:o}),r.jsx($,{className:"spinner-button spinner-slower",_hideLabel:!0,_icons:{left:"kolicon-cogwheel"},_label:"Processing",_variant:"tertiary",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Spinner with Label"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{className:"spinner-button",_icons:{left:"kolicon-cogwheel"},_label:"Loading...",_variant:"primary",_on:o}),r.jsx($,{className:"spinner-button",_icons:{left:"kolicon-cogwheel"},_label:"Syncing...",_variant:"secondary",_on:o})]})]})]}),r.jsx("style",{children:`
|
|
39142
|
+
}`;const QT=sd.createTheme("kern-v2",{GLOBAL:XT,"KOL-ABBR":cT,"KOL-ACCORDION":sT,"KOL-ALERT":dT,"KOL-BADGE":uT,"KOL-BREADCRUMB":fT,"KOL-BUTTON":kT,"KOL-BUTTON-LINK":bT,"KOL-CARD":pT,"KOL-COMBOBOX":mT,"KOL-DETAILS":vT,"KOL-DIALOG":hT,"KOL-DRAWER":gT,"KOL-FORM":_T,"KOL-HEADING":xT,"KOL-INPUT-CHECKBOX":yT,"KOL-INPUT-COLOR":wT,"KOL-INPUT-DATE":zT,"KOL-INPUT-EMAIL":jT,"KOL-INPUT-FILE":ST,"KOL-INPUT-NUMBER":TT,"KOL-INPUT-PASSWORD":AT,"KOL-INPUT-RADIO":ET,"KOL-INPUT-RANGE":CT,"KOL-INPUT-TEXT":LT,"KOL-LINK":OT,"KOL-LINK-BUTTON":NT,"KOL-NAV":RT,"KOL-PAGINATION":DT,"KOL-POPOVER-BUTTON":$T,"KOL-PROGRESS":BT,"KOL-SELECT":MT,"KOL-SINGLE-SELECT":IT,"KOL-SKIP-NAV":UT,"KOL-SPIN":FT,"KOL-SPLIT-BUTTON":KT,"KOL-TABLE-STATEFUL":HT,"KOL-TABLE-STATELESS":VT,"KOL-TABS":qT,"KOL-TEXTAREA":ZT,"KOL-TOAST-CONTAINER":PT,"KOL-TOOLBAR":GT,"KOL-TREE":JT,"KOL-TREE-ITEM":YT}),WT="4.1.1-rc.3",Kb={version:WT},eA=()=>{const e={onClick:()=>history.back()};return r.jsxs(oo,{_label:"This is an example page",_level:0,_type:"info",children:[r.jsx("p",{children:"You followed an example link."}),history.length>1&&r.jsx($,{_label:"Go Back",_on:e})]})};function nA(){const e=matchMedia("(max-width: 1023px)"),[o,a]=j.useState(e.matches),i=()=>{a(e.matches)};return j.useEffect(()=>(i(),e.addEventListener("change",i),()=>{e.removeEventListener("change",i)}),[e]),o}function oA({children:e}){return nA()?r.jsx(qn,{_label:"All components",class:"mt",children:e}):r.jsx("div",{className:"mt scrollable-container",children:e})}function sx({label:e,to:o,children:a}){const i=Z1(o),c=Nl(o),d=D6({path:c.pathname,end:!0});return r.jsx(no,{_label:e,_href:i,_active:!!d,children:a})}function tA({routes:e}){const o=(i,c)=>Object.keys(c).map(d=>{const u=i==="tree"&&d==="basic/:subPage",k=u?"basic/home":d,p=u?"basic":d;return r.jsx(sx,{label:p,to:[i,k].join("/")},[i,d].join("/"))}),a=Object.entries(e).map(([i,c])=>r.jsx(sx,{label:i,to:i,children:o(i,c)},i));return r.jsx(oA,{children:r.jsx("nav",{children:r.jsx(D1,{_label:"Navigation",class:"block",children:a})})})}const rA=({buildDate:e,commitHash:o})=>!e&&!o?"":r.jsx("div",{className:"text-sm font-mono color-gray-5 m-t-2",children:e&&o?r.jsxs(r.Fragment,{children:["Build: ",o,r.jsx("br",{}),"at ",e]}):o?`Build: ${o}`:`Build date: ${e}`}),aA=({version:e,themes:o,theme:a,routes:i,routeList:c,sample:d,buildDate:u,commitHash:k,onThemeChange:p})=>{const m=()=>c.indexOf(d),g=()=>d.replace(/\//g," "),h=(S,T)=>{p(T)},_=()=>{const S=m(),T=S<=0?c.length-1:S-1;location.replace(`#${c[T]}`)},w=()=>{const S=m(),T=S===c.length-1?0:S+1;location.replace(`#${c[T]}`)},L=j.useMemo(()=>o.map(S=>({label:S.name,value:S.key})),[o]);return r.jsx("aside",{className:"app-sidebar p-4",children:r.jsxs("div",{className:"scrollable-container-wrapper",children:[r.jsxs("div",{className:"flex flex-justify-between flex-items-center",children:[r.jsx(ne,{_label:"KoliBri React"}),r.jsx(od,{_label:e})]}),r.jsx(rA,{buildDate:u,commitHash:k}),r.jsx(Qn,{_label:"Theme",_options:L,_on:{onChange:h},_value:a,class:"mt"}),r.jsx(ne,{_label:"Components",_level:2,className:"block mt"}),r.jsxs("div",{className:"flex flex-justify-between flex-items-center mt",children:[r.jsx($,{_icons:"kolicon-chevron-left",_hideLabel:!0,_label:"Previous component",_on:{onClick:_}}),r.jsxs("span",{className:"text-base text-center",children:[g()," (",m()+1,"/",c.length,")"]}),r.jsx($,{_icons:"kolicon-chevron-right",_hideLabel:!0,_label:"Next component",_on:{onClick:w}})]}),r.jsx(tA,{routes:i})]})})},lA=()=>{const e=Fo();N4("#"+e.pathname)},yk=j.createContext(null),iA="https://public-ui.github.io/docs/components",cA="https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components",Ke="I am an error message!",To="I am a hint.",U=e=>{const o=j.useContext(yk),a=Fo(),i=a.pathname.split("/").slice(1),c=j.useMemo(()=>i[0]==="scenarios"?null:`${iA}/${i[0]}`,[a.hash]),d=j.useMemo(()=>i[0]==="scenarios"?null:`${cA}/${i[0]}/${i[1]}.tsx`,[a.hash]);return r.jsxs(r.Fragment,{children:[r.jsx("h1",{className:"visually-hidden",children:a.pathname.replace(/\//g," ")}),o?null:r.jsxs("div",{className:"grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2",children:[r.jsx("div",{className:"indented-text",children:e.children}),r.jsxs("ul",{className:"flex flex-wrap gap-2 list-none m-0 p-0",children:[d&&r.jsx("li",{children:r.jsx(ge,{_href:d,_label:"Code",_target:"_blank"})}),c&&r.jsx("li",{children:r.jsx(ge,{_href:c,_label:"Documentation",_target:"_blank"})}),r.jsx("li",{children:r.jsx(ge,{_href:`#${a.pathname}?hideMenus`,_label:"Standalone example",_target:"_blank"})})]})]})]})},sA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolAbbr shows an abbreviation and uses kol-tooltip-wc to display the long form, if provided."})}),r.jsxs("p",{children:["I am ",r.jsx(Ui,{_label:"as an example",children:"e.g."})," an abbreviation."]}),r.jsxs("p",{children:["I am ",r.jsx(Ui,{children:"e.g."})," an abbreviation without label."]})]}),dA={abbr:{basic:sA}},uA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the ",r.jsx("code",{children:"_open"}),"-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion."]})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(qn,{_label:"Heading Accordion Tab 1 (open)",_open:!0,children:r.jsx(po,{_label:"Combobox in Accordion",_suggestions:"['Herr','Frau','Firma']"})}),r.jsx(qn,{_label:"Heading Accordion Tab 2",children:"Contents Accordion Tab 2"}),r.jsx(qn,{_label:"Heading Accordion Tab 3 (deactivated)",_disabled:!0,children:"Contents Accordion Tab 3"}),r.jsx(qn,{_label:"Heading Accordion Tab 4 (disabled and open)",_disabled:!0,_open:!0,children:"Contents Accordion Tab 4"})]})]}),fA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolAccordion with the different heading levels from 1-6."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(qn,{_label:"Heading Level 1",_level:1,children:"Contents Accordion Tab 1"}),r.jsx(qn,{_label:"Heading Level 2",_level:2,children:"Contents Accordion Tab 2"}),r.jsx(qn,{_label:"Heading Level 3",_level:3,children:"Contents Accordion Tab 3"}),r.jsx(qn,{_label:"Heading Level 4",_level:4,children:"Contents Accordion Tab 4"}),r.jsx(qn,{_label:"Heading Level 5",_level:5,children:"Contents Accordion Tab 5"}),r.jsx(qn,{_label:"Heading Level 6",_level:6,children:"Contents Accordion Tab 6"})]})]}),bA=()=>{const[e,o]=j.useState(0);return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"Multiple KolAccordions. The first is opened initially. Opening one accordion closes the others."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(qn,{_label:"Heading Accordion Tab 1 (initially open)",_open:e===0,_on:{onClick:()=>o(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. 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."}),r.jsx(qn,{_label:"Heading Accordion Tab 2",_open:e===1,_on:{onClick:()=>o(1)},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."}),r.jsx(qn,{_label:"Heading Accordion Tab 3",_open:e===2,_on:{onClick:()=>o(2)},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."})]})]})},kA={accordion:{basic:uA,headlines:fA,multiple:bA}},Li=({level:e,type:o,variant:a})=>r.jsxs(r.Fragment,{children:[r.jsx(oo,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:o,_variant:a,children:"This is the text of the alert."}),r.jsx(oo,{_type:o,_variant:a,children:"In this alert, only the text without the heading is used."}),r.jsx(oo,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:o,_variant:a,_hasCloser:!0,children:"This is the text of the alert. With close button."}),r.jsx(oo,{_type:o,_variant:a,_hasCloser:!0,children:"In this alert, only the text without the heading is used. With close button."})]}),Zy=({variant:e="msg"})=>r.jsxs("div",{className:"grid gap-4",children:[r.jsx(Li,{level:1,type:"default",variant:e}),r.jsx(Li,{level:2,type:"error",variant:e}),r.jsx(Li,{level:3,type:"info",variant:e}),r.jsx(Li,{level:4,type:"success",variant:e}),r.jsx(Li,{level:5,type:"warning",variant:e})]}),pA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",r.jsx("code",{children:"msg"}),", showing all possible types with and without headlines and close buttons."]})}),r.jsx(Zy,{variant:"msg"})]}),mA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",r.jsx("code",{children:"card"}),", showing all possible types with and without headlines and close buttons."]})}),r.jsx("section",{className:"w-full",children:r.jsx(Zy,{variant:"card"})})]}),vA={alert:{basic:pA,"card-msg":mA}},hA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(_s,{_src:"https://www.w3schools.com/howto/img_avatar.png",_label:"Elke Mustermann"}),r.jsx(_s,{_label:"Elke Mustermann "}),r.jsx(_s,{_label:"Marianne"}),r.jsx(_s,{_color:"#0000FF",_label:"Christian"})]})]}),gA={avatar:{basic:hA}},_A=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolBadge shows badges with a label, background color and optional icon."})}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx(wn,{_label:"black"}),r.jsx(wn,{_color:"#86ffc6",_label:"teal"}),r.jsx(wn,{_color:"#06539e",_label:"blue"}),r.jsx(wn,{_color:"#ae0000",_label:"red with icon",_icons:"kolicon-house"}),r.jsx(wn,{_color:"#8b008b",_label:"purple with icon",_icons:"kolicon-kolibri"})]})]}),Ni=e=>({_label:e,_smartButton:{_ariaDescription:e,_icons:"kolicon-cross",_label:"Remove",_on:{onClick:()=>alert("clicked")}}}),xA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample shows KolBadge with an optional ",r.jsx("code",{children:"smartButton"}),'. The sample defines a "close" button with X-icon a click event listener.']})}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx(wn,{...Ni("black")}),r.jsx(wn,{_color:"#86ffc6",...Ni("teal")}),r.jsx(wn,{_color:"#06539e",...Ni("blue")}),r.jsx(wn,{_color:"#ae0000",_icons:"kolicon-house",...Ni("red with icon")}),r.jsx(wn,{_color:"#8b008b",_icons:"kolicon-kolibri",...Ni("purple with icon")})]})]}),yA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample demonstrates the possibility of formatted text in badges via markdown syntax."})}),r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsx(wn,{_color:"#7db4ebff",_label:"**Bold** and _italic_ Markdown label"}),r.jsx(wn,{_color:"#8feb7dff",_label:"This is ~~strikethrough~~ text"}),r.jsx(wn,{_color:"#e6ee8eff",_label:"Source code like `y = mx + n` is possible"})]})]}),wA={badge:{basic:_A,button:xA,"formatted-label":yA}},zA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx($i,{_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"}]}),r.jsx($i,{_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"}]}),r.jsx($i,{_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"}]}),r.jsx($i,{_label:"Minimal Breadcrumb",_links:[{_label:"Homepage",_href:"#/back-page"}]})]})]}),jA={breadcrumb:{basic:zA}},SA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolButtonLink with aria-description"})}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(He,{_label:"Button Text without area description"}),r.jsx(He,{_label:"Button Text",_ariaDescription:"Button Area Description"})]})]});function _n(){const e=Hr.getInstance(document),o=c=>{e.enqueue({description:c||"Hello",label:"Hello",type:"info"})};return{dummyClickEventHandler:()=>{o()},buttonWithTextClickEventHandler:c=>{const d=c.currentTarget.textContent;o(d)}}}const TA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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 ",r.jsx("code",{children:"block"}),", ",r.jsx("code",{children:"inline-block"})," and ",r.jsx("code",{children:"inline"}),". It also demonstrates the disabled-state."]})}),r.jsxs("section",{className:"text-base",children:[r.jsx(ne,{_level:2,_label:"Button-Link with _inline"}),r.jsxs("p",{children:["In this paragraph, a link is inserted that contains no additional attributes. ",r.jsx(He,{_label:"Simple Link"})," It is rendered by default as an"," ",r.jsx("strong",{children:"inline element"}),"."]}),r.jsxs("p",{children:["In this paragraph, a link is inserted that is rendered as an inline-block element.",r.jsx(He,{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.",r.jsx("br",{}),r.jsx("br",{}),"After that, there is a link that is rendered as a block element.",r.jsx(He,{style:{display:"block"},_label:"Simple Link"}),"Therefore, I go over the entire width of the parent element to create a line break."]}),r.jsx(ne,{_level:2,_label:"Button-Link with _inline={false}"}),r.jsx("p",{children:"Use the boolean _inline property to render the link inline (default) or standalone."}),r.jsx("p",{children:r.jsx(He,{_label:"Disabled ButtonLink",_disabled:!0,_inline:!1})}),r.jsx("p",{children:r.jsx(He,{_label:"With access key",_accessKey:"c",_inline:!1,_on:o})}),r.jsx("p",{children:r.jsx(He,{_label:"Disabled ButtonLink",_inline:!1,_shortKey:"s"})}),r.jsx("p",{children:r.jsx(He,{_label:"Special Variant ButtonLink",_variant:"theme-link"})})]})]})},AA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolButtonLink with icons in different locations."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(He,{_icons:"kolicon-house",_label:"I am a link with an icon on the left"}),r.jsx(He,{_icons:{right:"kolicon-house"},_label:"I am a link with an icon on the right"}),r.jsx(He,{_icons:{top:"kolicon-house"},_label:"I am a link with an icon at the top"}),r.jsx(He,{_icons:{bottom:"kolicon-house"},_label:"I am a link with icon below"}),r.jsx(He,{_icons:{top:"kolicon-house",right:"kolicon-house",bottom:"kolicon-house",left:"kolicon-house"},_label:"I am a link with all icons"}),r.jsx(He,{_icons:"kolicon-house",_hideLabel:!0,_label:"I am a link with icon only"})]})]}),EA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolButtonLink with slot-content instead of a label. The sample uses an image as content."})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(He,{_label:"I am a link that is rendered as text"}),r.jsx(He,{_label:"",children:r.jsx(ak,{_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"})})]})]}),CA={"button-link":{basic:TA,icons:AA,image:EA,"aria-description":SA}},LA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This story demonstrates buttons with"," ",r.jsx(ge,{_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."]})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with Access Keys"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"With S access key",_accessKey:"S",_on:o}),r.jsx($,{_label:"Very small b",_accessKey:"b",_on:o}),r.jsx($,{_label:"Access key does not appear in label",_accessKey:"x",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Access Key with Hidden Label"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_label:"access key without label",_hideLabel:!0,_accessKey:"a",_icons:"kolicon-cogwheel",_on:o})})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Access Key with Inline Icons"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_label:"with inline icons",_icons:{left:"kolicon-cogwheel",right:"kolicon-cogwheel"},_accessKey:"n",_on:o})})]})]})]})},NA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with and without ARIA Description"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"Button without ARIA description",_on:o}),r.jsx($,{_label:"Button with ARIA description",_ariaDescription:"This button performs an important action",_on:o})]})]})})]})},OA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Vertically Aligned Buttons"}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx($,{_label:"Label-Text",_on:o}),r.jsx($,{_icons:"kolicon-cogwheel",_label:"Label-Text with Icon",_on:o})]})]})})]})},RA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Button Variants"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"Primary",_variant:"primary",_on:o}),r.jsx($,{_icons:"kolicon-kolibri",_label:"Secondary",_variant:"secondary",_on:o}),r.jsx($,{_icons:"kolicon-cogwheel",_label:"Tertiary",_variant:"tertiary",_on:o}),r.jsx($,{_icons:"kolicon-cogwheel",_label:"Normal",_variant:"normal",_on:o}),r.jsx($,{_icons:"kolicon-alert-warning",_label:"Danger",_variant:"danger",_on:o}),r.jsx($,{_icons:"kolicon-eye-closed",_label:"Ghost",_variant:"ghost",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Disabled State"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_disabled:!0,_icons:"kolicon-house",_label:"Primary",_variant:"primary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-kolibri",_label:"Secondary",_variant:"secondary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-alert-warning",_label:"Danger",_variant:"danger",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Hidden Label (Icon Only)"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_hideLabel:!0,_icons:"kolicon-house",_label:"Primary",_variant:"primary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-kolibri",_label:"Secondary",_variant:"secondary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-alert-warning",_label:"Danger",_variant:"danger",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Icon Positions"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:{left:"kolicon-chevron-left"},_label:"Icon Left",_on:o}),r.jsx($,{_icons:{right:"kolicon-chevron-right"},_label:"Icon Right",_on:o}),r.jsx($,{_icons:{left:"kolicon-chevron-left",right:"kolicon-chevron-right"},_label:"Icons Both Sides",_on:o})]})]})]})]})},DA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This story demonstrates the disabled state of buttons. Disabled buttons are not clickable and appear visually dimmed."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Disabled Buttons"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_disabled:!0,_icons:"kolicon-house",_label:"Primary",_variant:"primary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-kolibri",_label:"Secondary",_variant:"secondary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-cogwheel",_label:"Tertiary",_variant:"tertiary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-cogwheel",_label:"Normal",_variant:"normal",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-alert-warning",_label:"Danger",_variant:"danger",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-eye-closed",_label:"Ghost",_variant:"ghost",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Comparison: Enabled vs Disabled"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"Enabled",_variant:"primary",_on:o}),r.jsx($,{_disabled:!0,_icons:"kolicon-house",_label:"Disabled",_variant:"primary",_on:o})]})]})]})]})},$A="kol-tooltip-wc",BA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with Expert Slot Content"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"",_variant:"primary",_on:o,children:r.jsx("span",{slot:"expert",children:"I am more than just a button"})}),r.jsx($,{_icons:"kolicon-kolibri",_label:"",_variant:"secondary",_on:o,children:r.jsx("span",{slot:"expert",children:"Custom content here"})}),r.jsx($,{_icons:"kolicon-alert-warning",_label:"",_variant:"danger",_on:o,children:r.jsx("span",{slot:"expert",children:"Delete with custom text"})}),r.jsx($,{_hideLabel:!0,_label:"",_variant:"danger",_on:o,children:r.jsx(jo,{_icons:"kolicon-alert-warning",_label:"",slot:"expert"})}),r.jsx($A,{_label:"Delete with custom text"})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Disabled Buttons with Expert Slot"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_disabled:!0,_icons:"kolicon-house",_label:"",_variant:"primary",_on:o,children:r.jsx("span",{slot:"expert",children:"Disabled expert slot"})}),r.jsx($,{_disabled:!0,_icons:"kolicon-eye-closed",_label:"",_variant:"ghost",_on:o,children:r.jsx("span",{slot:"expert",children:"Another disabled one"})})]})]})]})]})},MA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with Hidden Labels"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_hideLabel:!0,_icons:"kolicon-house",_label:"Home",_variant:"primary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-kolibri",_label:"Like",_variant:"secondary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-cogwheel",_label:"Subscribe",_variant:"tertiary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-cogwheel",_label:"Buy me a coffee",_variant:"normal",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-alert-warning",_label:"Delete",_variant:"danger",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-eye-closed",_label:"Settings",_variant:"ghost",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Comparison: With and Without Hidden Label"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"Home",_variant:"primary",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-house",_label:"Home",_variant:"primary",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Disabled with Hidden Label"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-house",_label:"Home",_variant:"primary",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-kolibri",_label:"Like",_variant:"secondary",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-cogwheel",_label:"Subscribe",_variant:"tertiary",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-cogwheel",_label:"Buy me a coffee",_variant:"normal",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"kolicon-alert-warning",_label:"Delete",_variant:"danger",_on:o})]})]})]})]})},IA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Basic Icon Positions"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:{left:"kolicon-chevron-left"},_label:"Icon Left",_on:o}),r.jsx($,{_icons:{right:"kolicon-chevron-right"},_label:"Icon Right",_on:o}),r.jsx($,{_icons:{top:"kolicon-chevron-up"},_label:"Icon Top",_on:o}),r.jsx($,{_icons:{bottom:"kolicon-chevron-down"},_label:"Icon Bottom",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Multiple Icon Positions"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:{left:"kolicon-chevron-left",right:"kolicon-chevron-right"},_label:"Left & Right",_on:o}),r.jsx($,{_icons:{top:"kolicon-chevron-up",bottom:"kolicon-chevron-down"},_label:"Top & Bottom",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"All Icon Positions"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_icons:{top:{style:{transform:"rotate(45deg)"},icon:"kolicon-chevron-up"},bottom:"kolicon-chevron-down",left:{icon:"kolicon-chevron-left"},right:"kolicon-chevron-right"},_label:"All Directions",_on:o})})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Simple Icon String"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_icons:"kolicon-house",_label:"Home Icon",_on:o}),r.jsx($,{_icons:"kolicon-kolibri",_label:"Heart Icon",_on:o}),r.jsx($,{_icons:"kolicon-alert-warning",_label:"Trash Icon",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Large Icon on Top"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_icons:{top:{style:{"font-size":"400%"},icon:"kolicon-house"}},_label:"Home",_on:o})})]})]})]})},UA=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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)."})}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Button in Row-Reverse Container"}),r.jsx("div",{className:"flex flex-row-reverse",children:r.jsx($,{_icons:"kolicon-house",_hideLabel:!0,_label:"This is a very, very long tooltip text that exceeds the width.",_variant:"primary"})})]})})]}),FA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This story demonstrates buttons with short keys (visual keyboard shortcuts). The short key is displayed as a visual indicator within the button label, but it is purely visual and needs custom functionality implementation to make it interactive."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Buttons with Short Keys"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"With S short key",_shortKey:"S",_on:o}),r.jsx($,{_label:"Very small b",_shortKey:"b",_on:o}),r.jsx($,{_label:"Short key does not appear in label",_shortKey:"x",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Short Key with Hidden Label"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_label:"short key without label",_hideLabel:!0,_shortKey:"k",_icons:"kolicon-cogwheel",_on:o})})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Short Key with Inline Icons"}),r.jsx("div",{className:"flex flex-wrap gap-4",children:r.jsx($,{_label:"with inline icons",_icons:{left:"kolicon-cogwheel",right:"kolicon-cogwheel"},_shortKey:"n",_on:o})})]})]})]})},KA=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"grid gap-8",children:[r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Animated Spinner Icon via CSS Part"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{className:"spinner-button",_hideLabel:!0,_icons:{left:"kolicon-cogwheel"},_label:"Loading",_variant:"primary",_on:o}),r.jsx($,{className:"spinner-button spinner-slow",_hideLabel:!0,_icons:{left:"kolicon-cogwheel"},_label:"Syncing",_variant:"secondary",_on:o}),r.jsx($,{className:"spinner-button spinner-slower",_hideLabel:!0,_icons:{left:"kolicon-cogwheel"},_label:"Processing",_variant:"tertiary",_on:o})]})]}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Spinner with Label"}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{className:"spinner-button",_icons:{left:"kolicon-cogwheel"},_label:"Loading...",_variant:"primary",_on:o}),r.jsx($,{className:"spinner-button",_icons:{left:"kolicon-cogwheel"},_label:"Syncing...",_variant:"secondary",_on:o})]})]})]}),r.jsx("style",{children:`
|
|
39143
39143
|
@keyframes spin {
|
|
39144
39144
|
from {
|
|
39145
39145
|
transform: rotate(0deg);
|
|
@@ -39186,9 +39186,9 @@ magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolo
|
|
|
39186
39186
|
gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
|
|
39187
39187
|
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos
|
|
39188
39188
|
et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
|
|
39189
|
-
sit amet.`,eO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample demonstrates the ",r.jsx("code",{children:"_adjustHeight"}),"-property of KolTextarea. The textarea automatically grows with its content."]})}),r.jsx(mo,{className:"w-full",children:r.jsx(Qe,{_adjustHeight:!0,_value:W9,_label:"Text input (auto grow)"})})]}),n1=j.forwardRef(function(o,a){return r.jsxs("div",{className:"grid gap-4",children:[r.jsx("div",{className:"black-background",children:r.jsx(Qe,{...o,ref:a,_placeholder:"Placeholder",_label:"Text"})}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_required:!0,_msg:{_type:"error",_description:Ke},_label:"Text",_touched:!0,_hint:To}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"info",_description:"Just a hint"},_touched:!0}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"warning",_description:"Small warning"},_touched:!0}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"success",_description:"Success message"},_touched:!0}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"default",_description:"Default message"},_touched:!0}),r.jsx(Qe,{...o,ref:a,_accessKey:"T",_label:"Text (3 rows)",_rows:3}),r.jsx(Qe,{...o,ref:a,_label:"Text (placeholder)",_rows:3,_placeholder:"Placeholder"}),r.jsx(Qe,{...o,ref:a,_label:"Text (disabled & placeholder)",_rows:3,_placeholder:"Placeholder",_disabled:!0}),r.jsx(Qe,{...o,ref:a,_label:"Text (readonly)",_rows:3,_placeholder:"Placeholder",_readOnly:!0}),r.jsx(Qe,{...o,ref:a,_label:"Text (disabled & value)",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_disabled:!0}),r.jsx(Qe,{...o,ref:a,_label:"With access key",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_accessKey:"c"}),r.jsx(Qe,{...o,ref:a,_label:"With short key",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_shortKey:"s"})]})}),nO=j.forwardRef(function(o,a){return r.jsxs(Uo,{children:[r.jsxs("fieldset",{children:[r.jsx("legend",{children:"Text"}),r.jsx(n1,{...o})]}),r.jsxs("fieldset",{children:[r.jsx("legend",{children:"Text (hideLabel)"}),r.jsx(n1,{ref:a,...o,_hideLabel:!0})]})]})}),oO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolTextarea renders a text field. The sample shows KolTextarea in a form context with different variations and states."})}),r.jsx(Ao,{RefComponent:nO,showButtons:!1})]}),tO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample demonstrates the ",r.jsx("code",{children:"_resize"}),"-property of KolTextarea. The sample textarea can (only) be resized in the given direction."]})}),r.jsx(mo,{className:"w-full",children:r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsx(Qe,{_label:"Text input (unset)"}),r.jsx(Qe,{_resize:"vertical",_label:"Text input (vertical)"}),r.jsx(Qe,{_resize:"none",_label:"Text input (none)"})]})})]}),rO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample demonstrates the ",r.jsx("code",{children:"_rows"}),"-property of KolTextarea. The sample textarea has a fixed row number of 10."]})}),r.jsx(mo,{className:"w-full",children:r.jsx(Qe,{_rows:10,_label:"Texteingabe"})})]}),aO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["The sample demonstrates various ",r.jsx("code",{children:"KolTextarea"})," configurations — contrasting soft vs. hard ",r.jsx("code",{children:"_maxLength"})," settings and the optional",r.jsx("code",{children:"_hasCounter"})," — including one instance without length limits."]})}),r.jsxs("section",{className:"w-full flex flex-col gap-4",children:[r.jsx(Qe,{_label:"Textarea with soft max length",_value:"Lorem Ipsum",className:"mt-2",_maxLength:20,_hasCounter:!0,_maxLengthBehavior:"soft"}),r.jsx(Qe,{_label:"Textarea with max length",_value:"Lorem Ipsum",className:"mt-2",_maxLength:20}),r.jsx(Qe,{_label:"Textarea with max length and counter",_value:"Lorem Ipsum",className:"mt-2",_maxLength:20,_hasCounter:!0}),r.jsx(Qe,{_label:"Textarea with counter",_value:"Lorem Ipsum",className:"mt-2",_hasCounter:!0})]})]}),lO={textarea:{basic:oO,"adjust-height":eO,resize:tO,rows:rO,"with-counter":aO}},iO=()=>{const[e]=ur(),o=e.get("type"),a=Hr.getInstance(document),i=()=>{a.enqueue({description:"Toasty",label:"Initial Toast",type:"warning",onClose:()=>{console.log("Simple toast has been closed.")}})};j.useEffect(()=>{o&&a.enqueue({description:"Toasty",label:`Toast with type '${o}'`,type:o})},[o,a]);const c=()=>{a.enqueue({render:(k,{close:p})=>{Dt(k).render(r.jsx(r.Fragment,{children:r.jsx($,{_label:"Hello World from Toast!",_on:{onClick:()=>{console.log("Toast Button clicked!"),p()}}})}))},label:"Initial Toast",type:"warning"})},d=async()=>{const k=await a.enqueue({description:"I will disappear in two seconds...",label:"Good Bye",type:"warning"});k&&setTimeout(k,2e3)},u=()=>{a.closeAll()};return r.jsxs(r.Fragment,{children:[r.jsxs(oo,{_label:"Component is DEPRECATED",_type:"error",_variant:"card",className:"header-alert",children:["For more information, please refer ",r.jsx(ge,{_href:"https://public-ui.github.io/en/docs/components/toaster",_target:"_blank",_label:"to the documentation"}),"."]}),r.jsx(U,{children:r.jsx("p",{children:"This sample demonstrates the toast service with all its options."})}),r.jsx("section",{className:"grid gap-4",children:r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx($,{_label:"Show simple toast",_on:{onClick:i}}),r.jsx($,{_label:"Show complex toast",_on:{onClick:c}}),r.jsx($,{_label:"Show toast and close after 2 seconds",_on:{onClick:()=>void d()}}),r.jsx($,{_label:"Close all toasts",_on:{onClick:u}})]})})]})},Rk=["default","info","success","warning","error"],cO=Rk.map(e=>({label:e,value:e})),o1=e=>typeof e=="string"&&Rk.includes(e),sO=()=>{const[e]=ur(),o=e.get("type"),a=o1(o)?o:void 0,[i,c]=j.useState(()=>a??"default"),d=j.useMemo(()=>Hr.getInstance(document),[]);j.useEffect(()=>(Rk.forEach(m=>{d.enqueue({description:"Toasty",label:`Toast with type '${m}'`,type:m})}),()=>{d.closeAll()}),[d]),j.useEffect(()=>{a&&c(a)},[a]);const u=(m,g)=>{o1(g)&&c(g)},k=()=>{d.enqueue({description:"Toasty",label:`Toast with type '${i}'`,type:i})},p=()=>{d.closeAll()};return r.jsxs(r.Fragment,{children:[r.jsxs(oo,{_label:"Component is DEPRECATED",_type:"error",_variant:"card",className:"header-alert",children:["For more information, please refer ",r.jsx(ge,{_href:"https://public-ui.github.io/en/docs/components/toaster",_target:"_blank",_label:"to the documentation"}),"."]}),r.jsx(U,{children:r.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."})}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(On,{_orientation:"horizontal",_label:"Toast type",_value:i,_options:cO,_on:{onChange:u}}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx($,{_label:`Open ${i} toast`,_on:{onClick:k}}),r.jsx($,{_label:"Close all toasts",_on:{onClick:p}})]})]})]})},dO={toast:{basic:iO,configurator:sO}},uO=()=>{const 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:"link",_href:"#/back-page",_label:"Simple Link 1"},{type:"link",_href:"#/back-page",_label:"Simple Link 3"},{type:"button",_label:"Bold",_variant:"secondary"},{type:"button",_label:"Delete",_icons:{right:{icon:"kolicon-cross"}},_variant:"danger"}];return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsx(ne,{_label:"Orientation horizontal",_level:2}),r.jsx(xa,{class:"block w-fit",_label:"Toolbar",_items:e}),r.jsx(ne,{_label:"Orientation vertical",_level:2}),r.jsx(xa,{class:"block w-fit",_label:"Toolbar",_items:e,_orientation:"vertical"})]})]})},fO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolToolbars with some of the elements disabled."})}),r.jsx(xa,{_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"}]})]}),bO={toolbar:{basic:uO,disabled:fO}},kO=()=>{const e=["🐶","🐱","🐭","🐹","🐰","🦊","🐻","🐼","🐨","🐯","🦁","🐮","🐷","🐽","🐸","🐵"];return e[Math.floor(Math.random()*e.length)]},pO=()=>{const e=j.useContext(yk),{subPage:o}=B6(),[a,i]=j.useState("1 Home"),[c,d]=j.useState(!1),[u,k]=j.useState(!1),[p,m]=j.useState(!0),g=()=>{i(`1 Home ${kO()}`)},h=_=>({_href:`#/tree/basic/${_}${e?"?hideMenus":""}`,_active:_===o});return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolTree renders a keyboard accessible nested navigation. Branches of the tree can be collapsed or expanded."})}),r.jsxs(D1,{_label:"Sitemap",class:"block w-fit",children:[r.jsx(no,{_label:a,...h("home")}),r.jsxs(no,{_label:"2 About (open initially)",...h("about"),_open:!0,children:[r.jsx(no,{_label:"2.0 Legal",...h("legal")}),r.jsxs(no,{_label:"2.1 Team",...h("team"),children:[r.jsx(no,{_label:"2.1.1. Values",...h("values")}),r.jsxs(no,{_label:"2.1.2. Members",...h("members"),children:[r.jsx(no,{_label:"2.1.2.1 Humans",...h("humans")}),c&&r.jsx(no,{_label:"2.1.2.2 Pets",...h("pets")})]}),r.jsx(no,{_label:"2.1.3 Locations",...h("locations"),children:u&&r.jsxs(no,{_label:"2.1.3.1 Europe",...h("europe"),children:[r.jsx(no,{_label:"2.1.3.1.1 Denmark",...h("denmark")}),r.jsx(no,{_label:"2.1.3.1.2 Netherlands",...h("netherlands")})]})})]})]}),p&&r.jsxs(no,{_label:"3. Products",...h("products"),children:[r.jsxs(no,{_label:"3.1 Home",...h("home-products"),children:[r.jsx(no,{_label:"3.1.1 Refrigerators",...h("fridges")}),r.jsx(no,{_label:"3.1.2 Coffee makers",...h("coffee-makers")})]}),r.jsx(no,{_label:"3.1 Office",...h("office-products"),children:r.jsx(no,{_label:"3.2.1 Printers",...h("printers")})})]})]}),r.jsxs("p",{children:["Current tree item: ",o??"none"]}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx($,{_label:"Change label for '1 Home'",_on:{onClick:g}}),r.jsx($,{_label:"Toggle '2.1.2.2 Pets'",_on:{onClick:()=>d(!c)}}),r.jsx($,{_label:"Toggle '2.2.1 Europe' (two levels at once)",_on:{onClick:()=>k(!u)}}),r.jsx($,{_label:"Toggle '3. Products'",_on:{onClick:()=>m(!p)}})]})]})},mO={tree:{"basic/:subPage":pO}},vO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolVersion renders a label showing the given version number."})}),r.jsx(od,{_label:"1.1.1"})]}),hO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolVersion inline with text paragraph content."})}),r.jsxs("p",{children:[r.jsx(od,{_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."]})]}),gO={version:{basic:vO,context:hO}},_O=({label:e})=>{const o=Hr.getInstance(document),a=j.useRef(null),i=j.useRef(null),c=()=>{o.enqueue({label:"Edit clicked",description:`The button "edit" has been clicked for ${e}`,type:"info"})},d=()=>{o.enqueue({label:"Delete clicked",description:`The button "delete" has been clicked for ${e}`,type:"warning"})},u=k=>{switch(k.code){case"KeyE":a.current?.focus(),c();return;case"KeyD":i.current?.focus(),d();return}};return r.jsxs("div",{style:{display:"flex",gap:"calc(10rem / var(--kolibri-root-font-size, 16))"},onKeyUp:u,children:[r.jsx($,{ref:a,_label:"Edit",_shortKey:"e",_on:{onClick:c}}),r.jsx($,{ref:i,_label:"Delete",_shortKey:"d",_variant:"danger",_on:{onClick:d}})]})},xO=()=>{const e=[{label:"Row 1"},{label:"Row 2"},{label:"Row 3"},{label:"Row 4"}],o={horizontal:[[{label:"Label",key:"label",textAlign:"left",width:200},{label:"Actions",key:"actions",textAlign:"left",width:150,render:(a,i)=>{const c=i.data;c?.label&&Dt(Kr(a)).render(r.jsx(_O,{label:c.label}))}}]]};return r.jsxs(r.Fragment,{children:[r.jsxs(U,{children:[r.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."}),r.jsxs("p",{children:[r.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.']})]}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Interactive Table with Button Shortkeys"}),r.jsx(on,{_label:"Interactive table with shortkey buttons in each row",_data:e,_headers:o,_pagination:{_page:1}})]})})]})},yO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This example show how different components works with tabIndex."})}),r.jsxs("div",{className:"w-full grid gap-4",children:[r.jsx($e,{_label:"Button",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx($,{_label:"Button 1, Tabindex 4",_variant:"primary",tabIndex:4}),r.jsx($,{_disabled:!0,_label:"Button 2, Tabindex 3",_variant:"primary",tabIndex:3}),r.jsx($,{_label:"Button 3, Tabindex 2",_variant:"primary",tabIndex:2}),r.jsx($,{_label:"Button 4, Tabindex 1",_variant:"primary",tabIndex:1})]})}),r.jsx($e,{_label:"ButtonLink",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(He,{_label:"ButtonLink 1, Tabindex 4",tabIndex:4}),r.jsx(He,{_disabled:!0,_label:"ButtonLink 2, Tabindex 3",tabIndex:3}),r.jsx(He,{_label:"ButtonLink 3, Tabindex 2",tabIndex:2}),r.jsx(He,{_label:"ButtonLink 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"Combobox",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(po,{_hint:To,_label:"Combobox 1, Tabindex 4",_suggestions:nt,_value:"Deutschland",tabIndex:4}),r.jsx(po,{_disabled:!0,_hint:To,_label:"Combobox 2, Tabindex 3",_suggestions:nt,_value:"Deutschland",tabIndex:3}),r.jsx(po,{_touched:!0,_hint:To,_msg:{_type:"error",_description:Ke},_label:"Combobox 3, Tabindex 2",_suggestions:nt,_value:"Deutschland",tabIndex:2}),r.jsx(po,{_hint:To,_label:"Combobox 4, Tabindex 1",_suggestions:nt,_value:"Deutschland",tabIndex:1})]})}),r.jsx($e,{_label:"InputCheckbox",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(an,{_label:"InputCheckbox 4, Tabindex 1",_value:!1,tabIndex:4}),r.jsx(an,{_disabled:!0,_label:"InputCheckbox 3, Tabindex 2",_value:!1,tabIndex:3}),r.jsx(an,{_touched:!0,_label:"InputCheckbox 2, Tabindex 3",_msg:{_type:"error",_description:Ke},_value:!1,tabIndex:2}),r.jsx(an,{_label:"InputCheckbox 1, Tabindex 4",_value:!1,tabIndex:1})]})}),r.jsx($e,{_label:"InputColor",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Kn,{_value:"#f08080",_label:"InputCheckbox 1, Tabindex 4",tabIndex:4}),r.jsx(Kn,{_disabled:!0,_value:"#f08080",_label:"InputCheckbox 2, Tabindex 3",tabIndex:3}),r.jsx(Kn,{_touched:!0,_value:"#f08080",_label:"InputCheckbox 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Kn,{_value:"#f08080",_label:"InputCheckbox 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputDate",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Fe,{_type:"datetime-local",_label:"InputCheckbox 1, Tabindex 4",tabIndex:4}),r.jsx(Fe,{_disabled:!0,_type:"datetime-local",_label:"InputCheckbox 2, Tabindex 3",tabIndex:3}),r.jsx(Fe,{_touched:!0,_type:"datetime-local",_label:"InputCheckbox 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Fe,{_type:"datetime-local",_label:"InputCheckbox 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputEmail",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Hn,{_label:"InputEmail 1, Tabindex 4",tabIndex:4}),r.jsx(Hn,{_disabled:!0,_label:"InputEmail 2, Tabindex 3",tabIndex:3}),r.jsx(Hn,{_touched:!0,_label:"InputEmail 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Hn,{_label:"InputEmail 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputFile",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Nn,{_label:"InputFile 1, Tabindex 4",tabIndex:4}),r.jsx(Nn,{_disabled:!0,_label:"InputFile 2, Tabindex 3",tabIndex:3}),r.jsx(Nn,{_touched:!0,_label:"InputFile 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Nn,{_label:"InputFile 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputNumber",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(yn,{_label:"InputNumber 1, Tabindex 4",tabIndex:4}),r.jsx(yn,{_disabled:!0,_label:"InputNumber 2, Tabindex 3",tabIndex:3}),r.jsx(yn,{_touched:!0,_label:"InputNumber 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(yn,{_label:"InputNumber 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputPassword",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(An,{_label:"InputPassword 1, Tabindex 4",tabIndex:4}),r.jsx(An,{_disabled:!0,_label:"InputPassword 2, Tabindex 3",tabIndex:3}),r.jsx(An,{_touched:!0,_label:"InputPassword 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(An,{_label:"InputPassword 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputRadio",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(On,{_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"InputRadio 1, Tabindex 4",tabIndex:4}),r.jsx(On,{_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}),r.jsx(On,{_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:Ke},tabIndex:2})," ",r.jsx(On,{_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"InputRadio 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputRange",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Vn,{_label:"InputRange 1, Tabindex 4",_min:0,_max:50,tabIndex:4}),r.jsx(Vn,{_disabled:!0,_label:"InputRange 2, Tabindex 3",_min:0,_max:50,tabIndex:3}),r.jsx(Vn,{_touched:!0,_label:"InputRange 3, Tabindex 2",_min:0,_max:50,_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Vn,{_label:"InputRange 4, Tabindex 1",_min:0,_max:50,tabIndex:1})]})}),r.jsx($e,{_label:"InputText",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(fe,{_label:"InputText 1, Tabindex 4",tabIndex:4}),r.jsx(fe,{_disabled:!0,_label:"InputText 2, Tabindex 3",tabIndex:3}),r.jsx(fe,{_touched:!0,_label:"InputText 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(fe,{_label:"InputText 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"LinkButton",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Xe,{_href:"#/back-page",_label:"InputText 1, Tabindex 4",_variant:"primary",tabIndex:4}),r.jsx(Xe,{_disabled:!0,_href:"#/back-page",_label:"InputText 2, Tabindex 3",_variant:"primary",tabIndex:3}),r.jsx(Xe,{_href:"#/back-page",_label:"InputText 3, Tabindex 2",_variant:"primary",tabIndex:2}),r.jsx(Xe,{_href:"#/back-page",_label:"InputText 4, Tabindex 1",_variant:"primary",tabIndex:1})]})}),r.jsx($e,{_label:"Link",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(ge,{_href:"#/back-page",_label:"InputText 1, Tabindex 4",tabIndex:4}),r.jsx(ge,{_disabled:!0,_href:"#/back-page",_label:"InputText 2, Tabindex 3",tabIndex:3}),r.jsx(ge,{_href:"#/back-page",_label:"InputText 3, Tabindex 2",tabIndex:2}),r.jsx(ge,{_href:"#/back-page",_label:"InputText 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"SingleSelect",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(ko,{_label:"InputText 1, Tabindex 4",_options:et,_value:"de",tabIndex:4}),r.jsx(ko,{_disabled:!0,_label:"InputText 2, Tabindex 3",_options:et,_value:"de",tabIndex:3}),r.jsx(ko,{_touched:!0,_label:"InputText 3, Tabindex 2",_options:et,_msg:{_type:"error",_description:Ke},_value:"de",tabIndex:2}),r.jsx(ko,{_label:"InputText 4, Tabindex 1",_options:et,_value:"de",tabIndex:1})]})}),r.jsx($e,{_label:"SplitButton",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(yl,{_label:"InputText 1, Tabindex 4",tabIndex:4,children:"Dropdown-Inhalt"}),r.jsx(yl,{_label:"InputText 2, Tabindex 3",tabIndex:3,_disabled:!0,children:"Dropdown-Inhalt"}),r.jsx(yl,{_label:"InputText 3, Tabindex 2",tabIndex:2,children:"Dropdown-Inhalt"}),r.jsx(yl,{_label:"InputText 4, Tabindex 1",tabIndex:1,children:"Dropdown-Inhalt"})]})}),r.jsx($e,{_label:"Textarea",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Qe,{_label:"Textarea 1, Tabindex 4",_rows:3,_placeholder:"Placeholder",tabIndex:4}),r.jsx(Qe,{_disabled:!0,_label:"Textarea 2, Tabindex 3",_rows:3,_placeholder:"Placeholder",tabIndex:3}),r.jsx(Qe,{_touched:!0,_label:"Textarea 3, Tabindex 2",_rows:3,_placeholder:"Placeholder",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Qe,{_label:"Textarea 4, Tabindex 1",_rows:3,_placeholder:"Placeholder",tabIndex:1})]})})]})]}),wO=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample demonstrates how tooltip animation duration and width can be customized via",r.jsx("code",{children:"--kolibri-tooltip-animation-duration"})," and ",r.jsx("code",{children:"--kol-tooltip-width"}),"."]})}),r.jsxs("div",{className:"flex justify-center items-center gap-4",children:[r.jsx($,{_label:"Custom duration",_hideLabel:!0,style:{"--kolibri-tooltip-animation-duration":"2500ms"},_icons:"fa-solid fa-clock",_on:o}),r.jsx($,{_label:"Custom width",_hideLabel:!0,style:{"--kol-tooltip-width":"400px"},_icons:"kolicon-chevron-up",_on:o})]})]})},zO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolForm with KolInputDate inside to make sure enter on the date icon does not submit the form."})}),r.jsxs(mo,{_on:{onSubmit:()=>{console.error("submitted"),alert("submitted")}},children:[r.jsx(Fe,{_label:"date",_name:"datum"}),r.jsx($,{_label:"Submit",_type:"submit"})]})]}),js=[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],jO=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsxs(U,{children:[r.jsx("p",{children:"This example shows how deactivated interactive elements are displayed."}),r.jsxs("ul",{children:[r.jsx("li",{children:"Deactivated interactive elements pose a particular challenge for accessibility."}),r.jsx("li",{children:"It must not be possible to focus on deactivated interactive elements, otherwise the tab paths will be unnecessarily extended."}),r.jsx("li",{children:"Deactivated interactive elements should be labelled clearly and legibly."}),r.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."})]}),r.jsx("p",{children:"This implementation ensures standardized use for all users."})]}),r.jsxs("div",{className:"w-full grid gap-4",children:[r.jsx($e,{_label:"Button",_level:0,children:r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"Label",_on:o}),r.jsx($,{_disabled:!0,_label:"Label",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Label",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Label",_on:o})]})}),r.jsx($e,{_label:"ButtonLink",_level:0,children:r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(He,{_label:"Label"}),r.jsx(He,{_disabled:!0,_label:"Label"}),r.jsx(He,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Label"}),r.jsx(He,{_hideLabel:!0,_icons:"fa-solid fa-house",_disabled:!0,_label:"Label"})]})}),r.jsx($e,{_label:"Link",_level:0,children:r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(ge,{_href:"#",_label:"Label"}),r.jsx(ge,{_disabled:!0,_href:"#",_label:"Label"}),r.jsx(ge,{_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Label"}),r.jsx(ge,{_disabled:!0,_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Label"})]})}),r.jsx($e,{_label:"LinkButton",_level:0,children:r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(Xe,{_href:"#",_label:"Label"}),r.jsx(Xe,{_disabled:!0,_href:"#",_label:"Label"}),r.jsx(Xe,{_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Label"}),r.jsx(Xe,{_disabled:!0,_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Label"})]})}),r.jsx($e,{_label:"Accordion",_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(qn,{_label:"Label",children:"Content"}),r.jsx(qn,{_disabled:!0,_label:"Label",children:"Content"}),r.jsx(qn,{_label:"Label (open)",_open:!0,children:"Content"}),r.jsx(qn,{_disabled:!0,_label:"Label (open)",_open:!0,children:"Content"})]})}),r.jsx($e,{_label:"Details",_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(ar,{_label:"Label",children:"Content"}),r.jsx(ar,{_disabled:!0,_label:"Label",children:"Content"}),r.jsx(ar,{_label:"Label (open)",_open:!0,children:"Content"}),r.jsx(ar,{_disabled:!0,_label:"Label (open)",_open:!0,children:"Content"})]})}),[an,Kn,Fe,Hn,Nn,yn,An,Vn,fe].map(a=>{const c=a.render.displayName;return r.jsx($e,{_label:c,_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(a,{_label:"Label"}),r.jsx(a,{_disabled:!0,_label:"Label"}),r.jsx(a,{_hideLabel:!0,_label:"Label"}),r.jsx(a,{_disabled:!0,_hideLabel:!0,_label:"Label"})]})},c)}),[On,Qn].map(a=>{const c=a.render.displayName;return r.jsx($e,{_label:c,_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(a,{_label:"Label",_options:js}),r.jsx(a,{_disabled:!0,_label:"Label",_options:js}),r.jsx(a,{_hideLabel:!0,_label:"Label",_options:js}),r.jsx(a,{_disabled:!0,_hideLabel:!0,_label:"Label",_options:js})]})},c)}),r.jsx($e,{_label:"KolTextarea",_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(Qe,{_label:"Label",_rows:3}),r.jsx(Qe,{_disabled:!0,_label:"Label",_rows:3}),r.jsx(Qe,{_hideLabel:!0,_label:"Label",_rows:3}),r.jsx(Qe,{_disabled:!0,_hideLabel:!0,_label:"Label",_rows:3})]})})]})]})},w0=()=>{const e=new Map;return e.set("inputCheckbox",(o,a)=>r.jsx(an,{className:"w-full",_name:"checkbox",_label:"Checkbox",ref:a})),e.set("inputColor",(o,a)=>r.jsx(Kn,{className:"w-full",_name:"color",_label:"Color",ref:a})),e.set("inputDate",(o,a)=>r.jsx(Fe,{className:"w-full",_name:"date",_label:"Date",ref:a})),e.set("inputEmail",(o,a)=>r.jsx(Hn,{className:"w-full",_name:"email",_label:"Email",ref:a})),e.set("inputFile",(o,a)=>r.jsx(Nn,{className:"w-full",_name:"file",_label:"File",ref:a})),e.set("inputFileMultiple",(o,a)=>r.jsx(Nn,{className:"w-full",_name:"file",_label:"Files (multiple)",_multiple:!0,ref:a})),e.set("inputNumber",(o,a)=>r.jsx(yn,{className:"w-full",_name:"number",_label:"Number",ref:a})),e.set("inputPassword",(o,a)=>r.jsx(An,{className:"w-full",_name:"password",_label:"Password",ref:a})),e.set("inputRadio",(o,a)=>r.jsx(On,{className:"w-full",_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_value:"A",ref:a})),e.set("inputRange",(o,a)=>r.jsx(Vn,{className:"w-full",_name:"range",_label:"Range",ref:a})),e.set("inputText",(o,a)=>r.jsx(fe,{className:"w-full",_name:"text",_label:"Text",ref:a})),e.set("select",(o,a)=>r.jsx(Qn,{className:"w-full",_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],ref:a})),e.set("selectMultiple",(o,a)=>r.jsx(Qn,{className:"w-full",_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2,ref:a})),e.set("singleSelect",(o,a)=>r.jsx(ko,{className:"w-full",_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],ref:a})),e.set("textarea",(o,a)=>r.jsx(Qe,{className:"w-full",_name:"textarea",_label:"Textarea",_rows:5,ref:a})),e.set("accordion",(o,a)=>r.jsx(qn,{className:"w-full",_label:"Accordion here",ref:a})),e.set("button",(o,a)=>r.jsx("div",{children:r.jsx($,{_label:"Button here",ref:a})})),e.set("buttonLink",(o,a)=>r.jsx(He,{_label:"ButtonLink here",ref:a})),e.set("combobox",(o,a)=>r.jsx(po,{className:"w-full",_label:"KolCombobox here",_suggestions:[],ref:a})),e.set("details",(o,a)=>r.jsx(ar,{className:"w-full",_label:"Details here",ref:a,children:"detailed details"})),e.set("link",(o,a)=>r.jsx(ge,{className:"w-full",_label:"Link here",_href:"#",ref:a})),e.set("linkButton",(o,a)=>r.jsx("div",{children:r.jsx(Xe,{_label:"LinkButton here",_href:"#",ref:a})})),e},t1=e=>{const a=[...j.useMemo(()=>w0(),[]).keys()].map(i=>i);return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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&&r.jsx(oo,{_type:"error",_variant:"card",children:"Component not found."}),r.jsx(ne,{_level:2,_label:"Focus Test Cases"}),r.jsx("ul",{children:a.map(i=>r.jsx("li",{children:r.jsx(ge,{_label:i,_href:`#/scenarios/focus-elements?component=${i}`})},i))})]})},SO=()=>{const e=j.useRef(null),o=j.useMemo(()=>w0(),[]),[a]=ur(),i=a.get("component");if(j.useLayoutEffect(()=>{setTimeout(()=>{e.current?.focus()},500)},[e]),i){const c=o.get(i);if(!c)return r.jsx(t1,{invalidComponent:!0});const d=j.forwardRef(c);return r.jsx(d,{ref:e})}else return r.jsx(t1,{})},TO=[{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}],AO=[{_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}],EO={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 CO(){return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"mainlayout",children:[r.jsx("aside",{className:"nav-area",children:r.jsx(jl,{_label:"Main navigation",_links:v0,_hasCompactButton:!0,_hasIconsWhenExpanded:!0})}),r.jsx("div",{className:"content",children:r.jsxs(ir,{_tabs:AO,_align:"top",_label:"Demo Tabs",children:[r.jsx("div",{style:{overflow:"hidden"},children:r.jsx(on,{_label:"Table for demonstration purposes with horizontal scrollbar",_headers:EO,_data:TO,_pagination:{_page:1},className:"block"})}),r.jsx("div",{}),r.jsx("div",{}),r.jsx("div",{})]})})]})]})}const LO=()=>{const e="Unrecognized phone number.",o="Choose at least two and up to five toppings.",a=["Mushrooms","Bell Peppers","Onions","Olives","Spinach","Tomatoes","Artichokes","Zucchini","Jalapeños","Basil"],i=[{label:"United States +1",value:"1"},{label:"Greece +30 ",value:"30"},{label:"Germany +49",value:"49"},{label:"Japan +81",value:"81"}];return r.jsxs(r.Fragment,{children:[r.jsxs(U,{children:[r.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."}),r.jsx("p",{children:"The sample only demonstrates how the errors can be displayed, an actual validation logic is not part of the example."})]}),r.jsxs("fieldset",{children:[r.jsx("legend",{children:"Phone number"}),r.jsx(oo,{_alert:!0,_type:"error",_label:e}),r.jsxs("div",{className:"grid grid-cols-3 gap-4 max-w-2xl",children:[r.jsx(Qn,{_options:i,_label:"CountryCode ",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0}),r.jsx(fe,{_label:"Area code",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0}),r.jsx(fe,{_label:"Local number",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0})]})]}),r.jsxs("fieldset",{className:"mt",children:[r.jsx("legend",{children:"Pizza toppings"}),r.jsx(oo,{_alert:!0,_type:"error",_label:o}),a.map(c=>r.jsx(an,{_label:c,_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0},c))]})]})},z0=j.createContext(void 0),j0=j.createContext(!1),bo=e=>{const o=j.useRef(null),[a,i]=j.useState(void 0),[c,d]=j.useState(e.inputProps._value),u=e.formatter||JSON.stringify,k=j.useContext(z0),p=j.useContext(j0),m=async()=>{const h=await o.current?.getValue();i(h)};j.useEffect(()=>{const h=()=>{m()};return k?.addEventListener("runAll",h),()=>{k?.removeEventListener("runAll",h)}},[k]);const g=Object.fromEntries(["onInput","onChange","onBlur","onClick","onFocus","onMouseDown"].map(h=>[h,(_,w)=>{p&&console.log(e.inputProps._label,h,w,_),h==="onInput"&&d(w)}]));return r.jsx(r.Fragment,{children:r.jsxs("div",{className:"grid grid-cols-3 items-end gap-4","data-testid":e.testId,children:[r.jsx(e.InputComponent,{ref:o,_on:g,...e.inputProps,_value:c}),r.jsx($,{_label:"getValue()",_on:{onClick:()=>{m()}}}),r.jsx("pre",{className:"text-base",children:u(a)})]})})},NO=()=>{const e=j.useMemo(()=>new EventTarget,[]),[o,a]=j.useState(!0);return r.jsx(r.Fragment,{children:r.jsx(z0.Provider,{value:e,children:r.jsxs(j0.Provider,{value:o,children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample shows how the input components ",r.jsx("code",{children:"getValue()"}),` method works. It's called when clicking the "getValue()" button and prints the current value right next to itself.`]})}),r.jsxs("section",{className:"w-full flex flex-col",children:[r.jsx($e,{_label:"Sample options",className:"block ha mb-8",children:r.jsx(an,{_label:"Log events to console",_value:!0,_checked:o,_on:{onChange:(i,c)=>a(c)}})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(bo,{testId:"scenario-inputText",InputComponent:fe,inputProps:{_label:"InputText"}}),r.jsx(bo,{testId:"scenario-inputCheckboxString",InputComponent:an,inputProps:{_label:"KolInputCheckbox (value)",_value:"Checkbox True Value"}}),r.jsx(bo,{testId:"scenario-inputCheckboxBoolean",InputComponent:an,inputProps:{_label:"KolInputCheckbox (boolean)"}}),r.jsx(bo,{testId:"scenario-inputColor",InputComponent:Kn,inputProps:{_label:"KolInputColor"}}),r.jsx(bo,{testId:"scenario-inputDate",InputComponent:Fe,inputProps:{_label:"KolInputDate"}}),r.jsx(bo,{testId:"scenario-inputEmail",InputComponent:Hn,inputProps:{_label:"KolInputEmail"}}),r.jsx(bo,{testId:"scenario-inputFile",InputComponent:Nn,inputProps:{_label:"KolInputFile"},formatter:i=>i instanceof FileList?`FileList{${Array.from(i).map(c=>c.name).join(", ")}}`:JSON.stringify(i)}),r.jsx(bo,{testId:"scenario-inputNumber",InputComponent:yn,inputProps:{_label:"KolInputNumber"}}),r.jsx(bo,{testId:"scenario-inputPassword",InputComponent:An,inputProps:{_label:"KolInputPassword"}}),r.jsx(bo,{testId:"scenario-inputRange",InputComponent:Vn,inputProps:{_label:"KolInputRange"}}),r.jsx(bo,{testId:"scenario-inputRadio",InputComponent:On,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"}}),r.jsx(bo,{testId:"scenario-select",InputComponent:Qn,inputProps:{_label:"KolSelect",_options:[{label:"New York",value:"New York"},{label:"Rio de Janeiro",value:"Rio de Janeiro"},{label:"Rosenheim",value:"Rosenheim"}]}}),r.jsx(bo,{testId:"scenario-singleSelect",InputComponent:ko,inputProps:{_label:"KolSingleSelect",_options:[{label:"New York",value:"New York"},{label:"Rio de Janeiro",value:"Rio de Janeiro"},{label:"Rosenheim",value:"Rosenheim"}],_value:"Rosenheim"}}),r.jsx(bo,{testId:"scenario-combobox",InputComponent:po,inputProps:{_label:"KolCombobox",_suggestions:nt,_value:"Deutschland"}}),r.jsx(bo,{testId:"scenario-textarea",InputComponent:Qe,inputProps:{_label:"KolTextarea"}}),r.jsx(bo,{testId:"scenario-button",InputComponent:$,inputProps:{_label:"KolButton",_variant:"ghost",_value:"KolButton value"}}),r.jsx(bo,{testId:"scenario-buttonLink",InputComponent:He,inputProps:{_label:"KolButtonLink",_value:"KolButtonLink value"}}),r.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[r.jsx("div",{}),r.jsx($,{_label:"Run all",_variant:"primary",_on:{onClick:()=>{e.dispatchEvent(new Event("runAll"))}}})]})]})]})]})})})},OO=()=>{const[e,o]=j.useState(100),[a,i]=j.useState(null),[c,d]=j.useState(null),[u,k]=j.useState(!1),p={onInput:(w,L)=>{o(L)}},m=(w,L)=>{switch(w){case"text":return r.jsx(fe,{_label:`TextInput #${L}`},L);case"number":return r.jsx(yn,{_label:`NumberInput #${L}`},L);case"checkbox":return r.jsx(an,{_label:`Checkbox #${L}`},L);case"skeleton":return r.jsx(R1,{_count:3,_name:`skeleton-${L}`},L);default:return null}},g=()=>{if(!a)return null;const w=[];for(let L=1;L<=e;L++)w.push(m(a,L));return w},h=w=>{k(!0),d(null);const L=performance.now();i(w),setTimeout(()=>{const S=performance.now();d(S-L),k(!1)},0)},_=()=>{i(null),d(null),k(!1)};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"w-full mb-6",children:[r.jsx("div",{className:"flex flex-wrap items-end gap-4 mb-4",children:r.jsx(yn,{_label:"Number of components",_value:e,_min:1,_max:500,_on:p})}),r.jsxs("div",{className:"flex flex-wrap gap-4 mb-6",children:[r.jsx($,{_label:"Render TextInputs",_variant:"primary",onClick:()=>h("text")}),r.jsx($,{_label:"Render NumberInputs",_variant:"primary",onClick:()=>h("number")}),r.jsx($,{_label:"Render Checkboxes",_variant:"primary",onClick:()=>h("checkbox")}),r.jsx($,{_label:"Render Skeletons",_variant:"primary",onClick:()=>h("skeleton")}),r.jsx($,{_label:"Clear",_variant:"secondary",onClick:_})]})]}),a&&r.jsxs("div",{className:"w-full mb-4",children:[r.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["Rendering ",e," ",a," component",e!==1?"s":""]}),u&&r.jsx("p",{className:"text-sm text-blue-600",children:"⏱️ Measuring render time..."}),c!==null&&!u&&r.jsxs("p",{className:"text-sm text-green-600",children:["✅ Render time: ",c.toFixed(2),"ms"]})]}),r.jsx("div",{className:"w-full grid gap-4",children:g()})]})};var RO=e=>e.type==="checkbox",Mi=e=>e instanceof Date,Dk=e=>e==null;const S0=e=>typeof e=="object";var wa=e=>!Dk(e)&&!Array.isArray(e)&&S0(e)&&!Mi(e),DO=e=>wa(e)&&e.target?RO(e.target)?e.target.checked:e.target.value:e,$O=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,BO=(e,o)=>e.has($O(o)),MO=e=>{const o=e.constructor&&e.constructor.prototype;return wa(o)&&o.hasOwnProperty("isPrototypeOf")},IO=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function T0(e){let o;const a=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)o=new Date(e);else if(!(IO&&(e instanceof Blob||i))&&(a||wa(e)))if(o=a?[]:Object.create(Object.getPrototypeOf(e)),!a&&!MO(e))o=e;else for(const c in e)e.hasOwnProperty(c)&&(o[c]=T0(e[c]));else return e;return o}var A0=e=>/^\w*$/.test(e),Xb=e=>e===void 0,UO=e=>Array.isArray(e)?e.filter(Boolean):[],E0=e=>UO(e.replace(/["|']|\]/g,"").split(/\.|\[/)),$o=(e,o,a)=>{if(!o||!wa(e))return a;const i=(A0(o)?[o]:E0(o)).reduce((c,d)=>Dk(c)?c:c[d],e);return Xb(i)||i===e?Xb(e[o])?a:e[o]:i},ub=e=>typeof e=="boolean",r1=(e,o,a)=>{let i=-1;const c=A0(o)?[o]:E0(o),d=c.length,u=d-1;for(;++i<d;){const k=c[i];let p=a;if(i!==u){const m=e[k];p=wa(m)||Array.isArray(m)?m:isNaN(+c[i+1])?{}:[]}if(k==="__proto__"||k==="constructor"||k==="prototype")return;e[k]=p,e=e[k]}};const a1={BLUR:"blur",CHANGE:"change"},l1={all:"all"},C0=le.createContext(null);C0.displayName="HookFormContext";const $k=()=>le.useContext(C0);var FO=(e,o,a,i=!0)=>{const c={defaultValues:o._defaultValues};for(const d in e)Object.defineProperty(c,d,{get:()=>{const u=d;return o._proxyFormState[u]!==l1.all&&(o._proxyFormState[u]=!i||l1.all),a&&(a[u]=!0),e[u]}});return c};const L0=typeof window<"u"?le.useLayoutEffect:le.useEffect;function KO(e){const o=$k(),{control:a=o.control,disabled:i,name:c,exact:d}=e||{},[u,k]=le.useState(a._formState),p=le.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return L0(()=>a._subscribe({name:c,formState:p.current,exact:d,callback:m=>{!i&&k({...a._formState,...m})}}),[c,i,d]),le.useEffect(()=>{p.current.isValid&&a._setValid(!0)},[a]),le.useMemo(()=>FO(u,a,p.current,!1),[u,a])}var HO=e=>typeof e=="string",VO=(e,o,a,i,c)=>HO(e)?$o(a,e,c):Array.isArray(e)?e.map(d=>$o(a,d)):a,i1=e=>Dk(e)||!S0(e);function N0(e,o,a=new WeakSet){if(i1(e)||i1(o))return e===o;if(Mi(e)&&Mi(o))return e.getTime()===o.getTime();const i=Object.keys(e),c=Object.keys(o);if(i.length!==c.length)return!1;if(a.has(e)||a.has(o))return!0;a.add(e),a.add(o);for(const d of i){const u=e[d];if(!c.includes(d))return!1;if(d!=="ref"){const k=o[d];if(Mi(u)&&Mi(k)||wa(u)&&wa(k)||Array.isArray(u)&&Array.isArray(k)?!N0(u,k,a):u!==k)return!1}}return!0}function qO(e){const o=$k(),{control:a=o.control,name:i,defaultValue:c,disabled:d,exact:u,compute:k}=e||{},p=le.useRef(c),m=le.useRef(k),g=le.useRef(void 0);m.current=k;const h=le.useMemo(()=>a._getWatch(i,p.current),[a,i]),[_,w]=le.useState(m.current?m.current(h):h);return L0(()=>a._subscribe({name:i,formState:{values:!0},exact:u,callback:L=>{if(!d){const S=VO(i,a._names,L.values||a._formValues,!1,p.current);if(m.current){const T=m.current(S);N0(T,g.current)||(w(T),g.current=T)}else w(S)}}}),[a,d,i,u]),le.useEffect(()=>a._removeUnmounted()),_}function ZO(e){const o=$k(),{name:a,disabled:i,control:c=o.control,shouldUnregister:d,defaultValue:u}=e,k=BO(c._names.array,a),p=le.useMemo(()=>$o(c._formValues,a,$o(c._defaultValues,a,u)),[c,a,u]),m=qO({control:c,name:a,defaultValue:p,exact:!0}),g=KO({control:c,name:a,exact:!0}),h=le.useRef(e),_=le.useRef(void 0),w=le.useRef(c.register(a,{...e.rules,value:m,...ub(e.disabled)?{disabled:e.disabled}:{}}));h.current=e;const L=le.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!$o(g.errors,a)},isDirty:{enumerable:!0,get:()=>!!$o(g.dirtyFields,a)},isTouched:{enumerable:!0,get:()=>!!$o(g.touchedFields,a)},isValidating:{enumerable:!0,get:()=>!!$o(g.validatingFields,a)},error:{enumerable:!0,get:()=>$o(g.errors,a)}}),[g,a]),S=le.useCallback(z=>w.current.onChange({target:{value:DO(z),name:a},type:a1.CHANGE}),[a]),T=le.useCallback(()=>w.current.onBlur({target:{value:$o(c._formValues,a),name:a},type:a1.BLUR}),[a,c._formValues]),C=le.useCallback(z=>{const R=$o(c._fields,a);R&&z&&(R._f.ref={focus:()=>z.focus&&z.focus(),select:()=>z.select&&z.select(),setCustomValidity:B=>z.setCustomValidity(B),reportValidity:()=>z.reportValidity()})},[c._fields,a]),x=le.useMemo(()=>({name:a,value:m,...ub(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:S,onBlur:T,ref:C}),[a,i,g.disabled,S,T,C,m]);return le.useEffect(()=>{const z=c._options.shouldUnregister||d,R=_.current;R&&R!==a&&!k&&c.unregister(R),c.register(a,{...h.current.rules,...ub(h.current.disabled)?{disabled:h.current.disabled}:{}});const B=(F,Z)=>{const oe=$o(c._fields,F);oe&&oe._f&&(oe._f.mount=Z)};if(B(a,!0),z){const F=T0($o(c._options.defaultValues,a));r1(c._defaultValues,a,F),Xb($o(c._formValues,a))&&r1(c._formValues,a,F)}return!k&&c.register(a),_.current=a,()=>{(k?z&&!c._state.action:z)?c.unregister(a):B(a,!1)}},[a,c,k,d]),le.useEffect(()=>{c._setDisabledField({disabled:i,name:a})},[i,a,c]),le.useMemo(()=>({field:x,formState:g,fieldState:L}),[x,g,L])}const PO=e=>e.render(ZO(e));function Ko(e,o){const a=le.forwardRef((i,c)=>{const{name:d,control:u,rules:k,defaultValue:p,shouldUnregister:m,...g}=i;return le.createElement(PO,{name:d,control:u,rules:k,defaultValue:p,shouldUnregister:m,disabled:i._disabled,render:({field:h,fieldState:_})=>{const w=g._on,L={...g,ref:S=>{c&&(typeof c=="function"?c(S):c.current=S),S&&h.ref(S)},_name:d,_touched:_.isTouched,_disabled:h.disabled,_msg:_.error?{_type:"error",_description:_.error.message||_.error.toString?.()||"Unknown error"}:void 0,_on:{...w||{},onInput:(S,T)=>{h.onChange(T),w?.onInput?.(S,T)},onChange:(S,T)=>{h.onChange(T),w?.onChange?.(S,T)},onBlur:S=>{h.onBlur(),w?.onBlur?.(S)}}};return o&&(L[o]=h.value),le.createElement(e,{...L})}})});return a.displayName=`withController(${e.displayName||e.name||"Component"})`,a}const Ji=Ko(fe,"_value"),O0=Ko(An,"_value"),R0=Ko(Hn,"_value"),D0=Ko(yn,"_value"),$0=Ko(Vn,"_value"),B0=Ko(Fe,"_value"),M0=Ko(Kn,"_value"),GO=Ko(Nn),I0=Ko(Qe,"_value"),U0=Ko(po,"_value"),F0=Ko(Qn,"_value"),K0=Ko(ko,"_value"),H0=Ko(On,"_value"),V0=Ko(an,"_checked"),YO={firstName:"",lastName:"",email:"",password:"",age:18,volume:50,birthday:"",favoriteColor:"#000000",cv:null,bio:"",country:"",language:"de",framework:"",gender:"",termsAccepted:!1},JO=[{label:"English",value:"en"},{label:"German",value:"de"},{label:"French",value:"fr"}],XO=[{label:"React",value:"react"},{label:"Vue",value:"vue"},{label:"Stencil",value:"stencil"}],QO=[{label:"Male",value:"male"},{label:"Female",value:"female"},{label:"Other",value:"other"}],WO=["firstName","lastName","email","password","age","volume","birthday","favoriteColor","cv","bio","country","language","framework","gender","termsAccepted"],e7=()=>{const{control:e,handleSubmit:o,setValue:a,getValues:i,trigger:c}=Cl({defaultValues:YO,mode:"onTouched",shouldFocusError:!0}),d=()=>{WO.forEach(p=>{a(p,i(p),{shouldTouch:!0,shouldValidate:!0})})},u=p=>{alert(JSON.stringify(p,null,2))},k=p=>{d(),c(void 0,{shouldFocus:!0}),console.warn("Validation errors:",p)};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsx(mo,{className:"w-full max-w-xl",_on:{onSubmit:p=>{o(u,k)(p)}},children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(Ji,{name:"firstName",control:e,_label:"First Name",rules:{required:"First name is required"},_required:!0}),r.jsx(Ji,{name:"lastName",control:e,_label:"Last Name",rules:{required:"Last name is required"},_required:!0}),r.jsx(R0,{name:"email",control:e,_label:"Email",rules:{required:"Email is required"},_required:!0}),r.jsx(O0,{name:"password",control:e,_label:"Password",rules:{required:"Password is required"},_required:!0}),r.jsx(D0,{name:"age",control:e,_label:"Age",rules:{required:"Age is required",min:0},_required:!0}),r.jsx($0,{name:"volume",control:e,_label:"Volume (0–100)",_min:0,_max:100}),r.jsx(B0,{name:"birthday",control:e,_label:"Birthday",rules:{required:"Birthday is required"}}),r.jsx(M0,{name:"favoriteColor",control:e,_label:"Favorite Color",id:"favoriteColor"}),r.jsx(GO,{name:"cv",control:e,_label:"Upload CV",rules:{required:"Please upload your CV"},_required:!0}),r.jsx(I0,{name:"bio",control:e,_label:"Bio",rules:{required:"Please provide a short bio"},_required:!0}),r.jsx(U0,{control:e,rules:{required:"Please select a country"},name:"country",_label:"Country",_suggestions:nt,_required:!0}),r.jsx(F0,{control:e,rules:{required:"Please select a language"},name:"language",_label:"Preferred Language",_options:JO,_required:!0}),r.jsx(K0,{rules:{required:"Please select a framework"},control:e,name:"framework",_label:"Favorite Framework",_options:XO,_required:!0}),r.jsx(H0,{control:e,rules:{required:"Please select your gender"},name:"gender",_label:"Gender",_options:QO,_required:!0}),r.jsx(V0,{name:"termsAccepted",control:e,_label:"I accept the terms and conditions",rules:{required:"You must accept the terms"},_required:!0}),r.jsx($,{_label:"Submit",_type:"submit"})]})})]})},n7={first:"",second:""},o7=()=>{const{control:e,handleSubmit:o,watch:a}=Cl({defaultValues:n7}),i=c=>{alert(JSON.stringify(c,null,2))};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows two fields of which just one can be filled. The other gets disabled."})}),r.jsx(mo,{className:"w-full max-w-xl",_on:{onSubmit:c=>{o(i)(c)}},children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(Ji,{name:"first",control:e,_label:"First",_disabled:!!a("second")}),r.jsx(Ji,{name:"second",control:e,_label:"Second",_disabled:!!a("first")}),r.jsx($,{_label:"Submit",_type:"submit"})]})})]})},t7=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"w-full flex flex-wrap gap-4",children:[r.jsx($,{_icons:"fa-solid fa-house",_label:"Button",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Button",_on:o}),r.jsx(Xe,{_href:"#",_icons:"fa-solid fa-house",_label:"Link-Button",_on:o}),r.jsx(Xe,{_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Link-Button",_on:o}),r.jsx(po,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Combobox",_suggestions:[]}),r.jsx(Kn,{_hideLabel:!0,_icons:{left:"fa-solid fa-house"},_label:"Input-Color"}),r.jsx(Nn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-File"}),r.jsx(Fe,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Date"}),r.jsx(Hn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Email"}),r.jsx(yn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Number"}),r.jsx(An,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Password"}),r.jsx(Vn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Range"}),r.jsx(fe,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Text"}),r.jsx(Qn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Combobox",_options:[]}),r.jsx(ko,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Combobox",_options:[]}),r.jsx(Qe,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Combobox"})]})]})},c1=(e,o,a)=>{if(e&&"reportValidity"in e){const i=ue(a,o);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},q0=(e,o)=>{for(const a in o.fields){const i=o.fields[a];i&&i.ref&&"reportValidity"in i.ref?c1(i.ref,a,e):i.refs&&i.refs.forEach(c=>c1(c,a,e))}},r7=(e,o)=>{o.shouldUseNativeValidation&&q0(e,o);const a={};for(const i in e){const c=ue(o.fields,i),d=Object.assign(e[i]||{},{ref:c&&c.ref});if(a7(o.names||Object.keys(e),i)){const u=Object.assign({},ue(a,i));bn(u,"root",d),bn(a,i,u)}else bn(a,i,d)}return a},a7=(e,o)=>e.some(a=>a.startsWith(o+"."));var l7=function(e,o){for(var a={};e.length;){var i=e[0],c=i.code,d=i.message,u=i.path.join(".");if(!a[u])if("unionErrors"in i){var k=i.unionErrors[0].errors[0];a[u]={message:k.message,type:k.code}}else a[u]={message:d,type:c};if("unionErrors"in i&&i.unionErrors.forEach(function(g){return g.errors.forEach(function(h){return e.push(h)})}),o){var p=a[u].types,m=p&&p[i.code];a[u]=t0(u,o,a,c,m?[].concat(m,i.message):i.message)}e.shift()}return a},i7=function(e,o,a){return a===void 0&&(a={}),function(i,c,d){try{return Promise.resolve((function(u,k){try{var p=Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,o)).then(function(m){return d.shouldUseNativeValidation&&q0({},d),{errors:{},values:a.raw?i:m}})}catch(m){return k(m)}return p&&p.then?p.then(void 0,k):p})(0,function(u){if((function(k){return Array.isArray(k?.errors)})(u))return{values:{},errors:r7(l7(u.errors,!d.shouldUseNativeValidation&&d.criteriaMode==="all"),d)};throw u}))}catch(u){return Promise.reject(u)}}};function Q(e,o,a){function i(k,p){if(k._zod||Object.defineProperty(k,"_zod",{value:{def:p,constr:u,traits:new Set},enumerable:!1}),k._zod.traits.has(e))return;k._zod.traits.add(e),o(k,p);const m=u.prototype,g=Object.keys(m);for(let h=0;h<g.length;h++){const _=g[h];_ in k||(k[_]=m[_].bind(k))}}const c=a?.Parent??Object;class d extends c{}Object.defineProperty(d,"name",{value:e});function u(k){var p;const m=a?.Parent?new d:this;i(m,k),(p=m._zod).deferred??(p.deferred=[]);for(const g of m._zod.deferred)g();return m}return Object.defineProperty(u,"init",{value:i}),Object.defineProperty(u,Symbol.hasInstance,{value:k=>a?.Parent&&k instanceof a.Parent?!0:k?._zod?.traits?.has(e)}),Object.defineProperty(u,"name",{value:e}),u}class Tl extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Z0 extends Error{constructor(o){super(`Encountered unidirectional transform during encode: ${o}`),this.name="ZodEncodeError"}}const P0={};function za(e){return P0}function G0(e){const o=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,c])=>o.indexOf(+i)===-1).map(([i,c])=>c)}function Qb(e,o){return typeof o=="bigint"?o.toString():o}function Bk(e){return{get value(){{const o=e();return Object.defineProperty(this,"value",{value:o}),o}}}}function Mk(e){return e==null}function Ik(e){const o=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(o,a)}function c7(e,o){const a=(e.toString().split(".")[1]||"").length,i=o.toString();let c=(i.split(".")[1]||"").length;if(c===0&&/\d?e-\d?/.test(i)){const p=i.match(/\d?e-(\d?)/);p?.[1]&&(c=Number.parseInt(p[1]))}const d=a>c?a:c,u=Number.parseInt(e.toFixed(d).replace(".","")),k=Number.parseInt(o.toFixed(d).replace(".",""));return u%k/10**d}const s1=Symbol("evaluating");function pn(e,o,a){let i;Object.defineProperty(e,o,{get(){if(i!==s1)return i===void 0&&(i=s1,i=a()),i},set(c){Object.defineProperty(e,o,{value:c})},configurable:!0})}function Ea(e,o,a){Object.defineProperty(e,o,{value:a,writable:!0,enumerable:!0,configurable:!0})}function Vr(...e){const o={};for(const a of e){const i=Object.getOwnPropertyDescriptors(a);Object.assign(o,i)}return Object.defineProperties({},o)}function d1(e){return JSON.stringify(e)}function s7(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Y0="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Xs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const d7=Bk(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Xi(e){if(Xs(e)===!1)return!1;const o=e.constructor;if(o===void 0||typeof o!="function")return!0;const a=o.prototype;return!(Xs(a)===!1||Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)}function J0(e){return Xi(e)?{...e}:Array.isArray(e)?[...e]:e}const u7=new Set(["string","number","symbol"]);function pd(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function qr(e,o,a){const i=new e._zod.constr(o??e._zod.def);return(!o||a?.parent)&&(i._zod.parent=e),i}function Se(e){const o=e;if(!o)return{};if(typeof o=="string")return{error:()=>o};if(o?.message!==void 0){if(o?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");o.error=o.message}return delete o.message,typeof o.error=="string"?{...o,error:()=>o.error}:o}function f7(e){return Object.keys(e).filter(o=>e[o]._zod.optin==="optional"&&e[o]._zod.optout==="optional")}const b7={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function k7(e,o){const a=e._zod.def,i=a.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const d=Vr(e._zod.def,{get shape(){const u={};for(const k in o){if(!(k in a.shape))throw new Error(`Unrecognized key: "${k}"`);o[k]&&(u[k]=a.shape[k])}return Ea(this,"shape",u),u},checks:[]});return qr(e,d)}function p7(e,o){const a=e._zod.def,i=a.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const d=Vr(e._zod.def,{get shape(){const u={...e._zod.def.shape};for(const k in o){if(!(k in a.shape))throw new Error(`Unrecognized key: "${k}"`);o[k]&&delete u[k]}return Ea(this,"shape",u),u},checks:[]});return qr(e,d)}function m7(e,o){if(!Xi(o))throw new Error("Invalid input to extend: expected a plain object");const a=e._zod.def.checks;if(a&&a.length>0){const d=e._zod.def.shape;for(const u in o)if(Object.getOwnPropertyDescriptor(d,u)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const c=Vr(e._zod.def,{get shape(){const d={...e._zod.def.shape,...o};return Ea(this,"shape",d),d}});return qr(e,c)}function v7(e,o){if(!Xi(o))throw new Error("Invalid input to safeExtend: expected a plain object");const a=Vr(e._zod.def,{get shape(){const i={...e._zod.def.shape,...o};return Ea(this,"shape",i),i}});return qr(e,a)}function h7(e,o){const a=Vr(e._zod.def,{get shape(){const i={...e._zod.def.shape,...o._zod.def.shape};return Ea(this,"shape",i),i},get catchall(){return o._zod.def.catchall},checks:[]});return qr(e,a)}function g7(e,o,a){const c=o._zod.def.checks;if(c&&c.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const u=Vr(o._zod.def,{get shape(){const k=o._zod.def.shape,p={...k};if(a)for(const m in a){if(!(m in k))throw new Error(`Unrecognized key: "${m}"`);a[m]&&(p[m]=e?new e({type:"optional",innerType:k[m]}):k[m])}else for(const m in k)p[m]=e?new e({type:"optional",innerType:k[m]}):k[m];return Ea(this,"shape",p),p},checks:[]});return qr(o,u)}function _7(e,o,a){const i=Vr(o._zod.def,{get shape(){const c=o._zod.def.shape,d={...c};if(a)for(const u in a){if(!(u in d))throw new Error(`Unrecognized key: "${u}"`);a[u]&&(d[u]=new e({type:"nonoptional",innerType:c[u]}))}else for(const u in c)d[u]=new e({type:"nonoptional",innerType:c[u]});return Ea(this,"shape",d),d}});return qr(o,i)}function zl(e,o=0){if(e.aborted===!0)return!0;for(let a=o;a<e.issues.length;a++)if(e.issues[a]?.continue!==!0)return!0;return!1}function X0(e,o){return o.map(a=>{var i;return(i=a).path??(i.path=[]),a.path.unshift(e),a})}function Ss(e){return typeof e=="string"?e:e?.message}function ja(e,o,a){const i={...e,path:e.path??[]};if(!e.message){const c=Ss(e.inst?._zod.def?.error?.(e))??Ss(o?.error?.(e))??Ss(a.customError?.(e))??Ss(a.localeError?.(e))??"Invalid input";i.message=c}return delete i.inst,delete i.continue,o?.reportInput||delete i.input,i}function Uk(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Qi(...e){const[o,a,i]=e;return typeof o=="string"?{message:o,code:"custom",input:a,inst:i}:{...o}}const Q0=(e,o)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:o,enumerable:!1}),e.message=JSON.stringify(o,Qb,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},W0=Q("$ZodError",Q0),ew=Q("$ZodError",Q0,{Parent:Error});function x7(e,o=a=>a.message){const a={},i=[];for(const c of e.issues)c.path.length>0?(a[c.path[0]]=a[c.path[0]]||[],a[c.path[0]].push(o(c))):i.push(o(c));return{formErrors:i,fieldErrors:a}}function y7(e,o=a=>a.message){const a={_errors:[]},i=c=>{for(const d of c.issues)if(d.code==="invalid_union"&&d.errors.length)d.errors.map(u=>i({issues:u}));else if(d.code==="invalid_key")i({issues:d.issues});else if(d.code==="invalid_element")i({issues:d.issues});else if(d.path.length===0)a._errors.push(o(d));else{let u=a,k=0;for(;k<d.path.length;){const p=d.path[k];k===d.path.length-1?(u[p]=u[p]||{_errors:[]},u[p]._errors.push(o(d))):u[p]=u[p]||{_errors:[]},u=u[p],k++}}};return i(e),a}const Fk=e=>(o,a,i,c)=>{const d=i?Object.assign(i,{async:!1}):{async:!1},u=o._zod.run({value:a,issues:[]},d);if(u instanceof Promise)throw new Tl;if(u.issues.length){const k=new(c?.Err??e)(u.issues.map(p=>ja(p,d,za())));throw Y0(k,c?.callee),k}return u.value},Kk=e=>async(o,a,i,c)=>{const d=i?Object.assign(i,{async:!0}):{async:!0};let u=o._zod.run({value:a,issues:[]},d);if(u instanceof Promise&&(u=await u),u.issues.length){const k=new(c?.Err??e)(u.issues.map(p=>ja(p,d,za())));throw Y0(k,c?.callee),k}return u.value},md=e=>(o,a,i)=>{const c=i?{...i,async:!1}:{async:!1},d=o._zod.run({value:a,issues:[]},c);if(d instanceof Promise)throw new Tl;return d.issues.length?{success:!1,error:new(e??W0)(d.issues.map(u=>ja(u,c,za())))}:{success:!0,data:d.value}},w7=md(ew),vd=e=>async(o,a,i)=>{const c=i?Object.assign(i,{async:!0}):{async:!0};let d=o._zod.run({value:a,issues:[]},c);return d instanceof Promise&&(d=await d),d.issues.length?{success:!1,error:new e(d.issues.map(u=>ja(u,c,za())))}:{success:!0,data:d.value}},z7=vd(ew),j7=e=>(o,a,i)=>{const c=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Fk(e)(o,a,c)},S7=e=>(o,a,i)=>Fk(e)(o,a,i),T7=e=>async(o,a,i)=>{const c=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Kk(e)(o,a,c)},A7=e=>async(o,a,i)=>Kk(e)(o,a,i),E7=e=>(o,a,i)=>{const c=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return md(e)(o,a,c)},C7=e=>(o,a,i)=>md(e)(o,a,i),L7=e=>async(o,a,i)=>{const c=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return vd(e)(o,a,c)},N7=e=>async(o,a,i)=>vd(e)(o,a,i),O7=/^[cC][^\s-]{8,}$/,R7=/^[0-9a-z]+$/,D7=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$7=/^[0-9a-vA-V]{20}$/,B7=/^[A-Za-z0-9]{27}$/,M7=/^[a-zA-Z0-9_-]{21}$/,I7=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,U7=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,u1=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,F7=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,K7="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function H7(){return new RegExp(K7,"u")}const V7=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,q7=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Z7=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,P7=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,G7=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,nw=/^[A-Za-z0-9_-]*$/,Y7=/^\+[1-9]\d{6,14}$/,ow="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",J7=new RegExp(`^${ow}$`);function tw(e){const o="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${o}`:e.precision===0?`${o}:[0-5]\\d`:`${o}:[0-5]\\d\\.\\d{${e.precision}}`:`${o}(?::[0-5]\\d(?:\\.\\d+)?)?`}function X7(e){return new RegExp(`^${tw(e)}$`)}function Q7(e){const o=tw({precision:e.precision}),a=["Z"];e.local&&a.push(""),e.offset&&a.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const i=`${o}(?:${a.join("|")})`;return new RegExp(`^${ow}T(?:${i})$`)}const W7=e=>{const o=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${o}$`)},eR=/^-?\d+$/,nR=/^-?\d+(?:\.\d+)?$/,oR=/^(?:true|false)$/i,tR=/^[^A-Z]*$/,rR=/^[^a-z]*$/,Ho=Q("$ZodCheck",(e,o)=>{var a;e._zod??(e._zod={}),e._zod.def=o,(a=e._zod).onattach??(a.onattach=[])}),rw={number:"number",bigint:"bigint",object:"date"},aw=Q("$ZodCheckLessThan",(e,o)=>{Ho.init(e,o);const a=rw[typeof o.value];e._zod.onattach.push(i=>{const c=i._zod.bag,d=(o.inclusive?c.maximum:c.exclusiveMaximum)??Number.POSITIVE_INFINITY;o.value<d&&(o.inclusive?c.maximum=o.value:c.exclusiveMaximum=o.value)}),e._zod.check=i=>{(o.inclusive?i.value<=o.value:i.value<o.value)||i.issues.push({origin:a,code:"too_big",maximum:typeof o.value=="object"?o.value.getTime():o.value,input:i.value,inclusive:o.inclusive,inst:e,continue:!o.abort})}}),lw=Q("$ZodCheckGreaterThan",(e,o)=>{Ho.init(e,o);const a=rw[typeof o.value];e._zod.onattach.push(i=>{const c=i._zod.bag,d=(o.inclusive?c.minimum:c.exclusiveMinimum)??Number.NEGATIVE_INFINITY;o.value>d&&(o.inclusive?c.minimum=o.value:c.exclusiveMinimum=o.value)}),e._zod.check=i=>{(o.inclusive?i.value>=o.value:i.value>o.value)||i.issues.push({origin:a,code:"too_small",minimum:typeof o.value=="object"?o.value.getTime():o.value,input:i.value,inclusive:o.inclusive,inst:e,continue:!o.abort})}}),aR=Q("$ZodCheckMultipleOf",(e,o)=>{Ho.init(e,o),e._zod.onattach.push(a=>{var i;(i=a._zod.bag).multipleOf??(i.multipleOf=o.value)}),e._zod.check=a=>{if(typeof a.value!=typeof o.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof a.value=="bigint"?a.value%o.value===BigInt(0):c7(a.value,o.value)===0)||a.issues.push({origin:typeof a.value,code:"not_multiple_of",divisor:o.value,input:a.value,inst:e,continue:!o.abort})}}),lR=Q("$ZodCheckNumberFormat",(e,o)=>{Ho.init(e,o),o.format=o.format||"float64";const a=o.format?.includes("int"),i=a?"int":"number",[c,d]=b7[o.format];e._zod.onattach.push(u=>{const k=u._zod.bag;k.format=o.format,k.minimum=c,k.maximum=d,a&&(k.pattern=eR)}),e._zod.check=u=>{const k=u.value;if(a){if(!Number.isInteger(k)){u.issues.push({expected:i,format:o.format,code:"invalid_type",continue:!1,input:k,inst:e});return}if(!Number.isSafeInteger(k)){k>0?u.issues.push({input:k,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!o.abort}):u.issues.push({input:k,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!o.abort});return}}k<c&&u.issues.push({origin:"number",input:k,code:"too_small",minimum:c,inclusive:!0,inst:e,continue:!o.abort}),k>d&&u.issues.push({origin:"number",input:k,code:"too_big",maximum:d,inclusive:!0,inst:e,continue:!o.abort})}}),iR=Q("$ZodCheckMaxLength",(e,o)=>{var a;Ho.init(e,o),(a=e._zod.def).when??(a.when=i=>{const c=i.value;return!Mk(c)&&c.length!==void 0}),e._zod.onattach.push(i=>{const c=i._zod.bag.maximum??Number.POSITIVE_INFINITY;o.maximum<c&&(i._zod.bag.maximum=o.maximum)}),e._zod.check=i=>{const c=i.value;if(c.length<=o.maximum)return;const u=Uk(c);i.issues.push({origin:u,code:"too_big",maximum:o.maximum,inclusive:!0,input:c,inst:e,continue:!o.abort})}}),cR=Q("$ZodCheckMinLength",(e,o)=>{var a;Ho.init(e,o),(a=e._zod.def).when??(a.when=i=>{const c=i.value;return!Mk(c)&&c.length!==void 0}),e._zod.onattach.push(i=>{const c=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;o.minimum>c&&(i._zod.bag.minimum=o.minimum)}),e._zod.check=i=>{const c=i.value;if(c.length>=o.minimum)return;const u=Uk(c);i.issues.push({origin:u,code:"too_small",minimum:o.minimum,inclusive:!0,input:c,inst:e,continue:!o.abort})}}),sR=Q("$ZodCheckLengthEquals",(e,o)=>{var a;Ho.init(e,o),(a=e._zod.def).when??(a.when=i=>{const c=i.value;return!Mk(c)&&c.length!==void 0}),e._zod.onattach.push(i=>{const c=i._zod.bag;c.minimum=o.length,c.maximum=o.length,c.length=o.length}),e._zod.check=i=>{const c=i.value,d=c.length;if(d===o.length)return;const u=Uk(c),k=d>o.length;i.issues.push({origin:u,...k?{code:"too_big",maximum:o.length}:{code:"too_small",minimum:o.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!o.abort})}}),hd=Q("$ZodCheckStringFormat",(e,o)=>{var a,i;Ho.init(e,o),e._zod.onattach.push(c=>{const d=c._zod.bag;d.format=o.format,o.pattern&&(d.patterns??(d.patterns=new Set),d.patterns.add(o.pattern))}),o.pattern?(a=e._zod).check??(a.check=c=>{o.pattern.lastIndex=0,!o.pattern.test(c.value)&&c.issues.push({origin:"string",code:"invalid_format",format:o.format,input:c.value,...o.pattern?{pattern:o.pattern.toString()}:{},inst:e,continue:!o.abort})}):(i=e._zod).check??(i.check=()=>{})}),dR=Q("$ZodCheckRegex",(e,o)=>{hd.init(e,o),e._zod.check=a=>{o.pattern.lastIndex=0,!o.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:"regex",input:a.value,pattern:o.pattern.toString(),inst:e,continue:!o.abort})}}),uR=Q("$ZodCheckLowerCase",(e,o)=>{o.pattern??(o.pattern=tR),hd.init(e,o)}),fR=Q("$ZodCheckUpperCase",(e,o)=>{o.pattern??(o.pattern=rR),hd.init(e,o)}),bR=Q("$ZodCheckIncludes",(e,o)=>{Ho.init(e,o);const a=pd(o.includes),i=new RegExp(typeof o.position=="number"?`^.{${o.position}}${a}`:a);o.pattern=i,e._zod.onattach.push(c=>{const d=c._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(i)}),e._zod.check=c=>{c.value.includes(o.includes,o.position)||c.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:o.includes,input:c.value,inst:e,continue:!o.abort})}}),kR=Q("$ZodCheckStartsWith",(e,o)=>{Ho.init(e,o);const a=new RegExp(`^${pd(o.prefix)}.*`);o.pattern??(o.pattern=a),e._zod.onattach.push(i=>{const c=i._zod.bag;c.patterns??(c.patterns=new Set),c.patterns.add(a)}),e._zod.check=i=>{i.value.startsWith(o.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:o.prefix,input:i.value,inst:e,continue:!o.abort})}}),pR=Q("$ZodCheckEndsWith",(e,o)=>{Ho.init(e,o);const a=new RegExp(`.*${pd(o.suffix)}$`);o.pattern??(o.pattern=a),e._zod.onattach.push(i=>{const c=i._zod.bag;c.patterns??(c.patterns=new Set),c.patterns.add(a)}),e._zod.check=i=>{i.value.endsWith(o.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:o.suffix,input:i.value,inst:e,continue:!o.abort})}}),mR=Q("$ZodCheckOverwrite",(e,o)=>{Ho.init(e,o),e._zod.check=a=>{a.value=o.tx(a.value)}});class vR{constructor(o=[]){this.content=[],this.indent=0,this&&(this.args=o)}indented(o){this.indent+=1,o(this),this.indent-=1}write(o){if(typeof o=="function"){o(this,{execution:"sync"}),o(this,{execution:"async"});return}const i=o.split(`
|
|
39189
|
+
sit amet.`,e7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample demonstrates the ",r.jsx("code",{children:"_adjustHeight"}),"-property of KolTextarea. The textarea automatically grows with its content."]})}),r.jsx(mo,{className:"w-full",children:r.jsx(Qe,{_adjustHeight:!0,_value:W9,_label:"Text input (auto grow)"})})]}),n1=j.forwardRef(function(o,a){return r.jsxs("div",{className:"grid gap-4",children:[r.jsx("div",{className:"black-background",children:r.jsx(Qe,{...o,ref:a,_placeholder:"Placeholder",_label:"Text"})}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_required:!0,_msg:{_type:"error",_description:Ke},_label:"Text",_touched:!0,_hint:To}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"info",_description:"Just a hint"},_touched:!0}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"warning",_description:"Small warning"},_touched:!0}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"success",_description:"Success message"},_touched:!0}),r.jsx(Qe,{...o,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"default",_description:"Default message"},_touched:!0}),r.jsx(Qe,{...o,ref:a,_accessKey:"T",_label:"Text (3 rows)",_rows:3}),r.jsx(Qe,{...o,ref:a,_label:"Text (placeholder)",_rows:3,_placeholder:"Placeholder"}),r.jsx(Qe,{...o,ref:a,_label:"Text (disabled & placeholder)",_rows:3,_placeholder:"Placeholder",_disabled:!0}),r.jsx(Qe,{...o,ref:a,_label:"Text (readonly)",_rows:3,_placeholder:"Placeholder",_readOnly:!0}),r.jsx(Qe,{...o,ref:a,_label:"Text (disabled & value)",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_disabled:!0}),r.jsx(Qe,{...o,ref:a,_label:"With access key",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_accessKey:"c"}),r.jsx(Qe,{...o,ref:a,_label:"With short key",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_shortKey:"s"})]})}),n7=j.forwardRef(function(o,a){return r.jsxs(Uo,{children:[r.jsxs("fieldset",{children:[r.jsx("legend",{children:"Text"}),r.jsx(n1,{...o})]}),r.jsxs("fieldset",{children:[r.jsx("legend",{children:"Text (hideLabel)"}),r.jsx(n1,{ref:a,...o,_hideLabel:!0})]})]})}),o7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolTextarea renders a text field. The sample shows KolTextarea in a form context with different variations and states."})}),r.jsx(Ao,{RefComponent:n7,showButtons:!1})]}),t7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample demonstrates the ",r.jsx("code",{children:"_resize"}),"-property of KolTextarea. The sample textarea can (only) be resized in the given direction."]})}),r.jsx(mo,{className:"w-full",children:r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsx(Qe,{_label:"Text input (unset)"}),r.jsx(Qe,{_resize:"vertical",_label:"Text input (vertical)"}),r.jsx(Qe,{_resize:"none",_label:"Text input (none)"})]})})]}),r7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample demonstrates the ",r.jsx("code",{children:"_rows"}),"-property of KolTextarea. The sample textarea has a fixed row number of 10."]})}),r.jsx(mo,{className:"w-full",children:r.jsx(Qe,{_rows:10,_label:"Texteingabe"})})]}),a7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["The sample demonstrates various ",r.jsx("code",{children:"KolTextarea"})," configurations — contrasting soft vs. hard ",r.jsx("code",{children:"_maxLength"})," settings and the optional",r.jsx("code",{children:"_hasCounter"})," — including one instance without length limits."]})}),r.jsxs("section",{className:"w-full flex flex-col gap-4",children:[r.jsx(Qe,{_label:"Textarea with soft max length",_value:"Lorem Ipsum",className:"mt-2",_maxLength:20,_hasCounter:!0,_maxLengthBehavior:"soft"}),r.jsx(Qe,{_label:"Textarea with max length",_value:"Lorem Ipsum",className:"mt-2",_maxLength:20}),r.jsx(Qe,{_label:"Textarea with max length and counter",_value:"Lorem Ipsum",className:"mt-2",_maxLength:20,_hasCounter:!0}),r.jsx(Qe,{_label:"Textarea with counter",_value:"Lorem Ipsum",className:"mt-2",_hasCounter:!0})]})]}),l7={textarea:{basic:o7,"adjust-height":e7,resize:t7,rows:r7,"with-counter":a7}},i7=()=>{const[e]=ur(),o=e.get("type"),a=Hr.getInstance(document),i=()=>{a.enqueue({description:"Toasty",label:"Initial Toast",type:"warning",onClose:()=>{console.log("Simple toast has been closed.")}})};j.useEffect(()=>{o&&a.enqueue({description:"Toasty",label:`Toast with type '${o}'`,type:o})},[o,a]);const c=()=>{a.enqueue({render:(k,{close:p})=>{Dt(k).render(r.jsx(r.Fragment,{children:r.jsx($,{_label:"Hello World from Toast!",_on:{onClick:()=>{console.log("Toast Button clicked!"),p()}}})}))},label:"Initial Toast",type:"warning"})},d=async()=>{const k=await a.enqueue({description:"I will disappear in two seconds...",label:"Good Bye",type:"warning"});k&&setTimeout(k,2e3)},u=()=>{a.closeAll()};return r.jsxs(r.Fragment,{children:[r.jsxs(oo,{_label:"Component is DEPRECATED",_type:"error",_variant:"card",className:"header-alert",children:["For more information, please refer ",r.jsx(ge,{_href:"https://public-ui.github.io/en/docs/components/toaster",_target:"_blank",_label:"to the documentation"}),"."]}),r.jsx(U,{children:r.jsx("p",{children:"This sample demonstrates the toast service with all its options."})}),r.jsx("section",{className:"grid gap-4",children:r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx($,{_label:"Show simple toast",_on:{onClick:i}}),r.jsx($,{_label:"Show complex toast",_on:{onClick:c}}),r.jsx($,{_label:"Show toast and close after 2 seconds",_on:{onClick:()=>void d()}}),r.jsx($,{_label:"Close all toasts",_on:{onClick:u}})]})})]})},Rk=["default","info","success","warning","error"],c7=Rk.map(e=>({label:e,value:e})),o1=e=>typeof e=="string"&&Rk.includes(e),s7=()=>{const[e]=ur(),o=e.get("type"),a=o1(o)?o:void 0,[i,c]=j.useState(()=>a??"default"),d=j.useMemo(()=>Hr.getInstance(document),[]);j.useEffect(()=>(Rk.forEach(m=>{d.enqueue({description:"Toasty",label:`Toast with type '${m}'`,type:m})}),()=>{d.closeAll()}),[d]),j.useEffect(()=>{a&&c(a)},[a]);const u=(m,g)=>{o1(g)&&c(g)},k=()=>{d.enqueue({description:"Toasty",label:`Toast with type '${i}'`,type:i})},p=()=>{d.closeAll()};return r.jsxs(r.Fragment,{children:[r.jsxs(oo,{_label:"Component is DEPRECATED",_type:"error",_variant:"card",className:"header-alert",children:["For more information, please refer ",r.jsx(ge,{_href:"https://public-ui.github.io/en/docs/components/toaster",_target:"_blank",_label:"to the documentation"}),"."]}),r.jsx(U,{children:r.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."})}),r.jsxs("section",{className:"grid gap-4",children:[r.jsx(On,{_orientation:"horizontal",_label:"Toast type",_value:i,_options:c7,_on:{onChange:u}}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx($,{_label:`Open ${i} toast`,_on:{onClick:k}}),r.jsx($,{_label:"Close all toasts",_on:{onClick:p}})]})]})]})},d7={toast:{basic:i7,configurator:s7}},u7=()=>{const 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:"link",_href:"#/back-page",_label:"Simple Link 1"},{type:"link",_href:"#/back-page",_label:"Simple Link 3"},{type:"button",_label:"Bold",_variant:"secondary"},{type:"button",_label:"Delete",_icons:{right:{icon:"kolicon-cross"}},_variant:"danger"}];return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"flex flex-col gap-4",children:[r.jsx(ne,{_label:"Orientation horizontal",_level:2}),r.jsx(xa,{class:"block w-fit",_label:"Toolbar",_items:e}),r.jsx(ne,{_label:"Orientation vertical",_level:2}),r.jsx(xa,{class:"block w-fit",_label:"Toolbar",_items:e,_orientation:"vertical"})]})]})},f7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolToolbars with some of the elements disabled."})}),r.jsx(xa,{_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"}]})]}),b7={toolbar:{basic:u7,disabled:f7}},k7=()=>{const e=["🐶","🐱","🐭","🐹","🐰","🦊","🐻","🐼","🐨","🐯","🦁","🐮","🐷","🐽","🐸","🐵"];return e[Math.floor(Math.random()*e.length)]},p7=()=>{const e=j.useContext(yk),{subPage:o}=B6(),[a,i]=j.useState("1 Home"),[c,d]=j.useState(!1),[u,k]=j.useState(!1),[p,m]=j.useState(!0),g=()=>{i(`1 Home ${k7()}`)},h=_=>({_href:`#/tree/basic/${_}${e?"?hideMenus":""}`,_active:_===o});return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolTree renders a keyboard accessible nested navigation. Branches of the tree can be collapsed or expanded."})}),r.jsxs(D1,{_label:"Sitemap",class:"block w-fit",children:[r.jsx(no,{_label:a,...h("home")}),r.jsxs(no,{_label:"2 About (open initially)",...h("about"),_open:!0,children:[r.jsx(no,{_label:"2.0 Legal",...h("legal")}),r.jsxs(no,{_label:"2.1 Team",...h("team"),children:[r.jsx(no,{_label:"2.1.1. Values",...h("values")}),r.jsxs(no,{_label:"2.1.2. Members",...h("members"),children:[r.jsx(no,{_label:"2.1.2.1 Humans",...h("humans")}),c&&r.jsx(no,{_label:"2.1.2.2 Pets",...h("pets")})]}),r.jsx(no,{_label:"2.1.3 Locations",...h("locations"),children:u&&r.jsxs(no,{_label:"2.1.3.1 Europe",...h("europe"),children:[r.jsx(no,{_label:"2.1.3.1.1 Denmark",...h("denmark")}),r.jsx(no,{_label:"2.1.3.1.2 Netherlands",...h("netherlands")})]})})]})]}),p&&r.jsxs(no,{_label:"3. Products",...h("products"),children:[r.jsxs(no,{_label:"3.1 Home",...h("home-products"),children:[r.jsx(no,{_label:"3.1.1 Refrigerators",...h("fridges")}),r.jsx(no,{_label:"3.1.2 Coffee makers",...h("coffee-makers")})]}),r.jsx(no,{_label:"3.1 Office",...h("office-products"),children:r.jsx(no,{_label:"3.2.1 Printers",...h("printers")})})]})]}),r.jsxs("p",{children:["Current tree item: ",o??"none"]}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx($,{_label:"Change label for '1 Home'",_on:{onClick:g}}),r.jsx($,{_label:"Toggle '2.1.2.2 Pets'",_on:{onClick:()=>d(!c)}}),r.jsx($,{_label:"Toggle '2.2.1 Europe' (two levels at once)",_on:{onClick:()=>k(!u)}}),r.jsx($,{_label:"Toggle '3. Products'",_on:{onClick:()=>m(!p)}})]})]})},m7={tree:{"basic/:subPage":p7}},v7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolVersion renders a label showing the given version number."})}),r.jsx(od,{_label:"1.1.1"})]}),h7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows KolVersion inline with text paragraph content."})}),r.jsxs("p",{children:[r.jsx(od,{_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."]})]}),g7={version:{basic:v7,context:h7}},_7=({label:e})=>{const o=Hr.getInstance(document),a=j.useRef(null),i=j.useRef(null),c=()=>{o.enqueue({label:"Edit clicked",description:`The button "edit" has been clicked for ${e}`,type:"info"})},d=()=>{o.enqueue({label:"Delete clicked",description:`The button "delete" has been clicked for ${e}`,type:"warning"})},u=k=>{switch(k.code){case"KeyE":a.current?.focus(),c();return;case"KeyD":i.current?.focus(),d();return}};return r.jsxs("div",{style:{display:"flex",gap:"calc(10rem / var(--kolibri-root-font-size, 16))"},onKeyUp:u,children:[r.jsx($,{ref:a,_label:"Edit",_shortKey:"e",_on:{onClick:c}}),r.jsx($,{ref:i,_label:"Delete",_shortKey:"d",_variant:"danger",_on:{onClick:d}})]})},x7=()=>{const e=[{label:"Row 1"},{label:"Row 2"},{label:"Row 3"},{label:"Row 4"}],o={horizontal:[[{label:"Label",key:"label",textAlign:"left",width:200},{label:"Actions",key:"actions",textAlign:"left",width:150,render:(a,i)=>{const c=i.data;c?.label&&Dt(Kr(a)).render(r.jsx(_7,{label:c.label}))}}]]};return r.jsxs(r.Fragment,{children:[r.jsxs(U,{children:[r.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."}),r.jsxs("p",{children:[r.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.']})]}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("section",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Interactive Table with Button Shortkeys"}),r.jsx(on,{_label:"Interactive table with shortkey buttons in each row",_data:e,_headers:o,_pagination:{_page:1}})]})})]})},y7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This example show how different components works with tabIndex."})}),r.jsxs("div",{className:"w-full grid gap-4",children:[r.jsx($e,{_label:"Button",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx($,{_label:"Button 1, Tabindex 4",_variant:"primary",tabIndex:4}),r.jsx($,{_disabled:!0,_label:"Button 2, Tabindex 3",_variant:"primary",tabIndex:3}),r.jsx($,{_label:"Button 3, Tabindex 2",_variant:"primary",tabIndex:2}),r.jsx($,{_label:"Button 4, Tabindex 1",_variant:"primary",tabIndex:1})]})}),r.jsx($e,{_label:"ButtonLink",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(He,{_label:"ButtonLink 1, Tabindex 4",tabIndex:4}),r.jsx(He,{_disabled:!0,_label:"ButtonLink 2, Tabindex 3",tabIndex:3}),r.jsx(He,{_label:"ButtonLink 3, Tabindex 2",tabIndex:2}),r.jsx(He,{_label:"ButtonLink 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"Combobox",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(po,{_hint:To,_label:"Combobox 1, Tabindex 4",_suggestions:nt,_value:"Deutschland",tabIndex:4}),r.jsx(po,{_disabled:!0,_hint:To,_label:"Combobox 2, Tabindex 3",_suggestions:nt,_value:"Deutschland",tabIndex:3}),r.jsx(po,{_touched:!0,_hint:To,_msg:{_type:"error",_description:Ke},_label:"Combobox 3, Tabindex 2",_suggestions:nt,_value:"Deutschland",tabIndex:2}),r.jsx(po,{_hint:To,_label:"Combobox 4, Tabindex 1",_suggestions:nt,_value:"Deutschland",tabIndex:1})]})}),r.jsx($e,{_label:"InputCheckbox",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(an,{_label:"InputCheckbox 4, Tabindex 1",_value:!1,tabIndex:4}),r.jsx(an,{_disabled:!0,_label:"InputCheckbox 3, Tabindex 2",_value:!1,tabIndex:3}),r.jsx(an,{_touched:!0,_label:"InputCheckbox 2, Tabindex 3",_msg:{_type:"error",_description:Ke},_value:!1,tabIndex:2}),r.jsx(an,{_label:"InputCheckbox 1, Tabindex 4",_value:!1,tabIndex:1})]})}),r.jsx($e,{_label:"InputColor",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Kn,{_value:"#f08080",_label:"InputCheckbox 1, Tabindex 4",tabIndex:4}),r.jsx(Kn,{_disabled:!0,_value:"#f08080",_label:"InputCheckbox 2, Tabindex 3",tabIndex:3}),r.jsx(Kn,{_touched:!0,_value:"#f08080",_label:"InputCheckbox 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Kn,{_value:"#f08080",_label:"InputCheckbox 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputDate",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Fe,{_type:"datetime-local",_label:"InputCheckbox 1, Tabindex 4",tabIndex:4}),r.jsx(Fe,{_disabled:!0,_type:"datetime-local",_label:"InputCheckbox 2, Tabindex 3",tabIndex:3}),r.jsx(Fe,{_touched:!0,_type:"datetime-local",_label:"InputCheckbox 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Fe,{_type:"datetime-local",_label:"InputCheckbox 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputEmail",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Hn,{_label:"InputEmail 1, Tabindex 4",tabIndex:4}),r.jsx(Hn,{_disabled:!0,_label:"InputEmail 2, Tabindex 3",tabIndex:3}),r.jsx(Hn,{_touched:!0,_label:"InputEmail 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Hn,{_label:"InputEmail 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputFile",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Nn,{_label:"InputFile 1, Tabindex 4",tabIndex:4}),r.jsx(Nn,{_disabled:!0,_label:"InputFile 2, Tabindex 3",tabIndex:3}),r.jsx(Nn,{_touched:!0,_label:"InputFile 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Nn,{_label:"InputFile 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputNumber",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(yn,{_label:"InputNumber 1, Tabindex 4",tabIndex:4}),r.jsx(yn,{_disabled:!0,_label:"InputNumber 2, Tabindex 3",tabIndex:3}),r.jsx(yn,{_touched:!0,_label:"InputNumber 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(yn,{_label:"InputNumber 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputPassword",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(An,{_label:"InputPassword 1, Tabindex 4",tabIndex:4}),r.jsx(An,{_disabled:!0,_label:"InputPassword 2, Tabindex 3",tabIndex:3}),r.jsx(An,{_touched:!0,_label:"InputPassword 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(An,{_label:"InputPassword 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputRadio",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(On,{_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"InputRadio 1, Tabindex 4",tabIndex:4}),r.jsx(On,{_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}),r.jsx(On,{_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:Ke},tabIndex:2})," ",r.jsx(On,{_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"InputRadio 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"InputRange",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Vn,{_label:"InputRange 1, Tabindex 4",_min:0,_max:50,tabIndex:4}),r.jsx(Vn,{_disabled:!0,_label:"InputRange 2, Tabindex 3",_min:0,_max:50,tabIndex:3}),r.jsx(Vn,{_touched:!0,_label:"InputRange 3, Tabindex 2",_min:0,_max:50,_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Vn,{_label:"InputRange 4, Tabindex 1",_min:0,_max:50,tabIndex:1})]})}),r.jsx($e,{_label:"InputText",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(fe,{_label:"InputText 1, Tabindex 4",tabIndex:4}),r.jsx(fe,{_disabled:!0,_label:"InputText 2, Tabindex 3",tabIndex:3}),r.jsx(fe,{_touched:!0,_label:"InputText 3, Tabindex 2",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(fe,{_label:"InputText 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"LinkButton",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Xe,{_href:"#/back-page",_label:"InputText 1, Tabindex 4",_variant:"primary",tabIndex:4}),r.jsx(Xe,{_disabled:!0,_href:"#/back-page",_label:"InputText 2, Tabindex 3",_variant:"primary",tabIndex:3}),r.jsx(Xe,{_href:"#/back-page",_label:"InputText 3, Tabindex 2",_variant:"primary",tabIndex:2}),r.jsx(Xe,{_href:"#/back-page",_label:"InputText 4, Tabindex 1",_variant:"primary",tabIndex:1})]})}),r.jsx($e,{_label:"Link",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(ge,{_href:"#/back-page",_label:"InputText 1, Tabindex 4",tabIndex:4}),r.jsx(ge,{_disabled:!0,_href:"#/back-page",_label:"InputText 2, Tabindex 3",tabIndex:3}),r.jsx(ge,{_href:"#/back-page",_label:"InputText 3, Tabindex 2",tabIndex:2}),r.jsx(ge,{_href:"#/back-page",_label:"InputText 4, Tabindex 1",tabIndex:1})]})}),r.jsx($e,{_label:"SingleSelect",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(ko,{_label:"InputText 1, Tabindex 4",_options:et,_value:"de",tabIndex:4}),r.jsx(ko,{_disabled:!0,_label:"InputText 2, Tabindex 3",_options:et,_value:"de",tabIndex:3}),r.jsx(ko,{_touched:!0,_label:"InputText 3, Tabindex 2",_options:et,_msg:{_type:"error",_description:Ke},_value:"de",tabIndex:2}),r.jsx(ko,{_label:"InputText 4, Tabindex 1",_options:et,_value:"de",tabIndex:1})]})}),r.jsx($e,{_label:"SplitButton",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(yl,{_label:"InputText 1, Tabindex 4",tabIndex:4,children:"Dropdown-Inhalt"}),r.jsx(yl,{_label:"InputText 2, Tabindex 3",tabIndex:3,_disabled:!0,children:"Dropdown-Inhalt"}),r.jsx(yl,{_label:"InputText 3, Tabindex 2",tabIndex:2,children:"Dropdown-Inhalt"}),r.jsx(yl,{_label:"InputText 4, Tabindex 1",tabIndex:1,children:"Dropdown-Inhalt"})]})}),r.jsx($e,{_label:"Textarea",_level:0,children:r.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[r.jsx(Qe,{_label:"Textarea 1, Tabindex 4",_rows:3,_placeholder:"Placeholder",tabIndex:4}),r.jsx(Qe,{_disabled:!0,_label:"Textarea 2, Tabindex 3",_rows:3,_placeholder:"Placeholder",tabIndex:3}),r.jsx(Qe,{_touched:!0,_label:"Textarea 3, Tabindex 2",_rows:3,_placeholder:"Placeholder",_msg:{_type:"error",_description:Ke},tabIndex:2}),r.jsx(Qe,{_label:"Textarea 4, Tabindex 1",_rows:3,_placeholder:"Placeholder",tabIndex:1})]})})]})]}),w7=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample demonstrates how tooltip animation duration and width can be customized via",r.jsx("code",{children:"--kolibri-tooltip-animation-duration"})," and ",r.jsx("code",{children:"--kol-tooltip-width"}),"."]})}),r.jsxs("div",{className:"flex justify-center items-center gap-4",children:[r.jsx($,{_label:"Custom duration",_hideLabel:!0,style:{"--kolibri-tooltip-animation-duration":"2500ms"},_icons:"fa-solid fa-clock",_on:o}),r.jsx($,{_label:"Custom width",_hideLabel:!0,style:{"--kol-tooltip-width":"400px"},_icons:"kolicon-chevron-up",_on:o})]})]})},z7=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"KolForm with KolInputDate inside to make sure enter on the date icon does not submit the form."})}),r.jsxs(mo,{_on:{onSubmit:()=>{console.error("submitted"),alert("submitted")}},children:[r.jsx(Fe,{_label:"date",_name:"datum"}),r.jsx($,{_label:"Submit",_type:"submit"})]})]}),js=[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],j7=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsxs(U,{children:[r.jsx("p",{children:"This example shows how deactivated interactive elements are displayed."}),r.jsxs("ul",{children:[r.jsx("li",{children:"Deactivated interactive elements pose a particular challenge for accessibility."}),r.jsx("li",{children:"It must not be possible to focus on deactivated interactive elements, otherwise the tab paths will be unnecessarily extended."}),r.jsx("li",{children:"Deactivated interactive elements should be labelled clearly and legibly."}),r.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."})]}),r.jsx("p",{children:"This implementation ensures standardized use for all users."})]}),r.jsxs("div",{className:"w-full grid gap-4",children:[r.jsx($e,{_label:"Button",_level:0,children:r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"Label",_on:o}),r.jsx($,{_disabled:!0,_label:"Label",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Label",_on:o}),r.jsx($,{_disabled:!0,_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Label",_on:o})]})}),r.jsx($e,{_label:"ButtonLink",_level:0,children:r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(He,{_label:"Label"}),r.jsx(He,{_disabled:!0,_label:"Label"}),r.jsx(He,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Label"}),r.jsx(He,{_hideLabel:!0,_icons:"fa-solid fa-house",_disabled:!0,_label:"Label"})]})}),r.jsx($e,{_label:"Link",_level:0,children:r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(ge,{_href:"#",_label:"Label"}),r.jsx(ge,{_disabled:!0,_href:"#",_label:"Label"}),r.jsx(ge,{_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Label"}),r.jsx(ge,{_disabled:!0,_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Label"})]})}),r.jsx($e,{_label:"LinkButton",_level:0,children:r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx(Xe,{_href:"#",_label:"Label"}),r.jsx(Xe,{_disabled:!0,_href:"#",_label:"Label"}),r.jsx(Xe,{_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Label"}),r.jsx(Xe,{_disabled:!0,_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Label"})]})}),r.jsx($e,{_label:"Accordion",_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(qn,{_label:"Label",children:"Content"}),r.jsx(qn,{_disabled:!0,_label:"Label",children:"Content"}),r.jsx(qn,{_label:"Label (open)",_open:!0,children:"Content"}),r.jsx(qn,{_disabled:!0,_label:"Label (open)",_open:!0,children:"Content"})]})}),r.jsx($e,{_label:"Details",_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(ar,{_label:"Label",children:"Content"}),r.jsx(ar,{_disabled:!0,_label:"Label",children:"Content"}),r.jsx(ar,{_label:"Label (open)",_open:!0,children:"Content"}),r.jsx(ar,{_disabled:!0,_label:"Label (open)",_open:!0,children:"Content"})]})}),[an,Kn,Fe,Hn,Nn,yn,An,Vn,fe].map(a=>{const c=a.render.displayName;return r.jsx($e,{_label:c,_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(a,{_label:"Label"}),r.jsx(a,{_disabled:!0,_label:"Label"}),r.jsx(a,{_hideLabel:!0,_label:"Label"}),r.jsx(a,{_disabled:!0,_hideLabel:!0,_label:"Label"})]})},c)}),[On,Qn].map(a=>{const c=a.render.displayName;return r.jsx($e,{_label:c,_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(a,{_label:"Label",_options:js}),r.jsx(a,{_disabled:!0,_label:"Label",_options:js}),r.jsx(a,{_hideLabel:!0,_label:"Label",_options:js}),r.jsx(a,{_disabled:!0,_hideLabel:!0,_label:"Label",_options:js})]})},c)}),r.jsx($e,{_label:"KolTextarea",_level:0,children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(Qe,{_label:"Label",_rows:3}),r.jsx(Qe,{_disabled:!0,_label:"Label",_rows:3}),r.jsx(Qe,{_hideLabel:!0,_label:"Label",_rows:3}),r.jsx(Qe,{_disabled:!0,_hideLabel:!0,_label:"Label",_rows:3})]})})]})]})},w0=()=>{const e=new Map;return e.set("inputCheckbox",(o,a)=>r.jsx(an,{className:"w-full",_name:"checkbox",_label:"Checkbox",ref:a})),e.set("inputColor",(o,a)=>r.jsx(Kn,{className:"w-full",_name:"color",_label:"Color",ref:a})),e.set("inputDate",(o,a)=>r.jsx(Fe,{className:"w-full",_name:"date",_label:"Date",ref:a})),e.set("inputEmail",(o,a)=>r.jsx(Hn,{className:"w-full",_name:"email",_label:"Email",ref:a})),e.set("inputFile",(o,a)=>r.jsx(Nn,{className:"w-full",_name:"file",_label:"File",ref:a})),e.set("inputFileMultiple",(o,a)=>r.jsx(Nn,{className:"w-full",_name:"file",_label:"Files (multiple)",_multiple:!0,ref:a})),e.set("inputNumber",(o,a)=>r.jsx(yn,{className:"w-full",_name:"number",_label:"Number",ref:a})),e.set("inputPassword",(o,a)=>r.jsx(An,{className:"w-full",_name:"password",_label:"Password",ref:a})),e.set("inputRadio",(o,a)=>r.jsx(On,{className:"w-full",_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_value:"A",ref:a})),e.set("inputRange",(o,a)=>r.jsx(Vn,{className:"w-full",_name:"range",_label:"Range",ref:a})),e.set("inputText",(o,a)=>r.jsx(fe,{className:"w-full",_name:"text",_label:"Text",ref:a})),e.set("select",(o,a)=>r.jsx(Qn,{className:"w-full",_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],ref:a})),e.set("selectMultiple",(o,a)=>r.jsx(Qn,{className:"w-full",_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2,ref:a})),e.set("singleSelect",(o,a)=>r.jsx(ko,{className:"w-full",_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],ref:a})),e.set("textarea",(o,a)=>r.jsx(Qe,{className:"w-full",_name:"textarea",_label:"Textarea",_rows:5,ref:a})),e.set("accordion",(o,a)=>r.jsx(qn,{className:"w-full",_label:"Accordion here",ref:a})),e.set("button",(o,a)=>r.jsx("div",{children:r.jsx($,{_label:"Button here",ref:a})})),e.set("buttonLink",(o,a)=>r.jsx(He,{_label:"ButtonLink here",ref:a})),e.set("combobox",(o,a)=>r.jsx(po,{className:"w-full",_label:"KolCombobox here",_suggestions:[],ref:a})),e.set("details",(o,a)=>r.jsx(ar,{className:"w-full",_label:"Details here",ref:a,children:"detailed details"})),e.set("link",(o,a)=>r.jsx(ge,{className:"w-full",_label:"Link here",_href:"#",ref:a})),e.set("linkButton",(o,a)=>r.jsx("div",{children:r.jsx(Xe,{_label:"LinkButton here",_href:"#",ref:a})})),e},t1=e=>{const a=[...j.useMemo(()=>w0(),[]).keys()].map(i=>i);return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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&&r.jsx(oo,{_type:"error",_variant:"card",children:"Component not found."}),r.jsx(ne,{_level:2,_label:"Focus Test Cases"}),r.jsx("ul",{children:a.map(i=>r.jsx("li",{children:r.jsx(ge,{_label:i,_href:`#/scenarios/focus-elements?component=${i}`})},i))})]})},S7=()=>{const e=j.useRef(null),o=j.useMemo(()=>w0(),[]),[a]=ur(),i=a.get("component");if(j.useLayoutEffect(()=>{setTimeout(()=>{e.current?.focus()},500)},[e]),i){const c=o.get(i);if(!c)return r.jsx(t1,{invalidComponent:!0});const d=j.forwardRef(c);return r.jsx(d,{ref:e})}else return r.jsx(t1,{})},T7=[{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}],A7=[{_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}],E7={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 C7(){return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"mainlayout",children:[r.jsx("aside",{className:"nav-area",children:r.jsx(jl,{_label:"Main navigation",_links:v0,_hasCompactButton:!0,_hasIconsWhenExpanded:!0})}),r.jsx("div",{className:"content",children:r.jsxs(ir,{_tabs:A7,_align:"top",_label:"Demo Tabs",children:[r.jsx("div",{style:{overflow:"hidden"},children:r.jsx(on,{_label:"Table for demonstration purposes with horizontal scrollbar",_headers:E7,_data:T7,_pagination:{_page:1},className:"block"})}),r.jsx("div",{}),r.jsx("div",{}),r.jsx("div",{})]})})]})]})}const L7=()=>{const e="Unrecognized phone number.",o="Choose at least two and up to five toppings.",a=["Mushrooms","Bell Peppers","Onions","Olives","Spinach","Tomatoes","Artichokes","Zucchini","Jalapeños","Basil"],i=[{label:"United States +1",value:"1"},{label:"Greece +30 ",value:"30"},{label:"Germany +49",value:"49"},{label:"Japan +81",value:"81"}];return r.jsxs(r.Fragment,{children:[r.jsxs(U,{children:[r.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."}),r.jsx("p",{children:"The sample only demonstrates how the errors can be displayed, an actual validation logic is not part of the example."})]}),r.jsxs("fieldset",{children:[r.jsx("legend",{children:"Phone number"}),r.jsx(oo,{_alert:!0,_type:"error",_label:e}),r.jsxs("div",{className:"grid grid-cols-3 gap-4 max-w-2xl",children:[r.jsx(Qn,{_options:i,_label:"CountryCode ",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0}),r.jsx(fe,{_label:"Area code",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0}),r.jsx(fe,{_label:"Local number",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0})]})]}),r.jsxs("fieldset",{className:"mt",children:[r.jsx("legend",{children:"Pizza toppings"}),r.jsx(oo,{_alert:!0,_type:"error",_label:o}),a.map(c=>r.jsx(an,{_label:c,_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0},c))]})]})},z0=j.createContext(void 0),j0=j.createContext(!1),bo=e=>{const o=j.useRef(null),[a,i]=j.useState(void 0),[c,d]=j.useState(e.inputProps._value),u=e.formatter||JSON.stringify,k=j.useContext(z0),p=j.useContext(j0),m=async()=>{const h=await o.current?.getValue();i(h)};j.useEffect(()=>{const h=()=>{m()};return k?.addEventListener("runAll",h),()=>{k?.removeEventListener("runAll",h)}},[k]);const g=Object.fromEntries(["onInput","onChange","onBlur","onClick","onFocus","onMouseDown"].map(h=>[h,(_,w)=>{p&&console.log(e.inputProps._label,h,w,_),h==="onInput"&&d(w)}]));return r.jsx(r.Fragment,{children:r.jsxs("div",{className:"grid grid-cols-3 items-end gap-4","data-testid":e.testId,children:[r.jsx(e.InputComponent,{ref:o,_on:g,...e.inputProps,_value:c}),r.jsx($,{_label:"getValue()",_on:{onClick:()=>{m()}}}),r.jsx("pre",{className:"text-base",children:u(a)})]})})},N7=()=>{const e=j.useMemo(()=>new EventTarget,[]),[o,a]=j.useState(!0);return r.jsx(r.Fragment,{children:r.jsx(z0.Provider,{value:e,children:r.jsxs(j0.Provider,{value:o,children:[r.jsx(U,{children:r.jsxs("p",{children:["This sample shows how the input components ",r.jsx("code",{children:"getValue()"}),` method works. It's called when clicking the "getValue()" button and prints the current value right next to itself.`]})}),r.jsxs("section",{className:"w-full flex flex-col",children:[r.jsx($e,{_label:"Sample options",className:"block ha mb-8",children:r.jsx(an,{_label:"Log events to console",_value:!0,_checked:o,_on:{onChange:(i,c)=>a(c)}})}),r.jsxs("div",{className:"grid gap-4",children:[r.jsx(bo,{testId:"scenario-inputText",InputComponent:fe,inputProps:{_label:"InputText"}}),r.jsx(bo,{testId:"scenario-inputCheckboxString",InputComponent:an,inputProps:{_label:"KolInputCheckbox (value)",_value:"Checkbox True Value"}}),r.jsx(bo,{testId:"scenario-inputCheckboxBoolean",InputComponent:an,inputProps:{_label:"KolInputCheckbox (boolean)"}}),r.jsx(bo,{testId:"scenario-inputColor",InputComponent:Kn,inputProps:{_label:"KolInputColor"}}),r.jsx(bo,{testId:"scenario-inputDate",InputComponent:Fe,inputProps:{_label:"KolInputDate"}}),r.jsx(bo,{testId:"scenario-inputEmail",InputComponent:Hn,inputProps:{_label:"KolInputEmail"}}),r.jsx(bo,{testId:"scenario-inputFile",InputComponent:Nn,inputProps:{_label:"KolInputFile"},formatter:i=>i instanceof FileList?`FileList{${Array.from(i).map(c=>c.name).join(", ")}}`:JSON.stringify(i)}),r.jsx(bo,{testId:"scenario-inputNumber",InputComponent:yn,inputProps:{_label:"KolInputNumber"}}),r.jsx(bo,{testId:"scenario-inputPassword",InputComponent:An,inputProps:{_label:"KolInputPassword"}}),r.jsx(bo,{testId:"scenario-inputRange",InputComponent:Vn,inputProps:{_label:"KolInputRange"}}),r.jsx(bo,{testId:"scenario-inputRadio",InputComponent:On,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"}}),r.jsx(bo,{testId:"scenario-select",InputComponent:Qn,inputProps:{_label:"KolSelect",_options:[{label:"New York",value:"New York"},{label:"Rio de Janeiro",value:"Rio de Janeiro"},{label:"Rosenheim",value:"Rosenheim"}]}}),r.jsx(bo,{testId:"scenario-singleSelect",InputComponent:ko,inputProps:{_label:"KolSingleSelect",_options:[{label:"New York",value:"New York"},{label:"Rio de Janeiro",value:"Rio de Janeiro"},{label:"Rosenheim",value:"Rosenheim"}],_value:"Rosenheim"}}),r.jsx(bo,{testId:"scenario-combobox",InputComponent:po,inputProps:{_label:"KolCombobox",_suggestions:nt,_value:"Deutschland"}}),r.jsx(bo,{testId:"scenario-textarea",InputComponent:Qe,inputProps:{_label:"KolTextarea"}}),r.jsx(bo,{testId:"scenario-button",InputComponent:$,inputProps:{_label:"KolButton",_variant:"ghost",_value:"KolButton value"}}),r.jsx(bo,{testId:"scenario-buttonLink",InputComponent:He,inputProps:{_label:"KolButtonLink",_value:"KolButtonLink value"}}),r.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[r.jsx("div",{}),r.jsx($,{_label:"Run all",_variant:"primary",_on:{onClick:()=>{e.dispatchEvent(new Event("runAll"))}}})]})]})]})]})})})},O7=()=>{const[e,o]=j.useState(100),[a,i]=j.useState(null),[c,d]=j.useState(null),[u,k]=j.useState(!1),p={onInput:(w,L)=>{o(L)}},m=(w,L)=>{switch(w){case"text":return r.jsx(fe,{_label:`TextInput #${L}`},L);case"number":return r.jsx(yn,{_label:`NumberInput #${L}`},L);case"checkbox":return r.jsx(an,{_label:`Checkbox #${L}`},L);case"skeleton":return r.jsx(R1,{_name:`skeleton-${L}`},L);default:return null}},g=()=>{if(!a)return null;const w=[];for(let L=1;L<=e;L++)w.push(m(a,L));return w},h=w=>{k(!0),d(null);const L=performance.now();i(w),setTimeout(()=>{const S=performance.now();d(S-L),k(!1)},0)},_=()=>{i(null),d(null),k(!1)};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"w-full mb-6",children:[r.jsx("div",{className:"flex flex-wrap items-end gap-4 mb-4",children:r.jsx(yn,{_label:"Number of components",_value:e,_min:1,_max:500,_on:p})}),r.jsxs("div",{className:"flex flex-wrap gap-4 mb-6",children:[r.jsx($,{_label:"Render TextInputs",_variant:"primary",onClick:()=>h("text")}),r.jsx($,{_label:"Render NumberInputs",_variant:"primary",onClick:()=>h("number")}),r.jsx($,{_label:"Render Checkboxes",_variant:"primary",onClick:()=>h("checkbox")}),r.jsx($,{_label:"Render Skeletons",_variant:"primary",onClick:()=>h("skeleton")}),r.jsx($,{_label:"Clear",_variant:"secondary",onClick:_})]})]}),a&&r.jsxs("div",{className:"w-full mb-4",children:[r.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["Rendering ",e," ",a," component",e!==1?"s":""]}),u&&r.jsx("p",{className:"text-sm text-blue-600",children:"⏱️ Measuring render time..."}),c!==null&&!u&&r.jsxs("p",{className:"text-sm text-green-600",children:["✅ Render time: ",c.toFixed(2),"ms"]})]}),r.jsx("div",{className:"w-full grid gap-4",children:g()})]})};var R7=e=>e.type==="checkbox",Mi=e=>e instanceof Date,Dk=e=>e==null;const S0=e=>typeof e=="object";var wa=e=>!Dk(e)&&!Array.isArray(e)&&S0(e)&&!Mi(e),D7=e=>wa(e)&&e.target?R7(e.target)?e.target.checked:e.target.value:e,$7=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,B7=(e,o)=>e.has($7(o)),M7=e=>{const o=e.constructor&&e.constructor.prototype;return wa(o)&&o.hasOwnProperty("isPrototypeOf")},I7=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function T0(e){let o;const a=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)o=new Date(e);else if(!(I7&&(e instanceof Blob||i))&&(a||wa(e)))if(o=a?[]:Object.create(Object.getPrototypeOf(e)),!a&&!M7(e))o=e;else for(const c in e)e.hasOwnProperty(c)&&(o[c]=T0(e[c]));else return e;return o}var A0=e=>/^\w*$/.test(e),Xb=e=>e===void 0,U7=e=>Array.isArray(e)?e.filter(Boolean):[],E0=e=>U7(e.replace(/["|']|\]/g,"").split(/\.|\[/)),$o=(e,o,a)=>{if(!o||!wa(e))return a;const i=(A0(o)?[o]:E0(o)).reduce((c,d)=>Dk(c)?c:c[d],e);return Xb(i)||i===e?Xb(e[o])?a:e[o]:i},ub=e=>typeof e=="boolean",r1=(e,o,a)=>{let i=-1;const c=A0(o)?[o]:E0(o),d=c.length,u=d-1;for(;++i<d;){const k=c[i];let p=a;if(i!==u){const m=e[k];p=wa(m)||Array.isArray(m)?m:isNaN(+c[i+1])?{}:[]}if(k==="__proto__"||k==="constructor"||k==="prototype")return;e[k]=p,e=e[k]}};const a1={BLUR:"blur",CHANGE:"change"},l1={all:"all"},C0=le.createContext(null);C0.displayName="HookFormContext";const $k=()=>le.useContext(C0);var F7=(e,o,a,i=!0)=>{const c={defaultValues:o._defaultValues};for(const d in e)Object.defineProperty(c,d,{get:()=>{const u=d;return o._proxyFormState[u]!==l1.all&&(o._proxyFormState[u]=!i||l1.all),a&&(a[u]=!0),e[u]}});return c};const L0=typeof window<"u"?le.useLayoutEffect:le.useEffect;function K7(e){const o=$k(),{control:a=o.control,disabled:i,name:c,exact:d}=e||{},[u,k]=le.useState(a._formState),p=le.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return L0(()=>a._subscribe({name:c,formState:p.current,exact:d,callback:m=>{!i&&k({...a._formState,...m})}}),[c,i,d]),le.useEffect(()=>{p.current.isValid&&a._setValid(!0)},[a]),le.useMemo(()=>F7(u,a,p.current,!1),[u,a])}var H7=e=>typeof e=="string",V7=(e,o,a,i,c)=>H7(e)?$o(a,e,c):Array.isArray(e)?e.map(d=>$o(a,d)):a,i1=e=>Dk(e)||!S0(e);function N0(e,o,a=new WeakSet){if(i1(e)||i1(o))return e===o;if(Mi(e)&&Mi(o))return e.getTime()===o.getTime();const i=Object.keys(e),c=Object.keys(o);if(i.length!==c.length)return!1;if(a.has(e)||a.has(o))return!0;a.add(e),a.add(o);for(const d of i){const u=e[d];if(!c.includes(d))return!1;if(d!=="ref"){const k=o[d];if(Mi(u)&&Mi(k)||wa(u)&&wa(k)||Array.isArray(u)&&Array.isArray(k)?!N0(u,k,a):u!==k)return!1}}return!0}function q7(e){const o=$k(),{control:a=o.control,name:i,defaultValue:c,disabled:d,exact:u,compute:k}=e||{},p=le.useRef(c),m=le.useRef(k),g=le.useRef(void 0);m.current=k;const h=le.useMemo(()=>a._getWatch(i,p.current),[a,i]),[_,w]=le.useState(m.current?m.current(h):h);return L0(()=>a._subscribe({name:i,formState:{values:!0},exact:u,callback:L=>{if(!d){const S=V7(i,a._names,L.values||a._formValues,!1,p.current);if(m.current){const T=m.current(S);N0(T,g.current)||(w(T),g.current=T)}else w(S)}}}),[a,d,i,u]),le.useEffect(()=>a._removeUnmounted()),_}function Z7(e){const o=$k(),{name:a,disabled:i,control:c=o.control,shouldUnregister:d,defaultValue:u}=e,k=B7(c._names.array,a),p=le.useMemo(()=>$o(c._formValues,a,$o(c._defaultValues,a,u)),[c,a,u]),m=q7({control:c,name:a,defaultValue:p,exact:!0}),g=K7({control:c,name:a,exact:!0}),h=le.useRef(e),_=le.useRef(void 0),w=le.useRef(c.register(a,{...e.rules,value:m,...ub(e.disabled)?{disabled:e.disabled}:{}}));h.current=e;const L=le.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!$o(g.errors,a)},isDirty:{enumerable:!0,get:()=>!!$o(g.dirtyFields,a)},isTouched:{enumerable:!0,get:()=>!!$o(g.touchedFields,a)},isValidating:{enumerable:!0,get:()=>!!$o(g.validatingFields,a)},error:{enumerable:!0,get:()=>$o(g.errors,a)}}),[g,a]),S=le.useCallback(z=>w.current.onChange({target:{value:D7(z),name:a},type:a1.CHANGE}),[a]),T=le.useCallback(()=>w.current.onBlur({target:{value:$o(c._formValues,a),name:a},type:a1.BLUR}),[a,c._formValues]),C=le.useCallback(z=>{const R=$o(c._fields,a);R&&z&&(R._f.ref={focus:()=>z.focus&&z.focus(),select:()=>z.select&&z.select(),setCustomValidity:B=>z.setCustomValidity(B),reportValidity:()=>z.reportValidity()})},[c._fields,a]),x=le.useMemo(()=>({name:a,value:m,...ub(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:S,onBlur:T,ref:C}),[a,i,g.disabled,S,T,C,m]);return le.useEffect(()=>{const z=c._options.shouldUnregister||d,R=_.current;R&&R!==a&&!k&&c.unregister(R),c.register(a,{...h.current.rules,...ub(h.current.disabled)?{disabled:h.current.disabled}:{}});const B=(F,Z)=>{const oe=$o(c._fields,F);oe&&oe._f&&(oe._f.mount=Z)};if(B(a,!0),z){const F=T0($o(c._options.defaultValues,a));r1(c._defaultValues,a,F),Xb($o(c._formValues,a))&&r1(c._formValues,a,F)}return!k&&c.register(a),_.current=a,()=>{(k?z&&!c._state.action:z)?c.unregister(a):B(a,!1)}},[a,c,k,d]),le.useEffect(()=>{c._setDisabledField({disabled:i,name:a})},[i,a,c]),le.useMemo(()=>({field:x,formState:g,fieldState:L}),[x,g,L])}const P7=e=>e.render(Z7(e));function Ko(e,o){const a=le.forwardRef((i,c)=>{const{name:d,control:u,rules:k,defaultValue:p,shouldUnregister:m,...g}=i;return le.createElement(P7,{name:d,control:u,rules:k,defaultValue:p,shouldUnregister:m,disabled:i._disabled,render:({field:h,fieldState:_})=>{const w=g._on,L={...g,ref:S=>{c&&(typeof c=="function"?c(S):c.current=S),S&&h.ref(S)},_name:d,_touched:_.isTouched,_disabled:h.disabled,_msg:_.error?{_type:"error",_description:_.error.message||_.error.toString?.()||"Unknown error"}:void 0,_on:{...w||{},onInput:(S,T)=>{h.onChange(T),w?.onInput?.(S,T)},onChange:(S,T)=>{h.onChange(T),w?.onChange?.(S,T)},onBlur:S=>{h.onBlur(),w?.onBlur?.(S)}}};return o&&(L[o]=h.value),le.createElement(e,{...L})}})});return a.displayName=`withController(${e.displayName||e.name||"Component"})`,a}const Ji=Ko(fe,"_value"),O0=Ko(An,"_value"),R0=Ko(Hn,"_value"),D0=Ko(yn,"_value"),$0=Ko(Vn,"_value"),B0=Ko(Fe,"_value"),M0=Ko(Kn,"_value"),G7=Ko(Nn),I0=Ko(Qe,"_value"),U0=Ko(po,"_value"),F0=Ko(Qn,"_value"),K0=Ko(ko,"_value"),H0=Ko(On,"_value"),V0=Ko(an,"_checked"),Y7={firstName:"",lastName:"",email:"",password:"",age:18,volume:50,birthday:"",favoriteColor:"#000000",cv:null,bio:"",country:"",language:"de",framework:"",gender:"",termsAccepted:!1},J7=[{label:"English",value:"en"},{label:"German",value:"de"},{label:"French",value:"fr"}],X7=[{label:"React",value:"react"},{label:"Vue",value:"vue"},{label:"Stencil",value:"stencil"}],Q7=[{label:"Male",value:"male"},{label:"Female",value:"female"},{label:"Other",value:"other"}],W7=["firstName","lastName","email","password","age","volume","birthday","favoriteColor","cv","bio","country","language","framework","gender","termsAccepted"],eO=()=>{const{control:e,handleSubmit:o,setValue:a,getValues:i,trigger:c}=Cl({defaultValues:Y7,mode:"onTouched",shouldFocusError:!0}),d=()=>{W7.forEach(p=>{a(p,i(p),{shouldTouch:!0,shouldValidate:!0})})},u=p=>{alert(JSON.stringify(p,null,2))},k=p=>{d(),c(void 0,{shouldFocus:!0}),console.warn("Validation errors:",p)};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsx(mo,{className:"w-full max-w-xl",_on:{onSubmit:p=>{o(u,k)(p)}},children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(Ji,{name:"firstName",control:e,_label:"First Name",rules:{required:"First name is required"},_required:!0}),r.jsx(Ji,{name:"lastName",control:e,_label:"Last Name",rules:{required:"Last name is required"},_required:!0}),r.jsx(R0,{name:"email",control:e,_label:"Email",rules:{required:"Email is required"},_required:!0}),r.jsx(O0,{name:"password",control:e,_label:"Password",rules:{required:"Password is required"},_required:!0}),r.jsx(D0,{name:"age",control:e,_label:"Age",rules:{required:"Age is required",min:0},_required:!0}),r.jsx($0,{name:"volume",control:e,_label:"Volume (0–100)",_min:0,_max:100}),r.jsx(B0,{name:"birthday",control:e,_label:"Birthday",rules:{required:"Birthday is required"}}),r.jsx(M0,{name:"favoriteColor",control:e,_label:"Favorite Color",id:"favoriteColor"}),r.jsx(G7,{name:"cv",control:e,_label:"Upload CV",rules:{required:"Please upload your CV"},_required:!0}),r.jsx(I0,{name:"bio",control:e,_label:"Bio",rules:{required:"Please provide a short bio"},_required:!0}),r.jsx(U0,{control:e,rules:{required:"Please select a country"},name:"country",_label:"Country",_suggestions:nt,_required:!0}),r.jsx(F0,{control:e,rules:{required:"Please select a language"},name:"language",_label:"Preferred Language",_options:J7,_required:!0}),r.jsx(K0,{rules:{required:"Please select a framework"},control:e,name:"framework",_label:"Favorite Framework",_options:X7,_required:!0}),r.jsx(H0,{control:e,rules:{required:"Please select your gender"},name:"gender",_label:"Gender",_options:Q7,_required:!0}),r.jsx(V0,{name:"termsAccepted",control:e,_label:"I accept the terms and conditions",rules:{required:"You must accept the terms"},_required:!0}),r.jsx($,{_label:"Submit",_type:"submit"})]})})]})},nO={first:"",second:""},oO=()=>{const{control:e,handleSubmit:o,watch:a}=Cl({defaultValues:nO}),i=c=>{alert(JSON.stringify(c,null,2))};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows two fields of which just one can be filled. The other gets disabled."})}),r.jsx(mo,{className:"w-full max-w-xl",_on:{onSubmit:c=>{o(i)(c)}},children:r.jsxs("div",{className:"grid gap-4",children:[r.jsx(Ji,{name:"first",control:e,_label:"First",_disabled:!!a("second")}),r.jsx(Ji,{name:"second",control:e,_label:"Second",_disabled:!!a("first")}),r.jsx($,{_label:"Submit",_type:"submit"})]})})]})},tO=()=>{const{dummyClickEventHandler:e}=_n(),o={onClick:e};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsxs("div",{className:"w-full flex flex-wrap gap-4",children:[r.jsx($,{_icons:"fa-solid fa-house",_label:"Button",_on:o}),r.jsx($,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Button",_on:o}),r.jsx(Xe,{_href:"#",_icons:"fa-solid fa-house",_label:"Link-Button",_on:o}),r.jsx(Xe,{_hideLabel:!0,_href:"#",_icons:"fa-solid fa-house",_label:"Link-Button",_on:o}),r.jsx(po,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Combobox",_suggestions:[]}),r.jsx(Kn,{_hideLabel:!0,_icons:{left:"fa-solid fa-house"},_label:"Input-Color"}),r.jsx(Nn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-File"}),r.jsx(Fe,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Date"}),r.jsx(Hn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Email"}),r.jsx(yn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Number"}),r.jsx(An,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Password"}),r.jsx(Vn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Range"}),r.jsx(fe,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Input-Text"}),r.jsx(Qn,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Combobox",_options:[]}),r.jsx(ko,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Combobox",_options:[]}),r.jsx(Qe,{_hideLabel:!0,_icons:"fa-solid fa-house",_label:"Combobox"})]})]})},c1=(e,o,a)=>{if(e&&"reportValidity"in e){const i=ue(a,o);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},q0=(e,o)=>{for(const a in o.fields){const i=o.fields[a];i&&i.ref&&"reportValidity"in i.ref?c1(i.ref,a,e):i.refs&&i.refs.forEach(c=>c1(c,a,e))}},rO=(e,o)=>{o.shouldUseNativeValidation&&q0(e,o);const a={};for(const i in e){const c=ue(o.fields,i),d=Object.assign(e[i]||{},{ref:c&&c.ref});if(aO(o.names||Object.keys(e),i)){const u=Object.assign({},ue(a,i));bn(u,"root",d),bn(a,i,u)}else bn(a,i,d)}return a},aO=(e,o)=>e.some(a=>a.startsWith(o+"."));var lO=function(e,o){for(var a={};e.length;){var i=e[0],c=i.code,d=i.message,u=i.path.join(".");if(!a[u])if("unionErrors"in i){var k=i.unionErrors[0].errors[0];a[u]={message:k.message,type:k.code}}else a[u]={message:d,type:c};if("unionErrors"in i&&i.unionErrors.forEach(function(g){return g.errors.forEach(function(h){return e.push(h)})}),o){var p=a[u].types,m=p&&p[i.code];a[u]=t0(u,o,a,c,m?[].concat(m,i.message):i.message)}e.shift()}return a},iO=function(e,o,a){return a===void 0&&(a={}),function(i,c,d){try{return Promise.resolve((function(u,k){try{var p=Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,o)).then(function(m){return d.shouldUseNativeValidation&&q0({},d),{errors:{},values:a.raw?i:m}})}catch(m){return k(m)}return p&&p.then?p.then(void 0,k):p})(0,function(u){if((function(k){return Array.isArray(k?.errors)})(u))return{values:{},errors:rO(lO(u.errors,!d.shouldUseNativeValidation&&d.criteriaMode==="all"),d)};throw u}))}catch(u){return Promise.reject(u)}}};function Q(e,o,a){function i(k,p){if(k._zod||Object.defineProperty(k,"_zod",{value:{def:p,constr:u,traits:new Set},enumerable:!1}),k._zod.traits.has(e))return;k._zod.traits.add(e),o(k,p);const m=u.prototype,g=Object.keys(m);for(let h=0;h<g.length;h++){const _=g[h];_ in k||(k[_]=m[_].bind(k))}}const c=a?.Parent??Object;class d extends c{}Object.defineProperty(d,"name",{value:e});function u(k){var p;const m=a?.Parent?new d:this;i(m,k),(p=m._zod).deferred??(p.deferred=[]);for(const g of m._zod.deferred)g();return m}return Object.defineProperty(u,"init",{value:i}),Object.defineProperty(u,Symbol.hasInstance,{value:k=>a?.Parent&&k instanceof a.Parent?!0:k?._zod?.traits?.has(e)}),Object.defineProperty(u,"name",{value:e}),u}class Tl extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Z0 extends Error{constructor(o){super(`Encountered unidirectional transform during encode: ${o}`),this.name="ZodEncodeError"}}const P0={};function za(e){return P0}function G0(e){const o=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,c])=>o.indexOf(+i)===-1).map(([i,c])=>c)}function Qb(e,o){return typeof o=="bigint"?o.toString():o}function Bk(e){return{get value(){{const o=e();return Object.defineProperty(this,"value",{value:o}),o}}}}function Mk(e){return e==null}function Ik(e){const o=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(o,a)}function cO(e,o){const a=(e.toString().split(".")[1]||"").length,i=o.toString();let c=(i.split(".")[1]||"").length;if(c===0&&/\d?e-\d?/.test(i)){const p=i.match(/\d?e-(\d?)/);p?.[1]&&(c=Number.parseInt(p[1]))}const d=a>c?a:c,u=Number.parseInt(e.toFixed(d).replace(".","")),k=Number.parseInt(o.toFixed(d).replace(".",""));return u%k/10**d}const s1=Symbol("evaluating");function pn(e,o,a){let i;Object.defineProperty(e,o,{get(){if(i!==s1)return i===void 0&&(i=s1,i=a()),i},set(c){Object.defineProperty(e,o,{value:c})},configurable:!0})}function Ea(e,o,a){Object.defineProperty(e,o,{value:a,writable:!0,enumerable:!0,configurable:!0})}function Vr(...e){const o={};for(const a of e){const i=Object.getOwnPropertyDescriptors(a);Object.assign(o,i)}return Object.defineProperties({},o)}function d1(e){return JSON.stringify(e)}function sO(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Y0="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Xs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const dO=Bk(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Xi(e){if(Xs(e)===!1)return!1;const o=e.constructor;if(o===void 0||typeof o!="function")return!0;const a=o.prototype;return!(Xs(a)===!1||Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)}function J0(e){return Xi(e)?{...e}:Array.isArray(e)?[...e]:e}const uO=new Set(["string","number","symbol"]);function pd(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function qr(e,o,a){const i=new e._zod.constr(o??e._zod.def);return(!o||a?.parent)&&(i._zod.parent=e),i}function Se(e){const o=e;if(!o)return{};if(typeof o=="string")return{error:()=>o};if(o?.message!==void 0){if(o?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");o.error=o.message}return delete o.message,typeof o.error=="string"?{...o,error:()=>o.error}:o}function fO(e){return Object.keys(e).filter(o=>e[o]._zod.optin==="optional"&&e[o]._zod.optout==="optional")}const bO={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function kO(e,o){const a=e._zod.def,i=a.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const d=Vr(e._zod.def,{get shape(){const u={};for(const k in o){if(!(k in a.shape))throw new Error(`Unrecognized key: "${k}"`);o[k]&&(u[k]=a.shape[k])}return Ea(this,"shape",u),u},checks:[]});return qr(e,d)}function pO(e,o){const a=e._zod.def,i=a.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const d=Vr(e._zod.def,{get shape(){const u={...e._zod.def.shape};for(const k in o){if(!(k in a.shape))throw new Error(`Unrecognized key: "${k}"`);o[k]&&delete u[k]}return Ea(this,"shape",u),u},checks:[]});return qr(e,d)}function mO(e,o){if(!Xi(o))throw new Error("Invalid input to extend: expected a plain object");const a=e._zod.def.checks;if(a&&a.length>0){const d=e._zod.def.shape;for(const u in o)if(Object.getOwnPropertyDescriptor(d,u)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const c=Vr(e._zod.def,{get shape(){const d={...e._zod.def.shape,...o};return Ea(this,"shape",d),d}});return qr(e,c)}function vO(e,o){if(!Xi(o))throw new Error("Invalid input to safeExtend: expected a plain object");const a=Vr(e._zod.def,{get shape(){const i={...e._zod.def.shape,...o};return Ea(this,"shape",i),i}});return qr(e,a)}function hO(e,o){const a=Vr(e._zod.def,{get shape(){const i={...e._zod.def.shape,...o._zod.def.shape};return Ea(this,"shape",i),i},get catchall(){return o._zod.def.catchall},checks:[]});return qr(e,a)}function gO(e,o,a){const c=o._zod.def.checks;if(c&&c.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const u=Vr(o._zod.def,{get shape(){const k=o._zod.def.shape,p={...k};if(a)for(const m in a){if(!(m in k))throw new Error(`Unrecognized key: "${m}"`);a[m]&&(p[m]=e?new e({type:"optional",innerType:k[m]}):k[m])}else for(const m in k)p[m]=e?new e({type:"optional",innerType:k[m]}):k[m];return Ea(this,"shape",p),p},checks:[]});return qr(o,u)}function _O(e,o,a){const i=Vr(o._zod.def,{get shape(){const c=o._zod.def.shape,d={...c};if(a)for(const u in a){if(!(u in d))throw new Error(`Unrecognized key: "${u}"`);a[u]&&(d[u]=new e({type:"nonoptional",innerType:c[u]}))}else for(const u in c)d[u]=new e({type:"nonoptional",innerType:c[u]});return Ea(this,"shape",d),d}});return qr(o,i)}function zl(e,o=0){if(e.aborted===!0)return!0;for(let a=o;a<e.issues.length;a++)if(e.issues[a]?.continue!==!0)return!0;return!1}function X0(e,o){return o.map(a=>{var i;return(i=a).path??(i.path=[]),a.path.unshift(e),a})}function Ss(e){return typeof e=="string"?e:e?.message}function ja(e,o,a){const i={...e,path:e.path??[]};if(!e.message){const c=Ss(e.inst?._zod.def?.error?.(e))??Ss(o?.error?.(e))??Ss(a.customError?.(e))??Ss(a.localeError?.(e))??"Invalid input";i.message=c}return delete i.inst,delete i.continue,o?.reportInput||delete i.input,i}function Uk(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Qi(...e){const[o,a,i]=e;return typeof o=="string"?{message:o,code:"custom",input:a,inst:i}:{...o}}const Q0=(e,o)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:o,enumerable:!1}),e.message=JSON.stringify(o,Qb,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},W0=Q("$ZodError",Q0),ew=Q("$ZodError",Q0,{Parent:Error});function xO(e,o=a=>a.message){const a={},i=[];for(const c of e.issues)c.path.length>0?(a[c.path[0]]=a[c.path[0]]||[],a[c.path[0]].push(o(c))):i.push(o(c));return{formErrors:i,fieldErrors:a}}function yO(e,o=a=>a.message){const a={_errors:[]},i=c=>{for(const d of c.issues)if(d.code==="invalid_union"&&d.errors.length)d.errors.map(u=>i({issues:u}));else if(d.code==="invalid_key")i({issues:d.issues});else if(d.code==="invalid_element")i({issues:d.issues});else if(d.path.length===0)a._errors.push(o(d));else{let u=a,k=0;for(;k<d.path.length;){const p=d.path[k];k===d.path.length-1?(u[p]=u[p]||{_errors:[]},u[p]._errors.push(o(d))):u[p]=u[p]||{_errors:[]},u=u[p],k++}}};return i(e),a}const Fk=e=>(o,a,i,c)=>{const d=i?Object.assign(i,{async:!1}):{async:!1},u=o._zod.run({value:a,issues:[]},d);if(u instanceof Promise)throw new Tl;if(u.issues.length){const k=new(c?.Err??e)(u.issues.map(p=>ja(p,d,za())));throw Y0(k,c?.callee),k}return u.value},Kk=e=>async(o,a,i,c)=>{const d=i?Object.assign(i,{async:!0}):{async:!0};let u=o._zod.run({value:a,issues:[]},d);if(u instanceof Promise&&(u=await u),u.issues.length){const k=new(c?.Err??e)(u.issues.map(p=>ja(p,d,za())));throw Y0(k,c?.callee),k}return u.value},md=e=>(o,a,i)=>{const c=i?{...i,async:!1}:{async:!1},d=o._zod.run({value:a,issues:[]},c);if(d instanceof Promise)throw new Tl;return d.issues.length?{success:!1,error:new(e??W0)(d.issues.map(u=>ja(u,c,za())))}:{success:!0,data:d.value}},wO=md(ew),vd=e=>async(o,a,i)=>{const c=i?Object.assign(i,{async:!0}):{async:!0};let d=o._zod.run({value:a,issues:[]},c);return d instanceof Promise&&(d=await d),d.issues.length?{success:!1,error:new e(d.issues.map(u=>ja(u,c,za())))}:{success:!0,data:d.value}},zO=vd(ew),jO=e=>(o,a,i)=>{const c=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Fk(e)(o,a,c)},SO=e=>(o,a,i)=>Fk(e)(o,a,i),TO=e=>async(o,a,i)=>{const c=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Kk(e)(o,a,c)},AO=e=>async(o,a,i)=>Kk(e)(o,a,i),EO=e=>(o,a,i)=>{const c=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return md(e)(o,a,c)},CO=e=>(o,a,i)=>md(e)(o,a,i),LO=e=>async(o,a,i)=>{const c=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return vd(e)(o,a,c)},NO=e=>async(o,a,i)=>vd(e)(o,a,i),OO=/^[cC][^\s-]{8,}$/,RO=/^[0-9a-z]+$/,DO=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$O=/^[0-9a-vA-V]{20}$/,BO=/^[A-Za-z0-9]{27}$/,MO=/^[a-zA-Z0-9_-]{21}$/,IO=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,UO=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,u1=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,FO=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,KO="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function HO(){return new RegExp(KO,"u")}const VO=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,qO=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,ZO=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,PO=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,GO=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,nw=/^[A-Za-z0-9_-]*$/,YO=/^\+[1-9]\d{6,14}$/,ow="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",JO=new RegExp(`^${ow}$`);function tw(e){const o="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${o}`:e.precision===0?`${o}:[0-5]\\d`:`${o}:[0-5]\\d\\.\\d{${e.precision}}`:`${o}(?::[0-5]\\d(?:\\.\\d+)?)?`}function XO(e){return new RegExp(`^${tw(e)}$`)}function QO(e){const o=tw({precision:e.precision}),a=["Z"];e.local&&a.push(""),e.offset&&a.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const i=`${o}(?:${a.join("|")})`;return new RegExp(`^${ow}T(?:${i})$`)}const WO=e=>{const o=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${o}$`)},eR=/^-?\d+$/,nR=/^-?\d+(?:\.\d+)?$/,oR=/^(?:true|false)$/i,tR=/^[^A-Z]*$/,rR=/^[^a-z]*$/,Ho=Q("$ZodCheck",(e,o)=>{var a;e._zod??(e._zod={}),e._zod.def=o,(a=e._zod).onattach??(a.onattach=[])}),rw={number:"number",bigint:"bigint",object:"date"},aw=Q("$ZodCheckLessThan",(e,o)=>{Ho.init(e,o);const a=rw[typeof o.value];e._zod.onattach.push(i=>{const c=i._zod.bag,d=(o.inclusive?c.maximum:c.exclusiveMaximum)??Number.POSITIVE_INFINITY;o.value<d&&(o.inclusive?c.maximum=o.value:c.exclusiveMaximum=o.value)}),e._zod.check=i=>{(o.inclusive?i.value<=o.value:i.value<o.value)||i.issues.push({origin:a,code:"too_big",maximum:typeof o.value=="object"?o.value.getTime():o.value,input:i.value,inclusive:o.inclusive,inst:e,continue:!o.abort})}}),lw=Q("$ZodCheckGreaterThan",(e,o)=>{Ho.init(e,o);const a=rw[typeof o.value];e._zod.onattach.push(i=>{const c=i._zod.bag,d=(o.inclusive?c.minimum:c.exclusiveMinimum)??Number.NEGATIVE_INFINITY;o.value>d&&(o.inclusive?c.minimum=o.value:c.exclusiveMinimum=o.value)}),e._zod.check=i=>{(o.inclusive?i.value>=o.value:i.value>o.value)||i.issues.push({origin:a,code:"too_small",minimum:typeof o.value=="object"?o.value.getTime():o.value,input:i.value,inclusive:o.inclusive,inst:e,continue:!o.abort})}}),aR=Q("$ZodCheckMultipleOf",(e,o)=>{Ho.init(e,o),e._zod.onattach.push(a=>{var i;(i=a._zod.bag).multipleOf??(i.multipleOf=o.value)}),e._zod.check=a=>{if(typeof a.value!=typeof o.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof a.value=="bigint"?a.value%o.value===BigInt(0):cO(a.value,o.value)===0)||a.issues.push({origin:typeof a.value,code:"not_multiple_of",divisor:o.value,input:a.value,inst:e,continue:!o.abort})}}),lR=Q("$ZodCheckNumberFormat",(e,o)=>{Ho.init(e,o),o.format=o.format||"float64";const a=o.format?.includes("int"),i=a?"int":"number",[c,d]=bO[o.format];e._zod.onattach.push(u=>{const k=u._zod.bag;k.format=o.format,k.minimum=c,k.maximum=d,a&&(k.pattern=eR)}),e._zod.check=u=>{const k=u.value;if(a){if(!Number.isInteger(k)){u.issues.push({expected:i,format:o.format,code:"invalid_type",continue:!1,input:k,inst:e});return}if(!Number.isSafeInteger(k)){k>0?u.issues.push({input:k,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!o.abort}):u.issues.push({input:k,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!o.abort});return}}k<c&&u.issues.push({origin:"number",input:k,code:"too_small",minimum:c,inclusive:!0,inst:e,continue:!o.abort}),k>d&&u.issues.push({origin:"number",input:k,code:"too_big",maximum:d,inclusive:!0,inst:e,continue:!o.abort})}}),iR=Q("$ZodCheckMaxLength",(e,o)=>{var a;Ho.init(e,o),(a=e._zod.def).when??(a.when=i=>{const c=i.value;return!Mk(c)&&c.length!==void 0}),e._zod.onattach.push(i=>{const c=i._zod.bag.maximum??Number.POSITIVE_INFINITY;o.maximum<c&&(i._zod.bag.maximum=o.maximum)}),e._zod.check=i=>{const c=i.value;if(c.length<=o.maximum)return;const u=Uk(c);i.issues.push({origin:u,code:"too_big",maximum:o.maximum,inclusive:!0,input:c,inst:e,continue:!o.abort})}}),cR=Q("$ZodCheckMinLength",(e,o)=>{var a;Ho.init(e,o),(a=e._zod.def).when??(a.when=i=>{const c=i.value;return!Mk(c)&&c.length!==void 0}),e._zod.onattach.push(i=>{const c=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;o.minimum>c&&(i._zod.bag.minimum=o.minimum)}),e._zod.check=i=>{const c=i.value;if(c.length>=o.minimum)return;const u=Uk(c);i.issues.push({origin:u,code:"too_small",minimum:o.minimum,inclusive:!0,input:c,inst:e,continue:!o.abort})}}),sR=Q("$ZodCheckLengthEquals",(e,o)=>{var a;Ho.init(e,o),(a=e._zod.def).when??(a.when=i=>{const c=i.value;return!Mk(c)&&c.length!==void 0}),e._zod.onattach.push(i=>{const c=i._zod.bag;c.minimum=o.length,c.maximum=o.length,c.length=o.length}),e._zod.check=i=>{const c=i.value,d=c.length;if(d===o.length)return;const u=Uk(c),k=d>o.length;i.issues.push({origin:u,...k?{code:"too_big",maximum:o.length}:{code:"too_small",minimum:o.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!o.abort})}}),hd=Q("$ZodCheckStringFormat",(e,o)=>{var a,i;Ho.init(e,o),e._zod.onattach.push(c=>{const d=c._zod.bag;d.format=o.format,o.pattern&&(d.patterns??(d.patterns=new Set),d.patterns.add(o.pattern))}),o.pattern?(a=e._zod).check??(a.check=c=>{o.pattern.lastIndex=0,!o.pattern.test(c.value)&&c.issues.push({origin:"string",code:"invalid_format",format:o.format,input:c.value,...o.pattern?{pattern:o.pattern.toString()}:{},inst:e,continue:!o.abort})}):(i=e._zod).check??(i.check=()=>{})}),dR=Q("$ZodCheckRegex",(e,o)=>{hd.init(e,o),e._zod.check=a=>{o.pattern.lastIndex=0,!o.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:"regex",input:a.value,pattern:o.pattern.toString(),inst:e,continue:!o.abort})}}),uR=Q("$ZodCheckLowerCase",(e,o)=>{o.pattern??(o.pattern=tR),hd.init(e,o)}),fR=Q("$ZodCheckUpperCase",(e,o)=>{o.pattern??(o.pattern=rR),hd.init(e,o)}),bR=Q("$ZodCheckIncludes",(e,o)=>{Ho.init(e,o);const a=pd(o.includes),i=new RegExp(typeof o.position=="number"?`^.{${o.position}}${a}`:a);o.pattern=i,e._zod.onattach.push(c=>{const d=c._zod.bag;d.patterns??(d.patterns=new Set),d.patterns.add(i)}),e._zod.check=c=>{c.value.includes(o.includes,o.position)||c.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:o.includes,input:c.value,inst:e,continue:!o.abort})}}),kR=Q("$ZodCheckStartsWith",(e,o)=>{Ho.init(e,o);const a=new RegExp(`^${pd(o.prefix)}.*`);o.pattern??(o.pattern=a),e._zod.onattach.push(i=>{const c=i._zod.bag;c.patterns??(c.patterns=new Set),c.patterns.add(a)}),e._zod.check=i=>{i.value.startsWith(o.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:o.prefix,input:i.value,inst:e,continue:!o.abort})}}),pR=Q("$ZodCheckEndsWith",(e,o)=>{Ho.init(e,o);const a=new RegExp(`.*${pd(o.suffix)}$`);o.pattern??(o.pattern=a),e._zod.onattach.push(i=>{const c=i._zod.bag;c.patterns??(c.patterns=new Set),c.patterns.add(a)}),e._zod.check=i=>{i.value.endsWith(o.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:o.suffix,input:i.value,inst:e,continue:!o.abort})}}),mR=Q("$ZodCheckOverwrite",(e,o)=>{Ho.init(e,o),e._zod.check=a=>{a.value=o.tx(a.value)}});class vR{constructor(o=[]){this.content=[],this.indent=0,this&&(this.args=o)}indented(o){this.indent+=1,o(this),this.indent-=1}write(o){if(typeof o=="function"){o(this,{execution:"sync"}),o(this,{execution:"async"});return}const i=o.split(`
|
|
39190
39190
|
`).filter(u=>u),c=Math.min(...i.map(u=>u.length-u.trimStart().length)),d=i.map(u=>u.slice(c)).map(u=>" ".repeat(this.indent*2)+u);for(const u of d)this.content.push(u)}compile(){const o=Function,a=this?.args,c=[...(this?.content??[""]).map(d=>` ${d}`)];return new o(...a,c.join(`
|
|
39191
|
-
`))}}const hR={major:4,minor:3,patch:6},Mn=Q("$ZodType",(e,o)=>{var a;e??(e={}),e._zod.def=o,e._zod.bag=e._zod.bag||{},e._zod.version=hR;const i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(const c of i)for(const d of c._zod.onattach)d(e);if(i.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const c=(u,k,p)=>{let m=zl(u),g;for(const h of k){if(h._zod.def.when){if(!h._zod.def.when(u))continue}else if(m)continue;const _=u.issues.length,w=h._zod.check(u);if(w instanceof Promise&&p?.async===!1)throw new Tl;if(g||w instanceof Promise)g=(g??Promise.resolve()).then(async()=>{await w,u.issues.length!==_&&(m||(m=zl(u,_)))});else{if(u.issues.length===_)continue;m||(m=zl(u,_))}}return g?g.then(()=>u):u},d=(u,k,p)=>{if(zl(u))return u.aborted=!0,u;const m=c(k,i,p);if(m instanceof Promise){if(p.async===!1)throw new Tl;return m.then(g=>e._zod.parse(g,p))}return e._zod.parse(m,p)};e._zod.run=(u,k)=>{if(k.skipChecks)return e._zod.parse(u,k);if(k.direction==="backward"){const m=e._zod.parse({value:u.value,issues:[]},{...k,skipChecks:!0});return m instanceof Promise?m.then(g=>d(g,u,k)):d(m,u,k)}const p=e._zod.parse(u,k);if(p instanceof Promise){if(k.async===!1)throw new Tl;return p.then(m=>c(m,i,k))}return c(p,i,k)}}pn(e,"~standard",()=>({validate:c=>{try{const d=
|
|
39191
|
+
`))}}const hR={major:4,minor:3,patch:6},Mn=Q("$ZodType",(e,o)=>{var a;e??(e={}),e._zod.def=o,e._zod.bag=e._zod.bag||{},e._zod.version=hR;const i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(const c of i)for(const d of c._zod.onattach)d(e);if(i.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const c=(u,k,p)=>{let m=zl(u),g;for(const h of k){if(h._zod.def.when){if(!h._zod.def.when(u))continue}else if(m)continue;const _=u.issues.length,w=h._zod.check(u);if(w instanceof Promise&&p?.async===!1)throw new Tl;if(g||w instanceof Promise)g=(g??Promise.resolve()).then(async()=>{await w,u.issues.length!==_&&(m||(m=zl(u,_)))});else{if(u.issues.length===_)continue;m||(m=zl(u,_))}}return g?g.then(()=>u):u},d=(u,k,p)=>{if(zl(u))return u.aborted=!0,u;const m=c(k,i,p);if(m instanceof Promise){if(p.async===!1)throw new Tl;return m.then(g=>e._zod.parse(g,p))}return e._zod.parse(m,p)};e._zod.run=(u,k)=>{if(k.skipChecks)return e._zod.parse(u,k);if(k.direction==="backward"){const m=e._zod.parse({value:u.value,issues:[]},{...k,skipChecks:!0});return m instanceof Promise?m.then(g=>d(g,u,k)):d(m,u,k)}const p=e._zod.parse(u,k);if(p instanceof Promise){if(k.async===!1)throw new Tl;return p.then(m=>c(m,i,k))}return c(p,i,k)}}pn(e,"~standard",()=>({validate:c=>{try{const d=wO(e,c);return d.success?{value:d.data}:{issues:d.error?.issues}}catch{return zO(e,c).then(u=>u.success?{value:u.data}:{issues:u.error?.issues})}},vendor:"zod",version:1}))}),Hk=Q("$ZodString",(e,o)=>{Mn.init(e,o),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??WO(e._zod.bag),e._zod.parse=(a,i)=>{if(o.coerce)try{a.value=String(a.value)}catch{}return typeof a.value=="string"||a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),Cn=Q("$ZodStringFormat",(e,o)=>{hd.init(e,o),Hk.init(e,o)}),gR=Q("$ZodGUID",(e,o)=>{o.pattern??(o.pattern=UO),Cn.init(e,o)}),_R=Q("$ZodUUID",(e,o)=>{if(o.version){const i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[o.version];if(i===void 0)throw new Error(`Invalid UUID version: "${o.version}"`);o.pattern??(o.pattern=u1(i))}else o.pattern??(o.pattern=u1());Cn.init(e,o)}),xR=Q("$ZodEmail",(e,o)=>{o.pattern??(o.pattern=FO),Cn.init(e,o)}),yR=Q("$ZodURL",(e,o)=>{Cn.init(e,o),e._zod.check=a=>{try{const i=a.value.trim(),c=new URL(i);o.hostname&&(o.hostname.lastIndex=0,o.hostname.test(c.hostname)||a.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:o.hostname.source,input:a.value,inst:e,continue:!o.abort})),o.protocol&&(o.protocol.lastIndex=0,o.protocol.test(c.protocol.endsWith(":")?c.protocol.slice(0,-1):c.protocol)||a.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:o.protocol.source,input:a.value,inst:e,continue:!o.abort})),o.normalize?a.value=c.href:a.value=i;return}catch{a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!o.abort})}}}),wR=Q("$ZodEmoji",(e,o)=>{o.pattern??(o.pattern=HO()),Cn.init(e,o)}),zR=Q("$ZodNanoID",(e,o)=>{o.pattern??(o.pattern=MO),Cn.init(e,o)}),jR=Q("$ZodCUID",(e,o)=>{o.pattern??(o.pattern=OO),Cn.init(e,o)}),SR=Q("$ZodCUID2",(e,o)=>{o.pattern??(o.pattern=RO),Cn.init(e,o)}),TR=Q("$ZodULID",(e,o)=>{o.pattern??(o.pattern=DO),Cn.init(e,o)}),AR=Q("$ZodXID",(e,o)=>{o.pattern??(o.pattern=$O),Cn.init(e,o)}),ER=Q("$ZodKSUID",(e,o)=>{o.pattern??(o.pattern=BO),Cn.init(e,o)}),CR=Q("$ZodISODateTime",(e,o)=>{o.pattern??(o.pattern=QO(o)),Cn.init(e,o)}),LR=Q("$ZodISODate",(e,o)=>{o.pattern??(o.pattern=JO),Cn.init(e,o)}),NR=Q("$ZodISOTime",(e,o)=>{o.pattern??(o.pattern=XO(o)),Cn.init(e,o)}),OR=Q("$ZodISODuration",(e,o)=>{o.pattern??(o.pattern=IO),Cn.init(e,o)}),RR=Q("$ZodIPv4",(e,o)=>{o.pattern??(o.pattern=VO),Cn.init(e,o),e._zod.bag.format="ipv4"}),DR=Q("$ZodIPv6",(e,o)=>{o.pattern??(o.pattern=qO),Cn.init(e,o),e._zod.bag.format="ipv6",e._zod.check=a=>{try{new URL(`http://[${a.value}]`)}catch{a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!o.abort})}}}),$R=Q("$ZodCIDRv4",(e,o)=>{o.pattern??(o.pattern=ZO),Cn.init(e,o)}),BR=Q("$ZodCIDRv6",(e,o)=>{o.pattern??(o.pattern=PO),Cn.init(e,o),e._zod.check=a=>{const i=a.value.split("/");try{if(i.length!==2)throw new Error;const[c,d]=i;if(!d)throw new Error;const u=Number(d);if(`${u}`!==d)throw new Error;if(u<0||u>128)throw new Error;new URL(`http://[${c}]`)}catch{a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!o.abort})}}});function iw(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const MR=Q("$ZodBase64",(e,o)=>{o.pattern??(o.pattern=GO),Cn.init(e,o),e._zod.bag.contentEncoding="base64",e._zod.check=a=>{iw(a.value)||a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!o.abort})}});function IR(e){if(!nw.test(e))return!1;const o=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),a=o.padEnd(Math.ceil(o.length/4)*4,"=");return iw(a)}const UR=Q("$ZodBase64URL",(e,o)=>{o.pattern??(o.pattern=nw),Cn.init(e,o),e._zod.bag.contentEncoding="base64url",e._zod.check=a=>{IR(a.value)||a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!o.abort})}}),FR=Q("$ZodE164",(e,o)=>{o.pattern??(o.pattern=YO),Cn.init(e,o)});function KR(e,o=null){try{const a=e.split(".");if(a.length!==3)return!1;const[i]=a;if(!i)return!1;const c=JSON.parse(atob(i));return!("typ"in c&&c?.typ!=="JWT"||!c.alg||o&&(!("alg"in c)||c.alg!==o))}catch{return!1}}const HR=Q("$ZodJWT",(e,o)=>{Cn.init(e,o),e._zod.check=a=>{KR(a.value,o.alg)||a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!o.abort})}}),cw=Q("$ZodNumber",(e,o)=>{Mn.init(e,o),e._zod.pattern=e._zod.bag.pattern??nR,e._zod.parse=(a,i)=>{if(o.coerce)try{a.value=Number(a.value)}catch{}const c=a.value;if(typeof c=="number"&&!Number.isNaN(c)&&Number.isFinite(c))return a;const d=typeof c=="number"?Number.isNaN(c)?"NaN":Number.isFinite(c)?void 0:"Infinity":void 0;return a.issues.push({expected:"number",code:"invalid_type",input:c,inst:e,...d?{received:d}:{}}),a}}),VR=Q("$ZodNumberFormat",(e,o)=>{lR.init(e,o),cw.init(e,o)}),qR=Q("$ZodBoolean",(e,o)=>{Mn.init(e,o),e._zod.pattern=oR,e._zod.parse=(a,i)=>{if(o.coerce)try{a.value=!!a.value}catch{}const c=a.value;return typeof c=="boolean"||a.issues.push({expected:"boolean",code:"invalid_type",input:c,inst:e}),a}}),ZR=Q("$ZodUnknown",(e,o)=>{Mn.init(e,o),e._zod.parse=a=>a}),PR=Q("$ZodNever",(e,o)=>{Mn.init(e,o),e._zod.parse=(a,i)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)}),GR=Q("$ZodDate",(e,o)=>{Mn.init(e,o),e._zod.parse=(a,i)=>{if(o.coerce)try{a.value=new Date(a.value)}catch{}const c=a.value,d=c instanceof Date;return d&&!Number.isNaN(c.getTime())||a.issues.push({expected:"date",code:"invalid_type",input:c,...d?{received:"Invalid Date"}:{},inst:e}),a}});function f1(e,o,a){e.issues.length&&o.issues.push(...X0(a,e.issues)),o.value[a]=e.value}const YR=Q("$ZodArray",(e,o)=>{Mn.init(e,o),e._zod.parse=(a,i)=>{const c=a.value;if(!Array.isArray(c))return a.issues.push({expected:"array",code:"invalid_type",input:c,inst:e}),a;a.value=Array(c.length);const d=[];for(let u=0;u<c.length;u++){const k=c[u],p=o.element._zod.run({value:k,issues:[]},i);p instanceof Promise?d.push(p.then(m=>f1(m,a,u))):f1(p,a,u)}return d.length?Promise.all(d).then(()=>a):a}});function Qs(e,o,a,i,c){if(e.issues.length){if(c&&!(a in i))return;o.issues.push(...X0(a,e.issues))}e.value===void 0?a in i&&(o.value[a]=void 0):o.value[a]=e.value}function sw(e){const o=Object.keys(e.shape);for(const i of o)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);const a=fO(e.shape);return{...e,keys:o,keySet:new Set(o),numKeys:o.length,optionalKeys:new Set(a)}}function dw(e,o,a,i,c,d){const u=[],k=c.keySet,p=c.catchall._zod,m=p.def.type,g=p.optout==="optional";for(const h in o){if(k.has(h))continue;if(m==="never"){u.push(h);continue}const _=p.run({value:o[h],issues:[]},i);_ instanceof Promise?e.push(_.then(w=>Qs(w,a,h,o,g))):Qs(_,a,h,o,g)}return u.length&&a.issues.push({code:"unrecognized_keys",keys:u,input:o,inst:d}),e.length?Promise.all(e).then(()=>a):a}const JR=Q("$ZodObject",(e,o)=>{if(Mn.init(e,o),!Object.getOwnPropertyDescriptor(o,"shape")?.get){const k=o.shape;Object.defineProperty(o,"shape",{get:()=>{const p={...k};return Object.defineProperty(o,"shape",{value:p}),p}})}const i=Bk(()=>sw(o));pn(e._zod,"propValues",()=>{const k=o.shape,p={};for(const m in k){const g=k[m]._zod;if(g.values){p[m]??(p[m]=new Set);for(const h of g.values)p[m].add(h)}}return p});const c=Xs,d=o.catchall;let u;e._zod.parse=(k,p)=>{u??(u=i.value);const m=k.value;if(!c(m))return k.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),k;k.value={};const g=[],h=u.shape;for(const _ of u.keys){const w=h[_],L=w._zod.optout==="optional",S=w._zod.run({value:m[_],issues:[]},p);S instanceof Promise?g.push(S.then(T=>Qs(T,k,_,m,L))):Qs(S,k,_,m,L)}return d?dw(g,m,k,p,i.value,e):g.length?Promise.all(g).then(()=>k):k}}),XR=Q("$ZodObjectJIT",(e,o)=>{JR.init(e,o);const a=e._zod.parse,i=Bk(()=>sw(o)),c=_=>{const w=new vR(["shape","payload","ctx"]),L=i.value,S=z=>{const R=d1(z);return`shape[${R}]._zod.run({ value: input[${R}], issues: [] }, ctx)`};w.write("const input = payload.value;");const T=Object.create(null);let C=0;for(const z of L.keys)T[z]=`key_${C++}`;w.write("const newResult = {};");for(const z of L.keys){const R=T[z],B=d1(z),Z=_[z]?._zod?.optout==="optional";w.write(`const ${R} = ${S(z)};`),Z?w.write(`
|
|
39192
39192
|
if (${R}.issues.length) {
|
|
39193
39193
|
if (${B} in input) {
|
|
39194
39194
|
payload.issues = payload.issues.concat(${R}.issues.map(iss => ({
|
|
@@ -39222,9 +39222,9 @@ sit amet.`,eO=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsxs("p",{chi
|
|
|
39222
39222
|
newResult[${B}] = ${R}.value;
|
|
39223
39223
|
}
|
|
39224
39224
|
|
|
39225
|
-
`)}w.write("payload.value = newResult;"),w.write("return payload;");const x=w.compile();return(z,R)=>x(_,z,R)};let d;const u=Xs,k=!P0.jitless,m=k&&d7.value,g=o.catchall;let h;e._zod.parse=(_,w)=>{h??(h=i.value);const L=_.value;return u(L)?k&&m&&w?.async===!1&&w.jitless!==!0?(d||(d=c(o.shape)),_=d(_,w),g?dw([],L,_,w,h,e):_):a(_,w):(_.issues.push({expected:"object",code:"invalid_type",input:L,inst:e}),_)}});function b1(e,o,a,i){for(const d of e)if(d.issues.length===0)return o.value=d.value,o;const c=e.filter(d=>!zl(d));return c.length===1?(o.value=c[0].value,c[0]):(o.issues.push({code:"invalid_union",input:o.value,inst:a,errors:e.map(d=>d.issues.map(u=>ja(u,i,za())))}),o)}const QR=Q("$ZodUnion",(e,o)=>{Mn.init(e,o),pn(e._zod,"optin",()=>o.options.some(c=>c._zod.optin==="optional")?"optional":void 0),pn(e._zod,"optout",()=>o.options.some(c=>c._zod.optout==="optional")?"optional":void 0),pn(e._zod,"values",()=>{if(o.options.every(c=>c._zod.values))return new Set(o.options.flatMap(c=>Array.from(c._zod.values)))}),pn(e._zod,"pattern",()=>{if(o.options.every(c=>c._zod.pattern)){const c=o.options.map(d=>d._zod.pattern);return new RegExp(`^(${c.map(d=>Ik(d.source)).join("|")})$`)}});const a=o.options.length===1,i=o.options[0]._zod.run;e._zod.parse=(c,d)=>{if(a)return i(c,d);let u=!1;const k=[];for(const p of o.options){const m=p._zod.run({value:c.value,issues:[]},d);if(m instanceof Promise)k.push(m),u=!0;else{if(m.issues.length===0)return m;k.push(m)}}return u?Promise.all(k).then(p=>b1(p,c,e,d)):b1(k,c,e,d)}}),WR=Q("$ZodIntersection",(e,o)=>{Mn.init(e,o),e._zod.parse=(a,i)=>{const c=a.value,d=o.left._zod.run({value:c,issues:[]},i),u=o.right._zod.run({value:c,issues:[]},i);return d instanceof Promise||u instanceof Promise?Promise.all([d,u]).then(([p,m])=>k1(a,p,m)):k1(a,d,u)}});function Wb(e,o){if(e===o)return{valid:!0,data:e};if(e instanceof Date&&o instanceof Date&&+e==+o)return{valid:!0,data:e};if(Xi(e)&&Xi(o)){const a=Object.keys(o),i=Object.keys(e).filter(d=>a.indexOf(d)!==-1),c={...e,...o};for(const d of i){const u=Wb(e[d],o[d]);if(!u.valid)return{valid:!1,mergeErrorPath:[d,...u.mergeErrorPath]};c[d]=u.data}return{valid:!0,data:c}}if(Array.isArray(e)&&Array.isArray(o)){if(e.length!==o.length)return{valid:!1,mergeErrorPath:[]};const a=[];for(let i=0;i<e.length;i++){const c=e[i],d=o[i],u=Wb(c,d);if(!u.valid)return{valid:!1,mergeErrorPath:[i,...u.mergeErrorPath]};a.push(u.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function k1(e,o,a){const i=new Map;let c;for(const k of o.issues)if(k.code==="unrecognized_keys"){c??(c=k);for(const p of k.keys)i.has(p)||i.set(p,{}),i.get(p).l=!0}else e.issues.push(k);for(const k of a.issues)if(k.code==="unrecognized_keys")for(const p of k.keys)i.has(p)||i.set(p,{}),i.get(p).r=!0;else e.issues.push(k);const d=[...i].filter(([,k])=>k.l&&k.r).map(([k])=>k);if(d.length&&c&&e.issues.push({...c,keys:d}),zl(e))return e;const u=Wb(o.value,a.value);if(!u.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`);return e.value=u.data,e}const eD=Q("$ZodEnum",(e,o)=>{Mn.init(e,o);const a=G0(o.entries),i=new Set(a);e._zod.values=i,e._zod.pattern=new RegExp(`^(${a.filter(c=>u7.has(typeof c)).map(c=>typeof c=="string"?pd(c):c.toString()).join("|")})$`),e._zod.parse=(c,d)=>{const u=c.value;return i.has(u)||c.issues.push({code:"invalid_value",values:a,input:u,inst:e}),c}}),nD=Q("$ZodTransform",(e,o)=>{Mn.init(e,o),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new Z0(e.constructor.name);const c=o.transform(a.value,a);if(i.async)return(c instanceof Promise?c:Promise.resolve(c)).then(u=>(a.value=u,a));if(c instanceof Promise)throw new Tl;return a.value=c,a}});function p1(e,o){return e.issues.length&&o===void 0?{issues:[],value:void 0}:e}const uw=Q("$ZodOptional",(e,o)=>{Mn.init(e,o),e._zod.optin="optional",e._zod.optout="optional",pn(e._zod,"values",()=>o.innerType._zod.values?new Set([...o.innerType._zod.values,void 0]):void 0),pn(e._zod,"pattern",()=>{const a=o.innerType._zod.pattern;return a?new RegExp(`^(${Ik(a.source)})?$`):void 0}),e._zod.parse=(a,i)=>{if(o.innerType._zod.optin==="optional"){const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(d=>p1(d,a.value)):p1(c,a.value)}return a.value===void 0?a:o.innerType._zod.run(a,i)}}),oD=Q("$ZodExactOptional",(e,o)=>{uw.init(e,o),pn(e._zod,"values",()=>o.innerType._zod.values),pn(e._zod,"pattern",()=>o.innerType._zod.pattern),e._zod.parse=(a,i)=>o.innerType._zod.run(a,i)}),tD=Q("$ZodNullable",(e,o)=>{Mn.init(e,o),pn(e._zod,"optin",()=>o.innerType._zod.optin),pn(e._zod,"optout",()=>o.innerType._zod.optout),pn(e._zod,"pattern",()=>{const a=o.innerType._zod.pattern;return a?new RegExp(`^(${Ik(a.source)}|null)$`):void 0}),pn(e._zod,"values",()=>o.innerType._zod.values?new Set([...o.innerType._zod.values,null]):void 0),e._zod.parse=(a,i)=>a.value===null?a:o.innerType._zod.run(a,i)}),rD=Q("$ZodDefault",(e,o)=>{Mn.init(e,o),e._zod.optin="optional",pn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return o.innerType._zod.run(a,i);if(a.value===void 0)return a.value=o.defaultValue,a;const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(d=>m1(d,o)):m1(c,o)}});function m1(e,o){return e.value===void 0&&(e.value=o.defaultValue),e}const aD=Q("$ZodPrefault",(e,o)=>{Mn.init(e,o),e._zod.optin="optional",pn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(a,i)=>(i.direction==="backward"||a.value===void 0&&(a.value=o.defaultValue),o.innerType._zod.run(a,i))}),lD=Q("$ZodNonOptional",(e,o)=>{Mn.init(e,o),pn(e._zod,"values",()=>{const a=o.innerType._zod.values;return a?new Set([...a].filter(i=>i!==void 0)):void 0}),e._zod.parse=(a,i)=>{const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(d=>v1(d,e)):v1(c,e)}});function v1(e,o){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:o}),e}const iD=Q("$ZodCatch",(e,o)=>{Mn.init(e,o),pn(e._zod,"optin",()=>o.innerType._zod.optin),pn(e._zod,"optout",()=>o.innerType._zod.optout),pn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return o.innerType._zod.run(a,i);const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(d=>(a.value=d.value,d.issues.length&&(a.value=o.catchValue({...a,error:{issues:d.issues.map(u=>ja(u,i,za()))},input:a.value}),a.issues=[]),a)):(a.value=c.value,c.issues.length&&(a.value=o.catchValue({...a,error:{issues:c.issues.map(d=>ja(d,i,za()))},input:a.value}),a.issues=[]),a)}}),cD=Q("$ZodPipe",(e,o)=>{Mn.init(e,o),pn(e._zod,"values",()=>o.in._zod.values),pn(e._zod,"optin",()=>o.in._zod.optin),pn(e._zod,"optout",()=>o.out._zod.optout),pn(e._zod,"propValues",()=>o.in._zod.propValues),e._zod.parse=(a,i)=>{if(i.direction==="backward"){const d=o.out._zod.run(a,i);return d instanceof Promise?d.then(u=>Ts(u,o.in,i)):Ts(d,o.in,i)}const c=o.in._zod.run(a,i);return c instanceof Promise?c.then(d=>Ts(d,o.out,i)):Ts(c,o.out,i)}});function Ts(e,o,a){return e.issues.length?(e.aborted=!0,e):o._zod.run({value:e.value,issues:e.issues},a)}const sD=Q("$ZodReadonly",(e,o)=>{Mn.init(e,o),pn(e._zod,"propValues",()=>o.innerType._zod.propValues),pn(e._zod,"values",()=>o.innerType._zod.values),pn(e._zod,"optin",()=>o.innerType?._zod?.optin),pn(e._zod,"optout",()=>o.innerType?._zod?.optout),e._zod.parse=(a,i)=>{if(i.direction==="backward")return o.innerType._zod.run(a,i);const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(h1):h1(c)}});function h1(e){return e.value=Object.freeze(e.value),e}const dD=Q("$ZodCustom",(e,o)=>{Ho.init(e,o),Mn.init(e,o),e._zod.parse=(a,i)=>a,e._zod.check=a=>{const i=a.value,c=o.fn(i);if(c instanceof Promise)return c.then(d=>g1(d,a,i,e));g1(c,a,i,e)}});function g1(e,o,a,i){if(!e){const c={code:"custom",input:a,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(c.params=i._zod.def.params),o.issues.push(Qi(c))}}var _1;class uD{constructor(){this._map=new WeakMap,this._idmap=new Map}add(o,...a){const i=a[0];return this._map.set(o,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,o),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(o){const a=this._map.get(o);return a&&typeof a=="object"&&"id"in a&&this._idmap.delete(a.id),this._map.delete(o),this}get(o){const a=o._zod.parent;if(a){const i={...this.get(a)??{}};delete i.id;const c={...i,...this._map.get(o)};return Object.keys(c).length?c:void 0}return this._map.get(o)}has(o){return this._map.has(o)}}function fD(){return new uD}(_1=globalThis).__zod_globalRegistry??(_1.__zod_globalRegistry=fD());const Ii=globalThis.__zod_globalRegistry;function bD(e,o){return new e({type:"string",...Se(o)})}function kD(e,o){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Se(o)})}function x1(e,o){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Se(o)})}function pD(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Se(o)})}function mD(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Se(o)})}function vD(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Se(o)})}function hD(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Se(o)})}function gD(e,o){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Se(o)})}function _D(e,o){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Se(o)})}function xD(e,o){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Se(o)})}function yD(e,o){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Se(o)})}function wD(e,o){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Se(o)})}function zD(e,o){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Se(o)})}function jD(e,o){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Se(o)})}function SD(e,o){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Se(o)})}function TD(e,o){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Se(o)})}function AD(e,o){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Se(o)})}function ED(e,o){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Se(o)})}function CD(e,o){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Se(o)})}function LD(e,o){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Se(o)})}function ND(e,o){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Se(o)})}function OD(e,o){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Se(o)})}function RD(e,o){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Se(o)})}function DD(e,o){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Se(o)})}function $D(e,o){return new e({type:"string",format:"date",check:"string_format",...Se(o)})}function BD(e,o){return new e({type:"string",format:"time",check:"string_format",precision:null,...Se(o)})}function MD(e,o){return new e({type:"string",format:"duration",check:"string_format",...Se(o)})}function ID(e,o){return new e({type:"number",checks:[],...Se(o)})}function UD(e,o){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Se(o)})}function FD(e,o){return new e({type:"boolean",...Se(o)})}function KD(e){return new e({type:"unknown"})}function HD(e,o){return new e({type:"never",...Se(o)})}function VD(e,o){return new e({type:"date",...Se(o)})}function y1(e,o){return new aw({check:"less_than",...Se(o),value:e,inclusive:!1})}function Bs(e,o){return new aw({check:"less_than",...Se(o),value:e,inclusive:!0})}function w1(e,o){return new lw({check:"greater_than",...Se(o),value:e,inclusive:!1})}function Ms(e,o){return new lw({check:"greater_than",...Se(o),value:e,inclusive:!0})}function z1(e,o){return new aR({check:"multiple_of",...Se(o),value:e})}function fw(e,o){return new iR({check:"max_length",...Se(o),maximum:e})}function Ws(e,o){return new cR({check:"min_length",...Se(o),minimum:e})}function bw(e,o){return new sR({check:"length_equals",...Se(o),length:e})}function qD(e,o){return new dR({check:"string_format",format:"regex",...Se(o),pattern:e})}function ZD(e){return new uR({check:"string_format",format:"lowercase",...Se(e)})}function PD(e){return new fR({check:"string_format",format:"uppercase",...Se(e)})}function GD(e,o){return new bR({check:"string_format",format:"includes",...Se(o),includes:e})}function YD(e,o){return new kR({check:"string_format",format:"starts_with",...Se(o),prefix:e})}function JD(e,o){return new pR({check:"string_format",format:"ends_with",...Se(o),suffix:e})}function Ol(e){return new mR({check:"overwrite",tx:e})}function XD(e){return Ol(o=>o.normalize(e))}function QD(){return Ol(e=>e.trim())}function WD(){return Ol(e=>e.toLowerCase())}function e$(){return Ol(e=>e.toUpperCase())}function n$(){return Ol(e=>s7(e))}function o$(e,o,a){return new e({type:"array",element:o,...Se(a)})}function t$(e,o,a){return new e({type:"custom",check:"custom",fn:o,...Se(a)})}function r$(e){const o=a$(a=>(a.addIssue=i=>{if(typeof i=="string")a.issues.push(Qi(i,a.value,o._zod.def));else{const c=i;c.fatal&&(c.continue=!1),c.code??(c.code="custom"),c.input??(c.input=a.value),c.inst??(c.inst=o),c.continue??(c.continue=!o._zod.def.abort),a.issues.push(Qi(c))}},e(a.value,a)));return o}function a$(e,o){const a=new Ho({check:"custom",...Se(o)});return a._zod.check=e,a}function kw(e){let o=e?.target??"draft-2020-12";return o==="draft-4"&&(o="draft-04"),o==="draft-7"&&(o="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Ii,target:o,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function go(e,o,a={path:[],schemaPath:[]}){var i;const c=e._zod.def,d=o.seen.get(e);if(d)return d.count++,a.schemaPath.includes(e)&&(d.cycle=a.path),d.schema;const u={schema:{},count:1,cycle:void 0,path:a.path};o.seen.set(e,u);const k=e._zod.toJSONSchema?.();if(k)u.schema=k;else{const g={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(o,u.schema,g);else{const _=u.schema,w=o.processors[c.type];if(!w)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${c.type}`);w(e,o,_,g)}const h=e._zod.parent;h&&(u.ref||(u.ref=h),go(h,o,g),o.seen.get(h).isParent=!0)}const p=o.metadataRegistry.get(e);return p&&Object.assign(u.schema,p),o.io==="input"&&wo(e)&&(delete u.schema.examples,delete u.schema.default),o.io==="input"&&u.schema._prefault&&((i=u.schema).default??(i.default=u.schema._prefault)),delete u.schema._prefault,o.seen.get(e).schema}function pw(e,o){const a=e.seen.get(o);if(!a)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=new Map;for(const u of e.seen.entries()){const k=e.metadataRegistry.get(u[0])?.id;if(k){const p=i.get(k);if(p&&p!==u[0])throw new Error(`Duplicate schema id "${k}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(k,u[0])}}const c=u=>{const k=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const h=e.external.registry.get(u[0])?.id,_=e.external.uri??(L=>L);if(h)return{ref:_(h)};const w=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=w,{defId:w,ref:`${_("__shared")}#/${k}/${w}`}}if(u[1]===a)return{ref:"#"};const m=`#/${k}/`,g=u[1].schema.id??`__schema${e.counter++}`;return{defId:g,ref:m+g}},d=u=>{if(u[1].schema.$ref)return;const k=u[1],{ref:p,defId:m}=c(u);k.def={...k.schema},m&&(k.defId=m);const g=k.schema;for(const h in g)delete g[h];g.$ref=p};if(e.cycles==="throw")for(const u of e.seen.entries()){const k=u[1];if(k.cycle)throw new Error(`Cycle detected: #/${k.cycle?.join("/")}/<root>
|
|
39225
|
+
`)}w.write("payload.value = newResult;"),w.write("return payload;");const x=w.compile();return(z,R)=>x(_,z,R)};let d;const u=Xs,k=!P0.jitless,m=k&&dO.value,g=o.catchall;let h;e._zod.parse=(_,w)=>{h??(h=i.value);const L=_.value;return u(L)?k&&m&&w?.async===!1&&w.jitless!==!0?(d||(d=c(o.shape)),_=d(_,w),g?dw([],L,_,w,h,e):_):a(_,w):(_.issues.push({expected:"object",code:"invalid_type",input:L,inst:e}),_)}});function b1(e,o,a,i){for(const d of e)if(d.issues.length===0)return o.value=d.value,o;const c=e.filter(d=>!zl(d));return c.length===1?(o.value=c[0].value,c[0]):(o.issues.push({code:"invalid_union",input:o.value,inst:a,errors:e.map(d=>d.issues.map(u=>ja(u,i,za())))}),o)}const QR=Q("$ZodUnion",(e,o)=>{Mn.init(e,o),pn(e._zod,"optin",()=>o.options.some(c=>c._zod.optin==="optional")?"optional":void 0),pn(e._zod,"optout",()=>o.options.some(c=>c._zod.optout==="optional")?"optional":void 0),pn(e._zod,"values",()=>{if(o.options.every(c=>c._zod.values))return new Set(o.options.flatMap(c=>Array.from(c._zod.values)))}),pn(e._zod,"pattern",()=>{if(o.options.every(c=>c._zod.pattern)){const c=o.options.map(d=>d._zod.pattern);return new RegExp(`^(${c.map(d=>Ik(d.source)).join("|")})$`)}});const a=o.options.length===1,i=o.options[0]._zod.run;e._zod.parse=(c,d)=>{if(a)return i(c,d);let u=!1;const k=[];for(const p of o.options){const m=p._zod.run({value:c.value,issues:[]},d);if(m instanceof Promise)k.push(m),u=!0;else{if(m.issues.length===0)return m;k.push(m)}}return u?Promise.all(k).then(p=>b1(p,c,e,d)):b1(k,c,e,d)}}),WR=Q("$ZodIntersection",(e,o)=>{Mn.init(e,o),e._zod.parse=(a,i)=>{const c=a.value,d=o.left._zod.run({value:c,issues:[]},i),u=o.right._zod.run({value:c,issues:[]},i);return d instanceof Promise||u instanceof Promise?Promise.all([d,u]).then(([p,m])=>k1(a,p,m)):k1(a,d,u)}});function Wb(e,o){if(e===o)return{valid:!0,data:e};if(e instanceof Date&&o instanceof Date&&+e==+o)return{valid:!0,data:e};if(Xi(e)&&Xi(o)){const a=Object.keys(o),i=Object.keys(e).filter(d=>a.indexOf(d)!==-1),c={...e,...o};for(const d of i){const u=Wb(e[d],o[d]);if(!u.valid)return{valid:!1,mergeErrorPath:[d,...u.mergeErrorPath]};c[d]=u.data}return{valid:!0,data:c}}if(Array.isArray(e)&&Array.isArray(o)){if(e.length!==o.length)return{valid:!1,mergeErrorPath:[]};const a=[];for(let i=0;i<e.length;i++){const c=e[i],d=o[i],u=Wb(c,d);if(!u.valid)return{valid:!1,mergeErrorPath:[i,...u.mergeErrorPath]};a.push(u.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function k1(e,o,a){const i=new Map;let c;for(const k of o.issues)if(k.code==="unrecognized_keys"){c??(c=k);for(const p of k.keys)i.has(p)||i.set(p,{}),i.get(p).l=!0}else e.issues.push(k);for(const k of a.issues)if(k.code==="unrecognized_keys")for(const p of k.keys)i.has(p)||i.set(p,{}),i.get(p).r=!0;else e.issues.push(k);const d=[...i].filter(([,k])=>k.l&&k.r).map(([k])=>k);if(d.length&&c&&e.issues.push({...c,keys:d}),zl(e))return e;const u=Wb(o.value,a.value);if(!u.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`);return e.value=u.data,e}const eD=Q("$ZodEnum",(e,o)=>{Mn.init(e,o);const a=G0(o.entries),i=new Set(a);e._zod.values=i,e._zod.pattern=new RegExp(`^(${a.filter(c=>uO.has(typeof c)).map(c=>typeof c=="string"?pd(c):c.toString()).join("|")})$`),e._zod.parse=(c,d)=>{const u=c.value;return i.has(u)||c.issues.push({code:"invalid_value",values:a,input:u,inst:e}),c}}),nD=Q("$ZodTransform",(e,o)=>{Mn.init(e,o),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new Z0(e.constructor.name);const c=o.transform(a.value,a);if(i.async)return(c instanceof Promise?c:Promise.resolve(c)).then(u=>(a.value=u,a));if(c instanceof Promise)throw new Tl;return a.value=c,a}});function p1(e,o){return e.issues.length&&o===void 0?{issues:[],value:void 0}:e}const uw=Q("$ZodOptional",(e,o)=>{Mn.init(e,o),e._zod.optin="optional",e._zod.optout="optional",pn(e._zod,"values",()=>o.innerType._zod.values?new Set([...o.innerType._zod.values,void 0]):void 0),pn(e._zod,"pattern",()=>{const a=o.innerType._zod.pattern;return a?new RegExp(`^(${Ik(a.source)})?$`):void 0}),e._zod.parse=(a,i)=>{if(o.innerType._zod.optin==="optional"){const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(d=>p1(d,a.value)):p1(c,a.value)}return a.value===void 0?a:o.innerType._zod.run(a,i)}}),oD=Q("$ZodExactOptional",(e,o)=>{uw.init(e,o),pn(e._zod,"values",()=>o.innerType._zod.values),pn(e._zod,"pattern",()=>o.innerType._zod.pattern),e._zod.parse=(a,i)=>o.innerType._zod.run(a,i)}),tD=Q("$ZodNullable",(e,o)=>{Mn.init(e,o),pn(e._zod,"optin",()=>o.innerType._zod.optin),pn(e._zod,"optout",()=>o.innerType._zod.optout),pn(e._zod,"pattern",()=>{const a=o.innerType._zod.pattern;return a?new RegExp(`^(${Ik(a.source)}|null)$`):void 0}),pn(e._zod,"values",()=>o.innerType._zod.values?new Set([...o.innerType._zod.values,null]):void 0),e._zod.parse=(a,i)=>a.value===null?a:o.innerType._zod.run(a,i)}),rD=Q("$ZodDefault",(e,o)=>{Mn.init(e,o),e._zod.optin="optional",pn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return o.innerType._zod.run(a,i);if(a.value===void 0)return a.value=o.defaultValue,a;const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(d=>m1(d,o)):m1(c,o)}});function m1(e,o){return e.value===void 0&&(e.value=o.defaultValue),e}const aD=Q("$ZodPrefault",(e,o)=>{Mn.init(e,o),e._zod.optin="optional",pn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(a,i)=>(i.direction==="backward"||a.value===void 0&&(a.value=o.defaultValue),o.innerType._zod.run(a,i))}),lD=Q("$ZodNonOptional",(e,o)=>{Mn.init(e,o),pn(e._zod,"values",()=>{const a=o.innerType._zod.values;return a?new Set([...a].filter(i=>i!==void 0)):void 0}),e._zod.parse=(a,i)=>{const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(d=>v1(d,e)):v1(c,e)}});function v1(e,o){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:o}),e}const iD=Q("$ZodCatch",(e,o)=>{Mn.init(e,o),pn(e._zod,"optin",()=>o.innerType._zod.optin),pn(e._zod,"optout",()=>o.innerType._zod.optout),pn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return o.innerType._zod.run(a,i);const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(d=>(a.value=d.value,d.issues.length&&(a.value=o.catchValue({...a,error:{issues:d.issues.map(u=>ja(u,i,za()))},input:a.value}),a.issues=[]),a)):(a.value=c.value,c.issues.length&&(a.value=o.catchValue({...a,error:{issues:c.issues.map(d=>ja(d,i,za()))},input:a.value}),a.issues=[]),a)}}),cD=Q("$ZodPipe",(e,o)=>{Mn.init(e,o),pn(e._zod,"values",()=>o.in._zod.values),pn(e._zod,"optin",()=>o.in._zod.optin),pn(e._zod,"optout",()=>o.out._zod.optout),pn(e._zod,"propValues",()=>o.in._zod.propValues),e._zod.parse=(a,i)=>{if(i.direction==="backward"){const d=o.out._zod.run(a,i);return d instanceof Promise?d.then(u=>Ts(u,o.in,i)):Ts(d,o.in,i)}const c=o.in._zod.run(a,i);return c instanceof Promise?c.then(d=>Ts(d,o.out,i)):Ts(c,o.out,i)}});function Ts(e,o,a){return e.issues.length?(e.aborted=!0,e):o._zod.run({value:e.value,issues:e.issues},a)}const sD=Q("$ZodReadonly",(e,o)=>{Mn.init(e,o),pn(e._zod,"propValues",()=>o.innerType._zod.propValues),pn(e._zod,"values",()=>o.innerType._zod.values),pn(e._zod,"optin",()=>o.innerType?._zod?.optin),pn(e._zod,"optout",()=>o.innerType?._zod?.optout),e._zod.parse=(a,i)=>{if(i.direction==="backward")return o.innerType._zod.run(a,i);const c=o.innerType._zod.run(a,i);return c instanceof Promise?c.then(h1):h1(c)}});function h1(e){return e.value=Object.freeze(e.value),e}const dD=Q("$ZodCustom",(e,o)=>{Ho.init(e,o),Mn.init(e,o),e._zod.parse=(a,i)=>a,e._zod.check=a=>{const i=a.value,c=o.fn(i);if(c instanceof Promise)return c.then(d=>g1(d,a,i,e));g1(c,a,i,e)}});function g1(e,o,a,i){if(!e){const c={code:"custom",input:a,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(c.params=i._zod.def.params),o.issues.push(Qi(c))}}var _1;class uD{constructor(){this._map=new WeakMap,this._idmap=new Map}add(o,...a){const i=a[0];return this._map.set(o,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,o),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(o){const a=this._map.get(o);return a&&typeof a=="object"&&"id"in a&&this._idmap.delete(a.id),this._map.delete(o),this}get(o){const a=o._zod.parent;if(a){const i={...this.get(a)??{}};delete i.id;const c={...i,...this._map.get(o)};return Object.keys(c).length?c:void 0}return this._map.get(o)}has(o){return this._map.has(o)}}function fD(){return new uD}(_1=globalThis).__zod_globalRegistry??(_1.__zod_globalRegistry=fD());const Ii=globalThis.__zod_globalRegistry;function bD(e,o){return new e({type:"string",...Se(o)})}function kD(e,o){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Se(o)})}function x1(e,o){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Se(o)})}function pD(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Se(o)})}function mD(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Se(o)})}function vD(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Se(o)})}function hD(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Se(o)})}function gD(e,o){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Se(o)})}function _D(e,o){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Se(o)})}function xD(e,o){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Se(o)})}function yD(e,o){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Se(o)})}function wD(e,o){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Se(o)})}function zD(e,o){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Se(o)})}function jD(e,o){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Se(o)})}function SD(e,o){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Se(o)})}function TD(e,o){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Se(o)})}function AD(e,o){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Se(o)})}function ED(e,o){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Se(o)})}function CD(e,o){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Se(o)})}function LD(e,o){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Se(o)})}function ND(e,o){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Se(o)})}function OD(e,o){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Se(o)})}function RD(e,o){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Se(o)})}function DD(e,o){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Se(o)})}function $D(e,o){return new e({type:"string",format:"date",check:"string_format",...Se(o)})}function BD(e,o){return new e({type:"string",format:"time",check:"string_format",precision:null,...Se(o)})}function MD(e,o){return new e({type:"string",format:"duration",check:"string_format",...Se(o)})}function ID(e,o){return new e({type:"number",checks:[],...Se(o)})}function UD(e,o){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Se(o)})}function FD(e,o){return new e({type:"boolean",...Se(o)})}function KD(e){return new e({type:"unknown"})}function HD(e,o){return new e({type:"never",...Se(o)})}function VD(e,o){return new e({type:"date",...Se(o)})}function y1(e,o){return new aw({check:"less_than",...Se(o),value:e,inclusive:!1})}function Bs(e,o){return new aw({check:"less_than",...Se(o),value:e,inclusive:!0})}function w1(e,o){return new lw({check:"greater_than",...Se(o),value:e,inclusive:!1})}function Ms(e,o){return new lw({check:"greater_than",...Se(o),value:e,inclusive:!0})}function z1(e,o){return new aR({check:"multiple_of",...Se(o),value:e})}function fw(e,o){return new iR({check:"max_length",...Se(o),maximum:e})}function Ws(e,o){return new cR({check:"min_length",...Se(o),minimum:e})}function bw(e,o){return new sR({check:"length_equals",...Se(o),length:e})}function qD(e,o){return new dR({check:"string_format",format:"regex",...Se(o),pattern:e})}function ZD(e){return new uR({check:"string_format",format:"lowercase",...Se(e)})}function PD(e){return new fR({check:"string_format",format:"uppercase",...Se(e)})}function GD(e,o){return new bR({check:"string_format",format:"includes",...Se(o),includes:e})}function YD(e,o){return new kR({check:"string_format",format:"starts_with",...Se(o),prefix:e})}function JD(e,o){return new pR({check:"string_format",format:"ends_with",...Se(o),suffix:e})}function Ol(e){return new mR({check:"overwrite",tx:e})}function XD(e){return Ol(o=>o.normalize(e))}function QD(){return Ol(e=>e.trim())}function WD(){return Ol(e=>e.toLowerCase())}function e$(){return Ol(e=>e.toUpperCase())}function n$(){return Ol(e=>sO(e))}function o$(e,o,a){return new e({type:"array",element:o,...Se(a)})}function t$(e,o,a){return new e({type:"custom",check:"custom",fn:o,...Se(a)})}function r$(e){const o=a$(a=>(a.addIssue=i=>{if(typeof i=="string")a.issues.push(Qi(i,a.value,o._zod.def));else{const c=i;c.fatal&&(c.continue=!1),c.code??(c.code="custom"),c.input??(c.input=a.value),c.inst??(c.inst=o),c.continue??(c.continue=!o._zod.def.abort),a.issues.push(Qi(c))}},e(a.value,a)));return o}function a$(e,o){const a=new Ho({check:"custom",...Se(o)});return a._zod.check=e,a}function kw(e){let o=e?.target??"draft-2020-12";return o==="draft-4"&&(o="draft-04"),o==="draft-7"&&(o="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Ii,target:o,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function go(e,o,a={path:[],schemaPath:[]}){var i;const c=e._zod.def,d=o.seen.get(e);if(d)return d.count++,a.schemaPath.includes(e)&&(d.cycle=a.path),d.schema;const u={schema:{},count:1,cycle:void 0,path:a.path};o.seen.set(e,u);const k=e._zod.toJSONSchema?.();if(k)u.schema=k;else{const g={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(o,u.schema,g);else{const _=u.schema,w=o.processors[c.type];if(!w)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${c.type}`);w(e,o,_,g)}const h=e._zod.parent;h&&(u.ref||(u.ref=h),go(h,o,g),o.seen.get(h).isParent=!0)}const p=o.metadataRegistry.get(e);return p&&Object.assign(u.schema,p),o.io==="input"&&wo(e)&&(delete u.schema.examples,delete u.schema.default),o.io==="input"&&u.schema._prefault&&((i=u.schema).default??(i.default=u.schema._prefault)),delete u.schema._prefault,o.seen.get(e).schema}function pw(e,o){const a=e.seen.get(o);if(!a)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=new Map;for(const u of e.seen.entries()){const k=e.metadataRegistry.get(u[0])?.id;if(k){const p=i.get(k);if(p&&p!==u[0])throw new Error(`Duplicate schema id "${k}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(k,u[0])}}const c=u=>{const k=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const h=e.external.registry.get(u[0])?.id,_=e.external.uri??(L=>L);if(h)return{ref:_(h)};const w=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=w,{defId:w,ref:`${_("__shared")}#/${k}/${w}`}}if(u[1]===a)return{ref:"#"};const m=`#/${k}/`,g=u[1].schema.id??`__schema${e.counter++}`;return{defId:g,ref:m+g}},d=u=>{if(u[1].schema.$ref)return;const k=u[1],{ref:p,defId:m}=c(u);k.def={...k.schema},m&&(k.defId=m);const g=k.schema;for(const h in g)delete g[h];g.$ref=p};if(e.cycles==="throw")for(const u of e.seen.entries()){const k=u[1];if(k.cycle)throw new Error(`Cycle detected: #/${k.cycle?.join("/")}/<root>
|
|
39226
39226
|
|
|
39227
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const k=u[1];if(o===u[0]){d(u);continue}if(e.external){const m=e.external.registry.get(u[0])?.id;if(o!==u[0]&&m){d(u);continue}}if(e.metadataRegistry.get(u[0])?.id){d(u);continue}if(k.cycle){d(u);continue}if(k.count>1&&e.reused==="ref"){d(u);continue}}}function mw(e,o){const a=e.seen.get(o);if(!a)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=u=>{const k=e.seen.get(u);if(k.ref===null)return;const p=k.def??k.schema,m={...p},g=k.ref;if(k.ref=null,g){i(g);const _=e.seen.get(g),w=_.schema;if(w.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(p.allOf=p.allOf??[],p.allOf.push(w)):Object.assign(p,w),Object.assign(p,m),u._zod.parent===g)for(const S in p)S==="$ref"||S==="allOf"||S in m||delete p[S];if(w.$ref&&_.def)for(const S in p)S==="$ref"||S==="allOf"||S in _.def&&JSON.stringify(p[S])===JSON.stringify(_.def[S])&&delete p[S]}const h=u._zod.parent;if(h&&h!==g){i(h);const _=e.seen.get(h);if(_?.schema.$ref&&(p.$ref=_.schema.$ref,_.def))for(const w in p)w==="$ref"||w==="allOf"||w in _.def&&JSON.stringify(p[w])===JSON.stringify(_.def[w])&&delete p[w]}e.override({zodSchema:u,jsonSchema:p,path:k.path??[]})};for(const u of[...e.seen.entries()].reverse())i(u[0]);const c={};if(e.target==="draft-2020-12"?c.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?c.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?c.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const u=e.external.registry.get(o)?.id;if(!u)throw new Error("Schema is missing an `id` property");c.$id=e.external.uri(u)}Object.assign(c,a.def??a.schema);const d=e.external?.defs??{};for(const u of e.seen.entries()){const k=u[1];k.def&&k.defId&&(d[k.defId]=k.def)}e.external||Object.keys(d).length>0&&(e.target==="draft-2020-12"?c.$defs=d:c.definitions=d);try{const u=JSON.parse(JSON.stringify(c));return Object.defineProperty(u,"~standard",{value:{...o["~standard"],jsonSchema:{input:ed(o,"input",e.processors),output:ed(o,"output",e.processors)}},enumerable:!1,writable:!1}),u}catch{throw new Error("Error converting schema to JSON.")}}function wo(e,o){const a=o??{seen:new Set};if(a.seen.has(e))return!1;a.seen.add(e);const i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return wo(i.element,a);if(i.type==="set")return wo(i.valueType,a);if(i.type==="lazy")return wo(i.getter(),a);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return wo(i.innerType,a);if(i.type==="intersection")return wo(i.left,a)||wo(i.right,a);if(i.type==="record"||i.type==="map")return wo(i.keyType,a)||wo(i.valueType,a);if(i.type==="pipe")return wo(i.in,a)||wo(i.out,a);if(i.type==="object"){for(const c in i.shape)if(wo(i.shape[c],a))return!0;return!1}if(i.type==="union"){for(const c of i.options)if(wo(c,a))return!0;return!1}if(i.type==="tuple"){for(const c of i.items)if(wo(c,a))return!0;return!!(i.rest&&wo(i.rest,a))}return!1}const l$=(e,o={})=>a=>{const i=kw({...a,processors:o});return go(e,i),pw(i,e),mw(i,e)},ed=(e,o,a={})=>i=>{const{libraryOptions:c,target:d}=i??{},u=kw({...c??{},target:d,io:o,processors:a});return go(e,u),pw(u,e),mw(u,e)},i$={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},c$=(e,o,a,i)=>{const c=a;c.type="string";const{minimum:d,maximum:u,format:k,patterns:p,contentEncoding:m}=e._zod.bag;if(typeof d=="number"&&(c.minLength=d),typeof u=="number"&&(c.maxLength=u),k&&(c.format=i$[k]??k,c.format===""&&delete c.format,k==="time"&&delete c.format),m&&(c.contentEncoding=m),p&&p.size>0){const g=[...p];g.length===1?c.pattern=g[0].source:g.length>1&&(c.allOf=[...g.map(h=>({...o.target==="draft-07"||o.target==="draft-04"||o.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},s$=(e,o,a,i)=>{const c=a,{minimum:d,maximum:u,format:k,multipleOf:p,exclusiveMaximum:m,exclusiveMinimum:g}=e._zod.bag;typeof k=="string"&&k.includes("int")?c.type="integer":c.type="number",typeof g=="number"&&(o.target==="draft-04"||o.target==="openapi-3.0"?(c.minimum=g,c.exclusiveMinimum=!0):c.exclusiveMinimum=g),typeof d=="number"&&(c.minimum=d,typeof g=="number"&&o.target!=="draft-04"&&(g>=d?delete c.minimum:delete c.exclusiveMinimum)),typeof m=="number"&&(o.target==="draft-04"||o.target==="openapi-3.0"?(c.maximum=m,c.exclusiveMaximum=!0):c.exclusiveMaximum=m),typeof u=="number"&&(c.maximum=u,typeof m=="number"&&o.target!=="draft-04"&&(m<=u?delete c.maximum:delete c.exclusiveMaximum)),typeof p=="number"&&(c.multipleOf=p)},d$=(e,o,a,i)=>{a.type="boolean"},u$=(e,o,a,i)=>{a.not={}},f$=(e,o,a,i)=>{},b$=(e,o,a,i)=>{if(o.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},k$=(e,o,a,i)=>{const c=e._zod.def,d=G0(c.entries);d.every(u=>typeof u=="number")&&(a.type="number"),d.every(u=>typeof u=="string")&&(a.type="string"),a.enum=d},p$=(e,o,a,i)=>{if(o.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},m$=(e,o,a,i)=>{if(o.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},v$=(e,o,a,i)=>{const c=a,d=e._zod.def,{minimum:u,maximum:k}=e._zod.bag;typeof u=="number"&&(c.minItems=u),typeof k=="number"&&(c.maxItems=k),c.type="array",c.items=go(d.element,o,{...i,path:[...i.path,"items"]})},h$=(e,o,a,i)=>{const c=a,d=e._zod.def;c.type="object",c.properties={};const u=d.shape;for(const m in u)c.properties[m]=go(u[m],o,{...i,path:[...i.path,"properties",m]});const k=new Set(Object.keys(u)),p=new Set([...k].filter(m=>{const g=d.shape[m]._zod;return o.io==="input"?g.optin===void 0:g.optout===void 0}));p.size>0&&(c.required=Array.from(p)),d.catchall?._zod.def.type==="never"?c.additionalProperties=!1:d.catchall?d.catchall&&(c.additionalProperties=go(d.catchall,o,{...i,path:[...i.path,"additionalProperties"]})):o.io==="output"&&(c.additionalProperties=!1)},g$=(e,o,a,i)=>{const c=e._zod.def,d=c.inclusive===!1,u=c.options.map((k,p)=>go(k,o,{...i,path:[...i.path,d?"oneOf":"anyOf",p]}));d?a.oneOf=u:a.anyOf=u},_$=(e,o,a,i)=>{const c=e._zod.def,d=go(c.left,o,{...i,path:[...i.path,"allOf",0]}),u=go(c.right,o,{...i,path:[...i.path,"allOf",1]}),k=m=>"allOf"in m&&Object.keys(m).length===1,p=[...k(d)?d.allOf:[d],...k(u)?u.allOf:[u]];a.allOf=p},x$=(e,o,a,i)=>{const c=e._zod.def,d=go(c.innerType,o,i),u=o.seen.get(e);o.target==="openapi-3.0"?(u.ref=c.innerType,a.nullable=!0):a.anyOf=[d,{type:"null"}]},y$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType},w$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType,a.default=JSON.parse(JSON.stringify(c.defaultValue))},z$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType,o.io==="input"&&(a._prefault=JSON.parse(JSON.stringify(c.defaultValue)))},j$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType;let u;try{u=c.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}a.default=u},S$=(e,o,a,i)=>{const c=e._zod.def,d=o.io==="input"?c.in._zod.def.type==="transform"?c.out:c.in:c.out;go(d,o,i);const u=o.seen.get(e);u.ref=d},T$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType,a.readOnly=!0},vw=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType},A$=Q("ZodISODateTime",(e,o)=>{CR.init(e,o),Dn.init(e,o)});function E$(e){return DD(A$,e)}const C$=Q("ZodISODate",(e,o)=>{LR.init(e,o),Dn.init(e,o)});function L$(e){return $D(C$,e)}const N$=Q("ZodISOTime",(e,o)=>{NR.init(e,o),Dn.init(e,o)});function O$(e){return BD(N$,e)}const R$=Q("ZodISODuration",(e,o)=>{OR.init(e,o),Dn.init(e,o)});function D$(e){return MD(R$,e)}const $$=(e,o)=>{W0.init(e,o),e.name="ZodError",Object.defineProperties(e,{format:{value:a=>y7(e,a)},flatten:{value:a=>x7(e,a)},addIssue:{value:a=>{e.issues.push(a),e.message=JSON.stringify(e.issues,Qb,2)}},addIssues:{value:a=>{e.issues.push(...a),e.message=JSON.stringify(e.issues,Qb,2)}},isEmpty:{get(){return e.issues.length===0}}})},ht=Q("ZodError",$$,{Parent:Error}),B$=Fk(ht),M$=Kk(ht),I$=md(ht),U$=vd(ht),F$=j7(ht),K$=S7(ht),H$=T7(ht),V$=A7(ht),q$=E7(ht),Z$=C7(ht),P$=L7(ht),G$=N7(ht),In=Q("ZodType",(e,o)=>(Mn.init(e,o),Object.assign(e["~standard"],{jsonSchema:{input:ed(e,"input"),output:ed(e,"output")}}),e.toJSONSchema=l$(e,{}),e.def=o,e.type=o.type,Object.defineProperty(e,"_def",{value:o}),e.check=(...a)=>e.clone(Vr(o,{checks:[...o.checks??[],...a.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0}),e.with=e.check,e.clone=(a,i)=>qr(e,a,i),e.brand=()=>e,e.register=((a,i)=>(a.add(e,i),e)),e.parse=(a,i)=>B$(e,a,i,{callee:e.parse}),e.safeParse=(a,i)=>I$(e,a,i),e.parseAsync=async(a,i)=>M$(e,a,i,{callee:e.parseAsync}),e.safeParseAsync=async(a,i)=>U$(e,a,i),e.spa=e.safeParseAsync,e.encode=(a,i)=>F$(e,a,i),e.decode=(a,i)=>K$(e,a,i),e.encodeAsync=async(a,i)=>H$(e,a,i),e.decodeAsync=async(a,i)=>V$(e,a,i),e.safeEncode=(a,i)=>q$(e,a,i),e.safeDecode=(a,i)=>Z$(e,a,i),e.safeEncodeAsync=async(a,i)=>P$(e,a,i),e.safeDecodeAsync=async(a,i)=>G$(e,a,i),e.refine=(a,i)=>e.check(qB(a,i)),e.superRefine=a=>e.check(ZB(a)),e.overwrite=a=>e.check(Ol(a)),e.optional=()=>E1(e),e.exactOptional=()=>NB(e),e.nullable=()=>C1(e),e.nullish=()=>E1(C1(e)),e.nonoptional=a=>MB(e,a),e.array=()=>yB(e),e.or=a=>SB([e,a]),e.and=a=>AB(e,a),e.transform=a=>nk(e,_w(a)),e.default=a=>DB(e,a),e.prefault=a=>BB(e,a),e.catch=a=>UB(e,a),e.pipe=a=>nk(e,a),e.readonly=()=>HB(e),e.describe=a=>{const i=e.clone();return Ii.add(i,{description:a}),i},Object.defineProperty(e,"description",{get(){return Ii.get(e)?.description},configurable:!0}),e.meta=(...a)=>{if(a.length===0)return Ii.get(e);const i=e.clone();return Ii.add(i,a[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=a=>a(e),e)),hw=Q("_ZodString",(e,o)=>{Hk.init(e,o),In.init(e,o),e._zod.processJSONSchema=(i,c,d)=>c$(e,i,c);const a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null,e.regex=(...i)=>e.check(qD(...i)),e.includes=(...i)=>e.check(GD(...i)),e.startsWith=(...i)=>e.check(YD(...i)),e.endsWith=(...i)=>e.check(JD(...i)),e.min=(...i)=>e.check(Ws(...i)),e.max=(...i)=>e.check(fw(...i)),e.length=(...i)=>e.check(bw(...i)),e.nonempty=(...i)=>e.check(Ws(1,...i)),e.lowercase=i=>e.check(ZD(i)),e.uppercase=i=>e.check(PD(i)),e.trim=()=>e.check(QD()),e.normalize=(...i)=>e.check(XD(...i)),e.toLowerCase=()=>e.check(WD()),e.toUpperCase=()=>e.check(e$()),e.slugify=()=>e.check(n$())}),Y$=Q("ZodString",(e,o)=>{Hk.init(e,o),hw.init(e,o),e.email=a=>e.check(kD(J$,a)),e.url=a=>e.check(gD(X$,a)),e.jwt=a=>e.check(RD(fB,a)),e.emoji=a=>e.check(_D(Q$,a)),e.guid=a=>e.check(x1(j1,a)),e.uuid=a=>e.check(pD(As,a)),e.uuidv4=a=>e.check(mD(As,a)),e.uuidv6=a=>e.check(vD(As,a)),e.uuidv7=a=>e.check(hD(As,a)),e.nanoid=a=>e.check(xD(W$,a)),e.guid=a=>e.check(x1(j1,a)),e.cuid=a=>e.check(yD(eB,a)),e.cuid2=a=>e.check(wD(nB,a)),e.ulid=a=>e.check(zD(oB,a)),e.base64=a=>e.check(LD(sB,a)),e.base64url=a=>e.check(ND(dB,a)),e.xid=a=>e.check(jD(tB,a)),e.ksuid=a=>e.check(SD(rB,a)),e.ipv4=a=>e.check(TD(aB,a)),e.ipv6=a=>e.check(AD(lB,a)),e.cidrv4=a=>e.check(ED(iB,a)),e.cidrv6=a=>e.check(CD(cB,a)),e.e164=a=>e.check(OD(uB,a)),e.datetime=a=>e.check(E$(a)),e.date=a=>e.check(L$(a)),e.time=a=>e.check(O$(a)),e.duration=a=>e.check(D$(a))});function tr(e){return bD(Y$,e)}const Dn=Q("ZodStringFormat",(e,o)=>{Cn.init(e,o),hw.init(e,o)}),J$=Q("ZodEmail",(e,o)=>{xR.init(e,o),Dn.init(e,o)}),j1=Q("ZodGUID",(e,o)=>{gR.init(e,o),Dn.init(e,o)}),As=Q("ZodUUID",(e,o)=>{_R.init(e,o),Dn.init(e,o)}),X$=Q("ZodURL",(e,o)=>{yR.init(e,o),Dn.init(e,o)}),Q$=Q("ZodEmoji",(e,o)=>{wR.init(e,o),Dn.init(e,o)}),W$=Q("ZodNanoID",(e,o)=>{zR.init(e,o),Dn.init(e,o)}),eB=Q("ZodCUID",(e,o)=>{jR.init(e,o),Dn.init(e,o)}),nB=Q("ZodCUID2",(e,o)=>{SR.init(e,o),Dn.init(e,o)}),oB=Q("ZodULID",(e,o)=>{TR.init(e,o),Dn.init(e,o)}),tB=Q("ZodXID",(e,o)=>{AR.init(e,o),Dn.init(e,o)}),rB=Q("ZodKSUID",(e,o)=>{ER.init(e,o),Dn.init(e,o)}),aB=Q("ZodIPv4",(e,o)=>{RR.init(e,o),Dn.init(e,o)}),lB=Q("ZodIPv6",(e,o)=>{DR.init(e,o),Dn.init(e,o)}),iB=Q("ZodCIDRv4",(e,o)=>{$R.init(e,o),Dn.init(e,o)}),cB=Q("ZodCIDRv6",(e,o)=>{BR.init(e,o),Dn.init(e,o)}),sB=Q("ZodBase64",(e,o)=>{MR.init(e,o),Dn.init(e,o)}),dB=Q("ZodBase64URL",(e,o)=>{UR.init(e,o),Dn.init(e,o)}),uB=Q("ZodE164",(e,o)=>{FR.init(e,o),Dn.init(e,o)}),fB=Q("ZodJWT",(e,o)=>{HR.init(e,o),Dn.init(e,o)}),gw=Q("ZodNumber",(e,o)=>{cw.init(e,o),In.init(e,o),e._zod.processJSONSchema=(i,c,d)=>s$(e,i,c),e.gt=(i,c)=>e.check(w1(i,c)),e.gte=(i,c)=>e.check(Ms(i,c)),e.min=(i,c)=>e.check(Ms(i,c)),e.lt=(i,c)=>e.check(y1(i,c)),e.lte=(i,c)=>e.check(Bs(i,c)),e.max=(i,c)=>e.check(Bs(i,c)),e.int=i=>e.check(T1(i)),e.safe=i=>e.check(T1(i)),e.positive=i=>e.check(w1(0,i)),e.nonnegative=i=>e.check(Ms(0,i)),e.negative=i=>e.check(y1(0,i)),e.nonpositive=i=>e.check(Bs(0,i)),e.multipleOf=(i,c)=>e.check(z1(i,c)),e.step=(i,c)=>e.check(z1(i,c)),e.finite=()=>e;const a=e._zod.bag;e.minValue=Math.max(a.minimum??Number.NEGATIVE_INFINITY,a.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(a.maximum??Number.POSITIVE_INFINITY,a.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??.5),e.isFinite=!0,e.format=a.format??null});function S1(e){return ID(gw,e)}const bB=Q("ZodNumberFormat",(e,o)=>{VR.init(e,o),gw.init(e,o)});function T1(e){return UD(bB,e)}const kB=Q("ZodBoolean",(e,o)=>{qR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>d$(e,a,i)});function pB(e){return FD(kB,e)}const mB=Q("ZodUnknown",(e,o)=>{ZR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>f$()});function A1(){return KD(mB)}const vB=Q("ZodNever",(e,o)=>{PR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>u$(e,a,i)});function hB(e){return HD(vB,e)}const gB=Q("ZodDate",(e,o)=>{GR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(i,c,d)=>b$(e,i),e.min=(i,c)=>e.check(Ms(i,c)),e.max=(i,c)=>e.check(Bs(i,c));const a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});function _B(e){return VD(gB,e)}const xB=Q("ZodArray",(e,o)=>{YR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>v$(e,a,i,c),e.element=o.element,e.min=(a,i)=>e.check(Ws(a,i)),e.nonempty=a=>e.check(Ws(1,a)),e.max=(a,i)=>e.check(fw(a,i)),e.length=(a,i)=>e.check(bw(a,i)),e.unwrap=()=>e.element});function yB(e,o){return o$(xB,e,o)}const wB=Q("ZodObject",(e,o)=>{XR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>h$(e,a,i,c),pn(e,"shape",()=>o.shape),e.keyof=()=>EB(Object.keys(e._zod.def.shape)),e.catchall=a=>e.clone({...e._zod.def,catchall:a}),e.passthrough=()=>e.clone({...e._zod.def,catchall:A1()}),e.loose=()=>e.clone({...e._zod.def,catchall:A1()}),e.strict=()=>e.clone({...e._zod.def,catchall:hB()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=a=>m7(e,a),e.safeExtend=a=>v7(e,a),e.merge=a=>h7(e,a),e.pick=a=>k7(e,a),e.omit=a=>p7(e,a),e.partial=(...a)=>g7(xw,e,a[0]),e.required=(...a)=>_7(yw,e,a[0])});function zB(e,o){const a={type:"object",shape:e??{},...Se(o)};return new wB(a)}const jB=Q("ZodUnion",(e,o)=>{QR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>g$(e,a,i,c),e.options=o.options});function SB(e,o){return new jB({type:"union",options:e,...Se(o)})}const TB=Q("ZodIntersection",(e,o)=>{WR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>_$(e,a,i,c)});function AB(e,o){return new TB({type:"intersection",left:e,right:o})}const ek=Q("ZodEnum",(e,o)=>{eD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(i,c,d)=>k$(e,i,c),e.enum=o.entries,e.options=Object.values(o.entries);const a=new Set(Object.keys(o.entries));e.extract=(i,c)=>{const d={};for(const u of i)if(a.has(u))d[u]=o.entries[u];else throw new Error(`Key ${u} not found in enum`);return new ek({...o,checks:[],...Se(c),entries:d})},e.exclude=(i,c)=>{const d={...o.entries};for(const u of i)if(a.has(u))delete d[u];else throw new Error(`Key ${u} not found in enum`);return new ek({...o,checks:[],...Se(c),entries:d})}});function EB(e,o){const a=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new ek({type:"enum",entries:a,...Se(o)})}const CB=Q("ZodTransform",(e,o)=>{nD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>m$(e,a),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new Z0(e.constructor.name);a.addIssue=d=>{if(typeof d=="string")a.issues.push(Qi(d,a.value,o));else{const u=d;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=a.value),u.inst??(u.inst=e),a.issues.push(Qi(u))}};const c=o.transform(a.value,a);return c instanceof Promise?c.then(d=>(a.value=d,a)):(a.value=c,a)}});function _w(e){return new CB({type:"transform",transform:e})}const xw=Q("ZodOptional",(e,o)=>{uw.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>vw(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function E1(e){return new xw({type:"optional",innerType:e})}const LB=Q("ZodExactOptional",(e,o)=>{oD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>vw(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function NB(e){return new LB({type:"optional",innerType:e})}const OB=Q("ZodNullable",(e,o)=>{tD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>x$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function C1(e){return new OB({type:"nullable",innerType:e})}const RB=Q("ZodDefault",(e,o)=>{rD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>w$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function DB(e,o){return new RB({type:"default",innerType:e,get defaultValue(){return typeof o=="function"?o():J0(o)}})}const $B=Q("ZodPrefault",(e,o)=>{aD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>z$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function BB(e,o){return new $B({type:"prefault",innerType:e,get defaultValue(){return typeof o=="function"?o():J0(o)}})}const yw=Q("ZodNonOptional",(e,o)=>{lD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>y$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function MB(e,o){return new yw({type:"nonoptional",innerType:e,...Se(o)})}const IB=Q("ZodCatch",(e,o)=>{iD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>j$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function UB(e,o){return new IB({type:"catch",innerType:e,catchValue:typeof o=="function"?o:()=>o})}const FB=Q("ZodPipe",(e,o)=>{cD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>S$(e,a,i,c),e.in=o.in,e.out=o.out});function nk(e,o){return new FB({type:"pipe",in:e,out:o})}const KB=Q("ZodReadonly",(e,o)=>{sD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>T$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function HB(e){return new KB({type:"readonly",innerType:e})}const VB=Q("ZodCustom",(e,o)=>{dD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>p$(e,a)});function qB(e,o={}){return t$(VB,e,o)}function ZB(e){return r$(e)}function PB(e,o){return nk(_w(e),o)}const GB=zB({date:PB(e=>typeof e=="string"||e instanceof Date?new Date(e):void 0,_B({message:"Date is required"}).refine(e=>!isNaN(e.getTime()),{message:"Invalid date"})),text:tr({message:"Please enter text."}).min(10,"Text must be at least 10 characters long."),email:tr({message:"Please enter your email."}).min(1,"Please enter your email.").email("Invalid email address."),password:tr({message:"Please enter a password."}).min(8,"Password must be at least 8 characters.").regex(/[A-Z]/,"Password must include at least one uppercase letter.").regex(/[0-9]/,"Password must include at least one number."),range:S1({message:"Please select a range."}).min(30,"Minimum value is 30."),number:S1({message:"Please enter a number."}).min(1,"Minimum is 1.").max(10,"Maximum is 10."),checkbox:pB().refine(e=>e===!0,{message:"You must accept the terms and conditions."}),radio:tr({message:"Please select a gender."}).min(1,"Please select a gender."),color:tr({message:"Please select a color."}).min(1,"Please select a color."),select:tr({message:"Please select a value."}).min(1,"Please select a value."),singleSelect:tr({message:"Please select a single option."}).min(1,"Please select a single option."),combobox:tr({message:"Please select a country."}).min(1,"Please select a country."),textarea:tr({message:"Please enter a message."}).min(1,"Please enter a message.")}),YB=()=>{const{dummyClickEventHandler:e}=_n(),{handleSubmit:o,formState:{errors:a},reset:i,control:c}=Cl({mode:"onBlur",reValidateMode:"onChange",resolver:i7(GB),defaultValues:{range:30,number:5}}),d=()=>{i(void 0,{keepErrors:!1,keepTouched:!1,keepDirty:!1})},u=Object.entries(a).map(([k,p])=>[k,p.message]).filter(([,k])=>!!k);return r.jsxs("section",{className:"w-full max-w-3xl mx-auto p-6",children:[r.jsx(ne,{_level:2,_label:"Sample Form with Validation (Zod)"}),r.jsx(U,{children:r.jsxs("p",{children:["This example shows validation with ",r.jsx("code",{children:"react-hook-form"}),", ",r.jsx("code",{children:"Zod"}),", and an error list."]})}),u.length>0&&r.jsx(oo,{_type:"error",_label:"Please fix the following:",_alert:!0,_variant:"card",children:r.jsx("ul",{className:"list-disc pl-5",children:u.map(([k,p],m)=>r.jsx("li",{children:r.jsx(ge,{_label:p,_href:`#field-${k}`,_on:{onClick:g=>{g.preventDefault(),document.getElementById(`field-${k}`)?.focus()}}})},m))})}),r.jsxs("form",{onSubmit:o(e),noValidate:!0,className:"grid gap-4 mt-6",children:[r.jsx(B0,{control:c,name:"date",_label:"Date"}),r.jsx(Ji,{control:c,name:"text",_label:"Text (≥ 10 chars)"}),r.jsx(R0,{control:c,name:"email",_label:"Email"}),r.jsx(O0,{control:c,name:"password",_label:"Password"}),r.jsx($0,{control:c,name:"range",_label:"Range (≥ 30)",_min:0,_max:100}),r.jsx(D0,{control:c,name:"number",_label:"Number (1 – 10)"}),r.jsx(V0,{control:c,name:"checkbox",_label:"Accept terms"}),r.jsx(H0,{control:c,name:"radio",_label:"Gender",_options:[{label:"Female",value:"f"},{label:"Male",value:"m"}]}),r.jsx(M0,{control:c,name:"color",_label:"Favorite Color"}),r.jsx(F0,{control:c,name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(K0,{control:c,name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(U0,{control:c,name:"combobox",_label:"Country",_suggestions:nt}),r.jsx(I0,{control:c,name:"textarea",_label:"Message",_rows:4}),r.jsxs("div",{className:"flex gap-4 mt-4",children:[r.jsx($,{_label:"Submit",_type:"submit",_variant:"primary"}),r.jsx($,{_label:"Reset",_type:"reset",onClick:d})]})]})]})},JB=()=>{const e=j.useRef(null),o=j.useRef(null),a=3,i=new Intl.NumberFormat("de-DE",{style:"unit",unit:"millisecond",maximumFractionDigits:1}),c=new Intl.DateTimeFormat("de-DE",{hour:"2-digit",minute:"2-digit",second:"2-digit"}),[d,u]=j.useState(a),[k,p]=j.useState([]),[m,g]=j.useState(""),[h,_]=j.useState(0),[w,L]=j.useState(20),[S,T]=j.useState(0),[C,x]=j.useState(null),[z,R]=j.useState(!1),B=j.useRef(0),F=j.useRef(20),Z=j.useRef(0),oe=ee=>{const ke=new Date,Ce=c.format(ke),Ae=h+1;u(ee.detail),g(Ce),_(Ae),p(I=>[{timestamp:Ce,count:ee.detail,id:Ae},...I.slice(0,4)])},de=j.useCallback(()=>{if(Z.current+=1,Z.current>=F.current){const ee=performance.now()-B.current;x(ee),R(!1)}},[]),Re=(ee,ke)=>{const Ce=Number(ke);L(Ce),Z.current=0,F.current=Ce,B.current=performance.now(),x(null),R(!0),T(Ae=>Ae+1)},ie=()=>{o.current&&(o.current._value=w)};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:'KolSkeleton demonstriert Event-Emitter mit automatischem Intervall. Die Komponente emittiert alle 2 Sekunden ein "loaded" Event mit dem aktuellen Count-Wert. Über die Buttons kann die Komponente getoggled und fokussiert werden. Der interne ClickButton erhöht bei Klick den Counter.'})}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-4 mb-4 items-center",children:[r.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[r.jsx($,{_label:"Toggle Sichtbarkeit",_on:{onClick:()=>e.current?.toggle()},_variant:"primary"}),r.jsx($,{_label:"Fokus auf Button",_on:{onClick:()=>e.current?.focus()},_variant:"secondary"})]}),r.jsxs("div",{className:"grid sm:grid-cols-2 gap-4 items-center",children:[r.jsx(Vn,{ref:o,_label:"Anzahl der Skeletons",_hideLabel:!0,_min:1,_max:1e4,_step:25,_value:w,_on:{onChange:Re,onBlur:ie}}),r.jsxs("span",{className:"text-sm text-gray-600 whitespace-nowrap",children:[w," Skeletons"]})]})]}),r.jsxs("div",{className:"mb-4 px-3 py-2 border border-gray-300 rounded bg-gray-50 flex items-center gap-4 text-sm",children:[r.jsx("span",{className:"font-semibold",children:"Benchmark:"}),r.jsx("span",{className:z?"text-orange-600 font-bold":C!==null?"text-green-600":"text-gray-400",children:z?"Rendering…":C!==null?"Fertig":"Bereit"}),r.jsx("span",{className:"font-bold text-blue-600","aria-live":"polite",children:C!==null?i.format(C):"—"})]}),r.jsx("div",{className:"flex flex-wrap gap-4",children:Array.from({length:w},(ee,ke)=>r.jsx(R1,{_count:a,_name:`Example ${ke}`,onLoaded:ke===0?oe:void 0,onRendered:de,ref:ke===0?e:void 0},`skeleton-${S}-${ke}`))}),r.jsxs("div",{className:"mt-6 p-4 border border-gray-300 rounded-lg bg-gray-50",children:[r.jsx("h3",{className:"text-lg font-semibold mb-3",children:"Event Monitor"}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[r.jsxs("div",{children:[r.jsx("p",{className:"font-medium",children:"Aktueller Count-Wert:"}),r.jsx("p",{className:"text-2xl font-bold text-blue-600","aria-live":"polite",children:d})]}),r.jsxs("div",{children:[r.jsx("p",{className:"font-medium",children:"Letztes Event:"}),r.jsx("p",{className:"text-lg","aria-live":"polite",children:m||"Noch kein Event empfangen"})]})]}),r.jsxs("div",{className:"mt-4",children:[r.jsxs("p",{className:"font-medium mb-2",children:["Events empfangen: ",r.jsx("span",{className:"font-bold",children:h})]}),k.length>0&&r.jsxs("div",{children:[r.jsx("p",{className:"font-medium mb-2",children:"Event-Historie (letzte 5):"}),r.jsx("ul",{className:"text-sm space-y-1 max-h-32 overflow-y-auto",children:k.map(ee=>r.jsxs("li",{className:"flex justify-between items-center p-2 bg-white rounded border",children:[r.jsxs("span",{children:["#",ee.id,": Count = ",ee.count]}),r.jsx("span",{className:"text-gray-500",children:ee.timestamp})]},ee.id))})]})]}),r.jsx("div",{className:"mt-4 p-3 bg-blue-50 rounded",children:r.jsxs("p",{className:"text-sm text-blue-800",children:["💡 ",r.jsx("strong",{children:"Tipp:"}),' Die Komponente emittiert automatisch alle 2 Sekunden ein Event. Klicke auf den "Click Button" in der Komponente, um den Count-Wert zu erhöhen.']})})]})]})},XB=()=>{const{searchParams:e}=new URL(location.href);return r.jsxs(r.Fragment,{children:[r.jsxs(U,{children:[r.jsx("p",{children:"This sample shows how KoliBri can be used in a static form context."}),r.jsxs("ol",{children:[r.jsxs("li",{children:["First you have to enable the ",r.jsx("code",{children:"experimental mode"}),":"," ",r.jsx("code",{className:"bg-gray-200",children:'<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />'})]}),r.jsxs("li",{children:["Currently you have to use a native ",r.jsx("code",{children:"form"})," element:"," ",r.jsx("code",{className:"bg-gray-200",children:'<form method="GET">...</form>'})]}),r.jsxs("li",{children:["It is important in static usage to give every input a ",r.jsx("code",{children:"name"})," attribute:"," ",r.jsx("code",{className:"bg-gray-200",children:'<KolInputColor _name="color" _label="Color" />'})]}),r.jsxs("li",{children:["Last of all one button should have the type ",r.jsx("code",{children:"submit"}),":"," ",r.jsx("code",{className:"bg-gray-200",children:'<KolButton _label="Submit" _type="submit" _variant="primary" />'})]})]})]}),r.jsxs("section",{className:"w-full flex flex-col",children:[e.size>0&&r.jsxs("div",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Submitted data"}),r.jsx("pre",{className:"text-base",children:r.jsx("code",{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),r.jsxs("form",{className:"grid gap-4",method:"get",noValidate:!0,children:[r.jsx(an,{_name:"checkbox",_label:"Checkbox"}),r.jsx(Kn,{_name:"color",_label:"Color"}),r.jsx(Fe,{_name:"date",_label:"Date"}),r.jsx(Hn,{_name:"email",_label:"Email"}),r.jsx(Nn,{_name:"file",_label:"File"}),r.jsx(Nn,{_name:"file",_label:"Files (multiple)",_multiple:!0}),r.jsx(yn,{_name:"number",_label:"Number"}),r.jsx(An,{_name:"password",_label:"Password"}),r.jsx(On,{_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(Vn,{_name:"range",_label:"Range"}),r.jsx(fe,{_name:"text",_label:"Text"}),r.jsx(Qn,{_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(Qn,{_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2}),r.jsx(ko,{_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(po,{_name:"combobox",_label:"Combobox",_suggestions:nt}),r.jsx(Qe,{_name:"textarea",_label:"Textarea",_rows:5}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"Submit",_type:"submit",_variant:"primary"}),r.jsx($,{_label:"Reset",_type:"reset"})]}),r.jsx("input",{type:"hidden",value:crypto.randomUUID(),name:"random"})]})]})]})},QB=()=>{const[e,o]=j.useState(!1),[a,i]=j.useState(!1);j.useEffect(()=>{let p;return e&&(p=setTimeout(()=>{o(!1)},2e3)),()=>clearTimeout(p)},[e]),j.useEffect(()=>{let p;return a&&(p=setTimeout(()=>{i(!1)},2e3)),()=>clearTimeout(p)},[a]);const c=()=>o(!0),d=()=>i(!0),u=j.useMemo(()=>Array.from({length:5},(m,g)=>({type:"button",_label:`Button ${g+1}`,_on:{onClick:c},_icons:e?"fa-solid fa-spinner fa-spin":void 0,_disabled:e})),[e]),k=j.useMemo(()=>Array.from({length:5},(m,g)=>({type:"button",_label:`Button ${g+1}`,_on:{onClick:d},_disabled:a,_icons:a?"fa-solid fa-spinner fa-spin":void 0})),[a]);return r.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem"},children:[r.jsx(ne,{_label:"Disabled Toolbar Buttons Bug (solved)"}),r.jsx(ne,{_label:"icon vor disabled",_level:2}),r.jsx(xa,{_label:"KolToolbar A",_items:u}),r.jsx(ne,{_label:"disabled vor icon",_level:2}),r.jsxs("p",{children:["Klicke auf einen der ",k.length-1," ersten Buttons hatte zur Folge, dass die nachfolgenden Buttons kaputt gehen."]}),r.jsx(xa,{_label:"KolToolbar B",_items:k})]})},WB=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsx("div",{style:{container:"test / size",contain:"layout"},children:r.jsx(Al,{_label:"Sample PopoverButton—Click for Popover",_icons:"kolicon-alert-info",_tooltipAlign:"right",_hideLabel:!0,children:"This is an explanation shown on click."})})]}),eM=()=>{const[e]=ur(),o=e.get("show-dialog"),a=j.useRef(null),i={onClick:()=>a.current?.openModal()};return j.useEffect(()=>{o==="true"&&a.current?.openModal()},[]),r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows the combination of a few components overlaying content. Dialog, Popover, Tooltip"})}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("div",{children:[r.jsx($,{_label:"Open card dialog",_on:i}),r.jsxs(kb,{ref:a,_label:"Card dialog",_variant:"card",_width:"30%",children:[r.jsx(Al,{_label:"Help",_icons:"kolicon-alert-info",_popoverAlign:"right",_tooltipAlign:"bottom",_hideLabel:!0,children:r.jsxs("div",{className:"w-sm p-2 border border-solid border-gray",children:[r.jsxs("p",{children:[r.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."]}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-check",_label:"OK",_variant:"primary"})]})}),r.jsx(po,{_label:"With string array in html",_suggestions:"['Herr','Frau','Firma']",_value:"Herr",_hideLabel:!0})]})]})})]})},nM={scenarios:{"button-shortkey-table":xO,"change-tabindex":yO,"custom-tooltip-css-properties":wO,"date-in-form":zO,"disabled-interactive-scenario":jO,"focus-elements":SO,"input-group-with-error":LO,"inputs-get-value":NO,"react-hook-form-adapter":e7,"react-hook-form-adapter-disabled":o7,"same-height-of-all-interactive-elements":t7,"static-form":XB,"sample-form-with-validation":YB,"table-horizontal-scrollbar-advanced":CO,"toolbar-item-order":QB,"tooltip-positioning":WB,"z-index":eM,"performance-test":OO,skeleton:JB}},fb={...gE,...dA,...kA,...vA,...gA,...wA,...jA,...CA,...qA,...GA,...QA,...eE,...nE,...iE,...dE,...zE,...AE,...CE,...RE,...BE,...GE,...XE,...nC,...eL,...rL,...sL,...fL,...CL,...NL,...DL,...qL,...PL,...QL,...eN,...tN,...lN,...sN,...kN,..._N,...jN,...hN,...AN,...H9,...Q9,...lO,...dO,...bO,...mO,...gO,...nM};Jy(localStorage);const oM=({customThemes:e})=>{const o=Fo(),[a,i]=ur(),c=a.has("hideMenus"),d=j.useMemo(()=>{const w=[ud,...e&&e.length>0?e:uE];return bE(w),w},[e]),u=a.get("theme")??Zs(),k=(w,L="/")=>{let S=[];for(const T in w)if(w[T]){const C=w[T],x=`${L}${T}`;typeof C=="function"?S.push(x):typeof C=="object"&&C!==null&&(S=S.concat(k(C,`${x}/`)))}return S},p=w=>{const L=[];for(const S in w)if(w[S]){const T=w[S],C=`/${S}`;if(typeof T=="function")L.push(r.jsx(pa,{path:C,element:r.jsx(T,{})},C)),L.push(r.jsx(pa,{path:`${C}/all`,element:r.jsx("div",{className:"d-grid gap-4",children:d.filter(x=>d.map(z=>z.key).indexOf(x.key)>=0).map(x=>r.jsxs("div",{className:"d-grid gap-2",children:[r.jsx("div",{className:"mt-4",children:r.jsx("strong",{children:x.name})}),r.jsx("div",{className:"my-2",children:r.jsx(T,{})}),r.jsx("hr",{"aria-hidden":"true"})]},x.key))})},`${C}/all`));else if(typeof T=="object"&&T!==null){const x=Object.keys(T);x.length>0&&L.push(r.jsx(pa,{path:`${C}/*`,element:r.jsxs(tg,{children:[r.jsx(pa,{path:"/",element:r.jsx(og,{to:x[0]})}),p(T)]})},C))}}return L},m=j.useMemo(()=>k(fb),[e]),g=j.useMemo(()=>p(fb),[e]),h=new Map;m.forEach(w=>{const L=w.split("/");h.has(L[1])||h.set(L[1],{label:L[1],value:w})}),kE(u),lA(),document.title=`KoliBri-Handout - ${Vb(Zs())} | v${Kb.version}`,document.body.setAttribute("class",u),document.body.dataset.theme=u;const _=w=>{i({theme:w}),window.location.reload()};return r.jsx(yk.Provider,{value:c,children:r.jsxs("div",{className:c?"":"app-container","data-theme":u,children:[!c&&r.jsx(aA,{version:Kb.version,themes:d,theme:u,sample:o.pathname,routes:fb,routeList:m,buildDate:"2026-03-06T16:13:38.835Z",commitHash:"e11e854f8",onThemeChange:_}),r.jsx("main",{className:"flex flex-col items-stretch p-4",id:"route-container",children:r.jsxs(tg,{children:[g,r.jsx(pa,{path:"*",element:r.jsx(og,{to:m[0],replace:!0})}),r.jsx(pa,{path:"back-page",element:r.jsx(eA,{})})]})})]})})},tM=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableI18nOverwriting"),rM=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableThemePatching"),ok=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableTagNameTransformer"),tk=e=>`${e}-sample`;ok&&qz(tk);const aM=async()=>[AS,h8,iT,QT];(async()=>{try{await G5(await aM(),()=>{d3(window,{transformTagName:ok?tk:void 0})},{environment:"production",reflectInputValues:!0,theme:{detect:"auto"},translation:{name:"en"},translations:tM?new Set([o=>o("en",{"kol-error":"Tiny error!"}),o=>o("de",{"kol-error":"Kleiner Fehler!"})]):void 0,transformTagName:ok?tk:void 0}),rM&&Aa.patchTheme("default",{"KOL-BUTTON":`
|
|
39227
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const k=u[1];if(o===u[0]){d(u);continue}if(e.external){const m=e.external.registry.get(u[0])?.id;if(o!==u[0]&&m){d(u);continue}}if(e.metadataRegistry.get(u[0])?.id){d(u);continue}if(k.cycle){d(u);continue}if(k.count>1&&e.reused==="ref"){d(u);continue}}}function mw(e,o){const a=e.seen.get(o);if(!a)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=u=>{const k=e.seen.get(u);if(k.ref===null)return;const p=k.def??k.schema,m={...p},g=k.ref;if(k.ref=null,g){i(g);const _=e.seen.get(g),w=_.schema;if(w.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(p.allOf=p.allOf??[],p.allOf.push(w)):Object.assign(p,w),Object.assign(p,m),u._zod.parent===g)for(const S in p)S==="$ref"||S==="allOf"||S in m||delete p[S];if(w.$ref&&_.def)for(const S in p)S==="$ref"||S==="allOf"||S in _.def&&JSON.stringify(p[S])===JSON.stringify(_.def[S])&&delete p[S]}const h=u._zod.parent;if(h&&h!==g){i(h);const _=e.seen.get(h);if(_?.schema.$ref&&(p.$ref=_.schema.$ref,_.def))for(const w in p)w==="$ref"||w==="allOf"||w in _.def&&JSON.stringify(p[w])===JSON.stringify(_.def[w])&&delete p[w]}e.override({zodSchema:u,jsonSchema:p,path:k.path??[]})};for(const u of[...e.seen.entries()].reverse())i(u[0]);const c={};if(e.target==="draft-2020-12"?c.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?c.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?c.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const u=e.external.registry.get(o)?.id;if(!u)throw new Error("Schema is missing an `id` property");c.$id=e.external.uri(u)}Object.assign(c,a.def??a.schema);const d=e.external?.defs??{};for(const u of e.seen.entries()){const k=u[1];k.def&&k.defId&&(d[k.defId]=k.def)}e.external||Object.keys(d).length>0&&(e.target==="draft-2020-12"?c.$defs=d:c.definitions=d);try{const u=JSON.parse(JSON.stringify(c));return Object.defineProperty(u,"~standard",{value:{...o["~standard"],jsonSchema:{input:ed(o,"input",e.processors),output:ed(o,"output",e.processors)}},enumerable:!1,writable:!1}),u}catch{throw new Error("Error converting schema to JSON.")}}function wo(e,o){const a=o??{seen:new Set};if(a.seen.has(e))return!1;a.seen.add(e);const i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return wo(i.element,a);if(i.type==="set")return wo(i.valueType,a);if(i.type==="lazy")return wo(i.getter(),a);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return wo(i.innerType,a);if(i.type==="intersection")return wo(i.left,a)||wo(i.right,a);if(i.type==="record"||i.type==="map")return wo(i.keyType,a)||wo(i.valueType,a);if(i.type==="pipe")return wo(i.in,a)||wo(i.out,a);if(i.type==="object"){for(const c in i.shape)if(wo(i.shape[c],a))return!0;return!1}if(i.type==="union"){for(const c of i.options)if(wo(c,a))return!0;return!1}if(i.type==="tuple"){for(const c of i.items)if(wo(c,a))return!0;return!!(i.rest&&wo(i.rest,a))}return!1}const l$=(e,o={})=>a=>{const i=kw({...a,processors:o});return go(e,i),pw(i,e),mw(i,e)},ed=(e,o,a={})=>i=>{const{libraryOptions:c,target:d}=i??{},u=kw({...c??{},target:d,io:o,processors:a});return go(e,u),pw(u,e),mw(u,e)},i$={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},c$=(e,o,a,i)=>{const c=a;c.type="string";const{minimum:d,maximum:u,format:k,patterns:p,contentEncoding:m}=e._zod.bag;if(typeof d=="number"&&(c.minLength=d),typeof u=="number"&&(c.maxLength=u),k&&(c.format=i$[k]??k,c.format===""&&delete c.format,k==="time"&&delete c.format),m&&(c.contentEncoding=m),p&&p.size>0){const g=[...p];g.length===1?c.pattern=g[0].source:g.length>1&&(c.allOf=[...g.map(h=>({...o.target==="draft-07"||o.target==="draft-04"||o.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},s$=(e,o,a,i)=>{const c=a,{minimum:d,maximum:u,format:k,multipleOf:p,exclusiveMaximum:m,exclusiveMinimum:g}=e._zod.bag;typeof k=="string"&&k.includes("int")?c.type="integer":c.type="number",typeof g=="number"&&(o.target==="draft-04"||o.target==="openapi-3.0"?(c.minimum=g,c.exclusiveMinimum=!0):c.exclusiveMinimum=g),typeof d=="number"&&(c.minimum=d,typeof g=="number"&&o.target!=="draft-04"&&(g>=d?delete c.minimum:delete c.exclusiveMinimum)),typeof m=="number"&&(o.target==="draft-04"||o.target==="openapi-3.0"?(c.maximum=m,c.exclusiveMaximum=!0):c.exclusiveMaximum=m),typeof u=="number"&&(c.maximum=u,typeof m=="number"&&o.target!=="draft-04"&&(m<=u?delete c.maximum:delete c.exclusiveMaximum)),typeof p=="number"&&(c.multipleOf=p)},d$=(e,o,a,i)=>{a.type="boolean"},u$=(e,o,a,i)=>{a.not={}},f$=(e,o,a,i)=>{},b$=(e,o,a,i)=>{if(o.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},k$=(e,o,a,i)=>{const c=e._zod.def,d=G0(c.entries);d.every(u=>typeof u=="number")&&(a.type="number"),d.every(u=>typeof u=="string")&&(a.type="string"),a.enum=d},p$=(e,o,a,i)=>{if(o.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},m$=(e,o,a,i)=>{if(o.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},v$=(e,o,a,i)=>{const c=a,d=e._zod.def,{minimum:u,maximum:k}=e._zod.bag;typeof u=="number"&&(c.minItems=u),typeof k=="number"&&(c.maxItems=k),c.type="array",c.items=go(d.element,o,{...i,path:[...i.path,"items"]})},h$=(e,o,a,i)=>{const c=a,d=e._zod.def;c.type="object",c.properties={};const u=d.shape;for(const m in u)c.properties[m]=go(u[m],o,{...i,path:[...i.path,"properties",m]});const k=new Set(Object.keys(u)),p=new Set([...k].filter(m=>{const g=d.shape[m]._zod;return o.io==="input"?g.optin===void 0:g.optout===void 0}));p.size>0&&(c.required=Array.from(p)),d.catchall?._zod.def.type==="never"?c.additionalProperties=!1:d.catchall?d.catchall&&(c.additionalProperties=go(d.catchall,o,{...i,path:[...i.path,"additionalProperties"]})):o.io==="output"&&(c.additionalProperties=!1)},g$=(e,o,a,i)=>{const c=e._zod.def,d=c.inclusive===!1,u=c.options.map((k,p)=>go(k,o,{...i,path:[...i.path,d?"oneOf":"anyOf",p]}));d?a.oneOf=u:a.anyOf=u},_$=(e,o,a,i)=>{const c=e._zod.def,d=go(c.left,o,{...i,path:[...i.path,"allOf",0]}),u=go(c.right,o,{...i,path:[...i.path,"allOf",1]}),k=m=>"allOf"in m&&Object.keys(m).length===1,p=[...k(d)?d.allOf:[d],...k(u)?u.allOf:[u]];a.allOf=p},x$=(e,o,a,i)=>{const c=e._zod.def,d=go(c.innerType,o,i),u=o.seen.get(e);o.target==="openapi-3.0"?(u.ref=c.innerType,a.nullable=!0):a.anyOf=[d,{type:"null"}]},y$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType},w$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType,a.default=JSON.parse(JSON.stringify(c.defaultValue))},z$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType,o.io==="input"&&(a._prefault=JSON.parse(JSON.stringify(c.defaultValue)))},j$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType;let u;try{u=c.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}a.default=u},S$=(e,o,a,i)=>{const c=e._zod.def,d=o.io==="input"?c.in._zod.def.type==="transform"?c.out:c.in:c.out;go(d,o,i);const u=o.seen.get(e);u.ref=d},T$=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType,a.readOnly=!0},vw=(e,o,a,i)=>{const c=e._zod.def;go(c.innerType,o,i);const d=o.seen.get(e);d.ref=c.innerType},A$=Q("ZodISODateTime",(e,o)=>{CR.init(e,o),Dn.init(e,o)});function E$(e){return DD(A$,e)}const C$=Q("ZodISODate",(e,o)=>{LR.init(e,o),Dn.init(e,o)});function L$(e){return $D(C$,e)}const N$=Q("ZodISOTime",(e,o)=>{NR.init(e,o),Dn.init(e,o)});function O$(e){return BD(N$,e)}const R$=Q("ZodISODuration",(e,o)=>{OR.init(e,o),Dn.init(e,o)});function D$(e){return MD(R$,e)}const $$=(e,o)=>{W0.init(e,o),e.name="ZodError",Object.defineProperties(e,{format:{value:a=>yO(e,a)},flatten:{value:a=>xO(e,a)},addIssue:{value:a=>{e.issues.push(a),e.message=JSON.stringify(e.issues,Qb,2)}},addIssues:{value:a=>{e.issues.push(...a),e.message=JSON.stringify(e.issues,Qb,2)}},isEmpty:{get(){return e.issues.length===0}}})},ht=Q("ZodError",$$,{Parent:Error}),B$=Fk(ht),M$=Kk(ht),I$=md(ht),U$=vd(ht),F$=jO(ht),K$=SO(ht),H$=TO(ht),V$=AO(ht),q$=EO(ht),Z$=CO(ht),P$=LO(ht),G$=NO(ht),In=Q("ZodType",(e,o)=>(Mn.init(e,o),Object.assign(e["~standard"],{jsonSchema:{input:ed(e,"input"),output:ed(e,"output")}}),e.toJSONSchema=l$(e,{}),e.def=o,e.type=o.type,Object.defineProperty(e,"_def",{value:o}),e.check=(...a)=>e.clone(Vr(o,{checks:[...o.checks??[],...a.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0}),e.with=e.check,e.clone=(a,i)=>qr(e,a,i),e.brand=()=>e,e.register=((a,i)=>(a.add(e,i),e)),e.parse=(a,i)=>B$(e,a,i,{callee:e.parse}),e.safeParse=(a,i)=>I$(e,a,i),e.parseAsync=async(a,i)=>M$(e,a,i,{callee:e.parseAsync}),e.safeParseAsync=async(a,i)=>U$(e,a,i),e.spa=e.safeParseAsync,e.encode=(a,i)=>F$(e,a,i),e.decode=(a,i)=>K$(e,a,i),e.encodeAsync=async(a,i)=>H$(e,a,i),e.decodeAsync=async(a,i)=>V$(e,a,i),e.safeEncode=(a,i)=>q$(e,a,i),e.safeDecode=(a,i)=>Z$(e,a,i),e.safeEncodeAsync=async(a,i)=>P$(e,a,i),e.safeDecodeAsync=async(a,i)=>G$(e,a,i),e.refine=(a,i)=>e.check(qB(a,i)),e.superRefine=a=>e.check(ZB(a)),e.overwrite=a=>e.check(Ol(a)),e.optional=()=>E1(e),e.exactOptional=()=>NB(e),e.nullable=()=>C1(e),e.nullish=()=>E1(C1(e)),e.nonoptional=a=>MB(e,a),e.array=()=>yB(e),e.or=a=>SB([e,a]),e.and=a=>AB(e,a),e.transform=a=>nk(e,_w(a)),e.default=a=>DB(e,a),e.prefault=a=>BB(e,a),e.catch=a=>UB(e,a),e.pipe=a=>nk(e,a),e.readonly=()=>HB(e),e.describe=a=>{const i=e.clone();return Ii.add(i,{description:a}),i},Object.defineProperty(e,"description",{get(){return Ii.get(e)?.description},configurable:!0}),e.meta=(...a)=>{if(a.length===0)return Ii.get(e);const i=e.clone();return Ii.add(i,a[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=a=>a(e),e)),hw=Q("_ZodString",(e,o)=>{Hk.init(e,o),In.init(e,o),e._zod.processJSONSchema=(i,c,d)=>c$(e,i,c);const a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null,e.regex=(...i)=>e.check(qD(...i)),e.includes=(...i)=>e.check(GD(...i)),e.startsWith=(...i)=>e.check(YD(...i)),e.endsWith=(...i)=>e.check(JD(...i)),e.min=(...i)=>e.check(Ws(...i)),e.max=(...i)=>e.check(fw(...i)),e.length=(...i)=>e.check(bw(...i)),e.nonempty=(...i)=>e.check(Ws(1,...i)),e.lowercase=i=>e.check(ZD(i)),e.uppercase=i=>e.check(PD(i)),e.trim=()=>e.check(QD()),e.normalize=(...i)=>e.check(XD(...i)),e.toLowerCase=()=>e.check(WD()),e.toUpperCase=()=>e.check(e$()),e.slugify=()=>e.check(n$())}),Y$=Q("ZodString",(e,o)=>{Hk.init(e,o),hw.init(e,o),e.email=a=>e.check(kD(J$,a)),e.url=a=>e.check(gD(X$,a)),e.jwt=a=>e.check(RD(fB,a)),e.emoji=a=>e.check(_D(Q$,a)),e.guid=a=>e.check(x1(j1,a)),e.uuid=a=>e.check(pD(As,a)),e.uuidv4=a=>e.check(mD(As,a)),e.uuidv6=a=>e.check(vD(As,a)),e.uuidv7=a=>e.check(hD(As,a)),e.nanoid=a=>e.check(xD(W$,a)),e.guid=a=>e.check(x1(j1,a)),e.cuid=a=>e.check(yD(eB,a)),e.cuid2=a=>e.check(wD(nB,a)),e.ulid=a=>e.check(zD(oB,a)),e.base64=a=>e.check(LD(sB,a)),e.base64url=a=>e.check(ND(dB,a)),e.xid=a=>e.check(jD(tB,a)),e.ksuid=a=>e.check(SD(rB,a)),e.ipv4=a=>e.check(TD(aB,a)),e.ipv6=a=>e.check(AD(lB,a)),e.cidrv4=a=>e.check(ED(iB,a)),e.cidrv6=a=>e.check(CD(cB,a)),e.e164=a=>e.check(OD(uB,a)),e.datetime=a=>e.check(E$(a)),e.date=a=>e.check(L$(a)),e.time=a=>e.check(O$(a)),e.duration=a=>e.check(D$(a))});function tr(e){return bD(Y$,e)}const Dn=Q("ZodStringFormat",(e,o)=>{Cn.init(e,o),hw.init(e,o)}),J$=Q("ZodEmail",(e,o)=>{xR.init(e,o),Dn.init(e,o)}),j1=Q("ZodGUID",(e,o)=>{gR.init(e,o),Dn.init(e,o)}),As=Q("ZodUUID",(e,o)=>{_R.init(e,o),Dn.init(e,o)}),X$=Q("ZodURL",(e,o)=>{yR.init(e,o),Dn.init(e,o)}),Q$=Q("ZodEmoji",(e,o)=>{wR.init(e,o),Dn.init(e,o)}),W$=Q("ZodNanoID",(e,o)=>{zR.init(e,o),Dn.init(e,o)}),eB=Q("ZodCUID",(e,o)=>{jR.init(e,o),Dn.init(e,o)}),nB=Q("ZodCUID2",(e,o)=>{SR.init(e,o),Dn.init(e,o)}),oB=Q("ZodULID",(e,o)=>{TR.init(e,o),Dn.init(e,o)}),tB=Q("ZodXID",(e,o)=>{AR.init(e,o),Dn.init(e,o)}),rB=Q("ZodKSUID",(e,o)=>{ER.init(e,o),Dn.init(e,o)}),aB=Q("ZodIPv4",(e,o)=>{RR.init(e,o),Dn.init(e,o)}),lB=Q("ZodIPv6",(e,o)=>{DR.init(e,o),Dn.init(e,o)}),iB=Q("ZodCIDRv4",(e,o)=>{$R.init(e,o),Dn.init(e,o)}),cB=Q("ZodCIDRv6",(e,o)=>{BR.init(e,o),Dn.init(e,o)}),sB=Q("ZodBase64",(e,o)=>{MR.init(e,o),Dn.init(e,o)}),dB=Q("ZodBase64URL",(e,o)=>{UR.init(e,o),Dn.init(e,o)}),uB=Q("ZodE164",(e,o)=>{FR.init(e,o),Dn.init(e,o)}),fB=Q("ZodJWT",(e,o)=>{HR.init(e,o),Dn.init(e,o)}),gw=Q("ZodNumber",(e,o)=>{cw.init(e,o),In.init(e,o),e._zod.processJSONSchema=(i,c,d)=>s$(e,i,c),e.gt=(i,c)=>e.check(w1(i,c)),e.gte=(i,c)=>e.check(Ms(i,c)),e.min=(i,c)=>e.check(Ms(i,c)),e.lt=(i,c)=>e.check(y1(i,c)),e.lte=(i,c)=>e.check(Bs(i,c)),e.max=(i,c)=>e.check(Bs(i,c)),e.int=i=>e.check(T1(i)),e.safe=i=>e.check(T1(i)),e.positive=i=>e.check(w1(0,i)),e.nonnegative=i=>e.check(Ms(0,i)),e.negative=i=>e.check(y1(0,i)),e.nonpositive=i=>e.check(Bs(0,i)),e.multipleOf=(i,c)=>e.check(z1(i,c)),e.step=(i,c)=>e.check(z1(i,c)),e.finite=()=>e;const a=e._zod.bag;e.minValue=Math.max(a.minimum??Number.NEGATIVE_INFINITY,a.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(a.maximum??Number.POSITIVE_INFINITY,a.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??.5),e.isFinite=!0,e.format=a.format??null});function S1(e){return ID(gw,e)}const bB=Q("ZodNumberFormat",(e,o)=>{VR.init(e,o),gw.init(e,o)});function T1(e){return UD(bB,e)}const kB=Q("ZodBoolean",(e,o)=>{qR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>d$(e,a,i)});function pB(e){return FD(kB,e)}const mB=Q("ZodUnknown",(e,o)=>{ZR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>f$()});function A1(){return KD(mB)}const vB=Q("ZodNever",(e,o)=>{PR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>u$(e,a,i)});function hB(e){return HD(vB,e)}const gB=Q("ZodDate",(e,o)=>{GR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(i,c,d)=>b$(e,i),e.min=(i,c)=>e.check(Ms(i,c)),e.max=(i,c)=>e.check(Bs(i,c));const a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});function _B(e){return VD(gB,e)}const xB=Q("ZodArray",(e,o)=>{YR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>v$(e,a,i,c),e.element=o.element,e.min=(a,i)=>e.check(Ws(a,i)),e.nonempty=a=>e.check(Ws(1,a)),e.max=(a,i)=>e.check(fw(a,i)),e.length=(a,i)=>e.check(bw(a,i)),e.unwrap=()=>e.element});function yB(e,o){return o$(xB,e,o)}const wB=Q("ZodObject",(e,o)=>{XR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>h$(e,a,i,c),pn(e,"shape",()=>o.shape),e.keyof=()=>EB(Object.keys(e._zod.def.shape)),e.catchall=a=>e.clone({...e._zod.def,catchall:a}),e.passthrough=()=>e.clone({...e._zod.def,catchall:A1()}),e.loose=()=>e.clone({...e._zod.def,catchall:A1()}),e.strict=()=>e.clone({...e._zod.def,catchall:hB()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=a=>mO(e,a),e.safeExtend=a=>vO(e,a),e.merge=a=>hO(e,a),e.pick=a=>kO(e,a),e.omit=a=>pO(e,a),e.partial=(...a)=>gO(xw,e,a[0]),e.required=(...a)=>_O(yw,e,a[0])});function zB(e,o){const a={type:"object",shape:e??{},...Se(o)};return new wB(a)}const jB=Q("ZodUnion",(e,o)=>{QR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>g$(e,a,i,c),e.options=o.options});function SB(e,o){return new jB({type:"union",options:e,...Se(o)})}const TB=Q("ZodIntersection",(e,o)=>{WR.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>_$(e,a,i,c)});function AB(e,o){return new TB({type:"intersection",left:e,right:o})}const ek=Q("ZodEnum",(e,o)=>{eD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(i,c,d)=>k$(e,i,c),e.enum=o.entries,e.options=Object.values(o.entries);const a=new Set(Object.keys(o.entries));e.extract=(i,c)=>{const d={};for(const u of i)if(a.has(u))d[u]=o.entries[u];else throw new Error(`Key ${u} not found in enum`);return new ek({...o,checks:[],...Se(c),entries:d})},e.exclude=(i,c)=>{const d={...o.entries};for(const u of i)if(a.has(u))delete d[u];else throw new Error(`Key ${u} not found in enum`);return new ek({...o,checks:[],...Se(c),entries:d})}});function EB(e,o){const a=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new ek({type:"enum",entries:a,...Se(o)})}const CB=Q("ZodTransform",(e,o)=>{nD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>m$(e,a),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new Z0(e.constructor.name);a.addIssue=d=>{if(typeof d=="string")a.issues.push(Qi(d,a.value,o));else{const u=d;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=a.value),u.inst??(u.inst=e),a.issues.push(Qi(u))}};const c=o.transform(a.value,a);return c instanceof Promise?c.then(d=>(a.value=d,a)):(a.value=c,a)}});function _w(e){return new CB({type:"transform",transform:e})}const xw=Q("ZodOptional",(e,o)=>{uw.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>vw(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function E1(e){return new xw({type:"optional",innerType:e})}const LB=Q("ZodExactOptional",(e,o)=>{oD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>vw(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function NB(e){return new LB({type:"optional",innerType:e})}const OB=Q("ZodNullable",(e,o)=>{tD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>x$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function C1(e){return new OB({type:"nullable",innerType:e})}const RB=Q("ZodDefault",(e,o)=>{rD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>w$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function DB(e,o){return new RB({type:"default",innerType:e,get defaultValue(){return typeof o=="function"?o():J0(o)}})}const $B=Q("ZodPrefault",(e,o)=>{aD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>z$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function BB(e,o){return new $B({type:"prefault",innerType:e,get defaultValue(){return typeof o=="function"?o():J0(o)}})}const yw=Q("ZodNonOptional",(e,o)=>{lD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>y$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function MB(e,o){return new yw({type:"nonoptional",innerType:e,...Se(o)})}const IB=Q("ZodCatch",(e,o)=>{iD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>j$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function UB(e,o){return new IB({type:"catch",innerType:e,catchValue:typeof o=="function"?o:()=>o})}const FB=Q("ZodPipe",(e,o)=>{cD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>S$(e,a,i,c),e.in=o.in,e.out=o.out});function nk(e,o){return new FB({type:"pipe",in:e,out:o})}const KB=Q("ZodReadonly",(e,o)=>{sD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>T$(e,a,i,c),e.unwrap=()=>e._zod.def.innerType});function HB(e){return new KB({type:"readonly",innerType:e})}const VB=Q("ZodCustom",(e,o)=>{dD.init(e,o),In.init(e,o),e._zod.processJSONSchema=(a,i,c)=>p$(e,a)});function qB(e,o={}){return t$(VB,e,o)}function ZB(e){return r$(e)}function PB(e,o){return nk(_w(e),o)}const GB=zB({date:PB(e=>typeof e=="string"||e instanceof Date?new Date(e):void 0,_B({message:"Date is required"}).refine(e=>!isNaN(e.getTime()),{message:"Invalid date"})),text:tr({message:"Please enter text."}).min(10,"Text must be at least 10 characters long."),email:tr({message:"Please enter your email."}).min(1,"Please enter your email.").email("Invalid email address."),password:tr({message:"Please enter a password."}).min(8,"Password must be at least 8 characters.").regex(/[A-Z]/,"Password must include at least one uppercase letter.").regex(/[0-9]/,"Password must include at least one number."),range:S1({message:"Please select a range."}).min(30,"Minimum value is 30."),number:S1({message:"Please enter a number."}).min(1,"Minimum is 1.").max(10,"Maximum is 10."),checkbox:pB().refine(e=>e===!0,{message:"You must accept the terms and conditions."}),radio:tr({message:"Please select a gender."}).min(1,"Please select a gender."),color:tr({message:"Please select a color."}).min(1,"Please select a color."),select:tr({message:"Please select a value."}).min(1,"Please select a value."),singleSelect:tr({message:"Please select a single option."}).min(1,"Please select a single option."),combobox:tr({message:"Please select a country."}).min(1,"Please select a country."),textarea:tr({message:"Please enter a message."}).min(1,"Please enter a message.")}),YB=()=>{const{dummyClickEventHandler:e}=_n(),{handleSubmit:o,formState:{errors:a},reset:i,control:c}=Cl({mode:"onBlur",reValidateMode:"onChange",resolver:iO(GB),defaultValues:{range:30,number:5}}),d=()=>{i(void 0,{keepErrors:!1,keepTouched:!1,keepDirty:!1})},u=Object.entries(a).map(([k,p])=>[k,p.message]).filter(([,k])=>!!k);return r.jsxs("section",{className:"w-full max-w-3xl mx-auto p-6",children:[r.jsx(ne,{_level:2,_label:"Sample Form with Validation (Zod)"}),r.jsx(U,{children:r.jsxs("p",{children:["This example shows validation with ",r.jsx("code",{children:"react-hook-form"}),", ",r.jsx("code",{children:"Zod"}),", and an error list."]})}),u.length>0&&r.jsx(oo,{_type:"error",_label:"Please fix the following:",_alert:!0,_variant:"card",children:r.jsx("ul",{className:"list-disc pl-5",children:u.map(([k,p],m)=>r.jsx("li",{children:r.jsx(ge,{_label:p,_href:`#field-${k}`,_on:{onClick:g=>{g.preventDefault(),document.getElementById(`field-${k}`)?.focus()}}})},m))})}),r.jsxs("form",{onSubmit:o(e),noValidate:!0,className:"grid gap-4 mt-6",children:[r.jsx(B0,{control:c,name:"date",_label:"Date"}),r.jsx(Ji,{control:c,name:"text",_label:"Text (≥ 10 chars)"}),r.jsx(R0,{control:c,name:"email",_label:"Email"}),r.jsx(O0,{control:c,name:"password",_label:"Password"}),r.jsx($0,{control:c,name:"range",_label:"Range (≥ 30)",_min:0,_max:100}),r.jsx(D0,{control:c,name:"number",_label:"Number (1 – 10)"}),r.jsx(V0,{control:c,name:"checkbox",_label:"Accept terms"}),r.jsx(H0,{control:c,name:"radio",_label:"Gender",_options:[{label:"Female",value:"f"},{label:"Male",value:"m"}]}),r.jsx(M0,{control:c,name:"color",_label:"Favorite Color"}),r.jsx(F0,{control:c,name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(K0,{control:c,name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(U0,{control:c,name:"combobox",_label:"Country",_suggestions:nt}),r.jsx(I0,{control:c,name:"textarea",_label:"Message",_rows:4}),r.jsxs("div",{className:"flex gap-4 mt-4",children:[r.jsx($,{_label:"Submit",_type:"submit",_variant:"primary"}),r.jsx($,{_label:"Reset",_type:"reset",onClick:d})]})]})]})},JB=()=>{const e=j.useRef(null),o=j.useRef(null),a=3,i=new Intl.NumberFormat("de-DE",{style:"unit",unit:"millisecond",maximumFractionDigits:1}),c=new Intl.DateTimeFormat("de-DE",{hour:"2-digit",minute:"2-digit",second:"2-digit"}),[d,u]=j.useState(a),[k,p]=j.useState([]),[m,g]=j.useState(""),[h,_]=j.useState(0),[w,L]=j.useState(20),[S,T]=j.useState(0),[C,x]=j.useState(null),[z,R]=j.useState(!1),B=j.useRef(0),F=j.useRef(20),Z=j.useRef(0),oe=ee=>{const ke=new Date,Ce=c.format(ke),Ae=h+1;u(ee.detail),g(Ce),_(Ae),p(I=>[{timestamp:Ce,count:ee.detail,id:Ae},...I.slice(0,4)])},de=j.useCallback(()=>{if(Z.current+=1,Z.current>=F.current){const ee=performance.now()-B.current;x(ee),R(!1)}},[]),Re=(ee,ke)=>{const Ce=Number(ke);L(Ce),Z.current=0,F.current=Ce,B.current=performance.now(),x(null),R(!0),T(Ae=>Ae+1)},ie=()=>{o.current&&(o.current._value=w)};return r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:'KolSkeleton demonstriert Event-Emitter mit automatischem Intervall. Die Komponente emittiert alle 2 Sekunden ein "loaded" Event mit dem aktuellen Count-Wert. Über die Buttons kann die Komponente getoggled und fokussiert werden. Der interne ClickButton erhöht bei Klick den Counter.'})}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-4 mb-4 items-center",children:[r.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[r.jsx($,{_label:"Toggle Sichtbarkeit",_on:{onClick:()=>e.current?.toggle()},_variant:"primary"}),r.jsx($,{_label:"Fokus auf Button",_on:{onClick:()=>e.current?.focus()},_variant:"secondary"})]}),r.jsxs("div",{className:"grid sm:grid-cols-2 gap-4 items-center",children:[r.jsx(Vn,{ref:o,_label:"Anzahl der Skeletons",_hideLabel:!0,_min:1,_max:1e4,_step:25,_value:w,_on:{onChange:Re,onBlur:ie}}),r.jsxs("span",{className:"text-sm text-gray-600 whitespace-nowrap",children:[w," Skeletons"]})]})]}),r.jsxs("div",{className:"mb-4 px-3 py-2 border border-gray-300 rounded bg-gray-50 flex items-center gap-4 text-sm",children:[r.jsx("span",{className:"font-semibold",children:"Benchmark:"}),r.jsx("span",{className:z?"text-orange-600 font-bold":C!==null?"text-green-600":"text-gray-400",children:z?"Rendering…":C!==null?"Fertig":"Bereit"}),r.jsx("span",{className:"font-bold text-blue-600","aria-live":"polite",children:C!==null?i.format(C):"—"})]}),r.jsx("div",{className:"flex flex-wrap gap-4",children:Array.from({length:w},(ee,ke)=>r.jsx(R1,{_name:`Example ${ke}`,onLoaded:ke===0?oe:void 0,onRendered:de,ref:ke===0?e:void 0},`skeleton-${S}-${ke}`))}),r.jsxs("div",{className:"mt-6 p-4 border border-gray-300 rounded-lg bg-gray-50",children:[r.jsx("h3",{className:"text-lg font-semibold mb-3",children:"Event Monitor"}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[r.jsxs("div",{children:[r.jsx("p",{className:"font-medium",children:"Aktueller Count-Wert:"}),r.jsx("p",{className:"text-2xl font-bold text-blue-600","aria-live":"polite",children:d})]}),r.jsxs("div",{children:[r.jsx("p",{className:"font-medium",children:"Letztes Event:"}),r.jsx("p",{className:"text-lg","aria-live":"polite",children:m||"Noch kein Event empfangen"})]})]}),r.jsxs("div",{className:"mt-4",children:[r.jsxs("p",{className:"font-medium mb-2",children:["Events empfangen: ",r.jsx("span",{className:"font-bold",children:h})]}),k.length>0&&r.jsxs("div",{children:[r.jsx("p",{className:"font-medium mb-2",children:"Event-Historie (letzte 5):"}),r.jsx("ul",{className:"text-sm space-y-1 max-h-32 overflow-y-auto",children:k.map(ee=>r.jsxs("li",{className:"flex justify-between items-center p-2 bg-white rounded border",children:[r.jsxs("span",{children:["#",ee.id,": Count = ",ee.count]}),r.jsx("span",{className:"text-gray-500",children:ee.timestamp})]},ee.id))})]})]}),r.jsx("div",{className:"mt-4 p-3 bg-blue-50 rounded",children:r.jsxs("p",{className:"text-sm text-blue-800",children:["💡 ",r.jsx("strong",{children:"Tipp:"}),' Die Komponente emittiert automatisch alle 2 Sekunden ein Event. Klicke auf den "Click Button" in der Komponente, um den Count-Wert zu erhöhen.']})})]})]})},XB=()=>{const{searchParams:e}=new URL(location.href);return r.jsxs(r.Fragment,{children:[r.jsxs(U,{children:[r.jsx("p",{children:"This sample shows how KoliBri can be used in a static form context."}),r.jsxs("ol",{children:[r.jsxs("li",{children:["First you have to enable the ",r.jsx("code",{children:"experimental mode"}),":"," ",r.jsx("code",{className:"bg-gray-200",children:'<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />'})]}),r.jsxs("li",{children:["Currently you have to use a native ",r.jsx("code",{children:"form"})," element:"," ",r.jsx("code",{className:"bg-gray-200",children:'<form method="GET">...</form>'})]}),r.jsxs("li",{children:["It is important in static usage to give every input a ",r.jsx("code",{children:"name"})," attribute:"," ",r.jsx("code",{className:"bg-gray-200",children:'<KolInputColor _name="color" _label="Color" />'})]}),r.jsxs("li",{children:["Last of all one button should have the type ",r.jsx("code",{children:"submit"}),":"," ",r.jsx("code",{className:"bg-gray-200",children:'<KolButton _label="Submit" _type="submit" _variant="primary" />'})]})]})]}),r.jsxs("section",{className:"w-full flex flex-col",children:[e.size>0&&r.jsxs("div",{className:"grid gap-4",children:[r.jsx(ne,{_level:2,_label:"Submitted data"}),r.jsx("pre",{className:"text-base",children:r.jsx("code",{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),r.jsxs("form",{className:"grid gap-4",method:"get",noValidate:!0,children:[r.jsx(an,{_name:"checkbox",_label:"Checkbox"}),r.jsx(Kn,{_name:"color",_label:"Color"}),r.jsx(Fe,{_name:"date",_label:"Date"}),r.jsx(Hn,{_name:"email",_label:"Email"}),r.jsx(Nn,{_name:"file",_label:"File"}),r.jsx(Nn,{_name:"file",_label:"Files (multiple)",_multiple:!0}),r.jsx(yn,{_name:"number",_label:"Number"}),r.jsx(An,{_name:"password",_label:"Password"}),r.jsx(On,{_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(Vn,{_name:"range",_label:"Range"}),r.jsx(fe,{_name:"text",_label:"Text"}),r.jsx(Qn,{_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(Qn,{_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2}),r.jsx(ko,{_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),r.jsx(po,{_name:"combobox",_label:"Combobox",_suggestions:nt}),r.jsx(Qe,{_name:"textarea",_label:"Textarea",_rows:5}),r.jsxs("div",{className:"flex flex-wrap gap-4",children:[r.jsx($,{_label:"Submit",_type:"submit",_variant:"primary"}),r.jsx($,{_label:"Reset",_type:"reset"})]}),r.jsx("input",{type:"hidden",value:crypto.randomUUID(),name:"random"})]})]})]})},QB=()=>{const[e,o]=j.useState(!1),[a,i]=j.useState(!1);j.useEffect(()=>{let p;return e&&(p=setTimeout(()=>{o(!1)},2e3)),()=>clearTimeout(p)},[e]),j.useEffect(()=>{let p;return a&&(p=setTimeout(()=>{i(!1)},2e3)),()=>clearTimeout(p)},[a]);const c=()=>o(!0),d=()=>i(!0),u=j.useMemo(()=>Array.from({length:5},(m,g)=>({type:"button",_label:`Button ${g+1}`,_on:{onClick:c},_icons:e?"fa-solid fa-spinner fa-spin":void 0,_disabled:e})),[e]),k=j.useMemo(()=>Array.from({length:5},(m,g)=>({type:"button",_label:`Button ${g+1}`,_on:{onClick:d},_disabled:a,_icons:a?"fa-solid fa-spinner fa-spin":void 0})),[a]);return r.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem"},children:[r.jsx(ne,{_label:"Disabled Toolbar Buttons Bug (solved)"}),r.jsx(ne,{_label:"icon vor disabled",_level:2}),r.jsx(xa,{_label:"KolToolbar A",_items:u}),r.jsx(ne,{_label:"disabled vor icon",_level:2}),r.jsxs("p",{children:["Klicke auf einen der ",k.length-1," ersten Buttons hatte zur Folge, dass die nachfolgenden Buttons kaputt gehen."]}),r.jsx(xa,{_label:"KolToolbar B",_items:k})]})},WB=()=>r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.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."})}),r.jsx("div",{style:{container:"test / size",contain:"layout"},children:r.jsx(Al,{_label:"Sample PopoverButton—Click for Popover",_icons:"kolicon-alert-info",_tooltipAlign:"right",_hideLabel:!0,children:"This is an explanation shown on click."})})]}),eM=()=>{const[e]=ur(),o=e.get("show-dialog"),a=j.useRef(null),i={onClick:()=>a.current?.openModal()};return j.useEffect(()=>{o==="true"&&a.current?.openModal()},[]),r.jsxs(r.Fragment,{children:[r.jsx(U,{children:r.jsx("p",{children:"This sample shows the combination of a few components overlaying content. Dialog, Popover, Tooltip"})}),r.jsx("div",{className:"grid gap-8",children:r.jsxs("div",{children:[r.jsx($,{_label:"Open card dialog",_on:i}),r.jsxs(kb,{ref:a,_label:"Card dialog",_variant:"card",_width:"30%",children:[r.jsx(Al,{_label:"Help",_icons:"kolicon-alert-info",_popoverAlign:"right",_tooltipAlign:"bottom",_hideLabel:!0,children:r.jsxs("div",{className:"w-sm p-2 border border-solid border-gray",children:[r.jsxs("p",{children:[r.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."]}),r.jsx($,{_hideLabel:!0,_icons:"kolicon-check",_label:"OK",_variant:"primary"})]})}),r.jsx(po,{_label:"With string array in html",_suggestions:"['Herr','Frau','Firma']",_value:"Herr",_hideLabel:!0})]})]})})]})},nM={scenarios:{"button-shortkey-table":x7,"change-tabindex":y7,"custom-tooltip-css-properties":w7,"date-in-form":z7,"disabled-interactive-scenario":j7,"focus-elements":S7,"input-group-with-error":L7,"inputs-get-value":N7,"react-hook-form-adapter":eO,"react-hook-form-adapter-disabled":oO,"same-height-of-all-interactive-elements":tO,"static-form":XB,"sample-form-with-validation":YB,"table-horizontal-scrollbar-advanced":C7,"toolbar-item-order":QB,"tooltip-positioning":WB,"z-index":eM,"performance-test":O7,skeleton:JB}},fb={...gE,...dA,...kA,...vA,...gA,...wA,...jA,...CA,...qA,...GA,...QA,...eE,...nE,...iE,...dE,...zE,...AE,...CE,...RE,...BE,...GE,...XE,...nC,...eL,...rL,...sL,...fL,...CL,...NL,...DL,...qL,...PL,...QL,...eN,...tN,...lN,...sN,...kN,..._N,...jN,...hN,...AN,...H9,...Q9,...l7,...d7,...b7,...m7,...g7,...nM};Jy(localStorage);const oM=({customThemes:e})=>{const o=Fo(),[a,i]=ur(),c=a.has("hideMenus"),d=j.useMemo(()=>{const w=[ud,...e&&e.length>0?e:uE];return bE(w),w},[e]),u=a.get("theme")??Zs(),k=(w,L="/")=>{let S=[];for(const T in w)if(w[T]){const C=w[T],x=`${L}${T}`;typeof C=="function"?S.push(x):typeof C=="object"&&C!==null&&(S=S.concat(k(C,`${x}/`)))}return S},p=w=>{const L=[];for(const S in w)if(w[S]){const T=w[S],C=`/${S}`;if(typeof T=="function")L.push(r.jsx(pa,{path:C,element:r.jsx(T,{})},C)),L.push(r.jsx(pa,{path:`${C}/all`,element:r.jsx("div",{className:"d-grid gap-4",children:d.filter(x=>d.map(z=>z.key).indexOf(x.key)>=0).map(x=>r.jsxs("div",{className:"d-grid gap-2",children:[r.jsx("div",{className:"mt-4",children:r.jsx("strong",{children:x.name})}),r.jsx("div",{className:"my-2",children:r.jsx(T,{})}),r.jsx("hr",{"aria-hidden":"true"})]},x.key))})},`${C}/all`));else if(typeof T=="object"&&T!==null){const x=Object.keys(T);x.length>0&&L.push(r.jsx(pa,{path:`${C}/*`,element:r.jsxs(tg,{children:[r.jsx(pa,{path:"/",element:r.jsx(og,{to:x[0]})}),p(T)]})},C))}}return L},m=j.useMemo(()=>k(fb),[e]),g=j.useMemo(()=>p(fb),[e]),h=new Map;m.forEach(w=>{const L=w.split("/");h.has(L[1])||h.set(L[1],{label:L[1],value:w})}),kE(u),lA(),document.title=`KoliBri-Handout - ${Vb(Zs())} | v${Kb.version}`,document.body.setAttribute("class",u),document.body.dataset.theme=u;const _=w=>{i({theme:w}),window.location.reload()};return r.jsx(yk.Provider,{value:c,children:r.jsxs("div",{className:c?"":"app-container","data-theme":u,children:[!c&&r.jsx(aA,{version:Kb.version,themes:d,theme:u,sample:o.pathname,routes:fb,routeList:m,buildDate:"2026-03-07T18:42:46.749Z",commitHash:"3d811ac1c",onThemeChange:_}),r.jsx("main",{className:"flex flex-col items-stretch p-4",id:"route-container",children:r.jsxs(tg,{children:[g,r.jsx(pa,{path:"*",element:r.jsx(og,{to:m[0],replace:!0})}),r.jsx(pa,{path:"back-page",element:r.jsx(eA,{})})]})})]})})},tM=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableI18nOverwriting"),rM=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableThemePatching"),ok=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableTagNameTransformer"),tk=e=>`${e}-sample`;ok&&qz(tk);const aM=async()=>[AS,h8,iT,QT];(async()=>{try{await G5(await aM(),()=>{d3(window,{transformTagName:ok?tk:void 0})},{environment:"production",reflectInputValues:!0,theme:{detect:"auto"},translation:{name:"en"},translations:tM?new Set([o=>o("en",{"kol-error":"Tiny error!"}),o=>o("de",{"kol-error":"Kleiner Fehler!"})]):void 0,transformTagName:ok?tk:void 0}),rM&&Aa.patchTheme("default",{"KOL-BUTTON":`
|
|
39228
39228
|
button {
|
|
39229
39229
|
border: 1px solid red;
|
|
39230
39230
|
}`,"KOL-SPIN":`
|
|
@@ -39234,4 +39234,4 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
39234
39234
|
.bg-spin-3 {
|
|
39235
39235
|
background-color: gold;
|
|
39236
39236
|
}`},{append:!0})}catch(o){console.warn("Theme registration failed:",o)}const e=document.querySelector("div#app");e instanceof HTMLDivElement&&$1.createRoot(e).render(r.jsx(j.StrictMode,{children:r.jsx(y4,{children:r.jsx(oM,{})})}))})();export{Aa as $,gM as A,z5 as B,Sg as C,g5 as D,p_ as E,$M as F,b5 as G,Dj as H,pM as I,OM as J,Yf as K,Rn as L,bk as M,cM as N,dM as O,l5 as P,iM as Q,EM as R,Z5 as S,TM as T,SM as U,id as V,zM as W,vM as X,s5 as Y,_M as Z,Pg as _,U_ as a,wM as a0,CM as a1,bM as a2,h_ as a3,d_ as a4,y_ as a5,DM as a6,m_ as a7,A5 as a8,C_ as a9,B5 as aa,Mg as ab,$_ as ac,R_ as ad,Dg as ae,jM as af,R5 as ag,lM as ah,AM as ai,Gg as aj,Xg as ak,o_ as al,T_ as am,D_ as an,O_ as ao,c5 as ap,wb as aq,M5 as ar,I5 as as,Xo as at,L5 as au,sM as av,Ng as b,LM as c,NM as d,Ig as e,kM as f,Kj as g,Oy as h,Yg as i,u_ as j,mM as k,Fg as l,qg as m,xM as n,Pf as o,O5 as p,yM as q,RM as r,yb as s,W5 as t,Ag as u,fM as v,kk as w,vy as x,my as y,hM as z};
|
|
39237
|
-
//# sourceMappingURL=index-
|
|
39237
|
+
//# sourceMappingURL=index-gwN9RN4C.js.map
|