@televet/kibble-ui 4.0.0-beta.77 → 4.0.0-beta.78
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/chunks/{alert.types-D6TkftlY.js → alert.types-C1hSbPAj.js} +2 -2
- package/dist/chunks/{alert.types-D6TkftlY.js.map → alert.types-C1hSbPAj.js.map} +1 -1
- package/dist/chunks/{alert.types-DFdr6LJp.js → alert.types-pRFStpHD.js} +3 -3
- package/dist/chunks/{alert.types-DFdr6LJp.js.map → alert.types-pRFStpHD.js.map} +1 -1
- package/dist/chunks/{avatar.component-qXjXZmjT.js → avatar.component-BSA7tJUO.js} +2 -2
- package/dist/chunks/{avatar.component-qXjXZmjT.js.map → avatar.component-BSA7tJUO.js.map} +1 -1
- package/dist/chunks/{avatar.component-v66udI-_.js → avatar.component-BwRv7qvB.js} +13 -13
- package/dist/chunks/{avatar.component-v66udI-_.js.map → avatar.component-BwRv7qvB.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-sVDzWHae.js → avatarGroup.component-CtNUO8FY.js} +2 -2
- package/dist/chunks/{avatarGroup.component-sVDzWHae.js.map → avatarGroup.component-CtNUO8FY.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-DXtoztak.js → avatarGroup.component-DQ8vHW56.js} +2 -2
- package/dist/chunks/{avatarGroup.component-DXtoztak.js.map → avatarGroup.component-DQ8vHW56.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-s0zArL6V.js → buttonGroup.component-B7YBMn5C.js} +2 -2
- package/dist/chunks/{buttonGroup.component-s0zArL6V.js.map → buttonGroup.component-B7YBMn5C.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-Dlz5CnTj.js → buttonGroup.component-Cg_TQped.js} +2 -2
- package/dist/chunks/{buttonGroup.component-Dlz5CnTj.js.map → buttonGroup.component-Cg_TQped.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-DQpZpSAG.js → characterCounter.component-0p9iEi6i.js} +2 -2
- package/dist/chunks/{characterCounter.component-DQpZpSAG.js.map → characterCounter.component-0p9iEi6i.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-BR9CB85Y.js → characterCounter.component-B7PijscW.js} +2 -2
- package/dist/chunks/{characterCounter.component-BR9CB85Y.js.map → characterCounter.component-B7PijscW.js.map} +1 -1
- package/dist/chunks/{checkbox.component-CDWLPHBb.js → checkbox.component-C3SpCA_Q.js} +10 -10
- package/dist/chunks/{checkbox.component-CDWLPHBb.js.map → checkbox.component-C3SpCA_Q.js.map} +1 -1
- package/dist/chunks/{checkbox.component-DWY6uyeH.js → checkbox.component-Dt23wSaV.js} +2 -2
- package/dist/chunks/{checkbox.component-DWY6uyeH.js.map → checkbox.component-Dt23wSaV.js.map} +1 -1
- package/dist/chunks/{checkbox.records-VGvM2lMr.js → checkbox.records-4j704fMI.js} +12 -12
- package/dist/chunks/{checkbox.records-VGvM2lMr.js.map → checkbox.records-4j704fMI.js.map} +1 -1
- package/dist/chunks/checkbox.records-DI3mqSNf.js +2 -0
- package/dist/chunks/{checkbox.records-CXDQlfs4.js.map → checkbox.records-DI3mqSNf.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-D_atqiOV.js → checkboxGroup.component-CVpvkfhE.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-D_atqiOV.js.map → checkboxGroup.component-CVpvkfhE.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-ZnL-IZ9n.js → checkboxGroup.component-DsfWyRog.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-ZnL-IZ9n.js.map → checkboxGroup.component-DsfWyRog.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-BOcG-o05.js → conversationCard.component-BOVg1QrI.js} +6 -6
- package/dist/chunks/{conversationCard.component-BOcG-o05.js.map → conversationCard.component-BOVg1QrI.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-BsD6fCbc.js → conversationCard.component-DAk3CXE_.js} +2 -2
- package/dist/chunks/{conversationCard.component-BsD6fCbc.js.map → conversationCard.component-DAk3CXE_.js.map} +1 -1
- package/dist/chunks/{datePicker.component-CYeP02vZ.js → datePicker.component-ByOoi8Qd.js} +7 -8
- package/dist/chunks/datePicker.component-ByOoi8Qd.js.map +1 -0
- package/dist/chunks/{datePicker.component-DwGsDzmJ.js → datePicker.component-DP7YTR4q.js} +3 -3
- package/dist/chunks/datePicker.component-DP7YTR4q.js.map +1 -0
- package/dist/chunks/{dialog-trigger-B5NK0lr-.js → dialog-trigger-MkOQUjzu.js} +2 -2
- package/dist/chunks/{dialog-trigger-B5NK0lr-.js.map → dialog-trigger-MkOQUjzu.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-Qc_jF1sR.js → dialog-trigger-eqGXDXGQ.js} +9 -9
- package/dist/chunks/{dialog-trigger-Qc_jF1sR.js.map → dialog-trigger-eqGXDXGQ.js.map} +1 -1
- package/dist/chunks/{heading.component-C0b0I-gL.js → heading.component-B5fvHRUH.js} +2 -2
- package/dist/chunks/{heading.component-C0b0I-gL.js.map → heading.component-B5fvHRUH.js.map} +1 -1
- package/dist/chunks/{heading.component-F2SF26Rv.js → heading.component-tEOV4AD0.js} +2 -2
- package/dist/chunks/{heading.component-F2SF26Rv.js.map → heading.component-tEOV4AD0.js.map} +1 -1
- package/dist/chunks/index-BR7peqZO.js +2 -0
- package/dist/chunks/{index-MlhL0PDC.js.map → index-BR7peqZO.js.map} +1 -1
- package/dist/chunks/{index-C6cNrRSG.js → index-Bff1r_rH.js} +15 -15
- package/dist/chunks/{index-C6cNrRSG.js.map → index-Bff1r_rH.js.map} +1 -1
- package/dist/chunks/index-Bz8HDeWA.js +70 -0
- package/dist/chunks/index-Bz8HDeWA.js.map +1 -0
- package/dist/chunks/index-CHIISuTq.js +3 -0
- package/dist/chunks/index-CHIISuTq.js.map +1 -0
- package/dist/chunks/{index-Im8BYbf9.js → index-CJLttzPM.js} +3 -3
- package/dist/chunks/{index-Im8BYbf9.js.map → index-CJLttzPM.js.map} +1 -1
- package/dist/chunks/index-CS8X6LiC.js +2 -0
- package/dist/chunks/{index-BDnnTdaJ.js.map → index-CS8X6LiC.js.map} +1 -1
- package/dist/chunks/{index-BRCoaB60.js → index-C_AXAeNS.js} +16 -17
- package/dist/chunks/{index-BRCoaB60.js.map → index-C_AXAeNS.js.map} +1 -1
- package/dist/chunks/{index-B2pGzKof.js → index-Cbkb_94C.js} +48 -49
- package/dist/chunks/{index-B2pGzKof.js.map → index-Cbkb_94C.js.map} +1 -1
- package/dist/chunks/{index-BBZxmcrY.js → index-CtXUprYH.js} +2 -2
- package/dist/chunks/{index-BBZxmcrY.js.map → index-CtXUprYH.js.map} +1 -1
- package/dist/chunks/index-DBk0LkcO.js +2 -0
- package/dist/chunks/{index-CfQe7XQk.js.map → index-DBk0LkcO.js.map} +1 -1
- package/dist/chunks/{index-BYf7SZUC.js → index-DOXzraja.js} +2 -2
- package/dist/chunks/{index-BYf7SZUC.js.map → index-DOXzraja.js.map} +1 -1
- package/dist/chunks/index-DSedXH1s.js +2 -0
- package/dist/chunks/{index-ZaGEDS_0.js.map → index-DSedXH1s.js.map} +1 -1
- package/dist/chunks/{index-KOHUWYh0.js → index-DUY19L6M.js} +105 -106
- package/dist/chunks/{index-KOHUWYh0.js.map → index-DUY19L6M.js.map} +1 -1
- package/dist/chunks/{index-BADDrHDf.js → index-DVNjUEDJ.js} +9 -9
- package/dist/chunks/{index-BADDrHDf.js.map → index-DVNjUEDJ.js.map} +1 -1
- package/dist/chunks/index-DbTEJc-K.js +2 -0
- package/dist/chunks/index-DbTEJc-K.js.map +1 -0
- package/dist/chunks/{index-COoMV9Mh.js → index-DowO8Ued.js} +2 -2
- package/dist/chunks/{index-COoMV9Mh.js.map → index-DowO8Ued.js.map} +1 -1
- package/dist/chunks/{index-Ootk-hWL.js → index-L197Dry5.js} +17 -18
- package/dist/chunks/{index-Ootk-hWL.js.map → index-L197Dry5.js.map} +1 -1
- package/dist/chunks/{index-BwIBc5Vr.js → index-OpolRlgD.js} +3 -3
- package/dist/chunks/{index-BwIBc5Vr.js.map → index-OpolRlgD.js.map} +1 -1
- package/dist/chunks/index-QTIBH1Or.js +2 -0
- package/dist/chunks/{index-CZz7hHWb.js.map → index-QTIBH1Or.js.map} +1 -1
- package/dist/chunks/index-YtNA0Ueo.js +1328 -0
- package/dist/chunks/index-YtNA0Ueo.js.map +1 -0
- package/dist/chunks/{index-DwxB1_tE.js → index-cSjUS7Xj.js} +43 -44
- package/dist/chunks/{index-DwxB1_tE.js.map → index-cSjUS7Xj.js.map} +1 -1
- package/dist/chunks/index-iaug4k6v.js +8 -0
- package/dist/chunks/{index-UWtj4ULm.js.map → index-iaug4k6v.js.map} +1 -1
- package/dist/chunks/{menu.component-BvRBlU1u.js → menu.component-C-HbgplJ.js} +2 -2
- package/dist/chunks/{menu.component-BvRBlU1u.js.map → menu.component-C-HbgplJ.js.map} +1 -1
- package/dist/chunks/{menu.component-ti1ki8i1.js → menu.component-DRbCsT5G.js} +26 -26
- package/dist/chunks/{menu.component-ti1ki8i1.js.map → menu.component-DRbCsT5G.js.map} +1 -1
- package/dist/chunks/{modal.types-OT5YDIow.js → modal.types-BShblwxe.js} +4 -4
- package/dist/chunks/{modal.types-OT5YDIow.js.map → modal.types-BShblwxe.js.map} +1 -1
- package/dist/chunks/{modal.types-BnELR1Ol.js → modal.types-Bbjk7iGl.js} +2 -2
- package/dist/chunks/{modal.types-BnELR1Ol.js.map → modal.types-Bbjk7iGl.js.map} +1 -1
- package/dist/chunks/{pinInput.types-1yr3_0OI.js → pinInput.types-DzKllrSu.js} +2 -2
- package/dist/chunks/{pinInput.types-1yr3_0OI.js.map → pinInput.types-DzKllrSu.js.map} +1 -1
- package/dist/chunks/{pinInput.types-DP9RhKqz.js → pinInput.types-vJ-_jicz.js} +8 -8
- package/dist/chunks/{pinInput.types-DP9RhKqz.js.map → pinInput.types-vJ-_jicz.js.map} +1 -1
- package/dist/chunks/{popover-80QH8HEJ.js → popover-BSBYgvs4.js} +2 -2
- package/dist/chunks/{popover-80QH8HEJ.js.map → popover-BSBYgvs4.js.map} +1 -1
- package/dist/chunks/{popover-BpMSsJKD.js → popover-DNKVYG-J.js} +26 -26
- package/dist/chunks/{popover-BpMSsJKD.js.map → popover-DNKVYG-J.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-rmv9U0xr.js → popover-root-provider-BErev2-N.js} +8 -8
- package/dist/chunks/{popover-root-provider-rmv9U0xr.js.map → popover-root-provider-BErev2-N.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-DAMDDAHQ.js → popover-root-provider-C2iwUZJn.js} +2 -2
- package/dist/chunks/{popover-root-provider-DAMDDAHQ.js.map → popover-root-provider-C2iwUZJn.js.map} +1 -1
- package/dist/chunks/popover.component-BxwHgQIv.js +2 -0
- package/dist/chunks/popover.component-BxwHgQIv.js.map +1 -0
- package/dist/chunks/popover.component-CVGKw2zy.js +386 -0
- package/dist/chunks/popover.component-CVGKw2zy.js.map +1 -0
- package/dist/chunks/{radio.records-LkbGZcNW.js → radio.records-4ih1q8nO.js} +16 -16
- package/dist/chunks/{radio.records-LkbGZcNW.js.map → radio.records-4ih1q8nO.js.map} +1 -1
- package/dist/chunks/radio.records-j0JOqaJ4.js +2 -0
- package/dist/chunks/{radio.records-CV3axDFi.js.map → radio.records-j0JOqaJ4.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DH5SnCI7.js → radioGroup.component-DOCa9IlZ.js} +11 -11
- package/dist/chunks/{radioGroup.component-DH5SnCI7.js.map → radioGroup.component-DOCa9IlZ.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DjCuFGQG.js → radioGroup.component-HJ7ADLyQ.js} +2 -2
- package/dist/chunks/{radioGroup.component-DjCuFGQG.js.map → radioGroup.component-HJ7ADLyQ.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-b2Pw-1F_.js → ratingDots.component-BuFKV26e.js} +3 -3
- package/dist/chunks/{ratingDots.component-b2Pw-1F_.js.map → ratingDots.component-BuFKV26e.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-Czg5IgiN.js → ratingDots.component-CJuTm2VS.js} +2 -2
- package/dist/chunks/{ratingDots.component-Czg5IgiN.js.map → ratingDots.component-CJuTm2VS.js.map} +1 -1
- package/dist/chunks/{render-strategy-m3gtiO9A.js → render-strategy-CHp7lb6C.js} +2 -2
- package/dist/chunks/{render-strategy-m3gtiO9A.js.map → render-strategy-CHp7lb6C.js.map} +1 -1
- package/dist/chunks/{render-strategy-BmWbSgqh.js → render-strategy-C_zp9LNQ.js} +2 -2
- package/dist/chunks/{render-strategy-BmWbSgqh.js.map → render-strategy-C_zp9LNQ.js.map} +1 -1
- package/dist/chunks/{select.component-CIo-RvH_.js → select.component-CybeNI0i.js} +43 -43
- package/dist/chunks/{select.component-CIo-RvH_.js.map → select.component-CybeNI0i.js.map} +1 -1
- package/dist/chunks/{select.component-D2arS0o0.js → select.component-i_EaT6Zs.js} +2 -2
- package/dist/chunks/{select.component-D2arS0o0.js.map → select.component-i_EaT6Zs.js.map} +1 -1
- package/dist/chunks/{sortableList.component-BprhujW-.js → sortableList.component-C4sdfnNc.js} +3 -3
- package/dist/chunks/{sortableList.component-BprhujW-.js.map → sortableList.component-C4sdfnNc.js.map} +1 -1
- package/dist/chunks/{sortableList.component-DkOOWlZi.js → sortableList.component-Di02P6Xa.js} +2 -2
- package/dist/chunks/{sortableList.component-DkOOWlZi.js.map → sortableList.component-Di02P6Xa.js.map} +1 -1
- package/dist/chunks/{spinner.component--A74YhnV.js → spinner.component-Y6WSYB00.js} +2 -2
- package/dist/chunks/{spinner.component--A74YhnV.js.map → spinner.component-Y6WSYB00.js.map} +1 -1
- package/dist/chunks/{spinner.component-CyCqFb4q.js → spinner.component-mAs2EzXc.js} +2 -2
- package/dist/chunks/{spinner.component-CyCqFb4q.js.map → spinner.component-mAs2EzXc.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-CCuTmj5u.js → styledAvatar.types-D1U_mKEg.js} +2 -2
- package/dist/chunks/{styledAvatar.types-CCuTmj5u.js.map → styledAvatar.types-D1U_mKEg.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-DG91ByYD.js → styledAvatar.types-E52xMx_F.js} +2 -2
- package/dist/chunks/{styledAvatar.types-DG91ByYD.js.map → styledAvatar.types-E52xMx_F.js.map} +1 -1
- package/dist/chunks/{switch.component-frqBM_Af.js → switch.component-BC_L3Gzc.js} +2 -2
- package/dist/chunks/{switch.component-frqBM_Af.js.map → switch.component-BC_L3Gzc.js.map} +1 -1
- package/dist/chunks/{switch.component-Duu-vQCU.js → switch.component-F106ejwM.js} +11 -11
- package/dist/chunks/{switch.component-Duu-vQCU.js.map → switch.component-F106ejwM.js.map} +1 -1
- package/dist/chunks/{tabs.component-CqZ-1KM1.js → tabs.component-BSQtGb-N.js} +47 -47
- package/dist/chunks/{tabs.component-CqZ-1KM1.js.map → tabs.component-BSQtGb-N.js.map} +1 -1
- package/dist/chunks/{tabs.component-COJoNw1J.js → tabs.component-YEPvlQka.js} +2 -2
- package/dist/chunks/{tabs.component-COJoNw1J.js.map → tabs.component-YEPvlQka.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-CNRGkGi0.js → tagBlock.component-5R68SSbc.js} +2 -2
- package/dist/chunks/{tagBlock.component-CNRGkGi0.js.map → tagBlock.component-5R68SSbc.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-GOWWkkrD.js → tagBlock.component-C59sawdu.js} +5 -5
- package/dist/chunks/{tagBlock.component-GOWWkkrD.js.map → tagBlock.component-C59sawdu.js.map} +1 -1
- package/dist/chunks/{textInput.component-tH7q7tyB.js → textInput.component-BLxERLt1.js} +2 -2
- package/dist/chunks/{textInput.component-tH7q7tyB.js.map → textInput.component-BLxERLt1.js.map} +1 -1
- package/dist/chunks/{textInput.component-CZ5vEcX2.js → textInput.component-DF5JU8nm.js} +12 -12
- package/dist/chunks/{textInput.component-CZ5vEcX2.js.map → textInput.component-DF5JU8nm.js.map} +1 -1
- package/dist/chunks/{textarea.component-CckCPXIa.js → textarea.component-C3hMq2md.js} +2 -2
- package/dist/chunks/{textarea.component-CckCPXIa.js.map → textarea.component-C3hMq2md.js.map} +1 -1
- package/dist/chunks/{textarea.component-D55xPgy5.js → textarea.component-Cb7cJ3fE.js} +7 -7
- package/dist/chunks/{textarea.component-D55xPgy5.js.map → textarea.component-Cb7cJ3fE.js.map} +1 -1
- package/dist/chunks/theme.provider-BuF0PD7y.js +26 -0
- package/dist/chunks/theme.provider-BuF0PD7y.js.map +1 -0
- package/dist/chunks/{theme.provider-CYOEo6b-.js → theme.provider-DIHPjRt6.js} +1827 -1698
- package/dist/chunks/theme.provider-DIHPjRt6.js.map +1 -0
- package/dist/chunks/{timePicker.component-DevQsVia.js → timePicker.component-DOuFbuYn.js} +2 -2
- package/dist/chunks/timePicker.component-DOuFbuYn.js.map +1 -0
- package/dist/chunks/{timePicker.component-DdXZNjaq.js → timePicker.component-DzmwMnG3.js} +19 -20
- package/dist/chunks/timePicker.component-DzmwMnG3.js.map +1 -0
- package/dist/chunks/{timeRange.component-CRprxuDE.js → timeRange.component-BEJvno5T.js} +2 -2
- package/dist/chunks/{timeRange.component-CRprxuDE.js.map → timeRange.component-BEJvno5T.js.map} +1 -1
- package/dist/chunks/{timeRange.component-BADX9awY.js → timeRange.component-C6zB9wnu.js} +2 -2
- package/dist/chunks/{timeRange.component-BADX9awY.js.map → timeRange.component-C6zB9wnu.js.map} +1 -1
- package/dist/chunks/{timestamp.component-C11dDnCQ.js → timestamp.component-3r-E7s-6.js} +2 -2
- package/dist/chunks/{timestamp.component-C11dDnCQ.js.map → timestamp.component-3r-E7s-6.js.map} +1 -1
- package/dist/chunks/{timestamp.component-D7eN5_Rp.js → timestamp.component-CexMdlZm.js} +2 -2
- package/dist/chunks/{timestamp.component-D7eN5_Rp.js.map → timestamp.component-CexMdlZm.js.map} +1 -1
- package/dist/chunks/{toaster.records-Dp_v1E5T.js → toaster.records-CcwOeMM7.js} +21 -22
- package/dist/chunks/{toaster.records-Dp_v1E5T.js.map → toaster.records-CcwOeMM7.js.map} +1 -1
- package/dist/chunks/toaster.records-zJfplz5w.js +2 -0
- package/dist/chunks/{toaster.records-BJo0j1IZ.js.map → toaster.records-zJfplz5w.js.map} +1 -1
- package/dist/chunks/{typography.records-C6G_65b4.js → typography.records-CSy2LmDd.js} +2 -2
- package/dist/chunks/{typography.records-C6G_65b4.js.map → typography.records-CSy2LmDd.js.map} +1 -1
- package/dist/chunks/{typography.records-BVjSfRuB.js → typography.records-H4aA5AOA.js} +2 -2
- package/dist/chunks/{typography.records-BVjSfRuB.js.map → typography.records-H4aA5AOA.js.map} +1 -1
- package/dist/chunks/{use-field-context--wBJQY1R.js → use-field-context-CArmgHPP.js} +2 -2
- package/dist/chunks/{use-field-context--wBJQY1R.js.map → use-field-context-CArmgHPP.js.map} +1 -1
- package/dist/chunks/{use-field-context-xndZXNT4.js → use-field-context-Cm3grEyV.js} +2 -2
- package/dist/chunks/{use-field-context-xndZXNT4.js.map → use-field-context-Cm3grEyV.js.map} +1 -1
- package/dist/chunks/{use-locale-context-KeBTTMq9.js → use-locale-context-BiiNTYMT.js} +29 -29
- package/dist/chunks/{use-locale-context-KeBTTMq9.js.map → use-locale-context-BiiNTYMT.js.map} +1 -1
- package/dist/chunks/{use-locale-context-BdqHZ8L8.js → use-locale-context-D0LByRu9.js} +2 -2
- package/dist/chunks/{use-locale-context-BdqHZ8L8.js.map → use-locale-context-D0LByRu9.js.map} +1 -1
- package/dist/chunks/{withFormControl-C3CCUu8p.js → withFormControl-DyPM4V_t.js} +2 -2
- package/dist/chunks/{withFormControl-C3CCUu8p.js.map → withFormControl-DyPM4V_t.js.map} +1 -1
- package/dist/chunks/{withFormControl-CSnkTHz3.js → withFormControl-yxJx_BJg.js} +49 -49
- package/dist/chunks/{withFormControl-CSnkTHz3.js.map → withFormControl-yxJx_BJg.js.map} +1 -1
- package/dist/chunks/withTruncation-B-Hma82m.js +2 -0
- package/dist/chunks/withTruncation-B-Hma82m.js.map +1 -0
- package/dist/chunks/withTruncation-BRHPZgp1.js +581 -0
- package/dist/chunks/withTruncation-BRHPZgp1.js.map +1 -0
- package/dist/cjs/chakra/index.cjs +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/esm/chakra/index.js +8 -8
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +1 -1
- package/dist/esm/components/Toast/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +29 -29
- package/dist/esm/index.js +30 -30
- package/dist/esm/theme/index.js +1 -1
- package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
- package/dist/types/components/Button/button.recipe.d.ts +1 -1
- package/dist/types/components/Logo/logo.recipe.d.ts +1 -1
- package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
- package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
- package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
- package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
- package/dist/types/components/Tooltip/tooltip.component.d.ts +4 -2
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -1
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +3 -3
- package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -3
- package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -2
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +8 -8
- package/package.json +1 -1
- package/dist/chunks/checkbox.records-CXDQlfs4.js +0 -2
- package/dist/chunks/datePicker.component-CYeP02vZ.js.map +0 -1
- package/dist/chunks/datePicker.component-DwGsDzmJ.js.map +0 -1
- package/dist/chunks/index-BDnnTdaJ.js +0 -2
- package/dist/chunks/index-BGwwyukg.js +0 -2
- package/dist/chunks/index-BGwwyukg.js.map +0 -1
- package/dist/chunks/index-BIz6smcP.js +0 -322
- package/dist/chunks/index-BIz6smcP.js.map +0 -1
- package/dist/chunks/index-CZ42b9rT.js +0 -3
- package/dist/chunks/index-CZ42b9rT.js.map +0 -1
- package/dist/chunks/index-CZz7hHWb.js +0 -2
- package/dist/chunks/index-CfQe7XQk.js +0 -2
- package/dist/chunks/index-Czx27hGN.js +0 -1018
- package/dist/chunks/index-Czx27hGN.js.map +0 -1
- package/dist/chunks/index-MlhL0PDC.js +0 -2
- package/dist/chunks/index-UWtj4ULm.js +0 -8
- package/dist/chunks/index-ZaGEDS_0.js +0 -2
- package/dist/chunks/popover.component-CpS9xV8Q.js +0 -322
- package/dist/chunks/popover.component-CpS9xV8Q.js.map +0 -1
- package/dist/chunks/popover.component-DS0EiGlE.js +0 -2
- package/dist/chunks/popover.component-DS0EiGlE.js.map +0 -1
- package/dist/chunks/popover.recipe-DLeyokHo.js +0 -2
- package/dist/chunks/popover.recipe-DLeyokHo.js.map +0 -1
- package/dist/chunks/popover.recipe-_90TbZhK.js +0 -479
- package/dist/chunks/popover.recipe-_90TbZhK.js.map +0 -1
- package/dist/chunks/radio.records-CV3axDFi.js +0 -2
- package/dist/chunks/theme.provider-B3cH9Mqo.js +0 -26
- package/dist/chunks/theme.provider-B3cH9Mqo.js.map +0 -1
- package/dist/chunks/theme.provider-CYOEo6b-.js.map +0 -1
- package/dist/chunks/timePicker.component-DdXZNjaq.js.map +0 -1
- package/dist/chunks/timePicker.component-DevQsVia.js.map +0 -1
- package/dist/chunks/toaster.records-BJo0j1IZ.js +0 -2
- package/dist/chunks/withTruncation-DcoulzNi.js +0 -828
- package/dist/chunks/withTruncation-DcoulzNi.js.map +0 -1
- package/dist/chunks/withTruncation-DqAm-acL.js +0 -2
- package/dist/chunks/withTruncation-DqAm-acL.js.map +0 -1
|
@@ -0,0 +1,1328 @@
|
|
|
1
|
+
var le = (e) => Math.max(0, Math.min(1, e)), je = (e, t) => e.map((n, r) => e[(Math.max(t, 0) + r) % e.length]), X = (...e) => (t) => e.reduce((n, r) => r(n), t), M = () => {
|
|
2
|
+
}, _ = (e) => typeof e == "object" && e !== null, On = 2147483647, Mn = (e) => e ? "" : void 0, Cn = (e) => e ? "true" : void 0, $e = 1, qe = 9, _e = 11, b = (e) => _(e) && e.nodeType === $e && typeof e.nodeName == "string", ke = (e) => _(e) && e.nodeType === qe, We = (e) => _(e) && e === e.window, xe = (e) => b(e) ? e.localName || "" : "#document";
|
|
3
|
+
function Ue(e) {
|
|
4
|
+
return ["html", "body", "#document"].includes(xe(e));
|
|
5
|
+
}
|
|
6
|
+
var ze = (e) => _(e) && e.nodeType !== void 0, K = (e) => ze(e) && e.nodeType === _e && "host" in e, He = (e) => b(e) && e.localName === "input", Vn = (e) => !!e?.matches("a[href]"), Xe = (e) => b(e) ? e.offsetWidth > 0 || e.offsetHeight > 0 || e.getClientRects().length > 0 : !1, Ye = /(textarea|select)/;
|
|
7
|
+
function Ge(e) {
|
|
8
|
+
if (e == null || !b(e)) return !1;
|
|
9
|
+
try {
|
|
10
|
+
return He(e) && e.selectionStart != null || Ye.test(e.localName) || e.isContentEditable || e.getAttribute("contenteditable") === "true" || e.getAttribute("contenteditable") === "";
|
|
11
|
+
} catch {
|
|
12
|
+
return !1;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function V(e, t) {
|
|
16
|
+
if (!e || !t || !b(e) || !b(t)) return !1;
|
|
17
|
+
const n = t.getRootNode?.();
|
|
18
|
+
if (e === t || e.contains(t)) return !0;
|
|
19
|
+
if (n && K(n)) {
|
|
20
|
+
let r = t;
|
|
21
|
+
for (; r; ) {
|
|
22
|
+
if (e === r) return !0;
|
|
23
|
+
r = r.parentNode || r.host;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return !1;
|
|
27
|
+
}
|
|
28
|
+
function D(e) {
|
|
29
|
+
return ke(e) ? e : We(e) ? e.document : e?.ownerDocument ?? document;
|
|
30
|
+
}
|
|
31
|
+
function Ze(e) {
|
|
32
|
+
return D(e).documentElement;
|
|
33
|
+
}
|
|
34
|
+
function A(e) {
|
|
35
|
+
return K(e) ? A(e.host) : ke(e) ? e.defaultView ?? window : b(e) ? e.ownerDocument?.defaultView ?? window : window;
|
|
36
|
+
}
|
|
37
|
+
function Je(e) {
|
|
38
|
+
let t = e.activeElement;
|
|
39
|
+
for (; t?.shadowRoot; ) {
|
|
40
|
+
const n = t.shadowRoot.activeElement;
|
|
41
|
+
if (n === t) break;
|
|
42
|
+
t = n;
|
|
43
|
+
}
|
|
44
|
+
return t;
|
|
45
|
+
}
|
|
46
|
+
function Qe(e) {
|
|
47
|
+
if (xe(e) === "html") return e;
|
|
48
|
+
const t = e.assignedSlot || e.parentNode || K(e) && e.host || Ze(e);
|
|
49
|
+
return K(t) ? t.host : t;
|
|
50
|
+
}
|
|
51
|
+
var Y = /* @__PURE__ */ new WeakMap();
|
|
52
|
+
function Bn(e) {
|
|
53
|
+
return Y.has(e) || Y.set(e, A(e).getComputedStyle(e)), Y.get(e);
|
|
54
|
+
}
|
|
55
|
+
function Rn(e, t) {
|
|
56
|
+
const { type: n, quality: r = 0.92, background: o } = t;
|
|
57
|
+
if (!e) throw new Error("[zag-js > getDataUrl]: Could not find the svg element");
|
|
58
|
+
const s = A(e), i = s.document, a = e.getBoundingClientRect(), u = e.cloneNode(!0);
|
|
59
|
+
u.hasAttribute("viewBox") || u.setAttribute("viewBox", `0 0 ${a.width} ${a.height}`);
|
|
60
|
+
const p = `<?xml version="1.0" standalone="no"?>\r
|
|
61
|
+
` + new s.XMLSerializer().serializeToString(u), y = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(p);
|
|
62
|
+
if (n === "image/svg+xml")
|
|
63
|
+
return Promise.resolve(y).then((k) => (u.remove(), k));
|
|
64
|
+
const f = s.devicePixelRatio || 1, c = i.createElement("canvas"), d = new s.Image();
|
|
65
|
+
d.src = y, c.width = a.width * f, c.height = a.height * f;
|
|
66
|
+
const v = c.getContext("2d");
|
|
67
|
+
return (n === "image/jpeg" || o) && (v.fillStyle = o || "white", v.fillRect(0, 0, c.width, c.height)), new Promise((k) => {
|
|
68
|
+
d.onload = () => {
|
|
69
|
+
v?.drawImage(d, 0, 0, c.width, c.height), k(c.toDataURL(n, r)), u.remove();
|
|
70
|
+
};
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
var W = () => typeof document < "u";
|
|
74
|
+
function et() {
|
|
75
|
+
return navigator.userAgentData?.platform ?? navigator.platform;
|
|
76
|
+
}
|
|
77
|
+
function tt() {
|
|
78
|
+
const e = navigator.userAgentData;
|
|
79
|
+
return e && Array.isArray(e.brands) ? e.brands.map(({ brand: t, version: n }) => `${t}/${n}`).join(" ") : navigator.userAgent;
|
|
80
|
+
}
|
|
81
|
+
var ne = (e) => W() && e.test(et()), Pe = (e) => W() && e.test(tt()), nt = (e) => W() && e.test(navigator.vendor), fe = () => W() && !!navigator.maxTouchPoints, rt = () => ne(/^iPhone/i), ot = () => ne(/^iPad/i) || oe() && navigator.maxTouchPoints > 1, re = () => rt() || ot(), Te = () => oe() || re(), oe = () => ne(/^Mac/i), Kn = () => Te() && nt(/apple/i), st = () => Pe(/Firefox/i), it = () => Pe(/Android/i);
|
|
82
|
+
function Fn(e) {
|
|
83
|
+
const { selectionStart: t, selectionEnd: n, value: r } = e.currentTarget;
|
|
84
|
+
return r.slice(0, t) + e.data + r.slice(n);
|
|
85
|
+
}
|
|
86
|
+
function at(e) {
|
|
87
|
+
return e.composedPath?.() ?? e.nativeEvent?.composedPath?.();
|
|
88
|
+
}
|
|
89
|
+
function B(e) {
|
|
90
|
+
return at(e)?.[0] ?? e.target;
|
|
91
|
+
}
|
|
92
|
+
var jn = (e) => V(e.currentTarget, B(e));
|
|
93
|
+
function $n(e) {
|
|
94
|
+
const t = e.currentTarget;
|
|
95
|
+
if (!t) return !1;
|
|
96
|
+
const n = Te();
|
|
97
|
+
if (n && !e.metaKey || !n && !e.ctrlKey) return !1;
|
|
98
|
+
const r = t.localName;
|
|
99
|
+
return r === "a" || r === "button" && t.type === "submit" || r === "input" && t.type === "submit";
|
|
100
|
+
}
|
|
101
|
+
function qn(e) {
|
|
102
|
+
const t = e.currentTarget;
|
|
103
|
+
if (!t) return !1;
|
|
104
|
+
const n = t.localName;
|
|
105
|
+
return e.altKey ? n === "a" || n === "button" && t.type === "submit" || n === "input" && t.type === "submit" : !1;
|
|
106
|
+
}
|
|
107
|
+
function _n(e) {
|
|
108
|
+
return ft(e).isComposing || e.keyCode === 229;
|
|
109
|
+
}
|
|
110
|
+
function Wn(e) {
|
|
111
|
+
return e.key.length === 1 && !e.ctrlKey && !e.metaKey;
|
|
112
|
+
}
|
|
113
|
+
function Un(e) {
|
|
114
|
+
return e.mozInputSource === 0 && e.isTrusted ? !0 : it() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
|
|
115
|
+
}
|
|
116
|
+
var zn = (e) => e.button === 0, ct = (e) => e.button === 2 || oe() && e.ctrlKey && e.button === 0, Hn = (e) => e.ctrlKey || e.altKey || e.metaKey, ut = (e) => "touches" in e && e.touches.length > 0, lt = {
|
|
117
|
+
Up: "ArrowUp",
|
|
118
|
+
Down: "ArrowDown",
|
|
119
|
+
Esc: "Escape",
|
|
120
|
+
" ": "Space",
|
|
121
|
+
",": "Comma",
|
|
122
|
+
Left: "ArrowLeft",
|
|
123
|
+
Right: "ArrowRight"
|
|
124
|
+
}, de = {
|
|
125
|
+
ArrowLeft: "ArrowRight",
|
|
126
|
+
ArrowRight: "ArrowLeft"
|
|
127
|
+
};
|
|
128
|
+
function Xn(e, t = {}) {
|
|
129
|
+
const { dir: n = "ltr", orientation: r = "horizontal" } = t;
|
|
130
|
+
let o = e.key;
|
|
131
|
+
return o = lt[o] ?? o, n === "rtl" && r === "horizontal" && o in de && (o = de[o]), o;
|
|
132
|
+
}
|
|
133
|
+
function ft(e) {
|
|
134
|
+
return e.nativeEvent ?? e;
|
|
135
|
+
}
|
|
136
|
+
var dt = /* @__PURE__ */ new Set(["PageUp", "PageDown"]), ht = /* @__PURE__ */ new Set(["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"]);
|
|
137
|
+
function Yn(e) {
|
|
138
|
+
return e.ctrlKey || e.metaKey ? 0.1 : dt.has(e.key) || e.shiftKey && ht.has(e.key) ? 10 : 1;
|
|
139
|
+
}
|
|
140
|
+
function Le(e, t = "client") {
|
|
141
|
+
const n = ut(e) ? e.touches[0] || e.changedTouches[0] : e;
|
|
142
|
+
return { x: n[`${t}X`], y: n[`${t}Y`] };
|
|
143
|
+
}
|
|
144
|
+
var g = (e, t, n, r) => {
|
|
145
|
+
const o = typeof e == "function" ? e() : e;
|
|
146
|
+
return o?.addEventListener(t, n, r), () => {
|
|
147
|
+
o?.removeEventListener(t, n, r);
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
function Se(e, t) {
|
|
151
|
+
const { type: n = "HTMLInputElement", property: r = "value" } = t, o = A(e)[n].prototype;
|
|
152
|
+
return Object.getOwnPropertyDescriptor(o, r) ?? {};
|
|
153
|
+
}
|
|
154
|
+
function pt(e) {
|
|
155
|
+
if (e.localName === "input") return "HTMLInputElement";
|
|
156
|
+
if (e.localName === "textarea") return "HTMLTextAreaElement";
|
|
157
|
+
if (e.localName === "select") return "HTMLSelectElement";
|
|
158
|
+
}
|
|
159
|
+
function yt(e, t, n = "value") {
|
|
160
|
+
if (!e) return;
|
|
161
|
+
const r = pt(e);
|
|
162
|
+
r && Se(e, { type: r, property: n }).set?.call(e, t), e.setAttribute(n, t);
|
|
163
|
+
}
|
|
164
|
+
function mt(e, t) {
|
|
165
|
+
if (!e) return;
|
|
166
|
+
Se(e, { type: "HTMLInputElement", property: "checked" }).set?.call(e, t), t ? e.setAttribute("checked", "") : e.removeAttribute("checked");
|
|
167
|
+
}
|
|
168
|
+
function Gn(e, t) {
|
|
169
|
+
const { value: n, bubbles: r = !0 } = t;
|
|
170
|
+
if (!e) return;
|
|
171
|
+
const o = A(e);
|
|
172
|
+
e instanceof o.HTMLInputElement && (yt(e, `${n}`), e.dispatchEvent(new o.Event("input", { bubbles: r })));
|
|
173
|
+
}
|
|
174
|
+
function Zn(e, t) {
|
|
175
|
+
const { checked: n, bubbles: r = !0 } = t;
|
|
176
|
+
if (!e) return;
|
|
177
|
+
const o = A(e);
|
|
178
|
+
e instanceof o.HTMLInputElement && (mt(e, n), e.dispatchEvent(new o.Event("click", { bubbles: r })));
|
|
179
|
+
}
|
|
180
|
+
function gt(e) {
|
|
181
|
+
return bt(e) ? e.form : e.closest("form");
|
|
182
|
+
}
|
|
183
|
+
function bt(e) {
|
|
184
|
+
return e.matches("textarea, input, select, button");
|
|
185
|
+
}
|
|
186
|
+
function vt(e, t) {
|
|
187
|
+
if (!e) return;
|
|
188
|
+
const n = gt(e), r = (o) => {
|
|
189
|
+
o.defaultPrevented || t();
|
|
190
|
+
};
|
|
191
|
+
return n?.addEventListener("reset", r, { passive: !0 }), () => n?.removeEventListener("reset", r);
|
|
192
|
+
}
|
|
193
|
+
function Et(e, t) {
|
|
194
|
+
const n = e?.closest("fieldset");
|
|
195
|
+
if (!n) return;
|
|
196
|
+
t(n.disabled);
|
|
197
|
+
const r = A(n), o = new r.MutationObserver(() => t(n.disabled));
|
|
198
|
+
return o.observe(n, {
|
|
199
|
+
attributes: !0,
|
|
200
|
+
attributeFilter: ["disabled"]
|
|
201
|
+
}), () => o.disconnect();
|
|
202
|
+
}
|
|
203
|
+
function Jn(e, t) {
|
|
204
|
+
if (!e) return;
|
|
205
|
+
const { onFieldsetDisabledChange: n, onFormReset: r } = t, o = [vt(e, r), Et(e, n)];
|
|
206
|
+
return () => o.forEach((s) => s?.());
|
|
207
|
+
}
|
|
208
|
+
var Ie = (e) => b(e) && e.tagName === "IFRAME", wt = (e) => !Number.isNaN(parseInt(e.getAttribute("tabindex") || "0", 10)), At = (e) => parseInt(e.getAttribute("tabindex") || "0", 10) < 0, se = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type", kt = (e, t = !1) => {
|
|
209
|
+
if (!e) return [];
|
|
210
|
+
const n = Array.from(e.querySelectorAll(se));
|
|
211
|
+
(t == !0 || t == "if-empty" && n.length === 0) && b(e) && F(e) && n.unshift(e);
|
|
212
|
+
const o = n.filter(F);
|
|
213
|
+
return o.forEach((s, i) => {
|
|
214
|
+
if (Ie(s) && s.contentDocument) {
|
|
215
|
+
const a = s.contentDocument.body;
|
|
216
|
+
o.splice(i, 1, ...kt(a));
|
|
217
|
+
}
|
|
218
|
+
}), o;
|
|
219
|
+
};
|
|
220
|
+
function F(e) {
|
|
221
|
+
return !e || e.closest("[inert]") ? !1 : e.matches(se) && Xe(e);
|
|
222
|
+
}
|
|
223
|
+
function U(e, t) {
|
|
224
|
+
if (!e) return [];
|
|
225
|
+
const n = Array.from(e.querySelectorAll(se)), r = n.filter(he);
|
|
226
|
+
return t && he(e) && r.unshift(e), r.forEach((o, s) => {
|
|
227
|
+
if (Ie(o) && o.contentDocument) {
|
|
228
|
+
const i = o.contentDocument.body, a = U(i);
|
|
229
|
+
r.splice(s, 1, ...a);
|
|
230
|
+
}
|
|
231
|
+
}), !r.length && t ? n : r;
|
|
232
|
+
}
|
|
233
|
+
function he(e) {
|
|
234
|
+
return e != null && e.tabIndex > 0 ? !0 : F(e) && !At(e);
|
|
235
|
+
}
|
|
236
|
+
function Ne(e, t) {
|
|
237
|
+
const n = U(e, t), r = n[0] || null, o = n[n.length - 1] || null;
|
|
238
|
+
return [r, o];
|
|
239
|
+
}
|
|
240
|
+
function xt(e, t) {
|
|
241
|
+
const n = U(e), r = e?.ownerDocument || document, o = t ?? r.activeElement;
|
|
242
|
+
if (!o) return null;
|
|
243
|
+
const s = n.indexOf(o);
|
|
244
|
+
return n[s + 1] || null;
|
|
245
|
+
}
|
|
246
|
+
function Qn(e) {
|
|
247
|
+
return e.tabIndex < 0 && (/^(audio|video|details)$/.test(e.localName) || Ge(e)) && !wt(e) ? 0 : e.tabIndex;
|
|
248
|
+
}
|
|
249
|
+
function er(e) {
|
|
250
|
+
const { root: t, getInitialEl: n, filter: r, enabled: o = !0 } = e;
|
|
251
|
+
if (!o) return;
|
|
252
|
+
let s = null;
|
|
253
|
+
if (s || (s = typeof n == "function" ? n() : n), s || (s = t?.querySelector("[data-autofocus],[autofocus]")), !s) {
|
|
254
|
+
const i = U(t);
|
|
255
|
+
s = r ? i.filter(r)[0] : i[0];
|
|
256
|
+
}
|
|
257
|
+
return s || t || void 0;
|
|
258
|
+
}
|
|
259
|
+
function tr(e) {
|
|
260
|
+
const t = e.currentTarget;
|
|
261
|
+
if (!t) return !1;
|
|
262
|
+
const [n, r] = Ne(t), o = t.ownerDocument || document;
|
|
263
|
+
return !(o.activeElement === n && e.shiftKey || o.activeElement === r && !e.shiftKey || !n && !r);
|
|
264
|
+
}
|
|
265
|
+
function Pt(e) {
|
|
266
|
+
const t = /* @__PURE__ */ new Set();
|
|
267
|
+
function n(r) {
|
|
268
|
+
const o = globalThis.requestAnimationFrame(r);
|
|
269
|
+
t.add(() => globalThis.cancelAnimationFrame(o));
|
|
270
|
+
}
|
|
271
|
+
return n(() => n(e)), function() {
|
|
272
|
+
t.forEach((o) => o());
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
function T(e) {
|
|
276
|
+
let t;
|
|
277
|
+
const n = globalThis.requestAnimationFrame(() => {
|
|
278
|
+
t = e();
|
|
279
|
+
});
|
|
280
|
+
return () => {
|
|
281
|
+
globalThis.cancelAnimationFrame(n), t?.();
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
function Tt(e, t, n) {
|
|
285
|
+
const r = T(() => {
|
|
286
|
+
e.removeEventListener(t, o, !0), n();
|
|
287
|
+
}), o = () => {
|
|
288
|
+
r(), n();
|
|
289
|
+
};
|
|
290
|
+
return e.addEventListener(t, o, { once: !0, capture: !0 }), r;
|
|
291
|
+
}
|
|
292
|
+
function Lt(e, t) {
|
|
293
|
+
if (!e) return;
|
|
294
|
+
const { attributes: n, callback: r } = t, o = e.ownerDocument.defaultView || window, s = new o.MutationObserver((i) => {
|
|
295
|
+
for (const a of i)
|
|
296
|
+
a.type === "attributes" && a.attributeName && n.includes(a.attributeName) && r(a);
|
|
297
|
+
});
|
|
298
|
+
return s.observe(e, { attributes: !0, attributeFilter: n }), () => s.disconnect();
|
|
299
|
+
}
|
|
300
|
+
function nr(e, t) {
|
|
301
|
+
const { defer: n } = t, r = n ? T : (s) => s(), o = [];
|
|
302
|
+
return o.push(
|
|
303
|
+
r(() => {
|
|
304
|
+
const s = typeof e == "function" ? e() : e;
|
|
305
|
+
o.push(Lt(s, t));
|
|
306
|
+
})
|
|
307
|
+
), () => {
|
|
308
|
+
o.forEach((s) => s?.());
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
function St(e, t) {
|
|
312
|
+
const { callback: n } = t;
|
|
313
|
+
if (!e) return;
|
|
314
|
+
const r = e.ownerDocument.defaultView || window, o = new r.MutationObserver(n);
|
|
315
|
+
return o.observe(e, { childList: !0, subtree: !0 }), () => o.disconnect();
|
|
316
|
+
}
|
|
317
|
+
function rr(e, t) {
|
|
318
|
+
const { defer: n } = t, r = n ? T : (s) => s(), o = [];
|
|
319
|
+
return o.push(
|
|
320
|
+
r(() => {
|
|
321
|
+
const s = typeof e == "function" ? e() : e;
|
|
322
|
+
o.push(St(s, t));
|
|
323
|
+
})
|
|
324
|
+
), () => {
|
|
325
|
+
o.forEach((s) => s?.());
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
function or(e) {
|
|
329
|
+
const t = () => e.click();
|
|
330
|
+
st() ? Tt(e, "keyup", t) : queueMicrotask(t);
|
|
331
|
+
}
|
|
332
|
+
function J(e) {
|
|
333
|
+
const t = Qe(e);
|
|
334
|
+
return Ue(t) ? D(t).body : b(t) && De(t) ? t : J(t);
|
|
335
|
+
}
|
|
336
|
+
var It = /auto|scroll|overlay|hidden|clip/;
|
|
337
|
+
function De(e) {
|
|
338
|
+
const t = A(e), { overflow: n, overflowX: r, overflowY: o, display: s } = t.getComputedStyle(e);
|
|
339
|
+
return It.test(n + o + r) && !["inline", "contents"].includes(s);
|
|
340
|
+
}
|
|
341
|
+
function Nt(e) {
|
|
342
|
+
return e.scrollHeight > e.clientHeight || e.scrollWidth > e.clientWidth;
|
|
343
|
+
}
|
|
344
|
+
function sr(e, t) {
|
|
345
|
+
const { rootEl: n, ...r } = t || {};
|
|
346
|
+
!e || !n || !De(n) || !Nt(n) || e.scrollIntoView(r);
|
|
347
|
+
}
|
|
348
|
+
function ir(e, t) {
|
|
349
|
+
const { left: n, top: r, width: o, height: s } = t.getBoundingClientRect(), i = { x: e.x - n, y: e.y - r }, a = { x: le(i.x / o), y: le(i.y / s) };
|
|
350
|
+
function u(l = {}) {
|
|
351
|
+
const { dir: p = "ltr", orientation: y = "horizontal", inverted: f } = l, c = typeof f == "object" ? f.x : f, d = typeof f == "object" ? f.y : f;
|
|
352
|
+
return y === "horizontal" ? p === "rtl" || c ? 1 - a.x : a.x : d ? 1 - a.y : a.y;
|
|
353
|
+
}
|
|
354
|
+
return { offset: i, percent: a, getPercentValue: u };
|
|
355
|
+
}
|
|
356
|
+
function ar(e, t) {
|
|
357
|
+
const n = e.body, r = "pointerLockElement" in e || "mozPointerLockElement" in e, o = () => !!e.pointerLockElement;
|
|
358
|
+
function s() {
|
|
359
|
+
}
|
|
360
|
+
function i(u) {
|
|
361
|
+
o(), console.error("PointerLock error occurred:", u), e.exitPointerLock();
|
|
362
|
+
}
|
|
363
|
+
if (!r) return;
|
|
364
|
+
try {
|
|
365
|
+
n.requestPointerLock();
|
|
366
|
+
} catch {
|
|
367
|
+
}
|
|
368
|
+
const a = [
|
|
369
|
+
g(e, "pointerlockchange", s, !1),
|
|
370
|
+
g(e, "pointerlockerror", i, !1)
|
|
371
|
+
];
|
|
372
|
+
return () => {
|
|
373
|
+
a.forEach((u) => u()), e.exitPointerLock();
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
var C = "default", Q = "", $ = /* @__PURE__ */ new WeakMap();
|
|
377
|
+
function Dt(e = {}) {
|
|
378
|
+
const { target: t, doc: n } = e, r = n ?? document, o = r.documentElement;
|
|
379
|
+
return re() ? (C === "default" && (Q = o.style.webkitUserSelect, o.style.webkitUserSelect = "none"), C = "disabled") : t && ($.set(t, t.style.userSelect), t.style.userSelect = "none"), () => Ot({ target: t, doc: r });
|
|
380
|
+
}
|
|
381
|
+
function Ot(e = {}) {
|
|
382
|
+
const { target: t, doc: n } = e, o = (n ?? document).documentElement;
|
|
383
|
+
if (re()) {
|
|
384
|
+
if (C !== "disabled") return;
|
|
385
|
+
C = "restoring", setTimeout(() => {
|
|
386
|
+
Pt(() => {
|
|
387
|
+
C === "restoring" && (o.style.webkitUserSelect === "none" && (o.style.webkitUserSelect = Q || ""), Q = "", C = "default");
|
|
388
|
+
});
|
|
389
|
+
}, 300);
|
|
390
|
+
} else if (t && $.has(t)) {
|
|
391
|
+
const s = $.get(t);
|
|
392
|
+
t.style.userSelect === "none" && (t.style.userSelect = s ?? ""), t.getAttribute("style") === "" && t.removeAttribute("style"), $.delete(t);
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
function Mt(e = {}) {
|
|
396
|
+
const { defer: t, target: n, ...r } = e, o = t ? T : (i) => i(), s = [];
|
|
397
|
+
return s.push(
|
|
398
|
+
o(() => {
|
|
399
|
+
const i = typeof n == "function" ? n() : n;
|
|
400
|
+
s.push(Dt({ ...r, target: i }));
|
|
401
|
+
})
|
|
402
|
+
), () => {
|
|
403
|
+
s.forEach((i) => i?.());
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
function cr(e, t) {
|
|
407
|
+
const { onPointerMove: n, onPointerUp: r } = t, s = [
|
|
408
|
+
g(e, "pointermove", (i) => {
|
|
409
|
+
const a = Le(i), u = Math.sqrt(a.x ** 2 + a.y ** 2), l = i.pointerType === "touch" ? 10 : 5;
|
|
410
|
+
if (!(u < l)) {
|
|
411
|
+
if (i.pointerType === "mouse" && i.button === 0) {
|
|
412
|
+
r();
|
|
413
|
+
return;
|
|
414
|
+
}
|
|
415
|
+
n({ point: a, event: i });
|
|
416
|
+
}
|
|
417
|
+
}, !1),
|
|
418
|
+
g(e, "pointerup", r, !1),
|
|
419
|
+
g(e, "pointercancel", r, !1),
|
|
420
|
+
g(e, "contextmenu", r, !1),
|
|
421
|
+
Mt({ doc: e })
|
|
422
|
+
];
|
|
423
|
+
return () => {
|
|
424
|
+
s.forEach((i) => i());
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
function ur(e) {
|
|
428
|
+
const {
|
|
429
|
+
pointerNode: t,
|
|
430
|
+
keyboardNode: n = t,
|
|
431
|
+
onPress: r,
|
|
432
|
+
onPressStart: o,
|
|
433
|
+
onPressEnd: s,
|
|
434
|
+
isValidKey: i = (h) => h.key === "Enter"
|
|
435
|
+
} = e;
|
|
436
|
+
if (!t) return M;
|
|
437
|
+
const a = A(t), u = D(t);
|
|
438
|
+
let l = M, p = M, y = M;
|
|
439
|
+
const f = (h) => ({
|
|
440
|
+
point: Le(h),
|
|
441
|
+
event: h
|
|
442
|
+
});
|
|
443
|
+
function c(h) {
|
|
444
|
+
o?.(f(h));
|
|
445
|
+
}
|
|
446
|
+
function d(h) {
|
|
447
|
+
s?.(f(h));
|
|
448
|
+
}
|
|
449
|
+
const k = g(t, "pointerdown", (h) => {
|
|
450
|
+
p();
|
|
451
|
+
const S = g(a, "pointerup", (P) => {
|
|
452
|
+
const N = B(P);
|
|
453
|
+
V(t, N) ? r?.(f(P)) : s?.(f(P));
|
|
454
|
+
}, { passive: !r, once: !0 }), x = g(a, "pointercancel", d, {
|
|
455
|
+
passive: !s,
|
|
456
|
+
once: !0
|
|
457
|
+
});
|
|
458
|
+
p = X(S, x), u.activeElement === n && h.pointerType === "mouse" && h.preventDefault(), c(h);
|
|
459
|
+
}, { passive: !o }), L = g(n, "focus", m);
|
|
460
|
+
l = X(k, L);
|
|
461
|
+
function m() {
|
|
462
|
+
const h = (P) => {
|
|
463
|
+
if (!i(P)) return;
|
|
464
|
+
const N = (Ke) => {
|
|
465
|
+
if (!i(Ke)) return;
|
|
466
|
+
const Fe = new a.PointerEvent("pointerup"), ue = f(Fe);
|
|
467
|
+
r?.(ue), s?.(ue);
|
|
468
|
+
};
|
|
469
|
+
p(), p = g(n, "keyup", N);
|
|
470
|
+
const H = new a.PointerEvent("pointerdown");
|
|
471
|
+
c(H);
|
|
472
|
+
}, E = () => {
|
|
473
|
+
const P = new a.PointerEvent("pointercancel");
|
|
474
|
+
d(P);
|
|
475
|
+
}, S = g(n, "keydown", h), x = g(n, "blur", E);
|
|
476
|
+
y = X(S, x);
|
|
477
|
+
}
|
|
478
|
+
return () => {
|
|
479
|
+
l(), p(), y();
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
function Ct(e, t = {}) {
|
|
483
|
+
const { triggerElement: n, onFocus: r, onFocusEnter: o } = t, s = e?.ownerDocument || document, i = s.body;
|
|
484
|
+
function a(u) {
|
|
485
|
+
if (u.key !== "Tab") return;
|
|
486
|
+
let l = null;
|
|
487
|
+
const [p, y] = Ne(e, !0), f = xt(i, n), c = !p && !y;
|
|
488
|
+
u.shiftKey && f === s.activeElement ? (o?.(), l = y) : u.shiftKey && (s.activeElement === p || c) ? l = n : !u.shiftKey && s.activeElement === n ? (o?.(), l = p) : !u.shiftKey && (s.activeElement === y || c) && (l = f), l && (u.preventDefault(), typeof r == "function" ? r(l) : l.focus());
|
|
489
|
+
}
|
|
490
|
+
return g(s, "keydown", a, !0);
|
|
491
|
+
}
|
|
492
|
+
function lr(e, t) {
|
|
493
|
+
const { defer: n, triggerElement: r, ...o } = t, s = n ? T : (a) => a(), i = [];
|
|
494
|
+
return i.push(
|
|
495
|
+
s(() => {
|
|
496
|
+
const a = typeof e == "function" ? e() : e, u = typeof r == "function" ? r() : r;
|
|
497
|
+
i.push(Ct(a, { triggerElement: u, ...o }));
|
|
498
|
+
})
|
|
499
|
+
), () => {
|
|
500
|
+
i.forEach((a) => a?.());
|
|
501
|
+
};
|
|
502
|
+
}
|
|
503
|
+
function fr(e, t) {
|
|
504
|
+
return Array.from(e?.querySelectorAll(t) ?? []);
|
|
505
|
+
}
|
|
506
|
+
function dr(e, t) {
|
|
507
|
+
return e?.querySelector(t) ?? null;
|
|
508
|
+
}
|
|
509
|
+
var ie = (e) => e.id;
|
|
510
|
+
function Vt(e, t, n = ie) {
|
|
511
|
+
return e.find((r) => n(r) === t);
|
|
512
|
+
}
|
|
513
|
+
function ae(e, t, n = ie) {
|
|
514
|
+
const r = Vt(e, t, n);
|
|
515
|
+
return r ? e.indexOf(r) : -1;
|
|
516
|
+
}
|
|
517
|
+
function hr(e, t, n = !0) {
|
|
518
|
+
let r = ae(e, t);
|
|
519
|
+
return r = n ? (r + 1) % e.length : Math.min(r + 1, e.length - 1), e[r];
|
|
520
|
+
}
|
|
521
|
+
function pr(e, t, n = !0) {
|
|
522
|
+
let r = ae(e, t);
|
|
523
|
+
return r === -1 ? n ? e[e.length - 1] : null : (r = n ? (r - 1 + e.length) % e.length : Math.max(0, r - 1), e[r]);
|
|
524
|
+
}
|
|
525
|
+
function yr(e, t) {
|
|
526
|
+
const { onEntry: n, measure: r, box: o = "border-box" } = t, s = (Array.isArray(e) ? e : [e]).filter(b), i = A(s[0]), a = (l) => {
|
|
527
|
+
const p = s.map((y) => r(y));
|
|
528
|
+
n({ rects: p, entries: l });
|
|
529
|
+
};
|
|
530
|
+
a([]);
|
|
531
|
+
const u = new i.ResizeObserver(a);
|
|
532
|
+
return s.forEach((l) => u.observe(l, { box: o })), () => u.disconnect();
|
|
533
|
+
}
|
|
534
|
+
var Bt = (e) => e.split("").map((t) => {
|
|
535
|
+
const n = t.charCodeAt(0);
|
|
536
|
+
return n > 0 && n < 128 ? t : n >= 128 && n <= 255 ? `/x${n.toString(16)}`.replace("/", "\\") : "";
|
|
537
|
+
}).join("").trim(), Rt = (e) => Bt(e.dataset?.valuetext ?? e.textContent ?? ""), Kt = (e, t) => e.trim().toLowerCase().startsWith(t.toLowerCase());
|
|
538
|
+
function Ft(e, t, n, r = ie) {
|
|
539
|
+
const o = n ? ae(e, n, r) : -1;
|
|
540
|
+
let s = n ? je(e, o) : e;
|
|
541
|
+
return t.length === 1 && (s = s.filter((a) => r(a) !== n)), s.find((a) => Kt(Rt(a), t));
|
|
542
|
+
}
|
|
543
|
+
function jt(e, t) {
|
|
544
|
+
if (!e) return M;
|
|
545
|
+
const n = Object.keys(t).reduce((r, o) => (r[o] = e.style.getPropertyValue(o), r), {});
|
|
546
|
+
return Object.assign(e.style, t), () => {
|
|
547
|
+
Object.assign(e.style, n), e.style.length === 0 && e.removeAttribute("style");
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
function mr(e, t, n) {
|
|
551
|
+
if (!e) return M;
|
|
552
|
+
const r = e.style.getPropertyValue(t);
|
|
553
|
+
return e.style.setProperty(t, n), () => {
|
|
554
|
+
e.style.setProperty(t, r), e.style.length === 0 && e.removeAttribute("style");
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
function $t(e, t) {
|
|
558
|
+
const { state: n, activeId: r, key: o, timeout: s = 350, itemToId: i } = t, a = n.keysSoFar + o, l = a.length > 1 && Array.from(a).every((d) => d === a[0]) ? a[0] : a;
|
|
559
|
+
let p = e.slice();
|
|
560
|
+
const y = Ft(p, l, r, i);
|
|
561
|
+
function f() {
|
|
562
|
+
clearTimeout(n.timer), n.timer = -1;
|
|
563
|
+
}
|
|
564
|
+
function c(d) {
|
|
565
|
+
n.keysSoFar = d, f(), d !== "" && (n.timer = +setTimeout(() => {
|
|
566
|
+
c(""), f();
|
|
567
|
+
}, s));
|
|
568
|
+
}
|
|
569
|
+
return c(a), y;
|
|
570
|
+
}
|
|
571
|
+
var gr = /* @__PURE__ */ Object.assign($t, {
|
|
572
|
+
defaultOptions: { keysSoFar: "", timer: -1 },
|
|
573
|
+
isValidEvent: qt
|
|
574
|
+
});
|
|
575
|
+
function qt(e) {
|
|
576
|
+
return e.key.length === 1 && !e.ctrlKey && !e.metaKey;
|
|
577
|
+
}
|
|
578
|
+
var br = {
|
|
579
|
+
border: "0",
|
|
580
|
+
clip: "rect(0 0 0 0)",
|
|
581
|
+
height: "1px",
|
|
582
|
+
margin: "-1px",
|
|
583
|
+
overflow: "hidden",
|
|
584
|
+
padding: "0",
|
|
585
|
+
position: "absolute",
|
|
586
|
+
width: "1px",
|
|
587
|
+
whiteSpace: "nowrap",
|
|
588
|
+
wordWrap: "normal"
|
|
589
|
+
}, _t = 1e3 / 60;
|
|
590
|
+
function Wt(e, t) {
|
|
591
|
+
const n = e();
|
|
592
|
+
if (b(n) && n.isConnected)
|
|
593
|
+
return t(n), () => {
|
|
594
|
+
};
|
|
595
|
+
{
|
|
596
|
+
const r = setInterval(() => {
|
|
597
|
+
const o = e();
|
|
598
|
+
b(o) && o.isConnected && (t(o), clearInterval(r));
|
|
599
|
+
}, _t);
|
|
600
|
+
return () => clearInterval(r);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
function Ut(e, t) {
|
|
604
|
+
const n = [];
|
|
605
|
+
return e?.forEach((r) => {
|
|
606
|
+
const o = Wt(r, t);
|
|
607
|
+
n.push(o);
|
|
608
|
+
}), () => {
|
|
609
|
+
n.forEach((r) => r());
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
function vr(e) {
|
|
613
|
+
return e ? Array.isArray(e) ? e : [e] : [];
|
|
614
|
+
}
|
|
615
|
+
var Er = (e) => Array.from(Array(e).keys()), wr = (e) => e[0], Ar = (e) => e[e.length - 1], zt = (e, t) => e.indexOf(t) !== -1, Ht = (e, ...t) => e.concat(t), Xt = (e, ...t) => e.filter((n) => !t.includes(n)), kr = (e, t) => zt(e, t) ? Xt(e, t) : Ht(e, t);
|
|
616
|
+
function Oe(e, t, n = {}) {
|
|
617
|
+
const { step: r = 1, loop: o = !0 } = n, s = t + r, i = e.length, a = i - 1;
|
|
618
|
+
return t === -1 ? r > 0 ? 0 : a : s < 0 ? o ? a : 0 : s >= i ? o ? 0 : t > i ? i : t : s;
|
|
619
|
+
}
|
|
620
|
+
function xr(e, t, n = {}) {
|
|
621
|
+
return e[Oe(e, t, n)];
|
|
622
|
+
}
|
|
623
|
+
function Yt(e, t, n = {}) {
|
|
624
|
+
const { step: r = 1, loop: o = !0 } = n;
|
|
625
|
+
return Oe(e, t, { step: -r, loop: o });
|
|
626
|
+
}
|
|
627
|
+
function Pr(e, t, n = {}) {
|
|
628
|
+
return e[Yt(e, t, n)];
|
|
629
|
+
}
|
|
630
|
+
function Gt(e) {
|
|
631
|
+
return e.reduce((t, n) => Array.isArray(n) ? t.concat(Gt(n)) : t.concat(n), []);
|
|
632
|
+
}
|
|
633
|
+
var pe = (e) => e?.constructor.name === "Array", Zt = (e, t) => {
|
|
634
|
+
if (e.length !== t.length) return !1;
|
|
635
|
+
for (let n = 0; n < e.length; n++)
|
|
636
|
+
if (!ce(e[n], t[n])) return !1;
|
|
637
|
+
return !0;
|
|
638
|
+
}, ce = (e, t) => {
|
|
639
|
+
if (Object.is(e, t)) return !0;
|
|
640
|
+
if (e == null && t != null || e != null && t == null) return !1;
|
|
641
|
+
if (typeof e?.isEqual == "function" && typeof t?.isEqual == "function")
|
|
642
|
+
return e.isEqual(t);
|
|
643
|
+
if (typeof e == "function" && typeof t == "function")
|
|
644
|
+
return e.toString() === t.toString();
|
|
645
|
+
if (pe(e) && pe(t))
|
|
646
|
+
return Zt(Array.from(e), Array.from(t));
|
|
647
|
+
if (typeof e != "object" || typeof t != "object") return !1;
|
|
648
|
+
const n = Object.keys(t ?? /* @__PURE__ */ Object.create(null)), r = n.length;
|
|
649
|
+
for (let o = 0; o < r; o++)
|
|
650
|
+
if (!Reflect.has(e, n[o])) return !1;
|
|
651
|
+
for (let o = 0; o < r; o++) {
|
|
652
|
+
const s = n[o];
|
|
653
|
+
if (!ce(e[s], t[s])) return !1;
|
|
654
|
+
}
|
|
655
|
+
return !0;
|
|
656
|
+
}, Jt = (e) => Array.isArray(e), Qt = (e) => e != null && typeof e == "object", Tr = (e) => Qt(e) && !Jt(e), Lr = (e) => typeof e == "number" && !Number.isNaN(e), G = (e) => typeof e == "string", Me = (e) => typeof e == "function", Sr = (e) => e == null, Ir = (e, t) => Object.prototype.hasOwnProperty.call(e, t), en = Function.prototype.toString;
|
|
657
|
+
en.call(Object);
|
|
658
|
+
var Nr = (e, ...t) => (typeof e == "function" ? e(...t) : e) ?? void 0, Dr = (e) => e(), Or = () => {
|
|
659
|
+
}, ee = (...e) => (...t) => {
|
|
660
|
+
e.forEach(function(n) {
|
|
661
|
+
n?.(...t);
|
|
662
|
+
});
|
|
663
|
+
}, Mr = /* @__PURE__ */ (() => {
|
|
664
|
+
let e = 0;
|
|
665
|
+
return () => (e++, e.toString(36));
|
|
666
|
+
})(), tn = (e, t) => {
|
|
667
|
+
try {
|
|
668
|
+
return e();
|
|
669
|
+
} catch (n) {
|
|
670
|
+
return n instanceof Error && Error.captureStackTrace?.(n, tn), t?.();
|
|
671
|
+
}
|
|
672
|
+
}, { floor: te, abs: q, round: z, min: nn, max: rn, pow: on, sign: sn } = Math, R = (e) => Number.isNaN(e), I = (e) => R(e) ? 0 : e, Cr = (e, t) => (e % t + t) % t, Vr = (e, t) => (e % t + t) % t, an = (e, t, n) => e === 0 ? n : t[e - 1], cn = (e, t, n) => e === t.length - 1 ? n : t[e + 1], Br = (e, t) => I(e) >= t, Rr = (e, t) => I(e) <= t, Kr = (e, t, n) => I(e) >= t && I(e) <= n, un = (e, t, n) => z((I(e) - t) / n) * n + t, ln = (e, t, n) => nn(rn(I(e), t), n), Fr = (e, t, n) => (I(e) - t) / (n - t), jr = (e, t, n, r) => ln(un(e * (n - t) + t, t, r), t, n), j = (e, t) => {
|
|
673
|
+
let n = e, r = t.toString(), o = r.indexOf("."), s = o >= 0 ? r.length - o : 0;
|
|
674
|
+
if (s > 0) {
|
|
675
|
+
let i = on(10, s);
|
|
676
|
+
n = z(n * i) / i;
|
|
677
|
+
}
|
|
678
|
+
return n;
|
|
679
|
+
}, $r = (e, t) => typeof t == "number" ? te(e * t + 0.5) / t : z(e), fn = (e, t, n, r) => {
|
|
680
|
+
t = Number(t), n = Number(n);
|
|
681
|
+
let o = (e - (R(t) ? 0 : t)) % r, s = j(
|
|
682
|
+
q(o) * 2 >= r ? e + sn(o) * (r - q(o)) : e - o,
|
|
683
|
+
r
|
|
684
|
+
);
|
|
685
|
+
return R(t) ? !R(n) && s > n && (s = t + te(j((n - t) / r, r)) * r) : s < t ? s = t : !R(n) && s > n && (s = t + te(j((n - t) / r, r)) * r), j(s, r);
|
|
686
|
+
}, dn = (e, t, n) => e[t] === n ? e : [...e.slice(0, t), n, ...e.slice(t + 1)];
|
|
687
|
+
function Ce(e, t) {
|
|
688
|
+
const n = an(e, t.values, t.min), r = cn(e, t.values, t.max);
|
|
689
|
+
let o = t.values.slice();
|
|
690
|
+
return function(i) {
|
|
691
|
+
let a = fn(i, n, r, t.step);
|
|
692
|
+
return o = dn(o, e, i), o[e] = a, o;
|
|
693
|
+
};
|
|
694
|
+
}
|
|
695
|
+
function qr(e, t) {
|
|
696
|
+
const n = t.values[e] + t.step;
|
|
697
|
+
return Ce(e, t)(n);
|
|
698
|
+
}
|
|
699
|
+
function _r(e, t) {
|
|
700
|
+
const n = t.values[e] - t.step;
|
|
701
|
+
return Ce(e, t)(n);
|
|
702
|
+
}
|
|
703
|
+
var Wr = (e, t) => {
|
|
704
|
+
let n = e.findIndex((s) => t - s < 0);
|
|
705
|
+
if (n === 0) return n;
|
|
706
|
+
if (n === -1) return e.length - 1;
|
|
707
|
+
let r = e[n - 1], o = e[n];
|
|
708
|
+
return q(r - t) < q(o - t) ? n - 1 : n;
|
|
709
|
+
}, Ur = (e, t, n, r) => e.map((o, s) => ({
|
|
710
|
+
min: s === 0 ? t : e[s - 1] + r,
|
|
711
|
+
max: s === e.length - 1 ? n : e[s + 1] - r,
|
|
712
|
+
value: o
|
|
713
|
+
})), zr = (e, t) => {
|
|
714
|
+
const [n, r] = e, [o, s] = t;
|
|
715
|
+
return (i) => n === r || o === s ? o : o + (s - o) / (r - n) * (i - n);
|
|
716
|
+
}, Hr = (e, t = 0, n = 10) => {
|
|
717
|
+
const r = Math.pow(n, t);
|
|
718
|
+
return z(e * r) / r;
|
|
719
|
+
}, ye = (e) => {
|
|
720
|
+
if (!Number.isFinite(e)) return 0;
|
|
721
|
+
let t = 1, n = 0;
|
|
722
|
+
for (; Math.round(e * t) / t !== e; )
|
|
723
|
+
t *= 10, n += 1;
|
|
724
|
+
return n;
|
|
725
|
+
}, Ve = (e, t, n) => {
|
|
726
|
+
let r = t === "+" ? e + n : e - n;
|
|
727
|
+
if (e % 1 !== 0 || n % 1 !== 0) {
|
|
728
|
+
const o = 10 ** Math.max(ye(e), ye(n));
|
|
729
|
+
e = Math.round(e * o), n = Math.round(n * o), r = t === "+" ? e + n : e - n, r /= o;
|
|
730
|
+
}
|
|
731
|
+
return r;
|
|
732
|
+
}, Xr = (e, t) => Ve(I(e), "+", t), Yr = (e, t) => Ve(I(e), "-", t), Gr = (e) => e != null ? `${e}px` : void 0;
|
|
733
|
+
function hn(e) {
|
|
734
|
+
if (!pn(e) || e === void 0) return e;
|
|
735
|
+
const t = Reflect.ownKeys(e).filter((r) => typeof r == "string"), n = {};
|
|
736
|
+
for (const r of t) {
|
|
737
|
+
const o = e[r];
|
|
738
|
+
o !== void 0 && (n[r] = hn(o));
|
|
739
|
+
}
|
|
740
|
+
return n;
|
|
741
|
+
}
|
|
742
|
+
var pn = (e) => e && typeof e == "object" && e.constructor === Object;
|
|
743
|
+
function Zr(e, t) {
|
|
744
|
+
const n = {};
|
|
745
|
+
for (const r of t) {
|
|
746
|
+
const o = e[r];
|
|
747
|
+
o !== void 0 && (n[r] = o);
|
|
748
|
+
}
|
|
749
|
+
return n;
|
|
750
|
+
}
|
|
751
|
+
function Jr(e, t) {
|
|
752
|
+
const n = performance.now();
|
|
753
|
+
let r;
|
|
754
|
+
function o(s) {
|
|
755
|
+
r = requestAnimationFrame(o), s - n >= t && e();
|
|
756
|
+
}
|
|
757
|
+
return r = requestAnimationFrame(o), () => cancelAnimationFrame(r);
|
|
758
|
+
}
|
|
759
|
+
function Be(...e) {
|
|
760
|
+
const t = e.length === 1 ? e[0] : e[1];
|
|
761
|
+
(e.length === 2 ? e[0] : !0) && process.env.NODE_ENV !== "production" && console.warn(t);
|
|
762
|
+
}
|
|
763
|
+
function Qr(...e) {
|
|
764
|
+
const t = e.length === 1 ? e[0] : e[1];
|
|
765
|
+
if ((e.length === 2 ? e[0] : !0) && process.env.NODE_ENV !== "production")
|
|
766
|
+
throw new Error(t);
|
|
767
|
+
}
|
|
768
|
+
function eo(e, t) {
|
|
769
|
+
if (e == null) throw new Error(t());
|
|
770
|
+
}
|
|
771
|
+
function to(e, t, n) {
|
|
772
|
+
let r = [];
|
|
773
|
+
for (const o of t)
|
|
774
|
+
e[o] == null && r.push(o);
|
|
775
|
+
if (r.length > 0)
|
|
776
|
+
throw new Error(`[zag-js${` > ${n}`}] missing required props: ${r.join(", ")}`);
|
|
777
|
+
}
|
|
778
|
+
var yn = (...e) => e.map((t) => t?.trim?.()).filter(Boolean).join(" "), mn = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g, me = (e) => {
|
|
779
|
+
const t = {};
|
|
780
|
+
let n;
|
|
781
|
+
for (; n = mn.exec(e); )
|
|
782
|
+
t[n[1]] = n[2];
|
|
783
|
+
return t;
|
|
784
|
+
}, gn = (e, t) => {
|
|
785
|
+
if (G(e)) {
|
|
786
|
+
if (G(t)) return `${e};${t}`;
|
|
787
|
+
e = me(e);
|
|
788
|
+
} else G(t) && (t = me(t));
|
|
789
|
+
return Object.assign({}, e ?? {}, t ?? {});
|
|
790
|
+
};
|
|
791
|
+
function no(...e) {
|
|
792
|
+
let t = {};
|
|
793
|
+
for (let n of e) {
|
|
794
|
+
for (let r in t) {
|
|
795
|
+
if (r.startsWith("on") && typeof t[r] == "function" && typeof n[r] == "function") {
|
|
796
|
+
t[r] = ee(n[r], t[r]);
|
|
797
|
+
continue;
|
|
798
|
+
}
|
|
799
|
+
if (r === "className" || r === "class") {
|
|
800
|
+
t[r] = yn(t[r], n[r]);
|
|
801
|
+
continue;
|
|
802
|
+
}
|
|
803
|
+
if (r === "style") {
|
|
804
|
+
t[r] = gn(t[r], n[r]);
|
|
805
|
+
continue;
|
|
806
|
+
}
|
|
807
|
+
t[r] = n[r] !== void 0 ? n[r] : t[r];
|
|
808
|
+
}
|
|
809
|
+
for (let r in n)
|
|
810
|
+
t[r] === void 0 && (t[r] = n[r]);
|
|
811
|
+
}
|
|
812
|
+
return t;
|
|
813
|
+
}
|
|
814
|
+
function ro(e, t, n) {
|
|
815
|
+
let r = [], o;
|
|
816
|
+
return (s) => {
|
|
817
|
+
const i = e(s);
|
|
818
|
+
return (i.length !== r.length || i.some((u, l) => !ce(r[l], u))) && (r = i, o = t(...i)), o;
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
function bn() {
|
|
822
|
+
return {
|
|
823
|
+
and: (...e) => function(n) {
|
|
824
|
+
return e.every((r) => n.guard(r));
|
|
825
|
+
},
|
|
826
|
+
or: (...e) => function(n) {
|
|
827
|
+
return e.some((r) => n.guard(r));
|
|
828
|
+
},
|
|
829
|
+
not: (e) => function(n) {
|
|
830
|
+
return !n.guard(e);
|
|
831
|
+
}
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
function oo(e) {
|
|
835
|
+
return e;
|
|
836
|
+
}
|
|
837
|
+
function so() {
|
|
838
|
+
return {
|
|
839
|
+
guards: bn(),
|
|
840
|
+
createMachine: (e) => e,
|
|
841
|
+
choose: (e) => function({ choose: n }) {
|
|
842
|
+
return n(e)?.actions;
|
|
843
|
+
}
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
var vn = /* @__PURE__ */ ((e) => (e.NotStarted = "Not Started", e.Started = "Started", e.Stopped = "Stopped", e))(vn || {}), io = "__init__";
|
|
847
|
+
function ao(e) {
|
|
848
|
+
const t = () => e.getRootNode?.() ?? document, n = () => D(t()), r = () => n().defaultView ?? window, o = () => Je(t());
|
|
849
|
+
return {
|
|
850
|
+
...e,
|
|
851
|
+
getRootNode: t,
|
|
852
|
+
getDoc: n,
|
|
853
|
+
getWin: r,
|
|
854
|
+
getActiveElement: o,
|
|
855
|
+
isActiveElement: (a) => a === o(),
|
|
856
|
+
getById: (a) => t().getElementById(a)
|
|
857
|
+
};
|
|
858
|
+
}
|
|
859
|
+
var Z = (e, t = []) => ({
|
|
860
|
+
parts: (...n) => {
|
|
861
|
+
if (En(t))
|
|
862
|
+
return Z(e, n);
|
|
863
|
+
throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?");
|
|
864
|
+
},
|
|
865
|
+
extendWith: (...n) => Z(e, [...t, ...n]),
|
|
866
|
+
rename: (n) => Z(n, t),
|
|
867
|
+
keys: () => t,
|
|
868
|
+
build: () => [...new Set(t)].reduce(
|
|
869
|
+
(n, r) => Object.assign(n, {
|
|
870
|
+
[r]: {
|
|
871
|
+
selector: [
|
|
872
|
+
`&[data-scope="${O(e)}"][data-part="${O(r)}"]`,
|
|
873
|
+
`& [data-scope="${O(e)}"][data-part="${O(r)}"]`
|
|
874
|
+
].join(", "),
|
|
875
|
+
attrs: { "data-scope": O(e), "data-part": O(r) }
|
|
876
|
+
}
|
|
877
|
+
}),
|
|
878
|
+
{}
|
|
879
|
+
)
|
|
880
|
+
}), O = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), En = (e) => e.length === 0;
|
|
881
|
+
function wn(e) {
|
|
882
|
+
const t = {
|
|
883
|
+
each(n) {
|
|
884
|
+
for (let r = 0; r < e.frames?.length; r += 1) {
|
|
885
|
+
const o = e.frames[r];
|
|
886
|
+
o && n(o);
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
addEventListener(n, r, o) {
|
|
890
|
+
return t.each((s) => {
|
|
891
|
+
try {
|
|
892
|
+
s.document.addEventListener(n, r, o);
|
|
893
|
+
} catch {
|
|
894
|
+
}
|
|
895
|
+
}), () => {
|
|
896
|
+
try {
|
|
897
|
+
t.removeEventListener(n, r, o);
|
|
898
|
+
} catch {
|
|
899
|
+
}
|
|
900
|
+
};
|
|
901
|
+
},
|
|
902
|
+
removeEventListener(n, r, o) {
|
|
903
|
+
t.each((s) => {
|
|
904
|
+
try {
|
|
905
|
+
s.document.removeEventListener(n, r, o);
|
|
906
|
+
} catch {
|
|
907
|
+
}
|
|
908
|
+
});
|
|
909
|
+
}
|
|
910
|
+
};
|
|
911
|
+
return t;
|
|
912
|
+
}
|
|
913
|
+
function An(e) {
|
|
914
|
+
const t = e.frameElement != null ? e.parent : null;
|
|
915
|
+
return {
|
|
916
|
+
addEventListener: (n, r, o) => {
|
|
917
|
+
try {
|
|
918
|
+
t?.addEventListener(n, r, o);
|
|
919
|
+
} catch {
|
|
920
|
+
}
|
|
921
|
+
return () => {
|
|
922
|
+
try {
|
|
923
|
+
t?.removeEventListener(n, r, o);
|
|
924
|
+
} catch {
|
|
925
|
+
}
|
|
926
|
+
};
|
|
927
|
+
},
|
|
928
|
+
removeEventListener: (n, r, o) => {
|
|
929
|
+
try {
|
|
930
|
+
t?.removeEventListener(n, r, o);
|
|
931
|
+
} catch {
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
var ge = "pointerdown.outside", be = "focus.outside";
|
|
937
|
+
function kn(e) {
|
|
938
|
+
for (const t of e)
|
|
939
|
+
if (b(t) && F(t)) return !0;
|
|
940
|
+
return !1;
|
|
941
|
+
}
|
|
942
|
+
var Re = (e) => "clientY" in e;
|
|
943
|
+
function xn(e, t) {
|
|
944
|
+
if (!Re(t) || !e) return !1;
|
|
945
|
+
const n = e.getBoundingClientRect();
|
|
946
|
+
return n.width === 0 || n.height === 0 ? !1 : n.top <= t.clientY && t.clientY <= n.top + n.height && n.left <= t.clientX && t.clientX <= n.left + n.width;
|
|
947
|
+
}
|
|
948
|
+
function Pn(e, t) {
|
|
949
|
+
return e.y <= t.y && t.y <= e.y + e.height && e.x <= t.x && t.x <= e.x + e.width;
|
|
950
|
+
}
|
|
951
|
+
function ve(e, t) {
|
|
952
|
+
if (!t || !Re(e)) return !1;
|
|
953
|
+
const n = t.scrollHeight > t.clientHeight, r = n && e.clientX > t.offsetLeft + t.clientWidth, o = t.scrollWidth > t.clientWidth, s = o && e.clientY > t.offsetTop + t.clientHeight, i = {
|
|
954
|
+
x: t.offsetLeft,
|
|
955
|
+
y: t.offsetTop,
|
|
956
|
+
width: t.clientWidth + (n ? 16 : 0),
|
|
957
|
+
height: t.clientHeight + (o ? 16 : 0)
|
|
958
|
+
}, a = {
|
|
959
|
+
x: e.clientX,
|
|
960
|
+
y: e.clientY
|
|
961
|
+
};
|
|
962
|
+
return Pn(i, a) ? r || s : !1;
|
|
963
|
+
}
|
|
964
|
+
function Tn(e, t) {
|
|
965
|
+
const { exclude: n, onFocusOutside: r, onPointerDownOutside: o, onInteractOutside: s, defer: i } = t;
|
|
966
|
+
if (!e) return;
|
|
967
|
+
const a = D(e), u = A(e), l = wn(u), p = An(u);
|
|
968
|
+
function y(m, h) {
|
|
969
|
+
if (!b(h) || !h.isConnected || V(e, h) || xn(e, m)) return !1;
|
|
970
|
+
const E = a.querySelector(`[aria-controls="${e.id}"]`);
|
|
971
|
+
if (E) {
|
|
972
|
+
const x = J(E);
|
|
973
|
+
if (ve(m, x)) return !1;
|
|
974
|
+
}
|
|
975
|
+
const S = J(e);
|
|
976
|
+
return ve(m, S) ? !1 : !n?.(h);
|
|
977
|
+
}
|
|
978
|
+
const f = /* @__PURE__ */ new Set(), c = K(e?.getRootNode());
|
|
979
|
+
function d(m) {
|
|
980
|
+
function h(E) {
|
|
981
|
+
const S = i && !fe() ? T : (N) => N(), x = E ?? m, P = x?.composedPath?.() ?? [x?.target];
|
|
982
|
+
S(() => {
|
|
983
|
+
const N = c ? P[0] : B(m);
|
|
984
|
+
if (!(!e || !y(m, N))) {
|
|
985
|
+
if (o || s) {
|
|
986
|
+
const H = ee(o, s);
|
|
987
|
+
e.addEventListener(ge, H, { once: !0 });
|
|
988
|
+
}
|
|
989
|
+
Ee(e, ge, {
|
|
990
|
+
bubbles: !1,
|
|
991
|
+
cancelable: !0,
|
|
992
|
+
detail: {
|
|
993
|
+
originalEvent: x,
|
|
994
|
+
contextmenu: ct(x),
|
|
995
|
+
focusable: kn(P),
|
|
996
|
+
target: N
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
m.pointerType === "touch" ? (f.forEach((E) => E()), f.add(g(a, "click", h, { once: !0 })), f.add(p.addEventListener("click", h, { once: !0 })), f.add(l.addEventListener("click", h, { once: !0 }))) : h();
|
|
1003
|
+
}
|
|
1004
|
+
const v = /* @__PURE__ */ new Set(), k = setTimeout(() => {
|
|
1005
|
+
v.add(g(a, "pointerdown", d, !0)), v.add(p.addEventListener("pointerdown", d, !0)), v.add(l.addEventListener("pointerdown", d, !0));
|
|
1006
|
+
}, 0);
|
|
1007
|
+
function L(m) {
|
|
1008
|
+
(i ? T : (E) => E())(() => {
|
|
1009
|
+
const E = B(m);
|
|
1010
|
+
if (!(!e || !y(m, E))) {
|
|
1011
|
+
if (r || s) {
|
|
1012
|
+
const S = ee(r, s);
|
|
1013
|
+
e.addEventListener(be, S, { once: !0 });
|
|
1014
|
+
}
|
|
1015
|
+
Ee(e, be, {
|
|
1016
|
+
bubbles: !1,
|
|
1017
|
+
cancelable: !0,
|
|
1018
|
+
detail: {
|
|
1019
|
+
originalEvent: m,
|
|
1020
|
+
contextmenu: !1,
|
|
1021
|
+
focusable: F(E),
|
|
1022
|
+
target: E
|
|
1023
|
+
}
|
|
1024
|
+
});
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
return fe() || (v.add(g(a, "focusin", L, !0)), v.add(p.addEventListener("focusin", L, !0)), v.add(l.addEventListener("focusin", L, !0))), () => {
|
|
1029
|
+
clearTimeout(k), f.forEach((m) => m()), v.forEach((m) => m());
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
function Ln(e, t) {
|
|
1033
|
+
const { defer: n } = t, r = n ? T : (s) => s(), o = [];
|
|
1034
|
+
return o.push(
|
|
1035
|
+
r(() => {
|
|
1036
|
+
const s = typeof e == "function" ? e() : e;
|
|
1037
|
+
o.push(Tn(s, t));
|
|
1038
|
+
})
|
|
1039
|
+
), () => {
|
|
1040
|
+
o.forEach((s) => s?.());
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
function Ee(e, t, n) {
|
|
1044
|
+
const r = e.ownerDocument.defaultView || window, o = new r.CustomEvent(t, n);
|
|
1045
|
+
return e.dispatchEvent(o);
|
|
1046
|
+
}
|
|
1047
|
+
function Sn(e, t) {
|
|
1048
|
+
const n = (r) => {
|
|
1049
|
+
r.key === "Escape" && (r.isComposing || t?.(r));
|
|
1050
|
+
};
|
|
1051
|
+
return g(D(e), "keydown", n, { capture: !0 });
|
|
1052
|
+
}
|
|
1053
|
+
var w = {
|
|
1054
|
+
layers: [],
|
|
1055
|
+
branches: [],
|
|
1056
|
+
count() {
|
|
1057
|
+
return this.layers.length;
|
|
1058
|
+
},
|
|
1059
|
+
pointerBlockingLayers() {
|
|
1060
|
+
return this.layers.filter((e) => e.pointerBlocking);
|
|
1061
|
+
},
|
|
1062
|
+
topMostPointerBlockingLayer() {
|
|
1063
|
+
return [...this.pointerBlockingLayers()].slice(-1)[0];
|
|
1064
|
+
},
|
|
1065
|
+
hasPointerBlockingLayer() {
|
|
1066
|
+
return this.pointerBlockingLayers().length > 0;
|
|
1067
|
+
},
|
|
1068
|
+
isBelowPointerBlockingLayer(e) {
|
|
1069
|
+
const t = this.indexOf(e), n = this.topMostPointerBlockingLayer() ? this.indexOf(this.topMostPointerBlockingLayer()?.node) : -1;
|
|
1070
|
+
return t < n;
|
|
1071
|
+
},
|
|
1072
|
+
isTopMost(e) {
|
|
1073
|
+
return this.layers[this.count() - 1]?.node === e;
|
|
1074
|
+
},
|
|
1075
|
+
getNestedLayers(e) {
|
|
1076
|
+
return Array.from(this.layers).slice(this.indexOf(e) + 1);
|
|
1077
|
+
},
|
|
1078
|
+
isInNestedLayer(e, t) {
|
|
1079
|
+
return this.getNestedLayers(e).some((n) => V(n.node, t));
|
|
1080
|
+
},
|
|
1081
|
+
isInBranch(e) {
|
|
1082
|
+
return Array.from(this.branches).some((t) => V(t, e));
|
|
1083
|
+
},
|
|
1084
|
+
add(e) {
|
|
1085
|
+
const t = this.layers.push(e);
|
|
1086
|
+
e.node.style.setProperty("--layer-index", `${t}`);
|
|
1087
|
+
},
|
|
1088
|
+
addBranch(e) {
|
|
1089
|
+
this.branches.push(e);
|
|
1090
|
+
},
|
|
1091
|
+
remove(e) {
|
|
1092
|
+
const t = this.indexOf(e);
|
|
1093
|
+
t < 0 || (t < this.count() - 1 && this.getNestedLayers(e).forEach((r) => r.dismiss()), this.layers.splice(t, 1), e.style.removeProperty("--layer-index"));
|
|
1094
|
+
},
|
|
1095
|
+
removeBranch(e) {
|
|
1096
|
+
const t = this.branches.indexOf(e);
|
|
1097
|
+
t >= 0 && this.branches.splice(t, 1);
|
|
1098
|
+
},
|
|
1099
|
+
indexOf(e) {
|
|
1100
|
+
return this.layers.findIndex((t) => t.node === e);
|
|
1101
|
+
},
|
|
1102
|
+
dismiss(e) {
|
|
1103
|
+
this.layers[this.indexOf(e)]?.dismiss();
|
|
1104
|
+
},
|
|
1105
|
+
clear() {
|
|
1106
|
+
this.remove(this.layers[0].node);
|
|
1107
|
+
}
|
|
1108
|
+
}, we;
|
|
1109
|
+
function Ae() {
|
|
1110
|
+
w.layers.forEach(({ node: e }) => {
|
|
1111
|
+
e.style.pointerEvents = w.isBelowPointerBlockingLayer(e) ? "none" : "auto";
|
|
1112
|
+
});
|
|
1113
|
+
}
|
|
1114
|
+
function In(e) {
|
|
1115
|
+
e.style.pointerEvents = "";
|
|
1116
|
+
}
|
|
1117
|
+
function Nn(e, t) {
|
|
1118
|
+
const n = D(e), r = [];
|
|
1119
|
+
if (w.hasPointerBlockingLayer() && !n.body.hasAttribute("data-inert") && (we = document.body.style.pointerEvents, queueMicrotask(() => {
|
|
1120
|
+
n.body.style.pointerEvents = "none", n.body.setAttribute("data-inert", "");
|
|
1121
|
+
})), t) {
|
|
1122
|
+
const o = Ut(t, (s) => {
|
|
1123
|
+
r.push(jt(s, { pointerEvents: "auto" }));
|
|
1124
|
+
});
|
|
1125
|
+
r.push(o);
|
|
1126
|
+
}
|
|
1127
|
+
return () => {
|
|
1128
|
+
w.hasPointerBlockingLayer() || (queueMicrotask(() => {
|
|
1129
|
+
n.body.style.pointerEvents = we, n.body.removeAttribute("data-inert"), n.body.style.length === 0 && n.body.removeAttribute("style");
|
|
1130
|
+
}), r.forEach((o) => o()));
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
function Dn(e, t) {
|
|
1134
|
+
const { warnOnMissingNode: n = !0 } = t;
|
|
1135
|
+
if (n && !e) {
|
|
1136
|
+
Be("[@zag-js/dismissable] node is `null` or `undefined`");
|
|
1137
|
+
return;
|
|
1138
|
+
}
|
|
1139
|
+
if (!e)
|
|
1140
|
+
return;
|
|
1141
|
+
const { onDismiss: r, pointerBlocking: o, exclude: s, debug: i } = t, a = { dismiss: r, node: e, pointerBlocking: o };
|
|
1142
|
+
w.add(a), Ae();
|
|
1143
|
+
function u(c) {
|
|
1144
|
+
const d = B(c.detail.originalEvent);
|
|
1145
|
+
w.isBelowPointerBlockingLayer(e) || w.isInBranch(d) || (t.onPointerDownOutside?.(c), t.onInteractOutside?.(c), !c.defaultPrevented && (i && console.log("onPointerDownOutside:", c.detail.originalEvent), r?.()));
|
|
1146
|
+
}
|
|
1147
|
+
function l(c) {
|
|
1148
|
+
const d = B(c.detail.originalEvent);
|
|
1149
|
+
w.isInBranch(d) || (t.onFocusOutside?.(c), t.onInteractOutside?.(c), !c.defaultPrevented && (i && console.log("onFocusOutside:", c.detail.originalEvent), r?.()));
|
|
1150
|
+
}
|
|
1151
|
+
function p(c) {
|
|
1152
|
+
w.isTopMost(e) && (t.onEscapeKeyDown?.(c), !c.defaultPrevented && r && (c.preventDefault(), r()));
|
|
1153
|
+
}
|
|
1154
|
+
function y(c) {
|
|
1155
|
+
if (!e) return !1;
|
|
1156
|
+
const d = typeof s == "function" ? s() : s, v = Array.isArray(d) ? d : [d], k = t.persistentElements?.map((L) => L()).filter(b);
|
|
1157
|
+
return k && v.push(...k), v.some((L) => V(L, c)) || w.isInNestedLayer(e, c);
|
|
1158
|
+
}
|
|
1159
|
+
const f = [
|
|
1160
|
+
o ? Nn(e, t.persistentElements) : void 0,
|
|
1161
|
+
Sn(e, p),
|
|
1162
|
+
Ln(e, { exclude: y, onFocusOutside: l, onPointerDownOutside: u, defer: t.defer })
|
|
1163
|
+
];
|
|
1164
|
+
return () => {
|
|
1165
|
+
w.remove(e), Ae(), In(e), f.forEach((c) => c?.());
|
|
1166
|
+
};
|
|
1167
|
+
}
|
|
1168
|
+
function co(e, t) {
|
|
1169
|
+
const { defer: n } = t, r = n ? T : (s) => s(), o = [];
|
|
1170
|
+
return o.push(
|
|
1171
|
+
r(() => {
|
|
1172
|
+
const s = Me(e) ? e() : e;
|
|
1173
|
+
o.push(Dn(s, t));
|
|
1174
|
+
})
|
|
1175
|
+
), () => {
|
|
1176
|
+
o.forEach((s) => s?.());
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
function uo(e, t = {}) {
|
|
1180
|
+
const { defer: n } = t, r = n ? T : (s) => s(), o = [];
|
|
1181
|
+
return o.push(
|
|
1182
|
+
r(() => {
|
|
1183
|
+
const s = Me(e) ? e() : e;
|
|
1184
|
+
if (!s) {
|
|
1185
|
+
Be("[@zag-js/dismissable] branch node is `null` or `undefined`");
|
|
1186
|
+
return;
|
|
1187
|
+
}
|
|
1188
|
+
w.addBranch(s), o.push(() => {
|
|
1189
|
+
w.removeBranch(s);
|
|
1190
|
+
});
|
|
1191
|
+
})
|
|
1192
|
+
), () => {
|
|
1193
|
+
o.forEach((s) => s?.());
|
|
1194
|
+
};
|
|
1195
|
+
}
|
|
1196
|
+
export {
|
|
1197
|
+
ct as $,
|
|
1198
|
+
Zn as A,
|
|
1199
|
+
mt as B,
|
|
1200
|
+
Jn as C,
|
|
1201
|
+
ur as D,
|
|
1202
|
+
B as E,
|
|
1203
|
+
A as F,
|
|
1204
|
+
D as G,
|
|
1205
|
+
Un as H,
|
|
1206
|
+
oe as I,
|
|
1207
|
+
yr as J,
|
|
1208
|
+
G as K,
|
|
1209
|
+
Tr as L,
|
|
1210
|
+
Ir as M,
|
|
1211
|
+
kr as N,
|
|
1212
|
+
gr as O,
|
|
1213
|
+
sr as P,
|
|
1214
|
+
jn as Q,
|
|
1215
|
+
tr as R,
|
|
1216
|
+
Ge as S,
|
|
1217
|
+
eo as T,
|
|
1218
|
+
Ar as U,
|
|
1219
|
+
wr as V,
|
|
1220
|
+
g as W,
|
|
1221
|
+
or as X,
|
|
1222
|
+
qn as Y,
|
|
1223
|
+
$n as Z,
|
|
1224
|
+
Wn as _,
|
|
1225
|
+
rr as a,
|
|
1226
|
+
Gr as a$,
|
|
1227
|
+
Le as a0,
|
|
1228
|
+
no as a1,
|
|
1229
|
+
Pr as a2,
|
|
1230
|
+
xr as a3,
|
|
1231
|
+
Vn as a4,
|
|
1232
|
+
V as a5,
|
|
1233
|
+
hn as a6,
|
|
1234
|
+
Nr as a7,
|
|
1235
|
+
Mr as a8,
|
|
1236
|
+
uo as a9,
|
|
1237
|
+
Yn as aA,
|
|
1238
|
+
zn as aB,
|
|
1239
|
+
dr as aC,
|
|
1240
|
+
yt as aD,
|
|
1241
|
+
ir as aE,
|
|
1242
|
+
Be as aF,
|
|
1243
|
+
Ht as aG,
|
|
1244
|
+
Xt as aH,
|
|
1245
|
+
Ln as aI,
|
|
1246
|
+
Te as aJ,
|
|
1247
|
+
ee as aK,
|
|
1248
|
+
Gt as aL,
|
|
1249
|
+
ro as aM,
|
|
1250
|
+
Br as aN,
|
|
1251
|
+
Rr as aO,
|
|
1252
|
+
Yr as aP,
|
|
1253
|
+
Xr as aQ,
|
|
1254
|
+
ar as aR,
|
|
1255
|
+
Kr as aS,
|
|
1256
|
+
$r as aT,
|
|
1257
|
+
Vr as aU,
|
|
1258
|
+
Lr as aV,
|
|
1259
|
+
Rn as aW,
|
|
1260
|
+
Ur as aX,
|
|
1261
|
+
qr as aY,
|
|
1262
|
+
_r as aZ,
|
|
1263
|
+
Wr as a_,
|
|
1264
|
+
On as aa,
|
|
1265
|
+
Jr as ab,
|
|
1266
|
+
to as ac,
|
|
1267
|
+
U as ad,
|
|
1268
|
+
kt as ae,
|
|
1269
|
+
he as af,
|
|
1270
|
+
Qn as ag,
|
|
1271
|
+
ke as ah,
|
|
1272
|
+
F as ai,
|
|
1273
|
+
Je as aj,
|
|
1274
|
+
mr as ak,
|
|
1275
|
+
jt as al,
|
|
1276
|
+
re as am,
|
|
1277
|
+
Pt as an,
|
|
1278
|
+
pr as ao,
|
|
1279
|
+
hr as ap,
|
|
1280
|
+
Vt as aq,
|
|
1281
|
+
ln as ar,
|
|
1282
|
+
Hr as as,
|
|
1283
|
+
Cr as at,
|
|
1284
|
+
Fr as au,
|
|
1285
|
+
fn as av,
|
|
1286
|
+
jr as aw,
|
|
1287
|
+
tn as ax,
|
|
1288
|
+
Mt as ay,
|
|
1289
|
+
cr as az,
|
|
1290
|
+
Z as b,
|
|
1291
|
+
zr as b0,
|
|
1292
|
+
Zr as b1,
|
|
1293
|
+
K as b2,
|
|
1294
|
+
ao as b3,
|
|
1295
|
+
vn as b4,
|
|
1296
|
+
io as b5,
|
|
1297
|
+
Dr as b6,
|
|
1298
|
+
Me as b7,
|
|
1299
|
+
vr as b8,
|
|
1300
|
+
Or as b9,
|
|
1301
|
+
Sr as ba,
|
|
1302
|
+
Er as bb,
|
|
1303
|
+
oo as c,
|
|
1304
|
+
Mn as d,
|
|
1305
|
+
Bn as e,
|
|
1306
|
+
dn as f,
|
|
1307
|
+
er as g,
|
|
1308
|
+
Gn as h,
|
|
1309
|
+
Kn as i,
|
|
1310
|
+
ce as j,
|
|
1311
|
+
Cn as k,
|
|
1312
|
+
b as l,
|
|
1313
|
+
_n as m,
|
|
1314
|
+
Hn as n,
|
|
1315
|
+
nr as o,
|
|
1316
|
+
lr as p,
|
|
1317
|
+
Xn as q,
|
|
1318
|
+
T as r,
|
|
1319
|
+
so as s,
|
|
1320
|
+
co as t,
|
|
1321
|
+
ft as u,
|
|
1322
|
+
Fn as v,
|
|
1323
|
+
br as w,
|
|
1324
|
+
Qr as x,
|
|
1325
|
+
fr as y,
|
|
1326
|
+
bn as z
|
|
1327
|
+
};
|
|
1328
|
+
//# sourceMappingURL=index-YtNA0Ueo.js.map
|