@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740498210
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/Backdrop-COarwgJj.cjs +1 -0
- package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
- package/dist/Box-C0mEbUoK.cjs +1 -0
- package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
- package/dist/Button-1tZRtOeG.cjs +1 -0
- package/dist/Button-rxIER0bL.js +662 -0
- package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
- package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
- package/dist/CardContent-BXjX98Jd.cjs +1 -0
- package/dist/CardContent-u1MKaFvP.js +226 -0
- package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
- package/dist/Checkbox-C6CIGK27.cjs +1 -0
- package/dist/Chip-6-zATjcr.js +521 -0
- package/dist/Chip-CAPnyZyW.cjs +1 -0
- package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
- package/dist/CircularProgress-DTVP6gln.cjs +28 -0
- package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
- package/dist/CloseRounded-DTpqUeWr.js +8 -0
- package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
- package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
- package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
- package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
- package/dist/Dialog-CgBiKk8B.js +477 -0
- package/dist/Dialog-Cmv58WoN.cjs +1 -0
- package/dist/DialogContent-CGEdCDYk.cjs +1 -0
- package/dist/{DialogContent-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
- package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
- package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
- package/dist/Divider-D_LVNUqS.cjs +1 -0
- package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
- package/dist/FormLabel-D0gSgwnj.cjs +2 -0
- package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
- package/dist/Grow-D7scX77o.cjs +1 -0
- package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
- package/dist/{IconButton-CekuyD4r.js → IconButton-B4bt0Hp2.js} +134 -67
- package/dist/IconButton-Edo5JMfQ.cjs +2 -0
- package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
- package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
- package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
- package/dist/InputBase-CgOQ0M4_.cjs +3 -0
- package/dist/Link-CAbb9OCV.cjs +1 -0
- package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
- package/dist/Menu-C-R0FVOB.cjs +7 -0
- package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
- package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
- package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
- package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
- package/dist/Modal-D8lS9C1l.cjs +2 -0
- package/dist/Paper-C-oPGpbI.cjs +2 -0
- package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
- package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
- package/dist/Popper-uw9PkkLY.cjs +4 -0
- package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
- package/dist/Portal-bIKnnWR4.cjs +1 -0
- package/dist/Radio-BxMxeQa-.js +567 -0
- package/dist/Radio-CvCkmq8g.cjs +1 -0
- package/dist/RadioGroup-BLrD8_Lp.js +190 -0
- package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
- package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
- package/dist/Select-KMdcuol6.cjs +3 -0
- package/dist/Stack-C6v70ALA.cjs +1 -0
- package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
- package/dist/Switch-BOpqo-TS.js +329 -0
- package/dist/Switch-DF4bSjED.cjs +1 -0
- package/dist/SwitchBase-7zONZyYP.cjs +1 -0
- package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
- package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
- package/dist/Tabs-Dploq_37.cjs +4 -0
- package/dist/TextField-BC7GvvHh.cjs +1 -0
- package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
- package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
- package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
- package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
- package/dist/Tooltip-CWA-GKdK.cjs +4 -0
- package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
- package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
- package/dist/Typography-DEAE8-8u.cjs +1 -0
- package/dist/components/Alert/Alert.es.js +13 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Button/Button.es.js +12 -325
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +12 -14
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.d.ts +2 -0
- package/dist/components/Dropzone/Dropzone.es.js +22 -19
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileIcon.cjs.js +1 -0
- package/dist/components/FileList/FileIcon.d.ts +3 -0
- package/dist/components/FileList/FileIcon.es.js +56 -0
- package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
- package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
- package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.d.ts +5 -3
- package/dist/components/FileList/FileList.es.js +22 -15
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.d.ts +9 -5
- package/dist/components/FileList/FileListItem.es.js +117 -24
- package/dist/components/FileList/utils.cjs.js +1 -0
- package/dist/components/FileList/utils.d.ts +2 -0
- package/dist/components/FileList/utils.es.js +13 -0
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.d.ts +1 -2
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.d.ts +2 -2
- package/dist/components/QueryError/QueryError.es.js +14 -14
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
- package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
- package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
- package/dist/components/ResourceCard/index.cjs.js +1 -0
- package/dist/components/ResourceCard/index.d.ts +2 -0
- package/dist/components/ResourceCard/index.es.js +4 -0
- package/dist/components/ResourceCard/style.cjs.js +1 -0
- package/dist/components/ResourceCard/style.es.js +125 -0
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -2
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.es.js +348 -294
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +17 -168
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +5 -5
- package/dist/components/stories/Chip.stories.cjs.js +1 -0
- package/dist/components/stories/Chip.stories.d.ts +10 -0
- package/dist/components/stories/Chip.stories.es.js +77 -0
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +5 -5
- package/dist/components/stories/FileList.stories.cjs.js +8 -1
- package/dist/components/stories/FileList.stories.es.js +144 -20
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +16 -16
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +19 -115
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
- package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
- package/dist/components/stories/ResourceCard.stories.es.js +141 -0
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +14 -14
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +3 -3
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
- package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
- package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
- package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
- package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
- package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
- package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
- package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
- package/dist/hooks/lazySvgImport.d.ts +1 -1
- package/dist/identifier-5n4d7br9.cjs +75 -0
- package/dist/identifier-D58rA1gM.js +3267 -0
- package/dist/index-5BAFzrXD.cjs +1 -0
- package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
- package/dist/index-CFm-oAsb.cjs +1 -0
- package/dist/index-CJW5gB6d.cjs +5 -0
- package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
- package/dist/index-DwHI-aa0.js +45 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +348 -294
- package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
- package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
- package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
- package/dist/refType-CjW6JOBA.cjs +1 -0
- package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
- package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
- package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useSlot-CZNcsPv1.js +48 -0
- package/dist/useSlot-CyXLaLc2.cjs +1 -0
- package/dist/useTheme-Bi8B4Op1.cjs +1 -0
- package/dist/useTheme-C_2IF7CS.cjs +1 -0
- package/dist/useTheme-Clhsq4HW.js +11 -0
- package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
- package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
- package/dist/useThemeProps-C6qniHmV.js +17 -0
- package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
- package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
- package/dist/utils-D4if93Yl.cjs +1 -0
- package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
- package/package.json +9 -9
- package/dist/Backdrop-CvufxHMY.cjs +0 -1
- package/dist/Box-mP2Th61z.cjs +0 -1
- package/dist/Button-BH9MUvmz.cjs +0 -1
- package/dist/Button-BnNYfQ3E.js +0 -484
- package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
- package/dist/Card-AJG0TUOx.js +0 -74
- package/dist/Card-NqCXQteq.cjs +0 -1
- package/dist/Checkbox-DYrDbdy1.cjs +0 -1
- package/dist/CircularProgress-BByrCLjv.cjs +0 -28
- package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
- package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
- package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
- package/dist/Delete-BkZN7Xu5.js +0 -8
- package/dist/Delete-D1EiKoL5.cjs +0 -1
- package/dist/Dialog-D_lS4J_M.js +0 -415
- package/dist/Dialog-yOrNcHbG.cjs +0 -1
- package/dist/DialogContent-Dj_OjLZ6.cjs +0 -1
- package/dist/DialogTitle-BboPDaoB.cjs +0 -1
- package/dist/Divider-CcrM3lNn.cjs +0 -1
- package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
- package/dist/FormControlLabel-BmrKQtQA.js +0 -262
- package/dist/FormGroup-CbczEc6e.js +0 -95
- package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
- package/dist/FormLabel-D1uvEhsH.cjs +0 -2
- package/dist/Grow-CUBJs6WD.cjs +0 -1
- package/dist/IconButton-CJfzspZK.cjs +0 -2
- package/dist/InputAdornment-Cq0WhPxF.cjs +0 -1
- package/dist/InputBase-s1fk8TB4.cjs +0 -3
- package/dist/Link-CWczkFp0.cjs +0 -1
- package/dist/Menu-Bsx8PA-q.cjs +0 -7
- package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
- package/dist/Modal-DImrEpYJ.cjs +0 -2
- package/dist/Paper-Cr56xkCr.cjs +0 -2
- package/dist/Popper-YT5WAMV-.cjs +0 -4
- package/dist/Portal-DF0RKOcD.cjs +0 -1
- package/dist/Radio-CVAEGXKi.cjs +0 -1
- package/dist/Radio-DGhot3Cd.js +0 -313
- package/dist/Select-CwAWNiiv.cjs +0 -3
- package/dist/Stack-Yq6rb7iK.cjs +0 -1
- package/dist/SwitchBase-DjIY_KWB.cjs +0 -1
- package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
- package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
- package/dist/Tabs-KG4VWw-1.cjs +0 -4
- package/dist/TextField-BI9KVqjC.cjs +0 -1
- package/dist/Tooltip-DhDtvULK.cjs +0 -4
- package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
- package/dist/Typography-DfRMDngd.cjs +0 -1
- package/dist/capitalize-B3GG7Wn6.cjs +0 -1
- package/dist/capitalize-CkF8kU4n.js +0 -9
- package/dist/createSvgIcon--rEClVU7.cjs +0 -1
- package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
- package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
- package/dist/extendSxProp-apyK-EBz.cjs +0 -1
- package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
- package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
- package/dist/index-Aa73Kpym.cjs +0 -1
- package/dist/index-ChM1Ett8.cjs +0 -5
- package/dist/index-Cw0GDedk.cjs +0 -17
- package/dist/index-DXD5J5Eu.js +0 -186
- package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
- package/dist/refType-CoaxQOPt.cjs +0 -1
- package/dist/useSlot-BTpHG6jf.js +0 -50
- package/dist/useSlot-CByalpSD.cjs +0 -1
- package/dist/useSlotProps-B31YQlzb.js +0 -45
- package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
- package/dist/useTheme-Cy5kyKJF.cjs +0 -1
- package/dist/useTheme-Dukx-__T.cjs +0 -1
- package/dist/useTheme-DyaNKf4e.js +0 -11
- package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
- package/dist/useThemeProps-CwEQ4bv2.js +0 -24
- package/dist/utils-vmyQ2IaS.cjs +0 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";const it=require("./index-5BAFzrXD.cjs"),a=require("./identifier-5n4d7br9.cjs"),Et=require("react"),Pe=require("react/jsx-runtime"),Ge=require("./ownerDocument-4MViGo3k.cjs"),fe=require("./Portal-bIKnnWR4.cjs"),Je=require("./useForkRef-CTI33h-3.cjs"),Ke=require("./useEnhancedEffect-BQZ6dtCo.cjs"),Ce=require("./DefaultPropsProvider-QmkL7lbM.cjs"),st=require("./refType-CjW6JOBA.cjs"),Rt=require("./chainPropTypes-CEUi6Jb4.cjs");function jt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const W=jt(Et);var B="top",H="bottom",N="right",k="left",Be="auto",ue=[B,H,N,k],ee="start",ce="end",At="clippingParents",pt="viewport",ie="popper",Dt="reference",Qe=ue.reduce(function(e,t){return e.concat([t+"-"+ee,t+"-"+ce])},[]),ft=[].concat(ue,[Be]).reduce(function(e,t){return e.concat([t,t+"-"+ee,t+"-"+ce])},[]),Mt="beforeRead",Ct="read",Bt="afterRead",kt="beforeMain",St="main",$t="afterMain",Lt="beforeWrite",Wt="write",qt="afterWrite",Ht=[Mt,Ct,Bt,kt,St,$t,Lt,Wt,qt];function U(e){return e?(e.nodeName||"").toLowerCase():null}function L(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Z(e){var t=L(e).Element;return e instanceof t||e instanceof Element}function q(e){var t=L(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ke(e){if(typeof ShadowRoot>"u")return!1;var t=L(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Nt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},s=t.elements[r];!q(s)||!U(s)||(Object.assign(s.style,o),Object.keys(n).forEach(function(c){var i=n[c];i===!1?s.removeAttribute(c):s.setAttribute(c,i===!0?"":i)}))})}function Vt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],s=t.attributes[o]||{},c=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),i=c.reduce(function(p,l){return p[l]="",p},{});!q(n)||!U(n)||(Object.assign(n.style,i),Object.keys(s).forEach(function(p){n.removeAttribute(p)}))})}}const Ut={name:"applyStyles",enabled:!0,phase:"write",fn:Nt,effect:Vt,requires:["computeStyles"]};function V(e){return e.split("-")[0]}var Q=Math.max,Te=Math.min,te=Math.round;function De(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ct(){return!/^((?!chrome|android).)*safari/i.test(De())}function re(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,s=1;t&&q(e)&&(n=e.offsetWidth>0&&te(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&te(o.height)/e.offsetHeight||1);var c=Z(e)?L(e):window,i=c.visualViewport,p=!ct()&&r,l=(o.left+(p&&i?i.offsetLeft:0))/n,f=(o.top+(p&&i?i.offsetTop:0))/s,h=o.width/n,b=o.height/s;return{width:h,height:b,top:f,right:l+h,bottom:f+b,left:l,x:l,y:f}}function Se(e){var t=re(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function lt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&ke(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function X(e){return L(e).getComputedStyle(e)}function Ft(e){return["table","td","th"].indexOf(U(e))>=0}function z(e){return((Z(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oe(e){return U(e)==="html"?e:e.assignedSlot||e.parentNode||(ke(e)?e.host:null)||z(e)}function Ze(e){return!q(e)||X(e).position==="fixed"?null:e.offsetParent}function It(e){var t=/firefox/i.test(De()),r=/Trident/i.test(De());if(r&&q(e)){var o=X(e);if(o.position==="fixed")return null}var n=Oe(e);for(ke(n)&&(n=n.host);q(n)&&["html","body"].indexOf(U(n))<0;){var s=X(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function de(e){for(var t=L(e),r=Ze(e);r&&Ft(r)&&X(r).position==="static";)r=Ze(r);return r&&(U(r)==="html"||U(r)==="body"&&X(r).position==="static")?t:r||It(e)||t}function $e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function se(e,t,r){return Q(e,Te(t,r))}function Xt(e,t,r){var o=se(e,t,r);return o>r?r:o}function ut(){return{top:0,right:0,bottom:0,left:0}}function dt(e){return Object.assign({},ut(),e)}function vt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var Yt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,dt(typeof t!="number"?t:vt(t,ue))};function zt(e){var t,r=e.state,o=e.name,n=e.options,s=r.elements.arrow,c=r.modifiersData.popperOffsets,i=V(r.placement),p=$e(i),l=[k,N].indexOf(i)>=0,f=l?"height":"width";if(!(!s||!c)){var h=Yt(n.padding,r),b=Se(s),u=p==="y"?B:k,w=p==="y"?H:N,v=r.rects.reference[f]+r.rects.reference[p]-c[p]-r.rects.popper[f],y=c[p]-r.rects.reference[p],P=de(s),O=P?p==="y"?P.clientHeight||0:P.clientWidth||0:0,T=v/2-y/2,d=h[u],m=O-b[f]-h[w],g=O/2-b[f]/2+T,x=se(d,g,m),j=p;r.modifiersData[o]=(t={},t[j]=x,t.centerOffset=x-g,t)}}function Gt(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||lt(t.elements.popper,n)&&(t.elements.arrow=n))}const Jt={name:"arrow",enabled:!0,phase:"main",fn:zt,effect:Gt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function oe(e){return e.split("-")[1]}var Kt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qt(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:te(r*n)/n||0,y:te(o*n)/n||0}}function _e(e){var t,r=e.popper,o=e.popperRect,n=e.placement,s=e.variation,c=e.offsets,i=e.position,p=e.gpuAcceleration,l=e.adaptive,f=e.roundOffsets,h=e.isFixed,b=c.x,u=b===void 0?0:b,w=c.y,v=w===void 0?0:w,y=typeof f=="function"?f({x:u,y:v}):{x:u,y:v};u=y.x,v=y.y;var P=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),T=k,d=B,m=window;if(l){var g=de(r),x="clientHeight",j="clientWidth";if(g===L(r)&&(g=z(r),X(g).position!=="static"&&i==="absolute"&&(x="scrollHeight",j="scrollWidth")),g=g,n===B||(n===k||n===N)&&s===ce){d=H;var E=h&&g===m&&m.visualViewport?m.visualViewport.height:g[x];v-=E-o.height,v*=p?1:-1}if(n===k||(n===B||n===H)&&s===ce){T=N;var R=h&&g===m&&m.visualViewport?m.visualViewport.width:g[j];u-=R-o.width,u*=p?1:-1}}var A=Object.assign({position:i},l&&Kt),S=f===!0?Qt({x:u,y:v},L(r)):{x:u,y:v};if(u=S.x,v=S.y,p){var M;return Object.assign({},A,(M={},M[d]=O?"0":"",M[T]=P?"0":"",M.transform=(m.devicePixelRatio||1)<=1?"translate("+u+"px, "+v+"px)":"translate3d("+u+"px, "+v+"px, 0)",M))}return Object.assign({},A,(t={},t[d]=O?v+"px":"",t[T]=P?u+"px":"",t.transform="",t))}function Zt(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,s=r.adaptive,c=s===void 0?!0:s,i=r.roundOffsets,p=i===void 0?!0:i,l={placement:V(t.placement),variation:oe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,_e(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:p})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,_e(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const _t={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zt,data:{}};var ge={passive:!0};function er(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,s=n===void 0?!0:n,c=o.resize,i=c===void 0?!0:c,p=L(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&l.forEach(function(f){f.addEventListener("scroll",r.update,ge)}),i&&p.addEventListener("resize",r.update,ge),function(){s&&l.forEach(function(f){f.removeEventListener("scroll",r.update,ge)}),i&&p.removeEventListener("resize",r.update,ge)}}const tr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:er,data:{}};var rr={left:"right",right:"left",bottom:"top",top:"bottom"};function be(e){return e.replace(/left|right|bottom|top/g,function(t){return rr[t]})}var or={start:"end",end:"start"};function et(e){return e.replace(/start|end/g,function(t){return or[t]})}function Le(e){var t=L(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function We(e){return re(z(e)).left+Le(e).scrollLeft}function nr(e,t){var r=L(e),o=z(e),n=r.visualViewport,s=o.clientWidth,c=o.clientHeight,i=0,p=0;if(n){s=n.width,c=n.height;var l=ct();(l||!l&&t==="fixed")&&(i=n.offsetLeft,p=n.offsetTop)}return{width:s,height:c,x:i+We(e),y:p}}function ar(e){var t,r=z(e),o=Le(e),n=(t=e.ownerDocument)==null?void 0:t.body,s=Q(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),c=Q(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),i=-o.scrollLeft+We(e),p=-o.scrollTop;return X(n||r).direction==="rtl"&&(i+=Q(r.clientWidth,n?n.clientWidth:0)-s),{width:s,height:c,x:i,y:p}}function qe(e){var t=X(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function yt(e){return["html","body","#document"].indexOf(U(e))>=0?e.ownerDocument.body:q(e)&&qe(e)?e:yt(Oe(e))}function pe(e,t){var r;t===void 0&&(t=[]);var o=yt(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),s=L(o),c=n?[s].concat(s.visualViewport||[],qe(o)?o:[]):o,i=t.concat(c);return n?i:i.concat(pe(Oe(c)))}function Me(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ir(e,t){var r=re(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function tt(e,t,r){return t===pt?Me(nr(e,r)):Z(t)?ir(t,r):Me(ar(z(e)))}function sr(e){var t=pe(Oe(e)),r=["absolute","fixed"].indexOf(X(e).position)>=0,o=r&&q(e)?de(e):e;return Z(o)?t.filter(function(n){return Z(n)&<(n,o)&&U(n)!=="body"}):[]}function pr(e,t,r,o){var n=t==="clippingParents"?sr(e):[].concat(t),s=[].concat(n,[r]),c=s[0],i=s.reduce(function(p,l){var f=tt(e,l,o);return p.top=Q(f.top,p.top),p.right=Te(f.right,p.right),p.bottom=Te(f.bottom,p.bottom),p.left=Q(f.left,p.left),p},tt(e,c,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function ht(e){var t=e.reference,r=e.element,o=e.placement,n=o?V(o):null,s=o?oe(o):null,c=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,p;switch(n){case B:p={x:c,y:t.y-r.height};break;case H:p={x:c,y:t.y+t.height};break;case N:p={x:t.x+t.width,y:i};break;case k:p={x:t.x-r.width,y:i};break;default:p={x:t.x,y:t.y}}var l=n?$e(n):null;if(l!=null){var f=l==="y"?"height":"width";switch(s){case ee:p[l]=p[l]-(t[f]/2-r[f]/2);break;case ce:p[l]=p[l]+(t[f]/2-r[f]/2);break}}return p}function le(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,s=r.strategy,c=s===void 0?e.strategy:s,i=r.boundary,p=i===void 0?At:i,l=r.rootBoundary,f=l===void 0?pt:l,h=r.elementContext,b=h===void 0?ie:h,u=r.altBoundary,w=u===void 0?!1:u,v=r.padding,y=v===void 0?0:v,P=dt(typeof y!="number"?y:vt(y,ue)),O=b===ie?Dt:ie,T=e.rects.popper,d=e.elements[w?O:b],m=pr(Z(d)?d:d.contextElement||z(e.elements.popper),p,f,c),g=re(e.elements.reference),x=ht({reference:g,element:T,placement:n}),j=Me(Object.assign({},T,x)),E=b===ie?j:g,R={top:m.top-E.top+P.top,bottom:E.bottom-m.bottom+P.bottom,left:m.left-E.left+P.left,right:E.right-m.right+P.right},A=e.modifiersData.offset;if(b===ie&&A){var S=A[n];Object.keys(R).forEach(function(M){var F=[N,H].indexOf(M)>=0?1:-1,I=[B,H].indexOf(M)>=0?"y":"x";R[M]+=S[I]*F})}return R}function fr(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,s=r.rootBoundary,c=r.padding,i=r.flipVariations,p=r.allowedAutoPlacements,l=p===void 0?ft:p,f=oe(o),h=f?i?Qe:Qe.filter(function(w){return oe(w)===f}):ue,b=h.filter(function(w){return l.indexOf(w)>=0});b.length===0&&(b=h);var u=b.reduce(function(w,v){return w[v]=le(e,{placement:v,boundary:n,rootBoundary:s,padding:c})[V(v)],w},{});return Object.keys(u).sort(function(w,v){return u[w]-u[v]})}function cr(e){if(V(e)===Be)return[];var t=be(e);return[et(e),t,et(t)]}function lr(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,s=n===void 0?!0:n,c=r.altAxis,i=c===void 0?!0:c,p=r.fallbackPlacements,l=r.padding,f=r.boundary,h=r.rootBoundary,b=r.altBoundary,u=r.flipVariations,w=u===void 0?!0:u,v=r.allowedAutoPlacements,y=t.options.placement,P=V(y),O=P===y,T=p||(O||!w?[be(y)]:cr(y)),d=[y].concat(T).reduce(function(_,Y){return _.concat(V(Y)===Be?fr(t,{placement:Y,boundary:f,rootBoundary:h,padding:l,flipVariations:w,allowedAutoPlacements:v}):Y)},[]),m=t.rects.reference,g=t.rects.popper,x=new Map,j=!0,E=d[0],R=0;R<d.length;R++){var A=d[R],S=V(A),M=oe(A)===ee,F=[B,H].indexOf(S)>=0,I=F?"width":"height",D=le(t,{placement:A,boundary:f,rootBoundary:h,altBoundary:b,padding:l}),C=F?M?N:k:M?H:B;m[I]>g[I]&&(C=be(C));var $=be(C),G=[];if(s&&G.push(D[S]<=0),i&&G.push(D[C]<=0,D[$]<=0),G.every(function(_){return _})){E=A,j=!1;break}x.set(A,G)}if(j)for(var ve=w?3:1,Ee=function(Y){var ae=d.find(function(he){var J=x.get(he);if(J)return J.slice(0,Y).every(function(Re){return Re})});if(ae)return E=ae,"break"},ne=ve;ne>0;ne--){var ye=Ee(ne);if(ye==="break")break}t.placement!==E&&(t.modifiersData[o]._skip=!0,t.placement=E,t.reset=!0)}}const ur={name:"flip",enabled:!0,phase:"main",fn:lr,requiresIfExists:["offset"],data:{_skip:!1}};function rt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ot(e){return[B,N,H,k].some(function(t){return e[t]>=0})}function dr(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,c=le(t,{elementContext:"reference"}),i=le(t,{altBoundary:!0}),p=rt(c,o),l=rt(i,n,s),f=ot(p),h=ot(l);t.modifiersData[r]={referenceClippingOffsets:p,popperEscapeOffsets:l,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}const vr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dr};function yr(e,t,r){var o=V(e),n=[k,B].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=s[0],i=s[1];return c=c||0,i=(i||0)*n,[k,N].indexOf(o)>=0?{x:i,y:c}:{x:c,y:i}}function hr(e){var t=e.state,r=e.options,o=e.name,n=r.offset,s=n===void 0?[0,0]:n,c=ft.reduce(function(f,h){return f[h]=yr(h,t.rects,s),f},{}),i=c[t.placement],p=i.x,l=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=c}const mr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hr};function gr(e){var t=e.state,r=e.name;t.modifiersData[r]=ht({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const br={name:"popperOffsets",enabled:!0,phase:"read",fn:gr,data:{}};function Pr(e){return e==="x"?"y":"x"}function Tr(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,s=n===void 0?!0:n,c=r.altAxis,i=c===void 0?!1:c,p=r.boundary,l=r.rootBoundary,f=r.altBoundary,h=r.padding,b=r.tether,u=b===void 0?!0:b,w=r.tetherOffset,v=w===void 0?0:w,y=le(t,{boundary:p,rootBoundary:l,padding:h,altBoundary:f}),P=V(t.placement),O=oe(t.placement),T=!O,d=$e(P),m=Pr(d),g=t.modifiersData.popperOffsets,x=t.rects.reference,j=t.rects.popper,E=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,R=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(g){if(s){var M,F=d==="y"?B:k,I=d==="y"?H:N,D=d==="y"?"height":"width",C=g[d],$=C+y[F],G=C-y[I],ve=u?-j[D]/2:0,Ee=O===ee?x[D]:j[D],ne=O===ee?-j[D]:-x[D],ye=t.elements.arrow,_=u&&ye?Se(ye):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ut(),ae=Y[F],he=Y[I],J=se(0,x[D],_[D]),Re=T?x[D]/2-ve-J-ae-R.mainAxis:Ee-J-ae-R.mainAxis,bt=T?-x[D]/2+ve+J+he+R.mainAxis:ne+J+he+R.mainAxis,je=t.elements.arrow&&de(t.elements.arrow),Pt=je?d==="y"?je.clientTop||0:je.clientLeft||0:0,He=(M=A==null?void 0:A[d])!=null?M:0,Tt=C+Re-He-Pt,wt=C+bt-He,Ne=se(u?Te($,Tt):$,C,u?Q(G,wt):G);g[d]=Ne,S[d]=Ne-C}if(i){var Ve,Ot=d==="x"?B:k,xt=d==="x"?H:N,K=g[m],me=m==="y"?"height":"width",Ue=K+y[Ot],Fe=K-y[xt],Ae=[B,k].indexOf(P)!==-1,Ie=(Ve=A==null?void 0:A[m])!=null?Ve:0,Xe=Ae?Ue:K-x[me]-j[me]-Ie+R.altAxis,Ye=Ae?K+x[me]+j[me]-Ie-R.altAxis:Fe,ze=u&&Ae?Xt(Xe,K,Ye):se(u?Xe:Ue,K,u?Ye:Fe);g[m]=ze,S[m]=ze-K}t.modifiersData[o]=S}}const wr={name:"preventOverflow",enabled:!0,phase:"main",fn:Tr,requiresIfExists:["offset"]};function Or(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function xr(e){return e===L(e)||!q(e)?Le(e):Or(e)}function Er(e){var t=e.getBoundingClientRect(),r=te(t.width)/e.offsetWidth||1,o=te(t.height)/e.offsetHeight||1;return r!==1||o!==1}function Rr(e,t,r){r===void 0&&(r=!1);var o=q(t),n=q(t)&&Er(t),s=z(t),c=re(e,n,r),i={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!r)&&((U(t)!=="body"||qe(s))&&(i=xr(t)),q(t)?(p=re(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=We(s))),{x:c.left+i.scrollLeft-p.x,y:c.top+i.scrollTop-p.y,width:c.width,height:c.height}}function jr(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function n(s){r.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(i){if(!r.has(i)){var p=t.get(i);p&&n(p)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||n(s)}),o}function Ar(e){var t=jr(e);return Ht.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function Dr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Mr(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var nt={placement:"bottom",modifiers:[],strategy:"absolute"};function at(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Cr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,s=n===void 0?nt:n;return function(i,p,l){l===void 0&&(l=s);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},nt,s),modifiersData:{},elements:{reference:i,popper:p},attributes:{},styles:{}},h=[],b=!1,u={state:f,setOptions:function(P){var O=typeof P=="function"?P(f.options):P;v(),f.options=Object.assign({},s,f.options,O),f.scrollParents={reference:Z(i)?pe(i):i.contextElement?pe(i.contextElement):[],popper:pe(p)};var T=Ar(Mr([].concat(o,f.options.modifiers)));return f.orderedModifiers=T.filter(function(d){return d.enabled}),w(),u.update()},forceUpdate:function(){if(!b){var P=f.elements,O=P.reference,T=P.popper;if(at(O,T)){f.rects={reference:Rr(O,de(T),f.options.strategy==="fixed"),popper:Se(T)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(R){return f.modifiersData[R.name]=Object.assign({},R.data)});for(var d=0;d<f.orderedModifiers.length;d++){if(f.reset===!0){f.reset=!1,d=-1;continue}var m=f.orderedModifiers[d],g=m.fn,x=m.options,j=x===void 0?{}:x,E=m.name;typeof g=="function"&&(f=g({state:f,options:j,name:E,instance:u})||f)}}}},update:Dr(function(){return new Promise(function(y){u.forceUpdate(),y(f)})}),destroy:function(){v(),b=!0}};if(!at(i,p))return u;u.setOptions(l).then(function(y){!b&&l.onFirstUpdate&&l.onFirstUpdate(y)});function w(){f.orderedModifiers.forEach(function(y){var P=y.name,O=y.options,T=O===void 0?{}:O,d=y.effect;if(typeof d=="function"){var m=d({state:f,name:P,instance:u,options:T}),g=function(){};h.push(m||g)}})}function v(){h.forEach(function(y){return y()}),h=[]}return u}}var Br=[tr,br,_t,Ut,mr,ur,wr,Jt,vr],kr=Cr({defaultModifiers:Br});function Sr(e){return a.generateUtilityClass("MuiPopper",e)}a.generateUtilityClasses("MuiPopper",["root"]);function $r(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function we(e){return typeof e=="function"?e():e}function xe(e){return e.nodeType!==void 0}function Lr(e){return!xe(e)}const Wr=e=>{const{classes:t}=e,r={root:["root"]};return Ce.composeClasses(r,Sr,t)},qr={},Hr=W.forwardRef(function(t,r){const{anchorEl:o,children:n,direction:s,disablePortal:c,modifiers:i,open:p,placement:l,popperOptions:f,popperRef:h,slotProps:b={},slots:u={},TransitionProps:w,ownerState:v,...y}=t,P=W.useRef(null),O=Je.useForkRef(P,r),T=W.useRef(null),d=Je.useForkRef(T,h),m=W.useRef(d);Ke.useEnhancedEffect(()=>{m.current=d},[d]),W.useImperativeHandle(h,()=>T.current,[]);const g=$r(l,s),[x,j]=W.useState(g),[E,R]=W.useState(we(o));W.useEffect(()=>{T.current&&T.current.forceUpdate()}),W.useEffect(()=>{o&&R(we(o))},[o]),Ke.useEnhancedEffect(()=>{if(!E||!p)return;const I=$=>{j($.placement)};if(process.env.NODE_ENV!=="production"&&E&&xe(E)&&E.nodeType===1){const $=E.getBoundingClientRect();process.env.NODE_ENV!=="test"&&$.top===0&&$.left===0&&$.right===0&&$.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
2
|
+
`))}let D=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:$})=>{I($)}}];i!=null&&(D=D.concat(i)),f&&f.modifiers!=null&&(D=D.concat(f.modifiers));const C=kr(E,P.current,{placement:g,...f,modifiers:D});return m.current(C),()=>{C.destroy(),m.current(null)}},[E,c,i,p,f,g]);const A={placement:x};w!==null&&(A.TransitionProps=w);const S=Wr(t),M=u.root??"div",F=it.useSlotProps({elementType:M,externalSlotProps:b.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:O},ownerState:t,className:S.root});return Pe.jsx(M,{...F,children:typeof n=="function"?n(A):n})}),mt=W.forwardRef(function(t,r){const{anchorEl:o,children:n,container:s,direction:c="ltr",disablePortal:i=!1,keepMounted:p=!1,modifiers:l,open:f,placement:h="bottom",popperOptions:b=qr,popperRef:u,style:w,transition:v=!1,slotProps:y={},slots:P={},...O}=t,[T,d]=W.useState(!0),m=()=>{d(!1)},g=()=>{d(!0)};if(!p&&!f&&(!v||T))return null;let x;if(s)x=s;else if(o){const R=we(o);x=R&&xe(R)?Ge.ownerDocument(R).body:Ge.ownerDocument(null).body}const j=!f&&p&&(!v||T)?"none":void 0,E=v?{in:f,onEnter:m,onExited:g}:void 0;return Pe.jsx(fe.Portal,{disablePortal:i,container:x,children:Pe.jsx(Hr,{anchorEl:o,direction:c,disablePortal:i,modifiers:l,ref:r,open:v?!T:f,placement:h,popperOptions:b,popperRef:u,slotProps:y,slots:P,...O,style:{position:"fixed",top:0,left:0,display:j,...w},TransitionProps:E,children:n})})});process.env.NODE_ENV!=="production"&&(mt.propTypes={anchorEl:Rt.chainPropTypes(a.PropTypes.oneOfType([fe.HTMLElementType,a.PropTypes.object,a.PropTypes.func]),e=>{if(e.open){const t=we(e.anchorEl);if(t&&xe(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
3
|
+
`))}else if(!t||typeof t.getBoundingClientRect!="function"||Lr(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
4
|
+
`))}return null}),children:a.PropTypes.oneOfType([a.PropTypes.node,a.PropTypes.func]),container:a.PropTypes.oneOfType([fe.HTMLElementType,a.PropTypes.func]),direction:a.PropTypes.oneOf(["ltr","rtl"]),disablePortal:a.PropTypes.bool,keepMounted:a.PropTypes.bool,modifiers:a.PropTypes.arrayOf(a.PropTypes.shape({data:a.PropTypes.object,effect:a.PropTypes.func,enabled:a.PropTypes.bool,fn:a.PropTypes.func,name:a.PropTypes.any,options:a.PropTypes.object,phase:a.PropTypes.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:a.PropTypes.arrayOf(a.PropTypes.string),requiresIfExists:a.PropTypes.arrayOf(a.PropTypes.string)})),open:a.PropTypes.bool.isRequired,placement:a.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:a.PropTypes.shape({modifiers:a.PropTypes.array,onFirstUpdate:a.PropTypes.func,placement:a.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:a.PropTypes.oneOf(["absolute","fixed"])}),popperRef:st.refType,slotProps:a.PropTypes.shape({root:a.PropTypes.oneOfType([a.PropTypes.func,a.PropTypes.object])}),slots:a.PropTypes.shape({root:a.PropTypes.elementType}),transition:a.PropTypes.bool});const Nr=Ce.styled(mt,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),gt=W.forwardRef(function(t,r){const o=it.useRtl(),n=Ce.useDefaultProps({props:t,name:"MuiPopper"}),{anchorEl:s,component:c,components:i,componentsProps:p,container:l,disablePortal:f,keepMounted:h,modifiers:b,open:u,placement:w,popperOptions:v,popperRef:y,transition:P,slots:O,slotProps:T,...d}=n,m=(O==null?void 0:O.root)??(i==null?void 0:i.Root),g={anchorEl:s,container:l,disablePortal:f,keepMounted:h,modifiers:b,open:u,placement:w,popperOptions:v,popperRef:y,transition:P,...d};return Pe.jsx(Nr,{as:c,direction:o?"rtl":"ltr",slots:{root:m},slotProps:T??p,...g,ref:r})});process.env.NODE_ENV!=="production"&&(gt.propTypes={anchorEl:a.PropTypes.oneOfType([fe.HTMLElementType,a.PropTypes.object,a.PropTypes.func]),children:a.PropTypes.oneOfType([a.PropTypes.node,a.PropTypes.func]),component:a.PropTypes.elementType,components:a.PropTypes.shape({Root:a.PropTypes.elementType}),componentsProps:a.PropTypes.shape({root:a.PropTypes.oneOfType([a.PropTypes.func,a.PropTypes.object])}),container:a.PropTypes.oneOfType([fe.HTMLElementType,a.PropTypes.func]),disablePortal:a.PropTypes.bool,keepMounted:a.PropTypes.bool,modifiers:a.PropTypes.arrayOf(a.PropTypes.shape({data:a.PropTypes.object,effect:a.PropTypes.func,enabled:a.PropTypes.bool,fn:a.PropTypes.func,name:a.PropTypes.any,options:a.PropTypes.object,phase:a.PropTypes.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:a.PropTypes.arrayOf(a.PropTypes.string),requiresIfExists:a.PropTypes.arrayOf(a.PropTypes.string)})),open:a.PropTypes.bool.isRequired,placement:a.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:a.PropTypes.shape({modifiers:a.PropTypes.array,onFirstUpdate:a.PropTypes.func,placement:a.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:a.PropTypes.oneOf(["absolute","fixed"])}),popperRef:st.refType,slotProps:a.PropTypes.shape({root:a.PropTypes.oneOfType([a.PropTypes.func,a.PropTypes.object])}),slots:a.PropTypes.shape({root:a.PropTypes.elementType}),sx:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.oneOfType([a.PropTypes.func,a.PropTypes.object,a.PropTypes.bool])),a.PropTypes.func,a.PropTypes.object]),transition:a.PropTypes.bool});exports.Popper=gt;
|
|
@@ -1,58 +1,53 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import { P as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { u as f } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
1
|
+
import * as u from "react";
|
|
2
|
+
import * as E from "react-dom";
|
|
3
|
+
import { P as p } from "./identifier-D58rA1gM.js";
|
|
4
|
+
import { u as P, s as c } from "./useForkRef-C_4o__cU.js";
|
|
5
|
+
import { g as y } from "./utils-SrEVp7Pm.js";
|
|
6
|
+
import { u as a } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
8
7
|
const N = "exact-prop: ";
|
|
9
|
-
function
|
|
8
|
+
function h(n) {
|
|
10
9
|
return process.env.NODE_ENV === "production" ? n : {
|
|
11
10
|
...n,
|
|
12
|
-
[N]: (
|
|
13
|
-
const r = Object.keys(
|
|
11
|
+
[N]: (s) => {
|
|
12
|
+
const r = Object.keys(s).filter((e) => !n.hasOwnProperty(e));
|
|
14
13
|
return r.length > 0 ? new Error(`The following props are not supported: ${r.map((e) => `\`${e}\``).join(", ")}. Please remove them.`) : null;
|
|
15
14
|
}
|
|
16
15
|
};
|
|
17
16
|
}
|
|
18
|
-
function
|
|
17
|
+
function O(n, s, r, e, l) {
|
|
19
18
|
if (process.env.NODE_ENV === "production")
|
|
20
19
|
return null;
|
|
21
|
-
const t = n[
|
|
20
|
+
const t = n[s], o = l || s;
|
|
22
21
|
return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${e} \`${o}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
|
|
23
22
|
}
|
|
24
|
-
function
|
|
23
|
+
function T(n) {
|
|
25
24
|
return typeof n == "function" ? n() : n;
|
|
26
25
|
}
|
|
27
|
-
const
|
|
26
|
+
const i = /* @__PURE__ */ u.forwardRef(function(s, r) {
|
|
28
27
|
const {
|
|
29
28
|
children: e,
|
|
30
|
-
container:
|
|
29
|
+
container: l,
|
|
31
30
|
disablePortal: t = !1
|
|
32
|
-
} =
|
|
33
|
-
if (
|
|
34
|
-
t ||
|
|
35
|
-
}, [
|
|
31
|
+
} = s, [o, f] = u.useState(null), m = P(/* @__PURE__ */ u.isValidElement(e) ? y(e) : null, r);
|
|
32
|
+
if (a(() => {
|
|
33
|
+
t || f(T(l) || document.body);
|
|
34
|
+
}, [l, t]), a(() => {
|
|
36
35
|
if (o && !t)
|
|
37
|
-
return
|
|
38
|
-
|
|
36
|
+
return c(r, o), () => {
|
|
37
|
+
c(r, null);
|
|
39
38
|
};
|
|
40
39
|
}, [r, o, t]), t) {
|
|
41
|
-
if (/* @__PURE__ */
|
|
42
|
-
const
|
|
43
|
-
ref:
|
|
40
|
+
if (/* @__PURE__ */ u.isValidElement(e)) {
|
|
41
|
+
const d = {
|
|
42
|
+
ref: m
|
|
44
43
|
};
|
|
45
|
-
return /* @__PURE__ */
|
|
44
|
+
return /* @__PURE__ */ u.cloneElement(e, d);
|
|
46
45
|
}
|
|
47
|
-
return
|
|
48
|
-
children: e
|
|
49
|
-
});
|
|
46
|
+
return e;
|
|
50
47
|
}
|
|
51
|
-
return /* @__PURE__ */
|
|
52
|
-
children: o && /* @__PURE__ */ P.createPortal(e, o)
|
|
53
|
-
});
|
|
48
|
+
return o && /* @__PURE__ */ E.createPortal(e, o);
|
|
54
49
|
});
|
|
55
|
-
process.env.NODE_ENV !== "production" && (
|
|
50
|
+
process.env.NODE_ENV !== "production" && (i.propTypes = {
|
|
56
51
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
57
52
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
58
53
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -60,7 +55,7 @@ process.env.NODE_ENV !== "production" && (p.propTypes = {
|
|
|
60
55
|
/**
|
|
61
56
|
* The children to render into the `container`.
|
|
62
57
|
*/
|
|
63
|
-
children:
|
|
58
|
+
children: p.node,
|
|
64
59
|
/**
|
|
65
60
|
* An HTML element or function that returns one.
|
|
66
61
|
* The `container` will have the portal children appended to it.
|
|
@@ -71,16 +66,16 @@ process.env.NODE_ENV !== "production" && (p.propTypes = {
|
|
|
71
66
|
* By default, it uses the body of the top-level document object,
|
|
72
67
|
* so it's simply `document.body` most of the time.
|
|
73
68
|
*/
|
|
74
|
-
container:
|
|
69
|
+
container: p.oneOfType([O, p.func]),
|
|
75
70
|
/**
|
|
76
71
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
77
72
|
* @default false
|
|
78
73
|
*/
|
|
79
|
-
disablePortal:
|
|
74
|
+
disablePortal: p.bool
|
|
80
75
|
});
|
|
81
|
-
process.env.NODE_ENV !== "production" && (
|
|
76
|
+
process.env.NODE_ENV !== "production" && (i.propTypes = h(i.propTypes));
|
|
82
77
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
O as H,
|
|
79
|
+
i as P,
|
|
80
|
+
h as e
|
|
86
81
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const O=require("react"),T=require("react-dom"),l=require("./identifier-5n4d7br9.cjs"),p=require("./useForkRef-CTI33h-3.cjs"),b=require("./utils-D4if93Yl.cjs"),a=require("./useEnhancedEffect-BQZ6dtCo.cjs");function f(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const u=f(O),N=f(T),h="exact-prop: ";function d(e){return process.env.NODE_ENV==="production"?e:{...e,[h]:r=>{const n=Object.keys(r).filter(t=>!e.hasOwnProperty(t));return n.length>0?new Error(`The following props are not supported: ${n.map(t=>`\`${t}\``).join(", ")}. Please remove them.`):null}}}function E(e,r,n,t,s){if(process.env.NODE_ENV==="production")return null;const o=e[r],c=s||r;return o==null?null:o&&o.nodeType!==1?new Error(`Invalid ${t} \`${c}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}function g(e){return typeof e=="function"?e():e}const i=u.forwardRef(function(r,n){const{children:t,container:s,disablePortal:o=!1}=r,[c,P]=u.useState(null),m=p.useForkRef(u.isValidElement(t)?b.getReactElementRef(t):null,n);if(a.useEnhancedEffect(()=>{o||P(g(s)||document.body)},[s,o]),a.useEnhancedEffect(()=>{if(c&&!o)return p.setRef(n,c),()=>{p.setRef(n,null)}},[n,c,o]),o){if(u.isValidElement(t)){const y={ref:m};return u.cloneElement(t,y)}return t}return c&&N.createPortal(t,c)});process.env.NODE_ENV!=="production"&&(i.propTypes={children:l.PropTypes.node,container:l.PropTypes.oneOfType([E,l.PropTypes.func]),disablePortal:l.PropTypes.bool});process.env.NODE_ENV!=="production"&&(i.propTypes=d(i.propTypes));exports.HTMLElementType=E;exports.Portal=i;exports.exactProp=d;
|