@cgi-learning-hub/ui 1.8.0 → 1.9.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/Alert-BH_3hKCB.cjs +1 -0
- package/dist/{Alert-6yOnGlLE.js → Alert-BeVYzSS-.js} +7 -7
- package/dist/Alert-BoYBWOXe.cjs +1 -0
- package/dist/{Alert-D6SQnjuJ.js → Alert-CEu3llDi.js} +15 -14
- package/dist/Autocomplete-BKpavKFW.cjs +6 -0
- package/dist/{Autocomplete-B8u-WYi5.js → Autocomplete-DBZYn4YL.js} +49 -48
- package/dist/{Backdrop-DuOPKUSY.js → Backdrop-BvL371G3.js} +7 -7
- package/dist/Backdrop-qOBrabpf.cjs +1 -0
- package/dist/{Badge-BJ4yH_Da.js → Badge-2Kgbx-Cs.js} +11 -10
- package/dist/Badge-DXl0Da36.cjs +1 -0
- package/dist/{Box-BWETzF5p.js → Box-BaZ7KlAc.js} +4 -4
- package/dist/Box-CYQlQqRB.cjs +1 -0
- package/dist/Button-BP-QmmUu.cjs +1 -0
- package/dist/{Button-C8_HxKFe.js → Button-C1mKNW-c.js} +167 -130
- package/dist/{ButtonBase-CJYV8wgs.js → ButtonBase-C2jRC_V7.js} +7 -7
- package/dist/{ButtonBase-DPIkh47Q.cjs → ButtonBase-DSJojbNE.cjs} +1 -1
- package/dist/CardContent-DVcUynuH.cjs +1 -0
- package/dist/{CardContent-V9JMSLmA.js → CardContent-kIapWv4T.js} +4 -4
- package/dist/Checkbox-DhhuvKO5.cjs +1 -0
- package/dist/{Checkbox-DMMz_IAP.js → Checkbox-RxHWtafR.js} +16 -15
- package/dist/{Chip-BDVqkZZM.js → Chip-DgGmi9yn.js} +13 -12
- package/dist/Chip-n1kY-Dsh.cjs +1 -0
- package/dist/CircularProgress-BOm4zz7e.cjs +28 -0
- package/dist/{CircularProgress-CrWnCGqN.js → CircularProgress-CLq0Rl-1.js} +15 -14
- package/dist/{Close-2eEmvKPH.cjs → Close-DR9m6hv3.cjs} +1 -1
- package/dist/{Close-Cr2OT0GV.js → Close-vu-MZYNA.js} +1 -1
- package/dist/{CloseRounded-B6cT7aGi.cjs → CloseRounded-Cpp6nWQi.cjs} +1 -1
- package/dist/{CloseRounded-BrGeesu1.js → CloseRounded-DF05lCUu.js} +1 -1
- package/dist/{CustomTreeItem-DhB3ECa2.js → CustomTreeItem-AecanDDg.js} +21 -20
- package/dist/CustomTreeItem-BBMp0k4i.cjs +41 -0
- package/dist/{DatePicker-ofISDY8Q.js → DatePicker-Cd-Aj-F8.js} +3905 -3811
- package/dist/DatePicker-Dj7U52Mk.cjs +16 -0
- package/dist/{DefaultPropsProvider-nxIPd34m.js → DefaultPropsProvider-BrmlvPWg.js} +24 -24
- package/dist/DefaultPropsProvider-C1g4BXET.cjs +1 -0
- package/dist/{Delete-BF63Gpr-.cjs → Delete-C36W48MB.cjs} +1 -1
- package/dist/{Delete-CwWpjEOT.js → Delete-DXUljXzP.js} +1 -1
- package/dist/Dialog-C2HYr67H.cjs +1 -0
- package/dist/{Dialog-eK1zTFBm.js → Dialog-D__8rwpw.js} +16 -15
- package/dist/{DialogContent-BsPZJR2a.js → DialogContent-MPwmUJQp.js} +4 -4
- package/dist/DialogContent-lup2v_ab.cjs +1 -0
- package/dist/DialogTitle-B8jOk7ZE.cjs +1 -0
- package/dist/{DialogTitle-CaAd59jN.js → DialogTitle-Dly5D3Ud.js} +6 -6
- package/dist/{Divider-D_gbcyWE.js → Divider-BN12gMv9.js} +5 -5
- package/dist/Divider-wisA5Qp_.cjs +1 -0
- package/dist/{Folder-COKXTjZ4.js → Folder-BSZMyA2L.js} +1 -1
- package/dist/{Folder-D0fZbyc-.cjs → Folder-aAI_w_uF.cjs} +1 -1
- package/dist/FormLabel-ByYWZh7M.cjs +2 -0
- package/dist/{FormLabel-DmLckqyT.js → FormLabel-DtxJI2CU.js} +17 -16
- package/dist/{Grid-vM--ojbL.js → Grid-C0LY-MbT.js} +83 -75
- package/dist/Grid-CPXE25PR.cjs +2 -0
- package/dist/{Grow-ovNT7Sot.cjs → Grow-6zwoqUfO.cjs} +1 -1
- package/dist/{Grow-DE5x7F5S.js → Grow-CeGwnQpw.js} +4 -4
- package/dist/IconButton-BTN16gZi.cjs +2 -0
- package/dist/{IconButton-f9EZgwvD.js → IconButton-DBjiNqOa.js} +17 -16
- package/dist/InputAdornment-C1r1YutO.cjs +1 -0
- package/dist/{InputAdornment-B615VSjF.js → InputAdornment-DuR35FtU.js} +16 -15
- package/dist/InputBase-CxknnWV4.cjs +4 -0
- package/dist/{InputBase-BCbPPzW1.js → InputBase-D5UJOJBu.js} +52 -51
- package/dist/Link-T11NCxGd.cjs +1 -0
- package/dist/{Link-GBRiPElP.js → Link-hWCqsQiI.js} +50 -49
- package/dist/{List-DZkddOsr.js → List-CmJ1jCss.js} +3 -3
- package/dist/List-eQ4D0MvJ.cjs +1 -0
- package/dist/ListItem-CgWgbZ_g.cjs +1 -0
- package/dist/{ListItem-CMoibMI7.js → ListItem-onoPfwb4.js} +6 -6
- package/dist/ListItemText-B-dySXgz.cjs +1 -0
- package/dist/{ListItemText-BbrPf29n.js → ListItemText-BjhXxIIV.js} +10 -10
- package/dist/{Menu-C0uY9Dd0.cjs → Menu-D7B383z4.cjs} +5 -5
- package/dist/{Menu-3UjlpKRJ.js → Menu-DGvAkF5F.js} +32 -32
- package/dist/{MenuItem-CHEWce5u.js → MenuItem-Cusmy5t2.js} +8 -8
- package/dist/MenuItem-D-4xzo-S.cjs +1 -0
- package/dist/Modal-DB9K8sJI.cjs +2 -0
- package/dist/{Modal-Du5LfkZg.js → Modal-DtjScKxh.js} +8 -8
- package/dist/{MoreVert-DZjEMvuw.cjs → MoreVert-BwfUF9pO.cjs} +1 -1
- package/dist/{MoreVert-PLU7h8WO.js → MoreVert-woCQ0dNf.js} +1 -1
- package/dist/{Paper-BylmTlAJ.js → Paper-CZXfHfN_.js} +5 -5
- package/dist/Paper-DcVuAxq3.cjs +2 -0
- package/dist/{Popper-CvQLHjwo.js → Popper-BwuGO_Si.js} +7 -7
- package/dist/Popper-D5Cs38W_.cjs +4 -0
- package/dist/Portal-Cmv45gpL.cjs +1 -0
- package/dist/{Portal-BlK6ttxt.js → Portal-PkRJuFYN.js} +17 -17
- package/dist/{Radio-CbYgci2-.js → Radio-DiyDpiVL.js} +18 -17
- package/dist/Radio-DzKwkI68.cjs +1 -0
- package/dist/RadioGroup-BlkHQVRF.cjs +1 -0
- package/dist/{RadioGroup-D-Cq8SmM.js → RadioGroup-CjUaFqjJ.js} +4 -4
- package/dist/{Select-Bx0yVOZE.js → Select-BxH16ruJ.js} +528 -552
- package/dist/Select-CSQfbogA.cjs +3 -0
- package/dist/Stack-ChvZzNqc.cjs +1 -0
- package/dist/{Stack-CbK4a2n5.js → Stack-pMJEpL7k.js} +17 -17
- package/dist/Stepper-BsfN7O-W.cjs +1 -0
- package/dist/{Stepper-DU9nixCp.js → Stepper-DyH4sgY5.js} +24 -23
- package/dist/{Switch-Bm3Gclye.js → Switch-BgZUmsKc.js} +8 -7
- package/dist/Switch-Dr2jgPGV.cjs +1 -0
- package/dist/SwitchBase-BP_I-APE.cjs +1 -0
- package/dist/{SwitchBase-9CKmTWdZ.js → SwitchBase-BWz31Ed6.js} +22 -21
- package/dist/{Tab-DBCv1T9W.js → Tab-Bksf_S4K.js} +78 -77
- package/dist/Tab-D2mI5G0L.cjs +4 -0
- package/dist/TextField-C9AnzUpZ.cjs +1 -0
- package/dist/{TextField-V-EQ80Y6.js → TextField-Ctx4aW6-.js} +25 -24
- package/dist/ToggleButtonGroup-CBw2I124.cjs +138 -0
- package/dist/{ToggleButtonGroup-_UpIjysl.js → ToggleButtonGroup-DtjRqNbI.js} +1225 -1199
- package/dist/{Tooltip-DKHOTDh0.js → Tooltip-C5AffX17.js} +24 -23
- package/dist/Tooltip-CUm8vKGq.cjs +4 -0
- package/dist/{Typography-o0iALAVg.js → Typography-Cr-aIusw.js} +8 -7
- package/dist/Typography-DHjq4GzQ.cjs +1 -0
- package/dist/capitalize-3OjkeP9i.cjs +1 -0
- package/dist/capitalize-BHEX83JQ.js +9 -0
- package/dist/components/ActionBar/style.cjs.js +1 -1
- package/dist/components/ActionBar/style.es.js +2 -2
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +4 -4
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +1 -1
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +42 -20
- package/dist/components/ColorPicker/ColorPicker.cjs.js +4 -4
- package/dist/components/ColorPicker/ColorPicker.es.js +64 -64
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- 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 +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +3 -3
- package/dist/components/FileList/FileIcon.cjs.js +1 -1
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +4 -4
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
- package/dist/components/FolderCard/FolderCard.es.js +2 -2
- 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 +5 -5
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- 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 +4 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TreeView/TreeView.cjs.js +5 -5
- package/dist/components/TreeView/TreeView.es.js +568 -555
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/utils.cjs.js +1 -1
- package/dist/components/TreeView/utils.es.js +3 -3
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +44 -44
- package/dist/components/stories/Alert.stories.cjs.js +1 -1
- package/dist/components/stories/Alert.stories.es.js +1 -1
- package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
- package/dist/components/stories/Autocomplete.stories.es.js +2 -2
- package/dist/components/stories/Badge.stories.cjs.js +1 -1
- package/dist/components/stories/Badge.stories.es.js +2 -2
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +26 -8
- package/dist/components/stories/ButtonGroup.stories.cjs.js +1 -1
- package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +2 -2
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.cjs.js +1 -1
- package/dist/components/stories/Chip.stories.es.js +1 -1
- 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 +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
- 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 +2 -2
- 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 +3 -3
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/Stepper.stories.cjs.js +1 -1
- package/dist/components/stories/Stepper.stories.es.js +4 -4
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +1 -1
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/TreeView.stories.cjs.js +1 -1
- package/dist/components/stories/TreeView.stories.es.js +12 -12
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/composeClasses-BskurlZX.js +51 -0
- package/dist/composeClasses-vN5Almps.cjs +1 -0
- package/dist/createSvgIcon-CcWpa9Le.cjs +1 -0
- package/dist/{createSvgIcon-BV54rC7k.js → createSvgIcon-DFIM5PqN.js} +9 -8
- package/dist/{dividerClasses-DDXs86hs.js → dividerClasses-BEzQ_reA.js} +1 -1
- package/dist/dividerClasses-BpVbhp8e.cjs +1 -0
- package/dist/{elementAcceptingRef-CEweUuUA.js → elementAcceptingRef-CZLfau9O.js} +1 -1
- package/dist/{elementAcceptingRef-BZ42cOGO.cjs → elementAcceptingRef-CuMilXz3.cjs} +1 -1
- package/dist/{elementTypeAcceptingRef-DOeckaXy.js → elementTypeAcceptingRef-vRb2iI4O.js} +1 -1
- package/dist/{elementTypeAcceptingRef-BwZv9xBI.cjs → elementTypeAcceptingRef-vjR5jGLx.cjs} +1 -1
- package/dist/{extendSxProp-XouBF-Ct.js → extendSxProp-DGsHTtAe.js} +1 -1
- package/dist/extendSxProp-Dwd9vpYv.cjs +1 -0
- package/dist/{identifier-Dnc8T93Z.js → generateUtilityClasses-B_xKAflz.js} +645 -615
- package/dist/generateUtilityClasses-CENS22bI.cjs +55 -0
- package/dist/{index-Sy88PpwE.js → index-B9vkf41S.js} +2 -2
- package/dist/index-BPpGXp0s.cjs +1 -0
- package/dist/{index-DIyAQH20.cjs → index-BS46Ff4t.cjs} +1 -1
- package/dist/{index-DX2Sl0Ig.js → index-Ba4TEBpP.js} +1 -1
- package/dist/{index-CX0sAlmK.js → index-CJMnfcQs.js} +1 -1
- package/dist/{index-9te7SXrs.js → index-CwHv-blH.js} +5 -5
- package/dist/{index-CrINMjCH.cjs → index-D_kvDIOz.cjs} +1 -1
- package/dist/{index-DLnSn8GT.cjs → index-kjfz41UI.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +44 -44
- package/dist/{listItemTextClasses-4p_83pwn.js → listItemTextClasses-CEbo8A-K.js} +1 -1
- package/dist/listItemTextClasses-wcJANWC3.cjs +1 -0
- package/dist/{memoTheme-Dv-rDqFz.cjs → memoTheme-Bi1UNdyO.cjs} +1 -1
- package/dist/{memoTheme-K37vidlb.js → memoTheme-C-PaH-Cy.js} +1 -1
- package/dist/mergeSlotProps-CL6s5QgQ.cjs +1 -0
- package/dist/{mergeSlotProps-DSWiBSbD.js → mergeSlotProps-DVtjofCS.js} +1 -1
- package/dist/{refType-Dp7CJc86.js → refType-8hihVLUh.js} +1 -1
- package/dist/{refType-B_IEJm4x.cjs → refType-DJyA--UV.cjs} +1 -1
- package/dist/{useSlot-GooGQrej.js → useSlot-BSkdRaZr.js} +1 -1
- package/dist/useSlot-C-aMxEm0.cjs +1 -0
- package/dist/{useSlotProps-CtYqUyy1.cjs → useSlotProps-BVVfeURp.cjs} +1 -1
- package/dist/{useSlotProps-C34Wr67s.js → useSlotProps-CWTjRiRv.js} +1 -1
- package/dist/useTheme-0AkY41zn.js +11 -0
- package/dist/useTheme-BT6SDKkk.cjs +1 -0
- package/dist/useTheme-BrGF2Vm0.cjs +1 -0
- package/dist/{useTheme-VH02z7nF.js → useTheme-DSA6Ir8k.js} +1 -1
- package/dist/useThemeProps-BWsN0TEk.cjs +1 -0
- package/dist/{useThemeProps-DZ05-54P.js → useThemeProps-CAonvyKa.js} +4 -4
- package/dist/{useThemeProps-BU5PNyhK.cjs → useThemeProps-JozrkyA_.cjs} +1 -1
- package/dist/useThemeProps-hSh1qhnc.js +17 -0
- package/dist/{utils-BQenyzDz.js → utils-B_pVp6UZ.js} +3 -3
- package/dist/utils-XujN9ndp.cjs +1 -0
- package/package.json +5 -5
- package/dist/Alert-CWHOYWde.cjs +0 -1
- package/dist/Alert-D4-73fYc.cjs +0 -1
- package/dist/Autocomplete-BA6NkciB.cjs +0 -6
- package/dist/Backdrop-Dp1hKKfU.cjs +0 -1
- package/dist/Badge-XMr4Ygjv.cjs +0 -1
- package/dist/Box-B5E7sstc.cjs +0 -1
- package/dist/Button-BJB830NI.cjs +0 -1
- package/dist/CardContent-H0z20SY7.cjs +0 -1
- package/dist/Checkbox-BZPMiwbF.cjs +0 -1
- package/dist/Chip-DMBSp59F.cjs +0 -1
- package/dist/CircularProgress-BMVNeiSf.cjs +0 -28
- package/dist/CustomTreeItem-BXgsWbl_.cjs +0 -41
- package/dist/DatePicker-DtPvvFiK.cjs +0 -16
- package/dist/DefaultPropsProvider-BFTLy05-.cjs +0 -1
- package/dist/Dialog-Cymf3DJ2.cjs +0 -1
- package/dist/DialogContent-Gy1s3ela.cjs +0 -1
- package/dist/DialogTitle-BDyrzRXS.cjs +0 -1
- package/dist/Divider-BzdMIEJJ.cjs +0 -1
- package/dist/FormLabel-BLySmpkL.cjs +0 -2
- package/dist/Grid-DFaRzlB4.cjs +0 -2
- package/dist/IconButton-DCQiOq7W.cjs +0 -2
- package/dist/InputAdornment-BrrJ8chb.cjs +0 -1
- package/dist/InputBase-CRrFludT.cjs +0 -4
- package/dist/Link-CMes5bws.cjs +0 -1
- package/dist/List-E_TAQ1jJ.cjs +0 -1
- package/dist/ListItem-qTKJTg7f.cjs +0 -1
- package/dist/ListItemText-B3z5dHrQ.cjs +0 -1
- package/dist/MenuItem--a878rw9.cjs +0 -1
- package/dist/Modal-CdcolE0C.cjs +0 -2
- package/dist/Paper-DgHGh6vt.cjs +0 -2
- package/dist/Popper-BsNp09Gg.cjs +0 -4
- package/dist/Portal-CPOCKeMh.cjs +0 -1
- package/dist/Radio-CLNMQGNf.cjs +0 -1
- package/dist/RadioGroup-Dyf8fKum.cjs +0 -1
- package/dist/Select-CRVPbesC.cjs +0 -3
- package/dist/Stack-COmIqMxy.cjs +0 -1
- package/dist/Stepper-CWq9t5jy.cjs +0 -1
- package/dist/Switch-kHZOqjeU.cjs +0 -1
- package/dist/SwitchBase-Hbqxtooi.cjs +0 -1
- package/dist/Tab-DnxFjc89.cjs +0 -4
- package/dist/TextField-BhdmUny-.cjs +0 -1
- package/dist/ToggleButtonGroup-B2FBwoDV.cjs +0 -138
- package/dist/Tooltip-DYTDIzp4.cjs +0 -4
- package/dist/Typography-BvRUTdLD.cjs +0 -1
- package/dist/createSvgIcon-BJRigbha.cjs +0 -1
- package/dist/dividerClasses-CbwbHy8r.cjs +0 -1
- package/dist/extendSxProp-CxMSlckP.cjs +0 -1
- package/dist/identifier-DBvccNCw.cjs +0 -55
- package/dist/index-BkNQtUZJ.cjs +0 -1
- package/dist/listItemTextClasses-Cxo4anAo.cjs +0 -1
- package/dist/mergeSlotProps-CXO1f70l.cjs +0 -1
- package/dist/styled-B7pKW9DQ.cjs +0 -1
- package/dist/styled-JnAdiSL5.js +0 -5
- package/dist/useSlot-ONna5RyM.cjs +0 -1
- package/dist/useTheme-CH7DA5fq.js +0 -11
- package/dist/useTheme-D6wPRo0G.cjs +0 -1
- package/dist/useTheme-DkiCyF-9.cjs +0 -1
- package/dist/useThemeProps-CnZ-QgwI.cjs +0 -1
- package/dist/useThemeProps-DT4QxdFn.js +0 -17
- package/dist/utils-ByXw_ZY1.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Pt from "@emotion/styled";
|
|
2
2
|
import "@emotion/react";
|
|
3
|
-
import * as
|
|
4
|
-
import { P as
|
|
5
|
-
var
|
|
3
|
+
import * as Te from "react";
|
|
4
|
+
import { P as ce } from "./index-B9vkf41S.js";
|
|
5
|
+
var be = { exports: {} }, v = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-is.production.js
|
|
@@ -12,10 +12,10 @@ var ye = { exports: {} }, v = {};
|
|
|
12
12
|
* This source code is licensed under the MIT license found in the
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
18
|
-
|
|
15
|
+
var Xe;
|
|
16
|
+
function Bt() {
|
|
17
|
+
if (Xe) return v;
|
|
18
|
+
Xe = 1;
|
|
19
19
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
|
|
20
20
|
function m(l) {
|
|
21
21
|
if (typeof l == "object" && l !== null) {
|
|
@@ -86,9 +86,9 @@ var w = {};
|
|
|
86
86
|
* This source code is licensed under the MIT license found in the
|
|
87
87
|
* LICENSE file in the root directory of this source tree.
|
|
88
88
|
*/
|
|
89
|
-
var
|
|
90
|
-
function
|
|
91
|
-
return
|
|
89
|
+
var Je;
|
|
90
|
+
function Mt() {
|
|
91
|
+
return Je || (Je = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
92
92
|
function e(l) {
|
|
93
93
|
if (typeof l == "object" && l !== null) {
|
|
94
94
|
var C = l.$$typeof;
|
|
@@ -148,68 +148,68 @@ function Rt() {
|
|
|
148
148
|
}, w.isValidElementType = function(l) {
|
|
149
149
|
return typeof l == "string" || typeof l == "function" || l === n || l === a || l === o || l === d || l === y || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === h || l.$$typeof === u || l.$$typeof === s || l.$$typeof === f || l.$$typeof === m || l.getModuleId !== void 0);
|
|
150
150
|
}, w.typeOf = e;
|
|
151
|
-
}()), w;
|
|
151
|
+
})()), w;
|
|
152
152
|
}
|
|
153
|
-
var
|
|
154
|
-
function
|
|
155
|
-
return
|
|
153
|
+
var Ze;
|
|
154
|
+
function Dt() {
|
|
155
|
+
return Ze || (Ze = 1, process.env.NODE_ENV === "production" ? be.exports = /* @__PURE__ */ Bt() : be.exports = /* @__PURE__ */ Mt()), be.exports;
|
|
156
156
|
}
|
|
157
|
-
var
|
|
158
|
-
function
|
|
157
|
+
var Ae = /* @__PURE__ */ Dt();
|
|
158
|
+
function yt(e) {
|
|
159
159
|
var t, r, n = "";
|
|
160
160
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
161
161
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
162
162
|
var o = e.length;
|
|
163
|
-
for (t = 0; t < o; t++) e[t] && (r =
|
|
163
|
+
for (t = 0; t < o; t++) e[t] && (r = yt(e[t])) && (n && (n += " "), n += r);
|
|
164
164
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
165
165
|
return n;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t =
|
|
167
|
+
function Vn() {
|
|
168
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = yt(e)) && (n && (n += " "), n += t);
|
|
169
169
|
return n;
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Se(e, ...t) {
|
|
172
172
|
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
173
173
|
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function bt(e) {
|
|
176
176
|
if (typeof e != "string")
|
|
177
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." :
|
|
177
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Se(7));
|
|
178
178
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function ae(e) {
|
|
181
181
|
if (typeof e != "object" || e === null)
|
|
182
182
|
return !1;
|
|
183
183
|
const t = Object.getPrototypeOf(e);
|
|
184
184
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
187
|
-
if (/* @__PURE__ */
|
|
186
|
+
function Ct(e) {
|
|
187
|
+
if (/* @__PURE__ */ Te.isValidElement(e) || Ae.isValidElementType(e) || !ae(e))
|
|
188
188
|
return e;
|
|
189
189
|
const t = {};
|
|
190
190
|
return Object.keys(e).forEach((r) => {
|
|
191
|
-
t[r] =
|
|
191
|
+
t[r] = Ct(e[r]);
|
|
192
192
|
}), t;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function q(e, t, r = {
|
|
195
195
|
clone: !0
|
|
196
196
|
}) {
|
|
197
197
|
const n = r.clone ? {
|
|
198
198
|
...e
|
|
199
199
|
} : e;
|
|
200
|
-
return
|
|
201
|
-
/* @__PURE__ */
|
|
202
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
200
|
+
return ae(e) && ae(t) && Object.keys(t).forEach((o) => {
|
|
201
|
+
/* @__PURE__ */ Te.isValidElement(t[o]) || Ae.isValidElementType(t[o]) ? n[o] = t[o] : ae(t[o]) && // Avoid prototype pollution
|
|
202
|
+
Object.prototype.hasOwnProperty.call(e, o) && ae(e[o]) ? n[o] = q(e[o], t[o], r) : r.clone ? n[o] = ae(t[o]) ? Ct(t[o]) : t[o] : n[o] = t[o];
|
|
203
203
|
}), n;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
return t ?
|
|
205
|
+
function pe(e, t) {
|
|
206
|
+
return t ? q(e, t, {
|
|
207
207
|
clone: !1
|
|
208
208
|
// No need to clone deep, it's way faster.
|
|
209
209
|
}) : e;
|
|
210
210
|
}
|
|
211
|
-
const
|
|
212
|
-
function
|
|
211
|
+
const Q = process.env.NODE_ENV !== "production" ? ce.oneOfType([ce.number, ce.string, ce.object, ce.array]) : {};
|
|
212
|
+
function et(e, t) {
|
|
213
213
|
if (!e.containerQueries)
|
|
214
214
|
return t;
|
|
215
215
|
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
@@ -224,21 +224,21 @@ function qe(e, t) {
|
|
|
224
224
|
...t
|
|
225
225
|
}) : t;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Vt(e, t) {
|
|
228
228
|
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ft(e, t) {
|
|
231
231
|
const r = t.match(/^@([^/]+)?\/?(.+)?$/);
|
|
232
232
|
if (!r) {
|
|
233
233
|
if (process.env.NODE_ENV !== "production")
|
|
234
234
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
235
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` :
|
|
235
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Se(18, `(${t})`));
|
|
236
236
|
return null;
|
|
237
237
|
}
|
|
238
238
|
const [, n, o] = r, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
239
239
|
return e.containerQueries(o).up(a);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Lt(e) {
|
|
242
242
|
const t = (a, s) => a.replace("@media", s ? `@container ${s}` : "@container");
|
|
243
243
|
function r(a, s) {
|
|
244
244
|
a.up = (...u) => t(e.breakpoints.up(...u), s), a.down = (...u) => t(e.breakpoints.down(...u), s), a.between = (...u) => t(e.breakpoints.between(...u), s), a.only = (...u) => t(e.breakpoints.only(...u), s), a.not = (...u) => {
|
|
@@ -252,7 +252,7 @@ function Dt(e) {
|
|
|
252
252
|
containerQueries: o
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const ve = {
|
|
256
256
|
xs: 0,
|
|
257
257
|
// phone
|
|
258
258
|
sm: 600,
|
|
@@ -263,32 +263,32 @@ const $e = {
|
|
|
263
263
|
// desktop
|
|
264
264
|
xl: 1536
|
|
265
265
|
// large screen
|
|
266
|
-
},
|
|
266
|
+
}, tt = {
|
|
267
267
|
// Sorted ASC by size. That's important.
|
|
268
268
|
// It can't be configured as it's used statically for propTypes.
|
|
269
269
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
270
|
-
up: (e) => `@media (min-width:${
|
|
271
|
-
},
|
|
270
|
+
up: (e) => `@media (min-width:${ve[e]}px)`
|
|
271
|
+
}, jt = {
|
|
272
272
|
containerQueries: (e) => ({
|
|
273
273
|
up: (t) => {
|
|
274
|
-
let r = typeof t == "number" ? t :
|
|
274
|
+
let r = typeof t == "number" ? t : ve[t] || t;
|
|
275
275
|
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
|
|
276
276
|
}
|
|
277
277
|
})
|
|
278
278
|
};
|
|
279
|
-
function
|
|
279
|
+
function G(e, t, r) {
|
|
280
280
|
const n = e.theme || {};
|
|
281
281
|
if (Array.isArray(t)) {
|
|
282
|
-
const a = n.breakpoints ||
|
|
282
|
+
const a = n.breakpoints || tt;
|
|
283
283
|
return t.reduce((s, u, f) => (s[a.up(a.keys[f])] = r(t[f]), s), {});
|
|
284
284
|
}
|
|
285
285
|
if (typeof t == "object") {
|
|
286
|
-
const a = n.breakpoints ||
|
|
286
|
+
const a = n.breakpoints || tt;
|
|
287
287
|
return Object.keys(t).reduce((s, u) => {
|
|
288
|
-
if (
|
|
289
|
-
const f =
|
|
288
|
+
if (Vt(a.keys, u)) {
|
|
289
|
+
const f = Ft(n.containerQueries ? n : jt, u);
|
|
290
290
|
f && (s[f] = r(t[u], u));
|
|
291
|
-
} else if (Object.keys(a.values ||
|
|
291
|
+
} else if (Object.keys(a.values || ve).includes(u)) {
|
|
292
292
|
const f = a.up(u);
|
|
293
293
|
s[f] = r(t[u], u);
|
|
294
294
|
} else {
|
|
@@ -300,24 +300,24 @@ function z(e, t, r) {
|
|
|
300
300
|
}
|
|
301
301
|
return r(t);
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function St(e = {}) {
|
|
304
304
|
var r;
|
|
305
305
|
return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
|
|
306
306
|
const a = e.up(o);
|
|
307
307
|
return n[a] = {}, n;
|
|
308
308
|
}, {})) || {};
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function We(e, t) {
|
|
311
311
|
return e.reduce((r, n) => {
|
|
312
312
|
const o = r[n];
|
|
313
313
|
return (!o || Object.keys(o).length === 0) && delete r[n], r;
|
|
314
314
|
}, t);
|
|
315
315
|
}
|
|
316
|
-
function
|
|
317
|
-
const r =
|
|
318
|
-
return
|
|
316
|
+
function Fn(e, ...t) {
|
|
317
|
+
const r = St(e), n = [r, ...t].reduce((o, a) => q(o, a), {});
|
|
318
|
+
return We(Object.keys(r), n);
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Ut(e, t) {
|
|
321
321
|
if (typeof e != "object")
|
|
322
322
|
return {};
|
|
323
323
|
const r = {}, n = Object.keys(t);
|
|
@@ -327,18 +327,18 @@ function Ft(e, t) {
|
|
|
327
327
|
e[o] != null && (r[o] = !0);
|
|
328
328
|
}), r;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Ln({
|
|
331
331
|
values: e,
|
|
332
332
|
breakpoints: t,
|
|
333
333
|
base: r
|
|
334
334
|
}) {
|
|
335
|
-
const n = r ||
|
|
335
|
+
const n = r || Ut(e, t), o = Object.keys(n);
|
|
336
336
|
if (o.length === 0)
|
|
337
337
|
return e;
|
|
338
338
|
let a;
|
|
339
339
|
return o.reduce((s, u, f) => (Array.isArray(e) ? (s[u] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (s[u] = e[u] != null ? e[u] : e[a], a = u) : s[u] = e, s), {});
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function we(e, t, r = !0) {
|
|
342
342
|
if (!t || typeof t != "string")
|
|
343
343
|
return null;
|
|
344
344
|
if (e && e.vars && r) {
|
|
@@ -348,11 +348,11 @@ function Ee(e, t, r = !0) {
|
|
|
348
348
|
}
|
|
349
349
|
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function $e(e, t, r, n = r) {
|
|
352
352
|
let o;
|
|
353
|
-
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o =
|
|
353
|
+
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = we(e, r) || n, t && (o = t(o, n, e)), o;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function P(e) {
|
|
356
356
|
const {
|
|
357
357
|
prop: t,
|
|
358
358
|
cssProperty: r = e.prop,
|
|
@@ -361,48 +361,48 @@ function B(e) {
|
|
|
361
361
|
} = e, a = (s) => {
|
|
362
362
|
if (s[t] == null)
|
|
363
363
|
return null;
|
|
364
|
-
const u = s[t], f = s.theme, d =
|
|
365
|
-
return
|
|
366
|
-
let p =
|
|
367
|
-
return h === p && typeof h == "string" && (p =
|
|
364
|
+
const u = s[t], f = s.theme, d = we(f, n) || {};
|
|
365
|
+
return G(s, u, (h) => {
|
|
366
|
+
let p = $e(d, o, h);
|
|
367
|
+
return h === p && typeof h == "string" && (p = $e(d, o, `${t}${h === "default" ? "" : bt(h)}`, h)), r === !1 ? p : {
|
|
368
368
|
[r]: p
|
|
369
369
|
};
|
|
370
370
|
});
|
|
371
371
|
};
|
|
372
372
|
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
373
|
-
[t]:
|
|
373
|
+
[t]: Q
|
|
374
374
|
} : {}, a.filterProps = [t], a;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function Wt(e) {
|
|
377
377
|
const t = {};
|
|
378
378
|
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
|
|
379
379
|
}
|
|
380
|
-
const
|
|
380
|
+
const Gt = {
|
|
381
381
|
m: "margin",
|
|
382
382
|
p: "padding"
|
|
383
|
-
},
|
|
383
|
+
}, zt = {
|
|
384
384
|
t: "Top",
|
|
385
385
|
r: "Right",
|
|
386
386
|
b: "Bottom",
|
|
387
387
|
l: "Left",
|
|
388
388
|
x: ["Left", "Right"],
|
|
389
389
|
y: ["Top", "Bottom"]
|
|
390
|
-
},
|
|
390
|
+
}, rt = {
|
|
391
391
|
marginX: "mx",
|
|
392
392
|
marginY: "my",
|
|
393
393
|
paddingX: "px",
|
|
394
394
|
paddingY: "py"
|
|
395
|
-
},
|
|
395
|
+
}, Yt = Wt((e) => {
|
|
396
396
|
if (e.length > 2)
|
|
397
|
-
if (
|
|
398
|
-
e =
|
|
397
|
+
if (rt[e])
|
|
398
|
+
e = rt[e];
|
|
399
399
|
else
|
|
400
400
|
return [e];
|
|
401
|
-
const [t, r] = e.split(""), n =
|
|
401
|
+
const [t, r] = e.split(""), n = Gt[t], o = zt[r] || "";
|
|
402
402
|
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
403
|
-
}),
|
|
404
|
-
function
|
|
405
|
-
const o =
|
|
403
|
+
}), Oe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], _e = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Kt = [...Oe, ..._e];
|
|
404
|
+
function ge(e, t, r, n) {
|
|
405
|
+
const o = we(e, t, !0) ?? r;
|
|
406
406
|
return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
407
407
|
if (typeof a == "string")
|
|
408
408
|
return a;
|
|
@@ -416,215 +416,215 @@ function me(e, t, r, n) {
|
|
|
416
416
|
`)), () => {
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
|
-
function
|
|
420
|
-
return
|
|
419
|
+
function Ke(e) {
|
|
420
|
+
return ge(e, "spacing", 8, "spacing");
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function he(e, t) {
|
|
423
423
|
return typeof t == "string" || t == null ? t : e(t);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
return (r) => e.reduce((n, o) => (n[o] =
|
|
425
|
+
function Ht(e, t) {
|
|
426
|
+
return (r) => e.reduce((n, o) => (n[o] = he(t, r), n), {});
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function qt(e, t, r, n) {
|
|
429
429
|
if (!t.includes(r))
|
|
430
430
|
return null;
|
|
431
|
-
const o =
|
|
432
|
-
return
|
|
431
|
+
const o = Yt(r), a = Ht(o, n), s = e[r];
|
|
432
|
+
return G(e, s, a);
|
|
433
433
|
}
|
|
434
|
-
function
|
|
435
|
-
const r =
|
|
436
|
-
return Object.keys(e).map((n) =>
|
|
434
|
+
function $t(e, t) {
|
|
435
|
+
const r = Ke(e.theme);
|
|
436
|
+
return Object.keys(e).map((n) => qt(e, t, n, r)).reduce(pe, {});
|
|
437
437
|
}
|
|
438
438
|
function N(e) {
|
|
439
|
-
return
|
|
439
|
+
return $t(e, Oe);
|
|
440
440
|
}
|
|
441
|
-
N.propTypes = process.env.NODE_ENV !== "production" ?
|
|
442
|
-
N.filterProps =
|
|
441
|
+
N.propTypes = process.env.NODE_ENV !== "production" ? Oe.reduce((e, t) => (e[t] = Q, e), {}) : {};
|
|
442
|
+
N.filterProps = Oe;
|
|
443
443
|
function R(e) {
|
|
444
|
-
return
|
|
444
|
+
return $t(e, _e);
|
|
445
445
|
}
|
|
446
|
-
R.propTypes = process.env.NODE_ENV !== "production" ?
|
|
447
|
-
R.filterProps =
|
|
448
|
-
process.env.NODE_ENV !== "production" &&
|
|
449
|
-
function
|
|
446
|
+
R.propTypes = process.env.NODE_ENV !== "production" ? _e.reduce((e, t) => (e[t] = Q, e), {}) : {};
|
|
447
|
+
R.filterProps = _e;
|
|
448
|
+
process.env.NODE_ENV !== "production" && Kt.reduce((e, t) => (e[t] = Q, e), {});
|
|
449
|
+
function ke(...e) {
|
|
450
450
|
const t = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
451
451
|
n[a] = o;
|
|
452
|
-
}), n), {}), r = (n) => Object.keys(n).reduce((o, a) => t[a] ?
|
|
452
|
+
}), n), {}), r = (n) => Object.keys(n).reduce((o, a) => t[a] ? pe(o, t[a](n)) : o, {});
|
|
453
453
|
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function F(e) {
|
|
456
456
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
return
|
|
458
|
+
function L(e, t) {
|
|
459
|
+
return P({
|
|
460
460
|
prop: e,
|
|
461
461
|
themeKey: "borders",
|
|
462
462
|
transform: t
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
|
-
const
|
|
465
|
+
const Qt = L("border", F), Xt = L("borderTop", F), Jt = L("borderRight", F), Zt = L("borderBottom", F), er = L("borderLeft", F), tr = L("borderColor"), rr = L("borderTopColor"), nr = L("borderRightColor"), or = L("borderBottomColor"), ir = L("borderLeftColor"), ar = L("outline", F), sr = L("outlineColor"), Ne = (e) => {
|
|
466
466
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
467
|
-
const t =
|
|
468
|
-
borderRadius:
|
|
467
|
+
const t = ge(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
468
|
+
borderRadius: he(t, n)
|
|
469
469
|
});
|
|
470
|
-
return
|
|
470
|
+
return G(e, e.borderRadius, r);
|
|
471
471
|
}
|
|
472
472
|
return null;
|
|
473
473
|
};
|
|
474
|
-
|
|
475
|
-
borderRadius:
|
|
474
|
+
Ne.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
475
|
+
borderRadius: Q
|
|
476
476
|
} : {};
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
const
|
|
477
|
+
Ne.filterProps = ["borderRadius"];
|
|
478
|
+
ke(Qt, Xt, Jt, Zt, er, tr, rr, nr, or, ir, Ne, ar, sr);
|
|
479
|
+
const Re = (e) => {
|
|
480
480
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
481
|
-
const t =
|
|
482
|
-
gap:
|
|
481
|
+
const t = ge(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
482
|
+
gap: he(t, n)
|
|
483
483
|
});
|
|
484
|
-
return
|
|
484
|
+
return G(e, e.gap, r);
|
|
485
485
|
}
|
|
486
486
|
return null;
|
|
487
487
|
};
|
|
488
|
-
|
|
489
|
-
gap:
|
|
488
|
+
Re.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
489
|
+
gap: Q
|
|
490
490
|
} : {};
|
|
491
|
-
|
|
492
|
-
const
|
|
491
|
+
Re.filterProps = ["gap"];
|
|
492
|
+
const Ie = (e) => {
|
|
493
493
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
494
|
-
const t =
|
|
495
|
-
columnGap:
|
|
494
|
+
const t = ge(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
495
|
+
columnGap: he(t, n)
|
|
496
496
|
});
|
|
497
|
-
return
|
|
497
|
+
return G(e, e.columnGap, r);
|
|
498
498
|
}
|
|
499
499
|
return null;
|
|
500
500
|
};
|
|
501
|
-
|
|
502
|
-
columnGap:
|
|
501
|
+
Ie.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
502
|
+
columnGap: Q
|
|
503
503
|
} : {};
|
|
504
|
-
|
|
505
|
-
const
|
|
504
|
+
Ie.filterProps = ["columnGap"];
|
|
505
|
+
const Pe = (e) => {
|
|
506
506
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
507
|
-
const t =
|
|
508
|
-
rowGap:
|
|
507
|
+
const t = ge(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
508
|
+
rowGap: he(t, n)
|
|
509
509
|
});
|
|
510
|
-
return
|
|
510
|
+
return G(e, e.rowGap, r);
|
|
511
511
|
}
|
|
512
512
|
return null;
|
|
513
513
|
};
|
|
514
|
-
|
|
515
|
-
rowGap:
|
|
514
|
+
Pe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
515
|
+
rowGap: Q
|
|
516
516
|
} : {};
|
|
517
|
-
|
|
518
|
-
const
|
|
517
|
+
Pe.filterProps = ["rowGap"];
|
|
518
|
+
const lr = P({
|
|
519
519
|
prop: "gridColumn"
|
|
520
|
-
}),
|
|
520
|
+
}), cr = P({
|
|
521
521
|
prop: "gridRow"
|
|
522
|
-
}),
|
|
522
|
+
}), ur = P({
|
|
523
523
|
prop: "gridAutoFlow"
|
|
524
|
-
}),
|
|
524
|
+
}), fr = P({
|
|
525
525
|
prop: "gridAutoColumns"
|
|
526
|
-
}),
|
|
526
|
+
}), dr = P({
|
|
527
527
|
prop: "gridAutoRows"
|
|
528
|
-
}),
|
|
528
|
+
}), pr = P({
|
|
529
529
|
prop: "gridTemplateColumns"
|
|
530
|
-
}),
|
|
530
|
+
}), mr = P({
|
|
531
531
|
prop: "gridTemplateRows"
|
|
532
|
-
}),
|
|
532
|
+
}), gr = P({
|
|
533
533
|
prop: "gridTemplateAreas"
|
|
534
|
-
}),
|
|
534
|
+
}), hr = P({
|
|
535
535
|
prop: "gridArea"
|
|
536
536
|
});
|
|
537
|
-
|
|
538
|
-
function
|
|
537
|
+
ke(Re, Ie, Pe, lr, cr, ur, fr, dr, pr, mr, gr, hr);
|
|
538
|
+
function se(e, t) {
|
|
539
539
|
return t === "grey" ? t : e;
|
|
540
540
|
}
|
|
541
|
-
const
|
|
541
|
+
const yr = P({
|
|
542
542
|
prop: "color",
|
|
543
543
|
themeKey: "palette",
|
|
544
|
-
transform:
|
|
545
|
-
}),
|
|
544
|
+
transform: se
|
|
545
|
+
}), br = P({
|
|
546
546
|
prop: "bgcolor",
|
|
547
547
|
cssProperty: "backgroundColor",
|
|
548
548
|
themeKey: "palette",
|
|
549
|
-
transform:
|
|
550
|
-
}),
|
|
549
|
+
transform: se
|
|
550
|
+
}), Cr = P({
|
|
551
551
|
prop: "backgroundColor",
|
|
552
552
|
themeKey: "palette",
|
|
553
|
-
transform:
|
|
553
|
+
transform: se
|
|
554
554
|
});
|
|
555
|
-
|
|
556
|
-
function
|
|
555
|
+
ke(yr, br, Cr);
|
|
556
|
+
function D(e) {
|
|
557
557
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
558
558
|
}
|
|
559
|
-
const
|
|
559
|
+
const Sr = P({
|
|
560
560
|
prop: "width",
|
|
561
|
-
transform:
|
|
562
|
-
}),
|
|
561
|
+
transform: D
|
|
562
|
+
}), He = (e) => {
|
|
563
563
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
564
564
|
const t = (r) => {
|
|
565
565
|
var o, a, s, u, f;
|
|
566
|
-
const n = ((s = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : s[r]) ||
|
|
566
|
+
const n = ((s = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : s[r]) || ve[r];
|
|
567
567
|
return n ? ((f = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
|
|
568
568
|
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
569
569
|
} : {
|
|
570
570
|
maxWidth: n
|
|
571
571
|
} : {
|
|
572
|
-
maxWidth:
|
|
572
|
+
maxWidth: D(r)
|
|
573
573
|
};
|
|
574
574
|
};
|
|
575
|
-
return
|
|
575
|
+
return G(e, e.maxWidth, t);
|
|
576
576
|
}
|
|
577
577
|
return null;
|
|
578
578
|
};
|
|
579
|
-
|
|
580
|
-
const
|
|
579
|
+
He.filterProps = ["maxWidth"];
|
|
580
|
+
const $r = P({
|
|
581
581
|
prop: "minWidth",
|
|
582
|
-
transform:
|
|
583
|
-
}),
|
|
582
|
+
transform: D
|
|
583
|
+
}), Er = P({
|
|
584
584
|
prop: "height",
|
|
585
|
-
transform:
|
|
586
|
-
}),
|
|
585
|
+
transform: D
|
|
586
|
+
}), xr = P({
|
|
587
587
|
prop: "maxHeight",
|
|
588
|
-
transform:
|
|
589
|
-
}),
|
|
588
|
+
transform: D
|
|
589
|
+
}), Tr = P({
|
|
590
590
|
prop: "minHeight",
|
|
591
|
-
transform:
|
|
591
|
+
transform: D
|
|
592
592
|
});
|
|
593
|
-
|
|
593
|
+
P({
|
|
594
594
|
prop: "size",
|
|
595
595
|
cssProperty: "width",
|
|
596
|
-
transform:
|
|
596
|
+
transform: D
|
|
597
597
|
});
|
|
598
|
-
|
|
598
|
+
P({
|
|
599
599
|
prop: "size",
|
|
600
600
|
cssProperty: "height",
|
|
601
|
-
transform:
|
|
601
|
+
transform: D
|
|
602
602
|
});
|
|
603
|
-
const
|
|
603
|
+
const Ar = P({
|
|
604
604
|
prop: "boxSizing"
|
|
605
605
|
});
|
|
606
|
-
|
|
607
|
-
const
|
|
606
|
+
ke(Sr, He, $r, Er, xr, Tr, Ar);
|
|
607
|
+
const Be = {
|
|
608
608
|
// borders
|
|
609
609
|
border: {
|
|
610
610
|
themeKey: "borders",
|
|
611
|
-
transform:
|
|
611
|
+
transform: F
|
|
612
612
|
},
|
|
613
613
|
borderTop: {
|
|
614
614
|
themeKey: "borders",
|
|
615
|
-
transform:
|
|
615
|
+
transform: F
|
|
616
616
|
},
|
|
617
617
|
borderRight: {
|
|
618
618
|
themeKey: "borders",
|
|
619
|
-
transform:
|
|
619
|
+
transform: F
|
|
620
620
|
},
|
|
621
621
|
borderBottom: {
|
|
622
622
|
themeKey: "borders",
|
|
623
|
-
transform:
|
|
623
|
+
transform: F
|
|
624
624
|
},
|
|
625
625
|
borderLeft: {
|
|
626
626
|
themeKey: "borders",
|
|
627
|
-
transform:
|
|
627
|
+
transform: F
|
|
628
628
|
},
|
|
629
629
|
borderColor: {
|
|
630
630
|
themeKey: "palette"
|
|
@@ -643,28 +643,28 @@ const ke = {
|
|
|
643
643
|
},
|
|
644
644
|
outline: {
|
|
645
645
|
themeKey: "borders",
|
|
646
|
-
transform:
|
|
646
|
+
transform: F
|
|
647
647
|
},
|
|
648
648
|
outlineColor: {
|
|
649
649
|
themeKey: "palette"
|
|
650
650
|
},
|
|
651
651
|
borderRadius: {
|
|
652
652
|
themeKey: "shape.borderRadius",
|
|
653
|
-
style:
|
|
653
|
+
style: Ne
|
|
654
654
|
},
|
|
655
655
|
// palette
|
|
656
656
|
color: {
|
|
657
657
|
themeKey: "palette",
|
|
658
|
-
transform:
|
|
658
|
+
transform: se
|
|
659
659
|
},
|
|
660
660
|
bgcolor: {
|
|
661
661
|
themeKey: "palette",
|
|
662
662
|
cssProperty: "backgroundColor",
|
|
663
|
-
transform:
|
|
663
|
+
transform: se
|
|
664
664
|
},
|
|
665
665
|
backgroundColor: {
|
|
666
666
|
themeKey: "palette",
|
|
667
|
-
transform:
|
|
667
|
+
transform: se
|
|
668
668
|
},
|
|
669
669
|
// spacing
|
|
670
670
|
p: {
|
|
@@ -817,13 +817,13 @@ const ke = {
|
|
|
817
817
|
justifySelf: {},
|
|
818
818
|
// grid
|
|
819
819
|
gap: {
|
|
820
|
-
style:
|
|
820
|
+
style: Re
|
|
821
821
|
},
|
|
822
822
|
rowGap: {
|
|
823
|
-
style:
|
|
823
|
+
style: Pe
|
|
824
824
|
},
|
|
825
825
|
columnGap: {
|
|
826
|
-
style:
|
|
826
|
+
style: Ie
|
|
827
827
|
},
|
|
828
828
|
gridColumn: {},
|
|
829
829
|
gridRow: {},
|
|
@@ -849,22 +849,22 @@ const ke = {
|
|
|
849
849
|
},
|
|
850
850
|
// sizing
|
|
851
851
|
width: {
|
|
852
|
-
transform:
|
|
852
|
+
transform: D
|
|
853
853
|
},
|
|
854
854
|
maxWidth: {
|
|
855
|
-
style:
|
|
855
|
+
style: He
|
|
856
856
|
},
|
|
857
857
|
minWidth: {
|
|
858
|
-
transform:
|
|
858
|
+
transform: D
|
|
859
859
|
},
|
|
860
860
|
height: {
|
|
861
|
-
transform:
|
|
861
|
+
transform: D
|
|
862
862
|
},
|
|
863
863
|
maxHeight: {
|
|
864
|
-
transform:
|
|
864
|
+
transform: D
|
|
865
865
|
},
|
|
866
866
|
minHeight: {
|
|
867
|
-
transform:
|
|
867
|
+
transform: D
|
|
868
868
|
},
|
|
869
869
|
boxSizing: {},
|
|
870
870
|
// typography
|
|
@@ -892,14 +892,14 @@ const ke = {
|
|
|
892
892
|
themeKey: "typography"
|
|
893
893
|
}
|
|
894
894
|
};
|
|
895
|
-
function
|
|
895
|
+
function vr(...e) {
|
|
896
896
|
const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
|
|
897
897
|
return e.every((n) => r.size === Object.keys(n).length);
|
|
898
898
|
}
|
|
899
|
-
function
|
|
899
|
+
function wr(e, t) {
|
|
900
900
|
return typeof e == "function" ? e(t) : e;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Or() {
|
|
903
903
|
function e(r, n, o, a) {
|
|
904
904
|
const s = {
|
|
905
905
|
[r]: n,
|
|
@@ -921,10 +921,10 @@ function Tr() {
|
|
|
921
921
|
return {
|
|
922
922
|
[r]: n
|
|
923
923
|
};
|
|
924
|
-
const p =
|
|
925
|
-
return h ? h(s) :
|
|
926
|
-
let l =
|
|
927
|
-
return m === l && typeof m == "string" && (l =
|
|
924
|
+
const p = we(o, d) || {};
|
|
925
|
+
return h ? h(s) : G(s, n, (m) => {
|
|
926
|
+
let l = $e(p, y, m);
|
|
927
|
+
return m === l && typeof m == "string" && (l = $e(p, y, `${r}${m === "default" ? "" : bt(m)}`, m)), f === !1 ? l : {
|
|
928
928
|
[f]: l
|
|
929
929
|
};
|
|
930
930
|
});
|
|
@@ -937,7 +937,7 @@ function Tr() {
|
|
|
937
937
|
} = r || {};
|
|
938
938
|
if (!n)
|
|
939
939
|
return null;
|
|
940
|
-
const s = o.unstable_sxConfig ??
|
|
940
|
+
const s = o.unstable_sxConfig ?? Be;
|
|
941
941
|
function u(f) {
|
|
942
942
|
let d = f;
|
|
943
943
|
if (typeof f == "function")
|
|
@@ -946,39 +946,39 @@ function Tr() {
|
|
|
946
946
|
return f;
|
|
947
947
|
if (!d)
|
|
948
948
|
return null;
|
|
949
|
-
const y =
|
|
949
|
+
const y = St(o.breakpoints), h = Object.keys(y);
|
|
950
950
|
let p = y;
|
|
951
951
|
return Object.keys(d).forEach((b) => {
|
|
952
|
-
const m =
|
|
952
|
+
const m = wr(d[b], o);
|
|
953
953
|
if (m != null)
|
|
954
954
|
if (typeof m == "object")
|
|
955
955
|
if (s[b])
|
|
956
|
-
p =
|
|
956
|
+
p = pe(p, e(b, m, o, s));
|
|
957
957
|
else {
|
|
958
|
-
const l =
|
|
958
|
+
const l = G({
|
|
959
959
|
theme: o
|
|
960
960
|
}, m, (C) => ({
|
|
961
961
|
[b]: C
|
|
962
962
|
}));
|
|
963
|
-
|
|
963
|
+
vr(l, m) ? p[b] = t({
|
|
964
964
|
sx: m,
|
|
965
965
|
theme: o,
|
|
966
966
|
nested: !0
|
|
967
|
-
}) : p =
|
|
967
|
+
}) : p = pe(p, l);
|
|
968
968
|
}
|
|
969
969
|
else
|
|
970
|
-
p =
|
|
970
|
+
p = pe(p, e(b, m, o, s));
|
|
971
971
|
}), !a && o.modularCssLayers ? {
|
|
972
|
-
"@layer sx":
|
|
973
|
-
} :
|
|
972
|
+
"@layer sx": et(o, We(h, p))
|
|
973
|
+
} : et(o, We(h, p));
|
|
974
974
|
}
|
|
975
975
|
return Array.isArray(n) ? n.map(u) : u(n);
|
|
976
976
|
}
|
|
977
977
|
return t;
|
|
978
978
|
}
|
|
979
|
-
const
|
|
980
|
-
|
|
981
|
-
function
|
|
979
|
+
const Me = Or();
|
|
980
|
+
Me.filterProps = ["sx"];
|
|
981
|
+
function _r(e) {
|
|
982
982
|
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
983
983
|
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
|
|
984
984
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
@@ -997,7 +997,7 @@ function Ar(e) {
|
|
|
997
997
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
998
998
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
999
999
|
}
|
|
1000
|
-
var
|
|
1000
|
+
var kr = {
|
|
1001
1001
|
animationIterationCount: 1,
|
|
1002
1002
|
aspectRatio: 1,
|
|
1003
1003
|
borderImageOutset: 1,
|
|
@@ -1047,34 +1047,34 @@ var vr = {
|
|
|
1047
1047
|
strokeOpacity: 1,
|
|
1048
1048
|
strokeWidth: 1
|
|
1049
1049
|
};
|
|
1050
|
-
function
|
|
1050
|
+
function Nr(e) {
|
|
1051
1051
|
var t = /* @__PURE__ */ Object.create(null);
|
|
1052
1052
|
return function(r) {
|
|
1053
1053
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
1054
1054
|
};
|
|
1055
1055
|
}
|
|
1056
|
-
var
|
|
1056
|
+
var Rr = /[A-Z]|^ms/g, Ir = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Et = function(t) {
|
|
1057
1057
|
return t.charCodeAt(1) === 45;
|
|
1058
|
-
},
|
|
1058
|
+
}, nt = function(t) {
|
|
1059
1059
|
return t != null && typeof t != "boolean";
|
|
1060
|
-
},
|
|
1061
|
-
return
|
|
1062
|
-
}),
|
|
1060
|
+
}, Le = /* @__PURE__ */ Nr(function(e) {
|
|
1061
|
+
return Et(e) ? e : e.replace(Rr, "-$&").toLowerCase();
|
|
1062
|
+
}), ot = function(t, r) {
|
|
1063
1063
|
switch (t) {
|
|
1064
1064
|
case "animation":
|
|
1065
1065
|
case "animationName":
|
|
1066
1066
|
if (typeof r == "string")
|
|
1067
|
-
return r.replace(
|
|
1068
|
-
return
|
|
1067
|
+
return r.replace(Ir, function(n, o, a) {
|
|
1068
|
+
return H = {
|
|
1069
1069
|
name: o,
|
|
1070
1070
|
styles: a,
|
|
1071
|
-
next:
|
|
1071
|
+
next: H
|
|
1072
1072
|
}, o;
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
return
|
|
1075
|
+
return kr[t] !== 1 && !Et(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1076
1076
|
};
|
|
1077
|
-
function
|
|
1077
|
+
function Ee(e, t, r) {
|
|
1078
1078
|
if (r == null)
|
|
1079
1079
|
return "";
|
|
1080
1080
|
var n = r;
|
|
@@ -1086,50 +1086,50 @@ function Se(e, t, r) {
|
|
|
1086
1086
|
case "object": {
|
|
1087
1087
|
var o = r;
|
|
1088
1088
|
if (o.anim === 1)
|
|
1089
|
-
return
|
|
1089
|
+
return H = {
|
|
1090
1090
|
name: o.name,
|
|
1091
1091
|
styles: o.styles,
|
|
1092
|
-
next:
|
|
1092
|
+
next: H
|
|
1093
1093
|
}, o.name;
|
|
1094
1094
|
var a = r;
|
|
1095
1095
|
if (a.styles !== void 0) {
|
|
1096
1096
|
var s = a.next;
|
|
1097
1097
|
if (s !== void 0)
|
|
1098
1098
|
for (; s !== void 0; )
|
|
1099
|
-
|
|
1099
|
+
H = {
|
|
1100
1100
|
name: s.name,
|
|
1101
1101
|
styles: s.styles,
|
|
1102
|
-
next:
|
|
1102
|
+
next: H
|
|
1103
1103
|
}, s = s.next;
|
|
1104
1104
|
var u = a.styles + ";";
|
|
1105
1105
|
return u;
|
|
1106
1106
|
}
|
|
1107
|
-
return
|
|
1107
|
+
return Pr(e, t, r);
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
var f = r;
|
|
1111
1111
|
return f;
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function Pr(e, t, r) {
|
|
1114
1114
|
var n = "";
|
|
1115
1115
|
if (Array.isArray(r))
|
|
1116
1116
|
for (var o = 0; o < r.length; o++)
|
|
1117
|
-
n +=
|
|
1117
|
+
n += Ee(e, t, r[o]) + ";";
|
|
1118
1118
|
else
|
|
1119
1119
|
for (var a in r) {
|
|
1120
1120
|
var s = r[a];
|
|
1121
1121
|
if (typeof s != "object") {
|
|
1122
1122
|
var u = s;
|
|
1123
|
-
|
|
1123
|
+
nt(u) && (n += Le(a) + ":" + ot(a, u) + ";");
|
|
1124
1124
|
} else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
1125
1125
|
for (var f = 0; f < s.length; f++)
|
|
1126
|
-
|
|
1126
|
+
nt(s[f]) && (n += Le(a) + ":" + ot(a, s[f]) + ";");
|
|
1127
1127
|
else {
|
|
1128
|
-
var d =
|
|
1128
|
+
var d = Ee(e, t, s);
|
|
1129
1129
|
switch (a) {
|
|
1130
1130
|
case "animation":
|
|
1131
1131
|
case "animationName": {
|
|
1132
|
-
n +=
|
|
1132
|
+
n += Le(a) + ":" + d + ";";
|
|
1133
1133
|
break;
|
|
1134
1134
|
}
|
|
1135
1135
|
default:
|
|
@@ -1139,57 +1139,57 @@ function kr(e, t, r) {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
return n;
|
|
1141
1141
|
}
|
|
1142
|
-
var
|
|
1143
|
-
function
|
|
1142
|
+
var it = /label:\s*([^\s;{]+)\s*(;|$)/g, H;
|
|
1143
|
+
function Br(e, t, r) {
|
|
1144
1144
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1145
1145
|
return e[0];
|
|
1146
1146
|
var n = !0, o = "";
|
|
1147
|
-
|
|
1147
|
+
H = void 0;
|
|
1148
1148
|
var a = e[0];
|
|
1149
1149
|
if (a == null || a.raw === void 0)
|
|
1150
|
-
n = !1, o +=
|
|
1150
|
+
n = !1, o += Ee(r, t, a);
|
|
1151
1151
|
else {
|
|
1152
1152
|
var s = a;
|
|
1153
1153
|
o += s[0];
|
|
1154
1154
|
}
|
|
1155
1155
|
for (var u = 1; u < e.length; u++)
|
|
1156
|
-
if (o +=
|
|
1156
|
+
if (o += Ee(r, t, e[u]), n) {
|
|
1157
1157
|
var f = a;
|
|
1158
1158
|
o += f[u];
|
|
1159
1159
|
}
|
|
1160
|
-
|
|
1161
|
-
for (var d = "", y; (y =
|
|
1160
|
+
it.lastIndex = 0;
|
|
1161
|
+
for (var d = "", y; (y = it.exec(o)) !== null; )
|
|
1162
1162
|
d += "-" + y[1];
|
|
1163
|
-
var h =
|
|
1163
|
+
var h = _r(o) + d;
|
|
1164
1164
|
return {
|
|
1165
1165
|
name: h,
|
|
1166
1166
|
styles: o,
|
|
1167
|
-
next:
|
|
1167
|
+
next: H
|
|
1168
1168
|
};
|
|
1169
1169
|
}
|
|
1170
1170
|
/**
|
|
1171
|
-
* @mui/styled-engine v7.3.
|
|
1171
|
+
* @mui/styled-engine v7.3.2
|
|
1172
1172
|
*
|
|
1173
1173
|
* @license MIT
|
|
1174
1174
|
* This source code is licensed under the MIT license found in the
|
|
1175
1175
|
* LICENSE file in the root directory of this source tree.
|
|
1176
1176
|
*/
|
|
1177
|
-
function
|
|
1178
|
-
const r =
|
|
1177
|
+
function jn(e, t) {
|
|
1178
|
+
const r = Pt(e, t);
|
|
1179
1179
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1180
1180
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1181
1181
|
return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
1182
1182
|
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
1183
1183
|
} : r;
|
|
1184
1184
|
}
|
|
1185
|
-
function
|
|
1185
|
+
function Un(e, t) {
|
|
1186
1186
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
1187
1187
|
}
|
|
1188
|
-
const
|
|
1189
|
-
function
|
|
1190
|
-
return
|
|
1188
|
+
const at = [];
|
|
1189
|
+
function Wn(e) {
|
|
1190
|
+
return at[0] = e, Br(at);
|
|
1191
1191
|
}
|
|
1192
|
-
const
|
|
1192
|
+
const Mr = (e) => {
|
|
1193
1193
|
const t = Object.keys(e).map((r) => ({
|
|
1194
1194
|
key: r,
|
|
1195
1195
|
val: e[r]
|
|
@@ -1199,7 +1199,7 @@ const Rr = (e) => {
|
|
|
1199
1199
|
[n.key]: n.val
|
|
1200
1200
|
}), {});
|
|
1201
1201
|
};
|
|
1202
|
-
function
|
|
1202
|
+
function Dr(e) {
|
|
1203
1203
|
const {
|
|
1204
1204
|
// The breakpoint **start** at this value.
|
|
1205
1205
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -1218,7 +1218,7 @@ function Ir(e) {
|
|
|
1218
1218
|
unit: r = "px",
|
|
1219
1219
|
step: n = 5,
|
|
1220
1220
|
...o
|
|
1221
|
-
} = e, a =
|
|
1221
|
+
} = e, a = Mr(t), s = Object.keys(a);
|
|
1222
1222
|
function u(p) {
|
|
1223
1223
|
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r})`;
|
|
1224
1224
|
}
|
|
@@ -1248,10 +1248,10 @@ function Ir(e) {
|
|
|
1248
1248
|
...o
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1251
|
+
const Vr = {
|
|
1252
1252
|
borderRadius: 4
|
|
1253
1253
|
};
|
|
1254
|
-
function
|
|
1254
|
+
function xt(e = 8, t = Ke({
|
|
1255
1255
|
spacing: e
|
|
1256
1256
|
})) {
|
|
1257
1257
|
if (e.mui)
|
|
@@ -1262,7 +1262,7 @@ function St(e = 8, t = Ue({
|
|
|
1262
1262
|
}).join(" "));
|
|
1263
1263
|
return r.mui = !0, r;
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1265
|
+
function Fr(e, t) {
|
|
1266
1266
|
var n;
|
|
1267
1267
|
const r = this;
|
|
1268
1268
|
if (r.vars) {
|
|
@@ -1275,15 +1275,15 @@ function Pr(e, t) {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
return r.palette.mode === e ? t : {};
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function Lr(e = {}, ...t) {
|
|
1279
1279
|
const {
|
|
1280
1280
|
breakpoints: r = {},
|
|
1281
1281
|
palette: n = {},
|
|
1282
1282
|
spacing: o,
|
|
1283
1283
|
shape: a = {},
|
|
1284
1284
|
...s
|
|
1285
|
-
} = e, u =
|
|
1286
|
-
let d =
|
|
1285
|
+
} = e, u = Dr(r), f = xt(o);
|
|
1286
|
+
let d = q({
|
|
1287
1287
|
breakpoints: u,
|
|
1288
1288
|
direction: "ltr",
|
|
1289
1289
|
components: {},
|
|
@@ -1294,87 +1294,50 @@ function Dr(e = {}, ...t) {
|
|
|
1294
1294
|
},
|
|
1295
1295
|
spacing: f,
|
|
1296
1296
|
shape: {
|
|
1297
|
-
...
|
|
1297
|
+
...Vr,
|
|
1298
1298
|
...a
|
|
1299
1299
|
}
|
|
1300
1300
|
}, s);
|
|
1301
|
-
return d =
|
|
1302
|
-
...
|
|
1301
|
+
return d = Lt(d), d.applyStyles = Fr, d = t.reduce((y, h) => q(y, h), d), d.unstable_sxConfig = {
|
|
1302
|
+
...Be,
|
|
1303
1303
|
...s == null ? void 0 : s.unstable_sxConfig
|
|
1304
1304
|
}, d.unstable_sx = function(h) {
|
|
1305
|
-
return
|
|
1305
|
+
return Me({
|
|
1306
1306
|
sx: h,
|
|
1307
1307
|
theme: this
|
|
1308
1308
|
});
|
|
1309
1309
|
}, d;
|
|
1310
1310
|
}
|
|
1311
|
-
|
|
1312
|
-
let e = rt;
|
|
1313
|
-
return {
|
|
1314
|
-
configure(t) {
|
|
1315
|
-
e = t;
|
|
1316
|
-
},
|
|
1317
|
-
generate(t) {
|
|
1318
|
-
return e(t);
|
|
1319
|
-
},
|
|
1320
|
-
reset() {
|
|
1321
|
-
e = rt;
|
|
1322
|
-
}
|
|
1323
|
-
};
|
|
1324
|
-
}, Fr = Mr(), Vr = {
|
|
1325
|
-
active: "active",
|
|
1326
|
-
checked: "checked",
|
|
1327
|
-
completed: "completed",
|
|
1328
|
-
disabled: "disabled",
|
|
1329
|
-
error: "error",
|
|
1330
|
-
expanded: "expanded",
|
|
1331
|
-
focused: "focused",
|
|
1332
|
-
focusVisible: "focusVisible",
|
|
1333
|
-
open: "open",
|
|
1334
|
-
readOnly: "readOnly",
|
|
1335
|
-
required: "required",
|
|
1336
|
-
selected: "selected"
|
|
1337
|
-
};
|
|
1338
|
-
function $t(e, t, r = "Mui") {
|
|
1339
|
-
const n = Vr[t];
|
|
1340
|
-
return n ? `${r}-${n}` : `${Fr.generate(e)}-${t}`;
|
|
1341
|
-
}
|
|
1342
|
-
function Ln(e, t, r = "Mui") {
|
|
1343
|
-
const n = {};
|
|
1344
|
-
return t.forEach((o) => {
|
|
1345
|
-
n[o] = $t(e, o, r);
|
|
1346
|
-
}), n;
|
|
1347
|
-
}
|
|
1348
|
-
function Lr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
1311
|
+
function jr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
1349
1312
|
return Math.max(t, Math.min(e, r));
|
|
1350
1313
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),
|
|
1314
|
+
function qe(e, t = 0, r = 1) {
|
|
1315
|
+
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), jr(e, t, r);
|
|
1353
1316
|
}
|
|
1354
|
-
function
|
|
1317
|
+
function Ur(e) {
|
|
1355
1318
|
e = e.slice(1);
|
|
1356
1319
|
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
1357
1320
|
let r = e.match(t);
|
|
1358
1321
|
return r && r[0].length === 1 && (r = r.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
1359
1322
|
}
|
|
1360
|
-
function
|
|
1323
|
+
function Wr(e) {
|
|
1361
1324
|
const t = e.toString(16);
|
|
1362
1325
|
return t.length === 1 ? `0${t}` : t;
|
|
1363
1326
|
}
|
|
1364
|
-
function
|
|
1327
|
+
function z(e) {
|
|
1365
1328
|
if (e.type)
|
|
1366
1329
|
return e;
|
|
1367
1330
|
if (e.charAt(0) === "#")
|
|
1368
|
-
return
|
|
1331
|
+
return z(Ur(e));
|
|
1369
1332
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
1370
1333
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
1371
1334
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
1372
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` :
|
|
1335
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Se(9, e));
|
|
1373
1336
|
let n = e.substring(t + 1, e.length - 1), o;
|
|
1374
1337
|
if (r === "color") {
|
|
1375
1338
|
if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
|
|
1376
1339
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
1377
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` :
|
|
1340
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Se(10, o));
|
|
1378
1341
|
} else
|
|
1379
1342
|
n = n.split(",");
|
|
1380
1343
|
return n = n.map((a) => parseFloat(a)), {
|
|
@@ -1383,17 +1346,17 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
1383
1346
|
colorSpace: o
|
|
1384
1347
|
};
|
|
1385
1348
|
}
|
|
1386
|
-
const
|
|
1387
|
-
const t =
|
|
1349
|
+
const Gr = (e) => {
|
|
1350
|
+
const t = z(e);
|
|
1388
1351
|
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
1389
|
-
},
|
|
1352
|
+
}, fe = (e, t) => {
|
|
1390
1353
|
try {
|
|
1391
|
-
return
|
|
1354
|
+
return Gr(e);
|
|
1392
1355
|
} catch {
|
|
1393
1356
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
1394
1357
|
}
|
|
1395
1358
|
};
|
|
1396
|
-
function
|
|
1359
|
+
function De(e) {
|
|
1397
1360
|
const {
|
|
1398
1361
|
type: t,
|
|
1399
1362
|
colorSpace: r
|
|
@@ -1403,62 +1366,62 @@ function Re(e) {
|
|
|
1403
1366
|
} = e;
|
|
1404
1367
|
return t.includes("rgb") ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
|
|
1405
1368
|
}
|
|
1406
|
-
function
|
|
1369
|
+
function Gn(e) {
|
|
1407
1370
|
if (e.startsWith("#"))
|
|
1408
1371
|
return e;
|
|
1409
1372
|
const {
|
|
1410
1373
|
values: t
|
|
1411
|
-
} =
|
|
1412
|
-
return `#${t.map((r, n) =>
|
|
1374
|
+
} = z(e);
|
|
1375
|
+
return `#${t.map((r, n) => Wr(n === 3 ? Math.round(255 * r) : r)).join("")}`;
|
|
1413
1376
|
}
|
|
1414
|
-
function
|
|
1415
|
-
e =
|
|
1377
|
+
function Tt(e) {
|
|
1378
|
+
e = z(e);
|
|
1416
1379
|
const {
|
|
1417
1380
|
values: t
|
|
1418
1381
|
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, a = n * Math.min(o, 1 - o), s = (d, y = (d + r / 30) % 12) => o - a * Math.max(Math.min(y - 3, 9 - y, 1), -1);
|
|
1419
1382
|
let u = "rgb";
|
|
1420
1383
|
const f = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
1421
|
-
return e.type === "hsla" && (u += "a", f.push(t[3])),
|
|
1384
|
+
return e.type === "hsla" && (u += "a", f.push(t[3])), De({
|
|
1422
1385
|
type: u,
|
|
1423
1386
|
values: f
|
|
1424
1387
|
});
|
|
1425
1388
|
}
|
|
1426
|
-
function
|
|
1427
|
-
e =
|
|
1428
|
-
let t = e.type === "hsl" || e.type === "hsla" ?
|
|
1389
|
+
function Ge(e) {
|
|
1390
|
+
e = z(e);
|
|
1391
|
+
let t = e.type === "hsl" || e.type === "hsla" ? z(Tt(e)).values : e.values;
|
|
1429
1392
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
1430
1393
|
}
|
|
1431
|
-
function
|
|
1432
|
-
const r =
|
|
1394
|
+
function st(e, t) {
|
|
1395
|
+
const r = Ge(e), n = Ge(t);
|
|
1433
1396
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
1434
1397
|
}
|
|
1435
|
-
function
|
|
1436
|
-
return e =
|
|
1398
|
+
function At(e, t) {
|
|
1399
|
+
return e = z(e), t = qe(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, De(e);
|
|
1437
1400
|
}
|
|
1438
|
-
function
|
|
1401
|
+
function X(e, t, r) {
|
|
1439
1402
|
try {
|
|
1440
|
-
return
|
|
1403
|
+
return At(e, t);
|
|
1441
1404
|
} catch {
|
|
1442
1405
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1443
1406
|
}
|
|
1444
1407
|
}
|
|
1445
|
-
function
|
|
1446
|
-
if (e =
|
|
1408
|
+
function Ve(e, t) {
|
|
1409
|
+
if (e = z(e), t = qe(t), e.type.includes("hsl"))
|
|
1447
1410
|
e.values[2] *= 1 - t;
|
|
1448
1411
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
1449
1412
|
for (let r = 0; r < 3; r += 1)
|
|
1450
1413
|
e.values[r] *= 1 - t;
|
|
1451
|
-
return
|
|
1414
|
+
return De(e);
|
|
1452
1415
|
}
|
|
1453
1416
|
function T(e, t, r) {
|
|
1454
1417
|
try {
|
|
1455
|
-
return
|
|
1418
|
+
return Ve(e, t);
|
|
1456
1419
|
} catch {
|
|
1457
1420
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1458
1421
|
}
|
|
1459
1422
|
}
|
|
1460
|
-
function
|
|
1461
|
-
if (e =
|
|
1423
|
+
function Fe(e, t) {
|
|
1424
|
+
if (e = z(e), t = qe(t), e.type.includes("hsl"))
|
|
1462
1425
|
e.values[2] += (100 - e.values[2]) * t;
|
|
1463
1426
|
else if (e.type.includes("rgb"))
|
|
1464
1427
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -1466,26 +1429,26 @@ function Be(e, t) {
|
|
|
1466
1429
|
else if (e.type.includes("color"))
|
|
1467
1430
|
for (let r = 0; r < 3; r += 1)
|
|
1468
1431
|
e.values[r] += (1 - e.values[r]) * t;
|
|
1469
|
-
return
|
|
1432
|
+
return De(e);
|
|
1470
1433
|
}
|
|
1471
1434
|
function A(e, t, r) {
|
|
1472
1435
|
try {
|
|
1473
|
-
return
|
|
1436
|
+
return Fe(e, t);
|
|
1474
1437
|
} catch {
|
|
1475
1438
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1476
1439
|
}
|
|
1477
1440
|
}
|
|
1478
|
-
function
|
|
1479
|
-
return
|
|
1441
|
+
function zr(e, t = 0.15) {
|
|
1442
|
+
return Ge(e) > 0.5 ? Ve(e, t) : Fe(e, t);
|
|
1480
1443
|
}
|
|
1481
|
-
function
|
|
1444
|
+
function Ce(e, t, r) {
|
|
1482
1445
|
try {
|
|
1483
|
-
return
|
|
1446
|
+
return zr(e, t);
|
|
1484
1447
|
} catch {
|
|
1485
1448
|
return e;
|
|
1486
1449
|
}
|
|
1487
1450
|
}
|
|
1488
|
-
function
|
|
1451
|
+
function Yr(e = "") {
|
|
1489
1452
|
function t(...n) {
|
|
1490
1453
|
if (!n.length)
|
|
1491
1454
|
return "";
|
|
@@ -1494,32 +1457,32 @@ function zr(e = "") {
|
|
|
1494
1457
|
}
|
|
1495
1458
|
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
|
|
1496
1459
|
}
|
|
1497
|
-
const
|
|
1460
|
+
const lt = (e, t, r, n = []) => {
|
|
1498
1461
|
let o = e;
|
|
1499
1462
|
t.forEach((a, s) => {
|
|
1500
1463
|
s === t.length - 1 ? Array.isArray(o) ? o[Number(a)] = r : o && typeof o == "object" && (o[a] = r) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
|
|
1501
1464
|
});
|
|
1502
|
-
},
|
|
1465
|
+
}, Kr = (e, t, r) => {
|
|
1503
1466
|
function n(o, a = [], s = []) {
|
|
1504
1467
|
Object.entries(o).forEach(([u, f]) => {
|
|
1505
1468
|
(!r || r && !r([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...s, u] : s) : t([...a, u], f, s));
|
|
1506
1469
|
});
|
|
1507
1470
|
}
|
|
1508
1471
|
n(e);
|
|
1509
|
-
},
|
|
1510
|
-
function
|
|
1472
|
+
}, Hr = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
|
|
1473
|
+
function je(e, t) {
|
|
1511
1474
|
const {
|
|
1512
1475
|
prefix: r,
|
|
1513
1476
|
shouldSkipGeneratingVar: n
|
|
1514
1477
|
} = t || {}, o = {}, a = {}, s = {};
|
|
1515
|
-
return
|
|
1478
|
+
return Kr(
|
|
1516
1479
|
e,
|
|
1517
1480
|
(u, f, d) => {
|
|
1518
1481
|
if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
|
|
1519
|
-
const y = `--${r ? `${r}-` : ""}${u.join("-")}`, h =
|
|
1482
|
+
const y = `--${r ? `${r}-` : ""}${u.join("-")}`, h = Hr(u, f);
|
|
1520
1483
|
Object.assign(o, {
|
|
1521
1484
|
[y]: h
|
|
1522
|
-
}),
|
|
1485
|
+
}), lt(a, u, `var(${y})`, d), lt(s, u, `var(${y}, ${h})`, d);
|
|
1523
1486
|
}
|
|
1524
1487
|
},
|
|
1525
1488
|
(u) => u[0] === "vars"
|
|
@@ -1530,9 +1493,9 @@ function De(e, t) {
|
|
|
1530
1493
|
varsWithDefaults: s
|
|
1531
1494
|
};
|
|
1532
1495
|
}
|
|
1533
|
-
function
|
|
1496
|
+
function qr(e, t = {}) {
|
|
1534
1497
|
const {
|
|
1535
|
-
getSelector: r =
|
|
1498
|
+
getSelector: r = O,
|
|
1536
1499
|
disableCssColorScheme: n,
|
|
1537
1500
|
colorSchemeSelector: o,
|
|
1538
1501
|
enableContrastVars: a
|
|
@@ -1545,41 +1508,41 @@ function Hr(e, t = {}) {
|
|
|
1545
1508
|
vars: y,
|
|
1546
1509
|
css: h,
|
|
1547
1510
|
varsWithDefaults: p
|
|
1548
|
-
} =
|
|
1511
|
+
} = je(d, t);
|
|
1549
1512
|
let b = p;
|
|
1550
1513
|
const m = {}, {
|
|
1551
1514
|
[f]: l,
|
|
1552
1515
|
...C
|
|
1553
1516
|
} = s;
|
|
1554
|
-
if (Object.entries(C || {}).forEach(([$,
|
|
1517
|
+
if (Object.entries(C || {}).forEach(([$, M]) => {
|
|
1555
1518
|
const {
|
|
1556
1519
|
vars: E,
|
|
1557
|
-
css:
|
|
1558
|
-
varsWithDefaults:
|
|
1559
|
-
} =
|
|
1560
|
-
b =
|
|
1561
|
-
css:
|
|
1520
|
+
css: U,
|
|
1521
|
+
varsWithDefaults: Y
|
|
1522
|
+
} = je(M, t);
|
|
1523
|
+
b = q(b, Y), m[$] = {
|
|
1524
|
+
css: U,
|
|
1562
1525
|
vars: E
|
|
1563
1526
|
};
|
|
1564
1527
|
}), l) {
|
|
1565
1528
|
const {
|
|
1566
1529
|
css: $,
|
|
1567
|
-
vars:
|
|
1530
|
+
vars: M,
|
|
1568
1531
|
varsWithDefaults: E
|
|
1569
|
-
} =
|
|
1570
|
-
b =
|
|
1532
|
+
} = je(l, t);
|
|
1533
|
+
b = q(b, E), m[f] = {
|
|
1571
1534
|
css: $,
|
|
1572
|
-
vars:
|
|
1535
|
+
vars: M
|
|
1573
1536
|
};
|
|
1574
1537
|
}
|
|
1575
|
-
function
|
|
1576
|
-
var
|
|
1538
|
+
function O($, M) {
|
|
1539
|
+
var U, Y;
|
|
1577
1540
|
let E = o;
|
|
1578
1541
|
if (o === "class" && (E = ".%s"), o === "data" && (E = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (E = `[${o}="%s"]`), $) {
|
|
1579
1542
|
if (E === "media")
|
|
1580
1543
|
return e.defaultColorScheme === $ ? ":root" : {
|
|
1581
|
-
[`@media (prefers-color-scheme: ${((
|
|
1582
|
-
":root":
|
|
1544
|
+
[`@media (prefers-color-scheme: ${((Y = (U = s[$]) == null ? void 0 : U.palette) == null ? void 0 : Y.mode) || $})`]: {
|
|
1545
|
+
":root": M
|
|
1583
1546
|
}
|
|
1584
1547
|
};
|
|
1585
1548
|
if (E)
|
|
@@ -1594,52 +1557,52 @@ function Hr(e, t = {}) {
|
|
|
1594
1557
|
...y
|
|
1595
1558
|
};
|
|
1596
1559
|
return Object.entries(m).forEach(([, {
|
|
1597
|
-
vars:
|
|
1560
|
+
vars: M
|
|
1598
1561
|
}]) => {
|
|
1599
|
-
$ =
|
|
1562
|
+
$ = q($, M);
|
|
1600
1563
|
}), $;
|
|
1601
1564
|
},
|
|
1602
1565
|
generateStyleSheets: () => {
|
|
1603
|
-
var
|
|
1604
|
-
const $ = [],
|
|
1605
|
-
function E(
|
|
1606
|
-
Object.keys(i).length && $.push(typeof
|
|
1607
|
-
[
|
|
1566
|
+
var le, ye;
|
|
1567
|
+
const $ = [], M = e.defaultColorScheme || "light";
|
|
1568
|
+
function E(B, i) {
|
|
1569
|
+
Object.keys(i).length && $.push(typeof B == "string" ? {
|
|
1570
|
+
[B]: {
|
|
1608
1571
|
...i
|
|
1609
1572
|
}
|
|
1610
|
-
} :
|
|
1573
|
+
} : B);
|
|
1611
1574
|
}
|
|
1612
1575
|
E(r(void 0, {
|
|
1613
1576
|
...h
|
|
1614
1577
|
}), h);
|
|
1615
1578
|
const {
|
|
1616
|
-
[
|
|
1617
|
-
...
|
|
1579
|
+
[M]: U,
|
|
1580
|
+
...Y
|
|
1618
1581
|
} = m;
|
|
1619
|
-
if (
|
|
1582
|
+
if (U) {
|
|
1620
1583
|
const {
|
|
1621
|
-
css:
|
|
1622
|
-
} =
|
|
1584
|
+
css: B
|
|
1585
|
+
} = U, i = (ye = (le = s[M]) == null ? void 0 : le.palette) == null ? void 0 : ye.mode, S = !n && i ? {
|
|
1623
1586
|
colorScheme: i,
|
|
1624
|
-
...
|
|
1587
|
+
...B
|
|
1625
1588
|
} : {
|
|
1626
|
-
...
|
|
1589
|
+
...B
|
|
1627
1590
|
};
|
|
1628
|
-
E(r(
|
|
1591
|
+
E(r(M, {
|
|
1629
1592
|
...S
|
|
1630
1593
|
}), S);
|
|
1631
1594
|
}
|
|
1632
|
-
return Object.entries(
|
|
1595
|
+
return Object.entries(Y).forEach(([B, {
|
|
1633
1596
|
css: i
|
|
1634
1597
|
}]) => {
|
|
1635
1598
|
var x, I;
|
|
1636
|
-
const S = (I = (x = s[
|
|
1599
|
+
const S = (I = (x = s[B]) == null ? void 0 : x.palette) == null ? void 0 : I.mode, g = !n && S ? {
|
|
1637
1600
|
colorScheme: S,
|
|
1638
1601
|
...i
|
|
1639
1602
|
} : {
|
|
1640
1603
|
...i
|
|
1641
1604
|
};
|
|
1642
|
-
E(r(
|
|
1605
|
+
E(r(B, {
|
|
1643
1606
|
...g
|
|
1644
1607
|
}), g);
|
|
1645
1608
|
}), a && $.push({
|
|
@@ -1654,15 +1617,44 @@ function Hr(e, t = {}) {
|
|
|
1654
1617
|
}
|
|
1655
1618
|
};
|
|
1656
1619
|
}
|
|
1657
|
-
function
|
|
1620
|
+
function Qr(e) {
|
|
1658
1621
|
return function(r) {
|
|
1659
1622
|
return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
|
|
1660
1623
|
};
|
|
1661
1624
|
}
|
|
1662
|
-
|
|
1625
|
+
function xe(e, ...t) {
|
|
1626
|
+
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
1627
|
+
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
1628
|
+
}
|
|
1629
|
+
function K(e) {
|
|
1630
|
+
if (typeof e != "object" || e === null)
|
|
1631
|
+
return !1;
|
|
1632
|
+
const t = Object.getPrototypeOf(e);
|
|
1633
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1634
|
+
}
|
|
1635
|
+
function vt(e) {
|
|
1636
|
+
if (/* @__PURE__ */ Te.isValidElement(e) || Ae.isValidElementType(e) || !K(e))
|
|
1637
|
+
return e;
|
|
1638
|
+
const t = {};
|
|
1639
|
+
return Object.keys(e).forEach((r) => {
|
|
1640
|
+
t[r] = vt(e[r]);
|
|
1641
|
+
}), t;
|
|
1642
|
+
}
|
|
1643
|
+
function J(e, t, r = {
|
|
1644
|
+
clone: !0
|
|
1645
|
+
}) {
|
|
1646
|
+
const n = r.clone ? {
|
|
1647
|
+
...e
|
|
1648
|
+
} : e;
|
|
1649
|
+
return K(e) && K(t) && Object.keys(t).forEach((o) => {
|
|
1650
|
+
/* @__PURE__ */ Te.isValidElement(t[o]) || Ae.isValidElementType(t[o]) ? n[o] = t[o] : K(t[o]) && // Avoid prototype pollution
|
|
1651
|
+
Object.prototype.hasOwnProperty.call(e, o) && K(e[o]) ? n[o] = J(e[o], t[o], r) : r.clone ? n[o] = K(t[o]) ? vt(t[o]) : t[o] : n[o] = t[o];
|
|
1652
|
+
}), n;
|
|
1653
|
+
}
|
|
1654
|
+
const me = {
|
|
1663
1655
|
black: "#000",
|
|
1664
1656
|
white: "#fff"
|
|
1665
|
-
},
|
|
1657
|
+
}, Xr = {
|
|
1666
1658
|
50: "#fafafa",
|
|
1667
1659
|
100: "#f5f5f5",
|
|
1668
1660
|
200: "#eeeeee",
|
|
@@ -1707,7 +1699,7 @@ const pe = {
|
|
|
1707
1699
|
A200: "#ff5252",
|
|
1708
1700
|
A400: "#ff1744",
|
|
1709
1701
|
A700: "#d50000"
|
|
1710
|
-
},
|
|
1702
|
+
}, ue = {
|
|
1711
1703
|
50: "#fff3e0",
|
|
1712
1704
|
100: "#ffe0b2",
|
|
1713
1705
|
200: "#ffcc80",
|
|
@@ -1768,7 +1760,7 @@ const pe = {
|
|
|
1768
1760
|
A400: "#00e676",
|
|
1769
1761
|
A700: "#00c853"
|
|
1770
1762
|
};
|
|
1771
|
-
function
|
|
1763
|
+
function wt() {
|
|
1772
1764
|
return {
|
|
1773
1765
|
// The colors used to style the text.
|
|
1774
1766
|
text: {
|
|
@@ -1784,8 +1776,8 @@ function Tt() {
|
|
|
1784
1776
|
// The background colors used to style the surfaces.
|
|
1785
1777
|
// Consistency between these values is important.
|
|
1786
1778
|
background: {
|
|
1787
|
-
paper:
|
|
1788
|
-
default:
|
|
1779
|
+
paper: me.white,
|
|
1780
|
+
default: me.white
|
|
1789
1781
|
},
|
|
1790
1782
|
// The colors used to style the action elements.
|
|
1791
1783
|
action: {
|
|
@@ -1808,11 +1800,11 @@ function Tt() {
|
|
|
1808
1800
|
}
|
|
1809
1801
|
};
|
|
1810
1802
|
}
|
|
1811
|
-
const
|
|
1812
|
-
function
|
|
1803
|
+
const Ot = wt();
|
|
1804
|
+
function _t() {
|
|
1813
1805
|
return {
|
|
1814
1806
|
text: {
|
|
1815
|
-
primary:
|
|
1807
|
+
primary: me.white,
|
|
1816
1808
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
1817
1809
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
1818
1810
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -1823,7 +1815,7 @@ function vt() {
|
|
|
1823
1815
|
default: "#121212"
|
|
1824
1816
|
},
|
|
1825
1817
|
action: {
|
|
1826
|
-
active:
|
|
1818
|
+
active: me.white,
|
|
1827
1819
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
1828
1820
|
hoverOpacity: 0.08,
|
|
1829
1821
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -1837,16 +1829,16 @@ function vt() {
|
|
|
1837
1829
|
}
|
|
1838
1830
|
};
|
|
1839
1831
|
}
|
|
1840
|
-
const
|
|
1841
|
-
function
|
|
1832
|
+
const ze = _t();
|
|
1833
|
+
function ct(e, t, r, n) {
|
|
1842
1834
|
const o = n.light || n, a = n.dark || n * 1.5;
|
|
1843
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light =
|
|
1835
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Fe(e.main, o) : t === "dark" && (e.dark = Ve(e.main, a)));
|
|
1844
1836
|
}
|
|
1845
|
-
function
|
|
1837
|
+
function ut(e, t, r, n, o) {
|
|
1846
1838
|
const a = o.light || o, s = o.dark || o * 1.5;
|
|
1847
1839
|
t[r] || (t.hasOwnProperty(n) ? t[r] = t[n] : r === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(a * 100).toFixed(0)}%)` : r === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(s * 100).toFixed(0)}%)`));
|
|
1848
1840
|
}
|
|
1849
|
-
function
|
|
1841
|
+
function Jr(e = "light") {
|
|
1850
1842
|
return e === "dark" ? {
|
|
1851
1843
|
main: ne[200],
|
|
1852
1844
|
light: ne[50],
|
|
@@ -1857,7 +1849,7 @@ function Xr(e = "light") {
|
|
|
1857
1849
|
dark: ne[800]
|
|
1858
1850
|
};
|
|
1859
1851
|
}
|
|
1860
|
-
function
|
|
1852
|
+
function Zr(e = "light") {
|
|
1861
1853
|
return e === "dark" ? {
|
|
1862
1854
|
main: te[200],
|
|
1863
1855
|
light: te[50],
|
|
@@ -1868,7 +1860,7 @@ function Jr(e = "light") {
|
|
|
1868
1860
|
dark: te[700]
|
|
1869
1861
|
};
|
|
1870
1862
|
}
|
|
1871
|
-
function
|
|
1863
|
+
function en(e = "light") {
|
|
1872
1864
|
return e === "dark" ? {
|
|
1873
1865
|
main: re[500],
|
|
1874
1866
|
light: re[300],
|
|
@@ -1879,7 +1871,7 @@ function Zr(e = "light") {
|
|
|
1879
1871
|
dark: re[800]
|
|
1880
1872
|
};
|
|
1881
1873
|
}
|
|
1882
|
-
function
|
|
1874
|
+
function tn(e = "light") {
|
|
1883
1875
|
return e === "dark" ? {
|
|
1884
1876
|
main: oe[400],
|
|
1885
1877
|
light: oe[300],
|
|
@@ -1890,7 +1882,7 @@ function en(e = "light") {
|
|
|
1890
1882
|
dark: oe[900]
|
|
1891
1883
|
};
|
|
1892
1884
|
}
|
|
1893
|
-
function
|
|
1885
|
+
function rn(e = "light") {
|
|
1894
1886
|
return e === "dark" ? {
|
|
1895
1887
|
main: ie[400],
|
|
1896
1888
|
light: ie[300],
|
|
@@ -1901,54 +1893,54 @@ function tn(e = "light") {
|
|
|
1901
1893
|
dark: ie[900]
|
|
1902
1894
|
};
|
|
1903
1895
|
}
|
|
1904
|
-
function
|
|
1896
|
+
function nn(e = "light") {
|
|
1905
1897
|
return e === "dark" ? {
|
|
1906
|
-
main:
|
|
1907
|
-
light:
|
|
1908
|
-
dark:
|
|
1898
|
+
main: ue[400],
|
|
1899
|
+
light: ue[300],
|
|
1900
|
+
dark: ue[700]
|
|
1909
1901
|
} : {
|
|
1910
1902
|
main: "#ed6c02",
|
|
1911
1903
|
// closest to orange[800] that pass 3:1.
|
|
1912
|
-
light:
|
|
1913
|
-
dark:
|
|
1904
|
+
light: ue[500],
|
|
1905
|
+
dark: ue[900]
|
|
1914
1906
|
};
|
|
1915
1907
|
}
|
|
1916
|
-
function
|
|
1908
|
+
function on(e) {
|
|
1917
1909
|
return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
|
|
1918
1910
|
}
|
|
1919
|
-
function
|
|
1911
|
+
function Qe(e) {
|
|
1920
1912
|
const {
|
|
1921
1913
|
mode: t = "light",
|
|
1922
1914
|
contrastThreshold: r = 3,
|
|
1923
1915
|
tonalOffset: n = 0.2,
|
|
1924
1916
|
colorSpace: o,
|
|
1925
1917
|
...a
|
|
1926
|
-
} = e, s = e.primary ||
|
|
1918
|
+
} = e, s = e.primary || Jr(t), u = e.secondary || Zr(t), f = e.error || en(t), d = e.info || tn(t), y = e.success || rn(t), h = e.warning || nn(t);
|
|
1927
1919
|
function p(C) {
|
|
1928
1920
|
if (o)
|
|
1929
|
-
return
|
|
1930
|
-
const
|
|
1921
|
+
return on(C);
|
|
1922
|
+
const O = st(C, ze.text.primary) >= r ? ze.text.primary : Ot.text.primary;
|
|
1931
1923
|
if (process.env.NODE_ENV !== "production") {
|
|
1932
|
-
const
|
|
1933
|
-
|
|
1924
|
+
const _ = st(C, O);
|
|
1925
|
+
_ < 3 && console.error([`MUI: The contrast ratio of ${_}:1 for ${O} on ${C}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
1934
1926
|
`));
|
|
1935
1927
|
}
|
|
1936
|
-
return
|
|
1928
|
+
return O;
|
|
1937
1929
|
}
|
|
1938
1930
|
const b = ({
|
|
1939
1931
|
color: C,
|
|
1940
|
-
name:
|
|
1941
|
-
mainShade:
|
|
1932
|
+
name: O,
|
|
1933
|
+
mainShade: _ = 500,
|
|
1942
1934
|
lightShade: V = 300,
|
|
1943
1935
|
darkShade: $ = 700
|
|
1944
1936
|
}) => {
|
|
1945
1937
|
if (C = {
|
|
1946
1938
|
...C
|
|
1947
|
-
}, !C.main && C[
|
|
1948
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
1949
|
-
The color object needs to have a \`main\` property or a \`${
|
|
1939
|
+
}, !C.main && C[_] && (C.main = C[_]), !C.hasOwnProperty("main"))
|
|
1940
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${O ? ` (${O})` : ""} provided to augmentColor(color) is invalid.
|
|
1941
|
+
The color object needs to have a \`main\` property or a \`${_}\` property.` : xe(11, O ? ` (${O})` : "", _));
|
|
1950
1942
|
if (typeof C.main != "string")
|
|
1951
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
1943
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${O ? ` (${O})` : ""} provided to augmentColor(color) is invalid.
|
|
1952
1944
|
\`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
|
|
1953
1945
|
|
|
1954
1946
|
Did you intend to use one of the following approaches?
|
|
@@ -1961,14 +1953,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1961
1953
|
|
|
1962
1954
|
const theme2 = createTheme({ palette: {
|
|
1963
1955
|
primary: { main: green[500] },
|
|
1964
|
-
} });` :
|
|
1965
|
-
return o ? (
|
|
1956
|
+
} });` : xe(12, O ? ` (${O})` : "", JSON.stringify(C.main)));
|
|
1957
|
+
return o ? (ut(o, C, "light", V, n), ut(o, C, "dark", $, n)) : (ct(C, "light", V, n), ct(C, "dark", $, n)), C.contrastText || (C.contrastText = p(C.main)), C;
|
|
1966
1958
|
};
|
|
1967
1959
|
let m;
|
|
1968
|
-
return t === "light" ? m =
|
|
1960
|
+
return t === "light" ? m = wt() : t === "dark" && (m = _t()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), J({
|
|
1969
1961
|
// A collection of common colors.
|
|
1970
1962
|
common: {
|
|
1971
|
-
...
|
|
1963
|
+
...me
|
|
1972
1964
|
},
|
|
1973
1965
|
// prevent mutable object.
|
|
1974
1966
|
// The palette mode, can be light or dark.
|
|
@@ -2007,7 +1999,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2007
1999
|
name: "success"
|
|
2008
2000
|
}),
|
|
2009
2001
|
// The grey colors.
|
|
2010
|
-
grey:
|
|
2002
|
+
grey: Xr,
|
|
2011
2003
|
// Used by `getContrastText()` to maximize the contrast between
|
|
2012
2004
|
// the background and the text.
|
|
2013
2005
|
contrastThreshold: r,
|
|
@@ -2023,14 +2015,45 @@ const theme2 = createTheme({ palette: {
|
|
|
2023
2015
|
...m
|
|
2024
2016
|
}, a);
|
|
2025
2017
|
}
|
|
2026
|
-
function
|
|
2018
|
+
function an(e) {
|
|
2027
2019
|
const t = {};
|
|
2028
2020
|
return Object.entries(e).forEach((n) => {
|
|
2029
2021
|
const [o, a] = n;
|
|
2030
2022
|
typeof a == "object" && (t[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
|
|
2031
2023
|
}), t;
|
|
2032
2024
|
}
|
|
2033
|
-
|
|
2025
|
+
const ft = (e) => e, sn = () => {
|
|
2026
|
+
let e = ft;
|
|
2027
|
+
return {
|
|
2028
|
+
configure(t) {
|
|
2029
|
+
e = t;
|
|
2030
|
+
},
|
|
2031
|
+
generate(t) {
|
|
2032
|
+
return e(t);
|
|
2033
|
+
},
|
|
2034
|
+
reset() {
|
|
2035
|
+
e = ft;
|
|
2036
|
+
}
|
|
2037
|
+
};
|
|
2038
|
+
}, ln = sn(), cn = {
|
|
2039
|
+
active: "active",
|
|
2040
|
+
checked: "checked",
|
|
2041
|
+
completed: "completed",
|
|
2042
|
+
disabled: "disabled",
|
|
2043
|
+
error: "error",
|
|
2044
|
+
expanded: "expanded",
|
|
2045
|
+
focused: "focused",
|
|
2046
|
+
focusVisible: "focusVisible",
|
|
2047
|
+
open: "open",
|
|
2048
|
+
readOnly: "readOnly",
|
|
2049
|
+
required: "required",
|
|
2050
|
+
selected: "selected"
|
|
2051
|
+
};
|
|
2052
|
+
function kt(e, t, r = "Mui") {
|
|
2053
|
+
const n = cn[t];
|
|
2054
|
+
return n ? `${r}-${n}` : `${ln.generate(e)}-${t}`;
|
|
2055
|
+
}
|
|
2056
|
+
function un(e, t) {
|
|
2034
2057
|
return {
|
|
2035
2058
|
toolbar: {
|
|
2036
2059
|
minHeight: 56,
|
|
@@ -2046,15 +2069,15 @@ function an(e, t) {
|
|
|
2046
2069
|
...t
|
|
2047
2070
|
};
|
|
2048
2071
|
}
|
|
2049
|
-
function
|
|
2072
|
+
function fn(e) {
|
|
2050
2073
|
return Math.round(e * 1e5) / 1e5;
|
|
2051
2074
|
}
|
|
2052
|
-
const
|
|
2075
|
+
const dt = {
|
|
2053
2076
|
textTransform: "uppercase"
|
|
2054
|
-
},
|
|
2055
|
-
function
|
|
2077
|
+
}, pt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2078
|
+
function dn(e, t) {
|
|
2056
2079
|
const {
|
|
2057
|
-
fontFamily: r =
|
|
2080
|
+
fontFamily: r = pt,
|
|
2058
2081
|
// The default font size of the Material Specification.
|
|
2059
2082
|
fontSize: n = 14,
|
|
2060
2083
|
// px
|
|
@@ -2071,16 +2094,16 @@ function ln(e, t) {
|
|
|
2071
2094
|
...h
|
|
2072
2095
|
} = typeof t == "function" ? t(e) : t;
|
|
2073
2096
|
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2074
|
-
const p = n / 14, b = y || ((C) => `${C / f * p}rem`), m = (C,
|
|
2097
|
+
const p = n / 14, b = y || ((C) => `${C / f * p}rem`), m = (C, O, _, V, $) => ({
|
|
2075
2098
|
fontFamily: r,
|
|
2076
2099
|
fontWeight: C,
|
|
2077
|
-
fontSize: b(
|
|
2100
|
+
fontSize: b(O),
|
|
2078
2101
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2079
|
-
lineHeight:
|
|
2102
|
+
lineHeight: _,
|
|
2080
2103
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2081
2104
|
// across font-families can cause issues with the kerning.
|
|
2082
|
-
...r ===
|
|
2083
|
-
letterSpacing: `${
|
|
2105
|
+
...r === pt ? {
|
|
2106
|
+
letterSpacing: `${fn(V / O)}em`
|
|
2084
2107
|
} : {},
|
|
2085
2108
|
...$,
|
|
2086
2109
|
...d
|
|
@@ -2095,9 +2118,9 @@ function ln(e, t) {
|
|
|
2095
2118
|
subtitle2: m(s, 14, 1.57, 0.1),
|
|
2096
2119
|
body1: m(a, 16, 1.5, 0.15),
|
|
2097
2120
|
body2: m(a, 14, 1.43, 0.15),
|
|
2098
|
-
button: m(s, 14, 1.75, 0.4,
|
|
2121
|
+
button: m(s, 14, 1.75, 0.4, dt),
|
|
2099
2122
|
caption: m(a, 12, 1.66, 0.4),
|
|
2100
|
-
overline: m(a, 12, 2.66, 1,
|
|
2123
|
+
overline: m(a, 12, 2.66, 1, dt),
|
|
2101
2124
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
2102
2125
|
inherit: {
|
|
2103
2126
|
fontFamily: "inherit",
|
|
@@ -2107,7 +2130,7 @@ function ln(e, t) {
|
|
|
2107
2130
|
letterSpacing: "inherit"
|
|
2108
2131
|
}
|
|
2109
2132
|
};
|
|
2110
|
-
return
|
|
2133
|
+
return J({
|
|
2111
2134
|
htmlFontSize: f,
|
|
2112
2135
|
pxToRem: b,
|
|
2113
2136
|
fontFamily: r,
|
|
@@ -2122,11 +2145,11 @@ function ln(e, t) {
|
|
|
2122
2145
|
// No need to clone deep
|
|
2123
2146
|
});
|
|
2124
2147
|
}
|
|
2125
|
-
const
|
|
2148
|
+
const pn = 0.2, mn = 0.14, gn = 0.12;
|
|
2126
2149
|
function k(...e) {
|
|
2127
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
2150
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${pn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${mn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gn})`].join(",");
|
|
2128
2151
|
}
|
|
2129
|
-
const
|
|
2152
|
+
const hn = ["none", k(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), k(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), k(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), k(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), k(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), k(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), k(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), k(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), k(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), k(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), k(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), k(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), k(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), k(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), k(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), k(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), k(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), k(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), k(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), k(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), k(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), k(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), k(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), k(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], yn = {
|
|
2130
2153
|
// This is the most common easing curve.
|
|
2131
2154
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2132
2155
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -2136,7 +2159,7 @@ const dn = ["none", k(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), k(0, 3, 1, -2, 0, 2,
|
|
|
2136
2159
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2137
2160
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2138
2161
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2139
|
-
},
|
|
2162
|
+
}, bn = {
|
|
2140
2163
|
shortest: 150,
|
|
2141
2164
|
shorter: 200,
|
|
2142
2165
|
short: 250,
|
|
@@ -2149,25 +2172,25 @@ const dn = ["none", k(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), k(0, 3, 1, -2, 0, 2,
|
|
|
2149
2172
|
// recommended when something is leaving screen
|
|
2150
2173
|
leavingScreen: 195
|
|
2151
2174
|
};
|
|
2152
|
-
function
|
|
2175
|
+
function mt(e) {
|
|
2153
2176
|
return `${Math.round(e)}ms`;
|
|
2154
2177
|
}
|
|
2155
|
-
function
|
|
2178
|
+
function Cn(e) {
|
|
2156
2179
|
if (!e)
|
|
2157
2180
|
return 0;
|
|
2158
2181
|
const t = e / 36;
|
|
2159
2182
|
return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
|
|
2160
2183
|
}
|
|
2161
|
-
function
|
|
2184
|
+
function Sn(e) {
|
|
2162
2185
|
const t = {
|
|
2163
|
-
...
|
|
2186
|
+
...yn,
|
|
2164
2187
|
...e.easing
|
|
2165
2188
|
}, r = {
|
|
2166
|
-
...
|
|
2189
|
+
...bn,
|
|
2167
2190
|
...e.duration
|
|
2168
2191
|
};
|
|
2169
2192
|
return {
|
|
2170
|
-
getAutoHeightDuration:
|
|
2193
|
+
getAutoHeightDuration: Cn,
|
|
2171
2194
|
create: (o = ["all"], a = {}) => {
|
|
2172
2195
|
const {
|
|
2173
2196
|
duration: s = r.standard,
|
|
@@ -2180,14 +2203,14 @@ function hn(e) {
|
|
|
2180
2203
|
!y(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(s) && !y(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), y(u) || console.error('MUI: Argument "easing" must be a string.'), !h(f) && !y(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
2181
2204
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
2182
2205
|
}
|
|
2183
|
-
return (Array.isArray(o) ? o : [o]).map((y) => `${y} ${typeof s == "string" ? s :
|
|
2206
|
+
return (Array.isArray(o) ? o : [o]).map((y) => `${y} ${typeof s == "string" ? s : mt(s)} ${u} ${typeof f == "string" ? f : mt(f)}`).join(",");
|
|
2184
2207
|
},
|
|
2185
2208
|
...e,
|
|
2186
2209
|
easing: t,
|
|
2187
2210
|
duration: r
|
|
2188
2211
|
};
|
|
2189
2212
|
}
|
|
2190
|
-
const
|
|
2213
|
+
const $n = {
|
|
2191
2214
|
mobileStepper: 1e3,
|
|
2192
2215
|
fab: 1050,
|
|
2193
2216
|
speedDial: 1050,
|
|
@@ -2197,10 +2220,10 @@ const yn = {
|
|
|
2197
2220
|
snackbar: 1400,
|
|
2198
2221
|
tooltip: 1500
|
|
2199
2222
|
};
|
|
2200
|
-
function
|
|
2201
|
-
return
|
|
2223
|
+
function En(e) {
|
|
2224
|
+
return K(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
2202
2225
|
}
|
|
2203
|
-
function
|
|
2226
|
+
function Nt(e = {}) {
|
|
2204
2227
|
const t = {
|
|
2205
2228
|
...e
|
|
2206
2229
|
};
|
|
@@ -2208,7 +2231,7 @@ function wt(e = {}) {
|
|
|
2208
2231
|
const o = Object.entries(n);
|
|
2209
2232
|
for (let a = 0; a < o.length; a++) {
|
|
2210
2233
|
const [s, u] = o[a];
|
|
2211
|
-
!
|
|
2234
|
+
!En(u) || s.startsWith("unstable_") ? delete n[s] : K(u) && (n[s] = {
|
|
2212
2235
|
...u
|
|
2213
2236
|
}, r(n[s]));
|
|
2214
2237
|
}
|
|
@@ -2222,10 +2245,10 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
2222
2245
|
|
|
2223
2246
|
export default theme;`;
|
|
2224
2247
|
}
|
|
2225
|
-
function
|
|
2248
|
+
function gt(e) {
|
|
2226
2249
|
return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
|
|
2227
2250
|
}
|
|
2228
|
-
const
|
|
2251
|
+
const xn = (e) => {
|
|
2229
2252
|
if (!Number.isNaN(+e))
|
|
2230
2253
|
return +e;
|
|
2231
2254
|
const t = e.match(/\d*\.?\d+/g);
|
|
@@ -2236,23 +2259,23 @@ const Cn = (e) => {
|
|
|
2236
2259
|
r += +t[n];
|
|
2237
2260
|
return r;
|
|
2238
2261
|
};
|
|
2239
|
-
function
|
|
2262
|
+
function Tn(e) {
|
|
2240
2263
|
Object.assign(e, {
|
|
2241
2264
|
alpha(t, r) {
|
|
2242
2265
|
const n = this || e;
|
|
2243
|
-
return n.colorSpace ? `oklch(from ${t} l c h / ${typeof r == "string" ? `calc(${r})` : r})` : n.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof r == "string" ? `calc(${r})` : r})` :
|
|
2266
|
+
return n.colorSpace ? `oklch(from ${t} l c h / ${typeof r == "string" ? `calc(${r})` : r})` : n.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof r == "string" ? `calc(${r})` : r})` : At(t, xn(r));
|
|
2244
2267
|
},
|
|
2245
2268
|
lighten(t, r) {
|
|
2246
2269
|
const n = this || e;
|
|
2247
|
-
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${
|
|
2270
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${gt(r)})` : Fe(t, r);
|
|
2248
2271
|
},
|
|
2249
2272
|
darken(t, r) {
|
|
2250
2273
|
const n = this || e;
|
|
2251
|
-
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${
|
|
2274
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${gt(r)})` : Ve(t, r);
|
|
2252
2275
|
}
|
|
2253
2276
|
});
|
|
2254
2277
|
}
|
|
2255
|
-
function
|
|
2278
|
+
function Ye(e = {}, ...t) {
|
|
2256
2279
|
const {
|
|
2257
2280
|
breakpoints: r,
|
|
2258
2281
|
mixins: n = {},
|
|
@@ -2267,67 +2290,67 @@ function We(e = {}, ...t) {
|
|
|
2267
2290
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
2268
2291
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
2269
2292
|
e.generateThemeVars === void 0)
|
|
2270
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." :
|
|
2271
|
-
const h =
|
|
2293
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : xe(20));
|
|
2294
|
+
const h = Qe({
|
|
2272
2295
|
...a,
|
|
2273
2296
|
colorSpace: d
|
|
2274
|
-
}), p =
|
|
2275
|
-
let b =
|
|
2276
|
-
mixins:
|
|
2297
|
+
}), p = Lr(e);
|
|
2298
|
+
let b = J(p, {
|
|
2299
|
+
mixins: un(p.breakpoints, n),
|
|
2277
2300
|
palette: h,
|
|
2278
2301
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2279
|
-
shadows:
|
|
2280
|
-
typography:
|
|
2281
|
-
transitions:
|
|
2302
|
+
shadows: hn.slice(),
|
|
2303
|
+
typography: dn(h, u),
|
|
2304
|
+
transitions: Sn(s),
|
|
2282
2305
|
zIndex: {
|
|
2283
|
-
|
|
2306
|
+
...$n
|
|
2284
2307
|
}
|
|
2285
2308
|
});
|
|
2286
|
-
if (b =
|
|
2287
|
-
const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], l = (C,
|
|
2288
|
-
let
|
|
2289
|
-
for (
|
|
2290
|
-
const V = C[
|
|
2291
|
-
if (m.includes(
|
|
2309
|
+
if (b = J(b, y), b = t.reduce((m, l) => J(m, l), b), process.env.NODE_ENV !== "production") {
|
|
2310
|
+
const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], l = (C, O) => {
|
|
2311
|
+
let _;
|
|
2312
|
+
for (_ in C) {
|
|
2313
|
+
const V = C[_];
|
|
2314
|
+
if (m.includes(_) && Object.keys(V).length > 0) {
|
|
2292
2315
|
if (process.env.NODE_ENV !== "production") {
|
|
2293
|
-
const $ =
|
|
2294
|
-
console.error([`MUI: The \`${
|
|
2316
|
+
const $ = kt("", _);
|
|
2317
|
+
console.error([`MUI: The \`${O}\` component increases the CSS specificity of the \`${_}\` internal state.`, "You can not override it like this: ", JSON.stringify(C, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
|
|
2295
2318
|
root: {
|
|
2296
2319
|
[`&.${$}`]: V
|
|
2297
2320
|
}
|
|
2298
2321
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2299
2322
|
`));
|
|
2300
2323
|
}
|
|
2301
|
-
C[
|
|
2324
|
+
C[_] = {};
|
|
2302
2325
|
}
|
|
2303
2326
|
}
|
|
2304
2327
|
};
|
|
2305
2328
|
Object.keys(b.components).forEach((C) => {
|
|
2306
|
-
const
|
|
2307
|
-
|
|
2329
|
+
const O = b.components[C].styleOverrides;
|
|
2330
|
+
O && C.startsWith("Mui") && l(O, C);
|
|
2308
2331
|
});
|
|
2309
2332
|
}
|
|
2310
2333
|
return b.unstable_sxConfig = {
|
|
2311
|
-
...
|
|
2334
|
+
...Be,
|
|
2312
2335
|
...y == null ? void 0 : y.unstable_sxConfig
|
|
2313
2336
|
}, b.unstable_sx = function(l) {
|
|
2314
|
-
return
|
|
2337
|
+
return Me({
|
|
2315
2338
|
sx: l,
|
|
2316
2339
|
theme: this
|
|
2317
2340
|
});
|
|
2318
|
-
}, b.toRuntimeSource =
|
|
2341
|
+
}, b.toRuntimeSource = Nt, Tn(b), b;
|
|
2319
2342
|
}
|
|
2320
|
-
function
|
|
2343
|
+
function An(e) {
|
|
2321
2344
|
let t;
|
|
2322
2345
|
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
2323
2346
|
}
|
|
2324
|
-
const
|
|
2347
|
+
const vn = [...Array(25)].map((e, t) => {
|
|
2325
2348
|
if (t === 0)
|
|
2326
2349
|
return "none";
|
|
2327
|
-
const r =
|
|
2350
|
+
const r = An(t);
|
|
2328
2351
|
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
2329
2352
|
});
|
|
2330
|
-
function
|
|
2353
|
+
function Rt(e) {
|
|
2331
2354
|
return {
|
|
2332
2355
|
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2333
2356
|
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
@@ -2335,10 +2358,10 @@ function _t(e) {
|
|
|
2335
2358
|
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2336
2359
|
};
|
|
2337
2360
|
}
|
|
2338
|
-
function
|
|
2339
|
-
return e === "dark" ?
|
|
2361
|
+
function It(e) {
|
|
2362
|
+
return e === "dark" ? vn : [];
|
|
2340
2363
|
}
|
|
2341
|
-
function
|
|
2364
|
+
function wn(e) {
|
|
2342
2365
|
const {
|
|
2343
2366
|
palette: t = {
|
|
2344
2367
|
mode: "light"
|
|
@@ -2348,32 +2371,32 @@ function xn(e) {
|
|
|
2348
2371
|
overlays: n,
|
|
2349
2372
|
colorSpace: o,
|
|
2350
2373
|
...a
|
|
2351
|
-
} = e, s =
|
|
2374
|
+
} = e, s = Qe({
|
|
2352
2375
|
...t,
|
|
2353
2376
|
colorSpace: o
|
|
2354
2377
|
});
|
|
2355
2378
|
return {
|
|
2356
2379
|
palette: s,
|
|
2357
2380
|
opacity: {
|
|
2358
|
-
...
|
|
2381
|
+
...Rt(s.mode),
|
|
2359
2382
|
...r
|
|
2360
2383
|
},
|
|
2361
|
-
overlays: n ||
|
|
2384
|
+
overlays: n || It(s.mode),
|
|
2362
2385
|
...a
|
|
2363
2386
|
};
|
|
2364
2387
|
}
|
|
2365
|
-
function
|
|
2388
|
+
function On(e) {
|
|
2366
2389
|
var t;
|
|
2367
2390
|
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2368
2391
|
e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2369
2392
|
}
|
|
2370
|
-
const
|
|
2393
|
+
const _n = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], kn = (e) => (t, r) => {
|
|
2371
2394
|
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2372
2395
|
let a = o;
|
|
2373
2396
|
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === t) {
|
|
2374
2397
|
if (t === "dark") {
|
|
2375
2398
|
const s = {};
|
|
2376
|
-
return
|
|
2399
|
+
return _n(e.cssVarPrefix).forEach((u) => {
|
|
2377
2400
|
s[u] = r[u], delete r[u];
|
|
2378
2401
|
}), a === "media" ? {
|
|
2379
2402
|
[n]: r,
|
|
@@ -2404,7 +2427,7 @@ const An = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlay
|
|
|
2404
2427
|
}
|
|
2405
2428
|
return n;
|
|
2406
2429
|
};
|
|
2407
|
-
function
|
|
2430
|
+
function Nn(e, t) {
|
|
2408
2431
|
t.forEach((r) => {
|
|
2409
2432
|
e[r] || (e[r] = {});
|
|
2410
2433
|
});
|
|
@@ -2412,29 +2435,29 @@ function wn(e, t) {
|
|
|
2412
2435
|
function c(e, t, r) {
|
|
2413
2436
|
!e[t] && r && (e[t] = r);
|
|
2414
2437
|
}
|
|
2415
|
-
function
|
|
2416
|
-
return typeof e != "string" || !e.startsWith("hsl") ? e :
|
|
2438
|
+
function de(e) {
|
|
2439
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : Tt(e);
|
|
2417
2440
|
}
|
|
2418
|
-
function
|
|
2419
|
-
`${t}Channel` in e || (e[`${t}Channel`] =
|
|
2441
|
+
function W(e, t) {
|
|
2442
|
+
`${t}Channel` in e || (e[`${t}Channel`] = fe(de(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
2420
2443
|
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
2421
2444
|
}
|
|
2422
|
-
function
|
|
2445
|
+
function Rn(e) {
|
|
2423
2446
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2424
2447
|
}
|
|
2425
|
-
const
|
|
2448
|
+
const j = (e) => {
|
|
2426
2449
|
try {
|
|
2427
2450
|
return e();
|
|
2428
2451
|
} catch {
|
|
2429
2452
|
}
|
|
2430
|
-
},
|
|
2431
|
-
function
|
|
2453
|
+
}, In = (e = "mui") => Yr(e);
|
|
2454
|
+
function Ue(e, t, r, n, o) {
|
|
2432
2455
|
if (!r)
|
|
2433
2456
|
return;
|
|
2434
2457
|
r = r === !0 ? {} : r;
|
|
2435
2458
|
const a = o === "dark" ? "dark" : "light";
|
|
2436
2459
|
if (!n) {
|
|
2437
|
-
t[o] =
|
|
2460
|
+
t[o] = wn({
|
|
2438
2461
|
...r,
|
|
2439
2462
|
palette: {
|
|
2440
2463
|
mode: a,
|
|
@@ -2447,7 +2470,7 @@ function Me(e, t, r, n, o) {
|
|
|
2447
2470
|
const {
|
|
2448
2471
|
palette: s,
|
|
2449
2472
|
...u
|
|
2450
|
-
} =
|
|
2473
|
+
} = Ye({
|
|
2451
2474
|
...n,
|
|
2452
2475
|
palette: {
|
|
2453
2476
|
mode: a,
|
|
@@ -2459,13 +2482,13 @@ function Me(e, t, r, n, o) {
|
|
|
2459
2482
|
...r,
|
|
2460
2483
|
palette: s,
|
|
2461
2484
|
opacity: {
|
|
2462
|
-
...
|
|
2485
|
+
...Rt(a),
|
|
2463
2486
|
...r == null ? void 0 : r.opacity
|
|
2464
2487
|
},
|
|
2465
|
-
overlays: (r == null ? void 0 : r.overlays) ||
|
|
2488
|
+
overlays: (r == null ? void 0 : r.overlays) || It(a)
|
|
2466
2489
|
}, u;
|
|
2467
2490
|
}
|
|
2468
|
-
function
|
|
2491
|
+
function Pn(e = {}, ...t) {
|
|
2469
2492
|
const {
|
|
2470
2493
|
colorSchemes: r = {
|
|
2471
2494
|
light: !0
|
|
@@ -2474,41 +2497,41 @@ function kn(e = {}, ...t) {
|
|
|
2474
2497
|
disableCssColorScheme: o = !1,
|
|
2475
2498
|
cssVarPrefix: a = "mui",
|
|
2476
2499
|
nativeColor: s = !1,
|
|
2477
|
-
shouldSkipGeneratingVar: u =
|
|
2500
|
+
shouldSkipGeneratingVar: u = On,
|
|
2478
2501
|
colorSchemeSelector: f = r.light && r.dark ? "media" : void 0,
|
|
2479
2502
|
rootSelector: d = ":root",
|
|
2480
2503
|
...y
|
|
2481
|
-
} = e, h = Object.keys(r)[0], p = n || (r.light && h !== "light" ? "light" : h), b =
|
|
2504
|
+
} = e, h = Object.keys(r)[0], p = n || (r.light && h !== "light" ? "light" : h), b = In(a), {
|
|
2482
2505
|
[p]: m,
|
|
2483
2506
|
light: l,
|
|
2484
2507
|
dark: C,
|
|
2485
|
-
...
|
|
2486
|
-
} = r,
|
|
2487
|
-
...
|
|
2508
|
+
...O
|
|
2509
|
+
} = r, _ = {
|
|
2510
|
+
...O
|
|
2488
2511
|
};
|
|
2489
2512
|
let V = m;
|
|
2490
2513
|
if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (V = !0), !V)
|
|
2491
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` :
|
|
2514
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : xe(21, p));
|
|
2492
2515
|
let $;
|
|
2493
2516
|
s && ($ = "oklch");
|
|
2494
|
-
const
|
|
2495
|
-
l && !
|
|
2517
|
+
const M = Ue($, _, V, y, p);
|
|
2518
|
+
l && !_.light && Ue($, _, l, void 0, "light"), C && !_.dark && Ue($, _, C, void 0, "dark");
|
|
2496
2519
|
let E = {
|
|
2497
2520
|
defaultColorScheme: p,
|
|
2498
|
-
...
|
|
2521
|
+
...M,
|
|
2499
2522
|
cssVarPrefix: a,
|
|
2500
2523
|
colorSchemeSelector: f,
|
|
2501
2524
|
rootSelector: d,
|
|
2502
2525
|
getCssVar: b,
|
|
2503
|
-
colorSchemes:
|
|
2526
|
+
colorSchemes: _,
|
|
2504
2527
|
font: {
|
|
2505
|
-
...
|
|
2506
|
-
...
|
|
2528
|
+
...an(M.typography),
|
|
2529
|
+
...M.font
|
|
2507
2530
|
},
|
|
2508
|
-
spacing:
|
|
2531
|
+
spacing: Rn(y.spacing)
|
|
2509
2532
|
};
|
|
2510
|
-
Object.keys(E.colorSchemes).forEach((
|
|
2511
|
-
const i = E.colorSchemes[
|
|
2533
|
+
Object.keys(E.colorSchemes).forEach((B) => {
|
|
2534
|
+
const i = E.colorSchemes[B].palette, S = (x) => {
|
|
2512
2535
|
const I = x.split("-"), Z = I[1], ee = I[2];
|
|
2513
2536
|
return b(x, i[Z][ee]);
|
|
2514
2537
|
};
|
|
@@ -2516,61 +2539,61 @@ function kn(e = {}, ...t) {
|
|
|
2516
2539
|
function g(x, I, Z) {
|
|
2517
2540
|
if ($) {
|
|
2518
2541
|
let ee;
|
|
2519
|
-
return x ===
|
|
2542
|
+
return x === X && (ee = `transparent ${((1 - Z) * 100).toFixed(0)}%`), x === T && (ee = `#000 ${(Z * 100).toFixed(0)}%`), x === A && (ee = `#fff ${(Z * 100).toFixed(0)}%`), `color-mix(in ${$}, ${I}, ${ee})`;
|
|
2520
2543
|
}
|
|
2521
2544
|
return x(I, Z);
|
|
2522
2545
|
}
|
|
2523
|
-
if (
|
|
2524
|
-
c(i.Alert, "errorColor", g(T, i.error.light, 0.6)), c(i.Alert, "infoColor", g(T, i.info.light, 0.6)), c(i.Alert, "successColor", g(T, i.success.light, 0.6)), c(i.Alert, "warningColor", g(T, i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", S("palette-error-main")), c(i.Alert, "infoFilledBg", S("palette-info-main")), c(i.Alert, "successFilledBg", S("palette-success-main")), c(i.Alert, "warningFilledBg", S("palette-warning-main")), c(i.Alert, "errorFilledColor",
|
|
2525
|
-
const x = $ ? g(T, i.background.default, 0.6825) :
|
|
2526
|
-
c(i.SnackbarContent, "bg", x), c(i.SnackbarContent, "color",
|
|
2546
|
+
if (Nn(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
2547
|
+
c(i.Alert, "errorColor", g(T, i.error.light, 0.6)), c(i.Alert, "infoColor", g(T, i.info.light, 0.6)), c(i.Alert, "successColor", g(T, i.success.light, 0.6)), c(i.Alert, "warningColor", g(T, i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", S("palette-error-main")), c(i.Alert, "infoFilledBg", S("palette-info-main")), c(i.Alert, "successFilledBg", S("palette-success-main")), c(i.Alert, "warningFilledBg", S("palette-warning-main")), c(i.Alert, "errorFilledColor", j(() => i.getContrastText(i.error.main))), c(i.Alert, "infoFilledColor", j(() => i.getContrastText(i.info.main))), c(i.Alert, "successFilledColor", j(() => i.getContrastText(i.success.main))), c(i.Alert, "warningFilledColor", j(() => i.getContrastText(i.warning.main))), c(i.Alert, "errorStandardBg", g(A, i.error.light, 0.9)), c(i.Alert, "infoStandardBg", g(A, i.info.light, 0.9)), c(i.Alert, "successStandardBg", g(A, i.success.light, 0.9)), c(i.Alert, "warningStandardBg", g(A, i.warning.light, 0.9)), c(i.Alert, "errorIconColor", S("palette-error-main")), c(i.Alert, "infoIconColor", S("palette-info-main")), c(i.Alert, "successIconColor", S("palette-success-main")), c(i.Alert, "warningIconColor", S("palette-warning-main")), c(i.AppBar, "defaultBg", S("palette-grey-100")), c(i.Avatar, "defaultBg", S("palette-grey-400")), c(i.Button, "inheritContainedBg", S("palette-grey-300")), c(i.Button, "inheritContainedHoverBg", S("palette-grey-A100")), c(i.Chip, "defaultBorder", S("palette-grey-400")), c(i.Chip, "defaultAvatarColor", S("palette-grey-700")), c(i.Chip, "defaultIconColor", S("palette-grey-700")), c(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), c(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), c(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), c(i.LinearProgress, "primaryBg", g(A, i.primary.main, 0.62)), c(i.LinearProgress, "secondaryBg", g(A, i.secondary.main, 0.62)), c(i.LinearProgress, "errorBg", g(A, i.error.main, 0.62)), c(i.LinearProgress, "infoBg", g(A, i.info.main, 0.62)), c(i.LinearProgress, "successBg", g(A, i.success.main, 0.62)), c(i.LinearProgress, "warningBg", g(A, i.warning.main, 0.62)), c(i.Skeleton, "bg", $ ? g(X, i.text.primary, 0.11) : `rgba(${S("palette-text-primaryChannel")} / 0.11)`), c(i.Slider, "primaryTrack", g(A, i.primary.main, 0.62)), c(i.Slider, "secondaryTrack", g(A, i.secondary.main, 0.62)), c(i.Slider, "errorTrack", g(A, i.error.main, 0.62)), c(i.Slider, "infoTrack", g(A, i.info.main, 0.62)), c(i.Slider, "successTrack", g(A, i.success.main, 0.62)), c(i.Slider, "warningTrack", g(A, i.warning.main, 0.62));
|
|
2548
|
+
const x = $ ? g(T, i.background.default, 0.6825) : Ce(i.background.default, 0.8);
|
|
2549
|
+
c(i.SnackbarContent, "bg", x), c(i.SnackbarContent, "color", j(() => $ ? ze.text.primary : i.getContrastText(x))), c(i.SpeedDialAction, "fabHoverBg", Ce(i.background.paper, 0.15)), c(i.StepConnector, "border", S("palette-grey-400")), c(i.StepContent, "border", S("palette-grey-400")), c(i.Switch, "defaultColor", S("palette-common-white")), c(i.Switch, "defaultDisabledColor", S("palette-grey-100")), c(i.Switch, "primaryDisabledColor", g(A, i.primary.main, 0.62)), c(i.Switch, "secondaryDisabledColor", g(A, i.secondary.main, 0.62)), c(i.Switch, "errorDisabledColor", g(A, i.error.main, 0.62)), c(i.Switch, "infoDisabledColor", g(A, i.info.main, 0.62)), c(i.Switch, "successDisabledColor", g(A, i.success.main, 0.62)), c(i.Switch, "warningDisabledColor", g(A, i.warning.main, 0.62)), c(i.TableCell, "border", g(A, g(X, i.divider, 1), 0.88)), c(i.Tooltip, "bg", g(X, i.grey[700], 0.92));
|
|
2527
2550
|
}
|
|
2528
2551
|
if (i.mode === "dark") {
|
|
2529
|
-
c(i.Alert, "errorColor", g(A, i.error.light, 0.6)), c(i.Alert, "infoColor", g(A, i.info.light, 0.6)), c(i.Alert, "successColor", g(A, i.success.light, 0.6)), c(i.Alert, "warningColor", g(A, i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", S("palette-error-dark")), c(i.Alert, "infoFilledBg", S("palette-info-dark")), c(i.Alert, "successFilledBg", S("palette-success-dark")), c(i.Alert, "warningFilledBg", S("palette-warning-dark")), c(i.Alert, "errorFilledColor",
|
|
2530
|
-
const x = $ ? g(A, i.background.default, 0.985) :
|
|
2531
|
-
c(i.SnackbarContent, "bg", x), c(i.SnackbarContent, "color",
|
|
2552
|
+
c(i.Alert, "errorColor", g(A, i.error.light, 0.6)), c(i.Alert, "infoColor", g(A, i.info.light, 0.6)), c(i.Alert, "successColor", g(A, i.success.light, 0.6)), c(i.Alert, "warningColor", g(A, i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", S("palette-error-dark")), c(i.Alert, "infoFilledBg", S("palette-info-dark")), c(i.Alert, "successFilledBg", S("palette-success-dark")), c(i.Alert, "warningFilledBg", S("palette-warning-dark")), c(i.Alert, "errorFilledColor", j(() => i.getContrastText(i.error.dark))), c(i.Alert, "infoFilledColor", j(() => i.getContrastText(i.info.dark))), c(i.Alert, "successFilledColor", j(() => i.getContrastText(i.success.dark))), c(i.Alert, "warningFilledColor", j(() => i.getContrastText(i.warning.dark))), c(i.Alert, "errorStandardBg", g(T, i.error.light, 0.9)), c(i.Alert, "infoStandardBg", g(T, i.info.light, 0.9)), c(i.Alert, "successStandardBg", g(T, i.success.light, 0.9)), c(i.Alert, "warningStandardBg", g(T, i.warning.light, 0.9)), c(i.Alert, "errorIconColor", S("palette-error-main")), c(i.Alert, "infoIconColor", S("palette-info-main")), c(i.Alert, "successIconColor", S("palette-success-main")), c(i.Alert, "warningIconColor", S("palette-warning-main")), c(i.AppBar, "defaultBg", S("palette-grey-900")), c(i.AppBar, "darkBg", S("palette-background-paper")), c(i.AppBar, "darkColor", S("palette-text-primary")), c(i.Avatar, "defaultBg", S("palette-grey-600")), c(i.Button, "inheritContainedBg", S("palette-grey-800")), c(i.Button, "inheritContainedHoverBg", S("palette-grey-700")), c(i.Chip, "defaultBorder", S("palette-grey-700")), c(i.Chip, "defaultAvatarColor", S("palette-grey-300")), c(i.Chip, "defaultIconColor", S("palette-grey-300")), c(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), c(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), c(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), c(i.LinearProgress, "primaryBg", g(T, i.primary.main, 0.5)), c(i.LinearProgress, "secondaryBg", g(T, i.secondary.main, 0.5)), c(i.LinearProgress, "errorBg", g(T, i.error.main, 0.5)), c(i.LinearProgress, "infoBg", g(T, i.info.main, 0.5)), c(i.LinearProgress, "successBg", g(T, i.success.main, 0.5)), c(i.LinearProgress, "warningBg", g(T, i.warning.main, 0.5)), c(i.Skeleton, "bg", $ ? g(X, i.text.primary, 0.13) : `rgba(${S("palette-text-primaryChannel")} / 0.13)`), c(i.Slider, "primaryTrack", g(T, i.primary.main, 0.5)), c(i.Slider, "secondaryTrack", g(T, i.secondary.main, 0.5)), c(i.Slider, "errorTrack", g(T, i.error.main, 0.5)), c(i.Slider, "infoTrack", g(T, i.info.main, 0.5)), c(i.Slider, "successTrack", g(T, i.success.main, 0.5)), c(i.Slider, "warningTrack", g(T, i.warning.main, 0.5));
|
|
2553
|
+
const x = $ ? g(A, i.background.default, 0.985) : Ce(i.background.default, 0.98);
|
|
2554
|
+
c(i.SnackbarContent, "bg", x), c(i.SnackbarContent, "color", j(() => $ ? Ot.text.primary : i.getContrastText(x))), c(i.SpeedDialAction, "fabHoverBg", Ce(i.background.paper, 0.15)), c(i.StepConnector, "border", S("palette-grey-600")), c(i.StepContent, "border", S("palette-grey-600")), c(i.Switch, "defaultColor", S("palette-grey-300")), c(i.Switch, "defaultDisabledColor", S("palette-grey-600")), c(i.Switch, "primaryDisabledColor", g(T, i.primary.main, 0.55)), c(i.Switch, "secondaryDisabledColor", g(T, i.secondary.main, 0.55)), c(i.Switch, "errorDisabledColor", g(T, i.error.main, 0.55)), c(i.Switch, "infoDisabledColor", g(T, i.info.main, 0.55)), c(i.Switch, "successDisabledColor", g(T, i.success.main, 0.55)), c(i.Switch, "warningDisabledColor", g(T, i.warning.main, 0.55)), c(i.TableCell, "border", g(T, g(X, i.divider, 1), 0.68)), c(i.Tooltip, "bg", g(X, i.grey[700], 0.92));
|
|
2532
2555
|
}
|
|
2533
|
-
|
|
2556
|
+
W(i.background, "default"), W(i.background, "paper"), W(i.common, "background"), W(i.common, "onBackground"), W(i, "divider"), Object.keys(i).forEach((x) => {
|
|
2534
2557
|
const I = i[x];
|
|
2535
|
-
x !== "tonalOffset" && I && typeof I == "object" && (I.main && c(i[x], "mainChannel",
|
|
2558
|
+
x !== "tonalOffset" && I && typeof I == "object" && (I.main && c(i[x], "mainChannel", fe(de(I.main))), I.light && c(i[x], "lightChannel", fe(de(I.light))), I.dark && c(i[x], "darkChannel", fe(de(I.dark))), I.contrastText && c(i[x], "contrastTextChannel", fe(de(I.contrastText))), x === "text" && (W(i[x], "primary"), W(i[x], "secondary")), x === "action" && (I.active && W(i[x], "active"), I.selected && W(i[x], "selected")));
|
|
2536
2559
|
});
|
|
2537
|
-
}), E = t.reduce((
|
|
2538
|
-
const
|
|
2560
|
+
}), E = t.reduce((B, i) => J(B, i), E);
|
|
2561
|
+
const U = {
|
|
2539
2562
|
prefix: a,
|
|
2540
2563
|
disableCssColorScheme: o,
|
|
2541
2564
|
shouldSkipGeneratingVar: u,
|
|
2542
|
-
getSelector:
|
|
2565
|
+
getSelector: kn(E),
|
|
2543
2566
|
enableContrastVars: s
|
|
2544
2567
|
}, {
|
|
2545
|
-
vars:
|
|
2546
|
-
generateThemeVars:
|
|
2547
|
-
generateStyleSheets:
|
|
2548
|
-
} =
|
|
2549
|
-
return E.vars =
|
|
2550
|
-
E[
|
|
2551
|
-
}), E.generateThemeVars =
|
|
2552
|
-
return
|
|
2553
|
-
}, E.getColorSchemeSelector =
|
|
2554
|
-
...
|
|
2568
|
+
vars: Y,
|
|
2569
|
+
generateThemeVars: le,
|
|
2570
|
+
generateStyleSheets: ye
|
|
2571
|
+
} = qr(E, U);
|
|
2572
|
+
return E.vars = Y, Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([B, i]) => {
|
|
2573
|
+
E[B] = i;
|
|
2574
|
+
}), E.generateThemeVars = le, E.generateStyleSheets = ye, E.generateSpacing = function() {
|
|
2575
|
+
return xt(y.spacing, Ke(this));
|
|
2576
|
+
}, E.getColorSchemeSelector = Qr(f), E.spacing = E.generateSpacing(), E.shouldSkipGeneratingVar = u, E.unstable_sxConfig = {
|
|
2577
|
+
...Be,
|
|
2555
2578
|
...y == null ? void 0 : y.unstable_sxConfig
|
|
2556
2579
|
}, E.unstable_sx = function(i) {
|
|
2557
|
-
return
|
|
2580
|
+
return Me({
|
|
2558
2581
|
sx: i,
|
|
2559
2582
|
theme: this
|
|
2560
2583
|
});
|
|
2561
|
-
}, E.toRuntimeSource =
|
|
2584
|
+
}, E.toRuntimeSource = Nt, E;
|
|
2562
2585
|
}
|
|
2563
|
-
function
|
|
2586
|
+
function ht(e, t, r) {
|
|
2564
2587
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
2565
2588
|
...r !== !0 && r,
|
|
2566
|
-
palette:
|
|
2589
|
+
palette: Qe({
|
|
2567
2590
|
...r === !0 ? {} : r.palette,
|
|
2568
2591
|
mode: t
|
|
2569
2592
|
})
|
|
2570
2593
|
// cast type to skip module augmentation test
|
|
2571
2594
|
});
|
|
2572
2595
|
}
|
|
2573
|
-
function
|
|
2596
|
+
function zn(e = {}, ...t) {
|
|
2574
2597
|
const {
|
|
2575
2598
|
palette: r,
|
|
2576
2599
|
cssVariables: n = !1,
|
|
@@ -2590,84 +2613,91 @@ function Un(e = {}, ...t) {
|
|
|
2590
2613
|
};
|
|
2591
2614
|
if (n === !1) {
|
|
2592
2615
|
if (!("colorSchemes" in e))
|
|
2593
|
-
return
|
|
2616
|
+
return Ye(e, ...t);
|
|
2594
2617
|
let y = r;
|
|
2595
2618
|
"palette" in e || d[u] && (d[u] !== !0 ? y = d[u].palette : u === "dark" && (y = {
|
|
2596
2619
|
mode: "dark"
|
|
2597
2620
|
}));
|
|
2598
|
-
const h =
|
|
2621
|
+
const h = Ye({
|
|
2599
2622
|
...e,
|
|
2600
2623
|
palette: y
|
|
2601
2624
|
}, ...t);
|
|
2602
2625
|
return h.defaultColorScheme = u, h.colorSchemes = d, h.palette.mode === "light" && (h.colorSchemes.light = {
|
|
2603
2626
|
...d.light !== !0 && d.light,
|
|
2604
2627
|
palette: h.palette
|
|
2605
|
-
},
|
|
2628
|
+
}, ht(h, "dark", d.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = {
|
|
2606
2629
|
...d.dark !== !0 && d.dark,
|
|
2607
2630
|
palette: h.palette
|
|
2608
|
-
},
|
|
2631
|
+
}, ht(h, "light", d.light)), h;
|
|
2609
2632
|
}
|
|
2610
|
-
return !r && !("light" in d) && u === "light" && (d.light = !0),
|
|
2633
|
+
return !r && !("light" in d) && u === "light" && (d.light = !0), Pn({
|
|
2611
2634
|
...s,
|
|
2612
2635
|
colorSchemes: d,
|
|
2613
2636
|
defaultColorScheme: u,
|
|
2614
2637
|
...typeof n != "boolean" && n
|
|
2615
2638
|
}, ...t);
|
|
2616
2639
|
}
|
|
2617
|
-
const
|
|
2640
|
+
const Yn = "$$material";
|
|
2641
|
+
function Kn(e, t, r = "Mui") {
|
|
2642
|
+
const n = {};
|
|
2643
|
+
return t.forEach((o) => {
|
|
2644
|
+
n[o] = kt(e, o, r);
|
|
2645
|
+
}), n;
|
|
2646
|
+
}
|
|
2618
2647
|
export {
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
+
J as $,
|
|
2649
|
+
An as A,
|
|
2650
|
+
On as B,
|
|
2651
|
+
dn as C,
|
|
2652
|
+
un as D,
|
|
2653
|
+
_n as E,
|
|
2654
|
+
Kn as F,
|
|
2655
|
+
kt as G,
|
|
2656
|
+
Vn as H,
|
|
2657
|
+
xe as I,
|
|
2658
|
+
ae as J,
|
|
2659
|
+
Be as K,
|
|
2660
|
+
G as L,
|
|
2661
|
+
Ln as M,
|
|
2662
|
+
Ke as N,
|
|
2663
|
+
q as O,
|
|
2664
|
+
Fn as P,
|
|
2665
|
+
Lr as Q,
|
|
2666
|
+
he as R,
|
|
2667
|
+
we as S,
|
|
2668
|
+
Yn as T,
|
|
2669
|
+
jn as U,
|
|
2670
|
+
Me as V,
|
|
2671
|
+
ln as W,
|
|
2672
|
+
Wn as X,
|
|
2673
|
+
Ae as Y,
|
|
2674
|
+
Un as Z,
|
|
2675
|
+
bt as _,
|
|
2676
|
+
Xr as a,
|
|
2677
|
+
xt as a0,
|
|
2648
2678
|
ne as b,
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2679
|
+
me as c,
|
|
2680
|
+
Gn as d,
|
|
2681
|
+
Tt as e,
|
|
2682
|
+
z as f,
|
|
2653
2683
|
ie as g,
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2684
|
+
Ur as h,
|
|
2685
|
+
De as i,
|
|
2686
|
+
st as j,
|
|
2687
|
+
Ge as k,
|
|
2658
2688
|
oe as l,
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2689
|
+
zr as m,
|
|
2690
|
+
At as n,
|
|
2691
|
+
ue as o,
|
|
2662
2692
|
te as p,
|
|
2663
|
-
|
|
2693
|
+
Ve as q,
|
|
2664
2694
|
re as r,
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2695
|
+
Fe as s,
|
|
2696
|
+
Dr as t,
|
|
2697
|
+
zn as u,
|
|
2698
|
+
Sn as v,
|
|
2699
|
+
bn as w,
|
|
2700
|
+
yn as x,
|
|
2701
|
+
wn as y,
|
|
2702
|
+
Pn as z
|
|
2673
2703
|
};
|