@cgi-learning-hub/ui 1.7.0-dev.1754301696 → 1.7.0-dev.1754384740
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-D7CiHM6d.js → Alert-6yOnGlLE.js} +6 -6
- package/dist/Alert-CWHOYWde.cjs +1 -0
- package/dist/Alert-D4-73fYc.cjs +1 -0
- package/dist/{Alert-kxWN2hw0.js → Alert-D6SQnjuJ.js} +83 -84
- package/dist/{Autocomplete-BfNqYbav.js → Autocomplete-B8u-WYi5.js} +690 -675
- package/dist/Autocomplete-BA6NkciB.cjs +6 -0
- package/dist/Backdrop-Dp1hKKfU.cjs +1 -0
- package/dist/{Backdrop-D7dPrxSb.js → Backdrop-DuOPKUSY.js} +36 -35
- package/dist/{Badge-DBzOcFK5.js → Badge-BJ4yH_Da.js} +9 -10
- package/dist/Badge-XMr4Ygjv.cjs +1 -0
- package/dist/Box-B5E7sstc.cjs +1 -0
- package/dist/{Box-CBqFcDTK.js → Box-BWETzF5p.js} +3 -3
- package/dist/Button-BJB830NI.cjs +1 -0
- package/dist/{Button-CdzT4uYI.js → Button-C8_HxKFe.js} +139 -173
- package/dist/{ButtonBase-C1FIHWcD.js → ButtonBase-CJYV8wgs.js} +2 -2
- package/dist/{ButtonBase-BOnOTx73.cjs → ButtonBase-DPIkh47Q.cjs} +1 -1
- package/dist/CardContent-H0z20SY7.cjs +1 -0
- package/dist/{CardContent-cbluqmUz.js → CardContent-V9JMSLmA.js} +3 -3
- package/dist/Checkbox-BZPMiwbF.cjs +1 -0
- package/dist/{Checkbox-CXMDqMmf.js → Checkbox-DMMz_IAP.js} +85 -86
- package/dist/Chip-BDVqkZZM.js +573 -0
- package/dist/Chip-DMBSp59F.cjs +1 -0
- package/dist/CircularProgress-BMVNeiSf.cjs +28 -0
- package/dist/{CircularProgress-ByBabaUG.js → CircularProgress-CrWnCGqN.js} +13 -14
- package/dist/{Close-NlNVwj8F.cjs → Close-2eEmvKPH.cjs} +1 -1
- package/dist/{Close-BjQCC0qE.js → Close-Cr2OT0GV.js} +1 -1
- package/dist/{CloseRounded-XK3z7Pzh.cjs → CloseRounded-B6cT7aGi.cjs} +1 -1
- package/dist/{CloseRounded-DHTxUBWk.js → CloseRounded-BrGeesu1.js} +1 -1
- package/dist/{CustomTreeItem-C1bfen5B.cjs → CustomTreeItem-BXgsWbl_.cjs} +1 -1
- package/dist/{CustomTreeItem-D-4kMx41.js → CustomTreeItem-DhB3ECa2.js} +12 -12
- package/dist/DatePicker-DtPvvFiK.cjs +16 -0
- package/dist/{DatePicker-DZrDegSu.js → DatePicker-ofISDY8Q.js} +2862 -2864
- package/dist/DefaultPropsProvider-BFTLy05-.cjs +1 -0
- package/dist/{DefaultPropsProvider-BrNsAtD3.js → DefaultPropsProvider-nxIPd34m.js} +23 -23
- package/dist/{Delete-jSTHS8bP.cjs → Delete-BF63Gpr-.cjs} +1 -1
- package/dist/{Delete-De1w6Wb0.js → Delete-CwWpjEOT.js} +1 -1
- package/dist/Dialog-Cymf3DJ2.cjs +1 -0
- package/dist/{Dialog-Cx__5cTV.js → Dialog-eK1zTFBm.js} +14 -15
- package/dist/{DialogContent-DrRkY205.js → DialogContent-BsPZJR2a.js} +3 -3
- package/dist/DialogContent-Gy1s3ela.cjs +1 -0
- package/dist/DialogTitle-BDyrzRXS.cjs +1 -0
- package/dist/{DialogTitle-CdH-pj3R.js → DialogTitle-CaAd59jN.js} +5 -5
- package/dist/Divider-BzdMIEJJ.cjs +1 -0
- package/dist/{Divider-BTDjUp2v.js → Divider-D_gbcyWE.js} +26 -26
- package/dist/{Folder-BdmrBiSE.js → Folder-COKXTjZ4.js} +1 -1
- package/dist/{Folder-Ry-DhShC.cjs → Folder-D0fZbyc-.cjs} +1 -1
- package/dist/FormLabel-BLySmpkL.cjs +2 -0
- package/dist/{FormLabel-BqkN_xxS.js → FormLabel-DmLckqyT.js} +15 -16
- package/dist/Grid-DFaRzlB4.cjs +2 -0
- package/dist/{Grid-Dal_bzkG.js → Grid-vM--ojbL.js} +74 -82
- package/dist/{Grow-BpiZp6xU.js → Grow-DE5x7F5S.js} +1 -1
- package/dist/{Grow-DPkmt9jI.cjs → Grow-ovNT7Sot.cjs} +1 -1
- package/dist/IconButton-DCQiOq7W.cjs +2 -0
- package/dist/{IconButton-BrEiwZs1.js → IconButton-f9EZgwvD.js} +66 -67
- package/dist/{InputAdornment-6pibWhBs.js → InputAdornment-B615VSjF.js} +14 -15
- package/dist/InputAdornment-BrrJ8chb.cjs +1 -0
- package/dist/{InputBase--Jk0Al5O.js → InputBase-BCbPPzW1.js} +50 -51
- package/dist/InputBase-CRrFludT.cjs +4 -0
- package/dist/Link-CMes5bws.cjs +1 -0
- package/dist/{Link-8wJ87d6M.js → Link-GBRiPElP.js} +56 -44
- package/dist/{List-q9c0EQIN.js → List-DZkddOsr.js} +2 -2
- package/dist/List-E_TAQ1jJ.cjs +1 -0
- package/dist/{ListItem-iH38wGFD.js → ListItem-CMoibMI7.js} +4 -4
- package/dist/ListItem-qTKJTg7f.cjs +1 -0
- package/dist/ListItemText-B3z5dHrQ.cjs +1 -0
- package/dist/{ListItemText-7p6JHq3z.js → ListItemText-BbrPf29n.js} +139 -139
- package/dist/{Menu-B-AGEy5x.js → Menu-3UjlpKRJ.js} +28 -28
- package/dist/{Menu-CZF84BcH.cjs → Menu-C0uY9Dd0.cjs} +5 -5
- package/dist/MenuItem--a878rw9.cjs +1 -0
- package/dist/{MenuItem-D-Y0l50p.js → MenuItem-CHEWce5u.js} +94 -94
- package/dist/Modal-CdcolE0C.cjs +2 -0
- package/dist/{Modal-rm4Wr5mr.js → Modal-Du5LfkZg.js} +6 -6
- package/dist/{MoreVert-4w5beLFq.cjs → MoreVert-DZjEMvuw.cjs} +1 -1
- package/dist/{MoreVert-K_wr6kJS.js → MoreVert-PLU7h8WO.js} +1 -1
- package/dist/{Paper-CFhnudKQ.js → Paper-BylmTlAJ.js} +4 -4
- package/dist/Paper-DgHGh6vt.cjs +2 -0
- package/dist/Popper-BsNp09Gg.cjs +4 -0
- package/dist/{Popper-tW85AcRT.js → Popper-CvQLHjwo.js} +4 -4
- package/dist/{Portal-DZrHcvYi.js → Portal-BlK6ttxt.js} +15 -15
- package/dist/Portal-CPOCKeMh.cjs +1 -0
- package/dist/Radio-CLNMQGNf.cjs +1 -0
- package/dist/{Radio-C1IIog7f.js → Radio-CbYgci2-.js} +124 -120
- package/dist/{RadioGroup-C03E_nJT.js → RadioGroup-D-Cq8SmM.js} +3 -3
- package/dist/RadioGroup-Dyf8fKum.cjs +1 -0
- package/dist/{Select-qUF3oQz8.js → Select-Bx0yVOZE.js} +596 -563
- package/dist/Select-CRVPbesC.cjs +3 -0
- package/dist/Stack-COmIqMxy.cjs +1 -0
- package/dist/{Stack-D1BZQ4nk.js → Stack-CbK4a2n5.js} +16 -16
- package/dist/Stepper-CWq9t5jy.cjs +1 -0
- package/dist/{Stepper-N5qN-x7q.js → Stepper-DU9nixCp.js} +22 -23
- package/dist/{Switch-PlSZBWfd.js → Switch-Bm3Gclye.js} +97 -95
- package/dist/Switch-kHZOqjeU.cjs +1 -0
- package/dist/{SwitchBase-CAOV2ay6.js → SwitchBase-9CKmTWdZ.js} +50 -48
- package/dist/SwitchBase-Hbqxtooi.cjs +1 -0
- package/dist/{Tab-DfH7qAIY.js → Tab-DBCv1T9W.js} +75 -76
- package/dist/Tab-DnxFjc89.cjs +4 -0
- package/dist/TextField-BhdmUny-.cjs +1 -0
- package/dist/{TextField-CUhKk24w.js → TextField-V-EQ80Y6.js} +22 -23
- package/dist/ToggleButtonGroup-B2FBwoDV.cjs +138 -0
- package/dist/{ToggleButtonGroup-D_I3DjEz.js → ToggleButtonGroup-_UpIjysl.js} +1742 -1760
- package/dist/{Tooltip-BLSnjkFh.js → Tooltip-DKHOTDh0.js} +84 -85
- package/dist/Tooltip-DYTDIzp4.cjs +4 -0
- package/dist/Typography-BvRUTdLD.cjs +1 -0
- package/dist/{Typography-Bdfl0Alf.js → Typography-o0iALAVg.js} +6 -7
- 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 +2 -2
- 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 +3 -3
- 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 +4 -4
- 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 +2 -2
- package/dist/components/TreeView/TreeView.es.js +39 -39
- 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 +1 -1
- 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/createSvgIcon-BJRigbha.cjs +1 -0
- package/dist/{createSvgIcon-nrGLeL-I.js → createSvgIcon-BV54rC7k.js} +7 -8
- package/dist/dividerClasses-CbwbHy8r.cjs +1 -0
- package/dist/{dividerClasses-Cds5AHtx.js → dividerClasses-DDXs86hs.js} +1 -1
- package/dist/extendSxProp-CxMSlckP.cjs +1 -0
- package/dist/{extendSxProp-e_bx8m3Z.js → extendSxProp-XouBF-Ct.js} +1 -1
- package/dist/identifier-DBvccNCw.cjs +55 -0
- package/dist/{generateUtilityClasses-32ARRWdA.js → identifier-Dnc8T93Z.js} +1062 -1021
- package/dist/{index-B9KBbi0q.js → index-9te7SXrs.js} +4 -4
- package/dist/index-BkNQtUZJ.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +44 -44
- package/dist/{listItemTextClasses-D1H_8v-c.js → listItemTextClasses-4p_83pwn.js} +1 -1
- package/dist/listItemTextClasses-Cxo4anAo.cjs +1 -0
- package/dist/{memoTheme-BsSXjuJK.cjs → memoTheme-Dv-rDqFz.cjs} +1 -1
- package/dist/{memoTheme-BBxIYGG7.js → memoTheme-K37vidlb.js} +1 -1
- package/dist/mergeSlotProps-CXO1f70l.cjs +1 -0
- package/dist/{mergeSlotProps-r8Lw8Cah.js → mergeSlotProps-DSWiBSbD.js} +1 -1
- package/dist/styled-B7pKW9DQ.cjs +1 -0
- package/dist/styled-JnAdiSL5.js +5 -0
- package/dist/{useSlot-DnOTNYbF.js → useSlot-GooGQrej.js} +1 -1
- package/dist/useSlot-ONna5RyM.cjs +1 -0
- package/dist/{useSlotProps-BwBEemtt.js → useSlotProps-C34Wr67s.js} +1 -1
- package/dist/{useSlotProps-5aNXGFYF.cjs → useSlotProps-CtYqUyy1.cjs} +1 -1
- package/dist/useTheme-CH7DA5fq.js +11 -0
- package/dist/useTheme-D6wPRo0G.cjs +1 -0
- package/dist/useTheme-DkiCyF-9.cjs +1 -0
- package/dist/{useTheme-CMVVKo4v.js → useTheme-VH02z7nF.js} +1 -1
- package/dist/{useThemeProps-BIb0QYVO.cjs → useThemeProps-BU5PNyhK.cjs} +1 -1
- package/dist/useThemeProps-CnZ-QgwI.cjs +1 -0
- package/dist/useThemeProps-DT4QxdFn.js +17 -0
- package/dist/{useThemeProps-lFVeX-f0.js → useThemeProps-DZ05-54P.js} +4 -4
- package/package.json +7 -7
- package/dist/Alert-C6iEisoq.cjs +0 -1
- package/dist/Alert-D4JVZyQU.cjs +0 -1
- package/dist/Autocomplete-1xee2eiQ.cjs +0 -6
- package/dist/Backdrop-DgkaE-oT.cjs +0 -1
- package/dist/Badge-BUbP5vp-.cjs +0 -1
- package/dist/Box-C1W2izKY.cjs +0 -1
- package/dist/Button-cDSw19Nq.cjs +0 -1
- package/dist/CardContent-D4botNGC.cjs +0 -1
- package/dist/Checkbox-BXKolrmm.cjs +0 -1
- package/dist/Chip-BpeHDShb.js +0 -573
- package/dist/Chip-Ch-5oIUc.cjs +0 -1
- package/dist/CircularProgress-CTG6zAAM.cjs +0 -28
- package/dist/DatePicker-Slqqr585.cjs +0 -16
- package/dist/DefaultPropsProvider-H9bB_0gL.cjs +0 -1
- package/dist/Dialog-CzMU1Vaw.cjs +0 -1
- package/dist/DialogContent-mzqgUnTG.cjs +0 -1
- package/dist/DialogTitle-Ba_P5rRd.cjs +0 -1
- package/dist/Divider-CZPVxsPO.cjs +0 -1
- package/dist/FormLabel-DJ9MlN95.cjs +0 -2
- package/dist/Grid-gwsV6B8i.cjs +0 -2
- package/dist/IconButton-DQ0-3085.cjs +0 -2
- package/dist/InputAdornment-BM3llcq_.cjs +0 -1
- package/dist/InputBase-C4hx7uf2.cjs +0 -4
- package/dist/Link-CIQePe28.cjs +0 -1
- package/dist/List--5MPONUQ.cjs +0 -1
- package/dist/ListItem-C2_Z7drq.cjs +0 -1
- package/dist/ListItemText-D9-Pz-Pv.cjs +0 -1
- package/dist/MenuItem-Tfoo4dBw.cjs +0 -1
- package/dist/Modal-DeI0Mlfa.cjs +0 -2
- package/dist/Paper-_oaR1_0W.cjs +0 -2
- package/dist/Popper-D60dNc4H.cjs +0 -4
- package/dist/Portal-BXwfYalF.cjs +0 -1
- package/dist/Radio-DTyaqbCx.cjs +0 -1
- package/dist/RadioGroup-Ch703c6I.cjs +0 -1
- package/dist/Select-BFy88I22.cjs +0 -3
- package/dist/Stack-DraxEahz.cjs +0 -1
- package/dist/Stepper-DZ3G6yg0.cjs +0 -1
- package/dist/Switch-JAYiSudG.cjs +0 -1
- package/dist/SwitchBase-CLGs4Tit.cjs +0 -1
- package/dist/Tab-BnZwSzzt.cjs +0 -4
- package/dist/TextField-3tuxHLZ9.cjs +0 -1
- package/dist/ToggleButtonGroup-BZRf-b3W.cjs +0 -138
- package/dist/Tooltip-Bzb_mXr7.cjs +0 -4
- package/dist/Typography-CZKR4ZRK.cjs +0 -1
- package/dist/capitalize-CgHuXq7I.js +0 -9
- package/dist/capitalize-N-bUbBKG.cjs +0 -1
- package/dist/composeClasses-CZaHK87I.js +0 -51
- package/dist/composeClasses-DLNLdr2K.cjs +0 -1
- package/dist/createSvgIcon-DzMPK9Wt.cjs +0 -1
- package/dist/dividerClasses-DT1ACCA-.cjs +0 -1
- package/dist/extendSxProp-IrF6qCII.cjs +0 -1
- package/dist/generateUtilityClasses-CdsrTlgj.cjs +0 -55
- package/dist/index-DGUCeeBA.cjs +0 -1
- package/dist/listItemTextClasses-BK-fvEix.cjs +0 -1
- package/dist/mergeSlotProps-wZnr2VqA.cjs +0 -1
- package/dist/useSlot-BI_E4Zjs.cjs +0 -1
- package/dist/useTheme-6FgHgKII.cjs +0 -1
- package/dist/useTheme-Bjns7t5p.js +0 -11
- package/dist/useTheme-BxDf8E3o.cjs +0 -1
- package/dist/useThemeProps-BwzAhOV5.cjs +0 -1
- package/dist/useThemeProps-DV7UxDZG.js +0 -17
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import kt from "@emotion/styled";
|
|
2
2
|
import "@emotion/react";
|
|
3
|
-
import * as
|
|
4
|
-
import { P as
|
|
5
|
-
var
|
|
3
|
+
import * as dt from "react";
|
|
4
|
+
import { P as le } from "./index-Sy88PpwE.js";
|
|
5
|
+
var ye = { exports: {} }, v = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-is.production.js
|
|
@@ -12,71 +12,71 @@ var me = { exports: {} }, $ = {};
|
|
|
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
|
-
|
|
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"),
|
|
20
|
-
function
|
|
21
|
-
if (typeof
|
|
22
|
-
var
|
|
23
|
-
switch (
|
|
15
|
+
var Ye;
|
|
16
|
+
function Nt() {
|
|
17
|
+
if (Ye) return v;
|
|
18
|
+
Ye = 1;
|
|
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
|
+
function m(l) {
|
|
21
|
+
if (typeof l == "object" && l !== null) {
|
|
22
|
+
var C = l.$$typeof;
|
|
23
|
+
switch (C) {
|
|
24
24
|
case e:
|
|
25
|
-
switch (
|
|
25
|
+
switch (l = l.type, l) {
|
|
26
26
|
case r:
|
|
27
27
|
case o:
|
|
28
28
|
case n:
|
|
29
29
|
case f:
|
|
30
30
|
case d:
|
|
31
31
|
case p:
|
|
32
|
-
return
|
|
32
|
+
return l;
|
|
33
33
|
default:
|
|
34
|
-
switch (
|
|
35
|
-
case
|
|
34
|
+
switch (l = l && l.$$typeof, l) {
|
|
35
|
+
case s:
|
|
36
36
|
case u:
|
|
37
|
-
case m:
|
|
38
37
|
case h:
|
|
39
|
-
|
|
38
|
+
case y:
|
|
39
|
+
return l;
|
|
40
40
|
case a:
|
|
41
|
-
return
|
|
41
|
+
return l;
|
|
42
42
|
default:
|
|
43
|
-
return
|
|
43
|
+
return C;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
case t:
|
|
47
|
-
return
|
|
47
|
+
return C;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
return
|
|
52
|
-
return
|
|
53
|
-
},
|
|
54
|
-
return
|
|
55
|
-
},
|
|
56
|
-
return typeof
|
|
57
|
-
},
|
|
58
|
-
return
|
|
59
|
-
},
|
|
60
|
-
return
|
|
61
|
-
},
|
|
62
|
-
return
|
|
63
|
-
},
|
|
64
|
-
return
|
|
65
|
-
},
|
|
66
|
-
return
|
|
67
|
-
},
|
|
68
|
-
return
|
|
69
|
-
},
|
|
70
|
-
return
|
|
71
|
-
},
|
|
72
|
-
return
|
|
73
|
-
},
|
|
74
|
-
return
|
|
75
|
-
},
|
|
76
|
-
return typeof
|
|
77
|
-
},
|
|
78
|
-
}
|
|
79
|
-
var
|
|
51
|
+
return v.ContextConsumer = a, v.ContextProvider = s, v.Element = e, v.ForwardRef = u, v.Fragment = r, v.Lazy = h, v.Memo = y, v.Portal = t, v.Profiler = o, v.StrictMode = n, v.Suspense = f, v.SuspenseList = d, v.isContextConsumer = function(l) {
|
|
52
|
+
return m(l) === a;
|
|
53
|
+
}, v.isContextProvider = function(l) {
|
|
54
|
+
return m(l) === s;
|
|
55
|
+
}, v.isElement = function(l) {
|
|
56
|
+
return typeof l == "object" && l !== null && l.$$typeof === e;
|
|
57
|
+
}, v.isForwardRef = function(l) {
|
|
58
|
+
return m(l) === u;
|
|
59
|
+
}, v.isFragment = function(l) {
|
|
60
|
+
return m(l) === r;
|
|
61
|
+
}, v.isLazy = function(l) {
|
|
62
|
+
return m(l) === h;
|
|
63
|
+
}, v.isMemo = function(l) {
|
|
64
|
+
return m(l) === y;
|
|
65
|
+
}, v.isPortal = function(l) {
|
|
66
|
+
return m(l) === t;
|
|
67
|
+
}, v.isProfiler = function(l) {
|
|
68
|
+
return m(l) === o;
|
|
69
|
+
}, v.isStrictMode = function(l) {
|
|
70
|
+
return m(l) === n;
|
|
71
|
+
}, v.isSuspense = function(l) {
|
|
72
|
+
return m(l) === f;
|
|
73
|
+
}, v.isSuspenseList = function(l) {
|
|
74
|
+
return m(l) === d;
|
|
75
|
+
}, v.isValidElementType = function(l) {
|
|
76
|
+
return typeof l == "string" || typeof l == "function" || l === r || l === o || l === n || l === f || l === d || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === y || l.$$typeof === s || l.$$typeof === a || l.$$typeof === u || l.$$typeof === b || l.getModuleId !== void 0);
|
|
77
|
+
}, v.typeOf = m, v;
|
|
78
|
+
}
|
|
79
|
+
var w = {};
|
|
80
80
|
/**
|
|
81
81
|
* @license React
|
|
82
82
|
* react-is.development.js
|
|
@@ -86,136 +86,136 @@ var T = {};
|
|
|
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
|
|
92
|
-
function e(
|
|
93
|
-
if (typeof
|
|
94
|
-
var
|
|
95
|
-
switch (
|
|
89
|
+
var Ke;
|
|
90
|
+
function Rt() {
|
|
91
|
+
return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
92
|
+
function e(l) {
|
|
93
|
+
if (typeof l == "object" && l !== null) {
|
|
94
|
+
var C = l.$$typeof;
|
|
95
|
+
switch (C) {
|
|
96
96
|
case t:
|
|
97
|
-
switch (
|
|
97
|
+
switch (l = l.type, l) {
|
|
98
98
|
case n:
|
|
99
99
|
case a:
|
|
100
100
|
case o:
|
|
101
101
|
case d:
|
|
102
|
-
case
|
|
102
|
+
case y:
|
|
103
103
|
case b:
|
|
104
|
-
return
|
|
104
|
+
return l;
|
|
105
105
|
default:
|
|
106
|
-
switch (
|
|
106
|
+
switch (l = l && l.$$typeof, l) {
|
|
107
107
|
case u:
|
|
108
108
|
case f:
|
|
109
109
|
case p:
|
|
110
|
-
case
|
|
111
|
-
return
|
|
112
|
-
case
|
|
113
|
-
return
|
|
110
|
+
case h:
|
|
111
|
+
return l;
|
|
112
|
+
case s:
|
|
113
|
+
return l;
|
|
114
114
|
default:
|
|
115
|
-
return
|
|
115
|
+
return C;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
case r:
|
|
119
|
-
return
|
|
119
|
+
return C;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"),
|
|
124
|
-
|
|
125
|
-
return e(
|
|
126
|
-
},
|
|
127
|
-
return e(
|
|
128
|
-
},
|
|
129
|
-
return typeof
|
|
130
|
-
},
|
|
131
|
-
return e(
|
|
132
|
-
},
|
|
133
|
-
return e(
|
|
134
|
-
},
|
|
135
|
-
return e(
|
|
136
|
-
},
|
|
137
|
-
return e(
|
|
138
|
-
},
|
|
139
|
-
return e(
|
|
140
|
-
},
|
|
141
|
-
return e(
|
|
142
|
-
},
|
|
143
|
-
return e(
|
|
144
|
-
},
|
|
145
|
-
return e(
|
|
146
|
-
},
|
|
147
|
-
return e(
|
|
148
|
-
},
|
|
149
|
-
return typeof
|
|
150
|
-
},
|
|
151
|
-
}()),
|
|
152
|
-
}
|
|
153
|
-
var
|
|
154
|
-
function
|
|
155
|
-
return
|
|
156
|
-
}
|
|
157
|
-
var
|
|
158
|
-
function
|
|
123
|
+
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), b = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
|
|
124
|
+
w.ContextConsumer = s, w.ContextProvider = u, w.Element = t, w.ForwardRef = f, w.Fragment = n, w.Lazy = p, w.Memo = h, w.Portal = r, w.Profiler = a, w.StrictMode = o, w.Suspense = d, w.SuspenseList = y, w.isContextConsumer = function(l) {
|
|
125
|
+
return e(l) === s;
|
|
126
|
+
}, w.isContextProvider = function(l) {
|
|
127
|
+
return e(l) === u;
|
|
128
|
+
}, w.isElement = function(l) {
|
|
129
|
+
return typeof l == "object" && l !== null && l.$$typeof === t;
|
|
130
|
+
}, w.isForwardRef = function(l) {
|
|
131
|
+
return e(l) === f;
|
|
132
|
+
}, w.isFragment = function(l) {
|
|
133
|
+
return e(l) === n;
|
|
134
|
+
}, w.isLazy = function(l) {
|
|
135
|
+
return e(l) === p;
|
|
136
|
+
}, w.isMemo = function(l) {
|
|
137
|
+
return e(l) === h;
|
|
138
|
+
}, w.isPortal = function(l) {
|
|
139
|
+
return e(l) === r;
|
|
140
|
+
}, w.isProfiler = function(l) {
|
|
141
|
+
return e(l) === a;
|
|
142
|
+
}, w.isStrictMode = function(l) {
|
|
143
|
+
return e(l) === o;
|
|
144
|
+
}, w.isSuspense = function(l) {
|
|
145
|
+
return e(l) === d;
|
|
146
|
+
}, w.isSuspenseList = function(l) {
|
|
147
|
+
return e(l) === y;
|
|
148
|
+
}, w.isValidElementType = function(l) {
|
|
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
|
+
}, w.typeOf = e;
|
|
151
|
+
}()), w;
|
|
152
|
+
}
|
|
153
|
+
var He;
|
|
154
|
+
function It() {
|
|
155
|
+
return He || (He = 1, process.env.NODE_ENV === "production" ? ye.exports = /* @__PURE__ */ Nt() : ye.exports = /* @__PURE__ */ Rt()), ye.exports;
|
|
156
|
+
}
|
|
157
|
+
var pt = /* @__PURE__ */ It();
|
|
158
|
+
function mt(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 = mt(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 Bn() {
|
|
168
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = mt(e)) && (n && (n += " "), n += t);
|
|
169
169
|
return n;
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Q(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 gt(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." : Q(7));
|
|
178
178
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function H(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 ht(e) {
|
|
187
|
+
if (/* @__PURE__ */ dt.isValidElement(e) || pt.isValidElementType(e) || !H(e))
|
|
188
188
|
return e;
|
|
189
189
|
const t = {};
|
|
190
190
|
return Object.keys(e).forEach((r) => {
|
|
191
|
-
t[r] =
|
|
191
|
+
t[r] = ht(e[r]);
|
|
192
192
|
}), t;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function M(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 H(e) && H(t) && Object.keys(t).forEach((o) => {
|
|
201
|
+
/* @__PURE__ */ dt.isValidElement(t[o]) || pt.isValidElementType(t[o]) ? n[o] = t[o] : H(t[o]) && // Avoid prototype pollution
|
|
202
|
+
Object.prototype.hasOwnProperty.call(e, o) && H(e[o]) ? n[o] = M(e[o], t[o], r) : r.clone ? n[o] = H(t[o]) ? ht(t[o]) : t[o] : n[o] = t[o];
|
|
203
203
|
}), n;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
return t ?
|
|
205
|
+
function de(e, t) {
|
|
206
|
+
return t ? M(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 X = process.env.NODE_ENV !== "production" ? le.oneOfType([le.number, le.string, le.object, le.array]) : {};
|
|
212
|
+
function qe(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) => {
|
|
216
|
-
var
|
|
216
|
+
var s, u;
|
|
217
217
|
const a = /min-width:\s*([0-9.]+)/;
|
|
218
|
-
return +(((
|
|
218
|
+
return +(((s = n.match(a)) == null ? void 0 : s[1]) || 0) - +(((u = o.match(a)) == null ? void 0 : u[1]) || 0);
|
|
219
219
|
});
|
|
220
220
|
return r.length ? r.reduce((n, o) => {
|
|
221
221
|
const a = t[o];
|
|
@@ -224,25 +224,25 @@ function Qe(e, t) {
|
|
|
224
224
|
...t
|
|
225
225
|
}) : t;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Bt(e, t) {
|
|
228
228
|
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Pt(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\`.` : Q(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
|
|
242
|
-
const t = (a,
|
|
243
|
-
function r(a,
|
|
244
|
-
a.up = (...u) => t(e.breakpoints.up(...u),
|
|
245
|
-
const f = t(e.breakpoints.not(...u),
|
|
241
|
+
function Dt(e) {
|
|
242
|
+
const t = (a, s) => a.replace("@media", s ? `@container ${s}` : "@container");
|
|
243
|
+
function r(a, s) {
|
|
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) => {
|
|
245
|
+
const f = t(e.breakpoints.not(...u), s);
|
|
246
246
|
return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
|
|
247
247
|
};
|
|
248
248
|
}
|
|
@@ -252,7 +252,7 @@ function Nt(e) {
|
|
|
252
252
|
containerQueries: o
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const $e = {
|
|
256
256
|
xs: 0,
|
|
257
257
|
// phone
|
|
258
258
|
sm: 600,
|
|
@@ -263,61 +263,61 @@ const Te = {
|
|
|
263
263
|
// desktop
|
|
264
264
|
xl: 1536
|
|
265
265
|
// large screen
|
|
266
|
-
},
|
|
266
|
+
}, Qe = {
|
|
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:${$e[e]}px)`
|
|
271
|
+
}, Mt = {
|
|
272
272
|
containerQueries: (e) => ({
|
|
273
273
|
up: (t) => {
|
|
274
|
-
let r = typeof t == "number" ? t :
|
|
274
|
+
let r = typeof t == "number" ? t : $e[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 z(e, t, r) {
|
|
280
280
|
const n = e.theme || {};
|
|
281
281
|
if (Array.isArray(t)) {
|
|
282
|
-
const a = n.breakpoints ||
|
|
283
|
-
return t.reduce((
|
|
282
|
+
const a = n.breakpoints || Qe;
|
|
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 ||
|
|
287
|
-
return Object.keys(t).reduce((
|
|
288
|
-
if (
|
|
289
|
-
const f =
|
|
290
|
-
f && (
|
|
291
|
-
} else if (Object.keys(a.values ||
|
|
286
|
+
const a = n.breakpoints || Qe;
|
|
287
|
+
return Object.keys(t).reduce((s, u) => {
|
|
288
|
+
if (Bt(a.keys, u)) {
|
|
289
|
+
const f = Pt(n.containerQueries ? n : Mt, u);
|
|
290
|
+
f && (s[f] = r(t[u], u));
|
|
291
|
+
} else if (Object.keys(a.values || $e).includes(u)) {
|
|
292
292
|
const f = a.up(u);
|
|
293
|
-
|
|
293
|
+
s[f] = r(t[u], u);
|
|
294
294
|
} else {
|
|
295
295
|
const f = u;
|
|
296
|
-
|
|
296
|
+
s[f] = t[f];
|
|
297
297
|
}
|
|
298
|
-
return
|
|
298
|
+
return s;
|
|
299
299
|
}, {});
|
|
300
300
|
}
|
|
301
301
|
return r(t);
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function yt(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 Fe(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 Pn(e, ...t) {
|
|
317
|
+
const r = yt(e), n = [r, ...t].reduce((o, a) => M(o, a), {});
|
|
318
|
+
return Fe(Object.keys(r), n);
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Ft(e, t) {
|
|
321
321
|
if (typeof e != "object")
|
|
322
322
|
return {};
|
|
323
323
|
const r = {}, n = Object.keys(t);
|
|
@@ -327,18 +327,18 @@ function Bt(e, t) {
|
|
|
327
327
|
e[o] != null && (r[o] = !0);
|
|
328
328
|
}), r;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Dn({
|
|
331
331
|
values: e,
|
|
332
332
|
breakpoints: t,
|
|
333
333
|
base: r
|
|
334
334
|
}) {
|
|
335
|
-
const n = r ||
|
|
335
|
+
const n = r || Ft(e, t), o = Object.keys(n);
|
|
336
336
|
if (o.length === 0)
|
|
337
337
|
return e;
|
|
338
338
|
let a;
|
|
339
|
-
return o.reduce((
|
|
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 Ee(e, t, r = !0) {
|
|
342
342
|
if (!t || typeof t != "string")
|
|
343
343
|
return null;
|
|
344
344
|
if (e && e.vars && r) {
|
|
@@ -348,283 +348,283 @@ function Ae(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 Ce(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 = Ee(e, r) || n, t && (o = t(o, n, e)), o;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function B(e) {
|
|
356
356
|
const {
|
|
357
357
|
prop: t,
|
|
358
358
|
cssProperty: r = e.prop,
|
|
359
359
|
themeKey: n,
|
|
360
360
|
transform: o
|
|
361
|
-
} = e, a = (
|
|
362
|
-
if (
|
|
361
|
+
} = e, a = (s) => {
|
|
362
|
+
if (s[t] == null)
|
|
363
363
|
return null;
|
|
364
|
-
const u =
|
|
365
|
-
return
|
|
366
|
-
let p =
|
|
367
|
-
return
|
|
364
|
+
const u = s[t], f = s.theme, d = Ee(f, n) || {};
|
|
365
|
+
return z(s, u, (h) => {
|
|
366
|
+
let p = Ce(d, o, h);
|
|
367
|
+
return h === p && typeof h == "string" && (p = Ce(d, o, `${t}${h === "default" ? "" : gt(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]: X
|
|
374
374
|
} : {}, a.filterProps = [t], a;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function Vt(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 Lt = {
|
|
381
381
|
m: "margin",
|
|
382
382
|
p: "padding"
|
|
383
|
-
},
|
|
383
|
+
}, Wt = {
|
|
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
|
+
}, Xe = {
|
|
391
391
|
marginX: "mx",
|
|
392
392
|
marginY: "my",
|
|
393
393
|
paddingX: "px",
|
|
394
394
|
paddingY: "py"
|
|
395
|
-
},
|
|
395
|
+
}, Ut = Vt((e) => {
|
|
396
396
|
if (e.length > 2)
|
|
397
|
-
if (
|
|
398
|
-
e =
|
|
397
|
+
if (Xe[e])
|
|
398
|
+
e = Xe[e];
|
|
399
399
|
else
|
|
400
400
|
return [e];
|
|
401
|
-
const [t, r] = e.split(""), n =
|
|
401
|
+
const [t, r] = e.split(""), n = Lt[t], o = Wt[r] || "";
|
|
402
402
|
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
403
|
-
}), xe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"],
|
|
404
|
-
function
|
|
405
|
-
const o =
|
|
403
|
+
}), xe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Te = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], jt = [...xe, ...Te];
|
|
404
|
+
function me(e, t, r, n) {
|
|
405
|
+
const o = Ee(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;
|
|
409
|
-
const
|
|
410
|
-
process.env.NODE_ENV !== "production" && (Number.isInteger(
|
|
409
|
+
const s = Math.abs(a);
|
|
410
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
|
|
411
411
|
`)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
412
412
|
`)));
|
|
413
|
-
const u = o[
|
|
413
|
+
const u = o[s];
|
|
414
414
|
return a >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
|
|
415
415
|
} : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
416
416
|
`)), () => {
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
function Ue(e) {
|
|
420
|
-
return
|
|
420
|
+
return me(e, "spacing", 8, "spacing");
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function ge(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 Gt(e, t) {
|
|
426
|
+
return (r) => e.reduce((n, o) => (n[o] = ge(t, r), n), {});
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function zt(e, t, r, n) {
|
|
429
429
|
if (!t.includes(r))
|
|
430
430
|
return null;
|
|
431
|
-
const o =
|
|
432
|
-
return
|
|
431
|
+
const o = Ut(r), a = Gt(o, n), s = e[r];
|
|
432
|
+
return z(e, s, a);
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function bt(e, t) {
|
|
435
435
|
const r = Ue(e.theme);
|
|
436
|
-
return Object.keys(e).map((n) =>
|
|
436
|
+
return Object.keys(e).map((n) => zt(e, t, n, r)).reduce(de, {});
|
|
437
437
|
}
|
|
438
|
-
function
|
|
439
|
-
return
|
|
438
|
+
function N(e) {
|
|
439
|
+
return bt(e, xe);
|
|
440
440
|
}
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
function
|
|
444
|
-
return
|
|
441
|
+
N.propTypes = process.env.NODE_ENV !== "production" ? xe.reduce((e, t) => (e[t] = X, e), {}) : {};
|
|
442
|
+
N.filterProps = xe;
|
|
443
|
+
function R(e) {
|
|
444
|
+
return bt(e, Te);
|
|
445
445
|
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
process.env.NODE_ENV !== "production" &&
|
|
449
|
-
function
|
|
446
|
+
R.propTypes = process.env.NODE_ENV !== "production" ? Te.reduce((e, t) => (e[t] = X, e), {}) : {};
|
|
447
|
+
R.filterProps = Te;
|
|
448
|
+
process.env.NODE_ENV !== "production" && jt.reduce((e, t) => (e[t] = X, e), {});
|
|
449
|
+
function Ae(...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] ? de(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 L(e) {
|
|
456
456
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
return
|
|
458
|
+
function W(e, t) {
|
|
459
|
+
return B({
|
|
460
460
|
prop: e,
|
|
461
461
|
themeKey: "borders",
|
|
462
462
|
transform: t
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
|
-
const
|
|
465
|
+
const Yt = W("border", L), Kt = W("borderTop", L), Ht = W("borderRight", L), qt = W("borderBottom", L), Qt = W("borderLeft", L), Xt = W("borderColor"), Jt = W("borderTopColor"), Zt = W("borderRightColor"), er = W("borderBottomColor"), tr = W("borderLeftColor"), rr = W("outline", L), nr = W("outlineColor"), ve = (e) => {
|
|
466
466
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
467
|
-
const t =
|
|
468
|
-
borderRadius:
|
|
467
|
+
const t = me(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
468
|
+
borderRadius: ge(t, n)
|
|
469
469
|
});
|
|
470
|
-
return
|
|
470
|
+
return z(e, e.borderRadius, r);
|
|
471
471
|
}
|
|
472
472
|
return null;
|
|
473
473
|
};
|
|
474
|
-
|
|
475
|
-
borderRadius:
|
|
474
|
+
ve.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
475
|
+
borderRadius: X
|
|
476
476
|
} : {};
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
const
|
|
477
|
+
ve.filterProps = ["borderRadius"];
|
|
478
|
+
Ae(Yt, Kt, Ht, qt, Qt, Xt, Jt, Zt, er, tr, ve, rr, nr);
|
|
479
|
+
const we = (e) => {
|
|
480
480
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
481
|
-
const t =
|
|
482
|
-
gap:
|
|
481
|
+
const t = me(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
482
|
+
gap: ge(t, n)
|
|
483
483
|
});
|
|
484
|
-
return
|
|
484
|
+
return z(e, e.gap, r);
|
|
485
485
|
}
|
|
486
486
|
return null;
|
|
487
487
|
};
|
|
488
|
-
|
|
489
|
-
gap:
|
|
488
|
+
we.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
489
|
+
gap: X
|
|
490
490
|
} : {};
|
|
491
|
-
|
|
492
|
-
const
|
|
491
|
+
we.filterProps = ["gap"];
|
|
492
|
+
const _e = (e) => {
|
|
493
493
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
494
|
-
const t =
|
|
495
|
-
columnGap:
|
|
494
|
+
const t = me(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
495
|
+
columnGap: ge(t, n)
|
|
496
496
|
});
|
|
497
|
-
return
|
|
497
|
+
return z(e, e.columnGap, r);
|
|
498
498
|
}
|
|
499
499
|
return null;
|
|
500
500
|
};
|
|
501
|
-
|
|
502
|
-
columnGap:
|
|
501
|
+
_e.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
502
|
+
columnGap: X
|
|
503
503
|
} : {};
|
|
504
|
-
|
|
505
|
-
const
|
|
504
|
+
_e.filterProps = ["columnGap"];
|
|
505
|
+
const Oe = (e) => {
|
|
506
506
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
507
|
-
const t =
|
|
508
|
-
rowGap:
|
|
507
|
+
const t = me(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
508
|
+
rowGap: ge(t, n)
|
|
509
509
|
});
|
|
510
|
-
return
|
|
510
|
+
return z(e, e.rowGap, r);
|
|
511
511
|
}
|
|
512
512
|
return null;
|
|
513
513
|
};
|
|
514
|
-
|
|
515
|
-
rowGap:
|
|
514
|
+
Oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
515
|
+
rowGap: X
|
|
516
516
|
} : {};
|
|
517
|
-
|
|
518
|
-
const
|
|
517
|
+
Oe.filterProps = ["rowGap"];
|
|
518
|
+
const or = B({
|
|
519
519
|
prop: "gridColumn"
|
|
520
|
-
}),
|
|
520
|
+
}), ir = B({
|
|
521
521
|
prop: "gridRow"
|
|
522
|
-
}),
|
|
522
|
+
}), ar = B({
|
|
523
523
|
prop: "gridAutoFlow"
|
|
524
|
-
}),
|
|
524
|
+
}), sr = B({
|
|
525
525
|
prop: "gridAutoColumns"
|
|
526
|
-
}),
|
|
526
|
+
}), lr = B({
|
|
527
527
|
prop: "gridAutoRows"
|
|
528
|
-
}),
|
|
528
|
+
}), cr = B({
|
|
529
529
|
prop: "gridTemplateColumns"
|
|
530
|
-
}),
|
|
530
|
+
}), ur = B({
|
|
531
531
|
prop: "gridTemplateRows"
|
|
532
|
-
}),
|
|
532
|
+
}), fr = B({
|
|
533
533
|
prop: "gridTemplateAreas"
|
|
534
|
-
}),
|
|
534
|
+
}), dr = B({
|
|
535
535
|
prop: "gridArea"
|
|
536
536
|
});
|
|
537
|
-
we
|
|
538
|
-
function
|
|
537
|
+
Ae(we, _e, Oe, or, ir, ar, sr, lr, cr, ur, fr, dr);
|
|
538
|
+
function ae(e, t) {
|
|
539
539
|
return t === "grey" ? t : e;
|
|
540
540
|
}
|
|
541
|
-
const
|
|
541
|
+
const pr = B({
|
|
542
542
|
prop: "color",
|
|
543
543
|
themeKey: "palette",
|
|
544
|
-
transform:
|
|
545
|
-
}),
|
|
544
|
+
transform: ae
|
|
545
|
+
}), mr = B({
|
|
546
546
|
prop: "bgcolor",
|
|
547
547
|
cssProperty: "backgroundColor",
|
|
548
548
|
themeKey: "palette",
|
|
549
|
-
transform:
|
|
550
|
-
}),
|
|
549
|
+
transform: ae
|
|
550
|
+
}), gr = B({
|
|
551
551
|
prop: "backgroundColor",
|
|
552
552
|
themeKey: "palette",
|
|
553
|
-
transform:
|
|
553
|
+
transform: ae
|
|
554
554
|
});
|
|
555
|
-
|
|
556
|
-
function
|
|
555
|
+
Ae(pr, mr, gr);
|
|
556
|
+
function F(e) {
|
|
557
557
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
558
558
|
}
|
|
559
|
-
const
|
|
559
|
+
const hr = B({
|
|
560
560
|
prop: "width",
|
|
561
|
-
transform:
|
|
562
|
-
}),
|
|
561
|
+
transform: F
|
|
562
|
+
}), je = (e) => {
|
|
563
563
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
564
564
|
const t = (r) => {
|
|
565
|
-
var o, a,
|
|
566
|
-
const n = ((
|
|
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]) || $e[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: F(r)
|
|
573
573
|
};
|
|
574
574
|
};
|
|
575
|
-
return
|
|
575
|
+
return z(e, e.maxWidth, t);
|
|
576
576
|
}
|
|
577
577
|
return null;
|
|
578
578
|
};
|
|
579
|
-
|
|
580
|
-
const
|
|
579
|
+
je.filterProps = ["maxWidth"];
|
|
580
|
+
const yr = B({
|
|
581
581
|
prop: "minWidth",
|
|
582
|
-
transform:
|
|
583
|
-
}),
|
|
582
|
+
transform: F
|
|
583
|
+
}), br = B({
|
|
584
584
|
prop: "height",
|
|
585
|
-
transform:
|
|
586
|
-
}),
|
|
585
|
+
transform: F
|
|
586
|
+
}), Cr = B({
|
|
587
587
|
prop: "maxHeight",
|
|
588
|
-
transform:
|
|
589
|
-
}),
|
|
588
|
+
transform: F
|
|
589
|
+
}), Sr = B({
|
|
590
590
|
prop: "minHeight",
|
|
591
|
-
transform:
|
|
591
|
+
transform: F
|
|
592
592
|
});
|
|
593
|
-
|
|
593
|
+
B({
|
|
594
594
|
prop: "size",
|
|
595
595
|
cssProperty: "width",
|
|
596
|
-
transform:
|
|
596
|
+
transform: F
|
|
597
597
|
});
|
|
598
|
-
|
|
598
|
+
B({
|
|
599
599
|
prop: "size",
|
|
600
600
|
cssProperty: "height",
|
|
601
|
-
transform:
|
|
601
|
+
transform: F
|
|
602
602
|
});
|
|
603
|
-
const
|
|
603
|
+
const $r = B({
|
|
604
604
|
prop: "boxSizing"
|
|
605
605
|
});
|
|
606
|
-
|
|
607
|
-
const
|
|
606
|
+
Ae(hr, je, yr, br, Cr, Sr, $r);
|
|
607
|
+
const ke = {
|
|
608
608
|
// borders
|
|
609
609
|
border: {
|
|
610
610
|
themeKey: "borders",
|
|
611
|
-
transform:
|
|
611
|
+
transform: L
|
|
612
612
|
},
|
|
613
613
|
borderTop: {
|
|
614
614
|
themeKey: "borders",
|
|
615
|
-
transform:
|
|
615
|
+
transform: L
|
|
616
616
|
},
|
|
617
617
|
borderRight: {
|
|
618
618
|
themeKey: "borders",
|
|
619
|
-
transform:
|
|
619
|
+
transform: L
|
|
620
620
|
},
|
|
621
621
|
borderBottom: {
|
|
622
622
|
themeKey: "borders",
|
|
623
|
-
transform:
|
|
623
|
+
transform: L
|
|
624
624
|
},
|
|
625
625
|
borderLeft: {
|
|
626
626
|
themeKey: "borders",
|
|
627
|
-
transform:
|
|
627
|
+
transform: L
|
|
628
628
|
},
|
|
629
629
|
borderColor: {
|
|
630
630
|
themeKey: "palette"
|
|
@@ -643,149 +643,149 @@ const Ie = {
|
|
|
643
643
|
},
|
|
644
644
|
outline: {
|
|
645
645
|
themeKey: "borders",
|
|
646
|
-
transform:
|
|
646
|
+
transform: L
|
|
647
647
|
},
|
|
648
648
|
outlineColor: {
|
|
649
649
|
themeKey: "palette"
|
|
650
650
|
},
|
|
651
651
|
borderRadius: {
|
|
652
652
|
themeKey: "shape.borderRadius",
|
|
653
|
-
style:
|
|
653
|
+
style: ve
|
|
654
654
|
},
|
|
655
655
|
// palette
|
|
656
656
|
color: {
|
|
657
657
|
themeKey: "palette",
|
|
658
|
-
transform:
|
|
658
|
+
transform: ae
|
|
659
659
|
},
|
|
660
660
|
bgcolor: {
|
|
661
661
|
themeKey: "palette",
|
|
662
662
|
cssProperty: "backgroundColor",
|
|
663
|
-
transform:
|
|
663
|
+
transform: ae
|
|
664
664
|
},
|
|
665
665
|
backgroundColor: {
|
|
666
666
|
themeKey: "palette",
|
|
667
|
-
transform:
|
|
667
|
+
transform: ae
|
|
668
668
|
},
|
|
669
669
|
// spacing
|
|
670
670
|
p: {
|
|
671
|
-
style:
|
|
671
|
+
style: R
|
|
672
672
|
},
|
|
673
673
|
pt: {
|
|
674
|
-
style:
|
|
674
|
+
style: R
|
|
675
675
|
},
|
|
676
676
|
pr: {
|
|
677
|
-
style:
|
|
677
|
+
style: R
|
|
678
678
|
},
|
|
679
679
|
pb: {
|
|
680
|
-
style:
|
|
680
|
+
style: R
|
|
681
681
|
},
|
|
682
682
|
pl: {
|
|
683
|
-
style:
|
|
683
|
+
style: R
|
|
684
684
|
},
|
|
685
685
|
px: {
|
|
686
|
-
style:
|
|
686
|
+
style: R
|
|
687
687
|
},
|
|
688
688
|
py: {
|
|
689
|
-
style:
|
|
689
|
+
style: R
|
|
690
690
|
},
|
|
691
691
|
padding: {
|
|
692
|
-
style:
|
|
692
|
+
style: R
|
|
693
693
|
},
|
|
694
694
|
paddingTop: {
|
|
695
|
-
style:
|
|
695
|
+
style: R
|
|
696
696
|
},
|
|
697
697
|
paddingRight: {
|
|
698
|
-
style:
|
|
698
|
+
style: R
|
|
699
699
|
},
|
|
700
700
|
paddingBottom: {
|
|
701
|
-
style:
|
|
701
|
+
style: R
|
|
702
702
|
},
|
|
703
703
|
paddingLeft: {
|
|
704
|
-
style:
|
|
704
|
+
style: R
|
|
705
705
|
},
|
|
706
706
|
paddingX: {
|
|
707
|
-
style:
|
|
707
|
+
style: R
|
|
708
708
|
},
|
|
709
709
|
paddingY: {
|
|
710
|
-
style:
|
|
710
|
+
style: R
|
|
711
711
|
},
|
|
712
712
|
paddingInline: {
|
|
713
|
-
style:
|
|
713
|
+
style: R
|
|
714
714
|
},
|
|
715
715
|
paddingInlineStart: {
|
|
716
|
-
style:
|
|
716
|
+
style: R
|
|
717
717
|
},
|
|
718
718
|
paddingInlineEnd: {
|
|
719
|
-
style:
|
|
719
|
+
style: R
|
|
720
720
|
},
|
|
721
721
|
paddingBlock: {
|
|
722
|
-
style:
|
|
722
|
+
style: R
|
|
723
723
|
},
|
|
724
724
|
paddingBlockStart: {
|
|
725
|
-
style:
|
|
725
|
+
style: R
|
|
726
726
|
},
|
|
727
727
|
paddingBlockEnd: {
|
|
728
|
-
style:
|
|
728
|
+
style: R
|
|
729
729
|
},
|
|
730
730
|
m: {
|
|
731
|
-
style:
|
|
731
|
+
style: N
|
|
732
732
|
},
|
|
733
733
|
mt: {
|
|
734
|
-
style:
|
|
734
|
+
style: N
|
|
735
735
|
},
|
|
736
736
|
mr: {
|
|
737
|
-
style:
|
|
737
|
+
style: N
|
|
738
738
|
},
|
|
739
739
|
mb: {
|
|
740
|
-
style:
|
|
740
|
+
style: N
|
|
741
741
|
},
|
|
742
742
|
ml: {
|
|
743
|
-
style:
|
|
743
|
+
style: N
|
|
744
744
|
},
|
|
745
745
|
mx: {
|
|
746
|
-
style:
|
|
746
|
+
style: N
|
|
747
747
|
},
|
|
748
748
|
my: {
|
|
749
|
-
style:
|
|
749
|
+
style: N
|
|
750
750
|
},
|
|
751
751
|
margin: {
|
|
752
|
-
style:
|
|
752
|
+
style: N
|
|
753
753
|
},
|
|
754
754
|
marginTop: {
|
|
755
|
-
style:
|
|
755
|
+
style: N
|
|
756
756
|
},
|
|
757
757
|
marginRight: {
|
|
758
|
-
style:
|
|
758
|
+
style: N
|
|
759
759
|
},
|
|
760
760
|
marginBottom: {
|
|
761
|
-
style:
|
|
761
|
+
style: N
|
|
762
762
|
},
|
|
763
763
|
marginLeft: {
|
|
764
|
-
style:
|
|
764
|
+
style: N
|
|
765
765
|
},
|
|
766
766
|
marginX: {
|
|
767
|
-
style:
|
|
767
|
+
style: N
|
|
768
768
|
},
|
|
769
769
|
marginY: {
|
|
770
|
-
style:
|
|
770
|
+
style: N
|
|
771
771
|
},
|
|
772
772
|
marginInline: {
|
|
773
|
-
style:
|
|
773
|
+
style: N
|
|
774
774
|
},
|
|
775
775
|
marginInlineStart: {
|
|
776
|
-
style:
|
|
776
|
+
style: N
|
|
777
777
|
},
|
|
778
778
|
marginInlineEnd: {
|
|
779
|
-
style:
|
|
779
|
+
style: N
|
|
780
780
|
},
|
|
781
781
|
marginBlock: {
|
|
782
|
-
style:
|
|
782
|
+
style: N
|
|
783
783
|
},
|
|
784
784
|
marginBlockStart: {
|
|
785
|
-
style:
|
|
785
|
+
style: N
|
|
786
786
|
},
|
|
787
787
|
marginBlockEnd: {
|
|
788
|
-
style:
|
|
788
|
+
style: N
|
|
789
789
|
},
|
|
790
790
|
// display
|
|
791
791
|
displayPrint: {
|
|
@@ -817,13 +817,13 @@ const Ie = {
|
|
|
817
817
|
justifySelf: {},
|
|
818
818
|
// grid
|
|
819
819
|
gap: {
|
|
820
|
-
style:
|
|
820
|
+
style: we
|
|
821
821
|
},
|
|
822
822
|
rowGap: {
|
|
823
|
-
style:
|
|
823
|
+
style: Oe
|
|
824
824
|
},
|
|
825
825
|
columnGap: {
|
|
826
|
-
style:
|
|
826
|
+
style: _e
|
|
827
827
|
},
|
|
828
828
|
gridColumn: {},
|
|
829
829
|
gridRow: {},
|
|
@@ -849,22 +849,22 @@ const Ie = {
|
|
|
849
849
|
},
|
|
850
850
|
// sizing
|
|
851
851
|
width: {
|
|
852
|
-
transform:
|
|
852
|
+
transform: F
|
|
853
853
|
},
|
|
854
854
|
maxWidth: {
|
|
855
|
-
style:
|
|
855
|
+
style: je
|
|
856
856
|
},
|
|
857
857
|
minWidth: {
|
|
858
|
-
transform:
|
|
858
|
+
transform: F
|
|
859
859
|
},
|
|
860
860
|
height: {
|
|
861
|
-
transform:
|
|
861
|
+
transform: F
|
|
862
862
|
},
|
|
863
863
|
maxHeight: {
|
|
864
|
-
transform:
|
|
864
|
+
transform: F
|
|
865
865
|
},
|
|
866
866
|
minHeight: {
|
|
867
|
-
transform:
|
|
867
|
+
transform: F
|
|
868
868
|
},
|
|
869
869
|
boxSizing: {},
|
|
870
870
|
// typography
|
|
@@ -892,16 +892,16 @@ const Ie = {
|
|
|
892
892
|
themeKey: "typography"
|
|
893
893
|
}
|
|
894
894
|
};
|
|
895
|
-
function
|
|
895
|
+
function Er(...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 xr(e, t) {
|
|
900
900
|
return typeof e == "function" ? e(t) : e;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Tr() {
|
|
903
903
|
function e(r, n, o, a) {
|
|
904
|
-
const
|
|
904
|
+
const s = {
|
|
905
905
|
[r]: n,
|
|
906
906
|
theme: o
|
|
907
907
|
}, u = a[r];
|
|
@@ -912,8 +912,8 @@ function Er() {
|
|
|
912
912
|
const {
|
|
913
913
|
cssProperty: f = r,
|
|
914
914
|
themeKey: d,
|
|
915
|
-
transform:
|
|
916
|
-
style:
|
|
915
|
+
transform: y,
|
|
916
|
+
style: h
|
|
917
917
|
} = u;
|
|
918
918
|
if (n == null)
|
|
919
919
|
return null;
|
|
@@ -921,11 +921,11 @@ function Er() {
|
|
|
921
921
|
return {
|
|
922
922
|
[r]: n
|
|
923
923
|
};
|
|
924
|
-
const p =
|
|
925
|
-
return
|
|
926
|
-
let
|
|
927
|
-
return
|
|
928
|
-
[f]:
|
|
924
|
+
const p = Ee(o, d) || {};
|
|
925
|
+
return h ? h(s) : z(s, n, (m) => {
|
|
926
|
+
let l = Ce(p, y, m);
|
|
927
|
+
return m === l && typeof m == "string" && (l = Ce(p, y, `${r}${m === "default" ? "" : gt(m)}`, m)), f === !1 ? l : {
|
|
928
|
+
[f]: l
|
|
929
929
|
};
|
|
930
930
|
});
|
|
931
931
|
}
|
|
@@ -937,7 +937,7 @@ function Er() {
|
|
|
937
937
|
} = r || {};
|
|
938
938
|
if (!n)
|
|
939
939
|
return null;
|
|
940
|
-
const
|
|
940
|
+
const s = o.unstable_sxConfig ?? ke;
|
|
941
941
|
function u(f) {
|
|
942
942
|
let d = f;
|
|
943
943
|
if (typeof f == "function")
|
|
@@ -946,39 +946,39 @@ function Er() {
|
|
|
946
946
|
return f;
|
|
947
947
|
if (!d)
|
|
948
948
|
return null;
|
|
949
|
-
const
|
|
950
|
-
let p =
|
|
949
|
+
const y = yt(o.breakpoints), h = Object.keys(y);
|
|
950
|
+
let p = y;
|
|
951
951
|
return Object.keys(d).forEach((b) => {
|
|
952
|
-
const
|
|
953
|
-
if (
|
|
954
|
-
if (typeof
|
|
955
|
-
if (
|
|
956
|
-
p =
|
|
952
|
+
const m = xr(d[b], o);
|
|
953
|
+
if (m != null)
|
|
954
|
+
if (typeof m == "object")
|
|
955
|
+
if (s[b])
|
|
956
|
+
p = de(p, e(b, m, o, s));
|
|
957
957
|
else {
|
|
958
|
-
const
|
|
958
|
+
const l = z({
|
|
959
959
|
theme: o
|
|
960
|
-
},
|
|
961
|
-
[b]:
|
|
960
|
+
}, m, (C) => ({
|
|
961
|
+
[b]: C
|
|
962
962
|
}));
|
|
963
|
-
|
|
964
|
-
sx:
|
|
963
|
+
Er(l, m) ? p[b] = t({
|
|
964
|
+
sx: m,
|
|
965
965
|
theme: o,
|
|
966
966
|
nested: !0
|
|
967
|
-
}) : p =
|
|
967
|
+
}) : p = de(p, l);
|
|
968
968
|
}
|
|
969
969
|
else
|
|
970
|
-
p =
|
|
970
|
+
p = de(p, e(b, m, o, s));
|
|
971
971
|
}), !a && o.modularCssLayers ? {
|
|
972
|
-
"@layer sx":
|
|
973
|
-
} :
|
|
972
|
+
"@layer sx": qe(o, Fe(h, p))
|
|
973
|
+
} : qe(o, Fe(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 Ne =
|
|
979
|
+
const Ne = Tr();
|
|
980
980
|
Ne.filterProps = ["sx"];
|
|
981
|
-
function
|
|
981
|
+
function Ar(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 $r(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 vr = {
|
|
1001
1001
|
animationIterationCount: 1,
|
|
1002
1002
|
aspectRatio: 1,
|
|
1003
1003
|
borderImageOutset: 1,
|
|
@@ -1047,32 +1047,32 @@ var Tr = {
|
|
|
1047
1047
|
strokeOpacity: 1,
|
|
1048
1048
|
strokeWidth: 1
|
|
1049
1049
|
};
|
|
1050
|
-
function
|
|
1050
|
+
function wr(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 _r = /[A-Z]|^ms/g, Or = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ct = function(t) {
|
|
1057
1057
|
return t.charCodeAt(1) === 45;
|
|
1058
|
-
},
|
|
1058
|
+
}, Je = function(t) {
|
|
1059
1059
|
return t != null && typeof t != "boolean";
|
|
1060
|
-
},
|
|
1061
|
-
return
|
|
1062
|
-
}),
|
|
1060
|
+
}, Pe = /* @__PURE__ */ wr(function(e) {
|
|
1061
|
+
return Ct(e) ? e : e.replace(_r, "-$&").toLowerCase();
|
|
1062
|
+
}), Ze = 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(Or, function(n, o, a) {
|
|
1068
|
+
return q = {
|
|
1069
1069
|
name: o,
|
|
1070
1070
|
styles: a,
|
|
1071
|
-
next:
|
|
1071
|
+
next: q
|
|
1072
1072
|
}, o;
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
return
|
|
1075
|
+
return vr[t] !== 1 && !Ct(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1076
1076
|
};
|
|
1077
1077
|
function Se(e, t, r) {
|
|
1078
1078
|
if (r == null)
|
|
@@ -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 q = {
|
|
1090
1090
|
name: o.name,
|
|
1091
1091
|
styles: o.styles,
|
|
1092
|
-
next:
|
|
1092
|
+
next: q
|
|
1093
1093
|
}, o.name;
|
|
1094
1094
|
var a = r;
|
|
1095
1095
|
if (a.styles !== void 0) {
|
|
1096
|
-
var
|
|
1097
|
-
if (
|
|
1098
|
-
for (;
|
|
1099
|
-
|
|
1100
|
-
name:
|
|
1101
|
-
styles:
|
|
1102
|
-
next:
|
|
1103
|
-
},
|
|
1096
|
+
var s = a.next;
|
|
1097
|
+
if (s !== void 0)
|
|
1098
|
+
for (; s !== void 0; )
|
|
1099
|
+
q = {
|
|
1100
|
+
name: s.name,
|
|
1101
|
+
styles: s.styles,
|
|
1102
|
+
next: q
|
|
1103
|
+
}, s = s.next;
|
|
1104
1104
|
var u = a.styles + ";";
|
|
1105
1105
|
return u;
|
|
1106
1106
|
}
|
|
1107
|
-
return
|
|
1107
|
+
return kr(e, t, r);
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
var f = r;
|
|
1111
1111
|
return f;
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function kr(e, t, r) {
|
|
1114
1114
|
var n = "";
|
|
1115
1115
|
if (Array.isArray(r))
|
|
1116
1116
|
for (var o = 0; o < r.length; o++)
|
|
1117
1117
|
n += Se(e, t, r[o]) + ";";
|
|
1118
1118
|
else
|
|
1119
1119
|
for (var a in r) {
|
|
1120
|
-
var
|
|
1121
|
-
if (typeof
|
|
1122
|
-
var u =
|
|
1123
|
-
|
|
1124
|
-
} else if (Array.isArray(
|
|
1125
|
-
for (var f = 0; f <
|
|
1126
|
-
|
|
1120
|
+
var s = r[a];
|
|
1121
|
+
if (typeof s != "object") {
|
|
1122
|
+
var u = s;
|
|
1123
|
+
Je(u) && (n += Pe(a) + ":" + Ze(a, u) + ";");
|
|
1124
|
+
} else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
1125
|
+
for (var f = 0; f < s.length; f++)
|
|
1126
|
+
Je(s[f]) && (n += Pe(a) + ":" + Ze(a, s[f]) + ";");
|
|
1127
1127
|
else {
|
|
1128
|
-
var d = Se(e, t,
|
|
1128
|
+
var d = Se(e, t, s);
|
|
1129
1129
|
switch (a) {
|
|
1130
1130
|
case "animation":
|
|
1131
1131
|
case "animationName": {
|
|
1132
|
-
n +=
|
|
1132
|
+
n += Pe(a) + ":" + d + ";";
|
|
1133
1133
|
break;
|
|
1134
1134
|
}
|
|
1135
1135
|
default:
|
|
@@ -1139,57 +1139,57 @@ function wr(e, t, r) {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
return n;
|
|
1141
1141
|
}
|
|
1142
|
-
var
|
|
1143
|
-
function
|
|
1142
|
+
var et = /label:\s*([^\s;{]+)\s*(;|$)/g, q;
|
|
1143
|
+
function Nr(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
|
+
q = void 0;
|
|
1148
1148
|
var a = e[0];
|
|
1149
1149
|
if (a == null || a.raw === void 0)
|
|
1150
1150
|
n = !1, o += Se(r, t, a);
|
|
1151
1151
|
else {
|
|
1152
|
-
var
|
|
1153
|
-
o +=
|
|
1152
|
+
var s = a;
|
|
1153
|
+
o += s[0];
|
|
1154
1154
|
}
|
|
1155
1155
|
for (var u = 1; u < e.length; u++)
|
|
1156
1156
|
if (o += Se(r, t, e[u]), n) {
|
|
1157
1157
|
var f = a;
|
|
1158
1158
|
o += f[u];
|
|
1159
1159
|
}
|
|
1160
|
-
|
|
1161
|
-
for (var d = "",
|
|
1162
|
-
d += "-" +
|
|
1163
|
-
var
|
|
1160
|
+
et.lastIndex = 0;
|
|
1161
|
+
for (var d = "", y; (y = et.exec(o)) !== null; )
|
|
1162
|
+
d += "-" + y[1];
|
|
1163
|
+
var h = Ar(o) + d;
|
|
1164
1164
|
return {
|
|
1165
|
-
name:
|
|
1165
|
+
name: h,
|
|
1166
1166
|
styles: o,
|
|
1167
|
-
next:
|
|
1167
|
+
next: q
|
|
1168
1168
|
};
|
|
1169
1169
|
}
|
|
1170
1170
|
/**
|
|
1171
|
-
* @mui/styled-engine v7.
|
|
1171
|
+
* @mui/styled-engine v7.3.0
|
|
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 Mn(e, t) {
|
|
1178
|
+
const r = kt(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 Fn(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 tt = [];
|
|
1189
|
+
function Vn(e) {
|
|
1190
|
+
return tt[0] = e, Nr(tt);
|
|
1191
1191
|
}
|
|
1192
|
-
const
|
|
1192
|
+
const Rr = (e) => {
|
|
1193
1193
|
const t = Object.keys(e).map((r) => ({
|
|
1194
1194
|
key: r,
|
|
1195
1195
|
val: e[r]
|
|
@@ -1199,7 +1199,7 @@ const _r = (e) => {
|
|
|
1199
1199
|
[n.key]: n.val
|
|
1200
1200
|
}), {});
|
|
1201
1201
|
};
|
|
1202
|
-
function
|
|
1202
|
+
function Ir(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 kr(e) {
|
|
|
1218
1218
|
unit: r = "px",
|
|
1219
1219
|
step: n = 5,
|
|
1220
1220
|
...o
|
|
1221
|
-
} = e, a =
|
|
1221
|
+
} = e, a = Rr(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
|
}
|
|
@@ -1226,43 +1226,43 @@ function kr(e) {
|
|
|
1226
1226
|
return `@media (max-width:${(typeof t[p] == "number" ? t[p] : p) - n / 100}${r})`;
|
|
1227
1227
|
}
|
|
1228
1228
|
function d(p, b) {
|
|
1229
|
-
const
|
|
1230
|
-
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(
|
|
1229
|
+
const m = s.indexOf(b);
|
|
1230
|
+
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(m !== -1 && typeof t[s[m]] == "number" ? t[s[m]] : b) - n / 100}${r})`;
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1233
|
-
return
|
|
1232
|
+
function y(p) {
|
|
1233
|
+
return s.indexOf(p) + 1 < s.length ? d(p, s[s.indexOf(p) + 1]) : u(p);
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1236
|
-
const b =
|
|
1237
|
-
return b === 0 ? u(
|
|
1235
|
+
function h(p) {
|
|
1236
|
+
const b = s.indexOf(p);
|
|
1237
|
+
return b === 0 ? u(s[1]) : b === s.length - 1 ? f(s[b]) : d(p, s[s.indexOf(p) + 1]).replace("@media", "@media not all and");
|
|
1238
1238
|
}
|
|
1239
1239
|
return {
|
|
1240
|
-
keys:
|
|
1240
|
+
keys: s,
|
|
1241
1241
|
values: a,
|
|
1242
1242
|
up: u,
|
|
1243
1243
|
down: f,
|
|
1244
1244
|
between: d,
|
|
1245
|
-
only:
|
|
1246
|
-
not:
|
|
1245
|
+
only: y,
|
|
1246
|
+
not: h,
|
|
1247
1247
|
unit: r,
|
|
1248
1248
|
...o
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1251
|
+
const Br = {
|
|
1252
1252
|
borderRadius: 4
|
|
1253
1253
|
};
|
|
1254
|
-
function
|
|
1254
|
+
function St(e = 8, t = Ue({
|
|
1255
1255
|
spacing: e
|
|
1256
1256
|
})) {
|
|
1257
1257
|
if (e.mui)
|
|
1258
1258
|
return e;
|
|
1259
1259
|
const r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
|
|
1260
|
-
const
|
|
1261
|
-
return typeof
|
|
1260
|
+
const s = t(a);
|
|
1261
|
+
return typeof s == "number" ? `${s}px` : s;
|
|
1262
1262
|
}).join(" "));
|
|
1263
1263
|
return r.mui = !0, r;
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1265
|
+
function Pr(e, t) {
|
|
1266
1266
|
var n;
|
|
1267
1267
|
const r = this;
|
|
1268
1268
|
if (r.vars) {
|
|
@@ -1275,15 +1275,15 @@ function Ir(e, t) {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
return r.palette.mode === e ? t : {};
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1278
|
+
function Dr(e = {}, ...t) {
|
|
1279
1279
|
const {
|
|
1280
1280
|
breakpoints: r = {},
|
|
1281
1281
|
palette: n = {},
|
|
1282
1282
|
spacing: o,
|
|
1283
1283
|
shape: a = {},
|
|
1284
|
-
...
|
|
1285
|
-
} = e, u =
|
|
1286
|
-
let d =
|
|
1284
|
+
...s
|
|
1285
|
+
} = e, u = Ir(r), f = St(o);
|
|
1286
|
+
let d = M({
|
|
1287
1287
|
breakpoints: u,
|
|
1288
1288
|
direction: "ltr",
|
|
1289
1289
|
components: {},
|
|
@@ -1294,50 +1294,87 @@ function Nr(e = {}, ...t) {
|
|
|
1294
1294
|
},
|
|
1295
1295
|
spacing: f,
|
|
1296
1296
|
shape: {
|
|
1297
|
-
...
|
|
1297
|
+
...Br,
|
|
1298
1298
|
...a
|
|
1299
1299
|
}
|
|
1300
|
-
},
|
|
1301
|
-
return d =
|
|
1302
|
-
...
|
|
1303
|
-
...
|
|
1304
|
-
}, d.unstable_sx = function(
|
|
1300
|
+
}, s);
|
|
1301
|
+
return d = Dt(d), d.applyStyles = Pr, d = t.reduce((y, h) => M(y, h), d), d.unstable_sxConfig = {
|
|
1302
|
+
...ke,
|
|
1303
|
+
...s == null ? void 0 : s.unstable_sxConfig
|
|
1304
|
+
}, d.unstable_sx = function(h) {
|
|
1305
1305
|
return Ne({
|
|
1306
|
-
sx:
|
|
1306
|
+
sx: h,
|
|
1307
1307
|
theme: this
|
|
1308
1308
|
});
|
|
1309
1309
|
}, d;
|
|
1310
1310
|
}
|
|
1311
|
-
|
|
1311
|
+
const rt = (e) => e, Mr = () => {
|
|
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) {
|
|
1312
1349
|
return Math.max(t, Math.min(e, r));
|
|
1313
1350
|
}
|
|
1314
|
-
function
|
|
1315
|
-
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),
|
|
1351
|
+
function Ge(e, t = 0, r = 1) {
|
|
1352
|
+
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Lr(e, t, r);
|
|
1316
1353
|
}
|
|
1317
|
-
function
|
|
1354
|
+
function Wr(e) {
|
|
1318
1355
|
e = e.slice(1);
|
|
1319
1356
|
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
1320
1357
|
let r = e.match(t);
|
|
1321
1358
|
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(", ")})` : "";
|
|
1322
1359
|
}
|
|
1323
|
-
function
|
|
1360
|
+
function Ur(e) {
|
|
1324
1361
|
const t = e.toString(16);
|
|
1325
1362
|
return t.length === 1 ? `0${t}` : t;
|
|
1326
1363
|
}
|
|
1327
|
-
function
|
|
1364
|
+
function Y(e) {
|
|
1328
1365
|
if (e.type)
|
|
1329
1366
|
return e;
|
|
1330
1367
|
if (e.charAt(0) === "#")
|
|
1331
|
-
return
|
|
1368
|
+
return Y(Wr(e));
|
|
1332
1369
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
1333
1370
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
1334
1371
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
1335
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` :
|
|
1372
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Q(9, e));
|
|
1336
1373
|
let n = e.substring(t + 1, e.length - 1), o;
|
|
1337
1374
|
if (r === "color") {
|
|
1338
1375
|
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))
|
|
1339
1376
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
1340
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` :
|
|
1377
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Q(10, o));
|
|
1341
1378
|
} else
|
|
1342
1379
|
n = n.split(",");
|
|
1343
1380
|
return n = n.map((a) => parseFloat(a)), {
|
|
@@ -1346,17 +1383,17 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
1346
1383
|
colorSpace: o
|
|
1347
1384
|
};
|
|
1348
1385
|
}
|
|
1349
|
-
const
|
|
1350
|
-
const t =
|
|
1386
|
+
const jr = (e) => {
|
|
1387
|
+
const t = Y(e);
|
|
1351
1388
|
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
1352
|
-
},
|
|
1389
|
+
}, ue = (e, t) => {
|
|
1353
1390
|
try {
|
|
1354
|
-
return
|
|
1391
|
+
return jr(e);
|
|
1355
1392
|
} catch {
|
|
1356
1393
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
1357
1394
|
}
|
|
1358
1395
|
};
|
|
1359
|
-
function
|
|
1396
|
+
function Re(e) {
|
|
1360
1397
|
const {
|
|
1361
1398
|
type: t,
|
|
1362
1399
|
colorSpace: r
|
|
@@ -1366,62 +1403,62 @@ function Pe(e) {
|
|
|
1366
1403
|
} = e;
|
|
1367
1404
|
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})`;
|
|
1368
1405
|
}
|
|
1369
|
-
function
|
|
1406
|
+
function Wn(e) {
|
|
1370
1407
|
if (e.startsWith("#"))
|
|
1371
1408
|
return e;
|
|
1372
1409
|
const {
|
|
1373
1410
|
values: t
|
|
1374
|
-
} =
|
|
1375
|
-
return `#${t.map((r, n) =>
|
|
1411
|
+
} = Y(e);
|
|
1412
|
+
return `#${t.map((r, n) => Ur(n === 3 ? Math.round(255 * r) : r)).join("")}`;
|
|
1376
1413
|
}
|
|
1377
|
-
function
|
|
1378
|
-
e =
|
|
1414
|
+
function Et(e) {
|
|
1415
|
+
e = Y(e);
|
|
1379
1416
|
const {
|
|
1380
1417
|
values: t
|
|
1381
|
-
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, a = n * Math.min(o, 1 - o),
|
|
1418
|
+
} = 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);
|
|
1382
1419
|
let u = "rgb";
|
|
1383
|
-
const f = [Math.round(
|
|
1384
|
-
return e.type === "hsla" && (u += "a", f.push(t[3])),
|
|
1420
|
+
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])), Re({
|
|
1385
1422
|
type: u,
|
|
1386
1423
|
values: f
|
|
1387
1424
|
});
|
|
1388
1425
|
}
|
|
1389
|
-
function
|
|
1390
|
-
e =
|
|
1391
|
-
let t = e.type === "hsl" || e.type === "hsla" ?
|
|
1426
|
+
function Ve(e) {
|
|
1427
|
+
e = Y(e);
|
|
1428
|
+
let t = e.type === "hsl" || e.type === "hsla" ? Y(Et(e)).values : e.values;
|
|
1392
1429
|
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));
|
|
1393
1430
|
}
|
|
1394
1431
|
function nt(e, t) {
|
|
1395
|
-
const r =
|
|
1432
|
+
const r = Ve(e), n = Ve(t);
|
|
1396
1433
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
1397
1434
|
}
|
|
1398
|
-
function
|
|
1399
|
-
return e =
|
|
1435
|
+
function xt(e, t) {
|
|
1436
|
+
return e = Y(e), t = Ge(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Re(e);
|
|
1400
1437
|
}
|
|
1401
|
-
function
|
|
1438
|
+
function J(e, t, r) {
|
|
1402
1439
|
try {
|
|
1403
|
-
return
|
|
1440
|
+
return xt(e, t);
|
|
1404
1441
|
} catch {
|
|
1405
|
-
return e;
|
|
1442
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1406
1443
|
}
|
|
1407
1444
|
}
|
|
1408
|
-
function
|
|
1409
|
-
if (e =
|
|
1445
|
+
function Ie(e, t) {
|
|
1446
|
+
if (e = Y(e), t = Ge(t), e.type.includes("hsl"))
|
|
1410
1447
|
e.values[2] *= 1 - t;
|
|
1411
1448
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
1412
1449
|
for (let r = 0; r < 3; r += 1)
|
|
1413
1450
|
e.values[r] *= 1 - t;
|
|
1414
|
-
return
|
|
1451
|
+
return Re(e);
|
|
1415
1452
|
}
|
|
1416
|
-
function
|
|
1453
|
+
function T(e, t, r) {
|
|
1417
1454
|
try {
|
|
1418
|
-
return
|
|
1455
|
+
return Ie(e, t);
|
|
1419
1456
|
} catch {
|
|
1420
|
-
return e;
|
|
1457
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1421
1458
|
}
|
|
1422
1459
|
}
|
|
1423
|
-
function
|
|
1424
|
-
if (e =
|
|
1460
|
+
function Be(e, t) {
|
|
1461
|
+
if (e = Y(e), t = Ge(t), e.type.includes("hsl"))
|
|
1425
1462
|
e.values[2] += (100 - e.values[2]) * t;
|
|
1426
1463
|
else if (e.type.includes("rgb"))
|
|
1427
1464
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -1429,26 +1466,26 @@ function ze(e, t) {
|
|
|
1429
1466
|
else if (e.type.includes("color"))
|
|
1430
1467
|
for (let r = 0; r < 3; r += 1)
|
|
1431
1468
|
e.values[r] += (1 - e.values[r]) * t;
|
|
1432
|
-
return
|
|
1469
|
+
return Re(e);
|
|
1433
1470
|
}
|
|
1434
|
-
function
|
|
1471
|
+
function A(e, t, r) {
|
|
1435
1472
|
try {
|
|
1436
|
-
return
|
|
1473
|
+
return Be(e, t);
|
|
1437
1474
|
} catch {
|
|
1438
|
-
return e;
|
|
1475
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1439
1476
|
}
|
|
1440
1477
|
}
|
|
1441
|
-
function
|
|
1442
|
-
return
|
|
1478
|
+
function Gr(e, t = 0.15) {
|
|
1479
|
+
return Ve(e) > 0.5 ? Ie(e, t) : Be(e, t);
|
|
1443
1480
|
}
|
|
1444
|
-
function
|
|
1481
|
+
function be(e, t, r) {
|
|
1445
1482
|
try {
|
|
1446
|
-
return
|
|
1483
|
+
return Gr(e, t);
|
|
1447
1484
|
} catch {
|
|
1448
1485
|
return e;
|
|
1449
1486
|
}
|
|
1450
1487
|
}
|
|
1451
|
-
function
|
|
1488
|
+
function zr(e = "") {
|
|
1452
1489
|
function t(...n) {
|
|
1453
1490
|
if (!n.length)
|
|
1454
1491
|
return "";
|
|
@@ -1459,30 +1496,30 @@ function Lr(e = "") {
|
|
|
1459
1496
|
}
|
|
1460
1497
|
const ot = (e, t, r, n = []) => {
|
|
1461
1498
|
let o = e;
|
|
1462
|
-
t.forEach((a,
|
|
1463
|
-
|
|
1499
|
+
t.forEach((a, s) => {
|
|
1500
|
+
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]);
|
|
1464
1501
|
});
|
|
1465
|
-
},
|
|
1466
|
-
function n(o, a = [],
|
|
1502
|
+
}, Yr = (e, t, r) => {
|
|
1503
|
+
function n(o, a = [], s = []) {
|
|
1467
1504
|
Object.entries(o).forEach(([u, f]) => {
|
|
1468
|
-
(!r || r && !r([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...
|
|
1505
|
+
(!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));
|
|
1469
1506
|
});
|
|
1470
1507
|
}
|
|
1471
1508
|
n(e);
|
|
1472
|
-
},
|
|
1473
|
-
function
|
|
1509
|
+
}, Kr = (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;
|
|
1510
|
+
function De(e, t) {
|
|
1474
1511
|
const {
|
|
1475
1512
|
prefix: r,
|
|
1476
1513
|
shouldSkipGeneratingVar: n
|
|
1477
|
-
} = t || {}, o = {}, a = {},
|
|
1478
|
-
return
|
|
1514
|
+
} = t || {}, o = {}, a = {}, s = {};
|
|
1515
|
+
return Yr(
|
|
1479
1516
|
e,
|
|
1480
1517
|
(u, f, d) => {
|
|
1481
1518
|
if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
|
|
1482
|
-
const
|
|
1519
|
+
const y = `--${r ? `${r}-` : ""}${u.join("-")}`, h = Kr(u, f);
|
|
1483
1520
|
Object.assign(o, {
|
|
1484
|
-
[
|
|
1485
|
-
}), ot(a, u, `var(${
|
|
1521
|
+
[y]: h
|
|
1522
|
+
}), ot(a, u, `var(${y})`, d), ot(s, u, `var(${y}, ${h})`, d);
|
|
1486
1523
|
}
|
|
1487
1524
|
},
|
|
1488
1525
|
(u) => u[0] === "vars"
|
|
@@ -1490,162 +1527,142 @@ function Me(e, t) {
|
|
|
1490
1527
|
), {
|
|
1491
1528
|
css: o,
|
|
1492
1529
|
vars: a,
|
|
1493
|
-
varsWithDefaults:
|
|
1530
|
+
varsWithDefaults: s
|
|
1494
1531
|
};
|
|
1495
1532
|
}
|
|
1496
|
-
function
|
|
1533
|
+
function Hr(e, t = {}) {
|
|
1497
1534
|
const {
|
|
1498
|
-
getSelector: r =
|
|
1535
|
+
getSelector: r = _,
|
|
1499
1536
|
disableCssColorScheme: n,
|
|
1500
|
-
colorSchemeSelector: o
|
|
1537
|
+
colorSchemeSelector: o,
|
|
1538
|
+
enableContrastVars: a
|
|
1501
1539
|
} = t, {
|
|
1502
|
-
colorSchemes:
|
|
1503
|
-
components:
|
|
1504
|
-
defaultColorScheme:
|
|
1505
|
-
...
|
|
1540
|
+
colorSchemes: s = {},
|
|
1541
|
+
components: u,
|
|
1542
|
+
defaultColorScheme: f = "light",
|
|
1543
|
+
...d
|
|
1506
1544
|
} = e, {
|
|
1507
|
-
vars:
|
|
1545
|
+
vars: y,
|
|
1508
1546
|
css: h,
|
|
1509
|
-
varsWithDefaults:
|
|
1510
|
-
} =
|
|
1511
|
-
let
|
|
1512
|
-
const
|
|
1513
|
-
[
|
|
1514
|
-
...
|
|
1515
|
-
} =
|
|
1516
|
-
if (Object.entries(
|
|
1547
|
+
varsWithDefaults: p
|
|
1548
|
+
} = De(d, t);
|
|
1549
|
+
let b = p;
|
|
1550
|
+
const m = {}, {
|
|
1551
|
+
[f]: l,
|
|
1552
|
+
...C
|
|
1553
|
+
} = s;
|
|
1554
|
+
if (Object.entries(C || {}).forEach(([$, D]) => {
|
|
1517
1555
|
const {
|
|
1518
|
-
vars:
|
|
1519
|
-
css:
|
|
1520
|
-
varsWithDefaults:
|
|
1521
|
-
} =
|
|
1522
|
-
|
|
1523
|
-
css:
|
|
1524
|
-
vars:
|
|
1556
|
+
vars: E,
|
|
1557
|
+
css: j,
|
|
1558
|
+
varsWithDefaults: K
|
|
1559
|
+
} = De(D, t);
|
|
1560
|
+
b = M(b, K), m[$] = {
|
|
1561
|
+
css: j,
|
|
1562
|
+
vars: E
|
|
1525
1563
|
};
|
|
1526
|
-
}),
|
|
1564
|
+
}), l) {
|
|
1527
1565
|
const {
|
|
1528
|
-
css:
|
|
1529
|
-
vars:
|
|
1530
|
-
varsWithDefaults:
|
|
1531
|
-
} =
|
|
1532
|
-
|
|
1533
|
-
css:
|
|
1534
|
-
vars:
|
|
1566
|
+
css: $,
|
|
1567
|
+
vars: D,
|
|
1568
|
+
varsWithDefaults: E
|
|
1569
|
+
} = De(l, t);
|
|
1570
|
+
b = M(b, E), m[f] = {
|
|
1571
|
+
css: $,
|
|
1572
|
+
vars: D
|
|
1535
1573
|
};
|
|
1536
1574
|
}
|
|
1537
|
-
function
|
|
1538
|
-
var
|
|
1539
|
-
let
|
|
1540
|
-
if (o === "class" && (
|
|
1541
|
-
if (
|
|
1542
|
-
return e.defaultColorScheme ===
|
|
1543
|
-
[`@media (prefers-color-scheme: ${((
|
|
1544
|
-
":root":
|
|
1575
|
+
function _($, D) {
|
|
1576
|
+
var j, K;
|
|
1577
|
+
let E = o;
|
|
1578
|
+
if (o === "class" && (E = ".%s"), o === "data" && (E = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (E = `[${o}="%s"]`), $) {
|
|
1579
|
+
if (E === "media")
|
|
1580
|
+
return e.defaultColorScheme === $ ? ":root" : {
|
|
1581
|
+
[`@media (prefers-color-scheme: ${((K = (j = s[$]) == null ? void 0 : j.palette) == null ? void 0 : K.mode) || $})`]: {
|
|
1582
|
+
":root": D
|
|
1545
1583
|
}
|
|
1546
1584
|
};
|
|
1547
|
-
if (
|
|
1548
|
-
return e.defaultColorScheme ===
|
|
1585
|
+
if (E)
|
|
1586
|
+
return e.defaultColorScheme === $ ? `:root, ${E.replace("%s", String($))}` : E.replace("%s", String($));
|
|
1549
1587
|
}
|
|
1550
1588
|
return ":root";
|
|
1551
1589
|
}
|
|
1552
1590
|
return {
|
|
1553
|
-
vars:
|
|
1591
|
+
vars: b,
|
|
1554
1592
|
generateThemeVars: () => {
|
|
1555
|
-
let
|
|
1556
|
-
...
|
|
1593
|
+
let $ = {
|
|
1594
|
+
...y
|
|
1557
1595
|
};
|
|
1558
|
-
return Object.entries(
|
|
1559
|
-
vars:
|
|
1596
|
+
return Object.entries(m).forEach(([, {
|
|
1597
|
+
vars: D
|
|
1560
1598
|
}]) => {
|
|
1561
|
-
|
|
1562
|
-
}),
|
|
1599
|
+
$ = M($, D);
|
|
1600
|
+
}), $;
|
|
1563
1601
|
},
|
|
1564
1602
|
generateStyleSheets: () => {
|
|
1565
|
-
var
|
|
1566
|
-
const
|
|
1567
|
-
function
|
|
1568
|
-
Object.keys(
|
|
1569
|
-
[
|
|
1570
|
-
...
|
|
1603
|
+
var se, he;
|
|
1604
|
+
const $ = [], D = e.defaultColorScheme || "light";
|
|
1605
|
+
function E(P, i) {
|
|
1606
|
+
Object.keys(i).length && $.push(typeof P == "string" ? {
|
|
1607
|
+
[P]: {
|
|
1608
|
+
...i
|
|
1571
1609
|
}
|
|
1572
|
-
} :
|
|
1610
|
+
} : P);
|
|
1573
1611
|
}
|
|
1574
|
-
|
|
1612
|
+
E(r(void 0, {
|
|
1575
1613
|
...h
|
|
1576
1614
|
}), h);
|
|
1577
1615
|
const {
|
|
1578
|
-
[
|
|
1579
|
-
...
|
|
1580
|
-
} =
|
|
1581
|
-
if (
|
|
1616
|
+
[D]: j,
|
|
1617
|
+
...K
|
|
1618
|
+
} = m;
|
|
1619
|
+
if (j) {
|
|
1582
1620
|
const {
|
|
1583
|
-
css:
|
|
1584
|
-
} =
|
|
1585
|
-
colorScheme:
|
|
1586
|
-
...
|
|
1621
|
+
css: P
|
|
1622
|
+
} = j, i = (he = (se = s[D]) == null ? void 0 : se.palette) == null ? void 0 : he.mode, S = !n && i ? {
|
|
1623
|
+
colorScheme: i,
|
|
1624
|
+
...P
|
|
1587
1625
|
} : {
|
|
1588
|
-
...
|
|
1626
|
+
...P
|
|
1589
1627
|
};
|
|
1590
|
-
|
|
1591
|
-
...
|
|
1592
|
-
}),
|
|
1628
|
+
E(r(D, {
|
|
1629
|
+
...S
|
|
1630
|
+
}), S);
|
|
1593
1631
|
}
|
|
1594
|
-
return Object.entries(
|
|
1595
|
-
css:
|
|
1632
|
+
return Object.entries(K).forEach(([P, {
|
|
1633
|
+
css: i
|
|
1596
1634
|
}]) => {
|
|
1597
|
-
var
|
|
1598
|
-
const
|
|
1599
|
-
colorScheme:
|
|
1600
|
-
...
|
|
1635
|
+
var x, I;
|
|
1636
|
+
const S = (I = (x = s[P]) == null ? void 0 : x.palette) == null ? void 0 : I.mode, g = !n && S ? {
|
|
1637
|
+
colorScheme: S,
|
|
1638
|
+
...i
|
|
1601
1639
|
} : {
|
|
1602
|
-
...
|
|
1640
|
+
...i
|
|
1603
1641
|
};
|
|
1604
|
-
|
|
1605
|
-
...
|
|
1606
|
-
}),
|
|
1607
|
-
}),
|
|
1642
|
+
E(r(P, {
|
|
1643
|
+
...g
|
|
1644
|
+
}), g);
|
|
1645
|
+
}), a && $.push({
|
|
1646
|
+
":root": {
|
|
1647
|
+
// use double underscore to indicate that these are private variables
|
|
1648
|
+
"--__l-threshold": "0.7",
|
|
1649
|
+
"--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
|
|
1650
|
+
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
1651
|
+
// 0.87 is the default alpha value for black text.
|
|
1652
|
+
}
|
|
1653
|
+
}), $;
|
|
1608
1654
|
}
|
|
1609
1655
|
};
|
|
1610
1656
|
}
|
|
1611
|
-
function
|
|
1657
|
+
function qr(e) {
|
|
1612
1658
|
return function(r) {
|
|
1613
1659
|
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)} &` : "&";
|
|
1614
1660
|
};
|
|
1615
1661
|
}
|
|
1616
|
-
|
|
1617
|
-
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
1618
|
-
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
1619
|
-
}
|
|
1620
|
-
function z(e) {
|
|
1621
|
-
if (typeof e != "object" || e === null)
|
|
1622
|
-
return !1;
|
|
1623
|
-
const t = Object.getPrototypeOf(e);
|
|
1624
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1625
|
-
}
|
|
1626
|
-
function Ct(e) {
|
|
1627
|
-
if (/* @__PURE__ */ Ee.isValidElement(e) || $e.isValidElementType(e) || !z(e))
|
|
1628
|
-
return e;
|
|
1629
|
-
const t = {};
|
|
1630
|
-
return Object.keys(e).forEach((r) => {
|
|
1631
|
-
t[r] = Ct(e[r]);
|
|
1632
|
-
}), t;
|
|
1633
|
-
}
|
|
1634
|
-
function q(e, t, r = {
|
|
1635
|
-
clone: !0
|
|
1636
|
-
}) {
|
|
1637
|
-
const n = r.clone ? {
|
|
1638
|
-
...e
|
|
1639
|
-
} : e;
|
|
1640
|
-
return z(e) && z(t) && Object.keys(t).forEach((o) => {
|
|
1641
|
-
/* @__PURE__ */ Ee.isValidElement(t[o]) || $e.isValidElementType(t[o]) ? n[o] = t[o] : z(t[o]) && // Avoid prototype pollution
|
|
1642
|
-
Object.prototype.hasOwnProperty.call(e, o) && z(e[o]) ? n[o] = q(e[o], t[o], r) : r.clone ? n[o] = z(t[o]) ? Ct(t[o]) : t[o] : n[o] = t[o];
|
|
1643
|
-
}), n;
|
|
1644
|
-
}
|
|
1645
|
-
const ce = {
|
|
1662
|
+
const pe = {
|
|
1646
1663
|
black: "#000",
|
|
1647
1664
|
white: "#fff"
|
|
1648
|
-
},
|
|
1665
|
+
}, Qr = {
|
|
1649
1666
|
50: "#fafafa",
|
|
1650
1667
|
100: "#f5f5f5",
|
|
1651
1668
|
200: "#eeeeee",
|
|
@@ -1660,7 +1677,7 @@ const ce = {
|
|
|
1660
1677
|
A200: "#eeeeee",
|
|
1661
1678
|
A400: "#bdbdbd",
|
|
1662
1679
|
A700: "#616161"
|
|
1663
|
-
},
|
|
1680
|
+
}, te = {
|
|
1664
1681
|
50: "#f3e5f5",
|
|
1665
1682
|
100: "#e1bee7",
|
|
1666
1683
|
200: "#ce93d8",
|
|
@@ -1675,7 +1692,7 @@ const ce = {
|
|
|
1675
1692
|
A200: "#e040fb",
|
|
1676
1693
|
A400: "#d500f9",
|
|
1677
1694
|
A700: "#aa00ff"
|
|
1678
|
-
},
|
|
1695
|
+
}, re = {
|
|
1679
1696
|
50: "#ffebee",
|
|
1680
1697
|
100: "#ffcdd2",
|
|
1681
1698
|
200: "#ef9a9a",
|
|
@@ -1690,7 +1707,7 @@ const ce = {
|
|
|
1690
1707
|
A200: "#ff5252",
|
|
1691
1708
|
A400: "#ff1744",
|
|
1692
1709
|
A700: "#d50000"
|
|
1693
|
-
},
|
|
1710
|
+
}, ce = {
|
|
1694
1711
|
50: "#fff3e0",
|
|
1695
1712
|
100: "#ffe0b2",
|
|
1696
1713
|
200: "#ffcc80",
|
|
@@ -1705,7 +1722,7 @@ const ce = {
|
|
|
1705
1722
|
A200: "#ffab40",
|
|
1706
1723
|
A400: "#ff9100",
|
|
1707
1724
|
A700: "#ff6d00"
|
|
1708
|
-
},
|
|
1725
|
+
}, ne = {
|
|
1709
1726
|
50: "#e3f2fd",
|
|
1710
1727
|
100: "#bbdefb",
|
|
1711
1728
|
200: "#90caf9",
|
|
@@ -1720,7 +1737,7 @@ const ce = {
|
|
|
1720
1737
|
A200: "#448aff",
|
|
1721
1738
|
A400: "#2979ff",
|
|
1722
1739
|
A700: "#2962ff"
|
|
1723
|
-
},
|
|
1740
|
+
}, oe = {
|
|
1724
1741
|
50: "#e1f5fe",
|
|
1725
1742
|
100: "#b3e5fc",
|
|
1726
1743
|
200: "#81d4fa",
|
|
@@ -1735,7 +1752,7 @@ const ce = {
|
|
|
1735
1752
|
A200: "#40c4ff",
|
|
1736
1753
|
A400: "#00b0ff",
|
|
1737
1754
|
A700: "#0091ea"
|
|
1738
|
-
},
|
|
1755
|
+
}, ie = {
|
|
1739
1756
|
50: "#e8f5e9",
|
|
1740
1757
|
100: "#c8e6c9",
|
|
1741
1758
|
200: "#a5d6a7",
|
|
@@ -1751,7 +1768,7 @@ const ce = {
|
|
|
1751
1768
|
A400: "#00e676",
|
|
1752
1769
|
A700: "#00c853"
|
|
1753
1770
|
};
|
|
1754
|
-
function
|
|
1771
|
+
function Tt() {
|
|
1755
1772
|
return {
|
|
1756
1773
|
// The colors used to style the text.
|
|
1757
1774
|
text: {
|
|
@@ -1767,8 +1784,8 @@ function Et() {
|
|
|
1767
1784
|
// The background colors used to style the surfaces.
|
|
1768
1785
|
// Consistency between these values is important.
|
|
1769
1786
|
background: {
|
|
1770
|
-
paper:
|
|
1771
|
-
default:
|
|
1787
|
+
paper: pe.white,
|
|
1788
|
+
default: pe.white
|
|
1772
1789
|
},
|
|
1773
1790
|
// The colors used to style the action elements.
|
|
1774
1791
|
action: {
|
|
@@ -1791,11 +1808,11 @@ function Et() {
|
|
|
1791
1808
|
}
|
|
1792
1809
|
};
|
|
1793
1810
|
}
|
|
1794
|
-
const
|
|
1795
|
-
function
|
|
1811
|
+
const At = Tt();
|
|
1812
|
+
function vt() {
|
|
1796
1813
|
return {
|
|
1797
1814
|
text: {
|
|
1798
|
-
primary:
|
|
1815
|
+
primary: pe.white,
|
|
1799
1816
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
1800
1817
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
1801
1818
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -1806,7 +1823,7 @@ function $t() {
|
|
|
1806
1823
|
default: "#121212"
|
|
1807
1824
|
},
|
|
1808
1825
|
action: {
|
|
1809
|
-
active:
|
|
1826
|
+
active: pe.white,
|
|
1810
1827
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
1811
1828
|
hoverOpacity: 0.08,
|
|
1812
1829
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -1820,109 +1837,119 @@ function $t() {
|
|
|
1820
1837
|
}
|
|
1821
1838
|
};
|
|
1822
1839
|
}
|
|
1823
|
-
const
|
|
1824
|
-
function
|
|
1840
|
+
const Le = vt();
|
|
1841
|
+
function it(e, t, r, n) {
|
|
1825
1842
|
const o = n.light || n, a = n.dark || n * 1.5;
|
|
1826
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light =
|
|
1843
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Be(e.main, o) : t === "dark" && (e.dark = Ie(e.main, a)));
|
|
1827
1844
|
}
|
|
1828
|
-
function
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
light: J[50],
|
|
1832
|
-
dark: J[400]
|
|
1833
|
-
} : {
|
|
1834
|
-
main: J[700],
|
|
1835
|
-
light: J[400],
|
|
1836
|
-
dark: J[800]
|
|
1837
|
-
};
|
|
1845
|
+
function at(e, t, r, n, o) {
|
|
1846
|
+
const a = o.light || o, s = o.dark || o * 1.5;
|
|
1847
|
+
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)}%)`));
|
|
1838
1848
|
}
|
|
1839
|
-
function
|
|
1849
|
+
function Xr(e = "light") {
|
|
1840
1850
|
return e === "dark" ? {
|
|
1841
|
-
main:
|
|
1842
|
-
light:
|
|
1843
|
-
dark:
|
|
1851
|
+
main: ne[200],
|
|
1852
|
+
light: ne[50],
|
|
1853
|
+
dark: ne[400]
|
|
1844
1854
|
} : {
|
|
1845
|
-
main:
|
|
1846
|
-
light:
|
|
1847
|
-
dark:
|
|
1855
|
+
main: ne[700],
|
|
1856
|
+
light: ne[400],
|
|
1857
|
+
dark: ne[800]
|
|
1848
1858
|
};
|
|
1849
1859
|
}
|
|
1850
|
-
function
|
|
1860
|
+
function Jr(e = "light") {
|
|
1851
1861
|
return e === "dark" ? {
|
|
1852
|
-
main:
|
|
1853
|
-
light:
|
|
1854
|
-
dark:
|
|
1862
|
+
main: te[200],
|
|
1863
|
+
light: te[50],
|
|
1864
|
+
dark: te[400]
|
|
1855
1865
|
} : {
|
|
1856
|
-
main:
|
|
1857
|
-
light:
|
|
1858
|
-
dark:
|
|
1866
|
+
main: te[500],
|
|
1867
|
+
light: te[300],
|
|
1868
|
+
dark: te[700]
|
|
1859
1869
|
};
|
|
1860
1870
|
}
|
|
1861
|
-
function
|
|
1871
|
+
function Zr(e = "light") {
|
|
1862
1872
|
return e === "dark" ? {
|
|
1863
|
-
main:
|
|
1864
|
-
light:
|
|
1865
|
-
dark:
|
|
1873
|
+
main: re[500],
|
|
1874
|
+
light: re[300],
|
|
1875
|
+
dark: re[700]
|
|
1866
1876
|
} : {
|
|
1867
|
-
main:
|
|
1868
|
-
light:
|
|
1869
|
-
dark:
|
|
1877
|
+
main: re[700],
|
|
1878
|
+
light: re[400],
|
|
1879
|
+
dark: re[800]
|
|
1870
1880
|
};
|
|
1871
1881
|
}
|
|
1872
|
-
function
|
|
1882
|
+
function en(e = "light") {
|
|
1873
1883
|
return e === "dark" ? {
|
|
1874
|
-
main:
|
|
1875
|
-
light:
|
|
1876
|
-
dark:
|
|
1884
|
+
main: oe[400],
|
|
1885
|
+
light: oe[300],
|
|
1886
|
+
dark: oe[700]
|
|
1877
1887
|
} : {
|
|
1878
|
-
main:
|
|
1879
|
-
light:
|
|
1880
|
-
dark:
|
|
1888
|
+
main: oe[700],
|
|
1889
|
+
light: oe[500],
|
|
1890
|
+
dark: oe[900]
|
|
1881
1891
|
};
|
|
1882
1892
|
}
|
|
1883
|
-
function
|
|
1893
|
+
function tn(e = "light") {
|
|
1884
1894
|
return e === "dark" ? {
|
|
1885
1895
|
main: ie[400],
|
|
1886
1896
|
light: ie[300],
|
|
1887
1897
|
dark: ie[700]
|
|
1888
1898
|
} : {
|
|
1889
|
-
main:
|
|
1890
|
-
// closest to orange[800] that pass 3:1.
|
|
1899
|
+
main: ie[800],
|
|
1891
1900
|
light: ie[500],
|
|
1892
1901
|
dark: ie[900]
|
|
1893
1902
|
};
|
|
1894
1903
|
}
|
|
1895
|
-
function
|
|
1904
|
+
function rn(e = "light") {
|
|
1905
|
+
return e === "dark" ? {
|
|
1906
|
+
main: ce[400],
|
|
1907
|
+
light: ce[300],
|
|
1908
|
+
dark: ce[700]
|
|
1909
|
+
} : {
|
|
1910
|
+
main: "#ed6c02",
|
|
1911
|
+
// closest to orange[800] that pass 3:1.
|
|
1912
|
+
light: ce[500],
|
|
1913
|
+
dark: ce[900]
|
|
1914
|
+
};
|
|
1915
|
+
}
|
|
1916
|
+
function nn(e) {
|
|
1917
|
+
return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
|
|
1918
|
+
}
|
|
1919
|
+
function ze(e) {
|
|
1896
1920
|
const {
|
|
1897
1921
|
mode: t = "light",
|
|
1898
1922
|
contrastThreshold: r = 3,
|
|
1899
1923
|
tonalOffset: n = 0.2,
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1924
|
+
colorSpace: o,
|
|
1925
|
+
...a
|
|
1926
|
+
} = e, s = e.primary || Xr(t), u = e.secondary || Jr(t), f = e.error || Zr(t), d = e.info || en(t), y = e.success || tn(t), h = e.warning || rn(t);
|
|
1927
|
+
function p(C) {
|
|
1928
|
+
if (o)
|
|
1929
|
+
return nn(C);
|
|
1930
|
+
const _ = nt(C, Le.text.primary) >= r ? Le.text.primary : At.text.primary;
|
|
1904
1931
|
if (process.env.NODE_ENV !== "production") {
|
|
1905
|
-
const
|
|
1906
|
-
|
|
1932
|
+
const O = nt(C, _);
|
|
1933
|
+
O < 3 && console.error([`MUI: The contrast ratio of ${O}:1 for ${_} 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(`
|
|
1907
1934
|
`));
|
|
1908
1935
|
}
|
|
1909
|
-
return
|
|
1936
|
+
return _;
|
|
1910
1937
|
}
|
|
1911
|
-
const
|
|
1912
|
-
color:
|
|
1913
|
-
name:
|
|
1914
|
-
mainShade:
|
|
1915
|
-
lightShade:
|
|
1916
|
-
darkShade:
|
|
1938
|
+
const b = ({
|
|
1939
|
+
color: C,
|
|
1940
|
+
name: _,
|
|
1941
|
+
mainShade: O = 500,
|
|
1942
|
+
lightShade: V = 300,
|
|
1943
|
+
darkShade: $ = 700
|
|
1917
1944
|
}) => {
|
|
1918
|
-
if (
|
|
1919
|
-
...
|
|
1920
|
-
}, !
|
|
1921
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
1922
|
-
The color object needs to have a \`main\` property or a \`${
|
|
1923
|
-
if (typeof
|
|
1924
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
1925
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
1945
|
+
if (C = {
|
|
1946
|
+
...C
|
|
1947
|
+
}, !C.main && C[O] && (C.main = C[O]), !C.hasOwnProperty("main"))
|
|
1948
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
|
|
1949
|
+
The color object needs to have a \`main\` property or a \`${O}\` property.` : Q(11, _ ? ` (${_})` : "", O));
|
|
1950
|
+
if (typeof C.main != "string")
|
|
1951
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
|
|
1952
|
+
\`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
|
|
1926
1953
|
|
|
1927
1954
|
Did you intend to use one of the following approaches?
|
|
1928
1955
|
|
|
@@ -1934,107 +1961,76 @@ const theme1 = createTheme({ palette: {
|
|
|
1934
1961
|
|
|
1935
1962
|
const theme2 = createTheme({ palette: {
|
|
1936
1963
|
primary: { main: green[500] },
|
|
1937
|
-
} });` :
|
|
1938
|
-
return at(
|
|
1964
|
+
} });` : Q(12, _ ? ` (${_})` : "", JSON.stringify(C.main)));
|
|
1965
|
+
return o ? (at(o, C, "light", V, n), at(o, C, "dark", $, n)) : (it(C, "light", V, n), it(C, "dark", $, n)), C.contrastText || (C.contrastText = p(C.main)), C;
|
|
1939
1966
|
};
|
|
1940
|
-
let
|
|
1941
|
-
return t === "light" ?
|
|
1967
|
+
let m;
|
|
1968
|
+
return t === "light" ? m = Tt() : t === "dark" && (m = vt()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), M({
|
|
1942
1969
|
// A collection of common colors.
|
|
1943
1970
|
common: {
|
|
1944
|
-
...
|
|
1971
|
+
...pe
|
|
1945
1972
|
},
|
|
1946
1973
|
// prevent mutable object.
|
|
1947
1974
|
// The palette mode, can be light or dark.
|
|
1948
1975
|
mode: t,
|
|
1949
1976
|
// The colors used to represent primary interface elements for a user.
|
|
1950
|
-
primary:
|
|
1951
|
-
color:
|
|
1977
|
+
primary: b({
|
|
1978
|
+
color: s,
|
|
1952
1979
|
name: "primary"
|
|
1953
1980
|
}),
|
|
1954
1981
|
// The colors used to represent secondary interface elements for a user.
|
|
1955
|
-
secondary:
|
|
1956
|
-
color:
|
|
1982
|
+
secondary: b({
|
|
1983
|
+
color: u,
|
|
1957
1984
|
name: "secondary",
|
|
1958
1985
|
mainShade: "A400",
|
|
1959
1986
|
lightShade: "A200",
|
|
1960
1987
|
darkShade: "A700"
|
|
1961
1988
|
}),
|
|
1962
1989
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
1963
|
-
error:
|
|
1964
|
-
color:
|
|
1990
|
+
error: b({
|
|
1991
|
+
color: f,
|
|
1965
1992
|
name: "error"
|
|
1966
1993
|
}),
|
|
1967
1994
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
1968
|
-
warning:
|
|
1995
|
+
warning: b({
|
|
1969
1996
|
color: h,
|
|
1970
1997
|
name: "warning"
|
|
1971
1998
|
}),
|
|
1972
1999
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
1973
|
-
info:
|
|
1974
|
-
color:
|
|
2000
|
+
info: b({
|
|
2001
|
+
color: d,
|
|
1975
2002
|
name: "info"
|
|
1976
2003
|
}),
|
|
1977
2004
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
1978
|
-
success:
|
|
1979
|
-
color:
|
|
2005
|
+
success: b({
|
|
2006
|
+
color: y,
|
|
1980
2007
|
name: "success"
|
|
1981
2008
|
}),
|
|
1982
2009
|
// The grey colors.
|
|
1983
|
-
grey:
|
|
2010
|
+
grey: Qr,
|
|
1984
2011
|
// Used by `getContrastText()` to maximize the contrast between
|
|
1985
2012
|
// the background and the text.
|
|
1986
2013
|
contrastThreshold: r,
|
|
1987
2014
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
1988
|
-
getContrastText:
|
|
2015
|
+
getContrastText: p,
|
|
1989
2016
|
// Generate a rich color object.
|
|
1990
|
-
augmentColor:
|
|
2017
|
+
augmentColor: b,
|
|
1991
2018
|
// Used by the functions below to shift a color's luminance by approximately
|
|
1992
2019
|
// two indexes within its tonal palette.
|
|
1993
2020
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
1994
2021
|
tonalOffset: n,
|
|
1995
2022
|
// The light and dark mode object.
|
|
1996
|
-
...
|
|
1997
|
-
},
|
|
2023
|
+
...m
|
|
2024
|
+
}, a);
|
|
1998
2025
|
}
|
|
1999
|
-
function
|
|
2026
|
+
function on(e) {
|
|
2000
2027
|
const t = {};
|
|
2001
2028
|
return Object.entries(e).forEach((n) => {
|
|
2002
2029
|
const [o, a] = n;
|
|
2003
2030
|
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 || ""}`);
|
|
2004
2031
|
}), t;
|
|
2005
2032
|
}
|
|
2006
|
-
|
|
2007
|
-
let e = st;
|
|
2008
|
-
return {
|
|
2009
|
-
configure(t) {
|
|
2010
|
-
e = t;
|
|
2011
|
-
},
|
|
2012
|
-
generate(t) {
|
|
2013
|
-
return e(t);
|
|
2014
|
-
},
|
|
2015
|
-
reset() {
|
|
2016
|
-
e = st;
|
|
2017
|
-
}
|
|
2018
|
-
};
|
|
2019
|
-
}, tn = en(), rn = {
|
|
2020
|
-
active: "active",
|
|
2021
|
-
checked: "checked",
|
|
2022
|
-
completed: "completed",
|
|
2023
|
-
disabled: "disabled",
|
|
2024
|
-
error: "error",
|
|
2025
|
-
expanded: "expanded",
|
|
2026
|
-
focused: "focused",
|
|
2027
|
-
focusVisible: "focusVisible",
|
|
2028
|
-
open: "open",
|
|
2029
|
-
readOnly: "readOnly",
|
|
2030
|
-
required: "required",
|
|
2031
|
-
selected: "selected"
|
|
2032
|
-
};
|
|
2033
|
-
function Tt(e, t, r = "Mui") {
|
|
2034
|
-
const n = rn[t];
|
|
2035
|
-
return n ? `${r}-${n}` : `${tn.generate(e)}-${t}`;
|
|
2036
|
-
}
|
|
2037
|
-
function nn(e, t) {
|
|
2033
|
+
function an(e, t) {
|
|
2038
2034
|
return {
|
|
2039
2035
|
toolbar: {
|
|
2040
2036
|
minHeight: 56,
|
|
@@ -2050,58 +2046,58 @@ function nn(e, t) {
|
|
|
2050
2046
|
...t
|
|
2051
2047
|
};
|
|
2052
2048
|
}
|
|
2053
|
-
function
|
|
2049
|
+
function sn(e) {
|
|
2054
2050
|
return Math.round(e * 1e5) / 1e5;
|
|
2055
2051
|
}
|
|
2056
|
-
const
|
|
2052
|
+
const st = {
|
|
2057
2053
|
textTransform: "uppercase"
|
|
2058
|
-
},
|
|
2059
|
-
function
|
|
2054
|
+
}, lt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2055
|
+
function ln(e, t) {
|
|
2060
2056
|
const {
|
|
2061
|
-
fontFamily: r =
|
|
2057
|
+
fontFamily: r = lt,
|
|
2062
2058
|
// The default font size of the Material Specification.
|
|
2063
2059
|
fontSize: n = 14,
|
|
2064
2060
|
// px
|
|
2065
2061
|
fontWeightLight: o = 300,
|
|
2066
2062
|
fontWeightRegular: a = 400,
|
|
2067
|
-
fontWeightMedium:
|
|
2063
|
+
fontWeightMedium: s = 500,
|
|
2068
2064
|
fontWeightBold: u = 700,
|
|
2069
2065
|
// Tell MUI what's the font-size on the html element.
|
|
2070
2066
|
// 16px is the default font-size used by browsers.
|
|
2071
2067
|
htmlFontSize: f = 16,
|
|
2072
2068
|
// Apply the CSS properties to all the variants.
|
|
2073
2069
|
allVariants: d,
|
|
2074
|
-
pxToRem:
|
|
2075
|
-
...
|
|
2070
|
+
pxToRem: y,
|
|
2071
|
+
...h
|
|
2076
2072
|
} = typeof t == "function" ? t(e) : t;
|
|
2077
2073
|
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."));
|
|
2078
|
-
const p = n / 14, b =
|
|
2074
|
+
const p = n / 14, b = y || ((C) => `${C / f * p}rem`), m = (C, _, O, V, $) => ({
|
|
2079
2075
|
fontFamily: r,
|
|
2080
|
-
fontWeight:
|
|
2081
|
-
fontSize: b(
|
|
2076
|
+
fontWeight: C,
|
|
2077
|
+
fontSize: b(_),
|
|
2082
2078
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2083
|
-
lineHeight:
|
|
2079
|
+
lineHeight: O,
|
|
2084
2080
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2085
2081
|
// across font-families can cause issues with the kerning.
|
|
2086
|
-
...r ===
|
|
2087
|
-
letterSpacing: `${
|
|
2082
|
+
...r === lt ? {
|
|
2083
|
+
letterSpacing: `${sn(V / _)}em`
|
|
2088
2084
|
} : {},
|
|
2089
|
-
|
|
2085
|
+
...$,
|
|
2090
2086
|
...d
|
|
2091
|
-
}),
|
|
2092
|
-
h1:
|
|
2093
|
-
h2:
|
|
2094
|
-
h3:
|
|
2095
|
-
h4:
|
|
2096
|
-
h5:
|
|
2097
|
-
h6:
|
|
2098
|
-
subtitle1:
|
|
2099
|
-
subtitle2:
|
|
2100
|
-
body1:
|
|
2101
|
-
body2:
|
|
2102
|
-
button:
|
|
2103
|
-
caption:
|
|
2104
|
-
overline:
|
|
2087
|
+
}), l = {
|
|
2088
|
+
h1: m(o, 96, 1.167, -1.5),
|
|
2089
|
+
h2: m(o, 60, 1.2, -0.5),
|
|
2090
|
+
h3: m(a, 48, 1.167, 0),
|
|
2091
|
+
h4: m(a, 34, 1.235, 0.25),
|
|
2092
|
+
h5: m(a, 24, 1.334, 0),
|
|
2093
|
+
h6: m(s, 20, 1.6, 0.15),
|
|
2094
|
+
subtitle1: m(a, 16, 1.75, 0.15),
|
|
2095
|
+
subtitle2: m(s, 14, 1.57, 0.1),
|
|
2096
|
+
body1: m(a, 16, 1.5, 0.15),
|
|
2097
|
+
body2: m(a, 14, 1.43, 0.15),
|
|
2098
|
+
button: m(s, 14, 1.75, 0.4, st),
|
|
2099
|
+
caption: m(a, 12, 1.66, 0.4),
|
|
2100
|
+
overline: m(a, 12, 2.66, 1, st),
|
|
2105
2101
|
// 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.
|
|
2106
2102
|
inherit: {
|
|
2107
2103
|
fontFamily: "inherit",
|
|
@@ -2111,26 +2107,26 @@ function an(e, t) {
|
|
|
2111
2107
|
letterSpacing: "inherit"
|
|
2112
2108
|
}
|
|
2113
2109
|
};
|
|
2114
|
-
return
|
|
2110
|
+
return M({
|
|
2115
2111
|
htmlFontSize: f,
|
|
2116
2112
|
pxToRem: b,
|
|
2117
2113
|
fontFamily: r,
|
|
2118
2114
|
fontSize: n,
|
|
2119
2115
|
fontWeightLight: o,
|
|
2120
2116
|
fontWeightRegular: a,
|
|
2121
|
-
fontWeightMedium:
|
|
2117
|
+
fontWeightMedium: s,
|
|
2122
2118
|
fontWeightBold: u,
|
|
2123
|
-
...
|
|
2124
|
-
},
|
|
2119
|
+
...l
|
|
2120
|
+
}, h, {
|
|
2125
2121
|
clone: !1
|
|
2126
2122
|
// No need to clone deep
|
|
2127
2123
|
});
|
|
2128
2124
|
}
|
|
2129
|
-
const
|
|
2130
|
-
function
|
|
2131
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
2125
|
+
const cn = 0.2, un = 0.14, fn = 0.12;
|
|
2126
|
+
function k(...e) {
|
|
2127
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${cn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${un})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${fn})`].join(",");
|
|
2132
2128
|
}
|
|
2133
|
-
const
|
|
2129
|
+
const dn = ["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)], pn = {
|
|
2134
2130
|
// This is the most common easing curve.
|
|
2135
2131
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2136
2132
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -2140,7 +2136,7 @@ const un = ["none", O(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), O(0, 3, 1, -2, 0, 2,
|
|
|
2140
2136
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2141
2137
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2142
2138
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2143
|
-
},
|
|
2139
|
+
}, mn = {
|
|
2144
2140
|
shortest: 150,
|
|
2145
2141
|
shorter: 200,
|
|
2146
2142
|
short: 250,
|
|
@@ -2153,45 +2149,45 @@ const un = ["none", O(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), O(0, 3, 1, -2, 0, 2,
|
|
|
2153
2149
|
// recommended when something is leaving screen
|
|
2154
2150
|
leavingScreen: 195
|
|
2155
2151
|
};
|
|
2156
|
-
function
|
|
2152
|
+
function ct(e) {
|
|
2157
2153
|
return `${Math.round(e)}ms`;
|
|
2158
2154
|
}
|
|
2159
|
-
function
|
|
2155
|
+
function gn(e) {
|
|
2160
2156
|
if (!e)
|
|
2161
2157
|
return 0;
|
|
2162
2158
|
const t = e / 36;
|
|
2163
2159
|
return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
|
|
2164
2160
|
}
|
|
2165
|
-
function
|
|
2161
|
+
function hn(e) {
|
|
2166
2162
|
const t = {
|
|
2167
|
-
...
|
|
2163
|
+
...pn,
|
|
2168
2164
|
...e.easing
|
|
2169
2165
|
}, r = {
|
|
2170
|
-
...
|
|
2166
|
+
...mn,
|
|
2171
2167
|
...e.duration
|
|
2172
2168
|
};
|
|
2173
2169
|
return {
|
|
2174
|
-
getAutoHeightDuration:
|
|
2170
|
+
getAutoHeightDuration: gn,
|
|
2175
2171
|
create: (o = ["all"], a = {}) => {
|
|
2176
2172
|
const {
|
|
2177
|
-
duration:
|
|
2173
|
+
duration: s = r.standard,
|
|
2178
2174
|
easing: u = t.easeInOut,
|
|
2179
2175
|
delay: f = 0,
|
|
2180
2176
|
...d
|
|
2181
2177
|
} = a;
|
|
2182
2178
|
if (process.env.NODE_ENV !== "production") {
|
|
2183
|
-
const
|
|
2184
|
-
!
|
|
2179
|
+
const y = (p) => typeof p == "string", h = (p) => !Number.isNaN(parseFloat(p));
|
|
2180
|
+
!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(`
|
|
2185
2181
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
2186
2182
|
}
|
|
2187
|
-
return (Array.isArray(o) ? o : [o]).map((
|
|
2183
|
+
return (Array.isArray(o) ? o : [o]).map((y) => `${y} ${typeof s == "string" ? s : ct(s)} ${u} ${typeof f == "string" ? f : ct(f)}`).join(",");
|
|
2188
2184
|
},
|
|
2189
2185
|
...e,
|
|
2190
2186
|
easing: t,
|
|
2191
2187
|
duration: r
|
|
2192
2188
|
};
|
|
2193
2189
|
}
|
|
2194
|
-
const
|
|
2190
|
+
const yn = {
|
|
2195
2191
|
mobileStepper: 1e3,
|
|
2196
2192
|
fab: 1050,
|
|
2197
2193
|
speedDial: 1050,
|
|
@@ -2201,20 +2197,20 @@ const gn = {
|
|
|
2201
2197
|
snackbar: 1400,
|
|
2202
2198
|
tooltip: 1500
|
|
2203
2199
|
};
|
|
2204
|
-
function
|
|
2205
|
-
return
|
|
2200
|
+
function bn(e) {
|
|
2201
|
+
return H(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
2206
2202
|
}
|
|
2207
|
-
function
|
|
2203
|
+
function wt(e = {}) {
|
|
2208
2204
|
const t = {
|
|
2209
2205
|
...e
|
|
2210
2206
|
};
|
|
2211
2207
|
function r(n) {
|
|
2212
2208
|
const o = Object.entries(n);
|
|
2213
2209
|
for (let a = 0; a < o.length; a++) {
|
|
2214
|
-
const [
|
|
2215
|
-
!
|
|
2210
|
+
const [s, u] = o[a];
|
|
2211
|
+
!bn(u) || s.startsWith("unstable_") ? delete n[s] : H(u) && (n[s] = {
|
|
2216
2212
|
...u
|
|
2217
|
-
}, r(n[
|
|
2213
|
+
}, r(n[s]));
|
|
2218
2214
|
}
|
|
2219
2215
|
}
|
|
2220
2216
|
return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
@@ -2226,78 +2222,112 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
2226
2222
|
|
|
2227
2223
|
export default theme;`;
|
|
2228
2224
|
}
|
|
2229
|
-
function
|
|
2225
|
+
function ut(e) {
|
|
2226
|
+
return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
|
|
2227
|
+
}
|
|
2228
|
+
const Cn = (e) => {
|
|
2229
|
+
if (!Number.isNaN(+e))
|
|
2230
|
+
return +e;
|
|
2231
|
+
const t = e.match(/\d*\.?\d+/g);
|
|
2232
|
+
if (!t)
|
|
2233
|
+
return 0;
|
|
2234
|
+
let r = 0;
|
|
2235
|
+
for (let n = 0; n < t.length; n += 1)
|
|
2236
|
+
r += +t[n];
|
|
2237
|
+
return r;
|
|
2238
|
+
};
|
|
2239
|
+
function Sn(e) {
|
|
2240
|
+
Object.assign(e, {
|
|
2241
|
+
alpha(t, r) {
|
|
2242
|
+
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})` : xt(t, Cn(r));
|
|
2244
|
+
},
|
|
2245
|
+
lighten(t, r) {
|
|
2246
|
+
const n = this || e;
|
|
2247
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${ut(r)})` : Be(t, r);
|
|
2248
|
+
},
|
|
2249
|
+
darken(t, r) {
|
|
2250
|
+
const n = this || e;
|
|
2251
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${ut(r)})` : Ie(t, r);
|
|
2252
|
+
}
|
|
2253
|
+
});
|
|
2254
|
+
}
|
|
2255
|
+
function We(e = {}, ...t) {
|
|
2230
2256
|
const {
|
|
2231
2257
|
breakpoints: r,
|
|
2232
2258
|
mixins: n = {},
|
|
2233
2259
|
spacing: o,
|
|
2234
2260
|
palette: a = {},
|
|
2235
|
-
transitions:
|
|
2261
|
+
transitions: s = {},
|
|
2236
2262
|
typography: u = {},
|
|
2237
2263
|
shape: f,
|
|
2238
|
-
|
|
2264
|
+
colorSpace: d,
|
|
2265
|
+
...y
|
|
2239
2266
|
} = e;
|
|
2240
2267
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
2241
2268
|
// `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.
|
|
2242
2269
|
e.generateThemeVars === void 0)
|
|
2243
|
-
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." :
|
|
2244
|
-
const h =
|
|
2245
|
-
|
|
2246
|
-
|
|
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." : Q(20));
|
|
2271
|
+
const h = ze({
|
|
2272
|
+
...a,
|
|
2273
|
+
colorSpace: d
|
|
2274
|
+
}), p = Dr(e);
|
|
2275
|
+
let b = M(p, {
|
|
2276
|
+
mixins: an(p.breakpoints, n),
|
|
2247
2277
|
palette: h,
|
|
2248
2278
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2249
|
-
shadows:
|
|
2250
|
-
typography:
|
|
2251
|
-
transitions:
|
|
2279
|
+
shadows: dn.slice(),
|
|
2280
|
+
typography: ln(h, u),
|
|
2281
|
+
transitions: hn(s),
|
|
2252
2282
|
zIndex: {
|
|
2253
|
-
...
|
|
2283
|
+
...yn
|
|
2254
2284
|
}
|
|
2255
2285
|
});
|
|
2256
|
-
if (
|
|
2257
|
-
const
|
|
2258
|
-
let
|
|
2259
|
-
for (
|
|
2260
|
-
const
|
|
2261
|
-
if (
|
|
2286
|
+
if (b = M(b, y), b = t.reduce((m, l) => M(m, l), b), process.env.NODE_ENV !== "production") {
|
|
2287
|
+
const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], l = (C, _) => {
|
|
2288
|
+
let O;
|
|
2289
|
+
for (O in C) {
|
|
2290
|
+
const V = C[O];
|
|
2291
|
+
if (m.includes(O) && Object.keys(V).length > 0) {
|
|
2262
2292
|
if (process.env.NODE_ENV !== "production") {
|
|
2263
|
-
const
|
|
2264
|
-
console.error([`MUI: The \`${
|
|
2293
|
+
const $ = $t("", O);
|
|
2294
|
+
console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${O}\` internal state.`, "You can not override it like this: ", JSON.stringify(C, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
|
|
2265
2295
|
root: {
|
|
2266
|
-
[`&.${
|
|
2296
|
+
[`&.${$}`]: V
|
|
2267
2297
|
}
|
|
2268
2298
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2269
2299
|
`));
|
|
2270
2300
|
}
|
|
2271
|
-
|
|
2301
|
+
C[O] = {};
|
|
2272
2302
|
}
|
|
2273
2303
|
}
|
|
2274
2304
|
};
|
|
2275
|
-
Object.keys(
|
|
2276
|
-
const
|
|
2277
|
-
|
|
2305
|
+
Object.keys(b.components).forEach((C) => {
|
|
2306
|
+
const _ = b.components[C].styleOverrides;
|
|
2307
|
+
_ && C.startsWith("Mui") && l(_, C);
|
|
2278
2308
|
});
|
|
2279
2309
|
}
|
|
2280
|
-
return
|
|
2281
|
-
...
|
|
2282
|
-
...
|
|
2283
|
-
},
|
|
2310
|
+
return b.unstable_sxConfig = {
|
|
2311
|
+
...ke,
|
|
2312
|
+
...y == null ? void 0 : y.unstable_sxConfig
|
|
2313
|
+
}, b.unstable_sx = function(l) {
|
|
2284
2314
|
return Ne({
|
|
2285
|
-
sx:
|
|
2315
|
+
sx: l,
|
|
2286
2316
|
theme: this
|
|
2287
2317
|
});
|
|
2288
|
-
},
|
|
2318
|
+
}, b.toRuntimeSource = wt, Sn(b), b;
|
|
2289
2319
|
}
|
|
2290
|
-
function
|
|
2320
|
+
function $n(e) {
|
|
2291
2321
|
let t;
|
|
2292
2322
|
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
2293
2323
|
}
|
|
2294
|
-
const
|
|
2324
|
+
const En = [...Array(25)].map((e, t) => {
|
|
2295
2325
|
if (t === 0)
|
|
2296
2326
|
return "none";
|
|
2297
|
-
const r =
|
|
2327
|
+
const r = $n(t);
|
|
2298
2328
|
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
2299
2329
|
});
|
|
2300
|
-
function
|
|
2330
|
+
function _t(e) {
|
|
2301
2331
|
return {
|
|
2302
2332
|
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2303
2333
|
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
@@ -2305,10 +2335,10 @@ function xt(e) {
|
|
|
2305
2335
|
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2306
2336
|
};
|
|
2307
2337
|
}
|
|
2308
|
-
function
|
|
2309
|
-
return e === "dark" ?
|
|
2338
|
+
function Ot(e) {
|
|
2339
|
+
return e === "dark" ? En : [];
|
|
2310
2340
|
}
|
|
2311
|
-
function
|
|
2341
|
+
function xn(e) {
|
|
2312
2342
|
const {
|
|
2313
2343
|
palette: t = {
|
|
2314
2344
|
mode: "light"
|
|
@@ -2316,43 +2346,47 @@ function Sn(e) {
|
|
|
2316
2346
|
// need to cast to avoid module augmentation test
|
|
2317
2347
|
opacity: r,
|
|
2318
2348
|
overlays: n,
|
|
2319
|
-
|
|
2320
|
-
|
|
2349
|
+
colorSpace: o,
|
|
2350
|
+
...a
|
|
2351
|
+
} = e, s = ze({
|
|
2352
|
+
...t,
|
|
2353
|
+
colorSpace: o
|
|
2354
|
+
});
|
|
2321
2355
|
return {
|
|
2322
|
-
palette:
|
|
2356
|
+
palette: s,
|
|
2323
2357
|
opacity: {
|
|
2324
|
-
...
|
|
2358
|
+
..._t(s.mode),
|
|
2325
2359
|
...r
|
|
2326
2360
|
},
|
|
2327
|
-
overlays: n ||
|
|
2328
|
-
...
|
|
2361
|
+
overlays: n || Ot(s.mode),
|
|
2362
|
+
...a
|
|
2329
2363
|
};
|
|
2330
2364
|
}
|
|
2331
|
-
function
|
|
2365
|
+
function Tn(e) {
|
|
2332
2366
|
var t;
|
|
2333
|
-
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2367
|
+
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2334
2368
|
e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2335
2369
|
}
|
|
2336
|
-
const
|
|
2370
|
+
const An = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], vn = (e) => (t, r) => {
|
|
2337
2371
|
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2338
2372
|
let a = o;
|
|
2339
2373
|
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === t) {
|
|
2340
2374
|
if (t === "dark") {
|
|
2341
|
-
const
|
|
2342
|
-
return
|
|
2343
|
-
|
|
2375
|
+
const s = {};
|
|
2376
|
+
return An(e.cssVarPrefix).forEach((u) => {
|
|
2377
|
+
s[u] = r[u], delete r[u];
|
|
2344
2378
|
}), a === "media" ? {
|
|
2345
2379
|
[n]: r,
|
|
2346
2380
|
"@media (prefers-color-scheme: dark)": {
|
|
2347
|
-
[n]:
|
|
2381
|
+
[n]: s
|
|
2348
2382
|
}
|
|
2349
2383
|
} : a ? {
|
|
2350
|
-
[a.replace("%s", t)]:
|
|
2384
|
+
[a.replace("%s", t)]: s,
|
|
2351
2385
|
[`${n}, ${a.replace("%s", t)}`]: r
|
|
2352
2386
|
} : {
|
|
2353
2387
|
[n]: {
|
|
2354
2388
|
...r,
|
|
2355
|
-
...
|
|
2389
|
+
...s
|
|
2356
2390
|
}
|
|
2357
2391
|
};
|
|
2358
2392
|
}
|
|
@@ -2370,7 +2404,7 @@ const En = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlay
|
|
|
2370
2404
|
}
|
|
2371
2405
|
return n;
|
|
2372
2406
|
};
|
|
2373
|
-
function
|
|
2407
|
+
function wn(e, t) {
|
|
2374
2408
|
t.forEach((r) => {
|
|
2375
2409
|
e[r] || (e[r] = {});
|
|
2376
2410
|
});
|
|
@@ -2378,58 +2412,60 @@ function Tn(e, t) {
|
|
|
2378
2412
|
function c(e, t, r) {
|
|
2379
2413
|
!e[t] && r && (e[t] = r);
|
|
2380
2414
|
}
|
|
2381
|
-
function
|
|
2382
|
-
return typeof e != "string" || !e.startsWith("hsl") ? e :
|
|
2415
|
+
function fe(e) {
|
|
2416
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : Et(e);
|
|
2383
2417
|
}
|
|
2384
|
-
function
|
|
2385
|
-
`${t}Channel` in e || (e[`${t}Channel`] =
|
|
2418
|
+
function G(e, t) {
|
|
2419
|
+
`${t}Channel` in e || (e[`${t}Channel`] = ue(fe(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().
|
|
2386
2420
|
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.`));
|
|
2387
2421
|
}
|
|
2388
|
-
function
|
|
2422
|
+
function _n(e) {
|
|
2389
2423
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2390
2424
|
}
|
|
2391
|
-
const
|
|
2425
|
+
const U = (e) => {
|
|
2392
2426
|
try {
|
|
2393
2427
|
return e();
|
|
2394
2428
|
} catch {
|
|
2395
2429
|
}
|
|
2396
|
-
},
|
|
2397
|
-
function
|
|
2398
|
-
if (!
|
|
2430
|
+
}, On = (e = "mui") => zr(e);
|
|
2431
|
+
function Me(e, t, r, n, o) {
|
|
2432
|
+
if (!r)
|
|
2399
2433
|
return;
|
|
2400
|
-
|
|
2401
|
-
const
|
|
2402
|
-
if (!
|
|
2403
|
-
|
|
2404
|
-
...
|
|
2434
|
+
r = r === !0 ? {} : r;
|
|
2435
|
+
const a = o === "dark" ? "dark" : "light";
|
|
2436
|
+
if (!n) {
|
|
2437
|
+
t[o] = xn({
|
|
2438
|
+
...r,
|
|
2405
2439
|
palette: {
|
|
2406
|
-
mode:
|
|
2407
|
-
...
|
|
2408
|
-
}
|
|
2440
|
+
mode: a,
|
|
2441
|
+
...r == null ? void 0 : r.palette
|
|
2442
|
+
},
|
|
2443
|
+
colorSpace: e
|
|
2409
2444
|
});
|
|
2410
2445
|
return;
|
|
2411
2446
|
}
|
|
2412
2447
|
const {
|
|
2413
|
-
palette:
|
|
2414
|
-
...
|
|
2415
|
-
} =
|
|
2416
|
-
...
|
|
2448
|
+
palette: s,
|
|
2449
|
+
...u
|
|
2450
|
+
} = We({
|
|
2451
|
+
...n,
|
|
2417
2452
|
palette: {
|
|
2418
|
-
mode:
|
|
2419
|
-
...
|
|
2420
|
-
}
|
|
2453
|
+
mode: a,
|
|
2454
|
+
...r == null ? void 0 : r.palette
|
|
2455
|
+
},
|
|
2456
|
+
colorSpace: e
|
|
2421
2457
|
});
|
|
2422
|
-
return
|
|
2423
|
-
...
|
|
2424
|
-
palette:
|
|
2458
|
+
return t[o] = {
|
|
2459
|
+
...r,
|
|
2460
|
+
palette: s,
|
|
2425
2461
|
opacity: {
|
|
2426
|
-
...
|
|
2427
|
-
...
|
|
2462
|
+
..._t(a),
|
|
2463
|
+
...r == null ? void 0 : r.opacity
|
|
2428
2464
|
},
|
|
2429
|
-
overlays: (
|
|
2430
|
-
},
|
|
2465
|
+
overlays: (r == null ? void 0 : r.overlays) || Ot(a)
|
|
2466
|
+
}, u;
|
|
2431
2467
|
}
|
|
2432
|
-
function
|
|
2468
|
+
function kn(e = {}, ...t) {
|
|
2433
2469
|
const {
|
|
2434
2470
|
colorSchemes: r = {
|
|
2435
2471
|
light: !0
|
|
@@ -2437,92 +2473,104 @@ function vn(e = {}, ...t) {
|
|
|
2437
2473
|
defaultColorScheme: n,
|
|
2438
2474
|
disableCssColorScheme: o = !1,
|
|
2439
2475
|
cssVarPrefix: a = "mui",
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2476
|
+
nativeColor: s = !1,
|
|
2477
|
+
shouldSkipGeneratingVar: u = Tn,
|
|
2478
|
+
colorSchemeSelector: f = r.light && r.dark ? "media" : void 0,
|
|
2479
|
+
rootSelector: d = ":root",
|
|
2480
|
+
...y
|
|
2481
|
+
} = e, h = Object.keys(r)[0], p = n || (r.light && h !== "light" ? "light" : h), b = On(a), {
|
|
2482
|
+
[p]: m,
|
|
2483
|
+
light: l,
|
|
2484
|
+
dark: C,
|
|
2485
|
+
..._
|
|
2486
|
+
} = r, O = {
|
|
2487
|
+
..._
|
|
2451
2488
|
};
|
|
2452
|
-
let
|
|
2453
|
-
if ((
|
|
2454
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2489
|
+
let V = m;
|
|
2490
|
+
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.` : Q(21, p));
|
|
2492
|
+
let $;
|
|
2493
|
+
s && ($ = "oklch");
|
|
2494
|
+
const D = Me($, O, V, y, p);
|
|
2495
|
+
l && !O.light && Me($, O, l, void 0, "light"), C && !O.dark && Me($, O, C, void 0, "dark");
|
|
2496
|
+
let E = {
|
|
2497
|
+
defaultColorScheme: p,
|
|
2498
|
+
...D,
|
|
2460
2499
|
cssVarPrefix: a,
|
|
2461
|
-
colorSchemeSelector:
|
|
2462
|
-
rootSelector:
|
|
2463
|
-
getCssVar:
|
|
2464
|
-
colorSchemes:
|
|
2500
|
+
colorSchemeSelector: f,
|
|
2501
|
+
rootSelector: d,
|
|
2502
|
+
getCssVar: b,
|
|
2503
|
+
colorSchemes: O,
|
|
2465
2504
|
font: {
|
|
2466
|
-
...
|
|
2467
|
-
...
|
|
2505
|
+
...on(D.typography),
|
|
2506
|
+
...D.font
|
|
2468
2507
|
},
|
|
2469
|
-
spacing:
|
|
2508
|
+
spacing: _n(y.spacing)
|
|
2470
2509
|
};
|
|
2471
|
-
Object.keys(
|
|
2472
|
-
const i =
|
|
2473
|
-
const I =
|
|
2474
|
-
return
|
|
2510
|
+
Object.keys(E.colorSchemes).forEach((P) => {
|
|
2511
|
+
const i = E.colorSchemes[P].palette, S = (x) => {
|
|
2512
|
+
const I = x.split("-"), Z = I[1], ee = I[2];
|
|
2513
|
+
return b(x, i[Z][ee]);
|
|
2475
2514
|
};
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2515
|
+
i.mode === "light" && (c(i.common, "background", "#fff"), c(i.common, "onBackground", "#000")), i.mode === "dark" && (c(i.common, "background", "#000"), c(i.common, "onBackground", "#fff"));
|
|
2516
|
+
function g(x, I, Z) {
|
|
2517
|
+
if ($) {
|
|
2518
|
+
let ee;
|
|
2519
|
+
return x === J && (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
|
+
}
|
|
2521
|
+
return x(I, Z);
|
|
2522
|
+
}
|
|
2523
|
+
if (wn(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
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", U(() => i.getContrastText(i.error.main))), c(i.Alert, "infoFilledColor", U(() => i.getContrastText(i.info.main))), c(i.Alert, "successFilledColor", U(() => i.getContrastText(i.success.main))), c(i.Alert, "warningFilledColor", U(() => 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(J, 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));
|
|
2525
|
+
const x = $ ? g(T, i.background.default, 0.6825) : be(i.background.default, 0.8);
|
|
2526
|
+
c(i.SnackbarContent, "bg", x), c(i.SnackbarContent, "color", U(() => $ ? Le.text.primary : i.getContrastText(x))), c(i.SpeedDialAction, "fabHoverBg", be(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(J, i.divider, 1), 0.88)), c(i.Tooltip, "bg", g(J, i.grey[700], 0.92));
|
|
2480
2527
|
}
|
|
2481
2528
|
if (i.mode === "dark") {
|
|
2482
|
-
c(i.Alert, "errorColor",
|
|
2483
|
-
const
|
|
2484
|
-
c(i.SnackbarContent, "bg",
|
|
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", U(() => i.getContrastText(i.error.dark))), c(i.Alert, "infoFilledColor", U(() => i.getContrastText(i.info.dark))), c(i.Alert, "successFilledColor", U(() => i.getContrastText(i.success.dark))), c(i.Alert, "warningFilledColor", U(() => 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(J, 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));
|
|
2530
|
+
const x = $ ? g(A, i.background.default, 0.985) : be(i.background.default, 0.98);
|
|
2531
|
+
c(i.SnackbarContent, "bg", x), c(i.SnackbarContent, "color", U(() => $ ? At.text.primary : i.getContrastText(x))), c(i.SpeedDialAction, "fabHoverBg", be(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(J, i.divider, 1), 0.68)), c(i.Tooltip, "bg", g(J, i.grey[700], 0.92));
|
|
2485
2532
|
}
|
|
2486
|
-
|
|
2487
|
-
const I = i[
|
|
2488
|
-
|
|
2533
|
+
G(i.background, "default"), G(i.background, "paper"), G(i.common, "background"), G(i.common, "onBackground"), G(i, "divider"), Object.keys(i).forEach((x) => {
|
|
2534
|
+
const I = i[x];
|
|
2535
|
+
x !== "tonalOffset" && I && typeof I == "object" && (I.main && c(i[x], "mainChannel", ue(fe(I.main))), I.light && c(i[x], "lightChannel", ue(fe(I.light))), I.dark && c(i[x], "darkChannel", ue(fe(I.dark))), I.contrastText && c(i[x], "contrastTextChannel", ue(fe(I.contrastText))), x === "text" && (G(i[x], "primary"), G(i[x], "secondary")), x === "action" && (I.active && G(i[x], "active"), I.selected && G(i[x], "selected")));
|
|
2489
2536
|
});
|
|
2490
|
-
}),
|
|
2491
|
-
const
|
|
2537
|
+
}), E = t.reduce((P, i) => M(P, i), E);
|
|
2538
|
+
const j = {
|
|
2492
2539
|
prefix: a,
|
|
2493
2540
|
disableCssColorScheme: o,
|
|
2494
|
-
shouldSkipGeneratingVar:
|
|
2495
|
-
getSelector:
|
|
2541
|
+
shouldSkipGeneratingVar: u,
|
|
2542
|
+
getSelector: vn(E),
|
|
2543
|
+
enableContrastVars: s
|
|
2496
2544
|
}, {
|
|
2497
|
-
vars:
|
|
2498
|
-
generateThemeVars:
|
|
2499
|
-
generateStyleSheets:
|
|
2500
|
-
} =
|
|
2501
|
-
return
|
|
2502
|
-
|
|
2503
|
-
}),
|
|
2504
|
-
return
|
|
2505
|
-
},
|
|
2506
|
-
...
|
|
2507
|
-
...
|
|
2508
|
-
},
|
|
2545
|
+
vars: K,
|
|
2546
|
+
generateThemeVars: se,
|
|
2547
|
+
generateStyleSheets: he
|
|
2548
|
+
} = Hr(E, j);
|
|
2549
|
+
return E.vars = K, Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([P, i]) => {
|
|
2550
|
+
E[P] = i;
|
|
2551
|
+
}), E.generateThemeVars = se, E.generateStyleSheets = he, E.generateSpacing = function() {
|
|
2552
|
+
return St(y.spacing, Ue(this));
|
|
2553
|
+
}, E.getColorSchemeSelector = qr(f), E.spacing = E.generateSpacing(), E.shouldSkipGeneratingVar = u, E.unstable_sxConfig = {
|
|
2554
|
+
...ke,
|
|
2555
|
+
...y == null ? void 0 : y.unstable_sxConfig
|
|
2556
|
+
}, E.unstable_sx = function(i) {
|
|
2509
2557
|
return Ne({
|
|
2510
2558
|
sx: i,
|
|
2511
2559
|
theme: this
|
|
2512
2560
|
});
|
|
2513
|
-
},
|
|
2561
|
+
}, E.toRuntimeSource = wt, E;
|
|
2514
2562
|
}
|
|
2515
2563
|
function ft(e, t, r) {
|
|
2516
2564
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
2517
2565
|
...r !== !0 && r,
|
|
2518
|
-
palette:
|
|
2566
|
+
palette: ze({
|
|
2519
2567
|
...r === !0 ? {} : r.palette,
|
|
2520
2568
|
mode: t
|
|
2521
2569
|
})
|
|
2522
2570
|
// cast type to skip module augmentation test
|
|
2523
2571
|
});
|
|
2524
2572
|
}
|
|
2525
|
-
function
|
|
2573
|
+
function Un(e = {}, ...t) {
|
|
2526
2574
|
const {
|
|
2527
2575
|
palette: r,
|
|
2528
2576
|
cssVariables: n = !1,
|
|
@@ -2530,7 +2578,7 @@ function Dn(e = {}, ...t) {
|
|
|
2530
2578
|
light: !0
|
|
2531
2579
|
},
|
|
2532
2580
|
defaultColorScheme: a = r == null ? void 0 : r.mode,
|
|
2533
|
-
...
|
|
2581
|
+
...s
|
|
2534
2582
|
} = e, u = a || "light", f = o == null ? void 0 : o[u], d = {
|
|
2535
2583
|
...o,
|
|
2536
2584
|
...r ? {
|
|
@@ -2542,91 +2590,84 @@ function Dn(e = {}, ...t) {
|
|
|
2542
2590
|
};
|
|
2543
2591
|
if (n === !1) {
|
|
2544
2592
|
if (!("colorSchemes" in e))
|
|
2545
|
-
return
|
|
2546
|
-
let
|
|
2547
|
-
"palette" in e || d[u] && (d[u] !== !0 ?
|
|
2593
|
+
return We(e, ...t);
|
|
2594
|
+
let y = r;
|
|
2595
|
+
"palette" in e || d[u] && (d[u] !== !0 ? y = d[u].palette : u === "dark" && (y = {
|
|
2548
2596
|
mode: "dark"
|
|
2549
2597
|
}));
|
|
2550
|
-
const
|
|
2598
|
+
const h = We({
|
|
2551
2599
|
...e,
|
|
2552
|
-
palette:
|
|
2600
|
+
palette: y
|
|
2553
2601
|
}, ...t);
|
|
2554
|
-
return
|
|
2602
|
+
return h.defaultColorScheme = u, h.colorSchemes = d, h.palette.mode === "light" && (h.colorSchemes.light = {
|
|
2555
2603
|
...d.light !== !0 && d.light,
|
|
2556
|
-
palette:
|
|
2557
|
-
}, ft(
|
|
2604
|
+
palette: h.palette
|
|
2605
|
+
}, ft(h, "dark", d.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = {
|
|
2558
2606
|
...d.dark !== !0 && d.dark,
|
|
2559
|
-
palette:
|
|
2560
|
-
}, ft(
|
|
2607
|
+
palette: h.palette
|
|
2608
|
+
}, ft(h, "light", d.light)), h;
|
|
2561
2609
|
}
|
|
2562
|
-
return !r && !("light" in d) && u === "light" && (d.light = !0),
|
|
2563
|
-
...
|
|
2610
|
+
return !r && !("light" in d) && u === "light" && (d.light = !0), kn({
|
|
2611
|
+
...s,
|
|
2564
2612
|
colorSchemes: d,
|
|
2565
2613
|
defaultColorScheme: u,
|
|
2566
2614
|
...typeof n != "boolean" && n
|
|
2567
2615
|
}, ...t);
|
|
2568
2616
|
}
|
|
2569
|
-
const
|
|
2570
|
-
function Fn(e, t, r = "Mui") {
|
|
2571
|
-
const n = {};
|
|
2572
|
-
return t.forEach((o) => {
|
|
2573
|
-
n[o] = Tt(e, o, r);
|
|
2574
|
-
}), n;
|
|
2575
|
-
}
|
|
2617
|
+
const jn = "$$material";
|
|
2576
2618
|
export {
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2619
|
+
St as $,
|
|
2620
|
+
$n as A,
|
|
2621
|
+
Tn as B,
|
|
2622
|
+
ln as C,
|
|
2623
|
+
an as D,
|
|
2624
|
+
An as E,
|
|
2625
|
+
Ln as F,
|
|
2626
|
+
$t as G,
|
|
2627
|
+
Bn as H,
|
|
2628
|
+
H as I,
|
|
2629
|
+
ke as J,
|
|
2630
|
+
gt as K,
|
|
2631
|
+
z as L,
|
|
2632
|
+
Dn as M,
|
|
2591
2633
|
Ue as N,
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2634
|
+
M as O,
|
|
2635
|
+
Pn as P,
|
|
2636
|
+
Dr as Q,
|
|
2637
|
+
ge as R,
|
|
2638
|
+
Ee as S,
|
|
2639
|
+
jn as T,
|
|
2640
|
+
Mn as U,
|
|
2599
2641
|
Ne as V,
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
Pe as i,
|
|
2642
|
+
Fr as W,
|
|
2643
|
+
Q as X,
|
|
2644
|
+
Vn as Y,
|
|
2645
|
+
pt as Z,
|
|
2646
|
+
Fn as _,
|
|
2647
|
+
Qr as a,
|
|
2648
|
+
ne as b,
|
|
2649
|
+
pe as c,
|
|
2650
|
+
Wn as d,
|
|
2651
|
+
Et as e,
|
|
2652
|
+
Y as f,
|
|
2653
|
+
ie as g,
|
|
2654
|
+
Wr as h,
|
|
2655
|
+
Re as i,
|
|
2615
2656
|
nt as j,
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2657
|
+
Ve as k,
|
|
2658
|
+
oe as l,
|
|
2659
|
+
Gr as m,
|
|
2660
|
+
xt as n,
|
|
2661
|
+
ce as o,
|
|
2662
|
+
te as p,
|
|
2663
|
+
Ie as q,
|
|
2664
|
+
re as r,
|
|
2665
|
+
Be as s,
|
|
2666
|
+
Ir as t,
|
|
2667
|
+
Un as u,
|
|
2668
|
+
hn as v,
|
|
2669
|
+
mn as w,
|
|
2670
|
+
pn as x,
|
|
2671
|
+
xn as y,
|
|
2672
|
+
kn as z
|
|
2632
2673
|
};
|