@gv-tech/ui-web 2.27.3 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__contracts.d.ts +44 -1
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/accordion-BgbjpZAF.js +1 -0
- package/dist/accordion-Bqt-y-u7.mjs +239 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +4 -4
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -1
- package/dist/alert-dialog-BkUyJb_F.mjs +182 -0
- package/dist/alert-dialog-DonbkCSD.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +12 -12
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +4 -4
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +2 -2
- package/dist/{aspect-ratio-DnChDaBi.mjs → aspect-ratio-C7oBX-p_.mjs} +10 -9
- package/dist/aspect-ratio-X3HWxQz0.js +1 -0
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.d.ts +1 -1
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/aspect-ratio.mjs +1 -1
- package/dist/attachment.cjs +1 -0
- package/dist/attachment.d.ts +23 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.mjs +101 -0
- package/dist/attachment.test.d.ts +2 -0
- package/dist/attachment.test.d.ts.map +1 -0
- package/dist/avatar-DTkhTxt7.mjs +133 -0
- package/dist/avatar-DhvZbCtI.js +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +6 -6
- package/dist/avatar.d.ts.map +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts +7 -7
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +25 -25
- package/dist/bubble.cjs +1 -0
- package/dist/bubble.d.ts +13 -0
- package/dist/bubble.d.ts.map +1 -0
- package/dist/bubble.mjs +72 -0
- package/dist/bubble.test.d.ts +2 -0
- package/dist/bubble.test.d.ts.map +1 -0
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.d.ts +3 -3
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button-group.mjs +6 -6
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.d.ts.map +1 -1
- package/dist/button.mjs +6 -6
- package/dist/calendar-Bo8kovKR.js +1 -0
- package/dist/{calendar-Dg6VGycy.mjs → calendar-CkHWa9Uu.mjs} +825 -803
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +2 -2
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +7 -7
- package/dist/card.d.ts.map +1 -1
- package/dist/card.mjs +5 -5
- package/dist/carousel-Cv5isLeg.js +1 -0
- package/dist/{carousel-DbDoNdqJ.mjs → carousel-ynaeMNIV.mjs} +53 -53
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +5 -5
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/chart.cjs +1 -1
- package/dist/chart.d.ts +4 -4
- package/dist/chart.d.ts.map +1 -1
- package/dist/chart.mjs +1 -1
- package/dist/checkbox-BLvAEmRC.mjs +182 -0
- package/dist/checkbox-Dt06B4YW.js +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +1 -0
- package/dist/chunk-HBS6WEDP-CzyhzCaP.mjs +63 -0
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts +3 -3
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.mjs +1 -1
- package/dist/combobox-BB_YzCTY.js +4 -0
- package/dist/combobox-YxjYGUoe.mjs +5748 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.d.ts +14 -14
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.mjs +1 -1
- package/dist/command-BqO-CfH6.js +1 -0
- package/dist/command-DY6u8V0D.mjs +545 -0
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +9 -9
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -1
- package/dist/context-menu-Dad9hs94.js +1 -0
- package/dist/context-menu-tL6CY6a0.mjs +318 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +15 -15
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.mjs +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +10 -10
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +25 -25
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +1 -1
- package/dist/direction.d.ts.map +1 -1
- package/dist/direction.mjs +1 -1
- package/dist/dist-5r7hQmO0.mjs +187 -0
- package/dist/dist-6c2NeKfz.mjs +536 -0
- package/dist/dist-8fYwoWd4.mjs +111 -0
- package/dist/{dist-N3JLy7yk.mjs → dist-9-j0_8D1.mjs} +9 -4
- package/dist/dist-BIXhHahX.mjs +30 -0
- package/dist/dist-BMl8xXCH.mjs +188 -0
- package/dist/dist-BOKg7rhq.js +1 -0
- package/dist/dist-BPhn-EOy.mjs +15 -0
- package/dist/{dist-Cacc4QIh.mjs → dist-BQhMregZ.mjs} +9 -5
- package/dist/dist-BTN2t9yv.js +1 -0
- package/dist/dist-BUXpRW9O.mjs +100 -0
- package/dist/{dist-xgVOvcNx.mjs → dist-Bivv8B6p.mjs} +8 -3
- package/dist/dist-BoNQb2nd.js +1 -0
- package/dist/dist-ByW6RHeZ.mjs +94 -0
- package/dist/dist-C83rnWRv.js +1 -0
- package/dist/dist-C8Pm6LRc.js +1 -0
- package/dist/dist-CBsYNwXz.mjs +16 -0
- package/dist/dist-CS572Be42.mjs +11 -0
- package/dist/dist-CYrqAnIr.mjs +182 -0
- package/dist/dist-C_iFkwIX.js +1 -0
- package/dist/dist-CdBAkUWT.js +1 -0
- package/dist/dist-Cn7g8jD0.js +1 -0
- package/dist/dist-D7-Fky36.js +1 -0
- package/dist/{dist-C9PlF532.mjs → dist-D7UHN1DJ.mjs} +1 -1
- package/dist/dist-DJqkhIXb2.js +1 -0
- package/dist/dist-DMwCTE2i.mjs +90 -0
- package/dist/dist-DOoZ3vGL.mjs +407 -0
- package/dist/dist-DYUvPCPC.js +1 -0
- package/dist/dist-DZiOPWLp.js +1 -0
- package/dist/dist-DcRkoHAk.js +1 -0
- package/dist/dist-DfvK7DpO.mjs +213 -0
- package/dist/dist-Dg9ASyqI.mjs +96 -0
- package/dist/dist-Dj9s8AIv.js +1 -0
- package/dist/dist-Dm3IQk5b.mjs +685 -0
- package/dist/dist-DyMv0xk8.mjs +41 -0
- package/dist/dist-NEeQKKDZ.js +1 -0
- package/dist/dist-N_70prl1.js +1 -0
- package/dist/dist-YAADIsyo.js +1 -0
- package/dist/dist-dMp9dzmY.mjs +20 -0
- package/dist/dist-mHQuNOH-.js +1 -0
- package/dist/dist-oyFh63Uq.js +1 -0
- package/dist/dist-rx5WaFf5.mjs +20 -0
- package/dist/dist-v-Y6tnMq.js +1 -0
- package/dist/dist-v9094Auw.js +1 -0
- package/dist/dist-yA6iVq_M.js +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +10 -10
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.mjs +2 -2
- package/dist/{dropdown-menu-CriaO1_i.mjs → dropdown-menu-BWqWoYis.mjs} +117 -151
- package/dist/dropdown-menu-BpZcobmP.js +1 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +15 -15
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.mjs +1 -1
- package/dist/empty.cjs +1 -1
- package/dist/empty.d.ts +6 -6
- package/dist/empty.d.ts.map +1 -1
- package/dist/empty.mjs +2 -2
- package/dist/{es2015-BhmbVcui.mjs → es2015-CYxXY2oV.mjs} +242 -216
- package/dist/es2015-t2RPC0Rg.js +41 -0
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts +11 -11
- package/dist/field.d.ts.map +1 -1
- package/dist/field.mjs +4 -4
- package/dist/floating-ui.react-dom-BwFRxNGc.js +1 -0
- package/dist/{floating-ui.react-dom-DgS_bqyY.mjs → floating-ui.react-dom-CyupHsR6.mjs} +249 -276
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +6 -4
- package/dist/form.d.ts.map +1 -1
- package/dist/form.mjs +8 -8
- package/dist/hover-card-7NjGqlP0.js +1 -0
- package/dist/hover-card-DuRUptxQ.mjs +176 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +3 -3
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +72 -66
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +7 -7
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.mjs +4 -4
- package/dist/input-otp-D9MwUsPO.js +20 -0
- package/dist/input-otp-m_BTudNY.mjs +409 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +4 -4
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.mjs +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/input.mjs +1 -1
- package/dist/item.cjs +1 -1
- package/dist/item.d.ts +11 -11
- package/dist/item.d.ts.map +1 -1
- package/dist/item.mjs +4 -4
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.d.ts.map +1 -1
- package/dist/kbd.mjs +2 -2
- package/dist/label-CgKiKHKG.js +1 -0
- package/dist/label-DVA-YKpB.mjs +28 -0
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/label.d.ts.map +1 -1
- package/dist/label.mjs +1 -1
- package/dist/marker.cjs +1 -0
- package/dist/marker.d.ts +12 -0
- package/dist/marker.d.ts.map +1 -0
- package/dist/marker.mjs +40 -0
- package/dist/marker.test.d.ts +2 -0
- package/dist/marker.test.d.ts.map +1 -0
- package/dist/{menubar-BcyqIJgy.mjs → menubar-CyKBLHme.mjs} +130 -166
- package/dist/menubar-DlOMZeh1.js +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +16 -16
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -1
- package/dist/message-scroller-DqLu0YI6.js +1 -0
- package/dist/message-scroller-FwdKclRM.mjs +824 -0
- package/dist/message-scroller.cjs +1 -0
- package/dist/message-scroller.d.ts +13 -0
- package/dist/message-scroller.d.ts.map +1 -0
- package/dist/message-scroller.mjs +3 -0
- package/dist/message-scroller.test.d.ts +2 -0
- package/dist/message-scroller.test.d.ts.map +1 -0
- package/dist/message.cjs +1 -0
- package/dist/message.d.ts +11 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/message.mjs +50 -0
- package/dist/message.test.d.ts +2 -0
- package/dist/message.test.d.ts.map +1 -0
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.d.ts +3 -3
- package/dist/native-select.d.ts.map +1 -1
- package/dist/native-select.mjs +12 -12
- package/dist/navigation-menu-BzE1J1rs.mjs +608 -0
- package/dist/navigation-menu-CrR01R8Z.js +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +8 -8
- package/dist/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu.mjs +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +7 -7
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +40 -34
- package/dist/popover-CFF_HXSf.mjs +222 -0
- package/dist/popover-D9pVy08c.js +1 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +7 -7
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-ClcVCqjl.mjs +93 -0
- package/dist/progress-nfJMuKGj.js +6 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.mjs +1 -1
- package/dist/questionnaire-DKWcZeWT.mjs +1159 -0
- package/dist/questionnaire-PWClWvST.js +1 -0
- package/dist/questionnaire.cjs +1 -0
- package/dist/questionnaire.d.ts +22 -0
- package/dist/questionnaire.d.ts.map +1 -0
- package/dist/questionnaire.mjs +4 -0
- package/dist/questionnaire.test.d.ts +2 -0
- package/dist/questionnaire.test.d.ts.map +1 -0
- package/dist/radio-group-5VwmCXRK.mjs +265 -0
- package/dist/radio-group-DhXnB0fI.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.d.ts +2 -2
- package/dist/radio-group.d.ts.map +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/resizable-ChIqXiu4.js +1 -0
- package/dist/{resizable-DJSE3e5L.mjs → resizable-CpovHnG-.mjs} +341 -329
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +3 -3
- package/dist/resizable.d.ts.map +1 -1
- package/dist/resizable.mjs +1 -1
- package/dist/scroll-area-CUqjuvqH.js +1 -0
- package/dist/{scroll-area-8QcqkHnC.mjs → scroll-area-DstdIGvS.mjs} +151 -142
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +2 -2
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.mjs +1 -1
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.d.ts +1 -1
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/scroll-to-top.mjs +11 -11
- package/dist/search.cjs +1 -1
- package/dist/search.d.ts +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.mjs +17 -17
- package/dist/select-CnCTQeh7.js +1 -0
- package/dist/select-CnHZdna2.mjs +792 -0
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +10 -10
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -1
- package/dist/separator-BXaVJadH.js +1 -0
- package/dist/separator-D1a8myFf.mjs +38 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +1 -1
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.mjs +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +8 -8
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +23 -23
- package/dist/{sidebar-B-sWccYh.mjs → sidebar-B5q6nH2G.mjs} +64 -64
- package/dist/sidebar-ns_2TNBM.js +1 -0
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +24 -24
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/sidebar.mjs +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.mjs +1 -1
- package/dist/slider-PoIV6N-u.js +1 -0
- package/dist/slider-ZnyQjYsS.mjs +460 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +1 -1
- package/dist/slider.d.ts.map +1 -1
- package/dist/slider.mjs +1 -1
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.d.ts +2 -4
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.mjs +8 -8
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.d.ts.map +1 -1
- package/dist/spinner.mjs +5 -4
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.d.ts +1 -1
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/support-fab.mjs +49 -41
- package/dist/switch-DLY8PkmL.js +1 -0
- package/dist/switch-DagjjAQu.mjs +170 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.d.ts +4 -3
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.mjs +2 -2
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +8 -8
- package/dist/table.d.ts.map +1 -1
- package/dist/table.mjs +1 -1
- package/dist/tabs-OQ6rj-3B.mjs +158 -0
- package/dist/tabs-QBWdNfSK.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +4 -4
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.mjs +1 -1
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/{theme-toggle-clE-HpSS.mjs → theme-toggle-BCcH-QtH.mjs} +20 -20
- package/dist/theme-toggle-Q3UHstP_.js +1 -0
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.d.ts +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/theme-toggle.mjs +1 -1
- package/dist/{toast-DVI6jPq5.mjs → toast-BOdziIGg.mjs} +165 -169
- package/dist/toast-D1fjLwO1.js +1 -0
- package/dist/toast.cjs +1 -1
- package/dist/toast.mjs +1 -1
- package/dist/{toaster-Czhz-ktg.mjs → toaster-CKAJ9cht.mjs} +1 -1
- package/dist/{toaster-DfDb2-aI.js → toaster-DS9iODKU.js} +1 -1
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.d.ts +1 -1
- package/dist/toaster.d.ts.map +1 -1
- package/dist/toaster.mjs +1 -1
- package/dist/toggle-CuLxBIWH.mjs +59 -0
- package/dist/toggle-DtpvPox_.js +1 -0
- package/dist/toggle-group-DfkvPKU_.mjs +164 -0
- package/dist/toggle-group-UHY0Tip1.js +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +2 -2
- package/dist/toggle-group.d.ts.map +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.d.ts +1 -1
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.mjs +1 -1
- package/dist/tooltip-BbCL1gtU.mjs +384 -0
- package/dist/tooltip-BvpyStn2.js +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +4 -4
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +3 -1
- package/src/__contracts.ts +163 -0
- package/src/accordion.tsx +3 -4
- package/src/alert-dialog.tsx +5 -5
- package/src/alert.tsx +2 -3
- package/src/attachment.tsx +203 -0
- package/src/breadcrumb.tsx +3 -4
- package/src/bubble.tsx +116 -0
- package/src/button-group.tsx +5 -5
- package/src/button.tsx +5 -6
- package/src/calendar.tsx +6 -5
- package/src/card.tsx +5 -5
- package/src/carousel.tsx +7 -7
- package/src/chart.tsx +1 -4
- package/src/checkbox.tsx +3 -4
- package/src/combobox.tsx +8 -7
- package/src/command.tsx +7 -7
- package/src/context-menu.tsx +9 -10
- package/src/dialog.tsx +5 -5
- package/src/drawer.tsx +2 -3
- package/src/dropdown-menu.tsx +9 -10
- package/src/empty.tsx +2 -3
- package/src/field.tsx +5 -4
- package/src/hover-card.tsx +2 -3
- package/src/index.ts +55 -1
- package/src/input-group.tsx +8 -7
- package/src/input-otp.tsx +3 -3
- package/src/input.tsx +1 -2
- package/src/item.tsx +4 -3
- package/src/kbd.tsx +3 -2
- package/src/label.tsx +1 -2
- package/src/marker.tsx +62 -0
- package/src/menubar.tsx +10 -11
- package/src/message-scroller.tsx +134 -0
- package/src/message.tsx +86 -0
- package/src/native-select.tsx +2 -2
- package/src/navigation-menu.tsx +7 -8
- package/src/pagination.tsx +6 -6
- package/src/popover.tsx +2 -3
- package/src/progress.tsx +1 -2
- package/src/questionnaire.tsx +334 -0
- package/src/radio-group.tsx +2 -3
- package/src/resizable.tsx +1 -4
- package/src/scroll-area.tsx +2 -3
- package/src/select.tsx +7 -8
- package/src/separator.tsx +3 -4
- package/src/sheet.tsx +5 -5
- package/src/sidebar.tsx +14 -13
- package/src/skeleton.tsx +1 -1
- package/src/slider.tsx +4 -5
- package/src/sonner.tsx +0 -5
- package/src/spinner.tsx +10 -2
- package/src/support-fab.tsx +24 -3
- package/src/switch.tsx +3 -4
- package/src/table-of-contents.tsx +7 -2
- package/src/table.tsx +1 -2
- package/src/tabs.tsx +8 -9
- package/src/textarea.tsx +1 -2
- package/src/toggle-group.tsx +4 -4
- package/src/toggle.tsx +3 -4
- package/src/tooltip.tsx +2 -3
- package/dist/accordion-Dd8Hrexd.mjs +0 -244
- package/dist/accordion-DdSOiVyo.js +0 -1
- package/dist/alert-dialog-B7zX3gJX.js +0 -7
- package/dist/alert-dialog-BQoG5g_w.mjs +0 -213
- package/dist/aspect-ratio-QD1ZXP2B.js +0 -1
- package/dist/avatar-C4onD8-4.mjs +0 -127
- package/dist/avatar-ki_M47qG.js +0 -1
- package/dist/calendar-D9sapvfY.js +0 -1
- package/dist/carousel-6oFHLN7R.js +0 -1
- package/dist/checkbox-BLgY82mB.js +0 -1
- package/dist/checkbox-Bts_zfqd.mjs +0 -173
- package/dist/combobox-6qNx9Wbb.js +0 -4
- package/dist/combobox-yDMqxM_J.mjs +0 -5522
- package/dist/command-C6wJ5giF.mjs +0 -576
- package/dist/command-DCrPL1iW.js +0 -1
- package/dist/context-menu-CydUpD4W.mjs +0 -349
- package/dist/context-menu-DQ7XuuG5.js +0 -1
- package/dist/dist-1C8JOpVg.js +0 -1
- package/dist/dist-B1OcuinL.mjs +0 -558
- package/dist/dist-BGZDG175.mjs +0 -199
- package/dist/dist-BPBwSSyk.mjs +0 -8
- package/dist/dist-BPX1UGAz2.js +0 -1
- package/dist/dist-BRsDdVlJ.js +0 -1
- package/dist/dist-BWwCr-xN.mjs +0 -118
- package/dist/dist-BYdcKuDi.mjs +0 -16
- package/dist/dist-BlB11V_z.mjs +0 -27
- package/dist/dist-Bm8Cuttq.mjs +0 -76
- package/dist/dist-Byhx2fDJ.js +0 -1
- package/dist/dist-CCXBcfM3.js +0 -1
- package/dist/dist-CCokLFyA.mjs +0 -10
- package/dist/dist-CDU9vno-.mjs +0 -18
- package/dist/dist-CEJNUZGZ.js +0 -1
- package/dist/dist-CJolxugc.js +0 -1
- package/dist/dist-CQhWBhaI.mjs +0 -91
- package/dist/dist-CRLbUj9C.js +0 -1
- package/dist/dist-CSkpam6a.js +0 -1
- package/dist/dist-CWElW7UD.js +0 -1
- package/dist/dist-CXbzwSnE.js +0 -1
- package/dist/dist-CYj6O95k.mjs +0 -220
- package/dist/dist-C_45sBzc2.js +0 -1
- package/dist/dist-Cb7OVHcJ.js +0 -1
- package/dist/dist-Ccv5O-Vw.js +0 -1
- package/dist/dist-ChuP-5Gb.js +0 -1
- package/dist/dist-CiM892Rg.js +0 -1
- package/dist/dist-CuMQq0hV.js +0 -1
- package/dist/dist-DGzGsPqo2.mjs +0 -6
- package/dist/dist-DMnXk8Uo.js +0 -1
- package/dist/dist-DPBTfUqI.mjs +0 -96
- package/dist/dist-DR0lXVFG.js +0 -1
- package/dist/dist-Da7BU5sd.js +0 -5
- package/dist/dist-Df2ez-DA.mjs +0 -12
- package/dist/dist-DuTFGM_g.mjs +0 -45
- package/dist/dist-DynSBUGq.js +0 -1
- package/dist/dist-Dz3LbuDd.mjs +0 -60
- package/dist/dist-GhACpuJb2.mjs +0 -73
- package/dist/dist-o4zlRoDG.js +0 -1
- package/dist/dist-rGeQfsgN.mjs +0 -66
- package/dist/dist-tvb2Wafb.mjs +0 -153
- package/dist/dropdown-menu-BoJvZ3Fj.js +0 -1
- package/dist/es2015-D22cM8Q_.js +0 -41
- package/dist/floating-ui.react-dom-DpCJEf_x.js +0 -1
- package/dist/hover-card-CJ-ibpbC.mjs +0 -187
- package/dist/hover-card-CK5SjVLL.js +0 -1
- package/dist/input-otp-BH_9dVhh.mjs +0 -391
- package/dist/input-otp-BibboKMt.js +0 -20
- package/dist/label-BXMSoyyu.js +0 -1
- package/dist/label-C8GNfPU0.mjs +0 -25
- package/dist/menubar-DPxokWFI.js +0 -1
- package/dist/navigation-menu-2yE2MUu-.js +0 -1
- package/dist/navigation-menu-N8gkxEXE.mjs +0 -628
- package/dist/popover-D1AO-E8p.js +0 -1
- package/dist/popover-wQACF3ut.mjs +0 -245
- package/dist/progress-DPWSEWa5.mjs +0 -86
- package/dist/progress-ShXZwOfj.js +0 -6
- package/dist/radio-group-CQbZCQmj.mjs +0 -199
- package/dist/radio-group-DAEi5vW_.js +0 -1
- package/dist/resizable-Cv-mKMKP.js +0 -1
- package/dist/scroll-area-Cqqinhxf.js +0 -1
- package/dist/select-DdUveoSA.js +0 -1
- package/dist/select-yoeH35x2.mjs +0 -778
- package/dist/separator-BU1ea5gl.mjs +0 -35
- package/dist/separator-DBjErwHf.js +0 -1
- package/dist/shim-B5sEfNEJ.js +0 -1
- package/dist/shim-DX33EwUw.mjs +0 -91
- package/dist/sidebar-DIW-1cin.js +0 -1
- package/dist/slider-CCPXejUF.mjs +0 -388
- package/dist/slider-w05gD_Ix.js +0 -1
- package/dist/switch-CDBqsWQa.mjs +0 -112
- package/dist/switch-X2WBJsUu.js +0 -1
- package/dist/tabs-DzvgrVzk.js +0 -1
- package/dist/tabs-KDeHjVQU.mjs +0 -160
- package/dist/theme-toggle-C2Y4bIM3.js +0 -1
- package/dist/toast-1keyrzem.js +0 -1
- package/dist/toggle-BGkq5XDM.js +0 -1
- package/dist/toggle-BfIIdlA6.mjs +0 -58
- package/dist/toggle-group-CbqgoPFU.mjs +0 -167
- package/dist/toggle-group-D7hR4BT2.js +0 -1
- package/dist/tooltip-CAIbshMk.js +0 -1
- package/dist/tooltip-D_o8Z-Ya.mjs +0 -380
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=48,t=(t,n=0)=>{let r=new Int32Array(t.length);for(let i=0;i<t.length;i++)r[i]=t.charCodeAt(i)-e-n;return r},n=e=>{let t=new Int32Array(e.length+1);for(let n=0;n<e.length;n++)t[n+1]=t[n]+e[n];return t},r=t=>{let n=new Int32Array(t.length),r=0;for(let i=0;i<t.length;i++){let a=t.charCodeAt(i)-e;r+=a>>>1^-(a&1),n[i]=r}return n},i=384,a=[],o=n(t(`E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010`)),s=n(t(`:11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3`)),c=`@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom`,l=(()=>{let e=o.length-1,t=new Int32Array(e);for(let n=e-1;n>=0;n--){let e=1,r=n+1;for(let i=o[n];i<o[n+1];i++)e+=t[r],r+=t[r];t[n]=e}let n=new Int32Array(o[e]),r=0;for(let i=0;i<e;i++){let e=i+1;for(let a=o[i];a<o[i+1];a++)n[r++]=e,e+=t[e]}return n})(),u=t(`02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000
ŏ0000000ŏ00000000000000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000`,1),d=n(t(`123333359346463635126536711576`)),f=t(`93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;0328B:032`),p=t(`012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199`),m=r(`020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200`),h=(()=>{let e=new Int32Array(319).fill(-1),t=r(`02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222`),n=r(`02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222`);for(let r=0;r<t.length;r++)e[t[r]]=n[r];return e})(),g=`container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-pan- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| bounce none ping pulse spin| auto square video| auto fr max min px|none | auto full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover| gradient-to-b gradient-to-bl gradient-to-br gradient-to-l gradient-to-r gradient-to-t gradient-to-tl gradient-to-tr none|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate|px |auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto dvw fit full lvw max min px screen svw| loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| dvh fit full lh lvh max min none px screen svh| auto dvh dvw fit full lh lvh lvw max min none px screen svh svw| dvw fit full lvw max min none px screen svw| auto dvh dvw fit full lvh lvw max min none prose px svh svw| auto dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full none|3d | auto smooth|gutter- auto both stable| auto none thin| inner none| auto dvh dvw fit full lvh lvw max min px svh svw|base | center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| full px| auto dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform`.split(`|`).map(e=>{let t=e.split(` `),n=t.shift();for(let e=0;e<t.length;e++)t[e]=n+t[e];return t}),_=r(`0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422`),v=r(`ɠ222222222222222222222222222222222222222222222222222222222222˕4222226>ʶ22ʷʺʷ2ʸʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622`),y=r(`02222222222222222222222222222222222222222222222222222222222222222202022222222222EH2200IL021042222Y\\222IL0cf2e10j2222U00X202[^2y0000120|{~22
:22|22222222222G000qOVI00000}2>40000B00000I¨©000¬00000000000000021M®00°000000000000000000000222HGHa1º222¿2À2222ÉÌ000°2±`),b=new Int32Array(995),ee=new Int32Array(995),x=new Int32Array(995),S=``,C=new Int32Array(1038);{let e=new Map,t=0,n=0;for(let r=0;r<_.length;r++)for(let i of g[y[r]]){let a=e.get(i);a===void 0&&(a=t++,e.set(i,a),C[a*2]=S.length,C[a*2+1]=i.length,S+=i),b[n]=_[r],ee[n]=v[r],x[n]=a,n++}}var te=r(`0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p`),w=n(t(`1::24444432:442:44:44>222222:44:4421322511111311111114`)),T=r(`24A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅŇ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=ƧNž2Đå242L222290000f22500ɛ000ǘ222`),E=t(`ij`),D=t(``),O=t(`1`),ne={GROUP_COUNT:i,customValidatorNames:a,edgeStart:o,labelStart:s,labelText:c,edgeTarget:l,nodeGroup:u,nodeVlist:h,vlistPat:d,vlistOps:f,vlistRef:p,vlistGroup:m,litAnchor:b,litGroup:ee,litPool:x,poolOffsets:C,poolText:S,adjGid:te,adjStart:w,adjTgt:T,patGid:E,patTgt:D,postfixLookupGroups:O,orderSensitiveModifiers:`* ** after backdrop before details-content file first-letter first-line marker placeholder selection`},re=`line`in Error(),k=-1,A=-1,j=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},M=(e,t,n)=>{let r=n-t,i=Math.imul(r,2654435761)^e.charCodeAt(t);if(r>3){let a=r>>2,o=r>>1;i=Math.imul(i^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+a),2246822507),i=Math.imul(i^e.charCodeAt(t+o)<<8^e.charCodeAt(t+o+a)<<16^e.charCodeAt(n-3),3266489909),i^=e.charCodeAt(n-2)<<8^e.charCodeAt(n-1)<<16;for(let r=t+3,a=n-4;r<t+8&&r<a;r++,a--)i=Math.imul(i^e.charCodeAt(r)^e.charCodeAt(a)<<8,16777619)}return i^i>>>15|0},N=(e,t,n={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:a,labelText:o,edgeTarget:s,nodeGroup:c,nodeVlist:l,vlistPat:u,vlistOps:d,vlistRef:f,vlistGroup:p,litAnchor:m,litGroup:h,litPool:g,poolOffsets:_,poolText:v,adjGid:y,adjStart:b,adjTgt:ee,patGid:x,patTgt:S,postfixLookupGroups:C,customValidatorNames:te,orderSensitiveModifiers:w}=e,T=new Int32Array(r).fill(-1);for(let e=0;e<y.length;e++)T[y[e]]=e;let E=0;for(let e=0;e+1<b.length;e++){let t=b[e+1]-b[e];t>E&&(E=t)}let D=32;for(;D<2*(1+E+x.length);)D<<=1;let O=new Int32Array(f.length+1);for(let e=0;e<f.length;e++)O[e+1]=O[e]+u[f[e]+1]-u[f[e]];let ne=new Uint8Array(r);for(let e=0;e<C.length;e++)ne[C[e]]=1;let N=i.length-1,P=new Uint8Array(N),F=0,ie=!0;for(let e=0;e<m.length;e++){P[m[e]]=1;let t=_[g[e]*2+1];t>F&&(F=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(ie=!1)}let L=1;for(;L<m.length*2;)L<<=1;let R=new Int32Array(L).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(j(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&L-1;for(;R[n]!==-1;)n=n+1&L-1;R[n]=e}let z=(e,t,n,r)=>{let i=(j(t,n,r)^Math.imul(e,2654435761)|0)&L-1,a=r-n;for(;;){let r=R[i];if(r===-1)return-1;if(m[r]===e&&_[g[r]*2+1]===a){let e=_[g[r]*2],i=!0;for(let r=0;r<a;r++)if(v.charCodeAt(e+r)!==t.charCodeAt(n+r)){i=!1;break}if(i)return h[r]}i=i+1&L-1}},B=n.cacheSize??8192,V=n.prefix??e.prefix??``,ae=V===``?``:V+`:`,oe=ae.length,se=(te??[]).map(e=>{let n=t&&t[e];if(!n)throw Error(`cn: missing validator `+e);return n}),ce=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,le=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ue=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,de=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=0,fe=-1,pe=-1,U=-1,me=-1,he=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===95,ge=e=>/\s/.test(String.fromCharCode(e)),_e=(e,t,n)=>{if(H=0,fe=-1,n-t<3)return;let r=e.charCodeAt(t),i=e.charCodeAt(n-1);if(r===91&&i===93)H=1;else if(r===40&&i===41)H=2;else return;U=t+1,me=n-1;let a=t+1;if(he(e.charCodeAt(a))){for(a++;a<n-1;){let t=e.charCodeAt(a);if(!he(t)&&t!==45)break;a++}a<n-2&&e.charCodeAt(a)===58&&(fe=t+1,pe=a,U=a+1)}},ve=(e,t,n,r)=>{if(n-t!==r.length)return!1;for(let n=0;n<r.length;n++)if(e.charCodeAt(t+n)!==r.charCodeAt(n))return!1;return!0},ye=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,be=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xe=e=>!!e&&!Number.isNaN(Number(e)),Se=(e,t,n)=>{if(n-t<11||!ve(e,t,t+10,`@container`))return!1;if(e.charCodeAt(t+10)===47)return n-t>=12;let r=e.charCodeAt(t+11);return r===115&&n-t>=17&&ve(e,t+10,t+16,`-size/`)||r===110&&n-t>=19&&ve(e,t+10,t+18,`-normal/`)},Ce=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],we=`length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight`.split(`|`).map(e=>e.split(` `)),Te=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],Ee=(e,t,n,r)=>{if(e>=10){if(e>=25)return se[e-25](t.slice(n,r));let i=e-10;if(H!==Ce[i])return!1;if(fe>=0){for(let e of we[i])if(ve(t,fe,pe,e))return!0;return!1}switch(Te[i]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(U,me);return ce.test(e)&&!le.test(e)}case 3:return xe(t.slice(U,me));case 4:return de.test(t.slice(U,me));default:return ue.test(t.slice(U,me))}}switch(e){case 0:return!0;case 1:return H===0;case 2:return H===1;case 3:return H===2;case 4:return ye.test(t.slice(n,r));case 5:return xe(t.slice(n,r));case 6:{let e=t.slice(n,r);return!!e&&Number.isInteger(Number(e))}case 7:return r>n&&t.charCodeAt(r-1)===37&&xe(t.slice(n,r-1));case 8:return be.test(t.slice(n,r));default:return Se(t,n,r)}},De=new Set(typeof w==`string`?w.split(` `):w),Oe=(e,t,n,r,i,a)=>{let o=j(t,n,r)^(i?2654435769:0)|0,s=e.get(o);if(s!==void 0)outer:for(let e=0;e<s.length;e++){let a=s[e];if(!(a.imp!==i||a.k.length!==r-n)){for(let e=0;e<a.k.length;e++)if(a.k.charCodeAt(e)!==t.charCodeAt(n+e))continue outer;return a.id}}else e.set(o,s=[]);let c=t.slice(n,r),l=a(c);return s.push({k:c,imp:i,id:l}),l},ke=new Map,Ae=new Map,je=2,Me=4096,Ne=(e,t)=>{let n=[],r=0,i=0,a=0;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r===0&&i===0&&o===58?(n.push(e.slice(a,t)),a=t+1):o===91?r++:o===93?r--:o===40?i++:o===41&&i--}n.push(e.slice(a));let o=n[0];if(n.length>1){let e=[],t=[];for(let r of n)r.charCodeAt(0)===91||De.has(r)?(t.length&&(e.push(...t.sort()),t=[]),e.push(r)):t.push(r);t.length&&e.push(...t.sort()),o=e.join(`:`)}let s=t?o+` !`:o,c=Ae.get(s);return c===void 0&&Ae.set(s,c=je++),c},Pe=new Map,Fe=r,Ie=r+4096,Le=()=>Fe++,Re=2097152,ze=8192,Be=new Int32Array(ze),W=Array(ze).fill(null),Ve=new Int32Array(ze),He=new Int32Array(ze),Ue=new Uint8Array(ze),We=0,Ge=(e,t,n,r,i,a,o,s)=>{let c=e;if(W[e]!==null)if(W[e|1]===null)c=e|1;else if(!(We++&3))c=e|We>>2&1;else return;W[c]=t.slice(n,r),Be[c]=i,Ve[c]=a,He[c]=o,Ue[c]=s},Ke=()=>W.fill(null),G=256,qe=[new Int32Array(G),new Int32Array(G),new Int32Array(G),new Int32Array(G)],[K,q,J,Je]=qe,Ye=new Uint8Array(G),Xe=new Uint8Array(G),Ze=()=>{G*=2,qe=qe.map(e=>{let t=new Int32Array(G);return t.set(e),t}),[K,q,J,Je]=qe;let e=new Uint8Array(G);e.set(Ye),Ye=e,Xe=new Uint8Array(G)},Qe=64,$e=new Int32Array(Qe),et=new Int32Array(Qe),tt=new Int32Array(r),Y=2048,nt=21,rt=new Float64Array(Y),it=new Int32Array(Y),X=0,at=(e,t)=>{if(e===0&&t<r)return tt[t]===X?1:(tt[t]=X,0);let n=e*2097152+t+1,i=Math.imul(n,2654435761)>>>nt;for(;it[i]===X;){if(rt[i]===n)return 1;i=i+1&Y-1}return rt[i]=n,it[i]=X,0},ot=(e,t,n,r,i)=>{if(n-t>=2&&e.charCodeAt(t)===91&&e.charCodeAt(n-1)===93){let r=-1;for(let i=t+1;i<n-1;i++)if(e.charCodeAt(i)===58){r=i;break}return r===-1||r===t+1?k:Oe(Pe,e,t+1,r,0,Le)}if(r>=0&&c[r]>=0)return c[r];for(let t=i-1;t>=0;t--){let r=et[t];if(r>n)continue;let i=$e[t],a=n-r;if(P[i]===1&&a>0&&a<=F){let t=e.charCodeAt(r);if(ie===!1||t!==91&&t!==40){let t=z(i,e,r,n);if(t>=0)return t}}let o=l[i];if(o<0)continue;let s=f[o],c=u[s],m=u[s+1];if(c===m)continue;_e(e,r,n);let h=O[o]-c;for(let t=c;t<m;t++)if(Ee(d[t],e,r,n))return p[h+t]}return k},st=e=>{let t=e.length,n=0,c=0,u=!1;(je>Me||ke.size>Me)&&(ke=new Map,Ae=new Map,je=2,Ke()),Fe>Ie&&(Pe=new Map,Fe=r,Ke());let d=0;for(;d<t;){let f=e.charCodeAt(d);if(f===32||f>=9&&f<=13||f>=160&&ge(f)){f!==32&&(u=!0),d++;continue}let p=d,m=0;for(;d<t;){if(f=e.charCodeAt(d),f<=32){if(f===32)break;if(f>=9&&f<=13){u=!0;break}}else if(f>=160&&ge(f)){u=!0;break}m=Math.imul(m^f,16777619),d++}let h=d,g=h-p;n===G&&Ze();let _=n++;K[_]=p,q[_]=h,c+=g,m^=Math.imul(g,2654435761);let v=m^m>>>15|0,y=v&8190;{let t=-1;if(Be[y]===v&&W[y]!==null&&W[y].length===g?t=y:Be[y|1]===v&&W[y|1]!==null&&W[y|1].length===g&&(t=y|1),t>=0){let n=W[t],r=!0;for(let t=0;t<g;t++)if(n.charCodeAt(t)!==e.charCodeAt(p+t)){r=!1;break}if(r){J[_]=Ve[t],Je[_]=He[t],Ye[_]=Ue[t];continue}}}let b=p;if(oe!==0){if(h-p<=oe||!e.startsWith(ae,p)){J[_]=k,Ge(y,e,p,h,v,k,0,0);continue}b=p+oe}let ee=0,x=0,S=-1,C=-1;for(let t=b;t<h;t++){let n=e.charCodeAt(t);if(ee===0&&x===0){if(n===58){S=t;continue}if(n===47){C=t;continue}}n===91?ee++:n===93?ee--:n===40?x++:n===41&&x--}let te=S>=b?S+1:b,w=te,T=h,E=!1,D=0;T>w&&e.charCodeAt(T-1)===33?(E=!0,T--):T>w&&e.charCodeAt(w)===33&&(E=!0,w++,D=1);let O=-1;C>te&&(O=C+D,O>=T&&(O=-1));let re=w;T-w>1&&e.charCodeAt(w)===45&&(re=w+1);let j=0,M=0,N=0,F=-1,I=0;(l[0]>=0||P[0]===1)&&($e[0]=0,et[0]=re,I=1);let ie=A,L=0;for(let t=re;t<T;t++)if(t===O&&(ie=M<N?A:j,L=I),j!==A){let n=e.charCodeAt(t),r=-1;if(M<N)o.charCodeAt(M)===n?(M++,M===N&&(r=j=F)):j=A;else{let e=i[j],t=i[j+1],c=A;for(let i=e;i<t;i++){let e=a[i];if(o.charCodeAt(e)===n){a[i+1]-e===1?r=c=s[i]:(M=e+1,N=a[i+1],F=s[i],c=j);break}}j=c}if(r>=0&&(l[r]>=0||P[r]===1)&&t+1<T&&e.charCodeAt(t+1)===45){if(I===Qe){Qe*=2;let e=new Int32Array(Qe);e.set($e),$e=e;let t=new Int32Array(Qe);t.set(et),et=t}$e[I]=r,et[I]=t+2,I++}}O===T&&(ie=M<N?A:j,L=I);let R=M<N?A:j,z,B=!1;if(O>=0)if(B=!0,z=ot(e,w,O,ie,L),z!==k&&z<r&&ne[z]){let t=ot(e,w,T,R,I);t!==k&&t!==z&&(z=t,B=!1)}else z===k&&(z=ot(e,w,T,R,I),B=!1);else z=ot(e,w,T,R,I);let V=0,se=0;z===k?J[_]=k:(se=+!!B,V=b>=S?+!!E:Oe(ke,e,b,S,+!!E,e=>Ne(e,E)),J[_]=z,Ye[_]=se,Je[_]=V),Ge(y,e,p,h,v,z,V,se)}if(n===0)return``;if(n===1)return K[0]===0&&q[0]===t?e:e.slice(K[0],q[0]);if(n*D>Y){for(;n*D>Y;)Y<<=1,nt--;rt=new Float64Array(Y),it=new Int32Array(Y)}if(je>=Re||Fe>=Re)throw Error(`cn: too many distinct classes in one merge`);X=X+1|0,X===0&&(tt.fill(0),it.fill(0),X=1);let f=!1;for(let e=n-1;e>=0;e--){let t=J[e];if(t===k){Xe[e]=1;continue}let n=Je[e];if(at(n,t)===1){Xe[e]=0,f=!0;continue}if(Xe[e]=1,t<r){let r=T[t];if(r>=0)for(let e=b[r];e<b[r+1];e++)at(n,ee[e]);if(Ye[e]&1)for(let e=0;e<x.length;e++)x[e]===t&&at(n,S[e])}}if(!f&&!u&&t===c+n-1)return e;let p=``,m=0;for(;m<n;){if(!Xe[m]){m++;continue}let t=K[m],r=q[m],i=m+1;for(;i<n&&Xe[i]&&K[i]===r+1&&e.charCodeAt(r)===32;)r=q[i],i++;p.length>0&&(p+=` `),p+=e.slice(t,r),m=i}return p},Z=16384,Q=new Int32Array(Z*2),ct=0,$=1,lt=Object.create(null),ut=Object.create(null),dt=new Map,ft=new Map,pt=0,mt=0,ht=()=>{ct^=Z,$=$+1|0,mt=0},gt=e=>{let t=lt[e];if(t!==void 0)return t;let n=M(e,0,e.length),r=(n&16383)+ct,i=Q[r]===(n^$)||Q[r^Z]===(n^$-1);return i&&(t=ut[e],t!==void 0)?(lt[e]=t,t):(t=st(e),i?(lt[e]=t,++pt>B&&(pt=0,ut=lt,lt=Object.create(null),ht())):(Q[r]=n^$,++mt>Z&&ht()),t)},_t=e=>{let t=dt.get(e);if(t!==void 0)return t;let n=M(e,0,e.length),r=(n&16383)+ct,i=Q[r]===(n^$)||Q[r^Z]===(n^$-1);return i&&(t=ft.get(e),t!==void 0)?(dt.set(e,t),t):(t=st(e),i?(dt.set(e,t),++pt>B&&(pt=0,ft=dt,dt=new Map,ht())):(Q[r]=n^$,++mt>Z&&ht()),t)},vt=e=>{let t=M(e,0,e.length),n=(t&16383)+ct;return Q[n]===(t^$)||Q[n^Z]===(t^$-1)?!0:(Q[n]=t^$,++mt>Z&&ht(),!1)},yt=B===0?st:re?e=>{let t=dt.get(e);return t===void 0?_t(e):t}:gt;return{merge:function(){return arguments.length===1&&typeof arguments[0]==`string`?yt(arguments[0]):yt(I.apply(null,arguments))},mergeString:yt,seenBefore:B===0?()=>!1:vt,mergeUncached:st}},P=(e,t)=>{if(!e)return``;if(typeof e==`string`)return e;let n=``;if(typeof e.length==`number`&&(!t||Array.isArray(e))){let r=e;for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let a=typeof i==`string`?i:P(i,t);a&&(n&&(n+=` `),n+=a)}return n}if(t){if(typeof e==`number`)return``+e;if(typeof e==`object`)for(let t in e)e[t]&&(n&&(n+=` `),n+=t)}return n},F=(e,t)=>{let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(!i)continue;let a=typeof i==`string`?i:P(i,t);a&&(n&&(n+=` `),n+=a)}return n},I=function(){return F(arguments,!1)},ie=256,L=16,R=1024,z=4096,B=(e,t)=>{let n=t===void 0?()=>!0:t.seenBefore,r=t===void 0?e:t.mergeUncached,i=new Map,a=new Map,o=0,s=null,c=null,l=[],u=[],d=0,f=(t,n,r)=>{c===null&&(c=Array(z).fill(``),l=Array(z).fill(``),u=Array(z).fill(``));let i=M(t,0,t.length)&4094;if(c[i]===t&&l[i]===n)return u[i];if(c[i|1]===t&&l[i|1]===n)return u[i|1];let a=e(r?n+` `+t:t),o=c[i]===``?i:i|(c[i|1]===``?1:d++&1);return c[o]=t,l[o]=n,u[o]=a,a},p=(e,t,n,r)=>{let i=0;if(t){if(t!==e.a0)return!1;i=1}if(n){if(n!==(i===0?e.a0:e.a1))return!1;i++}if(r){if(r!==(i===0?e.a0:i===1?e.a1:e.a2))return!1;i++}return i===e.t},m=(e,t)=>{let n=e.a,r=0;for(let e=0;e<t.length;e++){let i=t[e];if(i){if(i!==n[r])return!1;r++}}return r===e.t},h=(t,c)=>{let l=t.length,u=s===null?null:s.n;if(!c){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let d=``,p=-1,h=0,g=!1;for(let e=0;e<l;e++){let n=t[e];if(n){if(typeof n!=`string`){if(n=t[e]=P(n,!0),!n)continue;g=!0}p<0&&(d=n,p=e),h++}}if(h===0)return``;if(h===1)return e(d);if(g){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let _=i.get(d);_===void 0&&(_=a.get(d),_!==void 0&&i.set(d,_));let v=null;if(_!==void 0){if(_.skip>0){_.skip--,s=null;let e=d;for(let n=p+1;n<l;n++){let r=t[n];r&&(e+=` `+r)}return f(e,``,!1)}let e=_.e;outer:for(let n=0;n<e.length;n++){let r=e[n];if(r.t!==h)continue;let i=r.a,a=1;for(let e=p+1;e<l;e++){let n=t[e];if(n&&n!==i[a++])continue outer}v=r;break}v!==null&&(_.miss=0)}if(v===null){let s=d,c=[d];for(let e=p+1;e<l;e++){let n=t[e];n&&(s+=` `+n,c.push(n))}if(!n(s))return r(s);v={r:e(s),t:c.length,a0:c[0],a1:c[1],a2:c[2]??``,a:c,n:null},_===void 0?i.set(d,_={e:[],miss:0,skip:0,at:0}):++_.miss>L&&(_.miss=L,_.skip=R,_.e.length=0,_.at=0);let u=_.e;u.length<ie?u.push(v):(u[_.at]=v,_.at=_.at+1&255),++o>1e3&&(o=0,a=i,i=new Map)}return s!==null&&s!==v&&(s.n=v),s=v,v.r},g=t=>Array.isArray(t)?h(t.slice(),!1):e(P(t,!0));return function(t,n,r){let a=arguments.length;if((a|1)==3){let e=s;if(e!==null){let i=e.n;if(i!==null&&p(i,t,n,r))return s=i,i.r;if(e!==i&&p(e,t,n,r))return e.r}if(a===2&&typeof n==`string`&&n!==``){let e=i.get(t);if(e!==void 0&&e.skip>0)return e.skip--,s=null,f(n,t,!0)}return h([t,n,r],!0)}if(a===1)return typeof t==`string`?e(t):g(t);let o=s;if(o!==null){let e=o.n;if(e!==null){let t=e.a,n=0,r=!0;for(let e=0;e<a;e++){let i=arguments[e];if(i){if(i!==t[n]){r=!1;break}n++}}if(r&&n===e.t)return s=e,e.r}if(o!==e){let e=o.a,t=0,n=!0;for(let r=0;r<a;r++){let i=arguments[r];if(i){if(i!==e[t]){n=!1;break}t++}}if(n&&t===o.t)return o.r}}let c=[];for(let e=0;e<a;e++)c.push(arguments[e]);return h(c,!0)}},V=N(ne),ae=B(V.mergeString,V);V.merge,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return ae}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-NEeQKKDZ.js"),n=require("./dist-BoNQb2nd.js"),r=require("./dist-DZiOPWLp.js"),i=require("./dist-C83rnWRv.js");let a=require("react");a=e.r(a,1);let o=require("react/jsx-runtime");var s=Object.defineProperty,c=(e,t)=>s(e,`name`,{value:t,configurable:!0}),l=`dismissableLayer.update`,u=`dismissableLayer.pointerDownOutside`,d=`dismissableLayer.focusOutside`,f,p=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),m=a.forwardRef(c(function(e,s){let{disableOutsidePointerEvents:u=!1,deferPointerDownOutside:d=!1,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:g,onInteractOutside:_,onDismiss:x,...S}=e,C=a.useContext(p),[w,T]=a.useState(null),E=w?.ownerDocument??globalThis?.document,[,D]=a.useState({}),O=t.a(s,T),k=Array.from(C.layers),[A]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),j=A?k.indexOf(A):-1,M=w?k.indexOf(w):-1,N=C.layersWithOutsidePointerEventsDisabled.size>0,P=M>=j,F=a.useRef(!1),I=v(e=>{h?.(e),_?.(e),e.defaultPrevented||x?.()},{ownerDocument:E,deferPointerDownOutside:d,isDeferredPointerDownOutsideRef:F,dismissableSurfaces:C.dismissableSurfaces,shouldHandlePointerDownOutside:a.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...C.branches].some(t=>t.contains(e));return P&&!t},[C.branches,P])}),L=y(e=>{if(d&&F.current)return;let t=e.target;[...C.branches].some(e=>e.contains(t))||(g?.(e),_?.(e),e.defaultPrevented||x?.())},E),R=w?M===k.length-1:!1,z=i.t(e=>{e.key===`Escape`&&(m?.(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))});return a.useEffect(()=>{if(R)return E.addEventListener(`keydown`,z,{capture:!0}),()=>E.removeEventListener(`keydown`,z,{capture:!0})},[E,R,z]),a.useEffect(()=>{if(w)return u&&(C.layersWithOutsidePointerEventsDisabled.size===0&&(f=E.body.style.pointerEvents,E.body.style.pointerEvents=`none`),C.layersWithOutsidePointerEventsDisabled.add(w)),C.layers.add(w),b(),()=>{u&&(C.layersWithOutsidePointerEventsDisabled.delete(w),C.layersWithOutsidePointerEventsDisabled.size===0&&(E.body.style.pointerEvents=f))}},[w,E,u,C]),a.useEffect(()=>()=>{w&&(C.layers.delete(w),C.layersWithOutsidePointerEventsDisabled.delete(w),b())},[w,C]),a.useEffect(()=>{let e=c(()=>D({}),`handleUpdate`);return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,o.jsx)(n.t.div,{...S,ref:O,style:{pointerEvents:N?P?`auto`:`none`:void 0,...e.style},onFocusCapture:r.t(e.onFocusCapture,L.onFocusCapture),onBlurCapture:r.t(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:r.t(e.onPointerDownCapture,I.onPointerDownCapture)})},`DismissableLayer`)),h=a.forwardRef(c(function(e,r){let i=a.useContext(p),s=a.useRef(null),c=t.a(r,s);return a.useEffect(()=>{let e=s.current;if(e)return i.branches.add(e),()=>{i.branches.delete(e)}},[i.branches]),(0,o.jsx)(n.t.div,{...e,ref:c})},`DismissableLayerBranch`));function g(){let e=a.useContext(p),[t,n]=a.useState(null);return a.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}c(g,`useDismissableLayerSurface`);var _=c(()=>!0,`IS_TRUE`);function v(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:s,shouldHandlePointerDownOutside:l=_}=t,d=i.t(e),f=a.useRef(!1),p=a.useRef(!1),m=a.useRef(new Map),h=a.useRef(()=>{});return a.useEffect(()=>{function e(){p.current=!1,o.current=!1,m.current.clear()}c(e,`resetOutsideInteraction`);function t(){return Array.from(m.current.values()).some(Boolean)}c(t,`isOutsideInteractionIntercepted`);function i(e){if(!p.current)return;let t=e.target;t instanceof Node&&[...s].some(e=>e.contains(t))||m.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{p.current&&h.current()},0)}c(i,`handleInteractionCapture`);function a(e){p.current&&m.current.set(e.type,!1)}c(a,`handleInteractionBubble`);let g=c(i=>{if(i.target&&!f.current){let a=function(){n.removeEventListener(`click`,h.current);let r=t();e(),r||x(u,d,s,{discrete:!0})};if(c(a,`handleAndDispatchPointerDownOutsideEvent`),!l(i.target)){n.removeEventListener(`click`,h.current),e(),f.current=!1;return}let s={originalEvent:i};p.current=!0,o.current=r&&i.button===0,m.current.clear(),!r||i.button!==0?a():(n.removeEventListener(`click`,h.current),h.current=a,n.addEventListener(`click`,h.current,{once:!0}))}else n.removeEventListener(`click`,h.current),e();f.current=!1},`handlePointerDown`),_=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of _)n.addEventListener(e,i,!0),n.addEventListener(e,a);let v=window.setTimeout(()=>{n.addEventListener(`pointerdown`,g)},0);return()=>{window.clearTimeout(v),n.removeEventListener(`pointerdown`,g),n.removeEventListener(`click`,h.current);for(let e of _)n.removeEventListener(e,i,!0),n.removeEventListener(e,a)}},[n,d,r,o,s,l]),{onPointerDownCapture:c(()=>f.current=!0,`onPointerDownCapture`)}}c(v,`usePointerDownOutside`);function y(e,t=globalThis?.document){let n=i.t(e),r=a.useRef(!1);return a.useEffect(()=>{let e=c(e=>{e.target&&!r.current&&x(d,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:c(()=>r.current=!0,`onFocusCapture`),onBlurCapture:c(()=>r.current=!1,`onBlurCapture`)}}c(y,`useFocusOutside`);function b(){let e=new CustomEvent(l);document.dispatchEvent(e)}c(b,`dispatchUpdate`);function x(e,t,r,{discrete:i}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),i?n.n(a,o):a.dispatchEvent(o)}c(x,`handleAndDispatchCustomEvent`);var S=m,C=h;Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return C}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-NEeQKKDZ.js"),n=require("./dist-BoNQb2nd.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-CGgemr2V.js"),a=require("./dist-C83rnWRv.js"),o=require("./dist-N_70prl1.js"),s=require("./floating-ui.react-dom-BwFRxNGc.js");let c=require("react");c=e.r(c,1);let l=require("react/jsx-runtime");var u=Object.defineProperty,d=c.forwardRef(((e,t)=>u(e,`name`,{value:t,configurable:!0}))(function(e,t){let{children:r,width:i=10,height:a=5,...o}=e;return(0,l.jsx)(n.t.svg,{...o,ref:t,width:i,height:a,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?r:(0,l.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})},`Arrow`)),f=Object.defineProperty,p=(e,t)=>f(e,`name`,{value:t,configurable:!0}),m=`Popper`,[h,g]=r.t(m),[_,v]=h(m),y=p(e=>{let{__scopePopper:t,children:n}=e,[r,i]=c.useState(null),[a,o]=c.useState(void 0);return(0,l.jsx)(_,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:o,children:n})},`Popper`),b=`PopperAnchor`,x=c.forwardRef(p(function(e,r){let{__scopePopper:i,virtualRef:a,...o}=e,s=v(b,i),u=c.useRef(null),d=s.onAnchorChange,f=t.a(r,c.useCallback(e=>{u.current=e,e&&d(e)},[d])),p=c.useRef(null);c.useEffect(()=>{if(!a)return;let e=p.current;p.current=a.current,e!==p.current&&d(p.current)});let m=s.placementState&&j(s.placementState),h=m?.[0],g=m?.[1];return a?null:(0,l.jsx)(n.t.div,{"data-radix-popper-side":h,"data-radix-popper-align":g,...o,ref:f})},`PopperAnchor`)),S=`PopperContent`,[C,w]=h(S),T=c.forwardRef(p(function(e,r){let{__scopePopper:u,side:d=`bottom`,sideOffset:f=0,align:m=`center`,alignOffset:h=0,arrowPadding:g=0,avoidCollisions:_=!0,collisionBoundary:y=[],collisionPadding:b=0,sticky:x=`partial`,hideWhenDetached:w=!1,updatePositionStrategy:T=`optimized`,onPlaced:E,...D}=e,O=v(S,u),[M,N]=c.useState(null),P=t.a(r,N),[F,I]=c.useState(null),L=o.t(F),R=L?.width??0,z=L?.height??0,B=d+(m===`center`?``:`-`+m),V=typeof b==`number`?b:{top:0,right:0,bottom:0,left:0,...b},H=Array.isArray(y)?y:[y],U=H.length>0,W={padding:V,boundary:H.filter(k),altBoundary:U},{refs:G,floatingStyles:K,placement:q,isPositioned:J,middlewareData:Y}=s.c({strategy:`fixed`,placement:B,whileElementsMounted:p((...e)=>s.l(...e,{animationFrame:T===`always`}),`whileElementsMounted`),elements:{reference:O.anchor},middleware:[s.a({mainAxis:f+z,alignmentAxis:h}),_&&s.o({mainAxis:!0,crossAxis:!1,limiter:x===`partial`?s.i():void 0,...W}),_&&s.n({...W}),s.s({...W,apply:p(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)},`apply`)}),F&&s.t({element:F,padding:g}),A({arrowWidth:R,arrowHeight:z}),w&&s.r({strategy:`referenceHidden`,...W,boundary:U?W.boundary:void 0})]}),X=O.setPlacementState;i.t(()=>(X(q),()=>{X(void 0)}),[q,X]);let[Z,Q]=j(q),$=a.t(E);i.t(()=>{J&&$?.()},[J,$]);let ee=Y.arrow?.x,te=Y.arrow?.y,ne=Y.arrow?.centerOffset!==0,[re,ie]=c.useState();return i.t(()=>{M&&ie(window.getComputedStyle(M).zIndex)},[M]),(0,l.jsx)(`div`,{ref:G.setFloating,"data-radix-popper-content-wrapper":``,style:{...K,transform:J?K.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:re,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(` `),...Y.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,l.jsx)(C,{scope:u,placedSide:Z,placedAlign:Q,onArrowChange:I,arrowX:ee,arrowY:te,shouldHideArrow:ne,children:(0,l.jsx)(n.t.div,{"data-side":Z,"data-align":Q,...D,ref:P,style:{...D.style,animation:J?D.style?.animation:`none`}})})})},`PopperContent`)),E=`PopperArrow`,D={top:`bottom`,right:`left`,bottom:`top`,left:`right`},O=c.forwardRef(p(function(e,t){let{__scopePopper:n,...r}=e,i=w(E,n),a=D[i.placedSide];return(0,l.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,l.jsx)(d,{...r,ref:t,style:{...r.style,display:`block`}})})},`PopperArrow`));function k(e){return e!==null}p(k,`isNotNull`);var A=p(e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=j(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}),`transformOrigin`);function j(e){let[t,n=`center`]=e.split(`-`);return[t,n]}p(j,`getSideAndAlignFromPlacement`);var M=y,N=x,P=T,F=O;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return N}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CGgemr2V.js");let n=require("react");n=e.r(n,1);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0});function a(e,t){return n.useReducer((e,n)=>t[e][n]??e,e)}i(a,`useStateMachine`);var o=i(e=>{let{present:t,children:r}=e,i=s(t),a=typeof r==`function`?r({present:i.isPresent}):n.Children.only(r),o=l(i.ref,d(a));return typeof r==`function`||i.isPresent?n.cloneElement(a,{ref:o}):null},`Presence`);function s(e){let[r,o]=n.useState(),s=n.useRef(null),c=n.useRef(e),l=n.useRef(`none`),d=n.useRef(void 0),[f,p]=a(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return n.useEffect(()=>{f===`mounted`?(l.current=d.current??u(s.current),d.current=void 0):l.current=`none`},[f]),t.t(()=>{let t=s.current,n=c.current;if(n!==e){let r=l.current,i=u(t);e?(d.current=i,p(`MOUNT`)):i===`none`||t?.display===`none`?p(`UNMOUNT`):p(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),c.current=e}},[e,p]),t.t(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=i(n=>{let i=u(s.current).includes(CSS.escape(n.animationName));if(n.target===r&&i&&(p(`ANIMATION_END`),!c.current)){let n=r.style.animationFillMode;r.style.animationFillMode=`forwards`,e=t.setTimeout(()=>{r.style.animationFillMode===`forwards`&&(r.style.animationFillMode=n)})}},`handleAnimationEnd`),a=i(e=>{e.target===r&&(l.current=u(s.current))},`handleAnimationStart`);return r.addEventListener(`animationstart`,a),r.addEventListener(`animationcancel`,n),r.addEventListener(`animationend`,n),()=>{t.clearTimeout(e),r.removeEventListener(`animationstart`,a),r.removeEventListener(`animationcancel`,n),r.removeEventListener(`animationend`,n)}}else p(`ANIMATION_END`)},[r,p]),{isPresent:[`mounted`,`unmountSuspended`].includes(f),ref:n.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,d.current=u(t)}else s.current=null;o(e)},[])}}i(s,`usePresence`);function c(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}i(c,`setRef`);function l(...e){let t=n.useRef(e);return t.current=e,n.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=c(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():c(n[e],null)}}},[])}i(l,`useStableComposedRefs`);function u(e){return e?.animationName||`none`}i(u,`getAnimationName`);function d(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}i(d,`getElementRef`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
//#region ../../node_modules/.bun/@radix-ui+react-use-layout-effect@1.1.
|
|
2
|
+
//#region ../../node_modules/.bun/@radix-ui+react-use-layout-effect@1.1.4+0ac650c021fb1b59/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
3
3
|
var t = globalThis?.document ? e.useLayoutEffect : () => {};
|
|
4
4
|
//#endregion
|
|
5
5
|
export { t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(t,n)=>e(t,`name`,{value:n,configurable:!0});function n(e,[t,n]){return Math.min(n,Math.max(t,e))}t(n,`clamp`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region ../../node_modules/.bun/@radix-ui+react-context@1.2.2+0ac650c021fb1b59/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
4
|
+
var n = Object.defineProperty, r = (e, t) => n(e, "name", {
|
|
5
|
+
value: t,
|
|
6
|
+
configurable: !0
|
|
7
|
+
});
|
|
8
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
9
|
+
function i(n, i) {
|
|
10
|
+
let a = e.createContext(i);
|
|
11
|
+
a.displayName = n + "Context";
|
|
12
|
+
let o = /* @__PURE__ */ r((n) => {
|
|
13
|
+
let { children: r, ...i } = n, o = e.useMemo(() => i, Object.values(i));
|
|
14
|
+
return /* @__PURE__ */ t(a.Provider, {
|
|
15
|
+
value: o,
|
|
16
|
+
children: r
|
|
17
|
+
});
|
|
18
|
+
}, "Provider");
|
|
19
|
+
o.displayName = n + "Provider";
|
|
20
|
+
function s(t, r = {}) {
|
|
21
|
+
let { optional: o = !1 } = r, s = e.useContext(a);
|
|
22
|
+
if (s) return s;
|
|
23
|
+
if (i !== void 0) return i;
|
|
24
|
+
if (!o) throw Error(`\`${t}\` must be used within \`${n}\``);
|
|
25
|
+
}
|
|
26
|
+
return r(s, "useContext"), [o, s];
|
|
27
|
+
}
|
|
28
|
+
r(i, "createContext");
|
|
29
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
30
|
+
function a(n, i = []) {
|
|
31
|
+
let a = [];
|
|
32
|
+
function s(i, o) {
|
|
33
|
+
let s = e.createContext(o);
|
|
34
|
+
s.displayName = i + "Context";
|
|
35
|
+
let c = a.length;
|
|
36
|
+
a = [...a, o];
|
|
37
|
+
let l = /* @__PURE__ */ r((r) => {
|
|
38
|
+
let { scope: i, children: a, ...o } = r, l = i?.[n]?.[c] || s, u = e.useMemo(() => o, Object.values(o));
|
|
39
|
+
return /* @__PURE__ */ t(l.Provider, {
|
|
40
|
+
value: u,
|
|
41
|
+
children: a
|
|
42
|
+
});
|
|
43
|
+
}, "Provider");
|
|
44
|
+
l.displayName = i + "Provider";
|
|
45
|
+
function u(t, r, a = {}) {
|
|
46
|
+
let { optional: l = !1 } = a, u = r?.[n]?.[c] || s, d = e.useContext(u);
|
|
47
|
+
if (d) return d;
|
|
48
|
+
if (o !== void 0) return o;
|
|
49
|
+
if (!l) throw Error(`\`${t}\` must be used within \`${i}\``);
|
|
50
|
+
}
|
|
51
|
+
return r(u, "useContext"), [l, u];
|
|
52
|
+
}
|
|
53
|
+
r(s, "createContext");
|
|
54
|
+
let c = /* @__PURE__ */ r(() => {
|
|
55
|
+
let t = a.map((t) => e.createContext(t));
|
|
56
|
+
return /* @__PURE__ */ r(function(r) {
|
|
57
|
+
let i = r?.[n] || t;
|
|
58
|
+
return e.useMemo(() => ({ [`__scope${n}`]: {
|
|
59
|
+
...r,
|
|
60
|
+
[n]: i
|
|
61
|
+
} }), [r, i]);
|
|
62
|
+
}, "useScope");
|
|
63
|
+
}, "createScope");
|
|
64
|
+
return c.scopeName = n, [s, o(c, ...i)];
|
|
65
|
+
}
|
|
66
|
+
r(a, "createContextScope");
|
|
67
|
+
function o(...t) {
|
|
68
|
+
let n = t[0];
|
|
69
|
+
if (t.length === 1) return n;
|
|
70
|
+
let i = /* @__PURE__ */ r(() => {
|
|
71
|
+
let i = t.map((e) => ({
|
|
72
|
+
useScope: e(),
|
|
73
|
+
scopeName: e.scopeName
|
|
74
|
+
}));
|
|
75
|
+
return /* @__PURE__ */ r(function(t) {
|
|
76
|
+
let r = i.reduce((e, { useScope: n, scopeName: r }) => {
|
|
77
|
+
let i = n(t)[`__scope${r}`];
|
|
78
|
+
return {
|
|
79
|
+
...e,
|
|
80
|
+
...i
|
|
81
|
+
};
|
|
82
|
+
}, {});
|
|
83
|
+
return e.useMemo(() => ({ [`__scope${n.scopeName}`]: r }), [r]);
|
|
84
|
+
}, "useComposedScopes");
|
|
85
|
+
}, "createScope");
|
|
86
|
+
return i.scopeName = n.scopeName, i;
|
|
87
|
+
}
|
|
88
|
+
r(o, "composeContextScopes");
|
|
89
|
+
//#endregion
|
|
90
|
+
export { a as t };
|
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
import { a as e, n as t } from "./dist-8fYwoWd4.mjs";
|
|
2
|
+
import { t as n } from "./dist-DMwCTE2i.mjs";
|
|
3
|
+
import * as r from "react";
|
|
4
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
5
|
+
//#region ../../node_modules/.bun/@radix-ui+react-collection@1.1.15+2b23df507bdda662/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
6
|
+
var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
7
|
+
value: t,
|
|
8
|
+
configurable: !0
|
|
9
|
+
});
|
|
10
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
11
|
+
function s(a) {
|
|
12
|
+
let s = a + "CollectionProvider", [c, l] = n(s), [u, d] = c(s, {
|
|
13
|
+
collectionRef: { current: null },
|
|
14
|
+
itemMap: /* @__PURE__ */ new Map()
|
|
15
|
+
}), f = /* @__PURE__ */ o((e) => {
|
|
16
|
+
let { scope: t, children: n } = e, a = r.useRef(null), o = r.useRef(/* @__PURE__ */ new Map()).current;
|
|
17
|
+
return /* @__PURE__ */ i(u, {
|
|
18
|
+
scope: t,
|
|
19
|
+
itemMap: o,
|
|
20
|
+
collectionRef: a,
|
|
21
|
+
children: n
|
|
22
|
+
});
|
|
23
|
+
}, "CollectionProvider");
|
|
24
|
+
f.displayName = s;
|
|
25
|
+
let p = a + "CollectionSlot", m = t(p), h = r.forwardRef((t, n) => {
|
|
26
|
+
let { scope: r, children: a } = t;
|
|
27
|
+
return /* @__PURE__ */ i(m, {
|
|
28
|
+
ref: e(n, d(p, r).collectionRef),
|
|
29
|
+
children: a
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
h.displayName = p;
|
|
33
|
+
let g = a + "CollectionItemSlot", _ = "data-radix-collection-item", v = t(g), y = r.forwardRef((t, n) => {
|
|
34
|
+
let { scope: a, children: o, ...s } = t, c = r.useRef(null), l = e(n, c), u = d(g, a);
|
|
35
|
+
return r.useEffect(() => (u.itemMap.set(c, {
|
|
36
|
+
ref: c,
|
|
37
|
+
...s
|
|
38
|
+
}), () => void u.itemMap.delete(c))), /* @__PURE__ */ i(v, {
|
|
39
|
+
[_]: "",
|
|
40
|
+
ref: l,
|
|
41
|
+
children: o
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
y.displayName = g;
|
|
45
|
+
function b(e) {
|
|
46
|
+
let t = d(a + "CollectionConsumer", e);
|
|
47
|
+
return r.useCallback(() => {
|
|
48
|
+
let e = t.collectionRef.current;
|
|
49
|
+
if (!e) return [];
|
|
50
|
+
let n = Array.from(e.querySelectorAll(`[${_}]`));
|
|
51
|
+
return Array.from(t.itemMap.values()).sort((e, t) => n.indexOf(e.ref.current) - n.indexOf(t.ref.current));
|
|
52
|
+
}, [t.collectionRef, t.itemMap]);
|
|
53
|
+
}
|
|
54
|
+
return o(b, "useCollection"), [
|
|
55
|
+
{
|
|
56
|
+
Provider: f,
|
|
57
|
+
Slot: h,
|
|
58
|
+
ItemSlot: y
|
|
59
|
+
},
|
|
60
|
+
b,
|
|
61
|
+
l
|
|
62
|
+
];
|
|
63
|
+
}
|
|
64
|
+
o(s, "createCollection");
|
|
65
|
+
var c = /* @__PURE__ */ new WeakMap(), l = class e extends Map {
|
|
66
|
+
static {
|
|
67
|
+
o(this, "OrderedDict");
|
|
68
|
+
}
|
|
69
|
+
#e;
|
|
70
|
+
constructor(e) {
|
|
71
|
+
super(e), this.#e = [...super.keys()], c.set(this, !0);
|
|
72
|
+
}
|
|
73
|
+
set(e, t) {
|
|
74
|
+
return c.get(this) && (this.has(e) ? this.#e[this.#e.indexOf(e)] = e : this.#e.push(e)), super.set(e, t), this;
|
|
75
|
+
}
|
|
76
|
+
insert(e, t, n) {
|
|
77
|
+
let r = this.has(t), i = this.#e.length, a = f(e), o = a >= 0 ? a : i + a, s = o < 0 || o >= i ? -1 : o;
|
|
78
|
+
if (s === this.size || r && s === this.size - 1 || s === -1) return this.set(t, n), this;
|
|
79
|
+
let c = this.size + +!r;
|
|
80
|
+
a < 0 && o++;
|
|
81
|
+
let l = [...this.#e], u, d = !1;
|
|
82
|
+
for (let e = o; e < c; e++) if (o === e) {
|
|
83
|
+
let i = l[e];
|
|
84
|
+
l[e] === t && (i = l[e + 1]), r && this.delete(t), u = this.get(i), this.set(t, n);
|
|
85
|
+
} else {
|
|
86
|
+
!d && l[e - 1] === t && (d = !0);
|
|
87
|
+
let n = l[d ? e : e - 1], r = u;
|
|
88
|
+
u = this.get(n), this.delete(n), this.set(n, r);
|
|
89
|
+
}
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
with(t, n, r) {
|
|
93
|
+
let i = new e(this);
|
|
94
|
+
return i.insert(t, n, r), i;
|
|
95
|
+
}
|
|
96
|
+
before(e) {
|
|
97
|
+
let t = this.#e.indexOf(e) - 1;
|
|
98
|
+
if (!(t < 0)) return this.entryAt(t);
|
|
99
|
+
}
|
|
100
|
+
setBefore(e, t, n) {
|
|
101
|
+
let r = this.#e.indexOf(e);
|
|
102
|
+
return r === -1 ? this : this.insert(r, t, n);
|
|
103
|
+
}
|
|
104
|
+
after(e) {
|
|
105
|
+
let t = this.#e.indexOf(e);
|
|
106
|
+
if (t = t === -1 || t === this.size - 1 ? -1 : t + 1, t !== -1) return this.entryAt(t);
|
|
107
|
+
}
|
|
108
|
+
setAfter(e, t, n) {
|
|
109
|
+
let r = this.#e.indexOf(e);
|
|
110
|
+
return r === -1 ? this : this.insert(r + 1, t, n);
|
|
111
|
+
}
|
|
112
|
+
first() {
|
|
113
|
+
return this.entryAt(0);
|
|
114
|
+
}
|
|
115
|
+
last() {
|
|
116
|
+
return this.entryAt(-1);
|
|
117
|
+
}
|
|
118
|
+
clear() {
|
|
119
|
+
return this.#e = [], super.clear();
|
|
120
|
+
}
|
|
121
|
+
delete(e) {
|
|
122
|
+
let t = super.delete(e);
|
|
123
|
+
return t && this.#e.splice(this.#e.indexOf(e), 1), t;
|
|
124
|
+
}
|
|
125
|
+
deleteAt(e) {
|
|
126
|
+
let t = this.keyAt(e);
|
|
127
|
+
return t === void 0 ? !1 : this.delete(t);
|
|
128
|
+
}
|
|
129
|
+
at(e) {
|
|
130
|
+
let t = u(this.#e, e);
|
|
131
|
+
if (t !== void 0) return this.get(t);
|
|
132
|
+
}
|
|
133
|
+
entryAt(e) {
|
|
134
|
+
let t = u(this.#e, e);
|
|
135
|
+
if (t !== void 0) return [t, this.get(t)];
|
|
136
|
+
}
|
|
137
|
+
indexOf(e) {
|
|
138
|
+
return this.#e.indexOf(e);
|
|
139
|
+
}
|
|
140
|
+
keyAt(e) {
|
|
141
|
+
return u(this.#e, e);
|
|
142
|
+
}
|
|
143
|
+
from(e, t) {
|
|
144
|
+
let n = this.indexOf(e);
|
|
145
|
+
if (n === -1) return;
|
|
146
|
+
let r = n + t;
|
|
147
|
+
return r < 0 && (r = 0), r >= this.size && (r = this.size - 1), this.at(r);
|
|
148
|
+
}
|
|
149
|
+
keyFrom(e, t) {
|
|
150
|
+
let n = this.indexOf(e);
|
|
151
|
+
if (n === -1) return;
|
|
152
|
+
let r = n + t;
|
|
153
|
+
return r < 0 && (r = 0), r >= this.size && (r = this.size - 1), this.keyAt(r);
|
|
154
|
+
}
|
|
155
|
+
find(e, t) {
|
|
156
|
+
let n = 0;
|
|
157
|
+
for (let r of this) {
|
|
158
|
+
if (Reflect.apply(e, t, [
|
|
159
|
+
r,
|
|
160
|
+
n,
|
|
161
|
+
this
|
|
162
|
+
])) return r;
|
|
163
|
+
n++;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
findIndex(e, t) {
|
|
167
|
+
let n = 0;
|
|
168
|
+
for (let r of this) {
|
|
169
|
+
if (Reflect.apply(e, t, [
|
|
170
|
+
r,
|
|
171
|
+
n,
|
|
172
|
+
this
|
|
173
|
+
])) return n;
|
|
174
|
+
n++;
|
|
175
|
+
}
|
|
176
|
+
return -1;
|
|
177
|
+
}
|
|
178
|
+
filter(t, n) {
|
|
179
|
+
let r = [], i = 0;
|
|
180
|
+
for (let e of this) Reflect.apply(t, n, [
|
|
181
|
+
e,
|
|
182
|
+
i,
|
|
183
|
+
this
|
|
184
|
+
]) && r.push(e), i++;
|
|
185
|
+
return new e(r);
|
|
186
|
+
}
|
|
187
|
+
map(t, n) {
|
|
188
|
+
let r = [], i = 0;
|
|
189
|
+
for (let e of this) r.push([e[0], Reflect.apply(t, n, [
|
|
190
|
+
e,
|
|
191
|
+
i,
|
|
192
|
+
this
|
|
193
|
+
])]), i++;
|
|
194
|
+
return new e(r);
|
|
195
|
+
}
|
|
196
|
+
reduce(...e) {
|
|
197
|
+
let [t, n] = e, r = 0, i = n ?? this.at(0);
|
|
198
|
+
for (let n of this) i = r === 0 && e.length === 1 ? n : Reflect.apply(t, this, [
|
|
199
|
+
i,
|
|
200
|
+
n,
|
|
201
|
+
r,
|
|
202
|
+
this
|
|
203
|
+
]), r++;
|
|
204
|
+
return i;
|
|
205
|
+
}
|
|
206
|
+
reduceRight(...e) {
|
|
207
|
+
let [t, n] = e, r = n ?? this.at(-1);
|
|
208
|
+
for (let n = this.size - 1; n >= 0; n--) {
|
|
209
|
+
let i = this.at(n);
|
|
210
|
+
r = n === this.size - 1 && e.length === 1 ? i : Reflect.apply(t, this, [
|
|
211
|
+
r,
|
|
212
|
+
i,
|
|
213
|
+
n,
|
|
214
|
+
this
|
|
215
|
+
]);
|
|
216
|
+
}
|
|
217
|
+
return r;
|
|
218
|
+
}
|
|
219
|
+
toSorted(t) {
|
|
220
|
+
return new e([...this.entries()].sort(t));
|
|
221
|
+
}
|
|
222
|
+
toReversed() {
|
|
223
|
+
let t = new e();
|
|
224
|
+
for (let e = this.size - 1; e >= 0; e--) {
|
|
225
|
+
let n = this.keyAt(e), r = this.get(n);
|
|
226
|
+
t.set(n, r);
|
|
227
|
+
}
|
|
228
|
+
return t;
|
|
229
|
+
}
|
|
230
|
+
toSpliced(...t) {
|
|
231
|
+
let n = [...this.entries()];
|
|
232
|
+
return n.splice(...t), new e(n);
|
|
233
|
+
}
|
|
234
|
+
slice(t, n) {
|
|
235
|
+
let r = new e(), i = this.size - 1;
|
|
236
|
+
if (t === void 0) return r;
|
|
237
|
+
t < 0 && (t += this.size), n !== void 0 && n > 0 && (i = n - 1);
|
|
238
|
+
for (let e = t; e <= i; e++) {
|
|
239
|
+
let t = this.keyAt(e), n = this.get(t);
|
|
240
|
+
r.set(t, n);
|
|
241
|
+
}
|
|
242
|
+
return r;
|
|
243
|
+
}
|
|
244
|
+
every(e, t) {
|
|
245
|
+
let n = 0;
|
|
246
|
+
for (let r of this) {
|
|
247
|
+
if (!Reflect.apply(e, t, [
|
|
248
|
+
r,
|
|
249
|
+
n,
|
|
250
|
+
this
|
|
251
|
+
])) return !1;
|
|
252
|
+
n++;
|
|
253
|
+
}
|
|
254
|
+
return !0;
|
|
255
|
+
}
|
|
256
|
+
some(e, t) {
|
|
257
|
+
let n = 0;
|
|
258
|
+
for (let r of this) {
|
|
259
|
+
if (Reflect.apply(e, t, [
|
|
260
|
+
r,
|
|
261
|
+
n,
|
|
262
|
+
this
|
|
263
|
+
])) return !0;
|
|
264
|
+
n++;
|
|
265
|
+
}
|
|
266
|
+
return !1;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
function u(e, t) {
|
|
270
|
+
if ("at" in Array.prototype) return Array.prototype.at.call(e, t);
|
|
271
|
+
let n = d(e, t);
|
|
272
|
+
return n === -1 ? void 0 : e[n];
|
|
273
|
+
}
|
|
274
|
+
o(u, "at");
|
|
275
|
+
function d(e, t) {
|
|
276
|
+
let n = e.length, r = f(t), i = r >= 0 ? r : n + r;
|
|
277
|
+
return i < 0 || i >= n ? -1 : i;
|
|
278
|
+
}
|
|
279
|
+
o(d, "toSafeIndex");
|
|
280
|
+
function f(e) {
|
|
281
|
+
return e !== e || e === 0 ? 0 : Math.trunc(e);
|
|
282
|
+
}
|
|
283
|
+
o(f, "toSafeInteger");
|
|
284
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
285
|
+
function p(a) {
|
|
286
|
+
let s = a + "CollectionProvider", [c, u] = n(s), [d, f] = c(s, {
|
|
287
|
+
collectionElement: null,
|
|
288
|
+
collectionRef: { current: null },
|
|
289
|
+
collectionRefObject: { current: null },
|
|
290
|
+
itemMap: new l(),
|
|
291
|
+
setItemMap: /* @__PURE__ */ o(() => void 0, "setItemMap")
|
|
292
|
+
}), p = /* @__PURE__ */ o(({ state: e, ...t }) => e ? /* @__PURE__ */ i(v, {
|
|
293
|
+
...t,
|
|
294
|
+
state: e
|
|
295
|
+
}) : /* @__PURE__ */ i(h, { ...t }), "CollectionProvider");
|
|
296
|
+
p.displayName = s;
|
|
297
|
+
let h = /* @__PURE__ */ o((e) => {
|
|
298
|
+
let t = T();
|
|
299
|
+
return /* @__PURE__ */ i(v, {
|
|
300
|
+
...e,
|
|
301
|
+
state: t
|
|
302
|
+
});
|
|
303
|
+
}, "CollectionInit");
|
|
304
|
+
h.displayName = s + "Init";
|
|
305
|
+
let v = /* @__PURE__ */ o((t) => {
|
|
306
|
+
let { scope: n, children: a, state: o } = t, s = r.useRef(null), [c, l] = r.useState(null), u = e(s, l), [f, p] = o;
|
|
307
|
+
return r.useEffect(() => {
|
|
308
|
+
if (!c) return;
|
|
309
|
+
let e = _(() => {});
|
|
310
|
+
return e.observe(c, {
|
|
311
|
+
childList: !0,
|
|
312
|
+
subtree: !0
|
|
313
|
+
}), () => {
|
|
314
|
+
e.disconnect();
|
|
315
|
+
};
|
|
316
|
+
}, [c]), /* @__PURE__ */ i(d, {
|
|
317
|
+
scope: n,
|
|
318
|
+
itemMap: f,
|
|
319
|
+
setItemMap: p,
|
|
320
|
+
collectionRef: u,
|
|
321
|
+
collectionRefObject: s,
|
|
322
|
+
collectionElement: c,
|
|
323
|
+
children: a
|
|
324
|
+
});
|
|
325
|
+
}, "CollectionProviderImpl");
|
|
326
|
+
v.displayName = s + "Impl";
|
|
327
|
+
let y = a + "CollectionSlot", b = t(y), x = r.forwardRef((t, n) => {
|
|
328
|
+
let { scope: r, children: a } = t;
|
|
329
|
+
return /* @__PURE__ */ i(b, {
|
|
330
|
+
ref: e(n, f(y, r).collectionRef),
|
|
331
|
+
children: a
|
|
332
|
+
});
|
|
333
|
+
});
|
|
334
|
+
x.displayName = y;
|
|
335
|
+
let S = a + "CollectionItemSlot", C = t(S), w = r.forwardRef((t, n) => {
|
|
336
|
+
let { scope: a, children: o, ...s } = t, c = r.useRef(null), [u, d] = r.useState(null), p = e(n, c, d), { setItemMap: h } = f(S, a), _ = r.useRef(s);
|
|
337
|
+
m(_.current, s) || (_.current = s);
|
|
338
|
+
let v = _.current;
|
|
339
|
+
return r.useEffect(() => {
|
|
340
|
+
let e = v;
|
|
341
|
+
return h((t) => u ? t.has(u) ? t.set(u, {
|
|
342
|
+
...e,
|
|
343
|
+
element: u
|
|
344
|
+
}).toSorted(g) : (t.set(u, {
|
|
345
|
+
...e,
|
|
346
|
+
element: u
|
|
347
|
+
}), t.toSorted(g)) : t), () => {
|
|
348
|
+
h((e) => !u || !e.has(u) ? e : (e.delete(u), new l(e)));
|
|
349
|
+
};
|
|
350
|
+
}, [
|
|
351
|
+
u,
|
|
352
|
+
v,
|
|
353
|
+
h
|
|
354
|
+
]), /* @__PURE__ */ i(C, {
|
|
355
|
+
"data-radix-collection-item": "",
|
|
356
|
+
ref: p,
|
|
357
|
+
children: o
|
|
358
|
+
});
|
|
359
|
+
});
|
|
360
|
+
w.displayName = S;
|
|
361
|
+
function T() {
|
|
362
|
+
return r.useState(new l());
|
|
363
|
+
}
|
|
364
|
+
o(T, "useInitCollection");
|
|
365
|
+
function E(e) {
|
|
366
|
+
let { itemMap: t } = f(a + "CollectionConsumer", e);
|
|
367
|
+
return t;
|
|
368
|
+
}
|
|
369
|
+
return o(E, "useCollection"), [{
|
|
370
|
+
Provider: p,
|
|
371
|
+
Slot: x,
|
|
372
|
+
ItemSlot: w
|
|
373
|
+
}, {
|
|
374
|
+
createCollectionScope: u,
|
|
375
|
+
useCollection: E,
|
|
376
|
+
useInitCollection: T
|
|
377
|
+
}];
|
|
378
|
+
}
|
|
379
|
+
o(p, "createCollection");
|
|
380
|
+
function m(e, t) {
|
|
381
|
+
if (e === t) return !0;
|
|
382
|
+
if (typeof e != "object" || typeof t != "object" || e == null || t == null) return !1;
|
|
383
|
+
let n = Object.keys(e), r = Object.keys(t);
|
|
384
|
+
if (n.length !== r.length) return !1;
|
|
385
|
+
for (let r of n) if (!Object.prototype.hasOwnProperty.call(t, r) || e[r] !== t[r]) return !1;
|
|
386
|
+
return !0;
|
|
387
|
+
}
|
|
388
|
+
o(m, "shallowEqual");
|
|
389
|
+
function h(e, t) {
|
|
390
|
+
return !!(t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_PRECEDING);
|
|
391
|
+
}
|
|
392
|
+
o(h, "isElementPreceding");
|
|
393
|
+
function g(e, t) {
|
|
394
|
+
return !e[1].element || !t[1].element ? 0 : h(e[1].element, t[1].element) ? -1 : 1;
|
|
395
|
+
}
|
|
396
|
+
o(g, "sortByDocumentPosition");
|
|
397
|
+
function _(e) {
|
|
398
|
+
return new MutationObserver((t) => {
|
|
399
|
+
for (let n of t) if (n.type === "childList") {
|
|
400
|
+
e();
|
|
401
|
+
return;
|
|
402
|
+
}
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
o(_, "getChildListObserver");
|
|
406
|
+
//#endregion
|
|
407
|
+
export { s as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);let n=require("react/jsx-runtime");var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0});function a(e,r){let a=t.createContext(r);a.displayName=e+`Context`;let o=i(e=>{let{children:r,...i}=e,o=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(a.Provider,{value:o,children:r})},`Provider`);o.displayName=e+`Provider`;function s(n,i={}){let{optional:o=!1}=i,s=t.useContext(a);if(s)return s;if(r!==void 0)return r;if(!o)throw Error(`\`${n}\` must be used within \`${e}\``)}return i(s,`useContext`),[o,s]}i(a,`createContext`);function o(e,r=[]){let a=[];function o(r,o){let s=t.createContext(o);s.displayName=r+`Context`;let c=a.length;a=[...a,o];let l=i(r=>{let{scope:i,children:a,...o}=r,l=i?.[e]?.[c]||s,u=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(l.Provider,{value:u,children:a})},`Provider`);l.displayName=r+`Provider`;function u(n,i,a={}){let{optional:l=!1}=a,u=i?.[e]?.[c]||s,d=t.useContext(u);if(d)return d;if(o!==void 0)return o;if(!l)throw Error(`\`${n}\` must be used within \`${r}\``)}return i(u,`useContext`),[l,u]}i(o,`createContext`);let c=i(()=>{let n=a.map(e=>t.createContext(e));return i(function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])},`useScope`)},`createScope`);return c.scopeName=e,[o,s(c,...r)]}i(o,`createContextScope`);function s(...e){let n=e[0];if(e.length===1)return n;let r=i(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return i(function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])},`useComposedScopes`)},`createScope`);return r.scopeName=n.scopeName,r}i(s,`composeContextScopes`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(t,n)=>e(t,`name`,{value:n,configurable:!0}),n=!!(typeof window<`u`&&window.document&&window.document.createElement);function r(e,n,{checkForDefaultPrevented:r=!0}={}){return t(function(t){if(e?.(t),r===!1||!t||!t.defaultPrevented)return n?.(t)},`handleEvent`)}t(r,`composeEventHandlers`);function i(e){if(!n)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}t(i,`getOwnerWindow`);function a(e){if(!n)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}t(a,`getOwnerDocument`);function o(e,t=!1){let{activeElement:n}=a(e);if(!n?.nodeName)return null;if(s(n)&&n.contentDocument)return o(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=a(n).getElementById(e);if(t)return t}}return n}t(o,`getActiveElement`);function s(e){return e.tagName===`IFRAME`}t(s,`isFrame`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-NEeQKKDZ.js"),n=require("./dist-BoNQb2nd.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-v9094Auw.js"),a=require("./dist-DZiOPWLp.js"),o=require("./dist-CGgemr2V.js"),s=require("./dist-YAADIsyo.js"),c=require("./dist-C8Pm6LRc.js"),l=require("./dist-mHQuNOH-.js"),u=require("./dist-C83rnWRv.js");let d=require("react");d=e.r(d,1);let f=require("react/jsx-runtime");var p=Object.defineProperty,m=(e,t)=>p(e,`name`,{value:t,configurable:!0}),h=!1;function g(){let[e,t]=d.useState(h);return d.useEffect(()=>{h||(h=!0,t(!0))},[]),e}m(g,`useIsHydrated`);var _=d.useSyncExternalStore;function v(){return()=>{}}m(v,`subscribe`);function y(){return _(v,()=>!0,()=>!1)}m(y,`useIsHydratedModern`);var b=typeof _==`function`?y:g,x=Object.defineProperty,S=(e,t)=>x(e,`name`,{value:t,configurable:!0}),C=`rovingFocusGroup.onEntryFocus`,w={bubbles:!1,cancelable:!0},T=`RovingFocusGroup`,[E,D,O]=i.t(T),[k,A]=r.t(T,[O]),[j,M]=k(T),N=d.forwardRef(S(function(e,t){return(0,f.jsx)(E.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(E.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(P,{...e,ref:t})})})},`RovingFocusGroup`)),P=d.forwardRef(S(function(e,r){let{__scopeRovingFocusGroup:i,orientation:o,loop:c=!1,dir:p,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:g,onEntryFocus:_,preventScrollOnEntryFocus:v=!1,...y}=e,b=d.useRef(null),x=t.a(r,b),S=l.n(p),[E,O]=s.t({prop:m,defaultProp:h??null,onChange:g,caller:T}),[k,A]=d.useState(!1),M=u.t(_),N=D(i),P=d.useRef(!1),[F,I]=d.useState(0);return d.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(C,M),()=>e.removeEventListener(C,M)},[M]),(0,f.jsx)(j,{scope:i,orientation:o,dir:S,loop:c,currentTabStopId:E,onItemFocus:d.useCallback(e=>O(e),[O]),onItemShiftTab:d.useCallback(()=>A(!0),[]),onFocusableItemAdd:d.useCallback(()=>I(e=>e+1),[]),onFocusableItemRemove:d.useCallback(()=>I(e=>e-1),[]),children:(0,f.jsx)(n.t.div,{tabIndex:k||F===0?-1:0,"data-orientation":o,...y,ref:x,style:{outline:`none`,...e.style},onMouseDown:a.t(e.onMouseDown,()=>{P.current=!0}),onFocus:a.t(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(C,w);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=N().filter(e=>e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),v)}}P.current=!1}),onBlur:a.t(e.onBlur,()=>A(!1))})})},`RovingFocusGroupImpl`)),F=`RovingFocusGroupItem`,I=d.forwardRef(S(function(e,t){let{__scopeRovingFocusGroup:r,focusable:i=!0,active:s=!1,tabStopId:l,children:u,...p}=e,m=c.t(),h=l||m,g=M(F,r),_=g.currentTabStopId===h,v=D(r),{onFocusableItemAdd:y,onFocusableItemRemove:x,currentTabStopId:S}=g,C=b();return o.t(()=>{if(!(!C||!i))return y(),()=>x()},[C,i,y,x]),d.useEffect(()=>{if(!(C||!i))return y(),()=>x()},[C,i,y,x]),(0,f.jsx)(E.ItemSlot,{scope:r,id:h,focusable:i,active:s,children:(0,f.jsx)(n.t.span,{tabIndex:_?0:-1,"data-orientation":g.orientation,...p,ref:t,onMouseDown:a.t(e.onMouseDown,e=>{i?g.onItemFocus(h):e.preventDefault()}),onFocus:a.t(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:a.t(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=z(e,g.orientation,g.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=v().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=g.loop?V(n,r+1):n.slice(r+1)}setTimeout(()=>B(n))}}),children:typeof u==`function`?u({isCurrentTabStop:_,hasTabStop:S!=null}):u})})},`RovingFocusGroupItem`)),L={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function R(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}S(R,`getDirectionAwareKey`);function z(e,t,n){let r=R(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return L[r]}S(z,`getFocusIntent`);function B(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}S(B,`focusFirst`);function V(e,t){return e.map((n,r)=>e[(t+r)%e.length])}S(V,`wrapArray`);var H=N,U=I;Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return U}});
|